﻿/* ============================================================
   Yaami Designs — yaami.css  v3.0
   CSS variables defined in functions.php → wp_head (id="yaami-tokens")

   Everything else (layout, spacing, color, typography, borders,
   flex, grid, sizing) is handled by Tailwind classes in the PHP templates.
   ============================================================ */  

*, *::before, *::after { box-sizing: border-box; }  

.yaami-container {
    width: 100%;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
@media (min-width: 1536px) {
    .yaami-container { max-width: 1440px; }
}
@media (max-width: 767px) {
    .yaami-container { padding-left: 16px; padding-right: 16px; }
}
html {  overflow-x: hidden; scrollbar-gutter: stable; }
body { width: 100%; font-family: var(--font-body); color: var(--color-dark); background: var(--color-white); }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; } 


/* ── Basic page content — policy pages, terms, privacy etc ── */
.font-body.text-body.text-dark p,
.woocommerce-page .woocommerce p,
article .font-body p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

article .font-body h1,
article .font-body h2,
article .font-body h3,
article .font-body h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    margin: 24px 0 12px;
}

article .font-body h2 { font-size: 22px; }
article .font-body h3 { font-size: 18px; }
article .font-body h4 { font-size: 16px; }

article .font-body ul,
article .font-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

article .font-body ul li {
    list-style: disc;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 6px;
}

article .font-body ol li {
    list-style: decimal;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 6px;
}

article .font-body a {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: none;
}

article .font-body a:hover {
    text-decoration: underline;
}

article .font-body strong,
article .font-body b {
    font-weight: 700;
    color: var(--color-dark);
}
/* ── Page title — used across all content pages ── */
.page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
}
 
.mt-0{
    margin-top: 0 !important;
}

.rounded-2xl img {
    border-radius: 12px;
}

.text-5xl {
    font-size: 3rem !important;
    line-height: 1;
}

/* ── Header logo ── */
.custom-logo-link img.custom-logo {
    max-width: 180px;
    margin-top: 15px;
}
@media (max-width: 767px) {
    .custom-logo-link img.custom-logo {
        max-width: 170px;
        margin-top: 0;
    }
}
 
/* ══════════════════════════════════════════════════════════
   DESKTOP NAV DROPDOWN
   Tailwind cannot do: hover-triggered absolute panel,
   ::after caret that rotates on parent hover
   ══════════════════════════════════════════════════════════ */
.desktop-nav .yaami-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.desktop-nav .yaami-nav-list > li > a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-dark);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}
.desktop-nav .yaami-nav-list > li > a:hover,
.desktop-nav .yaami-nav-list > li.current-menu-item > a,
.desktop-nav .yaami-nav-list > li.current-menu-ancestor > a { color: var(--color-brand); }

/* Dropdown caret — ::after pseudo, can't do with Tailwind */
.desktop-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231C1D1D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.desktop-nav .menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Dropdown panel */
.desktop-nav .menu-item-has-children { position: relative; }
.desktop-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border: 1px solid var(--overlay-subtle);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    min-width: 200px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 200;
    border-radius: 8px;
}
.desktop-nav .menu-item-has-children:hover > .sub-menu { display: block; }
.desktop-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}
.desktop-nav .sub-menu li a:hover { color: var(--color-brand); background: var(--color-brand-tint); }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV
   ══════════════════════════════════════════════════════════ */
.mobile-nav .yaami-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav .yaami-nav-list > li > a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--overlay-subtle);
    transition: color 0.2s ease;
}
.mobile-nav .yaami-nav-list > li > a:hover,
.mobile-nav .yaami-nav-list > li.current-menu-item > a { color: var(--color-brand); }
.mobile-nav .sub-menu { list-style: none; padding: 0 0 8px 16px; margin: 0; }
.mobile-nav .sub-menu li a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-dark-muted);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: color 0.2s ease;
}
.mobile-nav .sub-menu li a:hover { color: var(--color-brand); }
.mobile-submenu-arrow { display: inline-flex; flex-shrink: 0; transition: transform 0.2s ease; }
.mobile-submenu-arrow.rotate-180 { transform: rotate(180deg); }

/* ══════════════════════════════════════════════════════════
   SEARCH FORM — WP outputs its own markup
   ══════════════════════════════════════════════════════════ */
.search-form { display: flex; align-items: center; width: 100%; }
.search-form label { flex: 1; margin: 0; }
.search-form .search-field {
    width: 100%;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-dark);
    outline: none;
    transition: border-color 0.2s ease;
    height: 48px;
}
.search-form .search-field:focus { border-color: var(--color-brand); }
.search-form .search-submit {
    height: 48px;
    padding: 0 24px;
    background: var(--color-brand);
    color: var(--color-white);
    border: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.search-form .search-submit:hover { background: var(--color-brand-dark); }

/* ══════════════════════════════════════════════════════════
   CART COUNT — WC fragment target, Tailwind can't target span.cart-count
   ══════════════════════════════════════════════════════════ */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    background: var(--color-brand);
    color: var(--color-white);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}
/* Inline variant — mobile menu, text-flow contexts */
.cart-count--inline {
    position: static;
    top: auto;
    right: auto;
}


/* ══════════════════════════════════════════════════════════
   SECTION TITLE — used across templates via class name
   ══════════════════════════════════════════════════════════ */
.section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 48px;
    line-height: 59px;
    color: var(--color-dark);
    text-align: center;
}
@media (max-width: 768px) { 
    .section-title { font-size: 28px; line-height: 36px; } 
}

/* ══════════════════════════════════════════════════════════
   PILL BUTTONS — gap + icon combo used across PHP templates
   ══════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--color-brand);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 8px 8px 16px;
    height: var(--h-btn);
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    text-decoration: none; 
}
.btn-primary:hover { background: var(--color-brand-dark); color: var(--color-white); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--color-white);
    color: var(--color-brand);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 8px 8px 16px;
    height: var(--h-btn);
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn-secondary:hover { background: var(--color-brand); color: var(--color-white); }
.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}
.btn-primary .btn-arrow  { background: var(--color-white); color: var(--color-brand); }
.btn-primary:hover .btn-arrow {background: var(--color-brand);  color: var(--color-white);                    }
.btn-secondary .btn-arrow { background: var(--color-brand); color: var(--color-white); }
.btn-secondary:hover .btn-arrow {background: var(--color-white);color: var(--color-brand);}


/* ══════════════════════════════════════════════════════════
   FOOTER — only the classes WP nav_menu outputs
   (Tailwind can't add classes to <ul><li><a> from wp_nav_menu)
   ══════════════════════════════════════════════════════════ */
.footer-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-nav-list li a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--color-white-80);
    display: block;
    padding: 2px 0;
    transition: color 0.2s ease;
}
.footer-nav-list li a:hover { color: var(--color-white); }
.footer-chevron path { stroke: var(--color-white-60); }

/* footer-nav-wrap: accordion state is managed by JS (max-height)
   These base styles ensure it renders open on desktop. */
@media (max-width: 767px) {
    .footer-nav-wrap { overflow: hidden; }
    .footer-nav-list { padding-bottom: 12px; } 
}

/* ── Social icon: white circle, brand-color SVG via currentColor ── */
.social-icon {
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border-radius: 111px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.social-icon:hover { background: rgba(255,255,255,0.85); }

/* Footer logo  */
.footer-col--brand .custom-logo-link img,
.footer-col--brand .custom-logo { max-height: 52px; width: auto;} 

/* ══════════════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES — 3rd-party markup, must use !important
   ══════════════════════════════════════════════════════════ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--color-brand) !important;
    color: var(--color-white) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 14px 28px !important;
    border: none !important;
    transition: background 0.2s ease !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background-color: var(--color-brand-dark) !important; }
.woocommerce a.button.alt,
.woocommerce button.button.alt  { background-color: var(--color-brand) !important; }
.woocommerce .price,
.woocommerce .amount { color: var(--color-dark) !important; font-family: var(--font-body); font-weight: 600; }




/* ─────────────────────────────────────────────
   HERO SLIDER
   ───────────────────────────────────────────── */

/* 1. Swiper container height — must be explicit for Swiper JS */
.yaami-hero-swiper {
    height: 727px;
}
.yaami-hero-slide {
    height: 727px;
}

/* 2. Gradient overlay — direction changes with data-align */
.yaami-hero-overlay {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.52) 0%,
        rgba(0,0,0,0.18) 55%,
        rgba(0,0,0,0.04) 100%
    );
}
.yaami-hero-slide[data-align="right"] .yaami-hero-overlay {
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.52) 0%,
        rgba(0,0,0,0.18) 55%,
        rgba(0,0,0,0.04) 100%
    );
}

.hero-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 75px;
    line-height: 80px;
    color: var(--color-white);
    margin: 0;
}

/* 5. Swiper pagination — pill-style active dot */
.yaami-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.45);
    opacity: 1;
    border-radius: 999px;
    transition: width 0.3s ease, background 0.3s ease;
    margin: 0 !important;
}
.yaami-hero-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--color-white);
}

/* Mobile hero overrides */
@media (max-width: 767px) {
    /* Swiper needs explicit heights reset */
    .yaami-hero-swiper,
    .yaami-hero-slide {
        height: 60svh;
        min-height: 336px;
        max-height: 490px;
    }

    /* Mobile overlay — bottom-up gradient regardless of alignment */
    .yaami-hero-overlay,
    .yaami-hero-slide[data-align="right"] .yaami-hero-overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.70) 0%,
            rgba(0,0,0,0.22) 55%,
            rgba(0,0,0,0.06) 100%
        );
    }

    .hero-heading { font-size: 24px; line-height: 30px; }

    .yaami-hero-prev,
    .yaami-hero-next { display: none; }

    /* Content — always bottom-left on mobile regardless of desktop align */
    .yaami-hero-slide .yaami-container {
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding-bottom: 48px;
    }
    .yaami-hero-content {
        max-width: 100% !important;
        gap: 16px !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    /* Override self-end on the button for right-aligned slides */
    .yaami-hero-content > * {
        align-self: flex-start !important;
    }
}

/* Tablet hero */
@media (min-width: 768px) and (max-width: 1023px) {
    .yaami-hero-swiper,
    .yaami-hero-slide { height: 560px; }
}


/* ─────────────────────────────────────────────
   CATEGORIES 
   ───────────────────────────────────────────── */

/* 1. Gradient overlay pseudo-element */
.yaami-cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.18) 40%,
        rgba(0,0,0,0.00) 70%
    );
    pointer-events: none;
    z-index: 1;
}


.yaami-cat-card:hover .yaami-cat-card__img img {
    transform: scale(1.04);
}

@media (max-width: 767px) {
    .yaami-cat-card {
        width: 100%;
        height: 0;
        padding-bottom: 136.3%; /* 409/300 maintains portrait ratio */
    }
}


/* ══════════════════════════════════════════════════════════
   NEW ARRIVALS — Swiper scrollbar drag thumb
   (parent layout/color handled by Tailwind on the element)
══════════════════════════════════════════════════════════ */

.yaami-new-arrivals-scrollbar .swiper-scrollbar-drag {
    background: var(--color-brand);
    border-radius: 5px;
    height: 100%;
}

/* ══════════════════════════════════════════════════════════
   SECTION 4 — EDITORIAL 3-PANEL
   ══════════════════════════════════════════════════════════ */

.yaami-editorial-swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

/* Swiper internals always fill the container — works once container has a height */
.yaami-editorial-swiper .swiper-wrapper,
.yaami-editorial-swiper .swiper-slide {
    height: 100%;
}

.yaami-editorial-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Mobile stacked: container needs an explicit height */
@media (max-width: 767px) {
    .yaami-editorial-swiper {
        aspect-ratio: 430 / 491;
    }
}

/* Side-by-side layout (md+): fill the flex-1 parent */
@media (min-width: 768px) {
    .yaami-editorial-swiper {
        height: 100%;
    }
}

/* Mobile: editorial image cells need a height so they don't collapse in flex-col */
@media (max-width: 767px) {
    .yaami-editorial-grid .overflow-hidden {
        aspect-ratio: 400 / 275;
    }
}

/* Content block - NO rounded corners (sections/divs only, not buttons or links) */
div.bg-brand,
section.bg-brand {
    border-radius: 0;
}

/* Hover effects — scoped to editorial grid only to avoid triggering on Swiper containers */
.yaami-editorial-grid .overflow-hidden img {
    transition: transform 0.5s ease;
}

.yaami-editorial-grid .overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Navigation buttons */
.editorial-prev,
.editorial-next {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.editorial-prev:hover,
.editorial-next:hover {
    background-color: var(--color-brand) !important;
    color: white !important;
}

/* ── TYPOGRAPHY FOR EDITORIAL ROWS (using parent class) ── */
.editorial-row-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-brand);
}

.editorial-row-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: 0;
    color: var(--color-dark);
    margin: 0;
}

.editorial-row-desc {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--color-dark-muted);
    margin: 0;
}

/* Responsive typography */
@media (min-width: 768px) and (max-width: 1399px) {
    .editorial-row-heading {
        font-size: 24px;
        line-height: 32px;
    }

    .editorial-row-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .editorial-row-tag {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .editorial-row-heading {
        font-size: 20px;
        line-height: 26px;
    }

    .editorial-row-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .editorial-row-tag { 
        font-size: 13px;
    }
}

/* ══════════════════════════════════════════════════════════
   SECTION 6 — WEDDING SALE BANNER
   ══════════════════════════════════════════════════════════ */

/* Desktop styles */
.wedding-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 100px;
    line-height: 110px;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin: 0 0 16px 0;
}

/* Mobile styles */
@media (max-width: 767px) {
    .wedding-heading {
        font-size: 32px;
        line-height: 100%;
        letter-spacing: -0.02em;
    }
}

/* Image positioning - show top portion instead of center */
.wedding-bg-desktop {
    object-position: top center;
}

/* Ensure image covers properly on mobile */
@media (max-width: 767px) {
    .wedding-bg-desktop {
        object-position: top center;
    }
}


/* ══════════════════════════════════════════════════════════
   ABOUT SECTION - Alternative approach
══════════════════════════════════════════════════════════ */

/* Desktop: 3 columns */
@media (min-width: 768px) {
    .about-grid {
        display: grid;
        grid-template-columns: auto 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
    
    .about-vertical-text {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 128px;
        line-height: 100%;
        letter-spacing: 0%;
        color: var(--color-dark);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        white-space: nowrap;
        transform: rotate(180deg);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .about-grid {
        gap: 32px;
    }
    .about-vertical-text {
        font-size: 80px;
        letter-spacing: 10%;
    }
}

/* Mobile: 2 rows using grid */
@media (max-width: 767px) {
    .about-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "vertical content"
            "image image";
        gap: 24px;
        align-items: start;
    }
    
    .about-vertical-text-wrapper {
        grid-area: vertical;
        overflow: hidden;
    }

    .about-vertical-text {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 40px;
        line-height: 100%;
        letter-spacing: 0.1em;
        color: var(--color-dark);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        white-space: nowrap;
        transform: rotate(180deg);
    }
    
    .about-content {
        grid-area: content;
    }
    
    .about-image {
        grid-area: image;
        width: 100%;
    }
}
/* ══════════════════════════════════════════════════════════
   SECTION 8 — TESTIMONIALS (Swiper Slider)
   Arrows positioned in the 32px gap
══════════════════════════════════════════════════════════ */

.yaami-testimonials-swiper {
    position: relative;
}

.yaami-testimonials-swiper .swiper-slide {
    height: auto;
}

/* Prev Arrow - positioned in the left gap */
.testimonials-prev {
    left: 7px;
    transform: translateY(-50%);
}

/* Next Arrow - positioned in the right gap */
.testimonials-next {
    right: 7px;
    transform: translateY(-50%);
}

/* Arrow hover effects */
.testimonials-prev:hover,
.testimonials-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.testimonials-prev:active,
.testimonials-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile: smaller gap (px-4 = 16px padding) */
@media (max-width: 767px) {
    .testimonials-prev {
        left: -5px;
    }
    
    .testimonials-next {
        right: -5px;
    }
}


/* ============================================
   Shop Page Styles
   ============================================ */
 
/* Breadcrumb Styles */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    background: transparent;
}
 
.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}
 
.woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--color-white);
    opacity: 0.8;
    text-decoration: underline;
}
 
.woocommerce-breadcrumb .breadcrumb-delimiter,
.woocommerce .woocommerce-breadcrumb .delimiter {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 8px;
    margin-right: 8px;
}
 
/* ── Results Count ─────────────────────────────────────────────────────── */
.woocommerce-result-count,
.woocommerce .woocommerce-result-count {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: capitalize;
    color: var(--color-dark);
    margin: 0;
    padding: 0;
}
 
/* Mobile: smaller result count */
@media (max-width: 1023px) {
    .yaami-result-count--mobile .woocommerce-result-count,
    .yaami-result-count--mobile.woocommerce-result-count {
        font-size: 11px;
        letter-spacing: 0.5px;
        font-weight: 600;
        color: var(--color-dark-muted, #888);
    }
}
 
/* ── Shop Grid ─────────────────────────────────────────────────────────── */
/* Override product-card fixed width so cards fill grid columns */
.yaami-shop-grid .product-card {
    width: 100%;
    flex-shrink: unset;
}
 
/* ── Sorting ───────────────────────────────────────────────────────────── */
.yaami-shop-sorting .woocommerce-ordering {
    margin: 0;
}
 
.yaami-shop-sorting select,
.woocommerce-ordering select {
    background: var(--color-brand-surface);
    border: none;
    border-radius: 222px;
    padding: 8px 32px 8px 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: var(--color-brand);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23A86A32' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 14px;
}
 
/* Mobile: slightly smaller sort pill */
@media (max-width: 1023px) {
    .yaami-shop-sorting select,
    .woocommerce-ordering select {
        font-size: 12px;
        padding: 6px 28px 6px 12px;
    }
}
 
.yaami-shop-sorting select:focus,
.woocommerce-ordering select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-alpha-20);
}
 
/* ── Radio Buttons ─────────────────────────────────────────────────────── */
input[type="radio"].accent-brand {
    accent-color: var(--color-brand);
}
 
/* ── Price Filter Widget ───────────────────────────────────────────────── */
.widget_price_filter .price_slider {
    background: var(--color-border);
    height: 4px !important;
    margin-bottom: 0px !important;
}
 
.widget_price_filter .price_slider_amount {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}
 
.widget_price_filter .price_slider_amount .button {
    padding: 10px 16px !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
}
 
.widget_price_filter .price_slider_amount .button:hover {
    background: var(--color-brand);
}
 
.widget_price_filter .price_label {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-align: center;
    font-family: var(--font-body);
}
 
/* ── Hide price "Filter" submit button inside mobile drawer ────────────── */
/* The mobile drawer has Apply Filters button in the footer instead */
#yaami-filter-drawer .yaami-price-mobile .price_slider_amount .button,
#yaami-filter-drawer .yaami-price-mobile .woocommerce-widget-layered-nav-dropdown__submit {
    display: none !important;
}
 
/* ── jQuery UI Slider ──────────────────────────────────────────────────── */
.ui-slider .ui-slider-handle {
    background: var(--color-brand) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 16px !important;
    height: 16px !important;
    top: -6px !important;
    cursor: pointer !important;
}
 
.ui-slider .ui-slider-handle:focus {
    outline: none;
}
 
.ui-slider .ui-slider-range {
    background-color: var(--color-brand) !important;
}
 
/* ── WooCommerce Pagination ────────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    white-space: normal;
    clear: none;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li {
    display: flex;
    align-items: center;
    float: none;
    border-right: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    line-height: 1;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
    background: var(--color-white);
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-white);
    font-weight: 600;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--color-text-muted);
    cursor: default;
    min-width: auto;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.next.page-numbers {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-dark);
    min-width: 40px;
    padding-bottom: 6px;
}
 
/* ── Active Filter Chips ───────────────────────────────────────────────── */
.yaami-filter-chip {
    white-space: nowrap;
}
 
.yaami-filter-chip:hover {
    background-color: var(--color-brand-surface, #fdf4ec);
}
 
/* ── Color Swatches & Size Options ─────────────────────────────────────── */
.yaami-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
 
.yaami-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    flex-shrink: 0;
}

/* Smaller circles inside product cards so 5 fit in one row on mobile */
.product-card .yaami-color-swatch {
    width: 20px;
    height: 20px;
}
@media (min-width: 768px) {
    .product-card .yaami-color-swatch {
        width: 24px;
        height: 24px;
    }
}
 
.yaami-color-swatch:hover {
    border-color: var(--color-brand);
    transform: scale(1.1);
}
 
.yaami-color-swatch[data-selected="true"],
.yaami-color-swatch--selected {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 2px var(--brand-alpha-30);
}
 
.yaami-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Override WooCommerce's global `img { height: auto }` which only loads on
   WC pages (shop/category) and breaks the absolute-fill card image. */
.product-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ── Product card swatch image loader ──────────────────────────────────── */
.product-card-loader {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.product-card-loader.is-active {
    opacity: 1;
}
.product-card-loader__spin {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2.5px solid rgba(28, 29, 29, 0.15);
    border-top-color: var(--color-brand, #A86A32);
    animation: pc-spin 0.65s linear infinite;
}
@keyframes pc-spin {
    to { transform: rotate(360deg); }
}

/* Override WooCommerce's `height: auto` on the hero banner image — mobile only */
@media (max-width: 767px) {
    .page-hero-banner img {
        height: 100%;
    }
}

/* ── Announcement bar — centered on desktop, scrolling ticker on mobile ── */
.announce-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
}
.announce-item--dup { display: none !important; }

@media (max-width: 767px) {
    .announce-track {
        display: inline-flex;
        width: max-content;
        justify-content: flex-start;
        animation: announce-ticker 22s linear infinite;
    }
    .announce-item--dup { display: inline-flex !important; }
}

@keyframes announce-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Checkout customisations ── */

/* Page-load overlay — hides content until JS reorders fields; fades out after DOMContentLoaded */
#yaami-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--color-white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}
#yaami-page-loader.yaami-loader--done {
    opacity: 0;
    pointer-events: none;
}
#yaami-page-loader__spin {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(168, 106, 50, 0.15);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: wl-spin 0.7s linear infinite;
}

/* Hide the last name field (replaced by Full Name in billing_first_name) */
.yaami-hidden-field { display: none !important; }

/* Phone is required — hide the "(optional)" label WC's AJAX re-appends */
#billing_phone_field .optional { display: none !important; }
/* Show the required asterisk always (WC AJAX may strip it) */
#billing_phone_field label::after {
    content: ' *';
    color: var(--color-brand);
    font-weight: 700;
}

body.woocommerce-checkout .woocommerce {
    overflow-x: hidden;
    max-width: 100%;
}

 
.yaami-size-option {
    padding: 6px 12px;
    border: 1px solid var(--color-border-medium);
    border-radius: 6px;
    font-size: 12px;
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    display: inline-block;
}
 
.yaami-size-option:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}
 
.yaami-size-option--selected {
    border-color: var(--color-brand);
    background-color: var(--brand-alpha-10);
    color: var(--color-brand);
    font-weight: 500;
}
 
.yaami-color-swatch--default {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
}
 
.yaami-color-swatch--default:hover {
    border-color: var(--color-brand);
    transform: scale(1.1);
}
 
/* ── Swatch selected tick ──────────────────────────────────────────────── */
.yaami-color-swatch,
.flex.flex-wrap.gap-2 a[style*="background-color"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
 
.border-brand.scale-110 {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--brand-alpha-30);
}
 
/* ── Size multi-select ─────────────────────────────────────────────────── */
.yaami-size-option--selected,
a.yaami-size-option.selected {
    border-color: var(--color-brand) !important;
    background-color: var(--brand-alpha-12) !important;
    color: var(--color-brand) !important;
    font-weight: 600 !important;
}
 
/* ── Active filter indicator dot ───────────────────────────────────────── */
.has-active-filter::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-brand);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}
 
/* ── Mobile filter drawer body-lock ───────────────────────────────────── */
/* Prevent body scroll when drawer is open — applied via JS */
body.yaami-filter-open {
    overflow: hidden;
}

/* ── WooCommerce Notices (Added to cart, errors, info) ─────────────────── */
.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.woocommerce-cart .woocommerce-notices-wrapper {
    max-width: 1260px;
    margin: 20px auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── Success notice: WC outputs div.woocommerce-message with direct a.button child ── */
.woocommerce-message {
    display: flex !important;
    align-items: center !important;
    list-style: none;
    margin: 0 0 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    font-family: var(--font-body);
    font-size: 13px;
    color: #166534;
}

/* Green checkmark icon — first flex item */
.woocommerce-message::before {
    content: '' !important;
    display: block !important;
    position: static !important;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 8px;
    align-self: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2322c55e'/%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") !important;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    font-size: 0;
    line-height: 0;
}

/* "View cart" button — pushed to far right */
.woocommerce-message a.button {
    margin-left: auto;
    padding-left: 12px;
    background: var(--color-brand);
    color: var(--color-white) !important;
    border-radius: 999px;
    padding: 4px 12px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    border: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.woocommerce-message a.button:hover {
    background: var(--color-brand-dark);
}

/* ── Error notice: WC outputs ul.woocommerce-error > li with a.button inside li ── */
.woocommerce-error {
    list-style: none;
    margin: 0 0 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    font-family: var(--font-body);
    font-size: 13px;
    color: #991b1b;
}

.woocommerce-error li {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Reset WC default icon font on the ul itself */
.woocommerce-error::before {
    content: none !important;
    display: none !important;
}

/* Red exclamation icon */
.woocommerce-error li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ef4444'/%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M10 6v5'/%3E%3Ccircle cx='10' cy='14' r='1' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* "View cart" button inside error li */
.woocommerce-error li a.button {
    margin-left: auto;
    padding-left: 12px;
    background: var(--color-brand);
    color: var(--color-white) !important;
    border-radius: 999px;
    padding: 4px 12px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    border: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.woocommerce-error li a.button:hover {
    background: var(--color-brand-dark);
}

/* ── Info notice ── */
.woocommerce-info {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    list-style: none;
    margin: 0 0 16px;
    padding: 14px 18px;
    border-radius: 10px;
    background: var(--color-brand-surface);
    border: 1px solid #e8d9cb;
    border-left: 4px solid var(--color-brand) !important;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-dark);
}

.woocommerce-info::before {
    content: '' !important;
    display: block !important;
    position: static !important;
    left: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    font-size: 0 !important;
    line-height: 0 !important;
    font-family: inherit !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A86A32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Ccircle cx='12' cy='8' r='0.5' fill='%23A86A32'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.woocommerce-info a {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-info a:hover {
    color: var(--color-brand-dark);
}

.woocommerce-info a.button {
    margin-left: auto;
    align-self: center;
    background: var(--color-brand);
    color: var(--color-white) !important;
    border-radius: 999px;
    padding: 4px 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    border: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.woocommerce-info a.button:hover {
    background: var(--color-brand-dark);
}


/* ══════════════════════════════════════════════════════════
   PRODUCT CARD — yaami.css additions
   ONLY what Tailwind cannot handle:
     1. WooCommerce <bdi>/<span> amount typography overrides
     2. Wishlist hover-reveal (group-hover on sibling, not child)
     3. Wishlisted filled-heart state (.is-wishlisted)
   Everything else is Tailwind classes in the PHP template.
   ══════════════════════════════════════════════════════════ */


/* Sale price inner amount — inherit 20px SemiBold from wrapper */
.product-card-price-sale .woocommerce-Price-amount,
.product-card-price-sale bdi {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #1C1D1D;
}

.product-card-price-reg .woocommerce-Price-amount,
.product-card-price-reg bdi {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #1C1D1D;
    text-decoration: line-through;
}

@media (min-width: 768px) {
    .product-card-price-sale .woocommerce-Price-amount,
    .product-card-price-sale bdi {
        font-size: 18px;
        line-height: 1;
    }

    .product-card-price-reg .woocommerce-Price-amount,
    .product-card-price-reg bdi {
        font-size: 16px;
        line-height: 1;
    }
}
/* Strip WooCommerce's own <del>/<ins> decorations so our wrappers control everything */
.product-card-price-sale del,
.product-card-price-sale ins,
.product-card-price-reg del,
.product-card-price-reg ins {
    text-decoration: none;
    background: none;
    font-weight: inherit;
    color: inherit;
    opacity: inherit;
}

/* ── 2. Wishlist button — hover reveal ─────────────────────
   Hide only inside product cards (card-grid context).
   On the single product page the button is always visible.
   ────────────────────────────────────────────────────────── */
.product-card .product-wishlist-btn {
    opacity: 0;
    transform: scale(0.9);
}

/* Desktop: reveal on card hover */
.product-card:hover .product-wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

/* Mobile: always visible inside cards too */
@media (max-width: 767px) {
    .product-card .product-wishlist-btn {
        opacity: 1;
        transform: scale(1);
    }
}

/* ── 3. Wishlisted state (filled heart) ────────────────────
   JS toggles .is-wishlisted on the button via localStorage.
   ────────────────────────────────────────────────────────── */
.product-wishlist-btn.is-wishlisted {
    opacity: 1;
    transform: scale(1);
    color: var(--color-brand);
}

.product-wishlist-btn.is-wishlisted svg path {
    fill: var(--color-brand);
    stroke: var(--color-brand);
}

/* ── 4. Loading state — spinner while AJAX is in-flight ──── */
.product-wishlist-btn.is-loading {
    pointer-events: none;
    opacity: 1 !important;
    transform: scale(1) !important;
}

.product-wishlist-btn.is-loading svg {
    opacity: 0;
}

.product-wishlist-btn.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(168, 106, 50, 0.20);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: wl-spin 0.65s linear infinite;
    pointer-events: none;
}

@media (max-width: 767px) {
    .product-wishlist-btn.is-loading::after {
        width: 12px;
        height: 12px;
    }
}

@keyframes wl-spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — yaami.css additions
   ONLY what Tailwind cannot handle:
     1. WooCommerce price <bdi>/<span> typography inheritance
     2. WC variable product form — hide default markup, show custom UI
     3. WC breadcrumb colour on white bg (product page vs shop hero)
     4. Main image aspect ratio (fixed height)
     5. Related products card — remove fixed width so grid fills columns
   ══════════════════════════════════════════════════════════ */

/* ── PDP gallery Swiper ─────────────────────────────────── */
.yaami-pdp-swiper {
    width: 100%;
}
.yaami-pdp-swiper .swiper-wrapper {
    align-items: stretch;
}
.yaami-pdp-swiper .swiper-slide {
    height: auto;
    flex-shrink: 0;
}
.yaami-pdp-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}
 

/* PDP — sale / regular price (desktop base) */
.pdp-price-sale,
.pdp-price-sale .woocommerce-Price-amount,
.pdp-price-sale bdi {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    color: var(--color-dark);
}

.pdp-price-reg,
.pdp-price-reg .woocommerce-Price-amount,
.pdp-price-reg bdi {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
    color: var(--color-dark);
    text-decoration: line-through;
}

/* Strip WC's own <del>/<ins> so our wrappers control everything */
.pdp-price-sale del, .pdp-price-sale ins,
.pdp-price-reg  del, .pdp-price-reg  ins {
    text-decoration: none;
    background: none;
    font-weight: inherit;
    color: inherit;
    opacity: inherit;
}

/* PDP price — mobile (smaller) */
@media (max-width: 767px) {
    .pdp-price-sale,
    .pdp-price-sale .woocommerce-Price-amount,
    .pdp-price-sale bdi {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .pdp-price-reg,
    .pdp-price-reg .woocommerce-Price-amount,
    .pdp-price-reg bdi {
        font-size: 12px !important;
        line-height: 24px !important;
    }
}
 
/* ── 2. WooCommerce variable product form — hide, keep functional ─────────
   WC outputs its own variation form (dropdowns, ATC button etc.).
   We show our own custom swatches + size pills + qty above. The WC form
   must still exist in the DOM so WC JS can manage stock/price updates,
   but we hide all its visible elements.
   ────────────────────────────────────────────────────────────────────────── */
.yaami-product .variations_form .variations,
.yaami-product .variations_form .woocommerce-variation-add-to-cart,
.yaami-product .variations_form .reset_variations,
.yaami-product .variations_form .woocommerce-variation-price,
.yaami-product .variations_form .woocommerce-variation-availability {
    display: none !important;
}
 
/* ── 3. Breadcrumb on white product page background ───────────────────────
   Shop page breadcrumb is white (on dark hero). Product page is on white,
   so we override to dark.
   ────────────────────────────────────────────────────────────────────────── */
.yaami-product .woocommerce-breadcrumb,
.yaami-product .woocommerce-breadcrumb a {
    color: var(--color-dark-muted) !important;
}
.yaami-product .woocommerce-breadcrumb a:hover {
    color: var(--color-brand) !important;
    opacity: 1 !important;
}
.yaami-product .woocommerce-breadcrumb .breadcrumb-delimiter,
.yaami-product .woocommerce-breadcrumb .delimiter {
    color: var(--color-border-medium) !important;
}
 
/* ── 4. Main product image — fixed portrait aspect ratio ─────────────────
   Tailwind's aspect-[w/h] doesn't apply a max-height cap;
   on very wide desktops the image would grow too tall.
   ────────────────────────────────────────────────────────────────────────── */
.yaami-pdp-main-img {
    aspect-ratio: 560 / 700;
    max-height: 700px;
}
 
.yaami-pdp-main-img img {
    transition: opacity 0.3s ease;
}

/* ── Size button — unavailable state (diagonal strikethrough X)
   Tailwind can't add ::after to a class applied dynamically by JS.
   ────────────────────────────────────────────────────────────────────────── */
.pdp-size-unavailable {
    position: relative;
    opacity: 0.45;
    cursor: not-allowed !important;
    overflow: hidden;
}
.pdp-size-unavailable::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom right,
        transparent calc(50% - 0.75px),
        var(--color-dark-muted) calc(50% - 0.75px),
        var(--color-dark-muted) calc(50% + 0.75px),
        transparent calc(50% + 0.75px)
    );
    border-radius: inherit;
    pointer-events: none;
}

/* ── 5. Related products — product card fills grid column ─────────────────
   The reusable card has w-[280px] md:w-[300px] flex-shrink-0 for carousels.
   Inside the related products grid it must fill its column instead.
   ────────────────────────────────────────────────────────────────────────── */
.yaami-related .product-card {
    width: 100% !important;
    flex-shrink: unset !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   6. WooCommerce Review Form + Existing Reviews — PDP accordion
   ══════════════════════════════════════════════════════════════════════════════ */

/* Existing reviews list */
#reviews #comments ol.commentlist {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

#reviews #comments ol.commentlist li.review {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
#reviews #comments ol.commentlist li.review:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment_container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.comment_container img.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-text {
    flex: 1;
    min-width: 0;
}

.comment-text .star-rating {
    margin-bottom: 4px;
}

.woocommerce-review__author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    text-transform: uppercase;
}

.woocommerce-review__dash,
.woocommerce-review__timestamp {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-text-muted);
}

.comment-text .description p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    color: #606161;
    margin: 6px 0 0;
}

/* Review form wrapper */
#review_form_wrapper {
    margin-top: 24px;
}

#review_form h3,
#reviews #reply-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-dark);
    margin: 0 0 16px;
}

/* Star rating selector */
.comment-form-rating {
    margin-bottom: 16px;
}

.comment-form-rating label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-dark);
    display: block;
    margin-bottom: 8px;
}

.comment-form-rating .stars a {
    font-size: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.comment-form-rating .stars a::before {
    content: '★';
    font-size: 20px;
    color: var(--color-border-medium);
    display: block;
    line-height: 1;
}

.comment-form-rating .stars:hover a::before,
.comment-form-rating .stars.selected a.active::before,
.comment-form-rating .stars.selected a.active ~ a::before {
    color: #FFC219;
}

.comment-form-rating .stars:hover a:hover ~ a::before {
    color: var(--color-border-medium);
}

/* Hide the redundant WC "Reviews" h2 inside the accordion tab body */
.woocommerce-Reviews-title {
    display: none;
}

/* Comment / review textarea */
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    display: block;
    margin-bottom: 6px;
}

#comment,
.comment-form-comment textarea {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 10px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--color-dark);
    background: var(--color-white);
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

#comment:focus,
.comment-form-comment textarea:focus {
    border-color: var(--color-brand);
}

/* Name + Email inputs — side by side */
.comment-form-author,
.comment-form-email {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
}
.comment-form-author { margin-right: 16px; }

.comment-form-author input,
.comment-form-email input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    background: var(--color-white);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
    border-color: var(--color-brand);
}

/* Cookies consent checkbox */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-brand);
    flex-shrink: 0;
    margin-top: 2px;
}

.comment-form-cookies-consent label {
    font-family: var(--font-body);
    font-size: 13px;
    color: #606161;
    line-height: 20px;
    cursor: pointer;
}

/* Submit button */
.form-submit {
    margin-top: 16px;
}

.form-submit input[type="submit"],
#review_form .submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--color-brand);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-submit input[type="submit"]:hover,
#review_form .submit:hover {
    background: var(--color-brand-dark);
}

/* Space between form fields */
.comment-form-comment,
.comment-form-author,
.comment-form-email {
    margin-bottom: 14px;
}

/* Hide comment notes / required message */
.comment-notes {
    display: none;
}


/* ══════════════════════════════════════════════════════════
   CART PAGE — Classic shortcode cart styles
   Matches Figma: table left, totals sidebar right
   ══════════════════════════════════════════════════════════ */

/* ── Cart sidebar width ── */
.yaami-cart-sidebar {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .yaami-cart-sidebar {
        width: 360px;
        position: sticky;
        top: 24px;
    }
}

/* ── Table header ── */
.yaami-cart-thead {
    display: none;
}

@media (min-width: 768px) {
    .yaami-cart-thead {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr 40px;
        gap: 16px;
        padding: 0 0 14px;
        border-bottom: 2px solid var(--color-border);
        margin-bottom: 0;
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0;
        text-transform: capitalize;
        color: var(--color-dark);
    }
}

.yaami-cart-col-price,
.yaami-cart-col-qty,
.yaami-cart-col-subtotal {
    text-align: center;
}

/* ── Cart row ── */
.yaami-cart-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .yaami-cart-row {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr 40px;
        gap: 16px;
        align-items: center;
    }
}

/* ── Product image ── */
.yaami-cart-img-wrap {
    width: 76px;
    height: 96px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-img-bg);
    flex-shrink: 0;
}
.yaami-cart-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ── Variation meta ── */
.yaami-cart-meta dl.variation {
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    align-items: center;
}
.yaami-cart-meta dl.variation dt,
.yaami-cart-meta dl.variation dd {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-dark-muted);
    margin: 0;
    display: inline;
}
/* Value in brand colour + pipe separator (desktop & mobile) */
.yaami-cart-meta dl.variation dd {
    color: var(--color-brand);
    font-weight: 500;
}
.yaami-cart-meta dl.variation dd p {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 12px;
}
.yaami-cart-meta dl.variation dd::after {
    content: '|';
    color: var(--color-border);
    font-weight: 400;
    margin: 0 4px;
}
.yaami-cart-meta dl.variation dd:last-child::after {
    content: '';
    margin: 0;
}

/* ── Subtotal: brand colour on all breakpoints ── */
.yaami-cart-col-subtotal .woocommerce-Price-amount {
    color: var(--color-brand) !important;
}

/* ── Mobile: card layout ── */
@media (max-width: 767px) {
    /* Card wrapper */
    .yaami-cart-row {
        background: #fff;
        border: 1px solid #E9E3DC;
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 16px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
        display: grid;
        grid-template-areas:
            "product product"
            "price   qty"
            "subtotal action";
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 0;
    }

    .yaami-cart-col-product  { grid-area: product; }
    .yaami-cart-col-price    { grid-area: price; }
    .yaami-cart-col-qty      { grid-area: qty; }
    .yaami-cart-col-subtotal { grid-area: subtotal; }
    .yaami-cart-col-action   { grid-area: action; }

    /* Product col: image absolute-left, text in flow */
    .yaami-cart-col-product {
        position: relative;
        padding-left: 116px;
        min-height: 84px;
        margin-bottom: 16px;
    }
    .yaami-cart-col-product .flex { align-items: flex-start; }
    .yaami-cart-col-product a.font-heading,
    .yaami-cart-col-product span.font-heading {
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 8px;
        display: block;
    }

    /* Image: absolute left */
    .yaami-cart-img-wrap {
        position: absolute;
        left: 0;
        top: 0;
        width: 100px;
        height: 80px;
        border-radius: 10px;
    }


    /* Price (dashed separator) */
    .yaami-cart-col-price {
        border-top: 1px dashed #E6DED6;
        padding-top: 5px;
        padding-right: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
    }
    .yaami-cart-col-price::before {
        content: 'Price';
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 600;
        color: var(--color-dark-muted);
        text-transform: capitalize;
    }
    .yaami-cart-col-price .woocommerce-Price-amount {
        font-size: 18px;
        font-weight: 700;
        color: var(--color-dark);
    }

    /* Quantity (dashed separator) */
    .yaami-cart-col-qty {
        border-top: 1px dashed #E6DED6;
        padding-top: 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        text-align: left;
    }
    .yaami-cart-col-qty::before {
        content: 'Quantity';
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 600;
        color: var(--color-dark-muted);
        text-transform: capitalize;
    }

    /* Subtotal (solid separator) */
    .yaami-cart-col-subtotal {
        border-top: 1px solid #EFEAE4;
        margin-top: 14px;
        padding-top: 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
    }
    .yaami-cart-col-subtotal::before {
        content: 'Subtotal';
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 600;
        color: var(--color-dark-muted);
        text-transform: capitalize;
    }
    .yaami-cart-col-subtotal .woocommerce-Price-amount {
        font-size: 22px;
        font-weight: 700;
    }

    /* Action / Delete (solid separator, bottom-aligned) */
    .yaami-cart-col-action {
        border-top: 1px solid #EFEAE4;
        margin-top: 14px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    /* Stepper: brand colour on mobile */
    .yaami-cart .quantity {
        height: 36px;
    }
    .yaami-cart .quantity .qty-btn { color: var(--color-brand); }
    .yaami-cart-remove-btn { margin: 0 !important; padding-bottom: 10px;}
}

/* ── Quantity stepper — WC classic outputs .quantity wrapper ── */
.yaami-cart .quantity {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid var(--color-dark);
    border-radius: 222px;
    height: 40px;
    overflow: hidden;
    margin: 0 auto;
}

.yaami-cart .quantity .qty {
    width: 36px;
    height: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-dark);
    -moz-appearance: textfield;
    outline: none;
    padding: 0;
}

.yaami-cart .quantity .qty::-webkit-inner-spin-button,
.yaami-cart .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.yaami-cart .quantity .qty-btn {
    width: 36px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 300;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
}

.yaami-cart .quantity .qty-btn:hover { color: var(--color-brand); }

/* ── Remove button ── */
.yaami-cart-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s;
    margin: 0 auto;
}

.yaami-cart-remove-btn:hover {
    opacity: 0.65;
}

/* ── Cart actions row ── */
.yaami-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0 0;
}

/* Coupon — single merged gray pill: left input + right button */
.yaami-cart-coupon {
    display: inline-flex;
    align-items: center;
    background: #F0F0F0;
    border-radius: 222px;
    overflow: hidden;
    height: 48px;
}

.yaami-cart-coupon input[type="text"] {
    flex: 1;
    min-width: 150px;
    height: 100%;
    padding: 0 18px;
    border: none;
    border-radius: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    outline: none;
}

.yaami-cart-coupon input[type="text"]::placeholder {
    color: var(--color-dark-muted);
}

.yaami-cart-coupon button[name="apply_coupon"] {
    height: 100%;
    padding: 0 22px;
    background: var(--color-brand);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 0 222px 222px 0;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.yaami-cart-coupon button[name="apply_coupon"]:hover {
    background: var(--color-brand-dark);
}

.yaami-cart-update-btn {
    height: 48px;
    padding: 0 28px;
    background: var(--color-brand);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    border: none;
    border-radius: 222px;
    cursor: pointer;
    transition: background 0.2s;
}

.yaami-cart-update-btn:hover {
    background: var(--color-brand-dark);
}

.yaami-cart-update-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkout — tax label under order total */
.yaami-order-total .yaami-tax-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--color-dark-muted);
    margin-top: 3px;
}

/* Force order-total td typography through WC-injected <strong> and <span> */
.yaami-order-total-amount strong,
.yaami-order-total-amount .woocommerce-Price-amount,
.yaami-order-total-amount bdi,
.yaami-order-total-amount .woocommerce-Price-currencySymbol {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: var(--color-brand) !important;
}

/* ── Cart totals: lock table layout on all screen sizes ── */
/* WooCommerce's shop_table_responsive stylesheet switches <tr>/<td> to
   display:block on mobile and injects data-title::before labels. Override
   those back to normal table layout so the cart totals sidebar always
   looks identical to the desktop layout. */
.yaami-cart tr.woocommerce-shipping-totals.shipping th {
    display: none;
}
.cart_totals table.shop_table_responsive {
    display: table !important;
}
.cart_totals table.shop_table_responsive tbody {
    display: table-row-group !important;
}
.cart_totals table.shop_table_responsive tr {
    display: table-row !important;
}

.cart_totals table.shop_table_responsive tr td {
    display: table-cell !important;
}
/* Suppress the auto "data-title: " ::before WC injects on mobile */
.cart_totals table.shop_table_responsive tr td::before {
    display: none !important;
}
/* Kill WC zebra-stripe background on even rows */
.cart_totals table.shop_table_responsive tr:nth-child(2n) td {
    background-color: transparent !important;
}
/* Shipping td::before — block heading, left-aligned, no WC colon/float */
.cart_totals table.shop_table_responsive .woocommerce-shipping-totals td::before {
    display: block !important;
    float: none !important;
    text-align: left !important;
    content: attr(data-title) !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: var(--color-dark) !important;
    margin-bottom: 8px !important;
}

/* ── Cart totals: shipping row (colspan="2" td, no th) ── */
.cart_totals .woocommerce-shipping-totals {
    border-bottom: 1px solid var(--color-border) !important;
}

.cart_totals .woocommerce-shipping-totals td {
    padding: 12px 0 !important;
    border: none !important;
    text-align: left !important;
    vertical-align: top !important;
}

.cart_totals .woocommerce-shipping-totals td::before {
    content: attr(data-title);
    display: block;
    float: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

/* Shipping method radio list */
.cart_totals .woocommerce-shipping-methods {
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart_totals .woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--color-dark) !important;
}

.cart_totals .woocommerce-shipping-methods li label {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--color-dark) !important;
    cursor: pointer;
    margin: 0 !important;
    flex: 1;
    white-space: nowrap;
}

.cart_totals .woocommerce-shipping-methods input[type="radio"] {
    accent-color: var(--color-brand);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Shipping destination row — "Shipping to Kerala" left, "Change address" right */
.cart_totals .woocommerce-shipping-destination {
    display: flex !important;
    align-items: center !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    color: var(--color-dark-muted) !important;
    margin: 8px 0 0 !important;
}

.cart_totals .woocommerce-shipping-destination strong {
    font-weight: 600;
    color: var(--color-dark);
    margin-left: 3px;
}

/* Change address link pushed to the right */
.cart_totals .shipping-calculator-button {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--color-brand) !important;
    text-decoration: underline;
}

/* Shipping calculator form — single column, JS controls show/hide */
.cart_totals .shipping-calculator-form {
    margin-top: 10px;
}

.cart_totals .shipping-calculator-form .form-row {
    margin: 0 0 8px !important;
}

.cart_totals .shipping-calculator-form label {
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--color-dark) !important;
    display: block;
    margin-bottom: 4px;
}

.cart_totals .shipping-calculator-form .input-text,
.cart_totals .shipping-calculator-form select {
    width: 100% !important;
    height: 36px !important;
    line-height: 36px !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 8px !important;
    padding: 0 10px !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    color: var(--color-dark) !important;
    box-sizing: border-box !important;
    background: #fff !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    vertical-align: middle;
}

.cart_totals .shipping-calculator-form .button {
    background: var(--color-brand) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 36px !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
}

/* Select2 country/state dropdowns — match native input height */
.cart_totals .shipping-calculator-form .select2-container {
    width: 100% !important;
}
.cart_totals .shipping-calculator-form .select2-container .select2-selection--single {
    height: 36px !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 30px 0 10px !important;
}
.cart_totals .shipping-calculator-form .select2-container .select2-selection__rendered {
    padding: 0 !important;
    line-height: normal !important;
    color: var(--color-dark) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
}
.cart_totals .shipping-calculator-form .select2-container .select2-selection__arrow {
    height: 34px !important;
    top: 1px !important;
    right: 8px !important;
}

/* ══ CART TOTALS SIDEBAR ════════════════════════════════ */

.yaami-cart .cart_totals {
    background: #F9F5EF;
    border: 1px solid var(--color-border);
    padding: 24px;
}

.yaami-cart .cart_totals h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.yaami-cart .cart_totals table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    border: none;
}

.yaami-cart .cart_totals table.shop_table th,
.yaami-cart .cart_totals table.shop_table td {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    padding: 12px 0;
    vertical-align: middle;
    border: none;
}

.yaami-cart .cart_totals table.shop_table th {
    font-weight: 600;
    text-align: left;
    width: 45%;
}

.yaami-cart .cart_totals table.shop_table td {
    text-align: right;
    font-weight: 600;
}

/* Shipping options */
.yaami-cart .cart_totals .woocommerce-shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.yaami-cart .cart_totals .woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yaami-cart .cart_totals .woocommerce-shipping-methods label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-dark);
    cursor: pointer;
}

/* Selected shipping method — brand pill like Figma */
.yaami-cart .cart_totals .woocommerce-shipping-methods input[type="radio"]:checked + label {
    color: var(--color-brand-dark);
    font-weight: 600;
}

/* Order total row */
.yaami-cart .cart_totals .order-total th,
.yaami-cart .cart_totals .order-total td {
    font-weight: 600;
    border-bottom: none;
    padding-top: 16px;
}

/* Shipping destination text */
.yaami-cart .cart_totals .shipping-calculator-button,
.yaami-cart .cart_totals p.woocommerce-shipping-destination {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-dark-muted);
    margin: 6px 0 0;
}

.yaami-cart .cart_totals .shipping-calculator-button {
    color: var(--color-brand);
    text-decoration: underline;
}

/* ── Proceed to Checkout ── */
.yaami-cart .wc-proceed-to-checkout {
    margin-top: 20px;
    padding: 0;
}

.yaami-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--color-brand);
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    border-radius: 222px;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 0;
}

.yaami-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--color-brand-dark);
}

@media (max-width: 767px) {
    .woocommerce .yaami-cart-sidebar table.shop_table_responsive tbody .cart-subtotal th,
    .woocommerce .yaami-cart-sidebar table.shop_table_responsive tbody .order-total th {
        display: block;
    }
}

/* ── Cross sells ── */
.yaami-cart .cross-sells {
    margin-top: 48px;
}

.yaami-cart .cross-sells > h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* ── WC notices ── */
.yaami-cart .woocommerce-message,
.yaami-cart .woocommerce-info {
    border-top-color: var(--color-brand);
    background: var(--color-brand-surface);
    font-family: var(--font-body);
    border-radius: 8px;
    margin-bottom: 24px;
}

.yaami-cart .woocommerce-message::before,
.yaami-cart .woocommerce-info::before {
    color: var(--color-brand);
}

.yaami-cart .woocommerce-message .button {
    background: var(--color-brand);
    color: var(--color-white);
    border-radius: 222px;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    border: none;
    text-decoration: none;
}

/* ── EMPTY CART STATE ──────────────────────────────────────────────────── */

.woocommerce-cart .wc-empty-cart-message {
    max-width: 1260px;
    margin: 0 auto;
    padding: 80px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.woocommerce-cart .wc-empty-cart-message::before {
    content: '';
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: #F2ECE7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' fill='none' viewBox='0 0 24 24' stroke='%23A86A32' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 3h2l.4 2M7 13h10l4-8H5.4m1.6 8L5.4 5M7 13l-1.293 1.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 44px;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.woocommerce-cart .cart-empty.woocommerce-info {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--color-dark) !important;
    width: auto !important;
    border-radius: 0 !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
}

.woocommerce-cart .cart-empty.woocommerce-info::before {
    display: none !important;
}

.woocommerce-cart .wc-empty-cart-message::after {
    content: 'Explore our collection and find something you love.';
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark-muted);
    max-width: 320px;
    line-height: 1.6;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin: 0 0 80px;
}

.woocommerce-cart .return-to-shop .button.wc-backward {
    display: inline-flex !important;
    align-items: center;
    background: var(--color-brand) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 13px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.woocommerce-cart .return-to-shop .button.wc-backward:hover {
    background: var(--color-brand-dark) !important;
    color: #fff !important;
}

/* WooCommerce Checkout Overrides */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    margin-bottom: 0 !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3:not(#ship-to-different-address) {
    display: none;
}

/* Ship-to-different-address: checkbox + label row */
#ship-to-different-address {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0 0 10px;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: normal;
}
#ship-to-different-address label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--color-dark) !important;
    cursor: pointer !important;
    margin: 0 !important;
}
#ship-to-different-address input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-brand);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

/* City, State, PIN Code — three columns in one row */
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#shipping_city_field,
#shipping_state_field,
#shipping_postcode_field {
    display: inline-block !important;
    width: calc(33.333% - 11px) !important;
    vertical-align: top;
    clear: none !important;
}
#billing_city_field,
#billing_state_field,
#shipping_city_field,
#shipping_state_field {
    margin-right: 16px !important;
}
#billing_postcode_field,
#shipping_postcode_field {
    margin-right: 0 !important;
}

/* Form Row Fixes */
.woocommerce form .form-row {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 100% !important;
}

/* Input Focus States */
.woocommerce form .input-text:focus,
.woocommerce form select:focus {
    border-color: var(--color-brand) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(168, 106, 50, 0.1) !important;
}

/* Select2 Customization */
.select2-container--default .select2-selection--single {
    border-color: #e5e7eb !important;
    border-radius: 0.5rem !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--color-brand) !important;
}

.select2-dropdown {
    border-color: #e5e7eb !important;
    border-radius: 0.5rem !important;
}

/* Hide WooCommerce Default Payment Section */
.woocommerce-checkout-review-order {
    display: none;
}

/* Place Order Button in Sidebar */
#place_order {
    background: var(--color-brand);
    color: white;
    padding: 14px 24px;
    border-radius: 222px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#place_order:hover {
    background: var(--color-brand-dark);
    transform: translateY(-2px);
}

/* Remove WooCommerce Default Order Review */
.woocommerce-checkout-review-order-table {
    display: none;
}

/* ══════════════════════════════════════════════════════════
   CHECKOUT PAGE — yaami.css additions
   Only WC field markup overrides + payment section styles
   ══════════════════════════════════════════════════════════ */

/* ── Billing/Shipping field rows — WC outputs p.form-row ── */
.yaami-checkout-fields .form-row {
    margin: 0 0 16px ;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    clear: both;
}

/* First + Last name side by side */
.yaami-checkout-fields .form-row-first,
.yaami-checkout-fields .form-row-last {
    display: inline-block !important;
    width: calc(50% - 8px) !important;
    vertical-align: top;
}

.yaami-checkout-fields .form-row-first {
    margin-right: 16px !important;
}

/* Labels */
.yaami-checkout-fields .form-row label,
.yaami-checkout-fields label {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--color-dark) !important;
    display: block !important;
    margin-bottom: 6px !important;
    line-height: 20px !important;
}

/* Required asterisk */
.yaami-checkout-fields .required {
    color: var(--color-brand) !important;
    font-weight: 700;
}

/* All text inputs + selects */
.yaami-checkout-fields .input-text,
.yaami-checkout-fields input[type="text"],
.yaami-checkout-fields input[type="email"],
.yaami-checkout-fields input[type="tel"],
.yaami-checkout-fields input[type="number"],
.yaami-checkout-fields select,
.yaami-checkout-fields textarea {
    display: block !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--color-dark) !important;
    background: var(--color-white) !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    box-sizing: border-box !important;
}

/* Textarea: auto height, not fixed 48px */
.yaami-checkout-fields textarea {
    height: auto !important;
    min-height: 110px !important;
    padding: 12px 16px !important;
    resize: vertical;
}

.yaami-checkout-fields .input-text:focus,
.yaami-checkout-fields input:focus,
.yaami-checkout-fields select:focus {
    border-color: var(--color-brand) !important;
    box-shadow: 0 0 0 3px var(--brand-alpha-10) !important;
}

/* Validation error state */
.yaami-checkout-fields .form-row.woocommerce-invalid .input-text,
.yaami-checkout-fields .form-row.woocommerce-invalid input,
.yaami-checkout-fields .form-row.woocommerce-invalid select {
    border-color: #ef4444 !important;
}

.yaami-checkout-fields .form-row.woocommerce-invalid label {
    color: #ef4444 !important;
}

/* Inline validation message */
.yaami-checkout-fields .woocommerce-error,
.yaami-checkout-fields em.error {
    font-size: 11px !important;
    color: #ef4444 !important;
    font-family: var(--font-body) !important;
    margin-top: 4px !important;
    display: block !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Select2 — WC uses it for country/state dropdowns */
.yaami-checkout-fields .select2-container {
    max-width: 100% !important;
    min-width: 0 !important;
}
.yaami-checkout-fields .select2-selection {
    min-width: 0 !important;
    max-width: 100% !important;
}

.yaami-checkout-fields .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    background: var(--color-white) !important;
    box-shadow: none !important;
}

.yaami-checkout-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--color-dark) !important;
    line-height: 48px !important;
    padding: 0 !important;
}

.yaami-checkout-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.yaami-checkout-fields .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--color-brand) !important;
}

.select2-dropdown {
    border: 1.5px solid var(--color-border) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

.select2-results__option--highlighted {
    background: var(--color-brand-surface) !important;
    color: var(--color-brand-dark) !important;
}

/* ── Shipping method labels in checkout right column ── */
.yaami-shipping-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    background: var(--color-white);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.yaami-shipping-label:hover {
    border-color: var(--color-brand);
}

.yaami-shipping-label--checked {
    border-color: var(--color-brand) !important;
    background: var(--color-white);
}

/* ── Product meta inline (checkout right column) ── */
.yaami-checkout-meta-inline dl.variation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
    margin: 0;
    padding: 0;
}
.yaami-checkout-meta-inline dl.variation dt,
.yaami-checkout-meta-inline dl.variation dd {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: var(--color-dark-muted);
    font-family: var(--font-body);
}
.yaami-checkout-meta-inline dl.variation dt::after {
    content: '';
}
.yaami-checkout-meta-inline dl.variation dt p,
.yaami-checkout-meta-inline dl.variation dd p {
    display: inline;
    margin: 0;
}
.yaami-checkout-meta-inline dl.variation dd:not(:last-child)::after {
    content: ',';
    margin-right: 4px;
}

/* ── Payment section — WC outputs #payment div ── */
.yaami-checkout-payment #payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.yaami-checkout-payment #payment ul.payment_methods {
    list-style: none;
    margin: 0 0 16px;
    border: none !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--color-brand-tint);
    border-radius: 20px;
}

.yaami-checkout-payment #payment ul.payment_methods li.payment_method {
    border: none;
    border-radius: 15px;
    padding: 16px 16px 16px 64px;
    background: var(--color-brand-surface);
    position: relative;
}

.yaami-checkout-payment #payment ul.payment_methods li.payment_method::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background-color: rgba(160, 112, 64, 0.18);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23A07040'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 12a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

/* Override WC default ::before table hack inside payment section */
.yaami-checkout-payment #payment ul.payment_methods li:not(.woocommerce-notice)::before {
    display: block !important;
    content: '' !important;
}

.yaami-checkout-payment #payment ul.payment_methods li:not(.woocommerce-notice)::after {
    display: none !important;
    content: '' !important;
}

.yaami-checkout-payment #payment ul.payment_methods li label {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--color-dark) !important;
    cursor: default;
    display: block !important;
    margin-bottom: 2px;
}

.yaami-checkout-payment #payment ul.payment_methods li label img {
    display: none;
}

.yaami-checkout-payment #payment ul.payment_methods input[type="radio"] {
    display: none !important;
}

/* Payment box description */
.yaami-checkout-payment #payment .payment_box {
    background: transparent !important;
    padding: 2px 0 0 0 !important;
    margin: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    color: var(--color-dark-muted) !important;
    line-height: 1.5 !important;
}

.yaami-checkout-payment #payment .payment_box::before {
    display: none !important;
}

/* Privacy policy text */
.yaami-checkout-payment #payment .woocommerce-privacy-policy-text {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--color-dark-muted) !important;
    margin: 12px 0 !important;
    line-height: 18px !important;
    position: relative !important;
    padding-left: 20px !important; 
}

.yaami-checkout-payment #payment .woocommerce-privacy-policy-text::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 13px !important;
    height: 13px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23A86A32'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    display: block !important;
}

.yaami-checkout-payment #payment .woocommerce-privacy-policy-text p {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    color: var(--color-dark-muted) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.yaami-checkout-payment #payment .woocommerce-privacy-policy-text .woocommerce-privacy-policy-link {
    color: var(--color-brand) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.yaami-checkout-payment #payment .woocommerce-privacy-policy-text .woocommerce-privacy-policy-link:hover {
    text-decoration: underline !important;
}

/* Terms checkbox */
.yaami-checkout-payment #payment .woocommerce-terms-and-conditions-wrapper {
    margin: 12px 0 !important;
}

.yaami-checkout-payment #payment .woocommerce-terms-and-conditions-wrapper label {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: var(--color-dark-muted) !important;
    display: flex !important;
    align-items: center !important;
}
.yaami-checkout-payment #payment .woocommerce-terms-and-conditions-wrapper label input[type="checkbox"] {
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}
.yaami-checkout-payment #payment .woocommerce-terms-and-conditions-wrapper label abbr {
    text-decoration: none !important;
    color: var(--color-brand);
}
.yaami-checkout-payment #payment .woocommerce-terms-and-conditions-wrapper label a {
    color: var(--color-brand) !important;
    text-decoration: underline !important;
}

/* ── Place Order button ── */
.yaami-checkout-payment #payment #place_order {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: var(--color-brand) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-align: center !important;
    border-radius: 222px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin-top: 16px !important;
    transform: none !important;
}

.yaami-checkout-payment #payment #place_order:hover {
    background: var(--color-brand-dark) !important;
    transform: none !important;
}

/* ── WC notices on checkout ── */
.yaami-checkout .woocommerce-NoticeGroup {
    margin-bottom: 24px;
}

/* ── Returning customer / coupon notices WC outputs ── */
.woocommerce-checkout .woocommerce-info {
    background: var(--color-brand-surface) !important;
    border-top-color: var(--color-brand) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
}

/* ── Mobile: first/last name full width ── */
@media (max-width: 640px) {
    .yaami-checkout-fields .form-row-first,
    .yaami-checkout-fields .form-row-last {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* ── Login toggle bar ── */
.woocommerce-form-login-toggle {
    margin-bottom: 12px;
}

.woocommerce-form-login-toggle .woocommerce-info {
    background: var(--color-brand-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-left: 1px solid var(--color-border) !important;
    border-radius: 10px !important;
    padding: 14px 12px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--color-dark) !important;
    margin: 0 0 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
    position: relative !important;
}

.woocommerce-form-login-toggle .woocommerce-info::before {
    content: '' !important;
    position: static !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23A07040'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0zM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    font-size: 0 !important;
    color: transparent !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

.woocommerce-form-login-toggle .showlogin {
    color: var(--color-brand) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.woocommerce-form-login-toggle .showlogin:hover {
    text-decoration: underline !important;
}

/* ── Coupon toggle — premium pill ── */
.woocommerce-form-coupon-toggle {
    margin-bottom: 16px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: var(--color-brand-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-left: 1px solid var(--color-border) !important;
    border-radius: 10px !important;
    padding: 14px 12px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--color-dark) !important;
    margin: 0 0 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
    position: relative !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    content: '' !important;
    position: static !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23A07040'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 6h.008v.008H6V6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    font-size: 0 !important;
    color: transparent !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: var(--color-brand) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:hover {
    text-decoration: underline !important;
}

/* ── Login form ── */
.woocommerce-checkout .woocommerce-form-login {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    padding: 24px;
    margin-top: 8px;
    margin-bottom: 20px;
}

/* Intro text */
.woocommerce-checkout .woocommerce-form-login > p:first-of-type {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-dark-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Two-col username + password */
.woocommerce-checkout .woocommerce-form-login .form-row-first,
.woocommerce-checkout .woocommerce-form-login .form-row-last {
    float: left;
    width: calc(50% - 8px);
    margin-bottom: 16px;
}
.woocommerce-checkout .woocommerce-form-login .form-row-first { margin-right: 16px; }
.woocommerce-checkout .woocommerce-form-login .form-row-last  { margin-right: 0; }

/* Field labels */
.woocommerce-checkout .woocommerce-form-login .form-row label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    display: block;
    margin-bottom: 6px;
}

/* Text inputs */
.woocommerce-checkout .woocommerce-form-login .input-text {
    display: block;
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    transition: border-color 0.2s;
}

.woocommerce-checkout .woocommerce-form-login .input-text:focus {
    border-color: var(--color-brand);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(160,112,64,0.08);
}

/* Clear after floated fields */
.woocommerce-checkout .woocommerce-form-login .clear { clear: both; }

/* Remember me + Login button row */
.woocommerce-checkout .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 0;
    margin-top: 4px;
}

/* Remember me label */
.woocommerce-checkout .woocommerce-form-login .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-dark-muted);
    cursor: pointer;
    margin-right: 20px;
}

/* Login button */
.woocommerce-checkout .woocommerce-form-login button[name="login"] {
    background: var(--color-brand);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 222px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.woocommerce-checkout .woocommerce-form-login button[name="login"]:hover {
    background: var(--color-brand-dark);
}

/* ── Coupon form — premium inline card ── */
.woocommerce-form-coupon {
    background: var(--color-white) !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
    /* No display:flex — WooCommerce controls show/hide via style="display:none" */
}

/* Hide intro paragraph */
.woocommerce-form-coupon > p:not(.form-row) {
    display: none !important;
}

.woocommerce-form-coupon .form-row-first {
    float: left !important;
    width: calc(100% - 150px) !important;
    min-width: 160px !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
}

.woocommerce-form-coupon .form-row-last {
    float: left !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide label */
.woocommerce-form-coupon .form-row label {
    display: none !important;
}

.woocommerce-form-coupon .input-text {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--color-dark) !important;
    background: #fafafa !important;
}

.woocommerce-form-coupon .input-text:focus {
    border-color: var(--color-brand) !important;
    outline: none !important;
    background: var(--color-white) !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04) !important;
}

.woocommerce-form-coupon .input-text::placeholder {
    color: var(--color-dark-muted) !important;
}

.woocommerce-form-coupon button[name="apply_coupon"] {
    height: 48px !important;
    padding: 0 22px !important;
    background: var(--color-brand) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 222px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
    letter-spacing: 0.04em !important;
}

.woocommerce-form-coupon button[name="apply_coupon"]:hover {
    background: var(--color-brand-dark) !important;
}

.woocommerce-form-coupon .clear {
    clear: both !important;
    display: block !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Lost password link */
.woocommerce-form-login .lost_password {
    margin-bottom: 0;
}
.woocommerce-form-login .lost_password a {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 500;
}
.woocommerce-form-login .lost_password a:hover {
    text-decoration: underline;
}

/* ── Create Account checkbox label ── */
.woocommerce-account-fields .woocommerce-form__label-for-checkbox,
.create-account .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.woocommerce-account-fields .woocommerce-form__label-for-checkbox span,
.create-account .woocommerce-form__label-for-checkbox span {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: var(--color-dark) !important;
}

.woocommerce-account-fields .woocommerce-form__input-checkbox,
.create-account .woocommerce-form__input-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--color-brand);
    flex-shrink: 0;
    cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   CHECKOUT FIXES — Login link, Coupon link, Register checkbox
   ══════════════════════════════════════════════════════════ */

/* ── Fix 1: Login toggle notice link ── */
.woocommerce-form-login-toggle .woocommerce-info a.showlogin {
    color: var(--color-brand) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline !important;
}

.woocommerce-form-login-toggle .woocommerce-info {
    overflow: visible !important;
    clip: auto !important;
}

/* ── Fix 1b: Coupon toggle link — ensure link is visible inside flex ── */
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: var(--color-brand) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline !important;
}

/* ── Fix 2: Register / Create Account checkbox ── */
/* Ensure the checkbox is never zero-size or invisible      */

#createaccount,
.woocommerce-account-fields input#createaccount,
.woocommerce-form__input-checkbox#createaccount {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    accent-color: var(--color-brand) !important;
    cursor: pointer !important;
    position: relative !important;
    /* Override any theme-level input resets that zero out checkboxes */
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
}

p.form-row.form-row-wide.create-account.woocommerce-validated {
    margin-bottom: 0px !important;
}

/* Ensure the label wrapping the checkbox is a proper flex row */
label[for="createaccount"],
.woocommerce-account-fields label:has(#createaccount) {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

/* ── Town / State / PIN — three fields in one row ── */
.yaami-checkout-fields .form-row-first-third {
    display: inline-block !important;
    width: calc(33.333% - 11px) !important;
    vertical-align: top;
    margin-right: 16px !important;
}

.yaami-checkout-fields .form-row-last-third {
    display: inline-block !important;
    width: calc(33.333% - 11px) !important;
    vertical-align: top;
}

/* City takes first-third width too */
.yaami-checkout-fields #billing_city_field {
    display: inline-block !important;
    width: calc(33.333% - 11px) !important;
    vertical-align: top;
    margin-right: 16px !important;
    float: none !important;
}

.woocommerce-error::before,
.woocommerce-message::before {
    left: 0.5em !important;
}

/* Mobile: stack all three full width */
@media (max-width: 640px) {
    .yaami-checkout-fields .form-row-first-third,
    .yaami-checkout-fields .form-row-last-third,
    .yaami-checkout-fields #billing_city_field,
    .yaami-checkout-fields #billing_state_field, 
    .yaami-checkout-fields #billing_postcode_field {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE — yaami.css additions
   ══════════════════════════════════════════════════════════ */

.contact-block-card {
    box-shadow: 0px 1px 44px 0px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 44px !important;
    background: #fff;
}
.contact-info-card.wp-block-columns {
    gap: 12px;
    padding: 24px;
    border-radius: 15px;
}

.contact-info-card .wp-block-heading {
    margin: 0 !important;
}

/* ── CF7 Form Layout & Styling ── */

/* Remove default p tag spacing inside cf7-row */
.wpcf7 .cf7-row p,
.wpcf7 p {
    margin: 0;
}

/* 2-column grid */
.wpcf7 .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .wpcf7 .cf7-row {
        grid-template-columns: 1fr;
    }
}

/* Message row */
.wpcf7 .cf7-row + div,
.wpcf7 > form > div:not(.cf7-row) {
    margin-bottom: 16px;
}

/* Labels */
.wpcf7 label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    color: var(--color-dark);
    display: block;
    margin-bottom: 6px;
}

/* Red asterisk on required fields */
.wpcf7 label .wpcf7-validates-as-required,
.wpcf7 label + br {
    display: none; /* hide the <br> CF7 injects */
}



/* Simpler: style * in label directly */
.wpcf7 label[for] {
    font-family: var(--font-heading);
}

/* Hide CF7 injected <br> after label */
.wpcf7 br {
    display: none;
}

/* Inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    background: var(--color-light);
    border: 1px solid #e8e0d8;
    border-radius: 8px;
    padding: 11px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-tint);
    background: var(--color-white);
}

/* wpcf7-form-control-wrap must fill full width */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Textarea */
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical; 
}

/* Submit button */
.wpcf7 input[type="submit"] {
    width: 100%;
    background: var(--color-brand);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
}
.wpcf7 input[type="submit"]:hover  { background: var(--color-brand-dark); }
.wpcf7 input[type="submit"]:active { transform: scale(0.98); }

/* Validation error tip */
.wpcf7-not-valid-tip {
    font-family: var(--font-body);
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    display: block;
}

/* Response output */
.wpcf7-response-output {
    font-family: var(--font-body);
    font-size: 13px;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px !important;
    border-width: 0 !important;
    border-left-width: 3px !important;
    border-style: solid !important;
}
.wpcf7-mail-sent-ok      { background: #f0fdf4; color: #15803d; border-color: #16a34a !important; }
.wpcf7-validation-errors { background: #fef2f2; color: #dc2626; border-color: #dc2626 !important; }
.wpcf7-spam-blocked      { background: #fffbeb; color: #b45309; border-color: #f59e0b !important; }

/* ══════════════════════════════════════════════════════════
   ABOUT US PAGE — yaami.css additions
   ══════════════════════════════════════════════════════════ */

   .mb-80px{
    margin-bottom: 80px;;
   }

.wp-block-columns.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50% + 64px) !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* ══════════════════════════════════════════════════════════
   CART DRAWER — slide-in panel + floating bag button
   ══════════════════════════════════════════════════════════ */

/* Drawer overlay */
#cart-drawer-overlay {
    z-index: 299;
}

/* Drawer panel */
#cart-drawer {
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 100vw;
    z-index: 300;
    display: flex;
    flex-direction: column;
}

/* Drawer header row */
.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.cart-drawer__title {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: var(--color-dark);
}
.cart-drawer__close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--color-dark);
    transition: color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.cart-drawer__close:hover { color: var(--color-brand); }

/* Scrollable items area */
.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
/* Custom scrollbar */
.cart-drawer__body::-webkit-scrollbar { width: 4px; }
.cart-drawer__body::-webkit-scrollbar-track { background: transparent; }
.cart-drawer__body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

/* Footer area */
.cart-drawer__foot {
    flex-shrink: 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-white);
}

/* ── Cart items list ── */
.cart-item-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cart-drawer-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.cart-drawer-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.cart-drawer-item__thumb {
    width: 76px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-light);
}
.cart-drawer-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-drawer-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-drawer-item__name {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-drawer-item__name:hover { color: var(--color-brand); }
.cart-drawer-item__price {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-brand);
}
.cart-drawer-item__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

/* Qty stepper */
.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
}
.cart-qty-control__btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: var(--color-dark);
    transition: color 0.15s, background 0.15s;
    position: relative;
}
.cart-qty-control__btn:hover {
    color: var(--color-brand);
    background: var(--color-brand-tint);
}
.cart-qty-control__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.cart-qty-control__btn.is-loading {
    color: transparent;
    pointer-events: none;
}
.cart-qty-control__btn.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border: 1.5px solid rgba(168, 106, 50, 0.20);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: wl-spin 0.6s linear infinite;
}
.cart-qty-control__val {
    width: 28px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-dark);
    user-select: none;
}

/* Remove link */
.cart-remove-item {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-dark-muted);
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s;
    line-height: 1;
}
.cart-remove-item:hover { color: #c0392b; }

/* ── Empty state ── */
.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 16px;
    text-align: center;
}
.cart-drawer-empty p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-dark-muted);
    margin: 16px 0 24px;
}

/* ── Footer: subtotal + actions ── */
.cart-drawer-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
}
.cart-drawer-subtotal__label,
.cart-drawer-subtotal__amount {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
}
.cart-drawer-subtotal__amount { color: var(--color-brand); }

.cart-drawer-actions {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Make action links full-width */
.cart-drawer-actions .btn-primary,
.cart-drawer-actions .btn-secondary {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.cart-drawer-actions .btn-secondary {
    border: 1.5px solid rgba(28, 29, 29, 0.18);
    box-shadow: 0 1px 4px rgba(28, 29, 29, 0.08);
}

/* ── Floating bag button ── */
#floating-cart-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 48;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-brand);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(168, 106, 50, 0.40);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#floating-cart-btn:hover {
    background: var(--color-brand-dark);
    transform: scale(1.07);
    box-shadow: 0 6px 24px rgba(168, 106, 50, 0.50);
}
/* floating button is position:fixed so children with position:absolute
   are contained within it — badge appears at its top-right corner */

/* ── Cart item variation attributes (Color + Size on same row) ── */
.cart-item-attrs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 4px;
}
.cart-item-attr {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-dark-muted);
    line-height: 1.5;
    white-space: nowrap;
}
.cart-item-attr__label {
    font-weight: 600;
    color: var(--color-dark);
    text-transform: capitalize;
}

/* ══════════════════════════════════════════════════════════
   RAZORPAY RECEIPT PAGE — order-receipt.php + Razorpay output
   ══════════════════════════════════════════════════════════ */

/* Order summary mini-cards grid */
.yaami-order-pay ul.order_details {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.yaami-order-pay ul.order_details li {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.yaami-order-pay ul.order_details li strong {
    display: block;
    margin-top: 6px;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-dark);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

/* Pay Now button (Razorpay's #btn-razorpay) */
.yaami-order-pay #btn-razorpay {
    display: block !important;
    width: 100% !important;
    padding: 15px 24px !important;
    background: var(--color-brand) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    letter-spacing: 0.01em !important;
    margin: 0 !important;
}

.yaami-order-pay #btn-razorpay:hover {
    background: var(--color-brand-dark) !important;
}

/* Cancel button */
.yaami-order-pay #btn-razorpay-cancel {
    display: block !important;
    width: 100% !important;
    padding: 13px 24px !important;
    background: transparent !important;
    color: var(--color-dark-muted) !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: 100px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: border-color 0.2s, color 0.2s !important;
    margin: 12px 0 0 !important;
}

.yaami-order-pay #btn-razorpay-cancel:hover {
    border-color: var(--color-dark-muted) !important;
    color: var(--color-dark) !important;
}

/* "Please wait while we are processing your payment" */
#msg-razorpay-success.woocommerce-info {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    margin: 0 0 16px !important;
}

/* Mobile: stack cards in single column */
@media (max-width: 480px) {
    .yaami-order-pay ul.order_details {
        grid-template-columns: 1fr;
    }
}