/* =====================================================================
   Sukhiya — storefront design system
   Brand: warm white · black · wood — premium handcrafted
   Wood accent #8a5a3b · ink #1c1814 · Lora (display) + Jost (body)
   ===================================================================== */

:root {
    /* Palette — white / black / wood */
    --coral: #8a5a3b;          /* wood accent (primary) */
    --coral-dark: #6f4530;     /* deep walnut (hover) */
    --coral-soft: #f3eae0;     /* light sand */
    --wood: #8a5a3b;
    --wood-deep: #231a13;      /* espresso — dark sections */
    --ink: #1c1814;            /* warm near-black */
    --ink-soft: #5c5349;       /* warm grey-brown */
    --muted: #978d82;
    --line: rgba(28, 22, 16, 0.10);
    --line-strong: rgba(28, 22, 16, 0.17);
    --bg: #ffffff;
    --bg-alt: #faf6f1;         /* warm off-white */
    --bg-cream: #f3ebe0;       /* warm sand */
    --gold: #c1924f;           /* refined gold */
    --success: #2f9e72;
    --danger: #d4503f;

    /* Typography */
    --font-display: "Lora", Georgia, "Times New Roman", serif;
    --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Shape & motion */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(35, 26, 19, 0.07);
    --shadow: 0 14px 40px rgba(35, 26, 19, 0.12);
    --shadow-lg: 0 30px 70px rgba(35, 26, 19, 0.18);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --container: 1240px;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }

/* ------------------------------------------------------------------ Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-cream { background: var(--bg-cream); }
.text-center { text-align: center; }

.section-head { margin-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.section-sub { color: var(--ink-soft); margin-top: 8px; max-width: 560px; }

/* ------------------------------------------------------------------ Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: var(--radius-pill);
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s;
    white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(138, 90, 59, 0.30); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(138, 90, 59, 0.40); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--coral); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ Badges & pills */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; }
.badge-sale { background: var(--coral); color: #fff; }
.badge-new { background: var(--ink); color: #fff; }
.badge-out { background: #eceae7; color: var(--ink-soft); }
.badge-soft { background: var(--coral-soft); color: var(--coral-dark); }

/* =====================================================================
   Announcement + Header
   ===================================================================== */
.announce { background: var(--wood-deep); color: rgba(255,255,255,0.86); text-align: center; font-size: 0.85rem; padding: 10px 16px; letter-spacing: 0.02em; }
.announce strong { color: var(--gold); }
.announce svg { width: 15px; height: 15px; color: var(--gold); }
.footer-col a svg { width: 16px; height: 16px; opacity: 0.7; margin-right: 6px; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.02em; }
.brand-text span { color: var(--coral); }

/* Dedicated nav row (below logo/icons) — centred, scrolls if it ever overflows */
.nav-bar { border-top: 1px solid var(--line); background: rgba(255,255,255,0.55); position: relative; }
.nav-bar .container { display: flex; justify-content: center; }
.main-nav { display: flex; align-items: center; gap: 30px; justify-content: center; flex-wrap: nowrap;
    overflow: visible; max-width: 100%; padding: 13px 4px; }
.main-nav > a, .nav-dd > a { font-weight: 500; font-size: 0.92rem; position: relative; padding: 6px 0; color: var(--ink); white-space: nowrap; }
.main-nav > a::after, .nav-dd > a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--coral); transition: width 0.25s var(--ease); }
.main-nav > a:hover, .main-nav > a.active, .nav-dd > a:hover, .nav-dd > a.active { color: var(--coral); }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-dd:hover > a::after, .nav-dd > a.active::after { width: 100%; }

/* Category dropdown */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd > a .caret { font-size: 0.7em; opacity: 0.7; }
.nav-dd-menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; box-shadow: var(--shadow); padding: 8px; margin-top: 8px; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 70; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-menu a { display: block; padding: 9px 13px; border-radius: 9px; font-size: 0.88rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-dd-menu a:first-child { font-weight: 600; }
.nav-dd-menu a:hover { background: var(--bg-cream); color: var(--coral); }

/* Mega-menu (category dropdown with columns + featured card) */
.has-mega { position: relative; }
.mega { position: absolute; top: 100%; left: 0; transform: translateY(10px); width: min(760px, 94vw);
    background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
    padding: 26px; display: grid; grid-template-columns: 1fr 230px; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); z-index: 80; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-content: start; }
.mega-col h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.mega-link { display: flex; align-items: center; gap: 11px; padding: 8px 0; font-size: 0.94rem; color: var(--ink-soft); white-space: normal; }
.mega-link .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); flex: 0 0 auto; transition: background 0.2s, transform 0.2s; }
.mega-link:hover { color: var(--coral); }
.mega-link:hover .dot { background: var(--coral); transform: scale(1.4); }
.mega-featured { display: flex; flex-direction: column; background: var(--bg-cream); border-radius: 16px; padding: 18px; }
.mega-featured .eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); font-weight: 700; margin-bottom: 10px; }
.mega-feat-img { display: block; border-radius: 11px; overflow: hidden; aspect-ratio: 4/3; background: #fff; margin-bottom: 12px; }
.mega-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.mega-feat-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.mega-feat-price { color: var(--ink-soft); font-size: 0.92rem; margin: 4px 0 14px; }
.mega-featured .btn { margin-top: auto; }
.mega-featured:hover .mega-feat-name { color: var(--coral); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: var(--radius-pill); display: grid; place-items: center; color: var(--ink); transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--coral-soft); color: var(--coral-dark); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--coral); color: #fff; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { display: none; }

/* Search overlay */
.search-panel { position: fixed; inset: 0; z-index: 90; background: rgba(27,31,34,0.45); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.search-panel.open { opacity: 1; visibility: visible; }
.search-box { background: #fff; padding: 40px 24px; transform: translateY(-100%); transition: transform 0.4s var(--ease); }
.search-panel.open .search-box { transform: translateY(0); }
.search-box form { max-width: 720px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.search-box input { flex: 1; border: none; border-bottom: 2px solid var(--line-strong); padding: 14px 4px; font-size: 1.4rem; font-family: var(--font-display); }
.search-box input:focus { outline: none; border-color: var(--coral); }
.search-hint { max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: 0.85rem; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; background: linear-gradient(120deg, var(--bg-cream) 0%, #fdeee9 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; min-height: 560px; padding: 60px 0; }
.hero-copy { max-width: 540px; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; }
.hero-copy p { color: var(--ink-soft); font-size: 1.1rem; margin: 22px 0 32px; max-width: 460px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; }
.hero-stats .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.hero-stats .lbl { font-size: 0.8rem; color: var(--ink-soft); }
.hero-visual { position: relative; }
.hero-visual .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; background: #fff; }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float { position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero-float.tl { top: 24px; left: -22px; }
.hero-float.br { bottom: 30px; right: -18px; }
.hero-float .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-dark); display: grid; place-items: center; }
.hero-float .dot svg { width: 20px; }
.hero-float b { display: block; font-size: 0.9rem; }
.hero-float small { color: var(--muted); font-size: 0.75rem; }

/* USP strip */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { display: flex; align-items: center; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.usp-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.usp-item .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--coral-soft); color: var(--coral-dark); display: grid; place-items: center; }
.usp-item .ic svg { width: 24px; }
.usp-item b { display: block; font-size: 0.95rem; }
.usp-item span { font-size: 0.82rem; color: var(--ink-soft); }

/* =====================================================================
   Product cards & grid
   ===================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; position: relative; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg-cream); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; transform: scale(1.05); }
.card-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; opacity: 0; transform: translateX(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover .card-actions { opacity: 1; transform: translateX(0); }
.card-actions button { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); transition: background 0.2s, color 0.2s, transform 0.2s; }
.card-actions button:hover { background: var(--coral); color: #fff; transform: scale(1.08); }
.card-actions button.active { background: var(--coral); color: #fff; }
.card-actions svg { width: 18px; }
.card-cart { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(12px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover .card-cart { opacity: 1; transform: translateY(0); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--coral); font-weight: 600; }
.card-title { font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.card-title:hover { color: var(--coral); }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1px; }
.card-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 10px; }
.price-now { font-weight: 700; font-size: 1.15rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 0.92rem; }

/* =====================================================================
   Category tiles
   ===================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,31,34,0.7), transparent 60%); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile-body { position: relative; z-index: 2; padding: 26px; color: #fff; }
.cat-tile-body h3 { color: #fff; font-size: 1.5rem; }
.cat-tile-body span { font-size: 0.85rem; opacity: 0.85; }

/* =====================================================================
   Promo / split banners
   ===================================================================== */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.promo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; align-items: center; padding: 44px; color: #fff; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(35,26,19,0.80), rgba(35,26,19,0.18)); z-index: 1; }
.promo-card .promo-body { position: relative; z-index: 2; max-width: 320px; }
.promo-card .eyebrow { color: var(--gold); }
.promo-card h3 { color: #fff; font-size: 1.9rem; margin-bottom: 16px; }

.feature-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: 80px 56px; display: flex; align-items: center; }
.feature-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,26,19,0.84), rgba(35,26,19,0.28)); }
.feature-band .band-body { position: relative; z-index: 2; max-width: 520px; }
.feature-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.feature-band p { color: rgba(255,255,255,0.85); margin: 16px 0 28px; }

/* =====================================================================
   Newsletter
   ===================================================================== */
.newsletter { background: var(--wood-deep); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(193,146,79,0.30), transparent 70%); top: -120px; right: -80px; }
.newsletter h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); position: relative; }
.newsletter p { color: rgba(255,255,255,0.72); margin: 12px auto 26px; max-width: 480px; position: relative; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; position: relative; }
.newsletter input { flex: 1; padding: 15px 20px; border-radius: var(--radius-pill); border: none; background: rgba(255,255,255,0.1); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { outline: 2px solid var(--gold); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--wood-deep); color: rgba(255,255,255,0.66); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-logo { height: 40px; width: auto; margin-bottom: 4px; }
.footer-brand p { margin: 18px 0; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: rgba(255,255,255,0.62); }
.footer-col a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: background 0.2s, transform 0.2s; }
.social a:hover { background: var(--coral); transform: translateY(-2px); }
.social svg { width: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.pay-icons { display: flex; gap: 8px; align-items: center; opacity: 0.8; }
.pay-icons span { background: rgba(255,255,255,0.1); border-radius: 6px; padding: 4px 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; }
.footer-bottom .made-by { color: rgba(255,255,255,0.55); }
.footer-bottom .made-by a { color: var(--gold); font-weight: 600; }
.footer-bottom .made-by a:hover { color: #fff; }
.footer-bottom .made-by .heart { color: #e0796a; }

/* Trust strip (above footer) */
.trust-strip { background: var(--bg-cream); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 26px 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 26px; height: 26px; color: var(--coral); flex: 0 0 auto; }
.trust-item b { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.trust-item span { font-size: 0.76rem; color: var(--ink-soft); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 20px; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Breadcrumb
   ===================================================================== */
.crumb { padding: 22px 0; font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--coral); }
.crumb .sep { opacity: 0.5; }

/* =====================================================================
   Shop page
   ===================================================================== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.filter-group a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-soft); font-size: 0.92rem; }
.filter-group a:hover, .filter-group a.active { color: var(--coral); }
.filter-group a span { color: var(--muted); font-size: 0.8rem; }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input { width: 100%; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 10px; }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 14px; flex-wrap: wrap; }
.shop-toolbar .count { color: var(--ink-soft); font-size: 0.9rem; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding: 11px 40px 11px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff; font-weight: 500; cursor: pointer; }
.select-wrap::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 500; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

.filter-bar-mobile { display: none; }

/* =====================================================================
   Product detail
   ===================================================================== */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-cream); aspect-ratio: 1/1; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs button { width: 78px; height: 78px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--bg-cream); }
.gallery-thumbs button.active { border-color: var(--coral); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.pdp-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 22px; }
.pdp-price .price-now { font-size: 1.9rem; }
.pdp-price .price-was { font-size: 1.1rem; }
.pdp-desc { color: var(--ink-soft); line-height: 1.75; }
.pdp-attrs { margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; display: grid; gap: 10px; }
.pdp-attrs .row { display: flex; gap: 12px; font-size: 0.92rem; }
.pdp-attrs .row b { min-width: 110px; color: var(--ink); font-weight: 600; }
.pdp-attrs .row span { color: var(--ink-soft); }
.pdp-buy { display: flex; gap: 14px; align-items: center; margin: 26px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 46px; height: 50px; font-size: 1.2rem; color: var(--ink); display: grid; place-items: center; transition: background 0.2s; }
.qty button:hover { background: var(--bg-alt); }
.qty input { width: 48px; height: 50px; text-align: center; border: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-assure { display: grid; gap: 12px; margin-top: 22px; }
.pdp-assure .row { display: flex; gap: 12px; align-items: center; font-size: 0.9rem; color: var(--ink-soft); }
.pdp-assure svg { width: 20px; color: var(--coral); flex-shrink: 0; }
.stock-pill { font-size: 0.82rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); }
.stock-in { background: rgba(47,158,114,0.12); color: var(--success); }
.stock-low { background: #fff3e0; color: #b9770e; }
.stock-out { background: #fbe9e9; color: var(--danger); }

/* Tabs / reviews */
.pdp-tabs { margin-top: 64px; }
.tab-nav { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab-nav button { padding: 0 0 14px; font-weight: 600; color: var(--muted); position: relative; }
.tab-nav button.active { color: var(--ink); }
.tab-nav button.active::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--coral); }
.tab-pane { display: none; max-width: 820px; }
.tab-pane.active { display: block; }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; align-items: center; }
.review-head b { font-weight: 600; }
.review-form { margin-top: 26px; background: var(--bg-alt); padding: 26px; border-radius: var(--radius); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.5rem; color: #d9d4cd; cursor: pointer; }
.rating-input input:checked ~ label,
.rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }

/* =====================================================================
   Cart & checkout
   ===================================================================== */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; background: var(--bg-cream); }
.cart-row .name { font-weight: 600; }
.cart-row .sku { font-size: 0.8rem; color: var(--muted); }
.cart-row .qty { transform: scale(0.85); }
.cart-row .remove { color: var(--muted); font-size: 0.85rem; }
.cart-row .remove:hover { color: var(--danger); }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; }
.summary h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); font-size: 0.95rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.summary-row .free { color: var(--success); font-weight: 600; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; }
.ship-bar { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; font-size: 0.85rem; margin-bottom: 16px; }
.ship-bar .track { height: 6px; background: var(--line); border-radius: 6px; margin-top: 8px; overflow: hidden; }
.ship-bar .fill { height: 100%; background: var(--coral); border-radius: 6px; transition: width 0.5s var(--ease); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea { padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.card-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.card-block h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; margin-bottom: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pay-option:has(input:checked) { border-color: var(--coral); background: var(--coral-soft); }
.pay-option input { margin-top: 4px; }
.pay-option b { display: block; }
.pay-option span { font-size: 0.85rem; color: var(--ink-soft); }

/* mini summary item */
.mini-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--bg-cream); }
.mini-item .name { font-size: 0.88rem; font-weight: 600; }
.mini-item .meta { font-size: 0.8rem; color: var(--muted); }

/* =====================================================================
   Mini-cart drawer
   ===================================================================== */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(27,31,34,0.45); backdrop-filter: blur(3px); z-index: 95; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 90vw; background: #fff; z-index: 96; transform: translateX(100%); transition: transform 0.4s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.drawer-empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* =====================================================================
   Auth & content pages
   ===================================================================== */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-soft); margin-bottom: 26px; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--ink-soft); font-size: 0.9rem; }
.auth-switch a { color: var(--coral); font-weight: 600; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 28px 0 12px; font-size: 1.5rem; }
.prose p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.8; }
.prose ul { list-style: disc; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-q .pm { color: var(--coral); font-size: 1.3rem; transition: transform 0.3s; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); }

.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 500; }
.account-nav a:hover, .account-nav a.active { background: var(--coral-soft); color: var(--coral-dark); }
.account-nav svg { width: 18px; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table th { text-align: left; padding: 14px 16px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--bg-alt); }
.data-table td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.status-pill { padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; text-transform: capitalize; }
.st-pending { background: #fff3e0; color: #b9770e; }
.st-processing { background: #e7f0ff; color: #2b6cb0; }
.st-shipped { background: #e9f7ff; color: #2c7a9e; }
.st-delivered { background: rgba(47,158,114,0.12); color: var(--success); }
.st-cancelled { background: #fbe9e9; color: var(--danger); }

/* =====================================================================
   Toasts & flash
   ===================================================================== */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--radius-pill); box-shadow: var(--shadow); font-size: 0.92rem; display: flex; align-items: center; gap: 10px; animation: toastIn 0.35s var(--ease); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .ic { width: 90px; height: 90px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; margin: 0 auto 22px; }
.empty-state .ic svg { width: 42px; }
.empty-state h2 { font-size: 1.6rem; margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); margin-bottom: 24px; }

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-stats { gap: 24px; }
}
@media (max-width: 920px) {
    .nav-bar { display: none; }
    .nav-toggle { display: grid; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { margin: 0 auto; }
    .hero-cta, .hero-stats { justify-content: center; }
    .hero-visual { max-width: 440px; margin: 10px auto 0; }
    .pdp { grid-template-columns: 1fr; gap: 32px; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters { display: none; position: static; }
    .filters.show { display: block; margin-bottom: 24px; }
    .filter-bar-mobile { display: flex; gap: 12px; margin-bottom: 20px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
    .account-layout { grid-template-columns: 1fr; }
    .usp { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .section { padding: 52px 0; }
    .container { padding: 0 18px; }
    .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cat-grid { grid-template-columns: 1fr; }
    .promo { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .newsletter, .feature-band { padding: 36px 22px; }
    .newsletter form { flex-direction: column; }
    .card-actions { opacity: 1; transform: none; }
    .card-cart { opacity: 1; transform: none; position: static; padding: 0 16px 16px; }
    .header-inner { height: 64px; gap: 12px; }
    .brand img { height: 34px; }
    .brand-text { font-size: 1.3rem; }
    .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero-stats { flex-wrap: wrap; gap: 18px; }
}

