/* Product Page Styles - Extracted from single-product.php */
/* Single Product Styles */
.single-product-hero {
    padding: 82px 0 0px;
    background: #fdfcfb;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #8b7355;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #5c3d2e;
}

.breadcrumb-nav .separator {
    color: #d4a574;
}

.breadcrumb-nav .current {
    color: #1a120b;
    font-weight: 500;
}

.product-main {
    padding: 40px 0 80px;
    background: #fdfcfb;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
}

.gallery-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f5ebe0;
    margin-bottom: 16px;
}

.main-image-wrapper {
    position: relative;
}

.main-product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.zoom-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5c3d2e;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-btn:hover {
    background: #1a120b;
    color: #fff;
    transform: scale(1.1);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
}

.thumb-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    background: #f5ebe0;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: #d4a574;
}

/* Product Info */
.product-info {
    padding: 20px 0;
}

.product-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: #dc2626;
    color: #fff;
}

.badge-out {
    background: #6b7280;
    color: #fff;
}

.badge-featured {
    background: #c9a227;
    color: #1a120b;
}

.product-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a120b;
    line-height: 1.2;
    margin-bottom: 12px;
}

.product-categories {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #8b7355;
    margin-bottom: 20px;
}

.product-categories a {
    color: #8b5a3c;
    text-decoration: none;
}

.product-categories a:hover {
    text-decoration: underline;
}

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.price-original {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #8b7355;
    text-decoration: line-through;
}

.price-current {
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a120b;
}

.price-discount {
    background: #dc2626;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.product-short-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #5c4033;
    margin-bottom: 24px;
}

.product-short-description p {
    margin: 0;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #5c4033;
}

.feature svg {
    color: #8b5a3c;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.stock-status.in-stock {
    background: #dcfce7;
    color: #166534;
}

.stock-status.out-of-stock {
    background: #fee2e2;
    color: #dc2626;
}

/* WooCommerce Add to Cart Form */
.product-add-to-cart {
    margin-bottom: 32px;
}

.product-add-to-cart form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* Quantity Input */
.product-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    background: #f5ebe0;
    border-radius: 12px;
    padding: 4px;
}

.product-add-to-cart .quantity .qty {
    width: 60px;
    height: 48px;
    border: none;
    background: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a120b;
    border-radius: 8px;
    -moz-appearance: textfield;
}

.product-add-to-cart .quantity .qty::-webkit-outer-spin-button,
.product-add-to-cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-add-to-cart .quantity .qty:focus {
    outline: none;
    box-shadow: 0 0 0 2px #d4a574;
}

/* Add to Cart Button */
.product-add-to-cart button.single_add_to_cart_button,
.product-add-to-cart .single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: #1a120b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-add-to-cart button.single_add_to_cart_button:hover,
.product-add-to-cart .single_add_to_cart_button:hover {
    background: #3c2415;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 18, 11, 0.2);
    color: #fff;
}

.product-add-to-cart button.single_add_to_cart_button:disabled,
.product-add-to-cart .single_add_to_cart_button.disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.product-add-to-cart button.single_add_to_cart_button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Variable Product Styles */
.product-add-to-cart table.variations {
    width: 100%;
    margin-bottom: 20px;
    border: none;
}

.product-add-to-cart table.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.product-add-to-cart table.variations th,
.product-add-to-cart table.variations td {
    padding: 0;
    border: none;
    text-align: left;
}

.product-add-to-cart table.variations th label,
.product-add-to-cart table.variations .label label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5c4033;
    margin-bottom: 8px;
    display: block;
}

.product-add-to-cart table.variations select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a120b;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-add-to-cart table.variations select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.product-add-to-cart .reset_variations {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #8b5a3c;
    text-decoration: none;
    margin-top: 8px;
    display: inline-block;
}

.product-add-to-cart .reset_variations:hover {
    text-decoration: underline;
}

/* Single Variation Wrap */
.product-add-to-cart .single_variation_wrap {
    width: 100%;
}

.product-add-to-cart .single_variation {
    margin-bottom: 16px;
}

.product-add-to-cart .woocommerce-variation-price {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a120b;
}

.product-add-to-cart .woocommerce-variation-availability {
    margin-top: 8px;
}

.product-add-to-cart .stock {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.product-add-to-cart .stock.in-stock {
    color: #166534;
}

.product-add-to-cart .stock.out-of-stock {
    color: #dc2626;
}

/* Product Meta */
.product-meta {
    padding: 24px 0;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    color: #8b7355;
}

.meta-value {
    color: #1a120b;
}

.meta-value a {
    color: #8b5a3c;
    text-decoration: none;
}

.meta-value a:hover {
    text-decoration: underline;
}

/* Shipping Calculator - Melhor Envio Plugin Styles */
.product-info .containerCalculator,
.product-info #woocommerce-correios-calculo-de-frete-na-pagina-do-produto,
.product-info .cfpp_container,
.cart-form + .containerCalculator {
    background: #f5ebe0;
    padding: 20px;
    border-radius: 16px;
    margin-top: 24px;
}

.product-info .containerCalculator h4,
.product-info .calculatorTitle,
.product-info .cfpp_title {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a120b;
    margin-bottom: 12px;
}

.product-info .calculatorRow input[type="text"],
.product-info input#calc_shipping_postcode,
.product-info .cfpp_cep {
    padding: 12px 16px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #fff;
    max-width: 200px;
}

.product-info .calculatorRow button,
.product-info .cfpp_button,
.product-info input[type="submit"] {
    padding: 12px 24px;
    background: #5c3d2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-info .calculatorRow button:hover,
.product-info .cfpp_button:hover {
    background: #1a120b;
}

.product-info .resultado-frete,
.product-info .cfpp_result {
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.product-info .resultado-frete tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.product-info .calculatorRow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-info .calculatorRow p {
    margin: 8px 0 !important;
}

/* Product Details Section */
.product-details-section {
    padding: 80px 0;
    background: #fff;
}

.tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    margin-bottom: 32px;
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #8b7355;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d4a574;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #1a120b;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.description-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #5c4033;
}

.description-content p {
    margin-bottom: 16px;
}

.attributes-table {
    width: 100%;
    border-collapse: collapse;
}

.attributes-table tr {
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.attributes-table th,
.attributes-table td {
    padding: 16px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.attributes-table th {
    color: #8b7355;
    font-weight: 500;
    width: 30%;
}

.attributes-table td {
    color: #1a120b;
}

/* Related Products */
.related-products-section {
    padding: 80px 0;
    background: #f5ebe0;
}

.related-products-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.related-products-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a120b;
    margin-bottom: 8px;
}

.related-products-section p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #8b7355;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(26, 18, 11, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 18, 11, 0.1);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5ebe0;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card-info {
    padding: 20px;
}

.product-card-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a120b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-price {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    font-weight: 700;
    color: #5c3d2e;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .product-gallery {
        position: static;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .single-product-hero {
        padding: 80px 0 16px;
    }
    
    .product-main {
        padding: 24px 0 30px;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .price-current {
        font-size: 28px;
    }
    
    .tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        flex-shrink: 0;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .product-info{
        padding: 0;
    }
    .product-details-section{
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .product-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-price-wrapper {
        flex-wrap: wrap;
    }
}

/* ==========================================
   REVIEWS / COMMENTS FORM STYLING
   ========================================== */
#tab-reviews {
    padding: 20px 0;
}

#tab-reviews .woocommerce-Reviews-title,
#tab-reviews h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a120b;
    margin-bottom: 24px;
}

#tab-reviews .woocommerce-noreviews {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #8b7355;
    padding: 20px;
    background: #f5ebe0;
    border-radius: 12px;
    text-align: center;
}

/* Comment Form */
#tab-reviews #review_form_wrapper {
    margin-top: 32px;
}

#tab-reviews .comment-reply-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a120b;
    margin-bottom: 16px;
}

#tab-reviews .comment-notes {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #8b7355;
    margin-bottom: 24px;
}

#tab-reviews .comment-form-rating {
    margin-bottom: 24px;
}

#tab-reviews .comment-form-rating label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5c4033;
    display: block;
    margin-bottom: 8px;
}

/* Star Rating */
#tab-reviews .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

#tab-reviews .stars a {
    font-size: 24px;
    color: #d4a574;
    text-decoration: none;
    transition: transform 0.2s ease;
}

#tab-reviews .stars a:hover {
    transform: scale(1.2);
}

#tab-reviews .stars a.active {
    color: #c9a227;
}

#tab-reviews p.stars {
    display: flex;
    gap: 4px;
}

#tab-reviews p.stars a {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a574' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: all 0.2s ease;
}

#tab-reviews p.stars a:hover,
#tab-reviews p.stars a.active {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a227' stroke='%23c9a227' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat;
    transform: scale(1.15);
}

#tab-reviews p.stars.selected a.active ~ a {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a574' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Form Fields */
#tab-reviews .comment-form-comment,
#tab-reviews .comment-form-author,
#tab-reviews .comment-form-email {
    margin-bottom: 20px;
}

#tab-reviews .comment-form-comment label,
#tab-reviews .comment-form-author label,
#tab-reviews .comment-form-email label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5c4033;
    display: block;
    margin-bottom: 8px;
}

#tab-reviews .comment-form-comment label .required,
#tab-reviews .comment-form-author label .required,
#tab-reviews .comment-form-email label .required {
    color: #dc2626;
}

#tab-reviews textarea,
#tab-reviews input[type="text"],
#tab-reviews input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    background: #fdfcfb;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a120b;
    transition: all 0.3s ease;
}

#tab-reviews textarea {
    min-height: 140px;
    resize: vertical;
}

#tab-reviews textarea:focus,
#tab-reviews input[type="text"]:focus,
#tab-reviews input[type="email"]:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
    background: #fff;
}

#tab-reviews input[type="text"],
#tab-reviews input[type="email"] {
    max-width: 400px;
}

/* Cookies Checkbox */
#tab-reviews .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

#tab-reviews .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #9b6f50;
    cursor: pointer;
}

#tab-reviews .comment-form-cookies-consent label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #8b7355;
    line-height: 1.5;
}

/* Submit Button */
#tab-reviews .form-submit {
    margin-top: 24px;
}

#tab-reviews input[type="submit"],
#tab-reviews .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #9b6f50;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#tab-reviews input[type="submit"]:hover,
#tab-reviews .submit:hover {
    background: #8a5f42;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 111, 80, 0.25);
}

/* Existing Reviews List */
#tab-reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

#tab-reviews .commentlist li.comment {
    padding: 24px;
    background: #fdfcfb;
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 16px;
    margin-bottom: 16px;
}

#tab-reviews .comment_container {
    display: flex;
    gap: 16px;
}

#tab-reviews .comment_container img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

#tab-reviews .comment-text {
    flex: 1;
}

#tab-reviews .star-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

#tab-reviews .star-rating span {
    font-size: 16px;
    color: #c9a227;
}

#tab-reviews .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

#tab-reviews .woocommerce-review__author {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a120b;
}

#tab-reviews .woocommerce-review__dash {
    color: #d4a574;
}

#tab-reviews .woocommerce-review__published-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #8b7355;
}

#tab-reviews .description p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #5c4033;
    margin: 0;
}

/* =====================================================
   LIGHTBOX / ZOOM MODAL
   ===================================================== */

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-image-wrapper {
    max-width: 85vw;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Zoom Button Styling */
.zoom-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #1a120b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 5;
}

.zoom-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.main-image-wrapper {
    position: relative;
}

/* Mobile Lightbox Adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-image-wrapper {
        max-width: 95vw;
        border-radius: 8px;
    }
    
    .lightbox-nav {
        bottom: 20px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }
    
    .zoom-btn {
        width: 38px;
        height: 38px;
        top: 12px;
        right: 12px;
    }
}
