.is-style-product-hero .product-hero-section {
    --primary-gradient: var(--gradient-teal, linear-gradient(162deg, #006A65 0%, #1CB7AF 100%));
    --brand-teal: var(--primary-teal, #1CB7AF);
    --text-breadcrumb: #5F5748;
    --border-teal: rgba(24, 172, 164, 0.22);
    --bg-secondary: #F4F6F6;
    --border-light: #E8E4DF;
    --text-muted: #979797;
    --brand-dark-teal: #006A65;
    --text-dark: #1A1A1A;
    background-color: #FFFFFF;
}

/* Breadcrumbs */
.is-style-product-hero .product-hero-section .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6.8px;
    padding: 24px 0;
    color: var(--text-breadcrumb);
    font-size: 14.35px;
}

.is-style-product-hero .product-hero-section .breadcrumbs a {
    text-decoration: none;
    color: inherit;
}

/* Product Section */
.is-style-product-hero .product-hero-section .product-hero {
    display: grid;
    grid-template-columns: minmax(0, 681px) minmax(0, 630px);
    gap: 17px;
    margin-bottom: 50px;
}

/* Gallery */
.is-style-product-hero .product-hero-section .gallery-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-teal);
    border-radius: 6.4px;
    height: 812px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-style-product-hero .product-hero-section .main-image-wrapper {
    width: 418px;
    height: 738px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-style-product-hero .product-hero-section .main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.is-style-product-hero .product-hero-section .thumbnail-strip {
    position: absolute;
    left: 15px;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.is-style-product-hero .product-hero-section .thumb {
    width: 71.5px;
    height: 71.5px;
    background: var(--bg-secondary);
    border: 1.2px solid rgba(24, 172, 164, 0.24);
    border-radius: 12.3px;
    padding: 4.8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.is-style-product-hero .product-hero-section .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.is-style-product-hero .product-hero-section .thumb.active {
    border-color: rgba(24, 172, 164, 0.5);
    box-shadow: 0 14px 16px rgba(37, 29, 14, 0.12);
}

.is-style-product-hero .product-hero-section .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 252, 246, 0.92);
    border: 1px solid rgba(24, 172, 164, 0.24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 12px rgba(37, 29, 14, 0.1);
    z-index: 2;
    cursor: pointer;
}

.is-style-product-hero .product-hero-section .nav-arrow.prev { left: 16px; }
.is-style-product-hero .product-hero-section .nav-arrow.next { right: 16px; }

/* Info Section */
.is-style-product-hero .product-hero-section .info-section {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 6.4px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.is-style-product-hero .product-hero-section .product-title {
    font-size: 37.7px;
    font-weight: 700;
    color: #2E2618;
    line-height: 1.6;
    margin: 0;
}

.is-style-product-hero .product-hero-section .product-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 25px;
    margin: 0;
}



.is-style-product-hero .product-hero-section .product-price {
    font-size: 30px;
    font-weight: 700;
    color: var(--brand-teal);
}

.is-style-product-hero .product-hero-section .selectors {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Fix Variation Dropdowns (Light Mode & Sizing) */
.is-style-product-hero .product-hero-section .variations {
    width: 100% !important;
    border-collapse: collapse !important;
    display: block !important;
}

.is-style-product-hero .product-hero-section .variations tbody {
    display: block !important;
    width: 100% !important;
}

.is-style-product-hero .product-hero-section .variations tr {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.is-style-product-hero .product-hero-section .variations th.label {
    padding: 0 !important;
    width: 80px !important; /* Fixed width for the label */
    flex-shrink: 0 !important;
    text-align: left !important;
}

.is-style-product-hero .product-hero-section .variations td.value {
    padding: 0 !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.is-style-product-hero .product-hero-section .variations .label label {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    margin: 0 !important;
    padding: 0 !important;
}

.is-style-product-hero .product-hero-section .variations select {
    width: 350px !important; /* Increased width to avoid cutting off text */
    height: 50px !important;
    padding: 0 40px 0 15px !important;
    border: 1px solid #D5D5D5 !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    color: #1A1A1A !important;
    font-size: 15px !important;
    font-family: inherit !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.is-style-product-hero .product-hero-section .variations select:focus {
    border-color: #1CB7AF !important;
    outline: none !important;
}

.is-style-product-hero .product-hero-section .reset_variations {
    display: none !important;
}

.is-style-product-hero .product-hero-section .cart-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #F0FAF9;
    border: 1px dashed var(--brand-teal);
    border-radius: 12px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #2E2618;
}

.is-style-product-hero .product-hero-section .cart-notification svg {
    color: var(--brand-teal);
    flex-shrink: 0;
}

.is-style-product-hero .product-hero-section .cart-notification strong {
    color: var(--brand-teal);
    font-weight: 700;
}

/* Quantity Card */
.is-style-product-hero .product-hero-section .quantity-card {
    border: 1px solid #D0ECEB;
    border-radius: 15.3px;
    overflow: hidden;
}

.is-style-product-hero .product-hero-section .card-top {
    padding: 19px 23px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.is-style-product-hero .product-hero-section .qty-control {
    display: flex;
    align-items: center;
    background: #E4EEED;
    border-radius: 1069px;
    overflow: hidden;
    height: 36px;
    width: fit-content;
}

.is-style-product-hero .product-hero-section .qty-btn {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #1A1A1A;
    font-weight: 700;
}

.is-style-product-hero .product-hero-section .qty-input {
    width: 42px;
    text-align: center;
    font-weight: 700;
    color: #1A1A1A;
}

.is-style-product-hero .product-hero-section .subtotal-info {
    text-align: right;
}

.is-style-product-hero .product-hero-section .subtotal-label { color: #8B8B96; font-size: 12.4px; }
.is-style-product-hero .product-hero-section .subtotal-value { 
    color: var(--brand-teal); 
    font-size: 26.8px; 
    font-weight: 700; 
    transition: all 0.3s ease;
}

.is-style-product-hero .product-hero-section .subtotal-value .old-price {
    font-size: 16px;
    color: #8B8B96;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 5px;
}

.is-style-product-hero .product-hero-section .subtotal-value .new-price {
    color: var(--brand-teal);
}

.is-style-product-hero .product-hero-section .savings-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.is-style-product-hero .product-hero-section .unit-price-info {
    font-size: 11.5px;
    color: #8B8B96;
}

.is-style-product-hero .product-hero-section .total-savings-info {
    font-size: 11.5px;
    color: #1CB7AF;
    font-weight: 700;
}

.is-style-product-hero .product-hero-section .price-update-animate {
    transform: scale(1.1);
    opacity: 0.8;
}

.is-style-product-hero .product-hero-section .savings { 
    color: #8B8B96; 
    font-size: 11.5px; 
    transition: color 0.3s ease;
}

.is-style-product-hero .product-hero-section .card-bottom {
    padding: 13px 23px;
    border-top: 1px solid #D0ECEB;
    display: flex;
    flex-direction: column;
    gap: 9.5px;
}

.is-style-product-hero .product-hero-section .progress-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 11.5px;
    align-items: center;
}

.is-style-product-hero .product-hero-section .progress-labels span:nth-child(2) {
    text-align: center;
}

.is-style-product-hero .product-hero-section .progress-labels span:nth-child(3) {
    text-align: right;
}

.is-style-product-hero .product-hero-section .progress-bar {
    height: 3px;
    background: #3A3A40;
    border-radius: 95px;
    position: relative;
}

.is-style-product-hero .product-hero-section .progress-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(179deg, #03B8AF 0%, #008982 100%);
    border-radius: 95px;
    width: 80%; /* Dynamic */
}

/* CTA Buttons */
.is-style-product-hero .product-hero-section .cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.is-style-product-hero .product-hero-section .btn {
    height: 51px;
    border-radius: 1069px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2.1px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: transform 0.2s ease;
}

.is-style-product-hero .product-hero-section .btn:active {
    transform: scale(0.98);
}

.is-style-product-hero .product-hero-section .btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 15px 28px rgba(21, 162, 155, 0.04);
}

.is-style-product-hero .product-hero-section .btn-secondary {
    background: #FFFFFF;
    border: 1px solid #E8E4DF;
    color: var(--text-dark);
}

/* Hide default WooCommerce elements */
.is-style-product-hero .product-hero-section .selectors .quantity,
.is-style-product-hero .product-hero-section .selectors .single_add_to_cart_button {
    display: none !important;
}

.is-style-product-hero .product-hero-section .cta-group {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.is-style-product-hero .product-hero-section .bottom-qty-container {
    display: flex;
    justify-content: flex-start;
}

.is-style-product-hero .product-hero-section .bottom-qty-container .qty-control {
    background: #F4F6F6;
    width: 140px;
}

.is-style-product-hero .product-hero-section .btn-buy-now {
    background: var(--primary-gradient);
    color: white;
}

.is-style-product-hero .product-hero-section .btn-add-to-cart-custom {
    background: white;
    border: 1px solid #E8E4DF;
    color: #1A1A1A;
    text-transform: uppercase;
}

/* Media Queries */
@media (max-width: 1200px) {
    .is-style-product-hero .product-hero-section .product-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .is-style-product-hero .product-hero-section .gallery-section { height: 600px; }
}

@media (max-width: 768px) {
    .is-style-product-hero .product-hero-section .breadcrumbs {
        font-size: 10px;
        padding: 15px 0;
    }

    .is-style-product-hero .product-hero-section .product-hero {
        gap: 15px;
    }

    .is-style-product-hero .product-hero-section .gallery-section {
        height: 350px;
        padding: 10px;
    }

    .is-style-product-hero .product-hero-section .main-image-wrapper {
        width: 100%;
        height: 100%;
    }

    .is-style-product-hero .product-hero-section .main-image-wrapper img {
        max-height: 250px;
    }

    .is-style-product-hero .product-hero-section .thumbnail-strip {
        left: 10px;
        top: 10px;
        flex-direction: row;
    }

    .is-style-product-hero .product-hero-section .thumb {
        width: 45px;
        height: 45px;
        border-radius: 8px;
    }

    .is-style-product-hero .product-hero-section .nav-arrow {
        width: 30px;
        height: 30px;
    }

    .is-style-product-hero .product-hero-section .info-section {
        padding: 15px;
    }

    .is-style-product-hero .product-hero-section .product-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .is-style-product-hero .product-hero-section .product-description {
        font-size: 12px;
        line-height: 1.6;
    }



    .is-style-product-hero .product-hero-section .product-price {
        font-size: 20px;
    }

    .is-style-product-hero .product-hero-section .custom-select {
        width: 100%;
    }

    .is-style-product-hero .product-hero-section .card-top {
        flex-direction: row;
        align-items: center;
        padding: 15px;
    }

    .is-style-product-hero .product-hero-section .subtotal-value {
        font-size: 18px;
    }

    .is-style-product-hero .product-hero-section .btn {
        height: 45px;
        font-size: 14px;
    }
}
