/* ============================
   Anywear Apparel — FULL CSS
   (WIDE HEADER like reference)
   + Quick View Modal
   + Product Page (Add to Cart + Buy Now)
   ============================ */

:root{
    --bg-main:#ffffff;
    --bg-light:#fafafa;
    --border-soft:#e5e5e5;

    --text-main:#222222;
    --text-muted:#9b9b9b;

    --accent:#c4a46c;
    --accent-dark:#a48445;

    --danger:#f35d5d;

    /* NEW: separate widths */
    --content-max-width:1220px;   /* main content (products) */
    --header-max-width:1600px;    /* topbar/header/nav/footer width */
    --page-max-width:var(--header-max-width); /* ✅ FIX: used by category nav */
    --gutter:clamp(16px,4vw,60px);
}

/* ===== Reset / base ===== */

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

html,body{ margin:0; padding:0; }

body{
    font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--text-main);
    background-color:var(--bg-main);
}

/* ===========================
   LAYOUT CONTAINERS (UPDATED)
   =========================== */

/* full-bleed bars */
.top-bar,
.site-header,
.main-nav,
.shop-footer{
    width:100%;
}

/* wide header containers */
.top-bar,
.header-inner,
.main-nav,
.shop-footer-inner{
    max-width:var(--header-max-width);
    margin-left:auto;
    margin-right:auto;
    padding-left:var(--gutter);
    padding-right:var(--gutter);
}

/* main content stays readable */
.site-main{
    max-width:var(--content-max-width);
    margin-left:auto;
    margin-right:auto;
    padding-left:var(--gutter);
    padding-right:var(--gutter);
}

/* ===== Top bar ===== */

.top-bar{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    font-size:11px;
    border-bottom:1px solid var(--border-soft);
    background-color:#fdfdfd;
    padding-top:8px;
    padding-bottom:8px;
}

.top-bar-left,
.top-bar-center,
.top-bar-right{
    display:flex;
    align-items:center;
    gap:12px;
}

.top-bar-center{ justify-content:center; }
.top-bar-right{ justify-content:flex-end; }

.top-icon,
.top-link{
    color:var(--text-muted);
    text-decoration:none;
    transition:color .2s ease, transform .2s ease;
}
.top-icon:hover,
.top-link:hover{
    color:var(--text-main);
    transform:translateY(-1px);
}

.top-text{ color:var(--text-muted); }
.divider{ opacity:.4; }

/* ===== Header ===== */

.site-header{
    position:sticky;
    top:0;
    z-index:40;
    background-color:#ffffff;
    transition:box-shadow .2s ease, transform .2s ease, background-color .25s ease;
}
.site-header.scrolled{
    box-shadow:0 4px 16px rgba(0,0,0,.05);
    transform:translateY(-1px);
}

.header-inner{
    display:grid;
    grid-template-columns:260px minmax(300px,1fr) 200px;
    align-items:center;
    gap:30px;
    padding-top:18px;
    padding-bottom:18px;
}

/* Logo */
.logo{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}
.logo-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    background:radial-gradient(circle at 30% 20%, #fbeacb, #c4a46c);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}
.logo-text{
    font-size:22px;
    font-weight:600;
    letter-spacing:.05em;
    text-transform:lowercase;
    color:var(--text-main);
}

/* Search bar */
.search-bar{
    display:flex;
    border-radius:999px;
    border:1px solid var(--border-soft);
    overflow:hidden;
    background-color:#fff;
}
.search-bar input{
    flex:1;
    border:none;
    padding:10px 16px 10px 18px;
    font-size:13px;
    outline:none;
}
.search-bar select{
    border:none;
    border-left:1px solid var(--border-soft);
    padding:0 18px;
    font-size:13px;
    outline:none;
    background-color:transparent;
    cursor:pointer;
}
.search-bar button{
    border:none;
    padding:0 16px;
    background-color:transparent;
    cursor:pointer;
    color:var(--text-muted);
    transition:color .2s ease, background-color .2s ease;
}
.search-bar button:hover{
    color:var(--accent-dark);
    background-color:#faf4ea;
}

/* Header icons */
.header-right{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:18px;
}
.header-icon{
    position:relative;
    text-decoration:none;
    color:var(--text-main);
    font-size:18px;
    transition:transform .2s ease, color .2s ease;
}
.header-icon .badge{
    position:absolute;
    top:-6px;
    right:-8px;
    background-color:var(--accent);
    color:#fff;
    font-size:10px;
    padding:1px 5px;
    border-radius:999px;
}
.header-icon:hover{
    color:var(--accent-dark);
    transform:translateY(-2px);
}

/* ===== Main nav ===== */

.main-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--border-soft);
    padding-top:0;
    padding-bottom:18px;
}
.nav-left{ position:relative; }

.btn-browse{
    display:inline-flex;
    align-items:center;
    gap:10px;
    border:none;
    padding:10px 18px;
    border-radius:999px;
    background-color:#000;
    color:#fff;
    font-size:13px;
    cursor:pointer;
    transition:background-color .2s ease, transform .2s ease;
}
.btn-browse .chevron{ font-size:11px; }
.btn-browse:hover{
    background-color:#333;
    transform:translateY(-1px);
}

.browse-dropdown{
    position:absolute;
    top:44px;
    left:0;
    min-width:220px;
    background-color:#fff;
    border-radius:12px;
    box-shadow:0 10px 26px rgba(0,0,0,.12);
    padding:8px 0;
    opacity:0;
    pointer-events:none;
    transform:translateY(6px);
    transition:opacity .18s ease, transform .18s ease;
}
.browse-dropdown.open{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}
.browse-dropdown a{
    display:block;
    padding:8px 18px;
    font-size:13px;
    color:var(--text-main);
    text-decoration:none;
    transition:background-color .15s ease, padding-left .15s ease;
}
.browse-dropdown a:hover{
    background-color:#fafafa;
    padding-left:24px;
}

.nav-links{
    display:flex;
    align-items:center;
    list-style:none;
    gap:22px;
    margin:0;
    padding:0;
}
.nav-links a{
    text-decoration:none;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--text-main);
    position:relative;
}
.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0;
    height:2px;
    background-color:var(--accent);
    transition:width .2s ease;
}
.nav-links a:hover::after{ width:100%; }

/* ===== Site main ===== */

.site-main{ padding-top:30px; padding-bottom:60px; }

/* ===== Shop hero ===== */

.shop-hero{ margin-bottom:18px; }

.shop-breadcrumb{
    font-size:11px;
    color:var(--text-muted);
    display:flex;
    align-items:center;
    gap:6px;
}
.shop-breadcrumb a{
    color:var(--text-muted);
    text-decoration:none;
}
.shop-breadcrumb a:hover{ color:var(--text-main); }

.shop-title{
    margin:14px 0 0;
    font-size:24px;
    font-weight:500;
}
.shop-title .item-count{
    font-size:13px;
    color:var(--text-muted);
    margin-left:8px;
}

/* ===== Shop layout ===== */

.shop-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:40px;
}

/* Sidebar */
.shop-sidebar{
    border-right:1px solid var(--border-soft);
    padding-right:26px;
    font-size:13px;
}
.sidebar-block{
    border-bottom:1px solid var(--border-soft);
    padding:16px 0;
}
.sidebar-title{
    margin:0;
    font-size:12px;
    font-weight:500;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.sidebar-title .count{
    color:var(--text-muted);
    font-size:12px;
}
.pill{
    padding:3px 8px;
    border-radius:999px;
    border:1px solid var(--border-soft);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.16em;
}
.pill-sale{ border-color:var(--danger); color:var(--danger); }

.sidebar-toggle{
    width:100%;
    background:none;
    border:none;
    padding:0;
    font:inherit;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}
.sidebar-toggle .sidebar-icon{ margin-right:8px; }
.sidebar-toggle .count{
    color:var(--text-muted);
    font-size:12px;
    margin-right:10px;
}
.sidebar-toggle .caret{
    font-size:11px;
    color:var(--text-muted);
    transition:transform .18s ease;
}
.sidebar-toggle.open .caret{ transform:rotate(180deg); }

.sidebar-list{
    list-style:none;
    padding:10px 0 0;
    margin:0;
    max-height:0;
    overflow:hidden;
    transition:max-height .2s ease;
}
.sidebar-list.is-open{ max-height:300px; }

.sidebar-list li a{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
    font-size:12px;
    text-decoration:none;
    color:var(--text-muted);
}
.sidebar-list li a span{ color:var(--text-muted); }
.sidebar-list li a:hover{ color:var(--text-main); }

/* Shop main */
.shop-main{ display:flex; flex-direction:column; }

/* Controls */
.shop-controls{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
    font-size:13px;
}
.filter-btn{
    border:none;
    background:none;
    font:inherit;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--text-main);
}
.sort-view{
    display:flex;
    align-items:center;
    gap:16px;
}
.sort-label select{
    margin-left:6px;
    border-radius:999px;
    border:1px solid var(--border-soft);
    padding:6px 28px 6px 12px;
    font-size:12px;
    background-color:#fff;
}
.view-toggle{ display:flex; gap:8px; }
.view-btn{
    width:32px;
    height:32px;
    border-radius:999px;
    border:1px solid transparent;
    background-color:transparent;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--text-muted);
    transition:background-color .15s ease, border-color .15s ease, color .15s ease;
}
.view-btn.active{
    border-color:var(--accent);
    color:var(--accent-dark);
}

/* Category hero image */
.category-hero{
    margin-bottom:24px;
    border-radius:16px;
    overflow:hidden;
    background:#f3f4f6;
}
.category-hero img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
}

.shop-toolbar{
    margin-bottom:16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

/* ===== Keyframes ===== */

@keyframes heroFadeIn{
    from{ opacity:0; transform:scale(1.03); }
    to{ opacity:1; transform:scale(1); }
}

/* ===== Products ===== */

.product-list{
    display:grid;
    gap:40px;
}
.product-list.grid-view{
    grid-template-columns:repeat(3, minmax(0,1fr));
}
.product-list.list-view{
    grid-template-columns:minmax(0,1fr);
}

.product-card{
    background-color:#fff;
    border-radius:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease;
    will-change:transform;
}
.product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 35px rgba(0,0,0,.06);
}

/* image area */
.product-image{
    position:relative;
    overflow:hidden;
    background-color:#f8f8f8;
}
.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}
.product-card:hover .product-image img{ transform:scale(1.04); }

/* "NEW!" label */
.product-label{
    position:absolute;
    top:10px;
    left:10px;
    padding:4px 10px;
    font-size:10px;
    letter-spacing:.16em;
    text-transform:uppercase;
    background-color:#000;
    color:#fff;
}

/* floating action buttons (wishlist + quick view) */
.product-fab-group{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%) translateX(10px);
    display:flex;
    flex-direction:column;
    gap:8px;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
}

/* cart wrap (button + label) */
.product-fab-cart-wrap{
    position:absolute;
    right:14px;
    bottom:14px;
    display:flex;
    align-items:center;
    gap:10px;

    transform:translateY(8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
}

/* label beside cart button */
.add-to-cart-label{
    padding:6px 16px;
    border-radius:999px;
    background-color:var(--accent);
    color:#fff;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.16em;
    white-space:nowrap;

    opacity:0;
    transform:translateX(6px);
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
}

/* show label on hover of cart area */
.product-fab-cart-wrap:hover .add-to-cart-label{
    opacity:1;
    transform:translateX(0);
}

/* base fab style */
.product-fab{
    width:36px;
    height:36px;
    border-radius:50%;
    border:none;
    background-color:rgba(255,255,255,.96);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 18px rgba(0,0,0,.12);
    cursor:pointer;
    font-size:14px;
    color:#333;
    transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.product-fab:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(0,0,0,.15);
    background-color:#fff;
}

/* OPTIONAL tooltip using data-label (if you add data-label in Blade) */
.product-fab-group .product-fab[data-label]{ position:relative; }
.product-fab-group .product-fab[data-label]::before{
    content:attr(data-label);
    position:absolute;
    right:46px;
    top:50%;
    transform:translateY(-50%) translateX(6px);
    padding:6px 16px;
    border-radius:999px;
    background-color:var(--accent);
    color:#fff;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.16em;
    white-space:nowrap;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
}
.product-fab-group .product-fab[data-label]:hover::before{
    opacity:1;
    transform:translateY(-50%) translateX(0);
}

/* show fabs on hover */
.product-card:hover .product-fab-group,
.product-card:hover .product-fab-cart-wrap{
    opacity:1;
    pointer-events:auto;
}
.product-card:hover .product-fab-group{
    transform:translateY(-50%) translateX(0);
}
.product-card:hover .product-fab-cart-wrap{
    transform:translateY(0);
}

/* info area */
.product-info{ padding:10px 4px 0; }
.product-name{
    margin:12px 0 4px;
    font-size:13px;
    font-weight:400;
}
.product-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:11px;
    padding-bottom:16px;
}
.product-price .current{
    font-size:13px;
    font-weight:500;
}
.product-rating{
    display:inline-flex;
    gap:2px;
    color:#d8b46b;
    font-size:11px;
}

/* list view */
.product-list.list-view .product-card{ flex-direction:row; }
.product-list.list-view .product-image{
    width:260px;
    flex-shrink:0;
}
.product-list.list-view .product-info{ padding:18px 16px; }

/* product grid breakpoints */
@media (max-width:1024px){
    .product-list.grid-view{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/* ===== Mobile layout ===== */

@media (max-width:992px){
    .shop-title{ font-size:20px; }
}

@media (max-width:768px){

    .top-bar{ display:none; }

    /* Header: MENU | logo | icons */
    .header-inner{
        max-width:var(--header-max-width);
        margin:0 auto;
        padding:10px 16px;
        display:grid;
        grid-template-columns:auto 1fr auto;
        align-items:center;
        column-gap:16px;
        row-gap:0;
    }

    .mobile-menu-btn{ display:inline-flex; }

    .logo{ justify-self:center; }
    .logo-text{ display:none; }

    .header-right{
        justify-self:flex-end;
        gap:14px;
    }

    .search-bar{ display:none; }
    .main-nav{ display:none; }

    .site-main{
        padding-left:16px;
        padding-right:16px;
        padding-top:16px;
        padding-bottom:16px;
    }

    .shop-layout{
        grid-template-columns:minmax(0,1fr);
        gap:24px;
    }
    .shop-sidebar{ display:none; }

    .category-hero img{ height:240px; }

    .shop-controls{
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        gap:8px;
        margin-bottom:12px;
    }

    .sort-view{ gap:10px; }
    .sort-label select{
        padding:6px 22px 6px 10px;
        font-size:11px;
    }

    /* 2 products per row */
    .product-list.grid-view{
        grid-template-columns:repeat(2, minmax(0,1fr));
        column-gap:12px;
        row-gap:20px;
    }

    .product-image img{
        width:100%;
        aspect-ratio:3/4;
        height:auto;
        object-fit:cover;
    }

    .product-name{ font-size:12px; }
    .product-meta{ font-size:11px; }

    .product-card{ box-shadow:none; }

    /* hide hover-only labels on mobile */
    .add-to-cart-label{ display:none; }
}

/* mobile menu button */
.mobile-menu-btn{
    display:none;
    align-items:center;
    gap:6px;
    border:none;
    background:transparent;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.16em;
    color:var(--text-main);
    cursor:pointer;
}

.mobile-menu-icon{
    position:relative;
    width:18px;
    height:14px;
}
.mobile-menu-icon::before,
.mobile-menu-icon::after,
.mobile-menu-icon span{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:2px;
    background:var(--text-main);
    border-radius:2px;
}
.mobile-menu-icon::before{ top:0; }
.mobile-menu-icon span{ top:6px; }
.mobile-menu-icon::after{ bottom:0; }

/* Mobile slide-down panel */
.mobile-menu-panel{ display:none; }

@media (max-width:768px){
    .mobile-menu-panel{
        position:fixed;
        top:56px;
        left:0;
        right:0;
        background-color:#ffffff;
        box-shadow:0 12px 30px rgba(0,0,0,.14);
        max-height:0;
        overflow:hidden;
        transition:max-height .25s ease;
        z-index:39;
        display:block;
    }
    .mobile-menu-panel.open{ max-height:320px; }

    .mobile-menu-inner{
        padding:12px 18px 16px;
        font-size:13px;
    }
    .mobile-menu-section + .mobile-menu-section{
        margin-top:10px;
        padding-top:10px;
        border-top:1px solid var(--border-soft);
    }
    .mobile-menu-label{
        margin:0 0 6px;
        font-size:11px;
        text-transform:uppercase;
        letter-spacing:.14em;
        color:var(--text-muted);
    }
    .mobile-menu-section a{
        display:block;
        padding:6px 0;
        color:var(--text-main);
        text-decoration:none;
    }
    .mobile-menu-section a:hover{ color:var(--accent-dark); }
}

/* =================================
   HOME HERO (CROSSFADE + HEIGHT FIX)
   ================================= */

.home-hero{ margin-bottom:40px; }

/* big banner container */
.home-hero-main{
    position:relative;
    overflow:hidden;
    background:#f3f4f6;
    margin-bottom:16px;
    min-height:clamp(420px, 65vh, 720px);
}

/* slides (absolute crossfade) */
.home-hero-slide{
    position:absolute;
    inset:0;
    display:block;
    opacity:0;
    pointer-events:none;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    transition:opacity .55s ease;
    transform:scale(1.02);
}
.home-hero-slide.is-active{
    opacity:1;
    pointer-events:auto;
    animation:heroFadeIn .55s ease both;
}

/* overlay + content */
.home-hero-overlay{
    width:100%;
    height:100%;
    background:linear-gradient(120deg, rgba(0,0,0,.70), rgba(0,0,0,.10));
    display:flex;
    align-items:center;
    padding:40px 36px;
    color:#fff;
}
.home-hero-content{ max-width:420px; }

.home-hero-eyebrow{
    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:11px;
    margin-bottom:10px;
    opacity:.8;
}
.home-hero-title{
    font-size:32px;
    line-height:1.2;
    margin:0 0 18px;
    font-weight:600;
}

/* hero button polish */
.home-hero-btn{
    display:inline-flex;
    align-items:center;
    padding:10px 20px;
    border-radius:999px;
    background:#000;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
    transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.home-hero-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(0,0,0,.18);
    background-color:#111;
}
.home-hero-btn:active{ transform:translateY(0); }

/* slide list below hero */
.home-hero-slide-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* base pill */
.hero-slide-pill{
    border:1px solid var(--border-soft);
    background-color:#fff;
    border-radius:999px;
    padding:6px 14px;
    font-size:12px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:6px;

    position:relative;
    overflow:hidden;
    transform:translateZ(0);
    will-change:transform, box-shadow;
    outline:none;

    transition:
        transform .22s cubic-bezier(.2,.8,.2,1),
        box-shadow .22s cubic-bezier(.2,.8,.2,1),
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.hero-slide-pill .hero-pill-text{ white-space:nowrap; }
.hero-pill-dot{
    width:8px;
    height:8px;
    border-radius:999px;
    background-color:var(--border-soft);
    transition:transform .22s cubic-bezier(.2,.8,.2,1), background-color .18s ease;
}

/* active */
.hero-slide-pill.is-active{
    background-color:#000;
    color:#fff;
    border-color:#000;
    box-shadow:0 10px 22px rgba(0,0,0,.10);
}
.hero-slide-pill.is-active .hero-pill-dot{ background-color:#fff; }

/* hover highlight layer */
.hero-slide-pill::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(196,164,108,.08), rgba(0,0,0,.04));
    opacity:0;
    transition:opacity .18s ease;
    pointer-events:none;
}

/* ripple sweep */
.hero-slide-pill::after{
    content:"";
    position:absolute;
    top:-40%;
    left:-60%;
    width:60%;
    height:180%;
    background:radial-gradient(circle, rgba(196,164,108,.20), transparent 55%);
    transform:translateX(0);
    opacity:0;
    pointer-events:none;
}

@keyframes pillSweep{
    from{ transform:translateX(0); opacity:0; }
    20%{ opacity:1; }
    to{ transform:translateX(260%); opacity:0; }
}

/* hover / focus */
.hero-slide-pill:hover,
.hero-slide-pill:focus-visible{
    transform:translateY(-2px) scale(1.01);
    border-color:rgba(196,164,108,.55);
    box-shadow:0 14px 28px rgba(0,0,0,.08);
}
.hero-slide-pill:hover::before,
.hero-slide-pill:focus-visible::before{ opacity:1; }

.hero-slide-pill:hover::after,
.hero-slide-pill:focus-visible::after{ animation:pillSweep .7s ease-out; }

.hero-slide-pill:hover .hero-pill-dot,
.hero-slide-pill:focus-visible .hero-pill-dot{
    transform:scale(1.45);
    background-color:var(--accent);
}

/* micro text shift */
.hero-slide-pill .hero-pill-text{
    transition:transform .22s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
}
.hero-slide-pill:hover .hero-pill-text,
.hero-slide-pill:focus-visible .hero-pill-text{
    transform:translateX(1px);
}

/* active shimmer pulse */
.hero-slide-pill.is-active::after{
    opacity:1;
    animation:pillSweep 1.2s ease-out;
}

/* press feedback */
.hero-slide-pill:active{
    transform:translateY(0) scale(.99);
    box-shadow:0 8px 16px rgba(0,0,0,.08);
}

/* focus ring */
.hero-slide-pill:focus-visible{
    box-shadow:
        0 14px 28px rgba(0,0,0,.08),
        0 0 0 3px rgba(196,164,108,.25);
}

/* reduce motion */
@media (prefers-reduced-motion:reduce){
    .home-hero-slide,
    .hero-slide-pill,
    .hero-slide-pill::before,
    .hero-slide-pill::after,
    .hero-pill-dot,
    .hero-slide-pill .hero-pill-text{
        transition:none !important;
        animation:none !important;
    }
}

@media (max-width:768px){
    .home-hero-overlay{ padding:26px 20px; }
    .home-hero-title{ font-size:22px; }

    .home-hero-main{ min-height:clamp(320px, 52vh, 520px); }

    .home-hero-slide-list{ gap:6px; }
    .hero-slide-pill{
        font-size:11px;
        padding:5px 10px;
    }
}

/* ===== Big category hero blocks (below product rows) ===== */

.home-category-hero{ margin-top:48px; }

.home-category-hero-inner{
    border-radius:24px;
    overflow:hidden;
    background-color:#f3f4f6;
    display:grid;
    grid-template-columns:minmax(0,420px) minmax(0,1fr);
    align-items:stretch;
}

/* text side */
.home-category-hero-text{
    padding:56px 52px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.home-category-hero-title{
    font-size:28px;
    line-height:1.25;
    font-weight:500;
    margin:0 0 14px;
}
.home-category-hero-body{
    font-size:13px;
    line-height:1.7;
    color:var(--text-muted);
    max-width:360px;
    margin:0 0 22px;
}

.home-category-hero-link{
    display:inline-flex;
    flex-direction:column;
    gap:4px;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.18em;
    text-decoration:none;
    color:var(--text-main);
}
.home-category-hero-link .underline{
    display:block;
    width:70px;
    height:2px;
    background-color:#000;
    transition:width .2s ease;
}
.home-category-hero-link:hover .underline{ width:96px; }

/* image side */
.home-category-hero-image{
    position:relative;
    padding:34px 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ffffff;
}
.home-category-hero-image::before{
    content:"";
    position:absolute;
    left:10%;
    right:8%;
    top:14%;
    bottom:10%;
    background:#f3f3f3;
}
.home-category-hero-image img{
    position:relative;
    max-width:100%;
    height:auto;
    display:block;
    transform:translateY(6px);
}

/* Responsive tweaks */
@media (max-width:1024px){
    .home-category-hero-inner{
        grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
    }
    .home-category-hero-text{ padding:40px 32px; }
}
@media (max-width:768px){
    .home-category-hero-inner{ grid-template-columns:minmax(0,1fr); }
    .home-category-hero-text{ padding:28px 22px 18px; }
    .home-category-hero-title{ font-size:22px; }
    .home-category-hero-body{ max-width:none; }
    .home-category-hero-image{ padding:22px 18px 30px; }
    .home-category-hero-image::before{
        left:6%;
        right:6%;
        top:10%;
        bottom:6%;
    }
}

/* ===== Home full-width layout ===== */

.home-full .site-main{
    max-width:100%;
    margin-left:0;
    margin-right:0;
    padding:30px 0 60px;
}

/* Align home sections with header gutter */
.home-full .home-hero,
.home-full .home-featured-products,
.home-full .home-category-hero{
    padding-left:var(--gutter);
    padding-right:var(--gutter);
}

/* Hero can be full-bleed */
.home-full .home-hero-main{ border-radius:0; }

/* ===== Home product rows ===== */

.home-featured-products{ margin-top:40px; }

.home-featured-head{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    margin-bottom:18px;
    gap:16px;
}
.home-featured-head h3{
    font-size:18px;
    font-weight:500;
    margin:0;
}
.home-featured-subtitle{
    margin:4px 0 0;
    font-size:13px;
    color:var(--text-muted);
    max-width:360px;
}
.home-featured-link{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.16em;
    text-decoration:none;
    color:var(--text-main);
    display:inline-flex;
    align-items:center;
    gap:6px;
}
.home-featured-link i{
    font-size:11px;
    transform:translateY(1px);
}
.home-featured-link:hover{ color:var(--accent-dark); }

/* tighter home grid */
.home-featured-products .product-list{ gap:28px; }

@media (max-width:768px){
    .home-featured-products{ margin-top:26px; }
    .home-featured-products .product-list.grid-view{
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:16px;
    }
}

/* ===== Footer ===== */

.shop-footer{
    border-top:1px solid var(--border-soft);
    background-color:#ffffff;
    margin-top:60px;
    padding:40px 0 30px;
}

.shop-footer-top{
    display:grid;
    grid-template-columns:minmax(0,2.2fr) repeat(3, minmax(0,1fr));
    column-gap:80px;
    row-gap:32px;
    padding-bottom:34px;
    border-bottom:1px solid var(--border-soft);
    align-items:flex-start;
}

/* Search box */
.shop-footer-search{ max-width:320px; }

.footer-search-inner{
    display:flex;
    align-items:center;
    gap:8px;
    padding-bottom:6px;
    border-bottom:1px solid var(--border-soft);
}
.footer-search-inner input{
    flex:1;
    border:none;
    outline:none;
    font-size:13px;
    padding:0;
    background:transparent;
    color:var(--text-main);
}
.footer-search-inner input::placeholder{ color:var(--text-muted); }
.footer-search-inner button{
    border:none;
    background:transparent;
    cursor:pointer;
    color:var(--text-muted);
    font-size:14px;
}

/* Columns */
.shop-footer-col{ font-size:13px; }
.shop-footer-heading{
    margin:0 0 10px;
    font-size:13px;
    font-weight:500;
}
.shop-footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}
.shop-footer-col li + li{ margin-top:6px; }
.shop-footer-col a{
    text-decoration:none;
    color:var(--text-muted);
    font-size:13px;
}
.shop-footer-col a:hover{ color:var(--text-main); }

/* Bottom row */
.shop-footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding-top:18px;
    font-size:12px;
}
.shop-footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}
.shop-footer-links a{
    text-decoration:none;
    color:var(--text-main);
    font-size:12px;
}
.shop-footer-links a:hover{ color:var(--accent-dark); }

.shop-footer-copy{
    margin:0;
    color:var(--text-muted);
    font-size:12px;
    text-align:right;
}

/* Footer responsive */
@media (max-width:1024px){
    .shop-footer-top{ column-gap:40px; }
}
@media (max-width:768px){
    .shop-footer-top{
        grid-template-columns:minmax(0,1fr);
        row-gap:24px;
    }
    .shop-footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
    .shop-footer-copy{ text-align:left; }
}

/* ===== Quick View Modal ===== */
body.qv-open{ overflow:hidden; }

.qv-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease;
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.qv-overlay.open{
    opacity:1;
    pointer-events:auto;
}

.qv-modal{
    width:min(980px, 96vw);
    max-height:88vh;
    background:#fff;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.20);
    overflow:auto;
}

.qv-close{
    position:absolute;
    right:14px;
    top:10px;
    border:none;
    background:transparent;
    font-size:26px;
    cursor:pointer;
    color:#111;
    line-height:1;
}

.qv-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
}

.qv-media{
    padding:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}

.qv-media img{
    width:100%;
    max-width:520px;
    height:auto;
    object-fit:contain;
    display:block;
}

.qv-info{
    padding:28px 28px 24px;
    background:#fff;
}

.qv-title{
    margin:0 0 10px;
    font-size:22px;
    font-weight:500;
}

.qv-price{
    font-size:22px;
    font-weight:600;
    margin-bottom:14px;
}

.qv-desc{
    margin:0 0 14px;
    font-size:13px;
    line-height:1.7;
    color:var(--text-muted);
    max-width:420px;
}

.qv-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#111;
    font-size:13px;
    margin-bottom:18px;
}
.qv-link:hover{ color:var(--accent-dark); }

.qv-actions{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:10px;
    margin-top:6px;
}

.qv-qty{
    display:flex;
    border:1px solid var(--border-soft);
    height:44px;
}

.qv-qty-btn{
    width:38px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:18px;
}

.qv-qty input{
    width:44px;
    border:none;
    text-align:center;
    outline:none;
    font-size:13px;
}

.qv-add{
    height:44px;
    border:none;
    background:#000;
    color:#fff;
    cursor:pointer;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}
.qv-add:hover{ background:#111; }

.qv-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:14px;
    font-size:13px;
}

.qv-wishlist{
    border:none;
    background:transparent;
    cursor:pointer;
    color:#111;
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.qv-wishlist:hover{ color:var(--accent-dark); }

.qv-share{
    display:flex;
    align-items:center;
    gap:10px;
    color:#111;
}
.qv-share a{
    color:#111;
    text-decoration:none;
    font-size:14px;
}
.qv-share a:hover{ color:var(--accent-dark); }

.qv-cats{
    margin-top:14px;
    font-size:12px;
    color:var(--text-muted);
}

@media (max-width:768px){
    .qv-grid{ grid-template-columns:1fr; }
    .qv-media{ padding:18px; }
    .qv-info{ padding:18px; }
    .qv-actions{ grid-template-columns:1fr; }
}

/* ===== Product Page ===== */
.product-page{ padding:10px 0 40px; }

.product-page-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
    gap:60px;
    align-items:start;
}

.pp-main-img{
    background:#f3f4f6;
    padding:30px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.pp-main-img img{
    width:100%;
    max-width:520px;
    height:auto;
    object-fit:contain;
    display:block;
}

.pp-title{ margin:0 0 10px; font-size:22px; font-weight:500; }
.pp-price{ font-size:22px; font-weight:600; margin-bottom:14px; }

.pp-desc{
    margin:0 0 18px;
    font-size:13px;
    line-height:1.7;
    color:var(--text-muted);
    max-width:420px;
}

/* UPDATED: qty + add to cart + buy now */
.pp-actions{
    display:grid;
    grid-template-columns:120px 1fr 1fr; /* qty | add to cart | buy now */
    gap:10px;
    margin:10px 0 12px;
}

/* if you wrap buttons in <form class="pp-form"> ... */
.pp-form{ margin:0; }

/* qty */
.pp-qty{
    display:flex;
    border:1px solid var(--border-soft);
    height:44px;
}
.pp-qty-btn{
    width:38px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:18px;
}
.pp-qty input{
    width:44px;
    border:none;
    text-align:center;
    outline:none;
    font-size:13px;
    -moz-appearance:textfield;
}
.pp-qty input::-webkit-outer-spin-button,
.pp-qty input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

/* buttons */
.pp-btn{
    height:44px;
    border:none;
    cursor:pointer;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
}

.pp-btn-cart{
    background:#000;
    color:#fff;
}
.pp-btn-cart:hover{ background:#111; }

.pp-btn-buy{
    background:var(--accent);
    color:#fff;
}
.pp-btn-buy:hover{ background:var(--accent-dark); }

.pp-meta-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    font-size:13px;
    margin-top:6px;
}

.pp-wishlist{
    border:none;
    background:transparent;
    cursor:pointer;
    display:inline-flex;
    gap:8px;
    color:#111;
}
.pp-wishlist:hover{ color:var(--accent-dark); }

.pp-share{ display:flex; align-items:center; gap:10px; }
.pp-share a{ color:#111; text-decoration:none; }
.pp-share a:hover{ color:var(--accent-dark); }

/* Accordion */
.pp-accordion{ margin-top:20px; border-top:1px solid var(--border-soft); }
.pp-acc-head{
    width:100%;
    border:none;
    background:#fff;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid var(--border-soft);
    font-size:13px;
}
.pp-acc-body{
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    color:var(--text-muted);
    font-size:13px;
    line-height:1.7;
}
.pp-acc-body.open{ max-height:520px; padding-bottom:14px; }

.pp-cats{ margin-top:12px; font-size:12px; color:var(--text-muted); }

/* Related */
.related-products{ padding:30px 0 0; }
.related-title{ margin:0 0 18px; font-size:18px; font-weight:500; }

@media (max-width:768px){
    .product-page-grid{ grid-template-columns:1fr; gap:20px; }
    .pp-actions{ grid-template-columns:1fr; }
}
/* ============================
   CART + CHECKOUT (Anywear Apparel)
   ============================ */

/* shared */
.btn-black{
    height:44px;
    border:none;
    background:#000;
    color:#fff;
    cursor:pointer;
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
    padding:0 18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-black:hover{
    background:#111;
    transform:translateY(-1px);
    box-shadow:0 14px 28px rgba(0,0,0,.12);
}
.btn-link{
    border:none;
    background:transparent;
    cursor:pointer;
    color:var(--text-muted);
    font-size:12px;
    letter-spacing:.12em;
    text-transform:uppercase;
    padding:0;
}
.btn-link:hover{ color:var(--accent-dark); }

.card-soft{
    border:1px solid var(--border-soft);
    background:#fff;
}

.input-line{
    border:none;
    border-bottom:1px solid var(--border-soft);
    background:transparent;
    outline:none;
    font-size:13px;
    padding:10px 0;
    width:100%;
}
.input-line::placeholder{ color:var(--text-muted); }

/* ============================
   CART
   ============================ */

.cart-page{ padding:10px 0 40px; }
.cart-title{
    font-size:22px;
    font-weight:500;
    margin:0 0 18px;
}

.cart-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.55fr) minmax(0, .95fr);
    gap:50px;
    align-items:start;
}

/* cart table */
.cart-table{
    width:100%;
    border-collapse:collapse;
}
.cart-table th{
    text-align:left;
    font-size:11px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:var(--text-muted);
    padding:12px 0;
    border-bottom:1px solid var(--border-soft);
}
.cart-table td{
    padding:18px 0;
    border-bottom:1px solid var(--border-soft);
    vertical-align:middle;
}

.cart-remove{
    width:34px;
    height:34px;
    border-radius:999px;
    border:1px solid var(--border-soft);
    background:#fff;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:transform .18s ease, border-color .18s ease;
}
.cart-remove:hover{
    transform:translateY(-1px);
    border-color:rgba(0,0,0,.25);
}

.cart-prod{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:260px;
}
.cart-prod img{
    width:64px;
    height:64px;
    object-fit:cover;
    background:#f3f4f6;
    border:1px solid var(--border-soft);
}
.cart-prod-title{
    font-size:13px;
    font-weight:400;
    margin:0;
}
.cart-prod-meta{
    font-size:12px;
    color:var(--text-muted);
    margin-top:4px;
}

/* qty control (re-use style idea) */
.cart-qty{
    display:inline-flex;
    border:1px solid var(--border-soft);
    height:40px;
}
.cart-qty button{
    width:36px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:18px;
}
.cart-qty input{
    width:44px;
    border:none;
    text-align:center;
    outline:none;
    font-size:13px;
    background:#fff;
}

/* coupon + update row */
.cart-actions{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    padding-top:18px;
}
.cart-coupon{
    width:min(420px, 100%);
}
.cart-coupon label{
    display:block;
    font-size:11px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--text-muted);
    margin-bottom:6px;
}
.cart-coupon-row{
    display:flex;
    gap:14px;
    align-items:center;
}
.cart-coupon-row .btn-link{
    white-space:nowrap;
    padding-bottom:10px; /* align with underline input */
}

/* totals box */
.cart-totals{
    padding:22px 22px 20px;
}
.cart-totals h3{
    margin:0 0 14px;
    font-size:16px;
    font-weight:500;
}
.cart-totals-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid var(--border-soft);
    font-size:13px;
}
.cart-totals-line span:first-child{ color:var(--text-muted); }

.cart-shipping{
    padding:12px 0 8px;
}
.cart-shipping .ship-title{
    font-size:13px;
    color:var(--text-muted);
    margin-bottom:10px;
}
.ship-opt{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    padding:6px 0;
}
.ship-opt input{ accent-color: var(--accent-dark); }

.cart-total{
    padding:18px 0 16px;
    display:flex;
    align-items:baseline;
    justify-content:space-between;
}
.cart-total .label{
    font-size:13px;
    color:var(--text-muted);
}
.cart-total .value{
    font-size:28px;
    font-weight:500;
    letter-spacing:.02em;
}

.cart-totals .btn-black{
    width:100%;
    margin-top:10px;
}
.cart-totals .continue{
    width:100%;
    margin-top:12px;
    text-align:center;
}

/* ============================
   CHECKOUT
   ============================ */

.checkout-page{ padding:10px 0 40px; }

.checkout-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.25fr) minmax(0, .95fr);
    gap:50px;
    align-items:start;
}

.checkout-card{
    padding:18px 22px 22px;
}
.checkout-title{
    margin:0 0 14px;
    font-size:18px;
    font-weight:500;
}

.form-grid-2{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:18px;
}
.form-row{ margin-top:16px; }
.form-row label{
    display:block;
    font-size:11px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--text-muted);
    margin-bottom:6px;
}
.select-line{
    width:100%;
    border:none;
    border-bottom:1px solid var(--border-soft);
    padding:10px 0;
    background:transparent;
    outline:none;
    font-size:13px;
    color:var(--text-main);
}
textarea.input-area{
    border:1px solid var(--border-soft);
    padding:12px 12px;
    font-size:13px;
    width:100%;
    min-height:90px;
    resize:vertical;
    outline:none;
}

/* order summary (right) */
.order-summary h3{
    margin:0 0 14px;
    font-size:18px;
    font-weight:500;
}
.order-lines{
    border-top:1px solid var(--border-soft);
    border-bottom:1px solid var(--border-soft);
}
.order-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 0;
    font-size:13px;
}
.order-line .muted{ color:var(--text-muted); }
.order-line + .order-line{ border-top:1px solid rgba(229,229,229,.7); }

.order-total{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    padding:18px 0 14px;
}
.order-total .label{ color:var(--text-muted); font-size:13px; }
.order-total .value{ font-size:28px; font-weight:500; }

.payment-methods{
    border-top:1px solid var(--border-soft);
    padding-top:14px;
}
.pay-opt{
    display:flex;
    gap:10px;
    padding:10px 0;
    align-items:flex-start;
}
.pay-opt input{ margin-top:3px; accent-color: var(--accent-dark); }
.pay-opt .pay-name{ font-size:13px; }
.pay-opt .pay-desc{
    font-size:12px;
    color:var(--text-muted);
    margin-top:6px;
    line-height:1.6;
}

.checkout-terms{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-top:12px;
    font-size:12px;
    color:var(--text-muted);
}
.checkout-terms a{ color:var(--accent-dark); text-decoration:none; }
.checkout-terms a:hover{ text-decoration:underline; }

.place-order{
    width:100%;
    margin-top:14px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width:1024px){
    .cart-grid,
    .checkout-grid{
        grid-template-columns:1fr;
        gap:26px;
    }
}

@media (max-width:768px){
    .cart-table thead{ display:none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td{ display:block; width:100%; }
    .cart-table tr{ border-bottom:1px solid var(--border-soft); padding:10px 0; }
    .cart-table td{ border:none; padding:10px 0; }

    .cart-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .form-grid-2{ grid-template-columns:1fr; }
}
.pp-form{ display:contents; }
.pp-buy{ background:var(--accent) !important; }
.pp-buy:hover{ background:var(--accent-dark) !important; }
.cart-save{
    text-align:right;
    font-size:12px;
    color:var(--text-muted);
    min-height:18px;
}
/* =========================
   CART + CHECKOUT (CLEAN)
   ========================= */

.card-soft{
    border:1px solid var(--border-soft);
    background:#fff;
}

.btn-dark{
    border:none;
    background:#000;
    color:#fff;
    height:46px;
    padding:0 18px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-decoration:none;
}
.btn-dark:hover{ background:#111; }

.btn-block{ width:100%; }

.btn-link{
    display:inline-flex;
    margin-top:12px;
    color:var(--text-muted);
    text-decoration:none;
    font-size:12px;
}
.btn-link:hover{ color:var(--text-main); }

.btn-outline{
    height:42px;
    padding:0 16px;
    border:1px solid var(--border-soft);
    background:#fff;
    cursor:pointer;
}
.btn-outline:hover{ border-color:#d1d1d1; }

/* CART */
.cart-page{ padding:10px 0 50px; }

.cart-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 360px;
    gap:22px;
    align-items:start;
}

.cart-card{ padding:18px; }

.cart-rows{ display:flex; flex-direction:column; gap:16px; }

.cart-row{
    display:grid;
    grid-template-columns:28px 84px minmax(0, 1fr) 140px 160px;
    gap:14px;
    align-items:center;
    padding-bottom:16px;
    border-bottom:1px solid var(--border-soft);
}

.cart-remove-x{
    width:28px; height:28px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:22px;
    line-height:1;
    color:#111;
    opacity:.7;
}
.cart-remove-x:hover{ opacity:1; }

.cart-img{
    width:84px; height:108px;
    object-fit:cover;
    background:#f3f4f6;
}

.cart-name{ font-weight:500; font-size:13px; margin-bottom:6px; }
.cart-price{ color:var(--text-muted); font-size:12px; }

.cart-qty{ display:flex; gap:8px; align-items:center; justify-content:flex-end; }

.cart-qty-input{
    width:88px; height:42px;
    border:1px solid var(--border-soft);
    text-align:center;
    outline:none;
    font-size:13px;
}

.cart-line-total{
    text-align:right;
    font-weight:600;
    font-size:13px;
}

.cart-actions{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding-top:14px;
}

.cart-coupon{
    display:flex;
    gap:10px;
    flex:1;
}
.cart-coupon input{
    flex:1;
    height:42px;
    border:1px solid var(--border-soft);
    padding:0 12px;
    outline:none;
    background:#fafafa;
}

.cart-totals-title{
    margin:0 0 12px;
    font-size:14px;
    font-weight:600;
}

.totals-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid var(--border-soft);
    font-size:13px;
}
.totals-big{
    border-bottom:none;
    padding-top:14px;
    font-size:14px;
}

@media (max-width: 980px){
    .cart-grid{ grid-template-columns:minmax(0,1fr); }
    .cart-row{
        grid-template-columns:28px 84px minmax(0, 1fr);
        grid-auto-rows:auto;
    }
    .cart-qty, .cart-line-total{ justify-content:flex-start; text-align:left; }
    .cart-row .cart-qty{ grid-column: 2 / -1; }
    .cart-row .cart-line-total{ grid-column: 2 / -1; }
}

/* CHECKOUT */
.checkout-page{ padding:10px 0 50px; }

.checkout-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 380px;
    gap:22px;
    align-items:start;
}

.checkout-card{ padding:18px; }

.checkout-title{
    margin:0 0 14px;
    font-size:14px;
    font-weight:600;
}

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

.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-size:12px; color:var(--text-muted); }

.form-row input, .form-row textarea, .form-row select{
    height:44px;
    border:1px solid var(--border-soft);
    padding:0 12px;
    outline:none;
    font-size:13px;
    background:#fff;
}
.form-row textarea{
    height:auto;
    min-height:90px;
    padding:10px 12px;
    resize:vertical;
}

.form-row.full{ grid-column:1 / -1; }

.order-row{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid var(--border-soft);
    font-size:13px;
}
.order-total{
    display:flex;
    justify-content:space-between;
    padding-top:12px;
    font-weight:700;
    font-size:14px;
    border-bottom:none;
}

@media (max-width: 980px){
    .checkout-grid{ grid-template-columns:minmax(0,1fr); }
    .form-grid-2{ grid-template-columns:1fr; }
}
.cart-qty{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    border:1px solid var(--border-soft);
    height:42px;
    width:max-content;
    background:#fff;
}

.cart-qty-btn{
    width:42px;
    height:40px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:18px;
    line-height:1;
    color:#111;
    opacity:.85;
}
.cart-qty-btn:hover{ opacity:1; }
.cart-qty-btn:active{ transform:scale(.98); }

.cart-qty-input{
    width:62px;
    height:40px;
    border:none;
    outline:none;
    text-align:center;
    font-size:13px;
    background:#fff;
}

/* remove browser spinners so + / - stays clean */
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}
.cart-qty-input{
    -moz-appearance:textfield;
}
/* Fly-to-cart image */
.fly-to-cart {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    will-change: transform, opacity;
}

/* Badge bump */
@keyframes badgeBump {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.35); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.badge.bump {
    animation: badgeBump 420ms cubic-bezier(.2,.8,.2,1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fly-to-cart { transition: none !important; animation: none !important; }
    .badge.bump { animation: none !important; }
}

/* ============================
   SHEIN-LIKE CATEGORY NAV STRIP
   ============================ */

.category-nav{
    background:#0b0b0b;
    color:#fff;
    border-top:1px solid rgba(255,255,255,.08);
}

.category-nav-inner{
    max-width:var(--header-max-width);        /* ✅ FIX: match header width */
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:16px;
    padding-left:var(--gutter);               /* ✅ FIX: match header gutter */
    padding-right:var(--gutter);
    padding-top:8px;
    padding-bottom:8px;
}

/* Categories dropdown (left) */
.cat-dd{ position:relative; flex:0 0 auto; }
.cat-dd-btn{
    background:transparent;
    border:0;
    color:#fff;
    font:500 12.5px/1 "Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    padding:8px 10px;
    border-radius:10px;
}
.cat-dd-btn:hover{ background:rgba(255,255,255,.08); }

.cat-dd-menu{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    min-width:220px;
    background:#111;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    padding:10px;
    display:none;
    box-shadow:0 18px 40px rgba(0,0,0,.55);
    z-index:9999;
}
.cat-dd.open .cat-dd-menu{ display:block; }

.cat-dd-menu a{
    display:block;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    padding:8px 10px;
    border-radius:10px;
    white-space:nowrap;
}
.cat-dd-menu a:hover{ background:rgba(255,255,255,.08); }

/* Horizontal nav track (center) */
.nav-scroll{
    position:relative;
    flex:1;
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.nav-track{
    display:flex;
    align-items:center;
    gap:18px;
    overflow:auto;
    white-space:nowrap;
    padding:0 6px;
    scroll-behavior:smooth;
    flex:1;
    min-width:0;

    scrollbar-width:none;
    -ms-overflow-style:none;
}
.nav-track::-webkit-scrollbar{ display:none; }

.nav-item{ position:relative; flex:0 0 auto; }
.nav-item > a{
    color:#fff;
    text-decoration:none;
    font-size:12.5px;
    font-weight:500;
    padding:8px 6px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    gap:6px;
}
.nav-item > a:hover{ background:rgba(255,255,255,.08); }

/* dropdown for subcategories */
.nav-item.has-drop > a::after{
    content:"\f078";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    font-size:10px;
    opacity:.8;
}

.nav-drop{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    min-width:220px;
    background:#111;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    padding:10px;
    display:none;
    box-shadow:0 18px 40px rgba(0,0,0,.55);
    z-index:9999;
}
.nav-item:hover .nav-drop{ display:block; }

.nav-drop a{
    display:block;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    padding:8px 10px;
    border-radius:10px;
}
.nav-drop a:hover{ background:rgba(255,255,255,.08); }

/* arrows */
.nav-arrow{
    width:34px;
    height:34px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.06);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex:0 0 auto;
}
.nav-arrow:hover{ background:rgba(255,255,255,.12); }
.nav-arrow[disabled]{ opacity:.35; cursor:default; }

@media (max-width: 900px){
    .nav-arrow{ display:none; }
    .category-nav-inner{ padding:6px 12px; gap:12px; }
}

/* =========================================================
   ✅ HEADER FIX (DESKTOP ONLY) — NO OTHER SECTIONS TOUCHED
   ========================================================= */
@media (min-width: 769px){

    /* keep your grid layout; just widen + align */
    .header-inner{
        grid-template-columns:320px minmax(420px,1fr) 240px;
        gap:22px;
        padding-top:12px;
        padding-bottom:12px;
        min-height:92px;
    }

    /* logo lockup */
    .logo{
        display:flex;
        align-items:center;
        gap:14px;
        text-decoration:none;
    }

    /* bigger logo image */
    .logo-img{
        width:74px;
        height:74px;
        object-fit:contain;
        display:block;
    }

    /* force 2-line "Anywear / Apparel" without changing HTML */
    .logo-text{
        display:flex;
        flex-direction:column;
        line-height:1.05;
        text-transform:uppercase;
        font-weight:800;
        letter-spacing:.5px;

        font-size:20px;
        max-width:120px;        /* ✅ forces wrap at the space */
        white-space:normal;
        word-break:keep-all;
        overflow-wrap:normal;
    }

    /* search height consistent */
    .search-bar{
        height:46px;
        align-items:stretch;
    }
    .search-bar input{
        height:100%;
        padding:0 16px 0 18px;
    }
    .search-bar select{
        height:100%;
        min-width:170px;
    }
    .search-bar button{
        height:100%;
        display:flex;
        align-items:center;
        justify-content:center;
    }
}

@media (max-width: 1100px){
    .header-left{ min-width:220px; }
    .logo-img{ width:62px; height:62px; }
    .logo-text{ font-size:18px; }
    .search-bar select{ min-width:140px; }
}

@media (max-width: 900px){
    .header-center{ display:none; } /* your CSS already hides search on mobile, this enforces it */
    .header-inner{ min-height:78px; }
    .logo-img{ width:54px; height:54px; }
    .logo-text{ font-size:17px; }
}
