/* ============================================================
   STOREFRONT · Modern Commerce theme
   - Clean zinc neutrals + a rose/pink accent
   - Light mode stays bright; dark mode is a subtly pink-tinted plum
   - Flat surfaces, 1px borders, soft shadows, rounded-xl cards
   - Inter typography, light + dark, conversion-focused
   (No gradient orbs / glassmorphism — deliberately minimal.)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    /* Light — neutral zinc base */
    --bg:            #ffffff;
    --bg-soft:       #fafafa;
    --surface:       #ffffff;
    --surface-2:     #f4f4f5;
    --border:        #e4e4e7;
    --border-strong: #d4d4d8;
    --text:          #18181b;
    --text-2:        #3f3f46;
    --muted:         #71717a;
    --faint:         #a1a1aa;

    /* Brand accent — rose / pink */
    --accent:        #db2777;
    --accent-hover:  #be185d;
    --accent-soft:   #fdf2f8;
    --accent-text:   #be185d;
    --on-accent:     #ffffff;

    --danger:        #e11d48;
    --warning:       #d97706;
    --star:          #f59e0b;

    --shadow-xs:     0 1px 2px rgba(24, 24, 27, 0.05);
    --shadow-sm:     0 1px 3px rgba(24, 24, 27, 0.08), 0 1px 2px rgba(24, 24, 27, 0.04);
    --shadow-md:     0 4px 12px rgba(24, 24, 27, 0.08), 0 2px 4px rgba(24, 24, 27, 0.04);
    --shadow-lg:     0 12px 28px rgba(24, 24, 27, 0.12), 0 4px 10px rgba(24, 24, 27, 0.06);

    --radius-sm:     8px;
    --radius:        12px;
    --radius-lg:     16px;
    --radius-xl:     22px;
    --nav-h:         64px;
    --maxw:          1280px;
    --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
    /* Pink-tinted dark — subtly warm/plum, not full magenta */
    --bg:            #0c0a0d;
    --bg-soft:       #110d12;
    --surface:       #181319;
    --surface-2:     #221b24;
    --border:        #2c2430;
    --border-strong: #44384a;
    --text:          #faf6f9;
    --text-2:        #d8cdd6;
    --muted:         #a89fab;
    --faint:         #786d7b;

    --accent:        #ec4899;
    --accent-hover:  #f472b6;
    --accent-soft:   rgba(236, 72, 153, 0.13);
    --accent-text:   #f9a8d4;
    --on-accent:     #3b0a23;

    --shadow-xs:     0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md:     0 4px 14px rgba(0, 0, 0, 0.55);
    --shadow-lg:     0 16px 40px rgba(0, 0, 0, 0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

.muted { color: var(--muted); }
.success { color: var(--accent-text); font-weight: 600; }
.hidden { display: none !important; }

/* ---------- Top nav ---------- */
.topnav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-h);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 20px; align-items: center;
}
.brand {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em;
}
.brand-mark {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: var(--on-accent);
    border-radius: 8px;
    font-weight: 800; font-size: 0.95rem;
}
.brand-name { color: var(--text); }

.nav-links {
    display: flex; gap: 6px;
    justify-content: center;
}
.nav-links a {
    font-weight: 500; font-size: 0.92rem;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.is-active { color: var(--text); font-weight: 600; }

.nav-search {
    position: relative;
    display: flex; align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: 40px; padding: 0 12px;
    width: 260px;
    color: var(--muted);
    transition: border-color 0.18s, box-shadow 0.18s;
}
.nav-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background: var(--surface);
}
.nav-search input {
    flex: 1; background: transparent; border: none; outline: none;
    color: var(--text); font-size: 0.9rem; padding: 0 8px;
}
.nav-search input::placeholder { color: var(--faint); }
.kbd {
    font-size: 0.7rem; font-weight: 600;
    padding: 2px 6px; border-radius: 5px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--muted);
}

.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
    position: relative;
    transition: background 0.18s, border-color 0.18s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border); }
.icon-sun { display: none; }
.icon-moon { display: inline-block; }
:root[data-theme="dark"] .icon-sun { display: inline-block; }
:root[data-theme="dark"] .icon-moon { display: none; }

.cart-badge {
    position: absolute; top: 2px; right: 2px;
    min-width: 17px; height: 17px; padding: 0 5px;
    background: var(--accent); color: var(--on-accent);
    border-radius: 9px; font-size: 0.66rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
}

.nav-burger { display: none; }

/* ---------- Page wrapper ---------- */
.page {
    max-width: var(--maxw); margin: 0 auto;
    padding: 32px 24px 80px;
}
.page-title { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; }

.section-title {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.section-sub { color: var(--muted); font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(120% 120% at 100% 0%, var(--accent-soft) 0%, transparent 45%),
        var(--bg-soft);
    padding: 64px 48px;
    margin: 8px 0 40px;
    overflow: hidden;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 6px 12px; border-radius: 999px;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
}
.pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
    50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); }
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.05; letter-spacing: -0.035em;
    margin: 18px 0 16px;
    max-width: 16ch;
}
.hero-title .accent { color: var(--accent-text); }
.hero-sub {
    color: var(--muted); font-size: 1.05rem; max-width: 52ch;
    margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
    display: flex; gap: 40px; flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-trust > div { display: flex; flex-direction: column; gap: 2px; }
.hero-trust strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-trust span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent);
    color: var(--on-accent); font-weight: 600; font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    transition: background 0.18s, transform 0.16s, box-shadow 0.18s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text); font-weight: 600; font-size: 0.95rem;
    transition: background 0.18s, border-color 0.18s, transform 0.16s;
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-1px); }
.btn-ghost {
    width: 32px; height: 32px;
    border-radius: 8px;
    color: var(--muted);
    transition: background 0.18s, color 0.18s;
}
.btn-ghost:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* ---------- Filters / chips ---------- */
.filters { margin: 8px 0 28px; }
.filters-head { margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 8px 16px; border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.86rem; font-weight: 500;
    text-transform: capitalize;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.chip:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.chip.is-active {
    background: var(--text); color: var(--bg);
    border-color: var(--text);
}

/* ---------- Products ---------- */
.products { margin-top: 8px; }
.products-head {
    display: flex; justify-content: space-between; align-items: end;
    flex-wrap: wrap; gap: 16px;
    margin-bottom: 20px;
}
.products-head em { color: var(--accent-text); font-style: normal; font-weight: 600; }
.result-count { color: var(--text); font-weight: 700; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 18px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xs);
    opacity: 0; transform: translateY(10px);
    animation: rise-in 0.45s var(--ease) forwards;
    transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.18s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.card-link { display: block; }

.card-media {
    aspect-ratio: 1/1;
    background: var(--surface-2);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.card-media img {
    width: 76%; height: 76%; object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s var(--ease);
}
:root[data-theme="dark"] .card-media img { mix-blend-mode: normal; }
.card:hover .card-media img { transform: scale(1.05); }
.badge-discount {
    position: absolute; top: 10px; left: 10px;
    background: var(--accent); color: var(--on-accent);
    font-weight: 700; font-size: 0.7rem;
    padding: 4px 10px; border-radius: 999px;
}
.badge-large { font-size: 0.82rem; padding: 6px 14px; top: 14px; left: 14px; }

.card-body { padding: 14px 16px 16px; }
.card-cat {
    font-size: 0.68rem; color: var(--faint);
    text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600;
}
.card-title {
    font-size: 0.94rem; font-weight: 600; letter-spacing: -0.01em;
    margin-top: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.6em;
}
.card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 10px;
}
.card-rating { color: var(--star); font-size: 0.84rem; }
.card-rating strong { color: var(--text); font-weight: 600; }
.price { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.card-cta {
    display: block;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--accent-text); font-size: 0.82rem; font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.18s, transform 0.18s;
}
.card:hover .card-cta { opacity: 1; transform: translateX(2px); }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 72px 20px;
    background: var(--bg-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-xl);
    margin: 32px auto;
    max-width: 560px;
}
.empty-illustration { font-size: 3.4rem; margin-bottom: 12px; }
.empty-state h2, .empty-state h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Panel (cards/asides) ---------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

/* ---------- Product detail ---------- */
.pdp-page { padding-top: 20px; }
.back-link {
    display: inline-flex; color: var(--muted);
    font-size: 0.9rem; font-weight: 500;
    margin-bottom: 18px;
    transition: color 0.18s, transform 0.16s;
}
.back-link:hover { color: var(--accent-text); transform: translateX(-3px); }

.pdp {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    animation: rise 0.4s var(--ease);
}
.pdp-image {
    background: var(--surface-2);
    padding: 48px;
    min-height: 460px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.pdp-image img {
    max-width: 82%; max-height: 380px; object-fit: contain;
    mix-blend-mode: multiply;
}
:root[data-theme="dark"] .pdp-image img { mix-blend-mode: normal; }
.pdp-info { padding: 44px; display: flex; flex-direction: column; gap: 14px; }
.pdp-title { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.stars { color: var(--star); font-weight: 600; }
.stars strong { color: var(--text); }
.pdp-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.pdp-price .price-now { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.pdp-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.qty { display: flex; flex-direction: column; gap: 6px; max-width: 130px; }
.qty label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.qty input {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.qty input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pdp-perks {
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid var(--border);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    font-size: 0.84rem; color: var(--muted);
}

/* ---------- Cart ---------- */
.cart-layout {
    display: grid; grid-template-columns: 1.6fr 1fr;
    gap: 20px; align-items: start;
    animation: rise 0.35s var(--ease);
}
.cart-items { list-style: none; padding: 6px; }
.cart-item {
    display: grid; grid-template-columns: 72px 1fr auto auto;
    gap: 16px; align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item img {
    width: 72px; height: 72px; object-fit: contain;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    padding: 6px;
    mix-blend-mode: multiply;
}
:root[data-theme="dark"] .cart-item img { mix-blend-mode: normal; }
.cart-item-info h3 { font-size: 0.94rem; font-weight: 600; }
.cart-item-info .muted { font-size: 0.82rem; margin-top: 4px; }
.cart-item-price { font-size: 1.02rem; font-weight: 700; }

.cart-summary { padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px); }
.cart-summary h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }
.cart-summary .row {
    display: flex; justify-content: space-between;
    padding: 8px 0; font-size: 0.92rem; color: var(--muted);
}
.cart-summary .row.total { font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.cart-summary hr { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.cart-summary .btn-primary { margin-top: 16px; }

/* ---------- Checkout ---------- */
.checkout-layout {
    display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 20px; align-items: start;
    animation: rise 0.35s var(--ease);
}
.checkout-form { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.checkout-form h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.checkout-form label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.checkout-form input, .checkout-form select {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text); font-size: 0.94rem; font-weight: 400;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.checkout-form input:focus, .checkout-form select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.req { color: var(--danger); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-list { list-style: none; margin: 8px 0; }
.mini-list li {
    display: flex; justify-content: space-between;
    padding: 7px 0; font-size: 0.88rem; color: var(--muted);
}

/* ---------- Confirmation ---------- */
.confirm-card { max-width: 520px; margin: 56px auto; padding: 48px 36px; text-align: center; animation: rise 0.4s var(--ease); }
.check-anim {
    width: 76px; height: 76px;
    margin: 0 auto 20px;
    background: var(--accent); color: var(--on-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; font-weight: 700;
    animation: bounce 0.5s var(--ease);
}
.check-anim.error { background: var(--danger); }
.confirm-card h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.confirm-card p { color: var(--muted); margin-bottom: 12px; }
.confirm-card .btn-primary { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 72px;
    padding: 48px 0 24px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--maxw); margin: 0 auto;
    padding: 0 24px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand { margin-bottom: 2px; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; max-width: 280px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-2); }
.footer-col a {
    display: block; color: var(--muted); font-size: 0.88rem;
    padding: 4px 0; transition: color 0.18s;
}
.footer-col a:hover { color: var(--accent-text); }
.footer-bottom {
    max-width: var(--maxw); margin: 36px auto 0;
    padding: 22px 24px 0;
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: 0.82rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- Deals / on sale ---------- */
.deals { margin: 8px 0 36px; }
.deals-head {
    display: flex; justify-content: space-between; align-items: end;
    flex-wrap: wrap; gap: 12px;
    margin-bottom: 18px;
}
.deals-all { color: var(--accent-text); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.deals-all:hover { text-decoration: underline; }

/* Horizontal-scroll strip of discounted products */
.deals-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 16px;
    margin: 0 -4px;
    scrollbar-width: thin;
}
.deals-row::-webkit-scrollbar { height: 8px; }
.deals-row::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.deals-row::-webkit-scrollbar-track { background: transparent; }

.deal-card {
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.18s;
}
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.deal-media {
    aspect-ratio: 1/1;
    background: var(--surface-2);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.deal-media img {
    width: 74%; height: 74%; object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.35s var(--ease);
}
:root[data-theme="dark"] .deal-media img { mix-blend-mode: normal; }
.deal-card:hover .deal-media img { transform: scale(1.05); }
.deal-body { padding: 12px 14px 14px; }
.deal-title {
    font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em;
    margin: 4px 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.5em;
}
.deal-price { display: flex; align-items: baseline; gap: 8px; }

/* Strike-through original price (used in deals + discounted grid cards) */
.price-group { display: inline-flex; align-items: baseline; gap: 7px; }
.price-was {
    color: var(--faint);
    font-size: 0.82rem; font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: var(--faint);
}

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .pdp { grid-template-columns: 1fr; }
    .pdp-image { padding: 32px; min-height: 320px; }
    .pdp-info { padding: 32px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-burger { display: inline-flex; }
    .topnav.nav-open .nav-links {
        display: flex; flex-direction: column;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px; gap: 2px;
        z-index: 49;
    }
    .topnav.nav-open .nav-links a { padding: 12px; }
    .nav-search { width: auto; flex: 1; }
    .hero { padding: 44px 28px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}
@media (max-width: 600px) {
    .nav-inner { padding: 0 16px; grid-template-columns: auto 1fr auto; gap: 10px; }
    .nav-search { display: none; }
    .topnav.nav-open .nav-search { display: flex; }
    .page { padding: 22px 16px 56px; }
    .hero-title { font-size: 2rem; }
    .hero-trust { gap: 22px; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-body { padding: 12px 12px 14px; }
    .card-title { font-size: 0.84rem; }
    .pdp-perks { grid-template-columns: 1fr; }
    .row-2 { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 56px 1fr auto; }
    .cart-item img { width: 56px; height: 56px; }
    .cart-item form { grid-column: 1 / -1; justify-self: end; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
