/* ============================================================
   Tapsy Design System — main.css
   Mobile-first, premium, Apple-esque
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
    /* Colors */
    --primary:       #0A0A0A;
    --primary-hover: #1a1a1a;
    --accent:        #C8A45A;   /* gold */
    --accent-light:  #F0DFA8;
    --accent-hover:  #B8913F;
    --success:       #16A34A;
    --error:         #DC2626;
    --warning:       #D97706;

    /* Neutrals */
    --white:         #FFFFFF;
    --bg-page:       #FAFAFA;
    --bg-subtle:     #F5F5F7;
    --bg-card:       #FFFFFF;
    --border:        #E5E5E5;
    --border-strong: #D1D1D1;
    --text-primary:  #1D1D1F;
    --text-secondary:#6E6E73;
    --text-muted:    #9A9A9F;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:  0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
    --shadow-xl:  0 20px 60px rgba(0,0,0,.12);

    /* Radius */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-full:9999px;

    /* Spacing */
    --space-xs: 4px; --space-sm: 8px; --space-md: 16px;
    --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: .2s var(--ease);
    --transition-slow: .4s var(--ease);

    /* Layout */
    --max-width: 1200px;
    --header-h: 68px;
}

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 40px; } }

.section { padding: var(--space-2xl) 0; }
.section--lg { padding: var(--space-3xl) 0; }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-sm); }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
    line-height: 1.2; color: var(--text-primary); }
.section-subtitle { font-size: 1rem; color: var(--text-secondary);
    max-width: 520px; margin: var(--space-sm) auto 0; }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { color: var(--text-secondary); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-full);
    font-size: .9375rem; font-weight: 600; line-height: 1;
    transition: all var(--transition); white-space: nowrap;
    cursor: pointer; border: 2px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-subtle); color: var(--text-primary); }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-full); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link { position: absolute; top: -100%; left: 0; background: var(--primary);
    color: var(--white); padding: 8px 16px; z-index: 9999; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }

/* ── Announcement Bar ────────────────────────────────────── */
.announcement-bar {
    background: var(--primary); color: var(--white);
    font-size: .8125rem; font-weight: 500; text-align: center;
    padding: 8px 16px; position: relative;
}
.announcement-bar .container { display: flex; justify-content: center; align-items: center; gap: 12px; }
.announcement-close { color: rgba(255,255,255,.6); font-size: .75rem;
    padding: 2px 6px; transition: color var(--transition); }
.announcement-close:hover { color: var(--white); }

/* ── Header / Navbar ─────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar { display: flex; align-items: center; gap: 16px;
    height: var(--header-h); }
.navbar-logo img { display: block; }
.navbar-links { display: none; }
@media (min-width: 1024px) {
    .navbar-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
    .nav-link { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9375rem;
        font-weight: 500; color: var(--text-primary); transition: all var(--transition);
        display: flex; align-items: center; gap: 4px; }
    .nav-link:hover { background: var(--bg-subtle); }
}
.navbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .navbar-actions { margin-left: 0; } }

.nav-icon-btn { width: 40px; height: 40px; display: flex; align-items: center;
    justify-content: center; border-radius: var(--radius-full);
    color: var(--text-primary); transition: all var(--transition); font-size: 1.125rem;
    position: relative; }
.nav-icon-btn:hover { background: var(--bg-subtle); }
.cart-btn { text-decoration: none; }
.cart-badge { position: absolute; top: 2px; right: 2px;
    background: var(--accent); color: var(--primary); border-radius: var(--radius-full);
    font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center; }

/* Dropdown */
.has-dropdown { position: relative; }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 8px; min-width: 220px; box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none; transform: translateY(-4px);
    transition: all var(--transition); z-index: 100; }
.nav-dropdown--right { left: auto; right: 0; }
.has-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: var(--radius-sm); color: var(--text-primary); font-size: .9rem;
    transition: all var(--transition); }
.dropdown-item:hover { background: var(--bg-subtle); }
.dropdown-item i { font-size: 1rem; color: var(--text-secondary); }
.dropdown-header { padding: 10px 12px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.dropdown-header strong { display: block; font-size: .9rem; }
.dropdown-header small { font-size: .78rem; color: var(--text-secondary); }

/* User avatar */
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Search Bar */
.search-bar { background: var(--white); border-top: 1px solid var(--border);
    padding: 12px 0; display: none; }
.search-bar.open { display: block; }
.search-bar .container { display: flex; gap: 8px; align-items: center; }
.search-input { flex: 1; padding: 10px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius-full); font-size: .9375rem; outline: none;
    transition: border-color var(--transition); }
.search-input:focus { border-color: var(--primary); }
.search-close { color: var(--text-secondary); padding: 8px; border-radius: 50%;
    font-size: 1rem; }
.search-close:hover { background: var(--bg-subtle); }

/* Hamburger */
.hamburger { width: 40px; height: 40px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    border-radius: var(--radius-sm); }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span { width: 20px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all var(--transition); display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Drawer */
.mobile-drawer { position: fixed; top: 0; right: -100%; width: min(320px, 85vw);
    height: 100vh; background: var(--white); z-index: 2000;
    box-shadow: var(--shadow-xl); transition: right .35s var(--ease);
    display: flex; flex-direction: column; }
.mobile-drawer.open { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border-bottom: 1px solid var(--border); }
.drawer-close { font-size: 1.25rem; color: var(--text-secondary); padding: 4px;
    border-radius: 50%; }
.drawer-close:hover { background: var(--bg-subtle); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 12px; }
.drawer-nav a { display: block; padding: 12px 16px; border-radius: var(--radius-sm);
    color: var(--text-primary); font-size: 1rem; font-weight: 500;
    transition: all var(--transition); }
.drawer-nav a:hover { background: var(--bg-subtle); }
.drawer-footer { padding: 20px; border-top: 1px solid var(--border); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1500;
    opacity: 0; pointer-events: none; transition: opacity .35s; }
.overlay.show { opacity: 1; pointer-events: all; }

/* ── Hero Section ────────────────────────────────────────── */
.hero { min-height: min(90vh, 720px); display: grid; align-items: center;
    background: var(--primary); color: var(--white);
    position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200,164,90,.15), transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(200,164,90,.08), transparent 50%); }
.hero-content { position: relative; z-index: 1;
    display: grid; gap: var(--space-xl);
    padding: var(--space-2xl) 0; }
@media (min-width: 900px) {
    .hero-content { grid-template-columns: 1fr 1fr; align-items: center; }
}
.hero-badge { display: inline-flex; align-items: center; gap: 6px;
    background: rgba(200,164,90,.15); border: 1px solid rgba(200,164,90,.3);
    color: var(--accent-light); border-radius: var(--radius-full);
    padding: 6px 14px; font-size: .8125rem; font-weight: 600;
    letter-spacing: .05em; margin-bottom: var(--space-md); }
.hero-title { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800;
    line-height: 1.1; color: var(--white); }
.hero-title .highlight { color: var(--accent); }
.hero-desc { font-size: 1.0625rem; color: rgba(255,255,255,.7);
    max-width: 480px; margin: var(--space-md) 0 var(--space-lg); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--space-xl); margin-top: var(--space-xl); }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--white); }
.hero-stat span { font-size: .8125rem; color: rgba(255,255,255,.55); font-weight: 500; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-img { max-height: 500px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }

/* ── Product Grid ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg); }
.product-card { background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    transition: all var(--transition-slow); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg);
    border-color: var(--border-strong); }
.product-card-img { aspect-ratio: 4/4.5; overflow: hidden; background: var(--bg-subtle);
    position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-badge { position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: var(--primary);
    padding: 3px 10px; border-radius: var(--radius-full);
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-card-body { padding: 16px; }
.product-card-cat { font-size: .75rem; color: var(--text-muted); font-weight: 500;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.product-card-title { font-size: .9375rem; font-weight: 600; color: var(--text-primary);
    margin-bottom: 8px; line-height: 1.3; }
.product-card-rating { display: flex; align-items: center; gap: 6px;
    font-size: .8125rem; color: var(--text-secondary); margin-bottom: 10px; }
.stars { color: var(--accent); letter-spacing: 1px; }
.product-card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price-current { font-size: 1.1875rem; font-weight: 700; color: var(--text-primary); }
.price-old { font-size: .875rem; color: var(--text-muted); text-decoration: line-through; }
.price-save { font-size: .75rem; font-weight: 600; color: var(--success);
    background: rgba(22,163,74,.08); padding: 2px 7px; border-radius: var(--radius-full); }
.product-card-actions { display: flex; gap: 8px; }
.product-card-actions .btn { flex: 1; font-size: .875rem; padding: 10px 16px; }

/* Product Page */
.product-layout { display: grid; gap: var(--space-2xl); padding: var(--space-xl) 0; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 1/1; background: var(--bg-subtle); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto;
    padding-bottom: 4px; }
.gallery-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm);
    overflow: hidden; border: 2px solid transparent; cursor: pointer;
    flex-shrink: 0; transition: border-color var(--transition); background: var(--bg-subtle); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-section { display: flex; flex-direction: column; gap: 20px; }
.product-badge { display: inline-block; background: var(--accent); color: var(--primary);
    padding: 4px 12px; border-radius: var(--radius-full);
    font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.product-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.product-rating-row { display: flex; align-items: center; gap: 12px; }
.rating-count { font-size: .875rem; color: var(--text-secondary); }
.product-price-row { display: flex; align-items: baseline; gap: 12px; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.product-price-old { font-size: 1.125rem; color: var(--text-muted); text-decoration: line-through; }
.product-discount { font-size: .9rem; font-weight: 600; color: var(--success);
    background: rgba(22,163,74,.08); padding: 3px 10px; border-radius: var(--radius-full); }
.product-highlights { background: var(--bg-subtle); border-radius: var(--radius-md); padding: 16px; }
.product-highlights li { display: flex; align-items: flex-start; gap: 8px;
    padding: 5px 0; font-size: .9rem; color: var(--text-secondary); }
.product-highlights li::before { content: '✓'; color: var(--success); font-weight: 700;
    flex-shrink: 0; margin-top: 1px; }
.product-cta-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .product-cta-row { flex-direction: row; } }
.product-cta-row .btn { flex: 1; }
.product-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-block { background: var(--bg-subtle); border-radius: var(--radius-sm);
    padding: 12px; display: flex; gap: 8px; align-items: flex-start; }
.service-block i { font-size: 1.125rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.service-block-text strong { font-size: .8125rem; display: block; font-weight: 600; }
.service-block-text span { font-size: .75rem; color: var(--text-secondary); }

/* Tabs */
.tabs { border-bottom: 1px solid var(--border); margin-bottom: var(--space-lg); }
.tab-list { display: flex; gap: 0; overflow-x: auto; }
.tab-btn { padding: 12px 20px; font-size: .9rem; font-weight: 600; color: var(--text-secondary);
    border-bottom: 2px solid transparent; transition: all var(--transition);
    white-space: nowrap; background: none; border-top: none; border-left: none; border-right: none; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--text-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Specs Table */
.specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs-table tr:nth-child(even) td { background: var(--bg-subtle); }
.specs-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 600; width: 40%; color: var(--text-primary); }
.specs-table td:last-child { color: var(--text-secondary); }

/* Review Cards */
.review-card { background: var(--bg-subtle); border-radius: var(--radius-md);
    padding: var(--space-md); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 8px; }
.review-meta strong { font-size: .9rem; display: block; }
.review-meta span { font-size: .78rem; color: var(--text-muted); }
.review-text { font-size: .9rem; color: var(--text-secondary); }

/* ── Shop / Category Filter ──────────────────────────────── */
.shop-header { padding: var(--space-xl) 0 var(--space-md); }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; padding: var(--space-md) 0; }
.filter-chip { padding: 8px 16px; border-radius: var(--radius-full); font-size: .875rem;
    font-weight: 500; background: var(--white); border: 1.5px solid var(--border);
    color: var(--text-secondary); transition: all var(--transition); cursor: pointer; }
.filter-chip.active, .filter-chip:hover { background: var(--primary); border-color: var(--primary);
    color: var(--white); }

/* ── Cart Page ───────────────────────────────────────────── */
.cart-layout { display: grid; gap: var(--space-xl); padding: var(--space-xl) 0; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 380px; } }
.cart-item { display: flex; gap: 16px; padding: 16px 0;
    border-bottom: 1px solid var(--border); }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius-sm);
    overflow: hidden; flex-shrink: 0; background: var(--bg-subtle); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: .9375rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { color: var(--text-secondary); font-size: .875rem; }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; transition: all var(--transition); }
.qty-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }
.qty-val { font-weight: 600; min-width: 24px; text-align: center; }
.cart-remove { color: var(--text-muted); font-size: .8125rem; margin-top: 4px;
    display: block; transition: color var(--transition); }
.cart-remove:hover { color: var(--error); }
.cart-summary { background: var(--bg-subtle); border-radius: var(--radius-lg);
    padding: var(--space-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0;
    font-size: .9375rem; }
.summary-row.total { font-weight: 700; font-size: 1.0625rem;
    border-top: 1.5px solid var(--border); margin-top: 8px; padding-top: 12px; }
.summary-row .free-ship { color: var(--success); font-weight: 600; }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-layout { display: grid; gap: var(--space-xl); padding: var(--space-xl) 0; }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr 380px; } }
.checkout-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.form-section { background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: var(--space-lg); }
.form-section-title { font-size: 1rem; font-weight: 700; margin-bottom: var(--space-md);
    display: flex; align-items: center; gap: 8px; }
.form-section-title i { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea {
    padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: .9375rem; outline: none; transition: border-color var(--transition);
    background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); }
.form-group input.error, .form-group select.error { border-color: var(--error); }
.form-hint { font-size: .78rem; color: var(--text-muted); }
.form-error { font-size: .78rem; color: var(--error); }

/* Order summary sidebar */
.order-summary { background: var(--bg-subtle); border-radius: var(--radius-lg);
    padding: var(--space-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm);
    overflow: hidden; flex-shrink: 0; background: var(--white); }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { flex: 1; }
.order-item-title { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.order-item-qty { font-size: .8125rem; color: var(--text-muted); }
.order-item-price { font-size: .9rem; font-weight: 600; flex-shrink: 0; }

/* ── Toast ────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    background: var(--primary); color: var(--white);
    padding: 12px 20px; border-radius: var(--radius-md);
    font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg);
    animation: slideUp .3s var(--ease); max-width: 320px; }
.toast--success { background: var(--success); }
.toast--error { background: var(--error); }
.toast--hide { animation: slideDown .3s var(--ease) forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes slideDown { to { opacity: 0; transform: translateY(20px); } }

/* ── Blog ─────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg); }
.blog-card { background: var(--bg-card); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border);
    transition: all var(--transition-slow); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-subtle); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; }
.blog-card-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 8px;
    display: flex; gap: 8px; align-items: center; }
.blog-card-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-card-excerpt { font-size: .875rem; color: var(--text-secondary);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-footer { padding: 0 20px 16px; }
.blog-content h2 { margin: var(--space-xl) 0 var(--space-md); }
.blog-content h3 { margin: var(--space-lg) 0 var(--space-sm); }
.blog-content p { margin-bottom: var(--space-md); font-size: 1rem; }
.blog-content ul, .blog-content ol { padding-left: var(--space-lg); margin-bottom: var(--space-md); }
.blog-content li { margin-bottom: var(--space-xs); }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.divider { border: none; border-top: 1px solid var(--border); margin: var(--space-lg) 0; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin .8s linear infinite; margin: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 800;
    background: #25D366; color: var(--white); width: 56px; height: 56px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.5); }

/* ── Trust Badges / Feature Strip ───────────────────────── */
.trust-strip { background: var(--bg-subtle); border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); padding: var(--space-lg) 0; }
.trust-strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (min-width: 640px) { .trust-strip-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 8px; }
.trust-item i { font-size: 1.75rem; color: var(--accent); }
.trust-item strong { font-size: .875rem; font-weight: 600; color: var(--text-primary); }
.trust-item span { font-size: .78rem; color: var(--text-secondary); }

/* ── Hero Category Chips ─────────────────────────────────── */
.category-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-lg); }
.category-chip { display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85); border-radius: var(--radius-full);
    padding: 7px 14px; font-size: .8125rem; font-weight: 500;
    transition: all var(--transition); text-decoration: none; }
.category-chip:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.25); }

/* ── How it works ────────────────────────────────────────── */
.steps-grid { display: grid; gap: var(--space-lg);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step-card { text-align: center; padding: var(--space-lg); }
.step-icon { width: 64px; height: 64px; background: var(--bg-subtle);
    border-radius: var(--radius-lg); display: flex; align-items: center;
    justify-content: center; font-size: 1.75rem; margin: 0 auto var(--space-md); color: var(--accent); }
.step-number { font-size: .75rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.step-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: .875rem; color: var(--text-secondary); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid { display: grid; gap: var(--space-md);
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: var(--space-lg); }
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 10px; }
.testimonial-text { font-size: .9375rem; color: var(--text-secondary);
    font-style: italic; margin-bottom: var(--space-md); }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-subtle); display: flex; align-items: center;
    justify-content: center; font-weight: 700; color: var(--text-secondary); font-size: .9rem; }
.testimonial-name strong { font-size: .875rem; display: block; }
.testimonial-name span { font-size: .78rem; color: var(--text-muted); }

/* ── Order Success ───────────────────────────────────────── */
.order-success-card { max-width: 560px; margin: var(--space-3xl) auto;
    text-align: center; padding: var(--space-2xl) var(--space-xl);
    background: var(--bg-card); border-radius: var(--radius-xl); border: 1px solid var(--border); }
.success-icon { width: 80px; height: 80px; background: rgba(22,163,74,.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; margin: 0 auto var(--space-lg); }
.order-detail-table { width: 100%; text-align: left; margin-top: var(--space-lg); }
.order-detail-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.order-detail-table td:last-child { text-align: right; font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--primary); color: rgba(255,255,255,.75);
    padding: var(--space-2xl) 0 0; margin-top: var(--space-3xl); }
.footer-grid { display: grid; gap: var(--space-xl);
    grid-template-columns: 1fr 1fr;
    padding-bottom: var(--space-2xl); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand p { font-size: .875rem; margin-top: var(--space-md); max-width: 260px;
    line-height: 1.7; }
.footer-socials { display: flex; gap: 12px; margin-top: var(--space-md); }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); display: flex; align-items: center;
    justify-content: center; font-size: 1rem; color: rgba(255,255,255,.7);
    transition: all var(--transition); }
.footer-socials a:hover { background: var(--accent); color: var(--primary); }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: var(--white);
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--space-md); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.6);
    transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px;
    margin-bottom: 10px; font-size: .875rem; }
.footer-contact i { color: var(--accent); flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--white); }
.footer-badges { display: flex; gap: 8px; margin-top: var(--space-md); }
.footer-badges img { height: 24px; width: auto; filter: brightness(.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08);
    padding: var(--space-md) 0; display: flex; flex-wrap: wrap;
    justify-content: space-between; gap: 8px; font-size: .8125rem;
    color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 12px; }
.footer-legal a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ── 404 / Empty States ──────────────────────────────────── */
.empty-state { text-align: center; padding: var(--space-3xl) var(--space-xl); }
.empty-state-icon { font-size: 4rem; margin-bottom: var(--space-md); }
.empty-state h2 { margin-bottom: var(--space-sm); }
.empty-state p { color: var(--text-secondary); margin-bottom: var(--space-lg); }

/* ── Policy Pages ────────────────────────────────────────── */
.policy-content { max-width: 760px; margin: var(--space-2xl) auto;
    padding: 0 var(--space-md); }
.policy-content h1 { font-size: 2rem; margin-bottom: var(--space-xl); }
.policy-content h2 { font-size: 1.25rem; margin: var(--space-xl) 0 var(--space-sm); }
.policy-content p, .policy-content li { font-size: .9375rem; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: var(--space-sm); }
.policy-content ul { padding-left: var(--space-lg); }

/* ── Track Order ─────────────────────────────────────────── */
.track-card { max-width: 520px; margin: var(--space-2xl) auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: var(--space-2xl); }
.order-status-badge { display: inline-block; padding: 6px 16px; border-radius: var(--radius-full);
    font-size: .875rem; font-weight: 600; }
.status-pending { background: rgba(217,119,6,.1); color: var(--warning); }
.status-paid { background: rgba(22,163,74,.1); color: var(--success); }
.status-shipped { background: rgba(37,99,235,.1); color: #2563EB; }
.status-delivered { background: rgba(22,163,74,.1); color: var(--success); }
.status-cancelled { background: rgba(220,38,38,.1); color: var(--error); }
