/**
 * Style CSS for Child Theme
 * File: style.css
 */

/*
Theme Name: Blocksy Child
Description: Child theme với content-single-product.php tùy chỉnh
Template: blocksy
Version: 1.0.0
*/

@import url("../blocksy/style.css");

/* Custom Single Product Styles */

.product-info {
    background-color: #EBF5F0;
}
.brz-container-product {
    max-width: 1170px;
    margin: auto;
}
@media (max-width: 1180px) {
    .brz-container-product {
        max-width: 980px;
    }
}
@media (max-width: 1024px) {
    .brz-container-product {
        max-width: 890px;
    }
}
@media (max-width: 991px) {
    .brz-container-product {
        max-width: 100%;
    }
}
.product-layout {
    display: flex;
    gap: 40px;
    padding: 30px;
}

.product-images-column {
    flex: 1;
    padding: 0;
}

.product-info-column {
    flex: 1;
    padding: 0;
}
.flexy-view {
    border-radius: 16px;
}
/* Age Group Badge */
.age-group-badge {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Product Title */
.product-title-custom {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.product-volume {
    font-size: 18px;
    font-weight: normal;
    color: #666;
}

/* Price Section */
.price-section {
    margin: 20px 0;
}

.price-section .price {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
}

/* Short Description */
.short-description-section {
    margin: 20px 0;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Custom Buy Buttons */
.custom-buy-buttons {
    margin: 30px 0;
}

.custom-buy-buttons .cart {
    margin-bottom: 15px;
}

.external-buy-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.external-buy-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
}

.btn-shopee {
    background: #ee4d2d;
    color: white;
}

.btn-shopee:hover {
    background: #d73c20;
}

.btn-tiktok {
    background: #000;
    color: white;
}

.btn-tiktok:hover {
    background: #333;
}

/* Store Locations */
.store-locations {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.store-locations h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.location-icon {
    color: #007cba;
    font-size: 16px;
    margin-top: 2px;
}

.location-text {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Product Details Section */
.product-details-section {
    background: #FDF9F4;
}

/* Product Description Section */
.product-description-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
}

.product-description-section h3 {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

/* Benefits and Ingredients Lists */
.benefits-list,
.ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li,
.ingredients-list li {
    padding: 8px 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}

.benefits-list li:last-child,
.ingredients-list li:last-child {
    border-bottom: none;
}

/* Usage Guide */
.usage-guide-content {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}
.product-detail {
    background-color: #FDF9F4;
}
/* Responsive Design */
@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
        gap: 0;
    }
    
    .product-images-column,
    .product-info-column {
        padding: 20px;
    }
    
    .product-title-custom {
        font-size: 22px;
    }
    
    .price-section .price {
        font-size: 24px;
    }
    
    .external-buy-buttons {
        flex-direction: column;
    }
    
    .external-buy-btn {
        width: 100%;
        text-align: center;
    }
    
    .custom-product-tabs .tab-headers {
        flex-direction: column;
    }
}

/* WooCommerce Override Styles */
.woocommerce div.product .product_title {
    display: none; /* Hide default title since we use custom */
}

.woocommerce div.product p.price {
    margin: 0;
}

.woocommerce div.product form.cart {
    margin: 0;
}

.woocommerce-product-gallery {
    margin: 0;
}

/* AMP Compatibility */
.custom-single-product amp-img {
    max-width: 100%;
    height: auto;
}



.brz .brz-css-bxjfue {
	max-width: 100%;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial-inner {
    border: none;
    padding: 0;
    text-align: center;
		border-radius: 20px;
    overflow: hidden;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial-image {
	margin-top: 0;
	margin-bottom: 0;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial-image img {
	background: none;
	border: none;
	padding: 0;
	margin: 0 auto;
	max-height: 300px;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial {
	border: none;
}
.slider-testimonials .wpmtst-testimonial-inner.testimonial-inner {
	background-color: #fff;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial-content p {
	padding: 25px 25px 10px !important;
	line-height: 20px;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial-field {
	text-align: center;
}
.slider-testimonials.strong-view.wpmtst-default .wpmtst-testimonial-field.testimonial-name {
	font-weight: bold;
}
.strong-rating-wrapper .star svg path {
	fill: #FC4D38 !important;
}

.brz .advise > .brz-bg > .brz-bg-image {
	background-position: right top;
}
.brz .advise:hover > .brz-bg > .brz-bg-image {
	background-position: right top;
}
.form-subscribe .form-action {
	display: flex;
	gap: 15px;
}
.form-subscribe .form-action input.wpcf7-text {
	background-color: #fff;
  border-radius: 20px;
}
.form-subscribe .wpcf7 .wpcf7-submit {
    float: none;
    padding: 0 20px;
    border-radius: 20px;
}

.woocommerce .product .ct-media-container img {
	aspect-ratio: 1 !important;
}
.woocommerce .products .product {
	background-color: #fff;
	padding-bottom: 10px;
	border-radius: 10px;
	overflow: hidden;
}

.woocommerce .products .product .woocommerce-loop-product__title , .woocommerce .products .product  .price {
	padding: 0 16px;
}
.woocommerce .products .product .entry-meta, .woocommerce .products .product .ct-woo-card-actions {
	display: none;
}

.brz .faq .brz-accordion__item {
	border: none !important;
	background-color: transparent !important;
	border-bottom: 1px solid #B7B7B7 !important;
}

.list-testimonials.strong-view.wpmtst-modern .wpmtst-testimonial-content {
	font-size: 16px;
	font-style: normal;
	margin: 0;
}
.list-testimonials.strong-view.wpmtst-modern .wpmtst-testimonial-content:before {
	display: none;
}
.list-testimonials.strong-view.wpmtst-modern .wpmtst-testimonial-content:after {
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	background: #FC4D38;
}
.list-testimonials.strong-view.wpmtst-modern .testimonial-content {
	padding-top: 60px;
	padding-bottom: 25px;
}
.list-testimonials .wpmtst-testimonial.testimonial {
	background: url('/wp-content/uploads/2025/08/bg-testimonials.svg') center center no-repeat;
	background-size: cover;
}
.list-testimonials .testimonial-name {
	font-weight: bold;
}
.product .product-entry-wrapper {
	background-color: #EBF5F0;
}
/* Product Gallery CSS */
.product-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.product-images-column {
    flex: 1;
    min-width: 300px;
}

.product-info-column {
    flex: 1;
    min-width: 300px;
}

.flexy-pills {
    overflow: auto;
}

.flexy-pills::-webkit-scrollbar {
    display: none;
}