/* ═══════════════════════════════════════════════════
   TAHIYAA — Main Stylesheet
   Theme: Clean white. Editorial. Restrained luxury.
   Font: Inter (body) + Cormorant Garamond (display)
═══════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────── */
:root {
    /* Colors — change these 2 lines to retheme */
    --accent:        #B8955A;   /* warm gold — the ONE accent color */
    --accent-dark:   #8C6D3F;

    --bg:            #FFFFFF;
    --bg-soft:       #F8F7F5;   /* barely-there warm white */
    --bg-dark:       #111110;

    --text:          #111110;
    --text-mid:      #555550;
    --text-light:    #999990;
    --border:        #E8E6E1;

    --font-body:     'Inter', system-ui, sans-serif;
    --font-display:  'Cormorant Garamond', Georgia, serif;

    --nav-h:         64px;
    --max-w:         1280px;
    --radius:        4px;
    --radius-lg:     12px;

    --ease:          cubic-bezier(0.22, 1, 0.36, 1);
    --trans:         0.3s var(--ease);
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITY ─────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}
.section-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
section {
    padding: 5rem 2rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--trans);
    white-space: nowrap;
}
.btn-primary {
    background: var(--text);
    color: var(--bg);
}
.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
}
.btn-outline {
    border: 1px solid var(--text);
    color: var(--text);
}
.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
}
.btn-add-cart {
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    margin-top: 0.75rem;
}
.product-card:hover .btn-add-cart { opacity: 1; transform: translateY(0); }
.btn-add-cart:hover { background: var(--accent); }
.btn-add-cart:disabled {
    background: var(--border);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

/* ── HEADER / NAV ────────────────────────────────── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; gap: 1.25rem; }
.nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-logo {
    text-align: center;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
}
.nav-icon {
    position: relative;
    color: var(--text-mid);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}
.nav-icon:hover { color: var(--text); }
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.cart-count.visible { opacity: 1; }
.nav-hamburger { display: none; }
#menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
#menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: var(--trans);
}
#mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
}
#mobile-menu.open { display: block; }
#mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
#mobile-menu a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
}

/* ── HERO ────────────────────────────────────────── */
#hero {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(90vh - var(--nav-h));
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}
.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.hero-heading em {
    font-style: italic;
    color: var(--accent);
}
.hero-sub {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 380px;
}
.hero-image-wrap {
    position: relative;
}
.hero-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-soft);
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}
.hero-image-frame:hover img { transform: scale(1.03); }
.hero-pill {
    position: absolute;
    bottom: -1rem;
    left: -1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    white-space: nowrap;
}

/* ── TICKER ──────────────────────────────────────── */
.ticker-wrap {
    overflow: hidden;
    background: var(--bg-dark);
    padding: 0.75rem 0;
    width: 100%;
}
.ticker-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.ticker-track span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}
.ticker-dot { color: var(--accent) !important; }
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── COLLECTIONS ─────────────────────────────────── */
#collections {
    background: var(--bg-soft);
    max-width: 100%;
    padding: 5rem 2rem;
}
#collections > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
}
.collection-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
    transition: transform 0.3s var(--ease);
}
.collection-card:hover { transform: translateY(-4px); }
.collection-img-wrap {
    aspect-ratio: 3/4;
    overflow: hidden;
}
.collection-img-wrap img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease);
}
.collection-card:hover .collection-img-wrap img { transform: scale(1.04); }
.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    color: #fff;
}
.collection-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
}
.collection-info p {
    font-size: 0.78rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}
.collection-cta {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
}
.collection-card:hover .collection-cta { border-color: #fff; }

/* ── PRODUCTS ────────────────────────────────────── */
#products { background: var(--bg); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
}
.product-card {
    display: flex;
    flex-direction: column;
}
.product-img-link { display: block; }
.product-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-overlay-sold {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-mid);
}
.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
}
.product-info {
    padding: 1rem 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-name-link { display: block; }
.product-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.15rem;
    transition: color 0.2s ease;
}
.product-card:hover .product-name { color: var(--accent); }
.product-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.03em;
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.price-current {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.price-old {
    font-size: 0.78rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.product-colors {
    display: flex;
    gap: 5px;
}
.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.color-dot:hover { transform: scale(1.25); }
.out-of-stock .product-img-wrap { opacity: 0.7; }

/* ── REELS ───────────────────────────────────────── */
#reels {
    background: var(--bg-soft);
    max-width: 100%;
    padding: 5rem 2rem;
}
#reels > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: var(--max-w);
    margin: 0 auto;
}
.reel-card { cursor: pointer; }
.reel-thumb-wrap {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-dark);
}
.reel-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease), opacity 0.3s ease;
}
.reel-card:hover .reel-thumb-wrap img { transform: scale(1.04); opacity: 0.7; }
.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.reel-card:hover .reel-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.reel-duration {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.4);
    padding: 0.15rem 0.4rem;
    border-radius: 100px;
    letter-spacing: 0.03em;
}
.reel-label {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-mid);
    text-align: center;
}

/* ── ABOUT ───────────────────────────────────────── */
#about {
    background: var(--bg);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}
.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.about-text h2 em {
    font-style: italic;
    color: var(--accent);
}
.about-text p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 420px;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── FAQ ─────────────────────────────────────────── */
#faq { background: var(--bg-soft); max-width: 100%; padding: 5rem 2rem; }
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    gap: 1rem;
    transition: color 0.2s ease;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s ease;
}
.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 200px; }

/* ── FOOTER ──────────────────────────────────────── */
#site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 2rem 2rem;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.75rem;
}
.footer-brand p {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 220px;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--accent); }
.footer-nav h4 {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ── CART TOAST ──────────────────────────────────── */
#cart-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-dark);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.82rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transform: translateY(1rem);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    pointer-events: none;
}
#cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: 56px; }
    section { padding: 3.5rem 1.25rem; }

    /* Nav */
    .nav-left { display: none; }
    .nav-hamburger { display: block; }
    .nav-inner { grid-template-columns: auto 1fr auto; gap: 1rem; }
    .nav-logo { text-align: left; }

    /* Hero */
    #hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 2.5rem 1.25rem 3rem;
        gap: 2.5rem;
    }
    .hero-image-wrap { order: -1; }
    .hero-image-frame { aspect-ratio: 4/3; }
    .hero-pill { left: 1rem; bottom: -0.75rem; }
    .hero-heading { font-size: clamp(2.5rem, 10vw, 4rem); }

    /* Collections */
    .collections-grid { grid-template-columns: 1fr; gap: 1rem; }
    .collection-img-wrap { aspect-ratio: 16/9; }

    /* Products */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.75rem; }

    /* Reels */
    .reels-grid { grid-template-columns: repeat(2, 1fr); }

    /* About */
    .about-inner { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { order: -1; aspect-ratio: 3/2; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .reels-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
    .btn-add-cart { opacity: 1; transform: none; }
}

/* ── CART DRAWER ─────────────────────────────────── */
#cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
#cart-overlay.open { opacity: 1; pointer-events: all; }

#cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 420px; max-width: 95vw;
    background: var(--bg);
    z-index: 201;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
#cart-drawer.open { transform: translateX(0); }

.drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.drawer-header h2 {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 400;
}
#drawer-count-label {
    font-family: var(--font-body);
    font-size: 0.78rem; color: var(--text-light);
    font-weight: 400; margin-left: 0.4rem;
}
#drawer-close {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); background: var(--bg-soft);
    transition: background 0.2s ease, color 0.2s ease;
}
#drawer-close:hover { background: var(--text); color: var(--bg); }

.drawer-body {
    flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
}
.drawer-items { display: flex; flex-direction: column; gap: 1rem; }
.drawer-item {
    display: grid; grid-template-columns: 72px 1fr auto;
    gap: 1rem; align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item-img {
    width: 72px; height: 88px; object-fit: cover;
    border-radius: var(--radius); background: var(--bg-soft);
}
.drawer-item-name {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 400;
    margin-bottom: 0.15rem;
}
.drawer-item-sub { font-size: 0.72rem; color: var(--text-light); margin-bottom: 0.6rem; }
.drawer-item-qty {
    display: flex; align-items: center; gap: 0.5rem;
}
.drawer-qty-btn {
    width: 24px; height: 24px; border: 1px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: center;
    justify-content: center; font-size: 0.9rem; background: var(--bg);
    color: var(--text); transition: all 0.2s ease;
}
.drawer-qty-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.drawer-qty-val { font-size: 0.82rem; font-weight: 500; min-width: 16px; text-align: center; }
.drawer-item-price { font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.drawer-item-remove {
    display: block; font-size: 0.65rem; color: var(--text-light);
    text-decoration: underline; cursor: pointer; background: none;
    border: none; margin-top: 0.35rem; transition: color 0.2s;
}
.drawer-item-remove:hover { color: #c0392b; }

.drawer-empty {
    display: none; flex-direction: column; align-items: center;
    justify-content: center; gap: 0.75rem; padding: 3rem 1rem;
    text-align: center; height: 100%;
}
.drawer-empty p { font-size: 0.85rem; color: var(--text-light); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.75rem; }

.drawer-footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 1.5rem 1.5rem;
    flex-shrink: 0;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}
.drawer-footer.visible { display: flex; }
.drawer-subtotal {
    display: flex; justify-content: space-between;
    font-size: 0.9rem; font-weight: 500;
}
.drawer-note { font-size: 0.72rem; color: var(--text-light); }
.drawer-view-full {
    text-align: center; font-size: 0.75rem;
    color: var(--text-light); text-decoration: underline;
    transition: color 0.2s ease;
}
.drawer-view-full:hover { color: var(--text); }

/* WhatsApp floating button */
#whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 52px; height: 52px;
    background: #25D366; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 150; transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
#whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
#whatsapp-float svg { flex-shrink: 0; }

/* ── PHASE 4 — POLISH & PERFORMANCE ─────────────── */

/* Image loading skeleton shimmer */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-soft) 25%, #eeece8 50%, var(--bg-soft) 75%);
    background-size: 200% 100%;
}
img[loading="lazy"].loaded {
    background: none;
    animation: none;
}

/* Focus styles — accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Skip to content link — screen readers */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* Selection colour */
::selection { background: var(--accent); color: #fff; }

/* Smoother image transitions when loaded */
.product-img-wrap img,
.collection-img-wrap img,
.hero-image-frame img {
    transition: transform 0.6s var(--ease), opacity 0.3s ease;
}

/* Better mobile tap targets */
@media (max-width: 768px) {
    .btn { min-height: 44px; }
    .nav-icon { min-width: 44px; min-height: 44px; justify-content: center; }
    .faq-question { min-height: 48px; }
    .pd-size-btn { min-height: 44px; min-width: 56px; }
}

/* Print styles — hide everything except order confirmation */
@media print {
    #site-header, #site-footer, #cart-drawer,
    #cart-overlay, #whatsapp-float,
    .btn, .faq-list, #reels, #collections { display: none !important; }
    body { font-size: 12pt; color: #000; }
    .confirm-section { max-width: 100%; padding: 0; }
}

/* Smooth page entry */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
#hero { animation: fadeUp 0.6s ease both; }

/* Better scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* Loading spinner for async actions */
.spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Announcement bar (optional — toggle in config) */
#announcement-bar {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 500;
}
#announcement-bar a { color: #fff; text-decoration: underline; }

/* Better empty states */
.empty-state-block {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}
.empty-state-block svg { margin: 0 auto 1rem; opacity: 0.25; }
.empty-state-block h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--text); }
.empty-state-block p { font-size: 0.85rem; margin-bottom: 1.5rem; }
