/*
Theme Name: Herbal Store
Author: Client Store
Description: Custom WooCommerce storefront for ORTHO NIL.
Version: 1.0.0
Text Domain: herbal-store
*/

:root{
    --cream:#f5f0df;
    --cream-2:#ece5cd;
    --green:#082f2f;
    --orange:#f26a1b;
    --white:#fff;
    --muted:#69736e;
    --line:rgba(8,47,47,.12);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    margin:0;
    background:var(--cream);
    color:var(--green);
    font-family:Arial,Helvetica,sans-serif;
    -webkit-font-smoothing:antialiased;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
}

.container{
    width:min(1180px,calc(100% - 56px));
    margin:auto;
}

.site-main{
    overflow:hidden;
}

.eyebrow{
    margin:0 0 18px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.2em;
    text-transform:uppercase;
}

.section{
    padding:110px 0;
}

.section-title{
    margin:0;
    font-size:clamp(48px,6vw,82px);
    line-height:.9;
    letter-spacing:-.055em;
}

.section-copy{
    max-width:650px;
    color:var(--muted);
    font-size:17px;
    line-height:1.65;
}

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 24px;
    border-radius:999px;
    border:1px solid transparent;
    font-size:11px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
    transition:.25s ease;
}

.button-dark{
    background:var(--green);
    color:#fff;
}

.button-dark:hover{
    transform:translateY(-2px);
}

.button-light{
    background:#fff;
    color:var(--green);
}

.site-header{
    position:absolute;
    z-index:50;
    inset:0 0 auto;
    padding:22px 0;
}

.site-header nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.site-logo{
    display:flex;
    align-items:center;
}

.site-logo img{
    height:82px;
    width:auto;
    max-width:240px;
    object-fit:contain;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav-links a{
    font-size:10px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.nav-cart{
    padding:10px 17px;
    border-radius:999px;
    background:var(--green);
    color:#fff;
}

/* HERO */

.hero{
    position:relative;
    min-height:760px;
    display:flex;
    align-items:center;
    padding:130px 0 80px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:40px;
}

.hero-content{
    position:relative;
    z-index:5;
}

.hero-title{
    margin:0 0 25px;
    font-size:clamp(70px,8vw,126px);
    line-height:.78;
    letter-spacing:-.07em;
    font-weight:950;
}

.hero-copy{
    max-width:520px;
    margin:0 0 28px;
    color:var(--muted);
    font-size:16px;
    line-height:1.6;
}

.hero-actions{
    display:flex;
    align-items:center;
    gap:18px;
}

.capsule-stage{
    position:relative;
    width:100%;
    height:620px;
    display:grid;
    place-items:center;
    perspective:1200px;
}

.capsule-stage::before{
    content:"";
    position:absolute;
    width:470px;
    height:470px;
    border-radius:50%;
    background:rgba(105,145,108,.15);
    filter:blur(8px);
}

.hero-capsule{
    position:relative;
    z-index:3;
    width:min(330px,65%);
    transform-origin:center;
    filter:drop-shadow(20px 30px 25px rgba(0,0,0,.18));
}

.capsule-3d-canvas{
    position:absolute;
    z-index:3;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    opacity:0;
    pointer-events:none;
    transition:opacity .7s ease;
}

.capsule-stage.has-3d-capsule .capsule-3d-canvas{opacity:1}
.capsule-stage.has-3d-capsule .hero-capsule{visibility:hidden}
@media (prefers-reduced-motion: reduce){.capsule-3d-canvas{transition:none}}

.hero-capsule-css{
    width:210px;
    height:420px;
    overflow:hidden;
    border:1px solid rgba(250,231,207,.92);
    border-radius:120px;
    background:linear-gradient(90deg,rgba(167,119,76,.3),rgba(255,246,233,.16) 22%,rgba(238,210,179,.3) 52%,rgba(151,104,67,.25));
    box-shadow:inset 12px 0 18px rgba(255,248,237,.42),inset -10px 0 16px rgba(91,57,34,.16),20px 30px 25px rgba(0,0,0,.16);
}

.hero-capsule-css::before{
    content:"";
    position:absolute;
    right:5px;
    bottom:5px;
    left:5px;
    height:53%;
    border-radius:0 0 112px 112px;
    background:linear-gradient(90deg,#24150f,#4a2b1d 36%,#352016 72%,#21130e);
    clip-path:polygon(0 5%,18% 1%,40% 7%,64% 3%,82% 0,100% 5%,100% 100%,0 100%);
}

.capsule-fallback-seam{
    position:absolute;
    z-index:1;
    top:49.5%;
    left:0;
    width:100%;
    height:4px;
    border-top:1px solid rgba(255,255,255,.9);
    border-bottom:1px solid rgba(130,151,157,.38);
    background:rgba(255,255,255,.24);
}

.capsule-shadow{
    position:absolute;
    z-index:1;
    width:190px;
    height:38px;
    bottom:78px;
    left:50%;
    transform:translateX(-50%);
    border-radius:50%;
    background:rgba(0,0,0,.16);
    filter:blur(20px);
}

.powder-particles{
    position:absolute;
    z-index:4;
    top:67%;
    left:50%;
    width:220px;
    height:210px;
    transform:translateX(-50%);
}

.particle{
    position:absolute;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#4a2b1d;
    opacity:0;
}

.particle:nth-child(3n){
    background:#68432d;
}

.particle-1{left:46%;top:0}
.particle-2{left:53%;top:14px}
.particle-3{left:36%;top:30px}
.particle-4{left:64%;top:44px}
.particle-5{left:48%;top:57px}
.particle-6{left:30%;top:73px}
.particle-7{left:70%;top:82px}
.particle-8{left:55%;top:105px}

/* INTRO */

.intro{
    background:var(--cream-2);
}

.intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
}

/* FORMULATION */

.formulation{
    background:var(--green);
    color:#fff;
}

.formulation-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:90px;
}

.formulation .section-copy{
    color:rgba(255,255,255,.68);
}

.ingredient-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.ingredient-card{
    min-height:190px;
    padding:26px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:22px;
    background:rgba(255,255,255,.045);
}

.ingredient-card h3{
    margin:0 0 10px;
    font-size:23px;
}

.ingredient-card p{
    margin:0;
    color:rgba(255,255,255,.62);
    font-size:14px;
    line-height:1.55;
}

/* PRODUCT */

.product-section{
    background:var(--green);
    padding-top:20px;
    color:#fff;
}

.product-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.product-visual{
    min-height:600px;
    position:relative;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:30px;
    background:rgba(255,255,255,.055);
}

.product-visual img{
    position:relative;
    z-index:2;
    width:min(72%,440px);
    transform:rotate(-4deg);
    transition:.5s ease;
    filter:drop-shadow(20px 28px 24px rgba(0,0,0,.3));
}

.product-visual img:hover{
    transform:rotate(0) scale(1.03);
}

.product-fallback-capsule{
    position:relative;
    z-index:2;
    width:190px;
    height:390px;
    border-radius:100px;
    transform:rotate(17deg);
    background:linear-gradient(
        135deg,
        #f4dda9 0%,
        #d6ae70 48%,
        #a6743d 49%,
        #80572e 100%
    );
    box-shadow:20px 28px 40px rgba(0,0,0,.25);
}

.product-copy{
    padding:20px 0;
}

.product-copy h2{
    margin:0 0 20px;
    font-size:clamp(42px,5vw,72px);
    letter-spacing:-.05em;
    line-height:1;
}

.product-description{
    max-width:520px;
    margin:0 0 28px;
    color:rgba(255,255,255,.68);
    line-height:1.65;
}

.ortho-product-form{
    margin-top:30px;
}

.pack-selector{
    margin:30px 0;
}

.pack-label{
    display:block;
    font-size:11px;
    font-weight:900;
    letter-spacing:.15em;
    text-transform:uppercase;
    margin-bottom:15px;
    color:rgba(255,255,255,.8);
}

.pack-options{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.pack-option{
    cursor:pointer;
}

.pack-option input{
    display:none;
}

.pack-option span{
    display:block;
    padding:16px 24px;
    border:2px solid rgba(255,255,255,.2);
    border-radius:12px;
    background:rgba(255,255,255,.05);
    transition:all .25s ease;
}

.pack-option strong{
    display:block;
    font-size:15px;
    margin-bottom:4px;
}

.pack-option small{
    color:rgba(255,255,255,.7);
    font-size:13px;
}

.pack-option input:checked + span{
    border-color:var(--orange);
    background:rgba(242,106,27,.15);
}

.product-price{
    margin:28px 0;
}

.price-label{
    display:block;
    font-size:11px;
    font-weight:900;
    letter-spacing:.15em;
    text-transform:uppercase;
    margin-bottom:8px;
    color:rgba(255,255,255,.8);
}

#ortho-price{
    font-size:36px;
    font-weight:950;
}

.quantity-row{
    display:flex;
    align-items:center;
    gap:15px;
    margin:25px 0;
}

.quantity-row label{
    font-size:11px;
    font-weight:900;
    letter-spacing:.15em;
    text-transform:uppercase;
    color:rgba(255,255,255,.8);
}

.quantity-row input{
    width:80px;
    height:48px;
    padding:0 15px;
    border:2px solid rgba(255,255,255,.2);
    border-radius:12px;
    background:rgba(255,255,255,.05);
    color:#fff;
    font-size:16px;
    font-weight:600;
    text-align:center;
}

.quantity-row input:focus{
    outline:none;
    border-color:var(--orange);
}

.product-add-to-cart{
    width:100%;
    max-width:300px;
    margin-top:20px;
    background:var(--orange);
    color:#111;
    border:none;
}

.product-add-to-cart:hover{
    background:#fff;
    color:var(--green);
}

.product-note{
    margin-top:20px;
    font-size:12px;
    color:rgba(255,255,255,.6);
    letter-spacing:.05em;
}

/* BENEFITS */

.benefits{
    background:var(--cream);
}

.benefits-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
}

.claim-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:30px;
}

.claim{
    padding:22px;
    border:1px solid var(--line);
    border-radius:20px;
    background:rgba(255,255,255,.4);
}

.claim strong{
    display:block;
    font-size:17px;
}

.claim small{
    display:block;
    margin-top:7px;
    color:var(--muted);
    line-height:1.4;
}

/* HOW TO */

.how{
    background:var(--cream-2);
}

.steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:55px;
}

.step{
    padding:32px;
    border-radius:24px;
    background:var(--cream);
}

.step-number{
    font-size:12px;
    font-weight:900;
    letter-spacing:.15em;
}

.step h3{
    font-size:25px;
    margin:55px 0 12px;
}

.step p{
    margin:0;
    color:var(--muted);
    line-height:1.6;
}

/* REVIEWS */

.reviews{
    background:var(--cream);
}

.review-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    gap:16px;
}

.review-track{
    display:flex;
    gap:16px;
    overflow-x:hidden;
    padding:45px 0 15px;
    scroll-behavior:smooth;
}

.review-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border-radius:50%;
    border:1px solid var(--line);
    background:var(--white);
    color:var(--green);
    font-size:18px;
    cursor:pointer;
    z-index:10;
    transition:all .25s ease;
    display:flex;
    align-items:center;
    justify-content:center;
}

.review-nav:hover{
    background:var(--green);
    color:var(--white);
    border-color:var(--green);
}

.review-nav-prev{
    left:-24px;
}

.review-nav-next{
    right:-24px;
}

.review-card{
    flex:0 0 min(360px,82vw);
    min-height:230px;
    padding:30px;
    border-radius:24px;
    background:#fff;
    box-shadow:0 10px 35px rgba(8,47,47,.06);
}

.stars{
    font-size:12px;
    letter-spacing:.15em;
    margin-bottom:35px;
}

.review-card p{
    margin:0 0 25px;
    font-size:16px;
    line-height:1.55;
}

.review-name{
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
}

/* CTA */

.final-cta{
    padding:120px 0;
    background:var(--orange);
    color:#111;
    text-align:center;
}

.final-cta h2{
    margin:0 0 35px;
    font-size:clamp(60px,8vw,110px);
    line-height:.85;
    letter-spacing:-.065em;
}

/* FOOTER */

.site-footer{
    padding:45px 0 30px;
    background:var(--cream);
}

.footer-top{
    display:flex;
    justify-content:space-between;
    gap:40px;
}

.footer-logo{
    margin-bottom:15px;
}

.footer-logo img{
    height:86px;
    width:auto;
    max-width:260px;
    object-fit:contain;
}

.footer-links{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
}

.footer-links a{
    font-size:10px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    margin-top:70px;
    padding-top:18px;
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:11px;
}

/* WOOCOMMERCE */

.woocommerce-page .site-main{
    padding-top:120px;
}

.woocommerce div.product .product_title{
    font-size:clamp(42px,5vw,72px);
    letter-spacing:-.05em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price{
    color:var(--green);
    font-size:30px;
    font-weight:900;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button{
    border-radius:999px;
    background:var(--green);
    color:#fff;
    padding:14px 22px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.1em;
}

/* Single product controls */
.single-product .woocommerce div.product form.cart .variations {
    width: 100%;
    margin: 24px 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
}

.single-product .woocommerce div.product form.cart .variations tr,
.single-product .woocommerce div.product form.cart .variations th,
.single-product .woocommerce div.product form.cart .variations td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.single-product .woocommerce div.product form.cart .variations label {
    display: block;
    margin: 0 0 8px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.single-product .woocommerce div.product form.cart .variations select,
.single-product .woocommerce div.product form.cart .quantity .qty {
    min-height: 54px;
    border: 1px solid rgba(8, 47, 47, .18);
    border-radius: 14px;
    background-color: #fff;
    color: var(--green);
    font: inherit;
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.single-product .woocommerce div.product form.cart .variations select {
    width: 100%;
    padding: 0 46px 0 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3 6 5 5 5-5' stroke='%23082f2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.single-product .woocommerce div.product form.cart .quantity .qty {
    width: 92px;
    padding: 0 10px;
    text-align: center;
}

.single-product .woocommerce div.product form.cart .variations select:focus-visible,
.single-product .woocommerce div.product form.cart .quantity .qty:focus-visible {
    border-color: var(--orange);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(242, 106, 27, .16);
}

.single-product .woocommerce div.product form.cart .reset_variations {
    display: inline-block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    background: var(--green);
    box-shadow: 0 8px 20px rgba(8, 47, 47, .12);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #104545;
    box-shadow: 0 12px 24px rgba(8, 47, 47, .18);
    transform: translateY(-1px);
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

/* Product identity and certification artwork */
.product-asset-row,
.product-page-identity {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 18px;
    margin: 20px 0 26px;
    padding: 12px 18px;
    border: 1px solid rgba(8, 47, 47, .08);
    border-radius: 18px;
    background: #fff;
}

.product-name-art,
.product-page-identity .product-name-art {
    display: block;
    width: 100px;
    height: 76px;
    object-fit: contain;
}

.product-halaal-art,
.product-page-identity .product-halaal-art {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.active-man-visual {
    width: min(100%, 300px);
    height: 210px;
    margin: 20px 0 0;
}

.active-man-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Stronger WooCommerce variation select styles */
body.single-product .site-main .variations_form table.variations select,
body.single-product .site-main form.cart select:not([name="quantity"]) {
    display: block;
    width: 100%;
    min-height: 62px;
    padding: 0 52px 0 18px;
    border: 1.5px solid rgba(8, 47, 47, .2);
    border-radius: 16px;
    background-color: #fff;
    color: var(--green);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 5px 16px rgba(8, 47, 47, .045);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.single-product .site-main .variations_form table.variations select:hover,
body.single-product .site-main form.cart select:not([name="quantity"]):hover {
    border-color: rgba(8, 47, 47, .48);
    background-color: #fffefa;
}

body.single-product .site-main .variations_form table.variations select:focus,
body.single-product .site-main form.cart select:not([name="quantity"]):focus {
    border-color: var(--orange);
    outline: 0;
    box-shadow: 0 0 0 5px rgba(242, 106, 27, .15), 0 8px 22px rgba(8, 47, 47, .08);
}

.woocommerce .button,
.woocommerce button.button,
.button {
    transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
    will-change: transform;
}

.woocommerce .button:hover:not(:disabled),
.button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(8, 47, 47, .18);
}

.woocommerce .button:active:not(:disabled),
.button:active:not(:disabled) {
    transform: translateY(-1px) scale(.985);
}

.woocommerce .button:focus-visible,
.button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .site-logo img {
        height: 74px;
        max-width: 205px;
    }

    .custom-logo {
        max-width: 205px;
        max-height: 74px;
    }

    .footer-logo img {
        height: 74px;
    }
}

/* MOBILE */

@media(max-width:900px){

    .container{
        width:min(100% - 36px,700px);
    }

    .nav-links{
        gap:12px;
    }

    .nav-links a:not(:last-child){
        display:none;
    }

    .hero{
        min-height:auto;
        padding:120px 0 55px;
    }

    .hero-grid,
    .intro-grid,
    .formulation-grid,
    .product-grid,
    .benefits-grid{
        grid-template-columns:1fr;
        gap:45px;
    }

    .hero-title{
        font-size:clamp(62px,17vw,100px);
    }

    .capsule-stage{
        height:470px;
    }

    .capsule-stage::before{
        width:330px;
        height:330px;
    }

    .hero-capsule{
        width:230px;
    }

    .section{
        padding:80px 0;
    }

    .steps{
        grid-template-columns:1fr;
    }

    .ingredient-grid{
        grid-template-columns:1fr 1fr;
    }

    .claim-list{
        grid-template-columns:1fr;
    }

    .footer-top,
    .footer-bottom{
        flex-direction:column;
    }
}

@media(max-width:560px){

    .ingredient-grid{
        grid-template-columns:1fr;
    }

    .hero-actions{
        align-items:flex-start;
        flex-direction:column;
    }

    .product-showcase{
        min-height:460px;
    }

    .real-product-image{
        width:76%;
    }

    .final-cta{
        padding:90px 0;
    }
}

/* =========================================
   ORTHO NIL PRODUCT SELECTOR
========================================= */

.ortho-product-form {
    margin-top: 30px;
}

.pack-selector {
    margin-bottom: 24px;
}

.pack-label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pack-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pack-option {
    position: relative;
    cursor: pointer;
}

.pack-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pack-option span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.pack-option strong {
    font-size: 16px;
}

.pack-option small {
    color: var(--muted);
    font-size: 14px;
}

.pack-option:hover span {
    transform: translateY(-2px);
}

.pack-option input:checked + span {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(8, 47, 47, .08);
}

.product-section .pack-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-section .pack-option span {
    min-height: 88px;
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.product-section .pack-option input:checked + span {
    border-color: var(--orange);
    background: rgba(242, 106, 27, .18);
}

.product-section .pack-option small,
.product-section .price-label {
    color: rgba(255, 255, 255, .72);
}


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

.price-label {
    color: var(--muted);
    font-size: 14px;
}

.product-price strong {
    color: var(--green);
    font-size: 32px;
    line-height: 1;
}

.product-section .product-price strong {
    color: #fff;
}


.quantity-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.quantity-row label {
    font-weight: 700;
}

.quantity-row input {
    width: 80px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font-size: 16px;
}


.product-add-to-cart {
    width: 100%;
}

.product-add-to-cart:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.product-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}


@media (max-width: 700px) {

    .pack-options {
        grid-template-columns: 1fr;
    }

    .product-price strong {
        font-size: 28px;
    }

}
.pack-option span {
    color: var(--green);
}

.pack-option strong {
    display: block;
    color: var(--green);
    font-size: 16px;
    font-weight: 700;
}

.pack-option small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}

.pack-option input:checked + span strong {
    color: var(--green);
}

/* Shop, cart, and checkout */
.woocommerce .woocommerce-products-header__title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
    margin: 0 0 28px;
    color: var(--green);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin: 12px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select,
.woocommerce-page .select2-container--default .select2-selection--single {
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid rgba(8, 47, 47, .16);
    border-radius: 12px;
    background: #fff;
    color: var(--green);
    font: inherit;
    font-size: 15px;
}

.woocommerce-page form .form-row textarea {
    min-height: 120px;
}

.woocommerce-page form .form-row label {
    margin-bottom: 7px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.woocommerce-page form .form-row input:focus,
.woocommerce-page form .form-row textarea:focus,
.woocommerce-page form .form-row select:focus,
.woocommerce .woocommerce-ordering select:focus {
    border-color: var(--orange);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(242, 106, 27, .14);
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 56px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    display: flex;
    width: auto !important;
    margin: 0 !important;
    padding: 18px 18px 22px;
    float: none !important;
    flex-direction: column;
    border: 1px solid rgba(8, 47, 47, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(8, 47, 47, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(8, 47, 47, .1);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 260px;
    margin: 0 0 18px;
    border-radius: 14px;
    background: #f8f6ef;
    object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    color: var(--green);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.woocommerce ul.products li.product .price {
    margin: 8px 0 16px;
    color: var(--green);
    font-size: 17px;
    font-weight: 800;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    margin-top: auto;
    padding: 16px 18px;
    background: var(--green);
    text-align: center;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background: #145050;
    color: #fff;
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-top-color: var(--orange);
    border-radius: 12px;
    background: #fff;
    color: var(--green);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
    color: var(--orange);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    overflow: hidden;
    border: 1px solid rgba(8, 47, 47, .1);
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-checkout table.shop_table th {
    padding: 16px;
    border-color: rgba(8, 47, 47, .08);
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
    padding: 24px;
    border: 1px solid rgba(8, 47, 47, .08);
    border-radius: 18px;
    background: #fff;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #customer_details h3 {
    color: var(--green);
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.03em;
}

.woocommerce .quantity .qty {
    min-height: 48px;
    border: 1px solid rgba(8, 47, 47, .16);
    border-radius: 10px;
    background: #fff;
    color: var(--green);
    font: inherit;
}

.woocommerce #payment,
.woocommerce-checkout #payment {
    overflow: hidden;
    border: 1px solid rgba(8, 47, 47, .08);
    border-radius: 16px;
    background: #f8f6ef;
}

.woocommerce #payment div.payment_box {
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 800px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .woocommerce ul.products li.product a img {
        height: 220px;
    }
}

@media (max-width: 520px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products li.product a img {
        height: 260px;
    }

    .woocommerce-cart .cart-collaterals .cart_totals,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #customer_details {
        padding: 18px;
    }
}

@media (max-width: 900px) {
    .nav-links .nav-shop {
        display: inline-flex;
    }
}

/* Consistent, restrained interaction feedback across the storefront. */
a:not(.button):not(.nav-cart):not(.site-logo) {
    text-decoration-color: transparent;
    text-underline-offset: .24em;
    transition: color .2s ease, text-decoration-color .2s ease;
}

a:not(.button):not(.nav-cart):not(.site-logo):hover {
    color: var(--orange);
    text-decoration-line: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
}

.button,
.nav-cart,
button,
input[type="button"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        box-shadow .2s ease, transform .2s ease, filter .2s ease;
}

.button:hover,
.nav-cart:hover,
button:not(:disabled):not(.disabled):hover,
input[type="button"]:not(:disabled):hover,
input[type="submit"]:not(:disabled):hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 47, 47, .16);
    filter: brightness(1.04);
}

.button-light:hover {
    background: var(--green);
    color: var(--white);
}

a:focus-visible,
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
select:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    a, button, input, .button, .nav-cart {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .button:hover,
    .nav-cart:hover,
    button:not(:disabled):not(.disabled):hover,
    input[type="button"]:not(:disabled):hover,
    input[type="submit"]:not(:disabled):hover,
    .woocommerce a.button:hover,
    .woocommerce button.button:hover,
    .woocommerce input.button:hover {
        transform: none;
    }
}

/* Single product page: compact gallery, clear purchase panel, calm details. */
body.single-product .site-main {
    padding-top: 100px;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(236, 229, 205, .65), transparent 42%),
        var(--cream);
}

body.single-product .site-main > .section {
    padding: 52px 0 100px;
}

body.single-product .site-main > .section > .container {
    width: min(1120px, calc(100% - 48px));
}

body.single-product .woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(32px, 6vw, 76px);
    row-gap: 54px;
}

body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after {
    display: none;
}

body.single-product .woocommerce div.product .woocommerce-notices-wrapper,
body.single-product .woocommerce div.product .woocommerce-product-gallery,
body.single-product .woocommerce div.product .summary,
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .up-sells {
    float: none;
    width: auto;
    margin: 0;
}

body.single-product .woocommerce div.product .woocommerce-notices-wrapper,
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .up-sells {
    grid-column: 1 / -1;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery {
    position: sticky;
    top: 28px;
    padding: clamp(20px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(8, 47, 47, .07);
    border-radius: 28px;
    background: linear-gradient(145deg, #fff 0%, #f8f6ef 100%);
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.single-product .woocommerce-product-gallery__wrapper {
    min-height: 390px;
}

body.single-product .woocommerce-product-gallery__image a {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img {
    width: min(78%, 340px);
    max-height: 380px;
    margin: auto;
    border-radius: 18px;
    object-fit: contain;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li {
    width: 64px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid rgba(8, 47, 47, .1);
    border-radius: 12px;
    background: #fff;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img {
    border-radius: 8px;
}

body.single-product .woocommerce div.product .summary {
    padding: clamp(25px, 4vw, 44px);
    border: 1px solid rgba(8, 47, 47, .07);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.single-product .woocommerce div.product .product_title {
    margin: 0 0 14px;
    font-size: clamp(36px, 4vw, 54px);
    line-height: .98;
}

body.single-product .woocommerce-product-rating {
    margin: 0 0 18px;
}

body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 22px 0;
    font-size: 27px;
}

body.single-product .woocommerce div.product p.price del,
body.single-product .woocommerce div.product span.price del {
    color: #89918b;
    font-size: 17px;
    font-weight: 500;
}

body.single-product .woocommerce div.product p.price ins,
body.single-product .woocommerce div.product span.price ins {
    text-decoration: none;
}

body.single-product .woocommerce div.product .woocommerce-product-details__short-description {
    margin: 18px 0 22px;
    color: #58655e;
    font-size: 15px;
    line-height: 1.75;
}

body.single-product .woocommerce div.product .product-page-identity {
    margin: 18px 0 24px;
    padding: 8px 12px;
    gap: 10px;
    border-radius: 14px;
    background: #faf9f5;
}

body.single-product .woocommerce div.product form.cart {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(8, 47, 47, .09);
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 56px;
    padding: 0 30px;
    border-radius: 14px;
    font-size: 12px;
}

body.single-product .woocommerce div.product .product_meta {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(8, 47, 47, .08);
    color: var(--muted);
    font-size: 12px;
}

body.single-product .woocommerce div.product .woocommerce-tabs {
    padding: 8px clamp(0px, 2vw, 20px) 0;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    border-bottom: 1px solid rgba(8, 47, 47, .12);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 14px 12px;
    color: #728078;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--green);
    box-shadow: inset 0 -2px var(--orange);
}

body.single-product .woocommerce div.product .woocommerce-Tabs-panel {
    max-width: 820px;
    color: #58655e;
    font-size: 15px;
    line-height: 1.8;
}

body.single-product .woocommerce div.product .related > h2,
body.single-product .woocommerce div.product .up-sells > h2 {
    margin-bottom: 24px;
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -.04em;
}

@media (max-width: 800px) {
    body.single-product .site-main { padding-top: 86px; }
    body.single-product .site-main > .section { padding: 35px 0 72px; }
    body.single-product .woocommerce div.product {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }
    body.single-product .woocommerce div.product .woocommerce-product-gallery {
        position: relative;
        top: auto;
        width: min(100%, 540px);
        justify-self: center;
    }
    body.single-product .woocommerce-product-gallery__wrapper { min-height: 300px; }
    body.single-product .woocommerce-product-gallery__image a { min-height: 280px; }
    body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img {
        width: min(72%, 290px);
        max-height: 300px;
    }
}

@media (max-width: 520px) {
    body.single-product .site-main > .section > .container { width: min(100% - 32px, 460px); }
    body.single-product .woocommerce div.product .summary { padding: 23px 20px; border-radius: 22px; }
    body.single-product .woocommerce div.product .woocommerce-product-gallery { padding: 16px; border-radius: 22px; }
    body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; }
    body.single-product .woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; margin-top: 12px; }
}

.joint-health-article {
    background: linear-gradient(180deg, #fbfaf5, var(--cream-2));
}

.joint-health-content {
    max-width: 1080px;
    margin: 0 auto;
}

.joint-health-heading {
    max-width: 790px;
    margin: 0 auto 48px;
    text-align: center;
}

.joint-health-heading .eyebrow {
    color: var(--orange);
}

.joint-health-heading .section-title {
    font-size: clamp(38px, 5vw, 64px);
    line-height: .98;
}

.joint-health-heading .section-copy {
    margin: 22px auto 0;
}

.joint-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.joint-health-grid section {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(8, 47, 47, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 30px rgba(8, 47, 47, .035);
}

.joint-health-grid h3 {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 21px;
    letter-spacing: -.025em;
}

.joint-health-grid p {
    margin: 0 0 18px;
    color: #58655e;
    font-size: 14px;
    line-height: 1.75;
}

.joint-health-grid a {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    text-underline-offset: 4px;
}

.joint-health-grid a:hover {
    color: var(--orange);
}

.joint-health-disclaimer {
    max-width: 820px;
    margin: 24px auto 0;
    color: #69736e;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}

@media (max-width: 700px) {
    .joint-health-grid { grid-template-columns: 1fr; }
    .joint-health-heading { margin-bottom: 30px; }
}

/* Refined storefront finish: warmer botanical colors, calmer type, and consistent surfaces. */
:root {
    --cream: #f7f5ed;
    --cream-2: #eeecdf;
    --green: #123b33;
    --orange: #b96d43;
    --white: #fffefa;
    --muted: #65736b;
    --line: rgba(18, 59, 51, .13);
    --surface-shadow: 0 18px 48px rgba(28, 48, 38, .08);
}

body {
    background: var(--cream);
    color: var(--green);
    font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: min(1200px, calc(100% - 64px));
}

.site-header {
    padding: 16px 0;
}

.site-header nav {
    min-height: 92px;
    padding: 0 22px;
    border: 1px solid rgba(18, 59, 51, .08);
    border-radius: 22px;
    background: rgba(250, 249, 243, .88);
    box-shadow: 0 8px 28px rgba(28, 48, 38, .045);
    backdrop-filter: blur(14px);
}

.site-logo img {
    height: 84px;
    max-width: 250px;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 84px;
    object-fit: contain;
}

.hero-product-image {
    position: relative;
    display: grid;
    min-height: 560px;
    place-items: center;
    isolation: isolate;
}

.hero-product-image::before {
    position: absolute;
    z-index: -1;
    width: min(450px, 88%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(160, 178, 146, .2);
    content: "";
    filter: blur(18px);
}

.hero-product-image img {
    display: block;
    width: min(78%, 390px);
    max-height: 530px;
    object-fit: contain;
    filter: drop-shadow(20px 32px 30px rgba(32, 42, 32, .2));
}

.homepage-block-content > .wp-block-group.section > .wp-block-group,
.homepage-block-content > .wp-block-group.section > .wp-block-paragraph,
.homepage-block-content > .wp-block-group.section > .wp-block-heading,
.homepage-block-content > .wp-block-group.hero > .wp-block-group,
.homepage-block-content > .wp-block-group.final-cta > * {
    width: min(1200px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
}

.homepage-block-content .hero-grid,
.homepage-block-content .intro-grid,
.homepage-block-content .formulation-grid,
.homepage-block-content .benefits-grid {
    gap: clamp(20px, 4vw, 56px);
}

.homepage-block-content .homepage-column > .wp-block-group {
    height: 100%;
}

.homepage-block-content .wp-block-buttons.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px 20px;
}

.homepage-block-content .wp-block-button__link {
    min-height: 54px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.homepage-block-content .hero-actions .button-dark .wp-block-button__link,
.homepage-block-content .final-cta .button-dark .wp-block-button__link {
    background: var(--green);
    color: var(--white);
}

.homepage-block-content .hero-actions .button-light .wp-block-button__link {
    background: transparent;
    color: var(--green);
    text-transform: none;
    letter-spacing: 0;
}

.homepage-block-content .review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.homepage-block-content .review-grid > .homepage-column {
    min-width: 0;
}

.homepage-block-content .review-grid .review-card {
    height: 100%;
    min-height: 260px;
}

.homepage-block-content .joint-health-card .wp-block-button__link {
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--green);
    font-size: 12px;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-links {
    gap: clamp(16px, 2.2vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links > li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: .08em;
}

.nav-links a:not(.nav-cart):hover {
    color: var(--orange);
}

.nav-cart {
    padding: 12px 19px;
    background: var(--green);
}

.hero {
    min-height: 740px;
    padding-top: 138px;
    background:
        radial-gradient(ellipse at 76% 44%, rgba(205, 215, 193, .46), transparent 36%),
        linear-gradient(180deg, #f5f3e9 0%, var(--cream) 100%);
}

.hero-grid {
    gap: clamp(28px, 5vw, 72px);
}

.eyebrow {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: .22em;
}

.hero-title,
.section-title,
.product-copy h2,
.final-cta h2,
.woocommerce .woocommerce-products-header__title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.055em;
}

.hero-title {
    max-width: 660px;
    font-size: clamp(66px, 7.5vw, 112px);
    line-height: .86;
}

.hero-copy,
.section-copy {
    color: #5f6e65;
    line-height: 1.75;
}

.hero-copy {
    max-width: 460px;
    font-size: 17px;
}

.button {
    min-height: 54px;
    padding: 0 28px;
    font-size: 10px;
    letter-spacing: .14em;
}

.button-dark,
.nav-cart {
    background: var(--green);
}

.button-dark:hover,
.nav-cart:hover {
    background: #1c5145;
}

.text-link {
    font-size: 13px;
    font-weight: 650;
}

.capsule-stage::before {
    width: min(460px, 90%);
    height: min(460px, 90%);
    background: rgba(160, 178, 146, .22);
    filter: blur(18px);
}

.hero-capsule {
    filter: drop-shadow(20px 34px 30px rgba(32, 42, 32, .2));
}

.section {
    padding: clamp(78px, 9vw, 118px) 0;
}

.section-title {
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: .98;
}

.intro,
.how {
    background: var(--cream-2);
}

.intro-grid,
.benefits-grid {
    gap: clamp(38px, 7vw, 92px);
}

.ingredient-card,
.claim,
.step,
.review-card,
.joint-health-grid section {
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(28, 48, 38, .045);
}

.ingredient-card {
    background: rgba(255, 255, 255, .055);
}

.claim,
.step,
.review-card,
.joint-health-grid section {
    background: var(--white);
}

.claim {
    padding: 24px;
}

.claim strong,
.step h3,
.ingredient-card h3,
.joint-health-grid h3 {
    letter-spacing: -.025em;
}

.step h3 {
    margin-top: 42px;
    font-size: 23px;
}

.step-number,
.stars {
    color: var(--orange);
}

.product-section,
.formulation {
    background: #123b33;
}

.product-visual {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(208, 185, 130, .14), transparent 55%),
        rgba(255, 255, 255, .045);
}

.product-add-to-cart {
    background: #d69b65;
    color: #18372f;
}

.product-add-to-cart:hover {
    background: #f2d5a7;
    color: #18372f;
}

.final-cta {
    background: #d8ad76;
    color: #173c33;
}

.final-cta h2 {
    font-size: clamp(52px, 7vw, 92px);
    line-height: .96;
}

.site-footer {
    background: #f1efe5;
}

.woocommerce ul.products li.product {
    border-color: rgba(18, 59, 51, .09);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(28, 48, 38, .055);
}

.woocommerce ul.products li.product a img {
    border-radius: 16px;
    background: #f4f2e9;
}

.woocommerce ul.products li.product .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    min-height: 50px;
    border-radius: 999px;
    background: var(--green);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background: #1c5145;
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 40px, 720px);
    }

    .site-header nav {
        min-height: 68px;
        padding: 0 14px;
        border-radius: 18px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: clamp(60px, 14vw, 92px);
    }

    .homepage-block-content > .wp-block-group.section > .wp-block-group,
    .homepage-block-content > .wp-block-group.section > .wp-block-paragraph,
    .homepage-block-content > .wp-block-group.section > .wp-block-heading,
    .homepage-block-content > .wp-block-group.hero > .wp-block-group,
    .homepage-block-content > .wp-block-group.final-cta > * {
        width: min(100% - 40px, 720px);
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 36px);
    }

    .site-header {
        padding-top: 10px;
    }

    .site-header nav {
        min-height: 68px;
        padding: 0 10px;
        border-radius: 16px;
    }

    .site-logo img {
        height: 62px;
        max-width: 180px;
    }

    .custom-logo {
        max-width: 180px;
        max-height: 62px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links > li:not(:first-child):not(:last-child) {
        display: none;
    }

    .nav-links a {
        font-size: 9px;
    }

    .nav-cart {
        padding: 10px 13px;
    }

    .hero {
        padding: 104px 0 42px;
    }

    .hero-title {
        font-size: clamp(58px, 16vw, 80px);
        line-height: .9;
    }

    .hero-product-image {
        min-height: 360px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .capsule-stage {
        height: 390px;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: clamp(40px, 12vw, 58px);
    }

    .claim-list,
    .ingredient-grid {
        grid-template-columns: 1fr;
    }

    .homepage-block-content .review-grid {
        grid-template-columns: 1fr;
    }

    .final-cta {
        padding: 82px 0;
    }

    .final-cta h2 {
        font-size: clamp(48px, 13vw, 66px);
    }
}

/* =========================================
   RESPONSIVE HEADER / HAMBURGER MENU
   Append to the END of style.css
========================================= */

/* Desktop: the panel is invisible to layout, so logo / links / account
   sit in the nav exactly as before. */
.nav-panel {
    display: contents;
}

.site-header nav {
    position: relative;
}

.nav-toggle {
    display: none;
}

@media (max-width: 900px) {

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--green);
        color: var(--white);
        cursor: pointer;
        box-shadow: none;
    }

    .nav-toggle:hover {
        transform: none;
        box-shadow: none;
        background: #1c5145;
    }

    .nav-toggle-bars {
        position: relative;
        display: block;
        width: 20px;
        height: 14px;
    }

    .nav-toggle-bars span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .25s ease, opacity .2s ease, top .25s ease;
    }

    .nav-toggle-bars span:nth-child(1) { top: 0; }
    .nav-toggle-bars span:nth-child(2) { top: 6px; }
    .nav-toggle-bars span:nth-child(3) { top: 12px; }

    .is-menu-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
    .is-menu-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
    .is-menu-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

    /* Dropdown panel */
    .site-header .nav-panel {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 60;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid rgba(18, 59, 51, .1);
        border-radius: 20px;
        background: rgba(250, 249, 243, .98);
        box-shadow: 0 20px 48px rgba(28, 48, 38, .16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    }

    .site-header.is-menu-open .nav-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity .22s ease, transform .22s ease, visibility 0s;
    }

    /* Undo the old "hide every link on mobile" rules */
    .site-header .nav-panel .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 0;
    }

    .site-header nav .nav-panel .nav-links > li {
        display: block;
    }

    .site-header .nav-panel .nav-links a,
    .site-header .nav-panel .nav-links a:not(:last-child) {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 12px;
        letter-spacing: .1em;
    }

    .site-header .nav-panel .nav-links a:not(.nav-cart):hover {
        background: rgba(18, 59, 51, .06);
    }

    /* Cart + My Account become full-width buttons */
    .site-header .nav-panel .nav-cart {
        justify-content: center;
        min-height: 50px;
        margin-top: 4px;
        padding: 0 16px;
        text-align: center;
    }

    .site-header .nav-panel .nav-account {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: var(--green);
        border: 1px solid var(--green);
    }

    .site-header .nav-panel .nav-account:hover {
        background: var(--green);
        color: var(--white);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header .nav-panel,
    .nav-toggle-bars span {
        transition-duration: .01ms !important;
    }
}

/* =========================================
   WOOCOMMERCE POLISH
   Single product page, tabs, reviews, shop cards
========================================= */

/* Breadcrumb */
body.single-product .woocommerce-breadcrumb {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em;
}

body.single-product .woocommerce-breadcrumb a {
    color: var(--green);
    font-weight: 700;
}

/* Sale badge */
body.single-product .woocommerce div.product {
    position: relative;
}

.woocommerce span.onsale {
    top: 18px;
    left: 18px;
    right: auto;
    z-index: 6;
    min-width: 0;
    min-height: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Gallery */
body.single-product .woocommerce div.product .woocommerce-product-gallery {
    background:
        radial-gradient(ellipse at 50% 38%, rgba(205, 215, 193, .4), transparent 62%),
        linear-gradient(145deg, #fffefa 0%, #f4f2e9 100%);
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
    width: min(88%, 430px);
    max-height: 450px;
    filter: drop-shadow(18px 26px 22px rgba(32, 42, 32, .18));
}

body.single-product .woocommerce-product-gallery .flex-viewport {
    border-radius: 20px;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    top: 16px;
    right: 16px;
    z-index: 6;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(28, 48, 38, .14);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(28, 48, 38, .2);
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li {
    width: 72px;
    overflow: visible;
    cursor: pointer;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li img {
    opacity: .5;
    transition: opacity .2s ease;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li img:hover,
body.single-product .woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Summary panel */
body.single-product .woocommerce div.product .summary .eyebrow {
    margin: 0 0 12px;
}

body.single-product .woocommerce div.product .product_title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.045em;
}

.woocommerce .star-rating,
.woocommerce p.stars a {
    color: var(--orange);
}

body.single-product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.single-product .woocommerce-product-rating .star-rating {
    margin: 0;
}

body.single-product .woocommerce-review-link {
    color: var(--muted);
    font-size: 13px;
}

body.single-product .woocommerce div.product .stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(18, 59, 51, .08);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

body.single-product .woocommerce div.product .stock::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3f9a6b;
    content: "";
}

body.single-product .woocommerce div.product .stock.out-of-stock {
    background: rgba(185, 109, 67, .14);
    color: #8a4a28;
}

body.single-product .woocommerce div.product .stock.out-of-stock::before {
    background: var(--orange);
}

/* Add to cart row */
body.single-product .woocommerce div.product form.cart,
body.single-product .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

body.single-product .woocommerce div.product form.cart table.variations,
body.single-product .woocommerce div.product form.cart .single_variation_wrap {
    flex: 0 0 100%;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1 1 190px;
    margin: 0;
}

/* Quantity stepper (buttons added by assets/js/woo-enhance.js) */
.woocommerce .quantity.has-stepper {
    display: inline-flex;
    align-items: center;
    height: 56px;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 51, .18);
    border-radius: 14px;
    background: #fff;
}

.woocommerce .quantity.has-stepper .qty,
body.single-product .woocommerce div.product form.cart .quantity.has-stepper .qty {
    width: 50px;
    min-height: 0;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.woocommerce .quantity.has-stepper .qty::-webkit-outer-spin-button,
.woocommerce .quantity.has-stepper .qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.woocommerce .quantity .qty-btn,
.woocommerce .quantity .qty-btn:hover {
    width: 42px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--green);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transform: none;
    box-shadow: none;
    filter: none;
}

.woocommerce .quantity .qty-btn:hover {
    background: rgba(18, 59, 51, .07);
}

/* Trust strip */
.product-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.product-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.product-trust li::before {
    color: var(--orange);
    font-weight: 900;
    content: "✓";
}

/* Product meta */
body.single-product .woocommerce div.product .product_meta > span {
    display: block;
}

body.single-product .woocommerce div.product .product_meta a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(18, 59, 51, .25);
    text-underline-offset: 3px;
}

/* Tabs card */
body.single-product .woocommerce div.product .woocommerce-tabs {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 51, .08);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0;
    padding: 10px 18px 0;
    border-bottom: 1px solid rgba(18, 59, 51, .1);
    background: #faf9f5;
    overflow-x: auto;
    scrollbar-width: none;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 16px 20px;
    white-space: nowrap;
    transition: color .2s ease;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--green);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    box-shadow: inset 0 -3px 0 var(--orange);
}

body.single-product .woocommerce div.product .woocommerce-Tabs-panel {
    max-width: none;
    margin: 0;
    padding: clamp(24px, 4vw, 48px);
}

body.single-product .woocommerce div.product .woocommerce-Tabs-panel--description > h2,
body.single-product .woocommerce div.product .woocommerce-Tabs-panel--additional_information > h2 {
    display: none;
}

body.single-product .woocommerce div.product .woocommerce-Tabs-panel--description > *:not(table) {
    max-width: 760px;
}

body.single-product .woocommerce div.product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce div.product .woocommerce-Tabs-panel h3 {
    color: var(--green);
    letter-spacing: -.03em;
}

body.single-product .woocommerce div.product .woocommerce-Tabs-panel p {
    margin: 0 0 1.1em;
}

/* Additional information table */
body.single-product table.woocommerce-product-attributes {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 51, .1);
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
}

body.single-product table.woocommerce-product-attributes th,
body.single-product table.woocommerce-product-attributes td {
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid rgba(18, 59, 51, .08);
    background: transparent;
    font-style: normal;
    text-align: left;
}

body.single-product table.woocommerce-product-attributes tr:last-child th,
body.single-product table.woocommerce-product-attributes tr:last-child td {
    border-bottom: 0;
}

body.single-product table.woocommerce-product-attributes th {
    width: 32%;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.single-product table.woocommerce-product-attributes tr:nth-child(odd) {
    background: #faf9f5;
}

body.single-product table.woocommerce-product-attributes td p {
    margin: 0;
    padding: 0;
    font-style: normal;
}

/* Reviews tab */
body.single-product #reviews #comments .woocommerce-Reviews-title,
body.single-product #reviews #reply-title {
    display: block;
    margin: 0 0 18px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.03em;
}

body.single-product #reviews #comments ol.commentlist {
    margin: 0;
    padding: 0;
}

body.single-product #reviews #comments ol.commentlist li .comment_container {
    display: flex;
    gap: 16px;
}

body.single-product #reviews #comments ol.commentlist li img.avatar {
    position: static;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--cream-2);
}

body.single-product #reviews #comments ol.commentlist li .comment-text {
    flex: 1;
    margin: 0 0 16px;
    padding: 20px 22px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 18px;
    background: #faf9f5;
}

body.single-product #reviews #comments ol.commentlist li .comment-text p {
    margin: 0;
}

body.single-product #reviews #comments ol.commentlist li .comment-text p.meta {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

body.single-product #review_form_wrapper {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(18, 59, 51, .09);
}

body.single-product #review_form #respond input[type="text"],
body.single-product #review_form #respond input[type="email"],
body.single-product #review_form #respond textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(18, 59, 51, .16);
    border-radius: 12px;
    background: #fff;
    color: var(--green);
    font: inherit;
}

body.single-product #review_form #respond input:focus,
body.single-product #review_form #respond textarea:focus {
    border-color: var(--orange);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(185, 109, 67, .14);
}

body.single-product #review_form #respond input#submit {
    min-height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

/* Related products */
body.single-product .woocommerce div.product .related > h2,
body.single-product .woocommerce div.product .up-sells > h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

/* Shop / category cards */
.woocommerce ul.products li.product a img {
    transition: transform .45s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.woocommerce ul.products li.product .star-rating {
    margin: 0 0 6px;
}

.woocommerce ul.products li.product a.added_to_cart {
    margin-top: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
}

.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 12px;
}

/* Mobile */
@media (max-width: 700px) {
    body.single-product .woocommerce div.product .woocommerce-tabs {
        border-radius: 22px;
    }

    body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
        padding: 6px 10px 0;
    }

    body.single-product table.woocommerce-product-attributes th {
        width: 40%;
    }

    body.single-product table.woocommerce-product-attributes th,
    body.single-product table.woocommerce-product-attributes td {
        padding: 13px 14px;
    }

    body.single-product #reviews #comments ol.commentlist li .comment_container {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================
   SHOP PAGE
========================================= */

/* Page header */
.shop-header {
    max-width: 760px;
    margin: 0 0 36px;
}

.shop-header .woocommerce-breadcrumb {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em;
}

.shop-header .woocommerce-breadcrumb a {
    color: var(--green);
    font-weight: 700;
}

.shop-title {
    margin: 0;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .96;
}

.shop-intro {
    max-width: 560px;
    margin: 18px 0 0;
    color: #5f6e65;
    font-size: 17px;
    line-height: 1.7;
}

/* Category pills */
.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.shop-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.shop-pill:hover,
.shop-pill.is-active {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

/* Toolbar: result count + sorting */
.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 28px;
    padding: 12px 14px 12px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 254, 250, .85);
}

.shop-toolbar .woocommerce-result-count,
.shop-toolbar .woocommerce-ordering {
    float: none;
    margin: 0;
}

.shop-toolbar .woocommerce-result-count {
    color: var(--muted);
    font-size: 13px;
}

.shop-toolbar .woocommerce-ordering select {
    min-height: 44px;
    padding: 0 42px 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3 6 5 5 5-5' stroke='%23123b33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Product grid: cards keep a sensible width even with only one or two products */
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 26px;
}

/* Product cards */
.woocommerce ul.products li.product {
    position: relative;
    padding: 14px 14px 20px;
    border-radius: 24px;
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(185, 109, 67, .35);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.woocommerce ul.products li.product a img {
    height: 250px;
    margin: 0 0 18px;
    padding: 18px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(205, 215, 193, .4), transparent 65%),
        #f4f2e9;
}

.woocommerce ul.products li.product .onsale {
    top: 26px;
    left: 26px;
}

.loop-category {
    display: block;
    margin: 0 6px 6px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    padding: 0 6px;
}

.loop-excerpt {
    display: -webkit-box;
    margin: 8px 6px 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.woocommerce ul.products li.product .price {
    margin: 14px 6px 16px;
    font-size: 18px;
}

.woocommerce ul.products li.product .price del {
    opacity: .5;
    font-size: .85em;
    font-weight: 500;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .button {
    width: calc(100% - 12px);
    margin: auto 6px 0;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    margin: 10px 0 0;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
    overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li span.current {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

@media (max-width: 700px) {
    .shop-header {
        margin-bottom: 26px;
    }

    .shop-categories {
        flex-wrap: nowrap;
        margin-right: -18px;
        padding-right: 18px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .shop-categories::-webkit-scrollbar {
        display: none;
    }

    .shop-pill {
        white-space: nowrap;
    }

    .shop-toolbar {
        padding: 14px 16px;
        border-radius: 22px;
    }

    .shop-toolbar .woocommerce-ordering,
    .shop-toolbar .woocommerce-ordering select {
        width: 100%;
    }
}

/* =========================================
   CART PAGE
   Covers the classic [woocommerce_cart] page and the Cart block
========================================= */

/* Brand every WooCommerce "alt" button (checkout, place order, etc.)
   so the default WooCommerce purple never shows through. */
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .woocommerce input.button.alt {
    background: var(--green);
    color: #fff;
}

body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover,
body .woocommerce input.button.alt:hover {
    background: #1c5145;
    color: #fff;
}

/* Page spacing + heading */
body.woocommerce-cart .site-main {
    padding-top: 104px;
}

body.woocommerce-cart .site-main > .section {
    padding: 40px 0 100px;
}

body.woocommerce-cart .section-title,
body.woocommerce-checkout .section-title {
    margin-bottom: 34px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
}

.woocommerce-notices-wrapper:empty {
    display: none;
}

/* ---------- Classic cart: two-column layout ---------- */
body.woocommerce-cart div.woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px 32px;
    align-items: start;
}

body.woocommerce-cart div.woocommerce > * {
    grid-column: 1 / -1;
}

body.woocommerce-cart div.woocommerce > .woocommerce-cart-form {
    grid-column: 1;
}

body.woocommerce-cart div.woocommerce > .cart-collaterals {
    display: contents;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    position: sticky;
    top: 24px;
    grid-column: 2;
    grid-row: 2;
    float: none;
    width: auto;
    padding: 28px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.woocommerce-cart .cart-collaterals .cross-sells {
    grid-column: 1 / -1;
    float: none;
    width: auto;
    margin-top: 24px;
}

body.woocommerce-cart .cart-collaterals .cross-sells > h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.04em;
}

/* ---------- Cart items table ---------- */
body.woocommerce-cart table.shop_table.cart {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.woocommerce-cart table.cart thead th {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(18, 59, 51, .1);
    background: #faf9f5;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .12em;
}

body.woocommerce-cart table.cart td {
    padding: 20px;
    border-top: 1px solid rgba(18, 59, 51, .08);
    vertical-align: middle;
}

body.woocommerce-cart table.cart thead + tbody tr:first-child td {
    border-top: 0;
}

body.woocommerce-cart table.cart .product-thumbnail {
    width: 104px;
}

body.woocommerce-cart table.cart .product-thumbnail img {
    width: 84px;
    height: 84px;
    padding: 8px;
    border-radius: 16px;
    background: #f4f2e9;
    object-fit: contain;
}

body.woocommerce-cart table.cart .product-name a {
    color: var(--green);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}

body.woocommerce-cart table.cart .product-name a:hover {
    color: var(--orange);
}

body.woocommerce-cart table.cart .product-name dl.variation {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

body.woocommerce-cart table.cart .product-price,
body.woocommerce-cart table.cart .product-subtotal {
    color: var(--green);
    font-weight: 700;
}

body.woocommerce-cart table.cart .product-subtotal {
    font-size: 17px;
}

body.woocommerce-cart table.cart .quantity.has-stepper {
    height: 46px;
}

body.woocommerce-cart table.cart .quantity .qty-btn {
    width: 38px;
}

body.woocommerce-cart table.cart .quantity.has-stepper .qty {
    width: 44px;
}

/* Remove button */
body.woocommerce-cart table.cart td.product-remove {
    width: 52px;
    padding-right: 0;
}

body.woocommerce-cart .woocommerce a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(18, 59, 51, .07);
    color: var(--green) !important;
    font-size: 19px;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}

body.woocommerce-cart .woocommerce a.remove:hover {
    background: var(--orange);
    color: #fff !important;
}

/* Coupon + update row */
body.woocommerce-cart table.cart td.actions {
    padding: 20px;
    background: #faf9f5;
}

body.woocommerce-cart table.cart td.actions::after {
    display: block;
    clear: both;
    content: "";
}

body.woocommerce-cart table.cart td.actions .coupon {
    display: flex;
    gap: 10px;
    float: left;
}

body.woocommerce-cart table.cart td.actions .coupon label {
    display: none;
}

body.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 200px;
    min-height: 48px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(18, 59, 51, .16);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    font: inherit;
    font-size: 14px;
}

body.woocommerce-cart table.cart td.actions .coupon .input-text:focus {
    border-color: var(--orange);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(185, 109, 67, .14);
}

body.woocommerce-cart table.cart td.actions > button[name="update_cart"] {
    float: right;
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
}

body.woocommerce-cart table.cart td.actions > button[name="update_cart"]:hover:not(:disabled) {
    background: var(--green);
    color: #fff;
}

body.woocommerce-cart table.cart td.actions > button[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.continue-shopping {
    display: inline-block;
    margin-top: 20px;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}

/* ---------- Cart totals card ---------- */
body.woocommerce-cart .cart_totals > h2 {
    margin: 0 0 18px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.035em;
}

body.woocommerce-cart .cart_totals table.shop_table {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 14px 0;
    border-top: 1px solid rgba(18, 59, 51, .09);
    background: transparent;
    font-size: 14px;
}

body.woocommerce-cart .cart_totals table.shop_table th {
    color: var(--muted);
    font-size: 11px;
}

body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total th {
    padding-top: 18px;
}

body.woocommerce-cart .cart_totals .order-total td {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin: 20px 0 0;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #1c5145;
    color: #fff;
}

.cart-trust {
    justify-content: center;
    margin-top: 16px;
}

/* ---------- Empty cart ---------- */
.empty-cart-card {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
    text-align: center;
}

.empty-cart-icon {
    width: 88px;
    height: 88px;
    margin: 0 0 22px;
    padding: 21px;
    border-radius: 50%;
    background: rgba(160, 178, 146, .24);
    color: var(--green);
}

.empty-cart-title {
    margin: 0 0 12px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4.2vw, 44px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.empty-cart-text {
    max-width: 440px;
    margin: 0 auto 28px;
    color: #5f6e65;
    font-size: 16px;
    line-height: 1.7;
}

.empty-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 26px;
}

.empty-cart-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(18, 59, 51, .3);
    text-underline-offset: 4px;
}

.empty-cart-card .cart-trust {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(18, 59, 51, .09);
}

/* WooCommerce's own "Return to shop" button is replaced by the one in the card */
.empty-cart-card ~ .return-to-shop {
    display: none;
}

.empty-cart-products {
    margin-top: clamp(44px, 7vw, 72px);
}

.empty-cart-products > h2 {
    margin: 0 0 28px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 500;
    letter-spacing: -.04em;
    text-align: center;
}

/* the [products] shortcode wraps its list in its own .woocommerce div */
body.woocommerce-cart .empty-cart-products div.woocommerce {
    display: block;
}

body.woocommerce-cart .empty-cart-products ul.products {
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    justify-content: center;
    margin-bottom: 0 !important;
}

/* ---------- Cart BLOCK (new WooCommerce cart) ---------- */
.wp-block-woocommerce-cart {
    color: var(--green);
}

.wp-block-woocommerce-cart .wc-block-cart__sidebar {
    padding: 28px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

.wp-block-woocommerce-cart .wc-block-cart__main {
    padding: 8px 24px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

.wp-block-woocommerce-cart .wc-block-cart-items__header th,
.wp-block-woocommerce-cart .wc-block-cart__totals-title {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wp-block-woocommerce-cart .wc-block-cart-item__image img {
    padding: 6px;
    border-radius: 14px;
    background: #f4f2e9;
    object-fit: contain;
}

.wp-block-woocommerce-cart .wc-block-components-product-name {
    color: var(--green);
    font-weight: 700;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector {
    border-radius: 12px;
}

.wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
    color: var(--muted);
}

.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link) {
    min-height: 56px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link):hover {
    background: #1c5145;
    color: #fff;
}

/* ---------- Cart: tablet + mobile ---------- */
@media (max-width: 900px) {
    body.woocommerce-cart div.woocommerce {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-cart div.woocommerce > .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals .cart_totals {
        grid-column: 1;
        grid-row: auto;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        position: static;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart table.shop_table.cart {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body.woocommerce-cart table.cart tr.cart_item {
        position: relative;
        margin-bottom: 14px;
        padding: 6px 4px;
        border: 1px solid rgba(18, 59, 51, .09);
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(28, 48, 38, .045);
    }

    body.woocommerce-cart table.cart tr.cart_item td,
    body.woocommerce-cart table.cart tr.cart_item:nth-child(2n) td {
        padding: 10px 16px;
        border: 0;
        background: transparent;
    }

    body.woocommerce-cart table.cart tr.cart_item td::before {
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    body.woocommerce-cart table.cart tr.cart_item td.product-remove {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 2;
        width: auto;
        padding: 0;
    }

    body.woocommerce-cart table.cart tr.cart_item td.product-remove::before {
        display: none;
    }

    body.woocommerce-cart table.cart tr.cart_item td.product-thumbnail {
        display: block;
        text-align: left !important;
    }

    body.woocommerce-cart table.cart tr.cart_item td.product-thumbnail::before {
        display: none;
    }

    body.woocommerce-cart table.cart td.actions {
        padding: 16px;
        border: 1px solid rgba(18, 59, 51, .09);
        border-radius: 20px;
        background: #fff;
        text-align: left !important;
    }

    body.woocommerce-cart table.cart td.actions .coupon {
        float: none;
        width: 100%;
        margin-bottom: 12px;
    }

    body.woocommerce-cart table.cart td.actions .coupon .input-text {
        flex: 1;
        width: auto;
    }

    body.woocommerce-cart table.cart td.actions > button[name="update_cart"] {
        float: none;
        width: 100%;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        padding: 22px 20px;
        border-radius: 22px;
    }
}

/* =========================================
   CHECKOUT PAGE
   Classic [woocommerce_checkout], order-received page, and Checkout block
========================================= */

body.woocommerce-checkout .site-main {
    padding-top: 104px;
}

body.woocommerce-checkout .site-main > .section {
    padding: 40px 0 100px;
}

.back-to-cart {
    margin: 0 0 22px;
}

/* ---------- Coupon toggle + form ---------- */
.woocommerce-form-coupon-toggle {
    margin: 0 0 20px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    margin: 0;
    padding: 16px 22px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 18px;
    background: #fff;
    font-size: 14px;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none;
}

.woocommerce-form-coupon-toggle .showcoupon {
    color: var(--orange);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-checkout form.checkout_coupon {
    margin: 0 0 24px;
    padding: 22px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 18px;
    background: #fff;
}

body.woocommerce-checkout form.checkout_coupon p {
    margin: 0;
}

body.woocommerce-checkout form.checkout_coupon .form-row-first {
    float: left;
    width: calc(100% - 160px);
    margin-right: 12px;
}

body.woocommerce-checkout form.checkout_coupon .form-row-last {
    float: left;
    width: 148px;
}

body.woocommerce-checkout form.checkout_coupon .form-row-last .button {
    width: 100%;
    min-height: 52px;
}

body.woocommerce-checkout form.checkout_coupon .clear {
    display: block;
    clear: both;
}

/* ---------- Classic checkout: two-column layout ---------- */
body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 0 32px;
    align-items: start;
}

body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 24px;
}

body.woocommerce-checkout form.checkout #customer_details {
    grid-column: 1;
    grid-row: 2;
}

body.woocommerce-checkout form.checkout #order_review {
    position: sticky;
    top: 24px;
    grid-column: 2;
    grid-row: 2;
}

/* The "Your order" heading is drawn inside the card instead; keep it for screen readers. */
body.woocommerce-checkout #order_review_heading {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.woocommerce-checkout #order_review::before {
    display: block;
    margin: 0 0 18px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    letter-spacing: -.035em;
    content: "Your order";
}

/* ---------- Customer details card ---------- */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none;
    width: 100%;
}

body.woocommerce-checkout #customer_details .col-2 {
    margin-top: 8px;
}

body.woocommerce-checkout #customer_details h3 {
    margin: 0 0 22px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.035em;
}

body.woocommerce-checkout h3#ship-to-different-address {
    margin: 26px 0 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

body.woocommerce-checkout h3#ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
    accent-color: var(--green);
}

/* Fields: two per row on desktop */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row {
    float: none;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout .notes {
    grid-column: 1 / -1;
}

body.woocommerce-checkout .form-row abbr.required {
    color: var(--orange);
    text-decoration: none;
}

body.woocommerce-checkout .form-row .woocommerce-input-wrapper {
    display: block;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select {
    width: 100%;
}

/* Country / province dropdowns (Select2) */
body.woocommerce-checkout .select2-container {
    width: 100% !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: var(--green);
    line-height: 28px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 12px;
    height: 100%;
}

body.woocommerce-checkout .select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--focus .select2-selection--single {
    border-color: var(--orange);
}

.select2-dropdown {
    overflow: hidden;
    border-color: rgba(18, 59, 51, .16);
    border-radius: 12px;
}

.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background: var(--green);
    color: #fff;
}

/* ---------- Order review table ---------- */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    padding: 14px 0;
    border: 0;
    border-top: 1px solid rgba(18, 59, 51, .09);
    background: transparent;
    font-size: 14px;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
    padding-top: 0;
    border-top: 0;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .12em;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name {
    color: var(--green);
    font-weight: 600;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity {
    color: var(--muted);
    font-weight: 700;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 700;
    text-align: right;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
    color: var(--muted);
    font-size: 11px;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td {
    padding-top: 18px;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

body.woocommerce-checkout ul#shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-checkout ul#shipping_method li {
    margin: 0 0 8px;
    text-align: right;
}

/* ---------- Payment ---------- */
body.woocommerce-checkout #payment {
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.woocommerce-checkout #payment ul.payment_methods {
    margin: 22px 0 0;
    padding: 0;
    border: 0;
    list-style: none;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    margin: 0 0 10px;
    padding: 16px 18px;
    border: 1px solid rgba(18, 59, 51, .13);
    border-radius: 16px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(185, 109, 67, .12);
}

body.woocommerce-checkout #payment ul.payment_methods li label {
    color: var(--green);
    font-weight: 700;
    cursor: pointer;
}

body.woocommerce-checkout #payment div.payment_box {
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--cream-2);
    color: #4c5b53;
    font-size: 13px;
    line-height: 1.6;
}

body.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

body.woocommerce-checkout #payment div.form-row {
    padding: 0;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin: 18px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-checkout #payment #place_order {
    float: none;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.woocommerce-checkout #payment #place_order:hover {
    background: #1c5145;
}

/* ---------- Order received (thank-you) page ---------- */
.woocommerce-order .woocommerce-notice--success {
    margin: 0 0 24px;
    padding: 30px 32px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.4vw, 26px);
    letter-spacing: -.02em;
    line-height: 1.4;
}

.woocommerce-order ul.order_details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.woocommerce-order ul.order_details::before,
.woocommerce-order ul.order_details::after {
    display: none;
}

.woocommerce-order ul.order_details li {
    float: none;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 18px;
    background: #fff;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.woocommerce-order ul.order_details li strong {
    display: block;
    margin-top: 8px;
    color: var(--green);
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
    margin: 0 0 24px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
}

.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
    margin: 0 0 18px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.035em;
}

.woocommerce-order table.shop_table {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td {
    padding: 14px 0;
    border-top: 1px solid rgba(18, 59, 51, .09);
    font-size: 14px;
}

.woocommerce-order .woocommerce-customer-details address {
    padding: 0;
    border: 0;
    color: #4c5b53;
    font-style: normal;
    line-height: 1.7;
}

/* ---------- Checkout BLOCK (new WooCommerce checkout) ---------- */
.wp-block-woocommerce-checkout {
    color: var(--green);
}

.wp-block-woocommerce-checkout .wc-block-components-main {
    padding: 8px 28px 24px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
    padding: 28px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

.wp-block-woocommerce-checkout .wc-block-components-title,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.03em;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select {
    border: 1px solid rgba(18, 59, 51, .16);
    border-radius: 12px;
    color: var(--green);
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(185, 109, 67, .14);
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 58px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: #1c5145;
    color: #fff;
}

.wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

/* ---------- Checkout: tablet + mobile ---------- */
@media (max-width: 900px) {
    body.woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-checkout form.checkout #customer_details,
    body.woocommerce-checkout form.checkout #order_review {
        grid-column: 1;
        grid-row: auto;
    }

    body.woocommerce-checkout form.checkout #order_review {
        position: static;
        margin-top: 24px;
    }
}

@media (max-width: 560px) {
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-checkout form.checkout_coupon .form-row-first,
    body.woocommerce-checkout form.checkout_coupon .form-row-last {
        float: none;
        width: 100%;
        margin: 0 0 12px;
    }

    .woocommerce-order .woocommerce-notice--success {
        padding: 22px 20px;
    }
}

/* =========================================
   MY ACCOUNT PAGE
   Login / register, dashboard, orders, addresses, account details
========================================= */

body.woocommerce-account .site-main {
    padding-top: 104px;
}

body.woocommerce-account .site-main > .section {
    padding: 40px 0 100px;
}

body.woocommerce-account .section-title {
    margin-bottom: 34px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
}

/* ---------- Logged out: login + register ---------- */
body.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
    display: none;
}

body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2,
body.woocommerce-account:not(.logged-in) div.woocommerce > form {
    float: none;
    width: auto;
    padding: clamp(24px, 3.4vw, 38px);
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

/* Single login / lost-password form (no register column) */
body.woocommerce-account:not(.logged-in) div.woocommerce > form,
body.woocommerce-account:not(.logged-in) div.woocommerce > h2 {
    max-width: 520px;
}

body.woocommerce-account:not(.logged-in) div.woocommerce > form {
    margin: 0 0 24px;
}

body.woocommerce-account:not(.logged-in) h2 {
    margin: 0 0 22px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.035em;
}

body.woocommerce-account #customer_login form.woocommerce-form {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

body.woocommerce-account .woocommerce-form .form-row,
body.woocommerce-account .woocommerce-EditAccountForm .form-row,
body.woocommerce-account .woocommerce-address-fields .form-row,
body.woocommerce-account form.lost_reset_password .form-row {
    margin: 0 0 18px;
    padding: 0;
}

body.woocommerce-account .woocommerce-form .form-row input.input-text,
body.woocommerce-account .woocommerce-form .form-row input.woocommerce-Input {
    width: 100%;
}

body.woocommerce-account .password-input {
    display: block;
}

body.woocommerce-account .password-input input {
    padding-right: 48px;
}

body.woocommerce-account .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 18px;
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}

body.woocommerce-account input[type="checkbox"],
body.woocommerce-account input[type="radio"] {
    accent-color: var(--green);
}

body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit,
body.woocommerce-account form.lost_reset_password .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
}

body.woocommerce-account .woocommerce-LostPassword {
    margin: 18px 0 0;
    font-size: 14px;
}

body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .woocommerce-privacy-policy-text a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-privacy-policy-text {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

/* ---------- Logged in: sidebar + content ---------- */
body.woocommerce-account.logged-in div.woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px 32px;
    align-items: start;
}

body.woocommerce-account.logged-in div.woocommerce > * {
    grid-column: 1 / -1;
}

body.woocommerce-account.logged-in div.woocommerce > .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 24px;
    grid-column: 1;
    float: none;
    width: auto;
    padding: 14px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

body.woocommerce-account.logged-in div.woocommerce > .woocommerce-MyAccount-content {
    grid-column: 2;
    float: none;
    width: auto;
    padding: clamp(24px, 3.4vw, 40px);
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 47, 47, .07);
}

.woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link a:hover {
    background: rgba(18, 59, 51, .07);
    color: var(--green);
    text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover {
    background: var(--green);
    color: #fff;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(18, 59, 51, .09);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #8a4a28;
}

/* ---------- Content typography ---------- */
.woocommerce-MyAccount-content > p {
    max-width: 640px;
    color: #4c5b53;
    line-height: 1.75;
}

.woocommerce-MyAccount-content > p:first-child {
    margin-top: 0;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.6vw, 30px);
    letter-spacing: -.03em;
    line-height: 1.3;
}

.woocommerce-MyAccount-content a:not(.button):not(.account-tile) {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(18, 59, 51, .3);
    text-underline-offset: 3px;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin: 0 0 16px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.03em;
}

.woocommerce-MyAccount-content mark {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(185, 109, 67, .16);
    color: var(--green);
}

/* Dashboard tiles */
.account-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

body.woocommerce-account .woocommerce-MyAccount-content a.account-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 20px;
    background: #faf9f5;
    color: var(--green);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content a.account-tile:hover {
    border-color: rgba(185, 109, 67, .4);
    box-shadow: 0 12px 28px rgba(28, 48, 38, .09);
    color: var(--green);
    text-decoration: none;
    transform: translateY(-2px);
}

.account-tile strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.account-tile span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- Orders table ---------- */
.woocommerce-MyAccount-content table.shop_table {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
    padding: 16px 12px;
    border: 0;
    border-top: 1px solid rgba(18, 59, 51, .09);
    background: transparent;
    font-size: 14px;
}

.woocommerce-MyAccount-content table.shop_table thead th {
    padding-top: 0;
    border-top: 0;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .12em;
}

.woocommerce-MyAccount-content table.shop_table th:first-child,
.woocommerce-MyAccount-content table.shop_table td:first-child {
    padding-left: 0;
}

.woocommerce-MyAccount-content table.shop_table th:last-child,
.woocommerce-MyAccount-content table.shop_table td:last-child {
    padding-right: 0;
}

.woocommerce-orders-table__cell-order-status {
    color: var(--orange);
    font-weight: 700;
}

.woocommerce-orders-table .button,
.woocommerce-MyAccount-content .woocommerce-button.button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 10px;
}

/* ---------- Addresses ---------- */
body.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after {
    display: none;
}

body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    float: none;
    width: auto;
    padding: 24px;
    border: 1px solid rgba(18, 59, 51, .09);
    border-radius: 20px;
    background: #faf9f5;
}

body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body.woocommerce-account .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 22px;
}

body.woocommerce-account .woocommerce-Address-title a.edit {
    float: none;
    font-size: 13px;
}

body.woocommerce-account .woocommerce-Address address {
    color: #4c5b53;
    font-style: normal;
    line-height: 1.75;
}

/* ---------- Edit account + edit address forms ---------- */
body.woocommerce-account .woocommerce-EditAccountForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

body.woocommerce-account .woocommerce-EditAccountForm > * {
    grid-column: 1 / -1;
}

body.woocommerce-account .woocommerce-EditAccountForm > .form-row-first {
    grid-column: 1;
}

body.woocommerce-account .woocommerce-EditAccountForm > .form-row-last {
    grid-column: 2;
}

body.woocommerce-account .woocommerce-EditAccountForm > .clear {
    display: none;
}

body.woocommerce-account .woocommerce-EditAccountForm .form-row,
body.woocommerce-account .woocommerce-address-fields .form-row {
    float: none;
    width: auto;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

body.woocommerce-account .woocommerce-address-fields .form-row-wide {
    grid-column: 1 / -1;
}

body.woocommerce-account .form-row abbr.required {
    color: var(--orange);
    text-decoration: none;
}

body.woocommerce-account .form-row input.input-text,
body.woocommerce-account .form-row select {
    width: 100%;
}

body.woocommerce-account .woocommerce-EditAccountForm fieldset {
    margin: 12px 0 24px;
    padding: 24px 24px 6px;
    border: 1px solid rgba(18, 59, 51, .1);
    border-radius: 18px;
}

body.woocommerce-account .woocommerce-EditAccountForm legend {
    padding: 0 10px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.woocommerce-account .woocommerce-EditAccountForm em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

/* Select2 dropdowns inside account forms */
body.woocommerce-account .select2-container {
    width: 100% !important;
}

body.woocommerce-account .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: var(--green);
    line-height: 28px;
}

body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 12px;
    height: 100%;
}

/* ---------- Account: tablet + mobile ---------- */
@media (max-width: 900px) {
    body.woocommerce-account #customer_login {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-account.logged-in div.woocommerce {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-account.logged-in div.woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in div.woocommerce > .woocommerce-MyAccount-content {
        grid-column: 1;
    }

    body.woocommerce-account.logged-in div.woocommerce > .woocommerce-MyAccount-navigation {
        position: static;
        padding: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .woocommerce-MyAccount-navigation::-webkit-scrollbar {
        display: none;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 6px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link a {
        padding: 0 18px;
        border-radius: 999px;
        white-space: nowrap;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
        margin: 0;
        padding: 0;
        border: 0;
    }
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content table.shop_table tr {
        display: block;
        margin-bottom: 12px;
        padding: 6px 4px;
        border: 1px solid rgba(18, 59, 51, .09);
        border-radius: 18px;
        background: #faf9f5;
    }

    .woocommerce-MyAccount-content table.shop_table td,
    .woocommerce-MyAccount-content table.shop_table th {
        padding: 10px 14px;
        border: 0;
    }

    .woocommerce-MyAccount-content table.shop_table td::before {
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
}

@media (max-width: 560px) {
    body.woocommerce-account .woocommerce-Addresses,
    body.woocommerce-account .woocommerce-EditAccountForm,
    body.woocommerce-account .woocommerce-address-fields__field-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-account .woocommerce-EditAccountForm > .form-row-first,
    body.woocommerce-account .woocommerce-EditAccountForm > .form-row-last {
        grid-column: 1;
    }
}

/* Empty state in the Cart block */
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
}

.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator {
    display: none;
}

.wp-block-woocommerce-empty-cart-block .wp-block-heading {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
}
