:root {
    --bg: #f7f5f0;
    --surface: #ffffff;
    --surface-soft: #f2eee7;
    --text: #121212;
    --muted: #6f6a62;
    --line: #e8e1d7;
    --primary: #111111;
    --accent: #8a6349;
    --success: #2d7a58;
    --danger: #b45142;
    --shadow-sm: 0 10px 24px rgba(18, 18, 18, 0.05);
    --shadow-md: 0 18px 40px rgba(18, 18, 18, 0.08);
    --radius: 20px;
    --radius-lg: 28px;
    --container: 1200px;
    --font: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: currentColor; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    padding: 0.95rem 1rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(138, 99, 73, 0.45);
    box-shadow: 0 0 0 4px rgba(138, 99, 73, 0.08);
}

.store-body { min-height: 100vh; }
.site-shell { width: min(100%, calc(var(--container) + 32px)); margin: 0 auto; padding: 0 16px 108px; }
.responsive-shell, .page-content, .stack-form, .product-grid, .storefront-product-grid, .reviews-grid, .trust-grid, .site-footer__grid, .filters-grid, .catalog-shell, .auth-layout, .checkout-layout, .tracking-layout, .cart-page-grid, .settings-page-grid, .admin-page-grid, .admin-form-grid, .admin-main-content, .admin-table, .cart-list, .orders-list-premium, .product-detail-shell, .checkout-benefits, .summary-stack { display: grid; gap: 1rem; }
.section-head, .section-head--with-copy, .summary-line, .site-header__actions, .site-nav, .hero-banner__actions, .hero-banner__trust, .product-card__price-row, .product-card__actions, .product-head-meta, .product-trust-row, .admin-topbar, .admin-top-actions, .row-actions, .inline-form, .checkbox-row, .cash-row { display: flex; align-items: center; gap: 0.75rem; }
.section-head, .section-head--with-copy, .summary-line, .admin-topbar { justify-content: space-between; }
.section-head--with-copy { align-items: end; }
.mobile-only-flex { display: inline-flex; }
.mobile-only-grid { display: grid; }
.mobile-only-block { display: block; }
.desktop-only-flex, .desktop-only-block, .desktop-only-grid, .desktop-only-inline { display: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 0;
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 74px;
    padding: 0 1rem;
    border: 1px solid rgba(232, 225, 215, 0.9);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}
.site-header__brand-row, .brand-mark, .admin-branding { display: flex; align-items: center; gap: 0.85rem; }
.brand-logo, .brand-logo-image, .admin-brand-logo, .settings-mark-preview {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
}
.brand-logo, .admin-brand-logo, .settings-mark-preview {
    display: inline-flex; align-items: center; justify-content: center; background: #111111; color: #fff; font-weight: 800;
}
.brand-logo-image, .settings-logo-preview { object-fit: cover; border: 1px solid var(--line); background: var(--surface); }
.brand-copy { display: grid; gap: 0.1rem; }
.brand-copy strong { font-size: 1rem; letter-spacing: -0.02em; }
.brand-copy small, .small-note, .small-link, .product-copy, .auth-switch-copy, .site-footer a, .site-footer__about p, .trust-card p, .review-quote-card p, .review-quote-card small, .admin-table-row p, .order-row p, .tracking-card p, .catalog-hero__copy, .hero-banner__copy, .product-card__category, .field-label, .filters-grid span, .stack-form span { color: var(--muted); }
.site-nav { justify-content: center; }
.site-nav a { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.site-nav a:hover, .small-link:hover { color: var(--text); }
.header-icon-link, .header-account-link, .menu-toggle, .drawer-close, .avatar-badge {
    border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm);
}
.header-icon-link, .menu-toggle, .drawer-close, .avatar-badge {
    width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
}
.header-account-link { padding: 0.85rem 1rem; border-radius: 999px; font-weight: 700; background: #111111; color: #fff; }
.header-icon-link { position: relative; }
.header-icon-badge {
    position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; background: #111111; color: #eee; font-size: 0.75rem; font-weight: 700;
}
.menu-toggle { flex-direction: column; gap: 4px; padding: 0; }
.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 999px; }
.mobile-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.3); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 45; }
.mobile-drawer-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.mobile-drawer {
    position: fixed; top: 0; left: 0; width: min(86vw, 340px); height: 100vh; background: var(--surface); padding: 1.25rem;
    transform: translateX(-110%); transition: transform .25s ease; z-index: 46; box-shadow: var(--shadow-md); display: grid; align-content: start; gap: 1rem;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__top { display:flex; align-items:center; justify-content:space-between; }
.mobile-drawer__nav { display:grid; gap: .2rem; }
.mobile-drawer__nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--muted); }

.alert { border-radius: 16px; padding: 1rem 1.1rem; font-weight: 600; border: 1px solid transparent; }
.alert.success { background: rgba(45,122,88,.1); color: var(--success); border-color: rgba(45,122,88,.16); }
.alert.error { background: rgba(180,81,66,.1); color: var(--danger); border-color: rgba(180,81,66,.14); }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, strong { letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.06; }
h3 { font-size: 1.18rem; line-height: 1.15; }
.eyebrow { margin: 0; font-size: .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }

.section-card, .summary-card, .checkout-card, .auth-card, .auth-intro-card, .tracking-card, .admin-dashboard-card, .admin-menu-card, .admin-ai-card, .admin-panel-card, .admin-access-card, .product-image-panel, .product-info-panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.compact-section, .summary-card, .checkout-card, .auth-card, .auth-intro-card, .tracking-card, .admin-dashboard-card, .admin-menu-card, .admin-ai-card, .admin-panel-card, .admin-access-card { padding: 1.3rem; }

.button {
    display: inline-flex; align-items:center; justify-content:center; border-radius: 999px; border: 1px solid transparent;
    padding: .9rem 1.2rem; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: #111111; color: #fff; }
.button.dark { background: #2a2a2a; color: #fff; }
.button.ghost, .button.soft, .white-button { background: #fff; color: var(--text); border-color: var(--line); }
.button.danger, .link-button { background: transparent; color: var(--danger); border-color: rgba(180,81,66,.18); }
.button-compact { min-height: 44px; padding: .8rem 1rem; font-size: .9rem; }
.button-full, .wide-button { width: 100%; }

.hero-banner {
    grid-template-columns: 1fr; align-items: center; gap: 1.25rem; min-height: 0; padding: 1.35rem;
    background: linear-gradient(135deg, #ffffff 0%, #f4efe7 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.hero-banner__content { display:grid; gap: 1rem; }
.hero-banner__actions { flex-wrap: wrap; }
.hero-banner__trust { flex-wrap: wrap; }
.hero-banner__trust span, .product-trust-row span {
    display:inline-flex; align-items:center; padding:.55rem .85rem; border-radius:999px; background: var(--surface-soft); color: var(--muted); font-size:.84rem; font-weight: 600;
}
.hero-banner__visual { display:grid; }
.hero-feature-card {
    max-width: 360px; width: 100%; justify-self: center; padding: .9rem; border:1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.hero-feature-card img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; border-radius: 14px; background: var(--surface-soft); margin-bottom: .85rem; }
.hero-feature-card strong { display:block; font-size: 1.1rem; margin-top: .2rem; }

.category-strip--premium { grid-template-columns: repeat(2, minmax(0,1fr)); }
.category-card {
    display:grid; gap:.7rem; padding:.9rem; border:1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .18s ease, box-shadow .18s ease;
}
.category-card:hover, .product-card:hover, .trust-card:hover, .review-quote-card:hover, .order-row:hover, .admin-table-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.category-card img { width:100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; background: var(--surface-soft); }
.category-card strong { font-size: 1rem; }

.trust-grid { grid-template-columns: 1fr; }
.trust-card { padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.trust-card strong { display:block; margin-bottom: .35rem; font-size: 1rem; }

.product-grid.storefront-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.product-card {
    overflow: hidden; border:1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.product-card__media { position:relative; display:block; overflow:hidden; }
.product-card__media img { width:100%; aspect-ratio: 1 / 1.15; object-fit: cover; background: var(--surface-soft); transition: transform .28s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display:grid; gap:.7rem; padding: 1rem; }
.product-card__category { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.product-card__title { font-size: 1rem; font-weight: 700; line-height: 1.28; }
.product-card__price-row strong { font-size: 1rem; }
.product-card__price-row span { color: var(--muted); text-decoration: line-through; }
.product-card__actions { flex-wrap: wrap; }
.product-card__actions form { flex: 1 1 0; }
.product-card__rating { color: var(--accent); font-size: .9rem; font-weight: 700; }
.product-card__rating small { color: var(--muted); font-size: .76rem; margin-left: .2rem; }
.product-badge, .product-stock-badge, .product-utility-chip, .tracking-status-pill {
    display:inline-flex; align-items:center; justify-content:center; padding:.42rem .68rem; border-radius:999px; font-size:.75rem; font-weight:700;
}
.product-badge { position:absolute; top:.85rem; left:.85rem; background:#111111; color:#fff; }
.product-stock-badge { position:absolute; right:.85rem; bottom:.85rem; background: rgba(255,255,255,.92); color: var(--danger); }
.product-utility-chip, .tracking-status-pill { background: var(--surface-soft); color: var(--accent); }

.catalog-hero { grid-template-columns: 1fr; align-items:end; }
.catalog-hero__stats { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.catalog-hero__stats div { padding: 1rem; border:1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.catalog-hero__stats strong { display:block; font-size: 1.5rem; }
.filters-grid label, .stack-form label, .settings-form-grid label { display:grid; gap:.45rem; }
.premium-filters-grid { grid-template-columns: 1fr; }
.filter-actions-row { display:flex; gap:.75rem; flex-wrap: wrap; align-items:end; }

.product-detail-card { display:grid; gap: 1.2rem; }
.premium-product-detail { grid-template-columns: 1fr; }
.product-image-panel, .product-info-panel { padding: 1rem; }
.product-gallery-stage { position:relative; border-radius: 18px; overflow:hidden; background: var(--surface-soft); }
.main-image { width:100%; aspect-ratio: 1 / 1.08; object-fit: cover; }
.product-thumbs { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:.7rem; }
.product-thumbs img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius: 14px; border:2px solid transparent; background: var(--surface-soft); cursor:pointer; }
.product-thumbs img.is-active { border-color: rgba(138,99,73,.4); }
.product-buy-panel { display:grid; gap: 1rem; }
.product-head-meta, .product-trust-row { flex-wrap: wrap; }
.price-stack { display:flex; align-items:end; gap:.75rem; }
.price-stack strong { font-size: clamp(1.8rem, 4vw, 2.3rem); }
.price-stack span { color: var(--muted); text-decoration: line-through; }
.premium-buy-form { padding:1rem; border-radius:18px; background: var(--surface-soft); border:1px solid var(--line); }
.size-row { display:flex; gap:.6rem; flex-wrap:wrap; }
.size-box input { display:none; }
.size-box span { display:inline-flex; align-items:center; justify-content:center; width:46px; height:42px; border-radius: 12px; border:1px solid var(--line); background:#fff; font-weight:700; }
.size-box input:checked + span { border-color: rgba(138,99,73,.45); background: rgba(138,99,73,.08); color: var(--accent); }
.detail-form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:.9rem; }
.buy-actions-grid { display:grid; gap:.75rem; }
.urgency-box { padding:.95rem 1rem; border-radius: 16px; background: rgba(180,81,66,.08); color: var(--danger); font-weight:700; }

.review-quote-card { padding:1.1rem; border:1px solid var(--line); border-radius:18px; background:#fff; }
.cart-page-grid, .checkout-layout, .auth-layout, .tracking-layout, .settings-page-grid, .admin-page-grid { grid-template-columns: 1fr; }
.premium-cart-card { display:grid; grid-template-columns: 92px 1fr; gap:1rem; align-items:center; padding:1rem; border:1px solid var(--line); border-radius:18px; background:#fff; }
.premium-cart-card img { width:92px; height:92px; object-fit:cover; border-radius:16px; background: var(--surface-soft); }
.cash-row { padding:.9rem 1rem; border-radius:16px; background: var(--surface-soft); border:1px solid var(--line); }
.cash-icon { width:24px; height:24px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#111111; color:#fff; font-size:.78rem; }
.summary-card { display:grid; gap:1rem; align-content:start; }
.summary-line { color: var(--muted); }
.summary-line.total { padding-top:.8rem; margin-top:.2rem; border-top:1px solid var(--line); color: var(--text); font-weight:800; }
.auth-intro-card { background:#111111; color:#fff; min-height: 280px; }
.auth-intro-card--light { background: #f1ece4; color: var(--text); }
.auth-intro-card--light p, .auth-intro-card--light .trust-list span { color: var(--muted); }
.trust-list { display:flex; gap:.6rem; flex-wrap:wrap; }
.trust-list span, .compact-trust-list span { display:inline-flex; align-items:center; padding:.52rem .8rem; border-radius:999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.86); font-size:.83rem; }
.auth-intro-card--light .trust-list span { background: #fff; }
.login-hint { padding:.9rem 1rem; border-radius:16px; background: var(--surface-soft); }
.orders-list-premium { display:grid; gap:.85rem; }
.order-row, .admin-table-row {
    display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem 1.05rem; border:1px solid var(--line); border-radius:18px; background:#fff;
}
.order-row__meta, .row-actions, .inline-form, .checkbox-row { display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; }

.site-footer { margin-top:.2rem; padding:1.4rem; border-radius: 20px; border:1px solid var(--line); background:#fff; }
.site-footer__grid { grid-template-columns: 1fr 1fr; }
.site-footer h3, .site-footer h4 { margin-bottom:.55rem; }
.site-footer div { display:grid; align-content:start; gap:.5rem; }
.bottom-nav {
    position: fixed; left:50%; bottom:12px; transform: translateX(-50%); width:min(430px, calc(100vw - 20px));
    padding:.35rem; border-radius:16px; background: rgba(255,255,255,.96); border:1px solid var(--line); box-shadow: var(--shadow-md); z-index:42;
    grid-template-columns: repeat(4, 1fr);
}
.nav-link { display:grid; place-items:center; gap:.24rem; padding:.72rem .2rem; color: var(--muted); font-size:.76rem; font-weight:700; }
.whatsapp-fab {
    position:fixed; right:16px; bottom:86px; width:50px; height:50px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
    background:#25d366; color:#fff; font-weight:800; box-shadow: 0 16px 30px rgba(37,211,102,.28); z-index:41;
}

.admin-body { background: var(--bg); }
.admin-app-shell { width:min(100%, calc(1180px + 32px)); margin:24px auto; padding: 0 16px 24px; }
.admin-topbar { padding: 1rem 1.1rem; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow: var(--shadow-sm); }
.admin-shortcuts, .admin-shortcuts-wide { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:.75rem; margin:1rem 0; }
.admin-shortcuts a, .admin-shortcuts-wide a, .admin-menu-card a {
    padding:.9rem 1rem; border-radius:16px; border:1px solid var(--line); background:#fff; text-align:center; font-weight:700;
}
.admin-dashboard-card { background:#111111; color:#fff; }
.admin-stat-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:.8rem; }
.admin-mini-stat { padding:1rem; border-radius:16px; background: rgba(255,255,255,.94); color: var(--text); }
.admin-mini-stat span { display:block; color: var(--muted); margin-bottom:.25rem; }
.chart-placeholder { margin-top:1rem; height:120px; border-radius:16px; background: rgba(255,255,255,.08); position:relative; overflow:hidden; }
.chart-wave { position:absolute; inset:auto 0 0 0; height:78%; background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.16)); clip-path: polygon(0% 92%, 10% 72%, 22% 75%, 34% 58%, 48% 60%, 60% 42%, 73% 57%, 86% 31%, 100% 12%, 100% 100%, 0 100%); }
.role-pill { display:inline-flex; align-items:center; justify-content:center; padding:.45rem .75rem; border-radius:999px; background: rgba(138,99,73,.1); color: var(--accent); font-size:.84rem; font-weight:700; }
.settings-wide-field { grid-column: 1 / -1; }
.settings-preview-meta div { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.85rem .95rem; border-radius:16px; background: var(--surface-soft); border:1px solid var(--line); }
.settings-brand-preview { display:grid; grid-template-columns: 72px 1fr; align-items:center; gap:1rem; }
.settings-logo-preview, .settings-mark-preview { width:72px; height:72px; border-radius:20px; }
.checkbox-row input { width:auto; }

@media (min-width: 768px) {
    .category-strip--premium, .product-grid.storefront-product-grid, .reviews-grid, .trust-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .site-footer__grid { grid-template-columns: 1.2fr repeat(3, minmax(0,1fr)); }
    .catalog-hero, .auth-layout, .checkout-layout, .tracking-layout { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .premium-filters-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
    .desktop-only-flex { display:flex; }
    .desktop-only-block { display:block; }
    .desktop-only-grid { display:grid; }
    .desktop-only-inline { display:inline; }
    .mobile-only-flex, .mobile-only-grid, .mobile-only-block, .mobile-drawer, .mobile-drawer-backdrop, .bottom-nav { display:none !important; }
    .site-shell { padding-bottom: 28px; }
    .hero-banner { grid-template-columns: minmax(0,1.2fr) minmax(320px,.78fr); padding: 1.8rem; }
    .product-grid.storefront-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .category-strip--premium { grid-template-columns: repeat(6, minmax(0,1fr)); }
    .premium-filters-grid { grid-template-columns: repeat(6, minmax(0,1fr)); align-items:end; }
    .premium-product-detail { grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); align-items:start; }
    .cart-page-grid, .checkout-layout, .tracking-layout { grid-template-columns: minmax(0,1.35fr) 360px; align-items:start; }
    .cart-summary-panel, .checkout-summary-panel { position: sticky; top: 96px; }
    .premium-cart-card { grid-template-columns: 92px 1fr auto auto; }
    .admin-shortcuts, .admin-shortcuts-wide { grid-template-columns: repeat(6, minmax(0,1fr)); }
    .admin-page-grid, .settings-page-grid { grid-template-columns: minmax(340px,.9fr) minmax(0,1.2fr); align-items:start; }
    .admin-form-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }
    .hero-banner { padding: 1.2rem; }
    .product-card__actions { display:grid; grid-template-columns: 1fr; }
    .product-grid.storefront-product-grid, .category-strip--premium { grid-template-columns: repeat(2, minmax(0,1fr)); gap:.85rem; }
    .reviews-grid, .trust-grid, .site-footer__grid { grid-template-columns: 1fr; }
    .detail-form-grid { grid-template-columns: 1fr; }
}

.home-hero-refined {
    gap: 1.6rem;
}
.home-collections-row {
    display: grid;
    gap: 1rem;
}
.collection-tile {
    display: grid;
    gap: 0.55rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.collection-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.collection-tile strong {
    font-size: 1.1rem;
}
.collection-tile p {
    color: var(--muted);
    line-height: 1.5;
}
.hero-feature-card--editorial {
    max-width: 380px;
}
.hero-feature-card--editorial div {
    display: grid;
    gap: 0.25rem;
}
.home-editorial-band {
    display: grid;
    gap: 1rem;
}
.home-editorial-panel {
    display: grid;
    align-content: end;
    gap: 0.9rem;
    min-height: 220px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.home-editorial-panel--dark {
    background: #111111;
    color: #fff;
}
.home-editorial-panel--dark .eyebrow,
.home-editorial-panel--dark .small-link {
    color: rgba(255,255,255,0.82);
}
.trust-grid--inline {
    margin-top: -0.1rem;
}
@media (min-width: 768px) {
    .home-collections-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .home-editorial-band {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.top-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    justify-items: center;
    padding: 0.7rem 1rem 0.25rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.site-header {
    padding-top: 6px;
}
.site-footer--premium {
    gap: 1.25rem;
    padding: 1.55rem;
}
.site-footer__topline,
.site-footer__bottomline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-footer__topline {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.site-footer__bottomline {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
}
.site-footer__grid {
    gap: 1.25rem;
}
.site-footer--premium .site-footer__about {
    max-width: 32rem;
}
@media (min-width: 768px) {
    .top-strip {
        grid-template-columns: repeat(3, auto);
        justify-content: space-between;
    }
}

.catalog-shell--refined {
    gap: 1.2rem;
}
.catalog-hero--refined {
    padding: 1.45rem;
}
.filter-panel-refined {
    padding-top: 1.1rem;
}
.listing-grid-refined {
    gap: 1rem;
}
.listing-card-refined .product-card__body {
    gap: 0.8rem;
}
.product-card__meta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.product-meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}
.product-card__actions--stacked {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}
.product-detail-shell--refined {
    gap: 1.2rem;
}
.product-detail-refined {
    gap: 1.25rem;
}
.product-image-panel--refined,
.product-buy-panel--refined {
    padding: 1.1rem;
}
.product-head-meta--refined {
    align-items: center;
}
.price-stack--refined {
    padding-bottom: 0.2rem;
}
.product-copy--refined {
    line-height: 1.7;
    max-width: 34rem;
}
.product-trust-row--refined {
    gap: 0.6rem;
}
.detail-side-note {
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
}
.detail-side-note p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.premium-buy-form--refined {
    gap: 1rem;
}
.buy-actions-grid--refined {
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .catalog-shell--refined {
        gap: 1.35rem;
    }
    .listing-grid-refined {
        gap: 1.1rem;
    }
    .product-detail-refined {
        grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
    }
    .buy-actions-grid--refined {
        grid-template-columns: 1fr 1fr;
    }
}

/* Motion system */
:root {
    --ease-premium: cubic-bezier(.22, 1, .36, 1);
}

@keyframes heroFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.04); }
    50% { box-shadow: 0 14px 32px -24px rgba(17, 17, 17, 0.18); }
}

.reveal-ready {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(.985);
    transition:
        opacity .72s var(--ease-premium),
        transform .72s var(--ease-premium);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-ready.reveal-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.media-intro {
    opacity: 0;
    transform: scale(1.04);
    animation: mediaIntro .9s var(--ease-premium) forwards;
    animation-delay: var(--media-delay, 120ms);
    will-change: opacity, transform;
}

@keyframes mediaIntro {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-banner,
.catalog-hero,
.product-detail-card,
.section-card,
.collection-tile,
.home-editorial-panel,
.product-card,
.trust-card,
.review-quote-card,
.site-footer,
.button,
.header-icon-link,
.header-account-link,
.nav-link,
.site-nav a,
.site-footer a,
.brand-mark,
.product-thumbs img,
.product-card__media img,
.main-image {
    transition:
        transform .35s var(--ease-premium),
        box-shadow .35s var(--ease-premium),
        border-color .28s ease,
        background-color .28s ease,
        color .28s ease,
        opacity .28s ease,
        filter .35s var(--ease-premium);
}

.hero-banner {
    overflow: hidden;
}

.hero-banner::after,
.catalog-hero::after,
.product-detail-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.52) 48%, transparent 100%);
    transform: translateX(-135%);
    pointer-events: none;
    opacity: .55;
}

.hero-banner:hover::after,
.catalog-hero:hover::after,
.product-detail-card:hover::after {
    transform: translateX(135%);
    transition: transform 1.25s var(--ease-premium);
}

.hero-feature-card,
.hero-feature-card--editorial {
    animation: heroFloat 6s ease-in-out infinite;
}

.whatsapp-fab {
    animation: softPulse 3.6s ease-in-out infinite;
}

.collection-tile:hover,
.home-editorial-panel:hover,
.trust-card:hover,
.review-quote-card:hover,
.section-card:hover,
.product-card:hover {
    transform: translate3d(0, -6px, 0);
}

.product-card:hover .product-card__media img,
.listing-card-refined:hover .product-card__media img {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.product-card__media {
    overflow: hidden;
}

.button:hover,
.header-icon-link:hover,
.header-account-link:hover,
.nav-link:hover,
.site-nav a:hover,
.site-footer a:hover {
    transform: translate3d(0, -2px, 0);
}

.button:active,
.header-icon-link:active,
.header-account-link:active,
.nav-link:active {
    transform: translate3d(0, 0, 0) scale(.98);
}

.brand-mark:hover {
    transform: translate3d(0, -2px, 0);
}

.product-thumbs img:hover,
.product-thumbs img.is-active {
    transform: translate3d(0, -2px, 0) scale(1.03);
}

.site-header.is-scrolled .site-header__inner {
    backdrop-filter: blur(18px);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-ready {
        opacity: 1 !important;
        transform: none !important;
    }

    .media-intro {
        opacity: 1 !important;
        transform: none !important;
    }
}
.hero-banner,
.catalog-hero,
.product-detail-card {
    position: relative;
}

.chat-page-shell,
.chat-admin-shell {
    display: grid;
    gap: 1.25rem;
}

.chat-layout {
    display: grid;
    gap: 1rem;
}

.chat-thread-panel,
.chat-side-panel,
.chat-inbox-panel {
    display: grid;
    gap: 1rem;
}

.chat-thread-panel {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.chat-thread-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.chat-thread-header p {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.chat-thread-messages {
    display: grid;
    gap: 0.9rem;
    max-height: 720px;
    overflow: auto;
    padding-right: 0.3rem;
}

.chat-bubble {
    max-width: min(680px, 92%);
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #f8f8f6;
}

.chat-bubble.is-customer {
    justify-self: end;
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.chat-bubble.is-customer .chat-bubble__meta,
.chat-bubble.is-customer a {
    color: rgba(255,255,255,0.82);
}

.chat-bubble.is-admin {
    justify-self: start;
}

.chat-bubble__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.chat-bubble p {
    margin: 0;
    line-height: 1.7;
}

.chat-attachment-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.chat-bubble.is-admin .chat-attachment-card {
    background: #ffffff;
    border-color: var(--line);
}

.chat-attachment-card img,
.chat-attachment-card video {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

.chat-attachment-card audio {
    width: 100%;
}

.chat-attachment-card a {
    font-size: 0.85rem;
    font-weight: 600;
}

.chat-compose-panel {
    display: grid;
    gap: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--line);
}

.chat-compose-panel textarea {
    min-height: 120px;
    resize: vertical;
}

.chat-compose-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.chat-upload-field {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.chat-upload-field input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.chat-side-panel .trust-card,
.chat-inbox-panel,
.chat-admin-shell .admin-panel-card {
    height: fit-content;
}

.chat-availability-badge {
    display: inline-grid;
    gap: 0.15rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    min-width: 112px;
}

.chat-availability-badge strong {
    font-size: 1.15rem;
}

.chat-availability-badge span {
    color: var(--muted);
    font-size: 0.82rem;
}

.chat-inbox-list {
    display: grid;
    gap: 0.7rem;
}

.chat-inbox-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    background: #fff;
}

.chat-inbox-item.is-active {
    border-color: #111111;
    box-shadow: var(--shadow-sm);
}

.chat-inbox-item p,
.chat-inbox-item small,
.chat-inbox-meta time {
    color: var(--muted);
}

.chat-inbox-item p,
.chat-inbox-item small {
    margin: 0.2rem 0 0;
    display: block;
}

.chat-inbox-meta {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
}

@media (min-width: 1024px) {
    .customer-chat-layout {
        grid-template-columns: minmax(0, 1.45fr) 320px;
        align-items: start;
    }

    .admin-chat-layout {
        grid-template-columns: 340px minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 767px) {
    .chat-thread-panel {
        padding: 0.9rem;
        border-radius: 20px;
    }

    .chat-bubble {
        max-width: 100%;
        padding: 0.9rem;
    }

    .chat-compose-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .chat-upload-field,
    .chat-compose-actions .button {
        width: 100%;
        justify-content: center;
    }
}


.header-search-shell {
    position: relative;
    align-items: center;
    gap: 0.65rem;
}

.header-search-panel {
    position: absolute;
    top: 50%;
    right: calc(100% + 0.65rem);
    transform: translateY(-50%);
    display: none;
    width: min(320px, 42vw);
    z-index: 30;
}

.header-search-panel.is-open {
    display: block;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 240px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.header-search svg {
    width: 18px;
    height: 18px;
    fill: var(--muted);
    flex: 0 0 auto;
}

.header-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    color: var(--text);
    padding: 0;
    min-width: 0;
}

.header-search input::placeholder {
    color: var(--muted);
}

.header-search--mobile {
    margin-bottom: 0.4rem;
    min-width: 0;
}

@media (max-width: 767px) {
    .header-search--mobile {
        display: flex;
    }
}





.header-search-drawer {
    padding: 0 1rem 1rem;
}

.header-search-drawer__form {
    max-width: 420px;
    margin-left: auto;
}

.header-search-drawer.is-open {
    display: block;
}

@media (max-width: 1023px) {
    .header-search-drawer {
        display: none !important;
    }
}

.auth-layout--login-premium {
    align-items: stretch;
}

.auth-showcase--login {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    display: grid;
    align-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 36%),
        linear-gradient(160deg, #0f1720 0%, #182331 58%, #223449 100%);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.auth-showcase__content {
    display: grid;
    gap: 1rem;
    max-width: 28rem;
}

.auth-showcase__content p:not(.eyebrow) {
    color: rgba(255,255,255,.78);
    line-height: 1.75;
}

.auth-showcase__panel {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-stat-card {
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
}

.auth-stat-card strong {
    font-size: 1.35rem;
    line-height: 1.1;
}

.auth-stat-card span,
.auth-stat-card p {
    color: rgba(255,255,255,.8);
    margin: 0;
    line-height: 1.5;
}

.auth-stat-card--wide {
    grid-column: 1 / -1;
}

.auth-card--login-refined {
    display: grid;
    align-content: center;
    gap: 1.1rem;
    padding: 1.6rem;
    border-radius: 28px;
}

.auth-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-form-refined {
    gap: 1rem;
}

.auth-form-refined input {
    min-height: 54px;
}

.login-hint--premium {
    display: grid;
    gap: 0.25rem;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #faf9f6 0%, #f4f1eb 100%);
}

.login-hint__label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.login-hint--premium strong {
    font-size: 1rem;
    color: var(--text);
}

.login-hint--premium small {
    color: var(--muted);
}

@media (min-width: 768px) {
    .auth-layout--login-premium {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    }
}

@media (max-width: 767px) {
    .auth-showcase--login {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 24px;
    }

    .auth-showcase__panel {
        grid-template-columns: 1fr;
    }

    .auth-card--login-refined {
        padding: 1.2rem;
        border-radius: 24px;
    }
}

.auth-layout--login-minimal {
    align-items: stretch;
    gap: 1rem;
}

.auth-editorial-panel {
    display: grid;
    align-content: end;
    gap: 1rem;
    min-height: 420px;
    padding: 2rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(17,17,17,0.06), rgba(17,17,17,0.18)),
        linear-gradient(135deg, #f3efe8 0%, #e5ddd0 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.auth-editorial-panel h1 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.auth-editorial-panel p:not(.eyebrow) {
    max-width: 28rem;
    color: rgba(17,17,17,0.72);
    line-height: 1.7;
}

.auth-editorial-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.auth-editorial-tags span {
    background: rgba(255,255,255,0.78);
    color: var(--text);
}

.auth-card--minimal-login {
    display: grid;
    align-content: center;
    gap: 1.15rem;
    padding: 2rem;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.auth-card__topline--stacked {
    display: grid;
    gap: 0.35rem;
    justify-content: start;
}

.auth-form-refined--minimal {
    gap: 1rem;
}

.auth-form-refined--minimal input {
    min-height: 56px;
    border-radius: 16px;
}

.login-hint--minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #faf8f3;
}

.login-hint--minimal div {
    display: grid;
    gap: 0.2rem;
    justify-items: end;
}

.login-hint--minimal strong {
    font-size: 0.98rem;
    color: var(--text);
}

.login-hint--minimal small {
    color: var(--muted);
}

@media (min-width: 768px) {
    .auth-layout--login-minimal {
        grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    }
}

@media (max-width: 767px) {
    .auth-editorial-panel,
    .auth-card--minimal-login {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 24px;
    }

    .login-hint--minimal {
        display: grid;
        justify-content: start;
    }

    .login-hint--minimal div {
        justify-items: start;
    }
}

.seller-callout-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.seller-page-grid {
    display: grid;
    gap: 1rem;
}

.seller-panel-card {
    display: grid;
    gap: 1rem;
    padding: 1.3rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.seller-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.seller-hero-points {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.seller-dashboard-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seller-form-grid,
.seller-stats-grid {
    display: grid;
    gap: 1rem;
}

.seller-stats-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.seller-stat-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.seller-stat-card span {
    color: var(--muted);
}

.seller-stat-card strong {
    font-size: 1.5rem;
}

.seller-preview-card {
    align-content: start;
}

.seller-preview-media {
    display: grid;
    gap: 0.75rem;
}

.seller-preview-media img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--surface-soft);
}

@media (min-width: 1024px) {
    .seller-page-grid {
        grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
        align-items: start;
    }

    .seller-form-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 767px) {
    .seller-stats-grid {
        grid-template-columns: 1fr;
    }
}

.product-card__seller-row { display: flex; align-items: center; gap: .4rem; }
.product-card__seller {
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent);
}
.product-card__seller:hover,
.product-store-inline a:hover { color: var(--text); }
.product-store-inline {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
    font-size: .9rem;
    color: var(--muted);
}
.product-store-inline a {
    font-weight: 700;
    color: var(--text);
}
.store-hero {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
}
.store-hero__content { display: grid; gap: 1rem; }
.store-hero__visual img,
.store-hero__placeholder {
    width: 100%;
    min-height: 280px;
    border-radius: 22px;
    background: var(--surface-soft);
    object-fit: cover;
}
.store-hero__placeholder {
    display: grid;
    place-items: center;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
}
@media (max-width: 900px) {
    .store-hero { grid-template-columns: 1fr; }
    .store-hero__visual img,
    .store-hero__placeholder { min-height: 220px; }
}

.role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: .78rem;
    font-weight: 700;
}
.role-pill--approved,
.role-pill--active,
.role-pill--delivered { background: rgba(45,122,88,.12); color: var(--success); }
.role-pill--pending,
.role-pill--processing { background: rgba(138,99,73,.12); color: var(--accent); }
.role-pill--rejected,
.role-pill--inactive { background: rgba(180,81,66,.12); color: var(--danger); }
.role-pill--shipped { background: rgba(17,17,17,.08); color: var(--text); }
.admin-table-row--stacked {
    align-items: flex-start;
    gap: 1rem;
}
.seller-admin-form {
    display: grid;
    gap: .75rem;
    width: min(100%, 420px);
}
.seller-status-banner {
    display: grid;
    gap: .8rem;
    border-style: dashed;
}
.admin-seller-stats-grid { margin-bottom: 1rem; }

.seller-admin-form textarea { min-height: 92px; }

.account-stats-grid { margin-bottom: 1rem; }


.account-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}
.account-hero__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #111111;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}
.account-hero__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.account-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.account-form-grid { gap: 1rem; }
.account-address-card {
    display: grid;
    gap: .45rem;
}
.account-activity-row .role-pill--view { background: rgba(138,99,73,.12); color: var(--accent); }
.account-activity-row .role-pill--cart { background: rgba(17,17,17,.08); color: var(--text); }
.account-activity-row .role-pill--purchase { background: rgba(45,122,88,.12); color: var(--success); }
@media (max-width: 900px) {
    .account-hero,
    .account-grid {
        grid-template-columns: 1fr;
    }
    .account-hero__actions {
        justify-content: flex-start;
    }
}

.account-avatar--image {
    object-fit: cover;
    border: 1px solid var(--line);
}
.account-address-row {
    align-items: flex-start;
}

.checkout-form-grid textarea,
.checkout-form-grid select,
.seller-admin-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--text);
}

.checkout-form-grid textarea {
    resize: vertical;
    min-height: 108px;
}

.order-detail-card {
    display: grid;
    gap: 1rem;
}

.order-detail-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-detail-stats {
    margin-bottom: 0;
}

.order-info-list {
    display: grid;
    gap: 0.65rem;
}

.order-info-list p {
    margin: 0;
    color: var(--muted);
}

.order-info-list strong {
    color: var(--text);
}

.order-item-list {
    display: grid;
    gap: 0.9rem;
}

.order-item-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.order-item-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.order-item-row__media img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 18px;
    background: var(--surface-soft);
}

.order-item-row__content {
    display: grid;
    gap: 0.3rem;
}

.order-item-row__content p {
    margin: 0;
    color: var(--muted);
}

.row-actions--wrap {
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .order-item-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .order-item-row > strong {
        grid-column: 2;
    }
}

.tracking-layout--advanced {
    display: grid;
    gap: 1rem;
}

.tracking-search-card,
.tracking-hero-card,
.tracking-sellers-card,
.tracking-items-card,
.tracking-empty-card {
    background: #fff;
}

.tracking-form--inline {
    display: grid;
    gap: 1rem;
    align-items: end;
}

.tracking-hero-card__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.tracking-hero-card__meta {
    display: grid;
    gap: 0.45rem;
    justify-items: end;
    color: var(--muted);
    text-align: right;
}

.tracking-status-pill--pending { background: rgba(138,99,73,.12); color: var(--accent); }
.tracking-status-pill--processing { background: rgba(138,99,73,.12); color: var(--accent); }
.tracking-status-pill--shipped { background: rgba(17,17,17,.08); color: var(--text); }
.tracking-status-pill--delivered { background: rgba(45,122,88,.12); color: var(--success); }

.tracking-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.tracking-progress__step {
    display: grid;
    gap: 0.65rem;
    justify-items: center;
    text-align: center;
    color: var(--muted);
    position: relative;
}

.tracking-progress__step::before {
    content: '';
    position: absolute;
    top: 14px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--line);
}

.tracking-progress__step:first-child::before {
    display: none;
}

.tracking-progress__step.is-complete::before {
    background: var(--text);
}

.tracking-progress__dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 1;
}

.tracking-progress__step.is-complete .tracking-progress__dot {
    background: var(--text);
    border-color: var(--text);
    box-shadow: 0 10px 18px rgba(17,17,17,.14);
}

.tracking-detail-grid,
.tracking-seller-grid {
    display: grid;
    gap: 1rem;
}

.tracking-detail-grid {
    grid-template-columns: 1.1fr .9fr;
}

.tracking-seller-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tracking-seller-tile {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f6f1 100%);
}

.tracking-seller-tile p {
    margin: 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .tracking-form--inline {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 900px) {
    .tracking-hero-card__top,
    .tracking-detail-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .tracking-hero-card__meta {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .tracking-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tracking-progress__step::before {
        display: none;
    }
}

.tracking-kpi-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tracking-kpi-card small {
    color: var(--muted);
}

.tracking-action-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tracking-timeline-card {
    background: #fff;
}

.tracking-timeline {
    display: grid;
    gap: 0.9rem;
}

.tracking-timeline__item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    position: relative;
}

.tracking-timeline__item::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 11px;
    width: 2px;
    height: calc(100% + 0.9rem);
    background: var(--line);
}

.tracking-timeline__item:last-child::before {
    display: none;
}

.tracking-timeline__dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 1;
}

.tracking-timeline__item.is-complete .tracking-timeline__dot {
    background: var(--text);
    border-color: var(--text);
}

.tracking-timeline__item.is-complete::before {
    background: rgba(17,17,17,.2);
}

.tracking-timeline__content {
    display: grid;
    gap: 0.35rem;
}

.tracking-timeline__content p {
    margin: 0;
    color: var(--muted);
}

.tracking-timeline__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.tracking-timeline__top span {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .tracking-kpi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tracking-timeline__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.tracking-request-card {
    background: #fff;
}

.request-form-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #faf7f1 100%);
    margin-bottom: 1rem;
}

.request-form-card h4 {
    margin: 0 0 0.35rem;
}

.request-form-card textarea,
.request-row-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text);
    resize: vertical;
}

.tracking-request-list {
    display: grid;
    gap: 0.85rem;
}

.tracking-request-item {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.tracking-request-item p,
.tracking-request-item small {
    margin: 0;
    color: var(--muted);
}

.tracking-request-item__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}


.tracking-progress__step--pending .tracking-progress__icon {
    color: #c24d3c;
    border-color: rgba(194, 77, 60, 0.24);
    background: rgba(194, 77, 60, 0.08);
}

.tracking-progress__step--processing .tracking-progress__icon {
    color: #b07a21;
    border-color: rgba(176, 122, 33, 0.24);
    background: rgba(176, 122, 33, 0.08);
}

.tracking-progress__step--shipped .tracking-progress__icon {
    color: #2563c9;
    border-color: rgba(37, 99, 201, 0.24);
    background: rgba(37, 99, 201, 0.08);
}

.tracking-progress__step--delivered .tracking-progress__icon {
    color: #2d7a58;
    border-color: rgba(45, 122, 88, 0.24);
    background: rgba(45, 122, 88, 0.08);
}

.tracking-progress__step.is-complete.tracking-progress__step--pending .tracking-progress__icon {
    background: #c24d3c;
    border-color: #c24d3c;
    color: #fff;
}

.tracking-progress__step.is-complete.tracking-progress__step--processing .tracking-progress__icon {
    background: #b07a21;
    border-color: #b07a21;
    color: #fff;
}

.tracking-progress__step.is-complete.tracking-progress__step--shipped .tracking-progress__icon {
    background: #2563c9;
    border-color: #2563c9;
    color: #fff;
}

.tracking-progress__step.is-complete.tracking-progress__step--delivered .tracking-progress__icon {
    background: #2d7a58;
    border-color: #2d7a58;
    color: #fff;
}

.tracking-progress__step--pending.is-complete::before {
    background: rgba(194, 77, 60, 0.3);
}

.tracking-progress__step--processing.is-complete::before {
    background: rgba(176, 122, 33, 0.3);
}

.tracking-progress__step--shipped.is-complete::before,
.tracking-progress__step--delivered.is-complete::before {
    background: rgba(45, 122, 88, 0.24);
}

.tracking-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 1rem 0 0.2rem;
}

.tracking-progress::before {
    content: '';
    position: absolute;
    top: 33px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, rgba(194,77,60,.18) 0%, rgba(176,122,33,.18) 33%, rgba(37,99,201,.18) 66%, rgba(45,122,88,.18) 100%);
}

.tracking-progress__step {
    gap: 0.8rem;
    justify-items: center;
    align-content: start;
}

.tracking-progress__step::before {
    display: none;
}

.tracking-progress__icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 100%);
    box-shadow: 0 16px 30px rgba(17,17,17,.07);
}

.tracking-progress__icon svg {
    width: 26px;
    height: 26px;
}

.tracking-progress__step strong {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tracking-progress__step strong::after {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
}

.tracking-progress__step--pending strong::after {
    content: 'Awaiting review';
}

.tracking-progress__step--processing strong::after {
    content: 'Preparing parcel';
}

.tracking-progress__step--shipped strong::after {
    content: 'In transit';
}

.tracking-progress__step--delivered strong::after {
    content: 'Completed';
}

.tracking-progress__step--pending .tracking-progress__icon {
    color: #be4e43;
    background: linear-gradient(180deg, rgba(255,244,242,1) 0%, rgba(255,236,232,1) 100%);
    border-color: rgba(190,78,67,.14);
}

.tracking-progress__step--processing .tracking-progress__icon {
    color: #af7a22;
    background: linear-gradient(180deg, rgba(255,249,239,1) 0%, rgba(255,243,220,1) 100%);
    border-color: rgba(175,122,34,.14);
}

.tracking-progress__step--shipped .tracking-progress__icon {
    color: #2d68cf;
    background: linear-gradient(180deg, rgba(241,246,255,1) 0%, rgba(229,238,255,1) 100%);
    border-color: rgba(45,104,207,.14);
}

.tracking-progress__step--delivered .tracking-progress__icon {
    color: #2d7a58;
    background: linear-gradient(180deg, rgba(240,249,245,1) 0%, rgba(228,244,236,1) 100%);
    border-color: rgba(45,122,88,.14);
}

.tracking-progress__step.is-complete .tracking-progress__icon {
    transform: translateY(-4px);
}

.tracking-progress__step.is-complete strong {
    color: var(--text);
}

.tracking-progress__step:not(.is-complete) {
    opacity: 0.65;
}

.tracking-progress__step:not(.is-complete) .tracking-progress__icon {
    box-shadow: none;
    filter: saturate(0.88);
}

@media (max-width: 640px) {
    .tracking-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.85rem;
    }

    .tracking-progress::before {
        display: none;
    }

    .tracking-progress__icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .tracking-progress__icon svg {
        width: 22px;
        height: 22px;
    }
}

.tracking-hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.tracking-hero-card::after {
    content: '';
    position: absolute;
    inset: auto -8% -32% auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(17,17,17,.05) 0%, rgba(17,17,17,0) 68%);
    pointer-events: none;
}

.tracking-progress__step {
    transition: transform .28s ease, opacity .28s ease;
}

.tracking-progress__step strong {
    transition: color .22s ease, transform .22s ease;
}

.tracking-progress__step strong::after {
    transition: color .22s ease, opacity .22s ease;
}

.tracking-progress__step.is-current {
    transform: translateY(-4px);
    opacity: 1;
}

.tracking-progress__step.is-current .tracking-progress__icon {
    transform: translateY(-7px) scale(1.08);
    box-shadow: 0 22px 40px rgba(17,17,17,.12);
}

.tracking-progress__step.is-current strong {
    transform: scale(1.03);
}

.tracking-progress__step--pending.is-current .tracking-progress__icon {
    box-shadow: 0 24px 42px rgba(190,78,67,.18);
}

.tracking-progress__step--processing.is-current .tracking-progress__icon {
    box-shadow: 0 24px 42px rgba(175,122,34,.18);
}

.tracking-progress__step--shipped.is-current .tracking-progress__icon {
    box-shadow: 0 24px 42px rgba(45,104,207,.18);
}

.tracking-progress__step--delivered.is-current .tracking-progress__icon {
    box-shadow: 0 24px 42px rgba(45,122,88,.18);
}

.tracking-progress__step.is-current strong::after {
    opacity: 1;
    color: var(--text);
}

.tracking-progress__step:not(.is-current) strong::after {
    opacity: 0.88;
}

@media (max-width: 640px) {
    .tracking-progress__step.is-current {
        transform: translateY(-2px);
    }

    .tracking-progress__step.is-current .tracking-progress__icon {
        transform: translateY(-4px) scale(1.04);
    }
}

.tracking-layout--advanced {
    gap: 1.4rem;
}

.tracking-search-card,
.tracking-hero-card,
.tracking-customer-card,
.tracking-summary-card,
.tracking-request-card,
.tracking-timeline-card,
.tracking-sellers-card,
.tracking-items-card,
.tracking-empty-card {
    border: 1px solid rgba(17,17,17,.06);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
    box-shadow: 0 18px 40px rgba(17,17,17,.05);
}

.tracking-search-card {
    padding: 1.5rem;
}

.tracking-search-card .section-head h1,
.tracking-hero-card h2 {
    letter-spacing: -0.03em;
}

.tracking-search-card .product-copy,
.tracking-hero-card .product-copy {
    max-width: 62ch;
}

.tracking-kpi-card {
    padding: 1.2rem 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(17,17,17,.06);
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
    box-shadow: 0 14px 28px rgba(17,17,17,.04);
}

.tracking-kpi-card span {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
}

.tracking-kpi-card strong {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.tracking-detail-grid > .section-card,
.tracking-request-card,
.tracking-timeline-card,
.tracking-sellers-card,
.tracking-items-card {
    padding: 1.35rem;
}

.tracking-customer-card .section-head,
.tracking-summary-card .section-head,
.tracking-request-card .section-head,
.tracking-timeline-card .section-head,
.tracking-sellers-card .section-head,
.tracking-items-card .section-head {
    margin-bottom: 0.9rem;
}

.tracking-summary-card .summary-line,
.tracking-customer-card .order-info-list p {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(17,17,17,.06);
}

.tracking-summary-card .summary-line:last-child,
.tracking-customer-card .order-info-list p:last-child {
    border-bottom: 0;
}

.request-form-card,
.tracking-request-item,
.tracking-seller-tile {
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.06);
    box-shadow: 0 10px 22px rgba(17,17,17,.035);
}

.request-form-card {
    background: linear-gradient(180deg, #ffffff 0%, #faf8f2 100%);
}

.tracking-request-item {
    background: linear-gradient(180deg, #ffffff 0%, #fdfcf9 100%);
}

.tracking-seller-tile {
    padding: 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f2 100%);
}

.tracking-timeline__item {
    padding: 0.35rem 0 0.1rem;
}

.tracking-timeline__content {
    padding: 0.2rem 0 0.75rem;
    border-bottom: 1px solid rgba(17,17,17,.05);
}

.tracking-timeline__item:last-child .tracking-timeline__content {
    border-bottom: 0;
    padding-bottom: 0;
}

.order-item-row {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(17,17,17,.06);
}

.order-item-row__media img {
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(17,17,17,.05);
}

.order-item-row__content strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.order-item-row__content p a,
.tracking-seller-tile a {
    font-weight: 700;
}

.tracking-empty-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

.tracking-empty-card .seller-dashboard-links {
    justify-content: center;
}

@media (max-width: 900px) {
    .tracking-search-card,
    .tracking-hero-card,
    .tracking-customer-card,
    .tracking-summary-card,
    .tracking-request-card,
    .tracking-timeline-card,
    .tracking-sellers-card,
    .tracking-items-card,
    .tracking-empty-card {
        border-radius: 22px;
    }
}

.tracking-kpi-card--courier {
    position: relative;
    overflow: hidden;
}

.tracking-kpi-card--courier::after {
    content: '';
    position: absolute;
    inset: auto -24px -28px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(17,17,17,.06) 0%, rgba(17,17,17,0) 72%);
}

.courier-badge {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
}

.courier-badge__mark,
.tracking-mini-badge,
.tracking-product-media__badge {
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.courier-badge__mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(180deg, #111111 0%, #292929 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(17,17,17,.16);
}

.courier-badge > div {
    display: grid;
    gap: 0.2rem;
}

.courier-badge > div span {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .7rem;
    color: var(--muted);
}

.courier-badge > div strong {
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.tracking-seller-tile__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.tracking-mini-badge {
    min-width: 38px;
    height: 38px;
    padding: 0 0.6rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #f1f3f7 0%, #e8ecf4 100%);
    color: #111111;
    border: 1px solid rgba(17,17,17,.06);
}

.tracking-product-media {
    position: relative;
}

.tracking-product-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(180deg, rgba(17,17,17,0) 0%, rgba(17,17,17,.16) 100%);
    pointer-events: none;
}

.tracking-product-media__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #111111;
    border: 1px solid rgba(17,17,17,.08);
    box-shadow: 0 10px 18px rgba(17,17,17,.08);
    z-index: 1;
}

@media (max-width: 640px) {
    .courier-badge__mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .tracking-mini-badge {
        min-width: 34px;
        height: 34px;
    }
}

.tracking-hero-card {
    padding: 1.6rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(45,122,88,.08) 0%, rgba(45,122,88,0) 28%),
        radial-gradient(circle at top left, rgba(37,104,207,.08) 0%, rgba(37,104,207,0) 24%),
        linear-gradient(180deg, #ffffff 0%, #f8f5ef 100%);
    box-shadow: 0 28px 60px rgba(17,17,17,.07);
}

.tracking-hero-card__top {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tracking-hero-card__top > div:first-child {
    display: grid;
    gap: 0.5rem;
}

.tracking-hero-card__top .eyebrow {
    color: rgba(17,17,17,.58);
    letter-spacing: .14em;
}

.tracking-hero-card h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.tracking-hero-card .product-copy {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(17,17,17,.68);
    max-width: 54ch;
}

.tracking-hero-card__meta {
    min-width: 240px;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(17,17,17,.06);
    box-shadow: 0 14px 28px rgba(17,17,17,.04);
    backdrop-filter: blur(10px);
}

.tracking-hero-card__meta p {
    margin: 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(17,17,17,.06);
}

.tracking-hero-card__meta p + p {
    margin-top: 0.55rem;
}

.tracking-status-pill {
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tracking-status-pill--pending {
    background: rgba(194,77,60,.12);
    color: #be4e43;
}

.tracking-status-pill--processing {
    background: rgba(175,122,34,.12);
    color: #af7a22;
}

.tracking-status-pill--shipped {
    background: rgba(45,104,207,.12);
    color: #2d68cf;
}

.tracking-status-pill--delivered {
    background: rgba(45,122,88,.12);
    color: #2d7a58;
}

@media (max-width: 900px) {
    .tracking-hero-card {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .tracking-hero-card__meta {
        min-width: 0;
        width: 100%;
    }
}

/* Track page premium sizing + overflow fixes */
.tracking-kpi-card--courier,
.tracking-seller-tile {
    overflow: hidden;
}

.tracking-kpi-card--courier small,
.tracking-seller-tile p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tracking-kpi-card--courier small {
    font-size: 0.84rem;
    line-height: 1.35;
}

.tracking-seller-tile p {
    font-size: 0.9rem;
}

.tracking-progress {
    gap: 1rem;
    padding-top: 0.75rem;
}

.tracking-progress::before {
    top: 29px;
}

.tracking-progress__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.tracking-progress__icon svg {
    width: 20px;
    height: 20px;
}

.tracking-progress__step strong {
    font-size: 0.86rem;
}

.tracking-progress__step strong::after {
    font-size: 0.69rem;
    margin-top: 0.2rem;
}

.tracking-progress__step.is-current .tracking-progress__icon {
    transform: translateY(-4px) scale(1.04);
}

.tracking-progress__step.is-current strong {
    transform: scale(1.01);
}

@media (max-width: 640px) {
    .tracking-progress__icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
    }

    .tracking-progress__icon svg {
        width: 18px;
        height: 18px;
    }

    .tracking-kpi-card--courier small,
    .tracking-seller-tile p {
        font-size: 0.82rem;
    }
}

/* Hard fix: live status overflow + smaller icons */
.tracking-hero-card,
.tracking-hero-card__top,
.tracking-hero-card__meta {
    min-width: 0;
}

.tracking-hero-card h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1;
}

.tracking-hero-card__meta {
    width: min(100%, 250px);
}

.tracking-hero-card__meta p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tracking-kpi-card--courier small,
.tracking-seller-tile p {
    max-width: 100%;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.tracking-progress__icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
}

.tracking-progress__icon svg {
    width: 17px !important;
    height: 17px !important;
}

.tracking-progress__step.is-current .tracking-progress__icon,
.tracking-progress__step.is-complete .tracking-progress__icon {
    transform: translateY(-2px) scale(1.01) !important;
}

@media (max-width: 900px) {
    .tracking-hero-card__meta {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tracking-progress__icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
    }

    .tracking-progress__icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .tracking-hero-card h2 {
        font-size: clamp(1.45rem, 7vw, 1.95rem) !important;
    }
}

/* Single-line number + cleaner pending step */
.tracking-hero-card h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(100%, 24ch);
    font-size: clamp(1.45rem, 3.1vw, 2.25rem) !important;
}

.tracking-kpi-card--courier small,
.tracking-seller-tile p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracking-progress__icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 15px !important;
}

.tracking-progress__icon svg {
    width: 18px !important;
    height: 18px !important;
}

.tracking-progress__step--pending.is-current {
    opacity: 1;
}

.tracking-progress__step--pending.is-current .tracking-progress__icon {
    border-color: rgba(190,78,67,.34) !important;
    box-shadow: 0 20px 34px rgba(190,78,67,.2) !important;
}

.tracking-progress__step--pending strong::after {
    content: 'Awaiting confirmation';
}

@media (max-width: 640px) {
    .tracking-hero-card h2 {
        max-width: 100%;
        font-size: clamp(1.2rem, 6vw, 1.6rem) !important;
    }

    .tracking-progress__icon {
        width: 46px !important;
        height: 46px !important;
        border-radius: 13px !important;
    }

    .tracking-progress__icon svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Ensure tracking number shows fully on one line */
.tracking-id-line {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .tracking-id-line {
        font-size: 0.72rem !important;
    }
}

/* Premium redesign: track-number entry section */
.tracking-search-card {
    position: relative;
    overflow: hidden;
    padding: 1.8rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(45,122,88,.09) 0%, rgba(45,122,88,0) 32%),
        radial-gradient(circle at top left, rgba(37,104,207,.09) 0%, rgba(37,104,207,0) 26%),
        linear-gradient(180deg, #ffffff 0%, #f8f4ec 100%);
    box-shadow: 0 26px 54px rgba(17,17,17,.08);
}

.tracking-search-card::before {
    content: '';
    position: absolute;
    inset: auto -9% -36% auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(17,17,17,.06) 0%, rgba(17,17,17,0) 68%);
    pointer-events: none;
}

.tracking-search-card .section-head {
    margin-bottom: 1rem;
}

.tracking-search-card .eyebrow {
    letter-spacing: .14em;
    color: rgba(17,17,17,.56);
}

.tracking-search-card .section-head h1 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    letter-spacing: -0.045em;
}

.tracking-search-card .product-copy {
    margin-top: 0.35rem;
    color: rgba(17,17,17,.66);
    line-height: 1.62;
}

.tracking-form--inline {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: end;
}

.tracking-form--inline label {
    gap: 0.4rem;
}

.tracking-form--inline .field-label {
    font-size: 0.76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(17,17,17,.56);
}

.tracking-form--inline input[type="text"] {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(17,17,17,.12);
    background: rgba(255,255,255,.92);
    padding: 0 1rem;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tracking-form--inline input[type="text"]:focus {
    outline: none;
    border-color: rgba(17,17,17,.32);
    box-shadow: 0 0 0 4px rgba(17,17,17,.07);
    background: #fff;
}

.tracking-form--inline .button.primary.wide-button {
    height: 52px;
    border-radius: 16px;
    padding: 0 1.2rem;
    font-weight: 700;
    letter-spacing: .01em;
    background: linear-gradient(180deg, #1a1a1a 0%, #101010 100%);
    border: 1px solid #0f0f0f;
    box-shadow: 0 14px 28px rgba(17,17,17,.22);
}

.tracking-form--inline .button.primary.wide-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(17,17,17,.28);
}

@media (max-width: 760px) {
    .tracking-search-card {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .tracking-form--inline {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .tracking-form--inline .button.primary.wide-button {
        width: 100%;
    }
}

/* Track input icon + animated focus glow */
.tracking-field-shell {
    position: relative;
    display: block;
}

.tracking-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(17,17,17,.45);
    pointer-events: none;
    transition: color .2s ease, transform .2s ease;
}

.tracking-field-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tracking-form--inline .tracking-field-shell input[type="text"] {
    padding-left: 2.35rem;
}

.tracking-field-shell::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.1);
    opacity: 0;
    transform: scale(.99);
    pointer-events: none;
}

.tracking-field-shell:focus-within::after {
    opacity: 1;
    animation: trackingGlow 1.6s ease-in-out infinite;
}

.tracking-field-shell:focus-within .tracking-field-icon {
    color: rgba(17,17,17,.8);
    transform: translateY(-50%) scale(1.06);
}

@keyframes trackingGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(17,17,17,.14);
        border-color: rgba(17,17,17,.16);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(17,17,17,.06);
        border-color: rgba(17,17,17,.32);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(17,17,17,.14);
        border-color: rgba(17,17,17,.16);
    }
}

/* Premium track-order CTA refinement */
.tracking-form--inline .button.primary.wide-button {
    position: relative;
    overflow: hidden;
    min-width: 170px;
    background: linear-gradient(135deg, #111111 0%, #1e1e1e 52%, #2b2b2b 100%);
    border: 1px solid rgba(17, 17, 17, 0.96);
    box-shadow:
        0 16px 30px rgba(17, 17, 17, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.tracking-form--inline .button.primary.wide-button::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%);
    pointer-events: none;
}

.tracking-form--inline .button.primary.wide-button::after {
    content: '';
    position: absolute;
    top: -35%;
    left: -18%;
    width: 42%;
    height: 170%;
    transform: rotate(18deg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.17) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: transform .36s ease, opacity .24s ease;
    pointer-events: none;
}

.tracking-form--inline .button.primary.wide-button:hover {
    transform: translateY(-2px);
    filter: saturate(1.04);
    box-shadow:
        0 22px 36px rgba(17, 17, 17, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tracking-form--inline .button.primary.wide-button:hover::after {
    opacity: 1;
    transform: translateX(185%) rotate(18deg);
}

.tracking-form--inline .button.primary.wide-button:active {
    transform: translateY(0);
    box-shadow:
        0 10px 22px rgba(17, 17, 17, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Strong visual override for track-order CTA */
.tracking-track-cta {
    width: auto !important;
    min-width: 188px !important;
    height: 54px !important;
    padding: 0 1.35rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(160, 120, 72, 0.26) !important;
    background: linear-gradient(180deg, #f0e6d8 0%, #e5d5bc 100%) !important;
    color: #1f1a14 !important;
    box-shadow: 0 16px 32px rgba(122, 91, 53, 0.18) !important;
    position: relative;
    overflow: hidden;
    transform: none !important;
}

.tracking-track-cta span {
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.tracking-track-cta::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.08) 48%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.tracking-track-cta::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -24%;
    width: 40%;
    height: 170%;
    transform: rotate(18deg);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.46) 50%, rgba(255,255,255,0) 100%);
    opacity: .42;
    pointer-events: none;
}

.tracking-track-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 22px 40px rgba(122, 91, 53, 0.24) !important;
    filter: saturate(1.03);
}

.tracking-track-cta:hover::after {
    animation: trackCtaSweep .7s ease forwards;
}

.tracking-track-cta:active {
    transform: translateY(0) !important;
    box-shadow: 0 10px 22px rgba(122, 91, 53, 0.18) !important;
}

@keyframes trackCtaSweep {
    from {
        left: -24%;
        opacity: .2;
    }
    to {
        left: 120%;
        opacity: .55;
    }
}

@media (max-width: 760px) {
    .tracking-track-cta {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Final track-order command bar polish */
.tracking-form--inline {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

.tracking-command-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.85rem;
    padding: 0.8rem;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.76);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 18px 34px rgba(17,17,17,.05);
    backdrop-filter: blur(12px);
}

.tracking-command-bar label {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.tracking-command-bar .tracking-field-shell input[type="text"] {
    height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,246,240,.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.tracking-command-bar .tracking-field-shell::after {
    border-radius: 20px;
}

.tracking-track-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    min-width: 196px !important;
    height: 58px !important;
    padding: 0 1.5rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(173, 140, 103, 0.34) !important;
    background: linear-gradient(180deg, #f4eadc 0%, #ead8be 100%) !important;
    color: #1f1a14 !important;
    box-shadow: 0 18px 34px rgba(118, 88, 52, 0.18), inset 0 1px 0 rgba(255,255,255,.54) !important;
}

.tracking-track-cta svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    position: relative;
    z-index: 1;
    transition: transform .2s ease;
}

.tracking-track-cta:hover svg {
    transform: translateX(2px);
}

.tracking-track-cta:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 24px 42px rgba(118, 88, 52, 0.24), inset 0 1px 0 rgba(255,255,255,.58) !important;
}

.tracking-track-cta:active {
    transform: translateY(0) scale(.995) !important;
}

@media (max-width: 760px) {
    .tracking-command-bar {
        grid-template-columns: 1fr;
        padding: 0.7rem;
        border-radius: 20px;
    }

    .tracking-command-bar .tracking-field-shell input[type="text"] {
        height: 54px;
    }

    .tracking-track-cta {
        width: 100% !important;
        min-width: 0 !important;
        height: 54px !important;
    }
}

/* Premium header refresh */
.top-strip {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0.2rem 0.1rem;
    color: rgba(17,17,17,.58);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.top-strip span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-strip span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b89674 0%, #8a6349 100%);
    box-shadow: 0 0 0 4px rgba(184,150,116,.14);
}

.site-header {
    padding: 10px 0 14px;
}

.site-header__inner {
    min-height: 82px;
    padding: 0.9rem 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.62);
    background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(250,247,242,.86) 100%);
    box-shadow: 0 18px 44px rgba(17,17,17,.08), inset 0 1px 0 rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled .site-header__inner {
    box-shadow: 0 22px 50px rgba(17,17,17,.11), inset 0 1px 0 rgba(255,255,255,.94);
}

.brand-mark {
    gap: 0.95rem;
}

.brand-logo,
.brand-logo-image {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.brand-logo {
    background: linear-gradient(180deg, #161616 0%, #2b2b2b 100%);
    box-shadow: 0 14px 26px rgba(17,17,17,.18);
}

.brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: -0.04em;
}

.brand-copy small {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav {
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(17,17,17,.06);
    border-radius: 999px;
    background: rgba(255,255,255,.56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}

.site-nav__link {
    position: relative;
    min-height: 42px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    color: rgba(17,17,17,.6);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-nav__link:hover {
    color: #121212;
    background: rgba(255,255,255,.76);
    transform: translateY(-1px);
}

.site-nav__link--accent {
    color: #8a6349;
}

.site-nav__link--accent:hover {
    color: #6f4d37;
}

.site-header__actions-shell {
    gap: 0.55rem;
    padding: 0.3rem;
    border: 1px solid rgba(17,17,17,.06);
    border-radius: 999px;
    background: rgba(255,255,255,.54);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.66);
}

.header-icon-link,
.header-account-link--premium,
.header-text-link,
.menu-toggle {
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

.header-icon-link,
.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: rgba(17,17,17,.74);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header-icon-link:hover,
.menu-toggle:hover {
    background: rgba(255,255,255,.8);
    color: #111;
    transform: translateY(-1px);
}

.header-account-link--premium {
    min-height: 44px;
    padding: 0.82rem 1.15rem;
    border-radius: 999px;
    background: #111111;
    color: #fff;
    box-shadow: 0 14px 24px rgba(17,17,17,.18);
}

.header-account-link--premium:hover {
    background: #1b1b1b;
}

.header-text-link {
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
    color: rgba(17,17,17,.62);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}

.header-text-link:hover {
    color: #111;
    background: rgba(255,255,255,.72);
}

.header-icon-badge {
    top: 0;
    right: 0;
    min-width: 19px;
    height: 19px;
    font-size: 0.68rem;
    background: linear-gradient(180deg, #111111 0%, #2b2b2b 100%);
    box-shadow: 0 10px 16px rgba(17,17,17,.16);
}

.header-search-drawer {
    padding: 0 0.35rem 1rem;
}

.header-search-drawer__form {
    max-width: 380px;
    margin-left: auto;
}

.header-search {
    min-height: 52px;
    padding: 0.8rem 1rem;
    border-color: rgba(17,17,17,.08);
    background: rgba(255,255,255,.82);
    box-shadow: 0 16px 34px rgba(17,17,17,.08);
}

.mobile-drawer {
    width: min(88vw, 360px);
    padding: 1.4rem;
    border-right: 1px solid rgba(17,17,17,.06);
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,242,235,.97) 100%);
    box-shadow: 0 28px 60px rgba(17,17,17,.16);
}

.mobile-drawer__top strong {
    font-size: 1.02rem;
    letter-spacing: -0.03em;
}

.mobile-drawer__nav a {
    padding: 0.95rem 0;
    color: rgba(17,17,17,.68);
}

.mobile-drawer__nav a:last-child {
    border-bottom: 0;
}

@media (max-width: 1023px) {
    .top-strip {
        grid-template-columns: repeat(3, auto);
        gap: 0.65rem;
        padding-inline: 0.15rem;
        font-size: 0.64rem;
        letter-spacing: 0.08em;
    }

    .site-header {
        padding-top: 8px;
    }

    .site-header__inner {
        min-height: 72px;
        padding: 0.8rem 0.9rem;
        border-radius: 20px;
    }

    .site-header__actions-shell {
        padding: 0.18rem;
        border-radius: 999px;
    }

    .brand-logo,
    .brand-logo-image {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .brand-copy small {
        font-size: 0.68rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 767px) {
    .top-strip {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.3rem;
        padding: 0.45rem 0 0.05rem;
    }

    .top-strip span {
        font-size: 0.62rem;
    }

    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.65rem;
    }

    .brand-copy small {
        display: none;
    }

    .site-header__actions-shell {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .header-icon-link,
    .menu-toggle {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(17,17,17,.06);
        background: rgba(255,255,255,.72);
        box-shadow: 0 10px 20px rgba(17,17,17,.06);
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .site-nav {
        max-width: 100%;
        justify-self: center;
    }
}

/* Header nav states + account dropdown */
.site-nav__link.is-active {
    color: #111;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 22px rgba(17,17,17,.08);
}

.header-account-shell {
    position: relative;
    align-items: center;
}

.header-account-link--premium svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.78;
    transition: transform .2s ease;
}

.header-account-link--premium[aria-expanded='true'] svg {
    transform: rotate(180deg);
}

.header-account-menu {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: 220px;
    display: grid;
    gap: 0.2rem;
    padding: 0.55rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 54px rgba(17,17,17,.12);
    backdrop-filter: blur(18px);
}

.header-account-menu.is-open {
    animation: accountMenuIn .18s ease;
}

.header-account-menu__item {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    color: rgba(17,17,17,.72);
    font-weight: 700;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.header-account-menu__item:hover,
.header-account-menu__item.is-active {
    background: linear-gradient(180deg, #f7f1e8 0%, #f0e5d5 100%);
    color: #111;
    transform: translateY(-1px);
}

.header-search-drawer {
    position: relative;
    padding: 0 0.35rem 1rem;
}

.header-search-drawer__form {
    max-width: 420px;
    margin-left: auto;
}

.header-search-drawer.is-open .header-search {
    animation: accountMenuIn .18s ease;
}

.header-search {
    min-height: 56px;
    padding: 0.85rem 1.05rem;
    border-radius: 22px;
    border-color: rgba(17,17,17,.08);
    background: rgba(255,255,255,.95);
    box-shadow: 0 22px 46px rgba(17,17,17,.08);
}

.header-search:focus-within {
    border-color: rgba(138,99,73,.22);
    box-shadow: 0 24px 50px rgba(17,17,17,.1), 0 0 0 4px rgba(138,99,73,.08);
}

@keyframes accountMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hard hide for header overlays */
.header-account-menu[hidden],
.header-search-drawer[hidden] {
    display: none !important;
}

/* Search drawer refinement */
.header-search-drawer {
    position: relative;
    padding: 0.3rem 0.15rem 0.95rem;
}

.header-search-drawer__form {
    max-width: 320px;
    margin-left: auto;
}

.header-search {
    min-height: 50px;
    gap: 0.55rem;
    padding: 0.72rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.07);
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,246,240,.96) 100%);
    box-shadow: 0 18px 38px rgba(17,17,17,.08);
}

.header-search svg {
    width: 16px;
    height: 16px;
    fill: rgba(17,17,17,.48);
}

.header-search input {
    font-size: 0.92rem;
}

.header-search input::placeholder {
    color: rgba(17,17,17,.42);
}

.header-search:focus-within {
    border-color: rgba(138,99,73,.18);
    box-shadow: 0 20px 42px rgba(17,17,17,.1), 0 0 0 3px rgba(138,99,73,.06);
}

@media (min-width: 1024px) {
    .header-search-drawer {
        margin-top: -0.15rem;
    }
}

/* Premium search overlay */
.header-search-drawer {
    position: relative;
    padding: 0.45rem 0 1.05rem;
}

.header-search-overlay {
    width: min(100%, 980px);
    margin-left: auto;
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 28px;
    border: 1px solid rgba(17,17,17,.07);
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,244,237,.97) 100%);
    box-shadow: 0 28px 56px rgba(17,17,17,.1);
}

.header-search-overlay__copy {
    display: grid;
    gap: 0.35rem;
    max-width: 560px;
}

.header-search-overlay__copy h3 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    letter-spacing: -0.04em;
}

.header-search-overlay__copy p:last-child {
    color: rgba(17,17,17,.62);
    line-height: 1.6;
}

.header-search-drawer__form {
    max-width: none;
    margin-left: 0;
}

.header-search--overlay {
    min-height: 64px;
    gap: 0.8rem;
    padding: 0.7rem 0.75rem 0.7rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.08);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 14px 30px rgba(17,17,17,.06);
}

.header-search--overlay svg {
    width: 18px;
    height: 18px;
}

.header-search--overlay input {
    font-size: 0.98rem;
}

.header-search-submit {
    min-width: 120px;
    min-height: 48px;
    padding-inline: 1.15rem;
    border-radius: 16px;
    box-shadow: 0 14px 22px rgba(17,17,17,.14);
}

.header-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.header-search-suggestions a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.76);
    color: rgba(17,17,17,.68);
    font-size: 0.88rem;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.header-search-suggestions a:hover {
    background: linear-gradient(180deg, #f7f1e8 0%, #f0e5d5 100%);
    color: #111;
    transform: translateY(-1px);
}

@media (max-width: 1023px) {
    .header-search-overlay {
        width: min(100%, 760px);
    }
}

@media (max-width: 767px) {
    .header-search-drawer {
        display: none !important;
    }

    .header-search-overlay {
        padding: 0.95rem;
        border-radius: 22px;
    }

    .header-search--overlay {
        flex-wrap: wrap;
        min-height: 0;
    }

    .header-search-submit {
        width: 100%;
    }
}

/* Search overlay content blocks */
.header-search-meta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1rem;
}

.header-search-panel-block {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.06);
    background: rgba(255,255,255,.62);
}

.header-search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-search-panel-head strong {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.header-search-clear {
    border: 0;
    background: transparent;
    color: rgba(17,17,17,.46);
    font-size: 0.8rem;
    font-weight: 700;
}

.header-search-recent,
.header-search-suggestions--categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.header-search-recent a,
.header-search-suggestions--categories a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.08);
    background: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(17,17,17,.7);
}

.header-search-empty {
    color: rgba(17,17,17,.46);
    font-size: 0.85rem;
}

.header-search-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.header-search-preview-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.07);
    background: rgba(255,255,255,.72);
    box-shadow: 0 12px 24px rgba(17,17,17,.05);
}

.header-search-preview-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    background: #f3efe8;
}

.header-search-preview-card span {
    color: rgba(138,99,73,.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-search-preview-card strong {
    display: block;
    margin: 0.18rem 0;
    font-size: 0.98rem;
    letter-spacing: -0.03em;
}

.header-search-preview-card small {
    color: rgba(17,17,17,.52);
    font-size: 0.84rem;
}

@media (max-width: 1023px) {
    .header-search-meta-grid,
    .header-search-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Fullscreen search modal */
.header-search-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: start center;
    padding: 6.5rem 1.2rem 1.2rem;
    background: rgba(10, 10, 10, 0.28);
    backdrop-filter: blur(14px);
}

.header-search-overlay {
    width: min(100%, 1080px);
    max-height: calc(100vh - 8rem);
    overflow: auto;
    margin: 0;
    padding: 1.25rem;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.34);
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,242,235,.97) 100%);
    box-shadow: 0 40px 90px rgba(0,0,0,.18);
}

.header-search-drawer.is-open .header-search-overlay {
    animation: accountMenuIn .2s ease;
}

@media (max-width: 767px) {
    .header-search-drawer {
        display: grid !important;
        padding: 5.6rem 0.8rem 0.8rem;
    }

    .header-search-overlay {
        width: 100%;
        max-height: calc(100vh - 6.6rem);
        padding: 0.95rem;
        border-radius: 24px;
    }
}

/* Search overlay topbar */
.header-search-overlay__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.header-search-hint {
    color: rgba(17,17,17,.48);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-search-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    color: rgba(17,17,17,.72);
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 12px 22px rgba(17,17,17,.08);
}

.header-search-close:hover {
    background: #fff;
    color: #111;
}

/* Live typing suggestions */
.header-live-suggestions {
    display: grid;
    gap: 0.7rem;
    margin-top: -0.1rem;
    padding: 0.55rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.06);
    background: rgba(255,255,255,.68);
}

.header-live-suggestion {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.7rem;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(17,17,17,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.header-live-suggestion:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17,17,17,.06);
}

.header-live-suggestion img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 16px;
    background: #f3efe8;
}

.header-live-suggestion strong {
    display: block;
    font-size: 0.96rem;
    letter-spacing: -0.03em;
}

.header-live-suggestion small,
.header-live-suggestions__empty {
    color: rgba(17,17,17,.54);
    font-size: 0.84rem;
}

.header-live-suggestions__empty {
    padding: 0.9rem 1rem;
}

.header-search-drawer.is-closing {
    animation: searchOverlayFadeOut .18s ease forwards;
}

.header-search-drawer.is-closing .header-search-overlay {
    animation: searchPanelFadeOut .18s ease forwards;
}

@keyframes searchOverlayFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes searchPanelFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
}
.home-hero-personalized {
    position: relative;
    overflow: hidden;
}

.home-hero-personalized::after {
    content: '';
    position: absolute;
    inset: auto -12% -18% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 143, 111, 0.18) 0%, rgba(179, 143, 111, 0) 70%);
    pointer-events: none;
}

.hero-personalization-stats,
.personalization-spotlight-grid {
    display: grid;
    gap: 0.9rem;
}

.hero-personalization-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.35rem;
}

.hero-personalization-stat {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.hero-personalization-stat strong {
    font-size: 1.1rem;
    letter-spacing: -0.04em;
}

.hero-personalization-stat span,
.shelf-subcopy,
.personalization-spotlight-card p {
    color: rgba(17, 17, 17, 0.62);
    line-height: 1.6;
}

.hero-feature-card--personalized small {
    color: rgba(17, 17, 17, 0.58);
    line-height: 1.55;
}

.personalization-spotlight-card {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.personalization-spotlight-card--warm {
    background: linear-gradient(180deg, #f8f2ea 0%, #f5ede4 100%);
}

.personalized-shelf__head {
    gap: 1rem;
}

.personalized-shelf--recent {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,243,238,0.92) 100%);
}

.home-editorial-band--personalized .home-editorial-panel {
    min-height: 220px;
}

@media (min-width: 768px) {
    .personalization-spotlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hero-personalization-stats {
        grid-template-columns: 1fr;
    }
}

.hero-banner__visual--products {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 1rem;
}

.hero-feature-card--lead {
    max-width: none;
    display: grid;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.hero-product-stack {
    display: grid;
    gap: 0.85rem;
}

.hero-product-mini-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}

.hero-product-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(17,17,17,.08);
}

.hero-product-mini-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--surface-soft);
}

.hero-product-mini-card span {
    display: inline-block;
    margin-bottom: 0.2rem;
    color: rgba(138, 99, 73, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-product-mini-card strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: -0.03em;
}

.hero-product-mini-card small {
    color: rgba(17,17,17,.58);
}

@media (min-width: 768px) {
    .hero-banner__visual--products {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
    }
}

.product-detail-shell--premium {
    gap: 1.4rem;
}

.product-detail-refined--premium {
    gap: 1.4rem;
}

.product-image-panel--premium,
.product-buy-panel--premium {
    border-radius: 28px;
}

.product-gallery-stage--premium {
    padding: 1rem;
    background: linear-gradient(180deg, #fbf8f4 0%, #f4ede4 100%);
}

.product-gallery-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.product-gallery-meta__chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(17,17,17,.08);
    color: rgba(17,17,17,.68);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-visual-notes,
.product-benefit-strip,
.detail-side-note__meta,
.product-detail-insights {
    display: grid;
    gap: 0.85rem;
}

.product-visual-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-visual-notes article,
.product-benefit-strip article,
.product-insight-card {
    display: grid;
    gap: 0.3rem;
}

.product-visual-notes article,
.product-benefit-strip article {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 20px;
    background: rgba(255,255,255,.78);
}

.product-visual-notes span,
.product-benefit-strip span,
.detail-side-note__meta span,
.product-insight-card p {
    color: rgba(17,17,17,.62);
    line-height: 1.55;
}

.product-summary-head {
    display: grid;
    gap: 0.75rem;
}

.price-stack--premium {
    align-items: center;
    flex-wrap: wrap;
}

.price-stack--premium small {
    color: rgba(17,17,17,.56);
    font-weight: 600;
}

.product-benefit-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-side-note--premium {
    gap: 0.65rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8f2ea 0%, #f6eee4 100%);
    border: 1px solid rgba(17,17,17,.08);
}

.detail-side-note__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.field-inline-note {
    color: rgba(17,17,17,.5);
    font-size: 0.84rem;
    font-weight: 600;
}

.size-box--premium span {
    min-width: 52px;
}

.detail-form-grid--premium select,
.detail-form-grid--premium input {
    min-height: 52px;
}

.urgency-box--premium {
    border-radius: 18px;
    background: #fff5ef;
    border: 1px solid rgba(209, 93, 48, 0.12);
    color: #b04a26;
}

.product-detail-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-insight-card {
    min-height: 180px;
}

.trust-grid--premium-detail {
    margin-top: 0.2rem;
}

.section-card--related-premium,
.section-card--reviews-premium {
    border-radius: 28px;
}

.review-quote-card--premium {
    min-height: 100%;
}

.product-utility-chip--link {
    text-decoration: none;
}

@media (min-width: 1024px) {
    .product-buy-panel--premium {
        position: sticky;
        top: 108px;
    }
}

@media (max-width: 767px) {
    .product-visual-notes,
    .product-benefit-strip,
    .product-detail-insights,
    .detail-side-note__meta {
        grid-template-columns: 1fr;
    }
}

.product-zoom-trigger,
.size-guide-link {
    border: 0;
    background: transparent;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.product-zoom-trigger {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(17,17,17,.08);
}

.field-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.size-guide-link {
    color: rgba(138,99,73,.96);
}

.delivery-eta-card {
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(180deg, #f8f3ec 0%, #f5eee6 100%);
}

.delivery-eta-card p,
.delivery-eta-output {
    color: rgba(17,17,17,.62);
}

.delivery-eta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr);
    gap: 0.9rem;
    align-items: end;
}

.delivery-eta-output {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(17,17,17,.08);
    font-weight: 700;
}

.pdp-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.62);
    backdrop-filter: blur(8px);
}

.pdp-modal-card {
    position: relative;
    width: min(100%, 760px);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    padding: 1.4rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 60px rgba(0,0,0,.24);
}

.pdp-modal-card--image {
    width: min(100%, 980px);
    padding: 1rem;
}

.pdp-modal-card--image img {
    width: 100%;
    border-radius: 22px;
    display: block;
}

.pdp-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.92);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.size-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.size-guide-grid article {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(17,17,17,.08);
    background: #faf7f2;
}

.size-guide-grid span,
.size-guide-grid small {
    color: rgba(17,17,17,.62);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .delivery-eta-grid,
    .size-guide-grid {
        grid-template-columns: 1fr;
    }
}

.pdp-modal-backdrop[hidden] {
    display: none !important;
}


.seller-hero-card--premium {
    display: grid;
    gap: 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5eee6 100%);
}

.seller-hero-copy,
.seller-hero-side,
.seller-onboarding-strip,
.seller-preview-meta,
.seller-preview-benefits {
    display: grid;
    gap: 1rem;
}

.seller-hero-points--premium {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.seller-kpi-card,
.seller-onboarding-card,
.seller-upload-card,
.seller-preview-meta article {
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.82);
}

.seller-kpi-card span,
.seller-onboarding-card p,
.seller-upload-card small,
.seller-preview-meta span,
.seller-preview-placeholder {
    color: rgba(17,17,17,.6);
}

.seller-onboarding-strip {
    grid-template-columns: 1fr;
}

.seller-page-grid--premium {
    gap: 1.2rem;
}

.seller-panel-card--form-premium,
.seller-preview-card--premium {
    border-radius: 28px;
    padding: 1.35rem;
}

.seller-form-section {
    display: grid;
    gap: 0.9rem;
}

.seller-form-section__head {
    display: grid;
    gap: 0.25rem;
}

.seller-form-grid--premium {
    grid-template-columns: 1fr;
}

.seller-upload-card input[type='file'],
.seller-upload-card input[type='number'] {
    width: 100%;
}

.seller-status-banner--premium {
    border-style: solid;
    background: linear-gradient(180deg, #fffdf9 0%, #f7f1e8 100%);
}

.seller-preview-hero {
    display: grid;
    gap: 0.5rem;
}

.seller-preview-media--premium {
    gap: 0.85rem;
}

.seller-preview-placeholder {
    display: grid;
    place-items: center;
    border-radius: 20px;
    border: 1px dashed rgba(17,17,17,.14);
    background: linear-gradient(135deg, #f9f6f1 0%, #f1e7da 100%);
    font-weight: 700;
}

.seller-preview-placeholder--banner {
    min-height: 170px;
}

.seller-preview-placeholder--logo {
    min-height: 120px;
}

.seller-preview-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.seller-preview-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #f6efe6;
    color: rgba(17,17,17,.72);
    font-size: 0.84rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .seller-hero-card--premium {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
        align-items: start;
    }

    .seller-onboarding-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seller-form-grid--premium,
    .seller-preview-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.seller-dashboard-hero,
.store-hero--premium {
    background: linear-gradient(135deg, #ffffff 0%, #f5eee6 100%);
}

.seller-dashboard-actions,
.seller-dashboard-meta,
.store-summary-strip,
.store-hero__trust {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seller-stats-grid--premium .seller-stat-card--premium {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #faf6f1 100%);
    border: 1px solid rgba(17,17,17,.08);
}

.seller-stat-card--premium small {
    color: rgba(17,17,17,.56);
}

.seller-dashboard-grid {
    align-items: start;
}

.seller-dashboard-panel {
    border-radius: 24px;
}

.seller-dashboard-row {
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
}

.store-hero--premium {
    display: grid;
    gap: 1.2rem;
}

.store-hero__visual--premium img,
.store-hero__placeholder {
    width: 100%;
    min-height: 260px;
    border-radius: 24px;
    object-fit: cover;
}

.store-hero__placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f8f2ea 0%, #efe4d5 100%);
    color: rgba(17,17,17,.72);
    font-size: 3rem;
    font-weight: 800;
}

.store-summary-strip {
    display: grid;
    gap: 1rem;
}

.store-summary-card,
.store-product-section {
    border-radius: 24px;
}

@media (min-width: 768px) {
    .store-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .seller-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-hero--premium {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        align-items: stretch;
    }
}

.store-profile-shell,
.store-profile-body,
.store-profile-main,
.store-profile-stats,
.store-profile-tags,
.store-profile-highlights {
    display: grid;
    gap: 1rem;
}

.store-profile-header {
    overflow: hidden;
    padding: 0;
}

.store-profile-cover {
    position: relative;
    min-height: 240px;
    background: linear-gradient(135deg, #f8f2ea 0%, #ead9c2 100%);
}

.store-profile-cover img,
.store-profile-cover__fallback {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

.store-profile-cover__fallback {
    background: linear-gradient(135deg, #f6efe6 0%, #e9dcc9 100%);
}

.store-profile-body {
    padding: 0 1.3rem 1.3rem;
    margin-top: -3.4rem;
}

.store-profile-avatar-wrap {
    position: relative;
    z-index: 2;
}

.store-profile-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    background: #fff;
    box-shadow: 0 18px 34px rgba(17,17,17,.12);
}

.store-profile-avatar--placeholder {
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(17,17,17,.72);
    background: linear-gradient(135deg, #f8f2ea 0%, #efe1ce 100%);
}

.store-profile-title-row {
    display: grid;
    gap: 1rem;
}

.store-profile-name-row {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.store-profile-name-row h1 {
    margin: 0;
}

.store-profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-profile-stats article {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.08);
    background: #faf7f2;
}

.store-profile-stats span,
.store-profile-bio,
.store-highlight-card p {
    color: rgba(17,17,17,.62);
}

.store-profile-tags {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.store-profile-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #f5eee5;
    color: rgba(17,17,17,.74);
    font-size: 0.84rem;
    font-weight: 600;
}

.store-profile-highlights {
    grid-template-columns: 1fr;
}

.store-highlight-card,
.store-product-section--profile {
    border-radius: 24px;
}

.store-product-head {
    margin-bottom: 0.2rem;
}

.store-profile-product-card .product-card__seller {
    color: rgba(138,99,73,.92);
    font-weight: 700;
}

@media (min-width: 768px) {
    .store-profile-title-row,
    .store-profile-highlights {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .store-profile-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    .store-profile-stats {
        grid-template-columns: 1fr;
    }
}

.store-profile-handle {
    margin-top: 0.25rem;
    color: rgba(17,17,17,.5);
    font-weight: 600;
}

.store-follow-button {
    min-width: 136px;
}

.store-profile-highlights-row,
.store-review-grid {
    display: grid;
    gap: 0.85rem;
}

.store-highlight-bubble {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #faf5ef 0%, #f4ebdf 100%);
    border: 1px solid rgba(17,17,17,.06);
}

.store-highlight-bubble span,
.store-review-card p {
    color: rgba(17,17,17,.62);
}

.store-review-strip {
    border-radius: 24px;
}

.store-review-card {
    min-height: 100%;
}

@media (min-width: 768px) {
    .store-profile-highlights-row,
    .store-review-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.18rem;
    height: 1.18rem;
    color: #1293ff;
    filter: drop-shadow(0 6px 16px rgba(18, 147, 255, 0.2));
    flex: 0 0 auto;
}

.verified-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

.verified-badge svg path:first-child {
    display: block;
    fill: currentColor;
}

.verified-badge__check {
    fill: #ffffff;
}

.verified-badge--profile {
    margin-top: 0;
    transform: translateY(1px);
}

.admin-verify-row {
    padding-top: 0.25rem;
}

.seller-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.verified-badge--tiny {
    width: 0.96rem;
    height: 0.96rem;
    filter: drop-shadow(0 4px 10px rgba(18, 147, 255, 0.14));
}

.verified-badge--tiny svg {
    width: 100%;
    height: 100%;
}
.verified-badge {
    position: relative;
}

.verified-badge::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.45rem);
    transform: translateX(-50%) translateY(4px);
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 20;
}

.verified-badge:hover::after,
.verified-badge:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.store-follow-button--active {
    background: #eef6ff;
    color: #0f7cff;
    border: 1px solid rgba(15, 124, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.75);
}

.followed-stores-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.followed-store-chip {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(247,243,238,.92) 100%);
    color: inherit;
    text-decoration: none;
}

.followed-store-chip strong {
    font-size: 0.98rem;
}

.followed-store-chip span,
.followed-store-chip small {
    color: rgba(17,17,17,.58);
}
.store-follow-form {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.store-follow-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(17,17,17,.04);
    color: rgba(17,17,17,.62);
    font-size: 0.82rem;
    font-weight: 700;
}

.followed-store-chip {
    justify-items: center;
    text-align: center;
}

.followed-store-avatar {
    width: 3.3rem;
    height: 3.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffd7a8, #ff8b5d 40%, #d6249f 72%, #285AEB 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 24px rgba(214, 36, 159, 0.12);
}
.store-profile-stats--social article {
    justify-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,243,238,.94) 100%);
}

.store-profile-stats--social strong {
    font-size: 1.25rem;
}

.store-profile-highlights-row--stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-highlight-bubble {
    justify-items: center;
    text-align: center;
}

.store-highlight-bubble__ring {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffd7a8, #ff8b5d 38%, #d6249f 72%, #285AEB 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 14px 26px rgba(214, 36, 159, 0.14);
}

.store-featured-strip__grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-featured-strip__card {
    display: grid;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.store-featured-strip__card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(17,17,17,.08);
    background: #f4efe9;
}

.store-featured-strip__card div {
    display: grid;
    gap: 0.2rem;
}

.store-featured-strip__card span {
    color: rgba(17,17,17,.58);
}

@media (max-width: 767px) {
    .store-profile-highlights-row--stories,
    .store-featured-strip__grid {
        grid-template-columns: 1fr;
    }
}
.store-lookbook-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1.2fr .8fr .8fr 1.2fr;
}

.store-lookbook-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 24px;
    color: #fff;
    text-decoration: none;
    background: #f4efe9;
}

.store-lookbook-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-lookbook-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 20%, rgba(0,0,0,0.58) 100%);
}

.store-lookbook-card span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@media (max-width: 767px) {
    .store-lookbook-grid {
        grid-template-columns: 1fr 1fr;
    }

    .store-lookbook-card {
        min-height: 180px;
    }
}
button.is-loading {
    opacity: 0.82;
    cursor: wait;
}

.cart-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    min-width: 220px;
    max-width: 320px;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(17,17,17,0.94);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 20px 50px rgba(17,17,17,0.22);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast.is-error {
    background: #b45142;
}

@media (max-width: 767px) {
    .cart-toast {
        left: 1rem;
        right: 1rem;
        max-width: none;
        bottom: 5.5rem;
    }
}
.header-icon-link.cart-bounce {
    animation: cartBadgeBounce .45s ease;
}

@keyframes cartBadgeBounce {
    0% { transform: scale(1); }
    35% { transform: scale(1.12) translateY(-1px); }
    100% { transform: scale(1); }
}

.mini-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17,17,17,.26);
    backdrop-filter: blur(4px);
    z-index: 65;
}

.mini-cart-backdrop.is-visible {
    display: block;
}

.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 100vw);
    height: 100vh;
    padding: 1.25rem;
    background: rgba(255,255,255,.96);
    border-left: 1px solid rgba(17,17,17,.08);
    box-shadow: -24px 0 60px rgba(17,17,17,.12);
    z-index: 70;
    transform: translateX(100%);
    transition: transform .22s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
}

.mini-cart-drawer.is-open {
    transform: translateX(0);
}

.mini-cart-drawer__head,
.mini-cart-drawer__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.mini-cart-drawer__items {
    display: grid;
    gap: .8rem;
    align-content: start;
    overflow: auto;
}

.mini-cart-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .8rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 18px;
    background: #fff;
}

.mini-cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    background: #f4efe9;
}

.mini-cart-item div {
    display: grid;
    gap: .2rem;
}

.mini-cart-item span {
    color: rgba(17,17,17,.58);
    font-size: .88rem;
}
.mini-cart-backdrop[hidden],
.mini-cart-drawer[hidden] {
    display: none !important;
}

body.mini-cart-open {
    overflow: hidden;
}

.cart-quantity-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 999px;
    background: rgba(248,245,240,.95);
}

.cart-quantity-stepper__button {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(17,17,17,.08);
}

.cart-quantity-stepper__button:hover {
    background: #111;
    color: #fff;
}

.cart-quantity-stepper input {
    width: 3.25rem;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 700;
}

.cart-quantity-stepper input:focus {
    outline: none;
}

.cart-update-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cart-empty-inline {
    display: grid;
    gap: 1rem;
    padding-top: 0.75rem;
}

.homepage-v2-hero {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding: 1.35rem;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(138,99,73,.18), transparent 28%),
        linear-gradient(135deg, #fffefb 0%, #f3eee6 100%);
    overflow: hidden;
}

.homepage-v2-hero__content,
.homepage-v2-hero__visual,
.homepage-v2-hero__stack,
.homepage-v2-lead-card,
.homepage-v2-lead-card__overlay,
.homepage-v2-mini-card,
.homepage-v2-mini-card div,
.homepage-v2-collections,
.homepage-v2-collections__grid,
.homepage-v2-collection,
.homepage-v2-collection__copy,
.homepage-v2-marquee,
.homepage-v2-editorial,
.homepage-v2-editorial__stack,
.homepage-v2-following,
.homepage-v2-reviews,
.homepage-v2-hero__meta {
    display: grid;
    gap: 1rem;
}

.homepage-v2-hero__content {
    align-content: center;
    gap: 1.1rem;
}

.homepage-v2-hero__copy {
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.homepage-v2-hero__meta {
    grid-template-columns: repeat(3, max-content);
    gap: 0.6rem;
}

.homepage-v2-hero__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(17,17,17,.08);
    color: #4f493f;
    font-size: 0.83rem;
    font-weight: 700;
}

.homepage-v2-hero__visual {
    align-content: start;
}

.homepage-v2-lead-card {
    position: relative;
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    background: #111;
    box-shadow: 0 28px 60px rgba(17,17,17,.12);
}

.homepage-v2-lead-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-v2-lead-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.72) 100%);
}

.homepage-v2-lead-card__overlay {
    position: absolute;
    inset: auto 1.15rem 1.15rem 1.15rem;
    z-index: 1;
    gap: 0.25rem;
}

.homepage-v2-lead-card__overlay span,
.homepage-v2-mini-card span {
    color: rgba(255,255,255,.84);
}

.homepage-v2-hero__stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.homepage-v2-mini-card {
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.88);
}

.homepage-v2-mini-card img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 18px;
    background: #f4efe9;
}

.homepage-v2-mini-card strong {
    font-size: 0.97rem;
    line-height: 1.25;
}

.homepage-v2-marquee {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.15rem;
}

.homepage-v2-marquee article {
    padding: 1.05rem 1.1rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.homepage-v2-marquee span {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.homepage-v2-marquee p,
.homepage-v2-collection__copy span,
.homepage-v2-editorial p {
    color: var(--muted);
    line-height: 1.65;
}

.homepage-v2-stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-v2-store-chip {
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f2eb 100%);
}

.homepage-v2-collections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-v2-collection {
    gap: 0.9rem;
    color: inherit;
}

.homepage-v2-collection__media {
    overflow: hidden;
    border-radius: 24px;
    background: #efe8dd;
}

.homepage-v2-collection__media img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    transition: transform .28s ease;
}

.homepage-v2-collection:hover .homepage-v2-collection__media img {
    transform: scale(1.04);
}

.homepage-v2-collection__copy {
    gap: 0.35rem;
}

.homepage-v2-shelf {
    border-radius: 28px;
}

.homepage-v2-grid {
    gap: 1rem;
}

.homepage-v2-card {
    border-radius: 22px;
}

.homepage-v2-editorial {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.homepage-v2-editorial__lead,
.homepage-v2-editorial__stack article {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.homepage-v2-editorial__lead {
    background: linear-gradient(135deg, #111 0%, #2a241f 100%);
    color: #fff;
}

.homepage-v2-editorial__lead p,
.homepage-v2-editorial__lead .eyebrow {
    color: rgba(255,255,255,.8);
}

.homepage-v2-editorial__stack {
    gap: 1rem;
}

.homepage-v2-trust-grid .trust-card,
.homepage-v2-reviews .review-quote-card {
    border-radius: 22px;
}

@media (min-width: 768px) {
    .homepage-v2-marquee {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage-v2-collections__grid,
    .homepage-v2-stores-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .homepage-v2-editorial {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
        align-items: stretch;
    }
}

@media (min-width: 1024px) {
    .homepage-v2-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
        align-items: center;
        padding: 1.7rem;
    }

    .homepage-v2-hero__content {
        padding-right: 1rem;
    }

    .homepage-v2-shelf .homepage-v2-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .homepage-v2-hero {
        padding: 1rem;
        border-radius: 24px;
    }

    .homepage-v2-hero__meta {
        grid-template-columns: 1fr;
    }

    .homepage-v2-lead-card {
        min-height: 320px;
    }

    .homepage-v2-hero__stack,
    .homepage-v2-stores-grid,
    .homepage-v2-collections__grid {
        grid-template-columns: 1fr;
    }

    .homepage-v2-mini-card {
        grid-template-columns: 72px 1fr;
    }

    .homepage-v2-mini-card img {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }
}

.homepage-v2-hero {
    gap: 1.25rem;
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(138,99,73,.14), transparent 26%),
        linear-gradient(135deg, #fffefc 0%, #f6f0e8 100%);
}

.homepage-v2-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: .96;
}

.homepage-v2-hero__copy {
    max-width: 50ch;
}

.homepage-v2-marquee {
    gap: 0.75rem;
}

.homepage-v2-marquee article {
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(10px);
}

.homepage-v2-shelf {
    padding: 1.15rem;
    overflow: hidden;
}

.homepage-v2-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 280px);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.homepage-v2-rail::-webkit-scrollbar {
    height: 8px;
}

.homepage-v2-rail::-webkit-scrollbar-thumb {
    background: rgba(17,17,17,.14);
    border-radius: 999px;
}

.homepage-v2-rail__item {
    scroll-snap-align: start;
}

.homepage-v2-rail__item .homepage-v2-card,
.homepage-v2-rail__item .product-card {
    height: 100%;
}

.homepage-v2-card {
    box-shadow: 0 16px 32px rgba(17,17,17,.06);
}

.homepage-v2-card .product-card__media img {
    aspect-ratio: 1 / 1.24;
}

.homepage-v2-card .product-card__body {
    gap: 0.55rem;
}

.homepage-v2-card .button-full {
    border-radius: 14px;
}

.homepage-v2-collections__grid {
    gap: 1.15rem;
}

.homepage-v2-collection__media {
    border-radius: 28px;
}

.homepage-v2-collection__copy strong {
    font-size: 1.1rem;
}

@media (min-width: 1024px) {
    .homepage-v2-hero {
        grid-template-columns: minmax(0, 1.12fr) minmax(500px, .88fr);
        padding: 1.9rem;
    }

    .homepage-v2-hero__stack {
        grid-template-columns: 1fr;
    }

    .homepage-v2-mini-card {
        grid-template-columns: 96px 1fr;
    }

    .homepage-v2-mini-card img {
        width: 96px;
        height: 96px;
    }

    .homepage-v2-shelf {
        padding: 1.35rem;
    }

    .homepage-v2-rail {
        grid-auto-columns: minmax(260px, 1fr);
    }
}

@media (max-width: 767px) {
    .homepage-v2-hero h1 {
        max-width: 100%;
        font-size: 2.2rem;
    }

    .homepage-v2-shelf {
        padding: 1rem;
    }

    .homepage-v2-rail {
        grid-auto-columns: 78vw;
        gap: 0.85rem;
    }
}

.homepage-v2-shelf__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.homepage-v2-rail-control {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: #111;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(17,17,17,.06);
}

.homepage-v2-rail-control:hover {
    background: #111;
    color: #fff;
}

.homepage-v2-hero__visual {
    position: relative;
}

.homepage-v2-hero__visual::before {
    content: '';
    position: absolute;
    inset: 1rem auto auto 1rem;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 72%);
    pointer-events: none;
    z-index: 0;
}

.homepage-v2-lead-card,
.homepage-v2-hero__stack {
    position: relative;
    z-index: 1;
}

.homepage-v2-collection {
    position: relative;
}

.homepage-v2-collection__media {
    position: relative;
    min-height: 280px;
}

.homepage-v2-collection__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04) 20%, rgba(0,0,0,.5) 100%);
}

.homepage-v2-collection__media img {
    height: 100%;
}

.homepage-v2-collection__copy {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1;
    color: #fff;
}

.homepage-v2-collection__copy .eyebrow,
.homepage-v2-collection__copy span {
    color: rgba(255,255,255,.82);
}

.homepage-v2-collection__accent {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
    .homepage-v2-shelf__actions {
        width: 100%;
        justify-content: space-between;
    }

    .homepage-v2-collection__media {
        min-height: 220px;
    }
}

.homepage-v2-rail-shell {
    position: relative;
}

.homepage-v2-rail-shell::before,
.homepage-v2-rail-shell::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0.3rem;
    width: 52px;
    z-index: 2;
    pointer-events: none;
}

.homepage-v2-rail-shell::before {
    left: 0;
    background: linear-gradient(90deg, rgba(247,245,240,1) 0%, rgba(247,245,240,0) 100%);
}

.homepage-v2-rail-shell::after {
    right: 0;
    background: linear-gradient(270deg, rgba(247,245,240,1) 0%, rgba(247,245,240,0) 100%);
}

.homepage-v2-hero-showcase {
    position: relative;
    min-height: 440px;
}

.homepage-v2-lead-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition: opacity .5s ease, transform .5s ease;
}

.homepage-v2-lead-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.homepage-v2-hero-dots {
    position: absolute;
    left: 1.15rem;
    bottom: 1.15rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.homepage-v2-hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.46);
    box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}

.homepage-v2-hero-dot.is-active {
    width: 28px;
    background: rgba(255,255,255,.95);
}

.homepage-v2-collection__copy {
    gap: 0.45rem;
}

.homepage-v2-collection__copy strong {
    font-size: 1.22rem;
}

.homepage-v2-collection__copy span:last-child {
    max-width: 24ch;
    line-height: 1.55;
}

@media (max-width: 1023px) {
    .homepage-v2-rail-shell::before,
    .homepage-v2-rail-shell::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .homepage-v2-hero-showcase {
        min-height: 320px;
    }
}

@keyframes homepageSoftRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.homepage-v2-hero__content > *,
.homepage-v2-hero__visual,
.homepage-v2-marquee article,
.homepage-v2-collections__grid > *,
.homepage-v2-editorial > *,
.homepage-v2-trust-grid > *,
.homepage-v2-reviews .review-quote-card {
    opacity: 0;
    animation: homepageSoftRise .7s ease forwards;
}

.homepage-v2-hero__content > *:nth-child(1) { animation-delay: .05s; }
.homepage-v2-hero__content > *:nth-child(2) { animation-delay: .12s; }
.homepage-v2-hero__content > *:nth-child(3) { animation-delay: .19s; }
.homepage-v2-hero__content > *:nth-child(4) { animation-delay: .26s; }
.homepage-v2-hero__content > *:nth-child(5) { animation-delay: .33s; }
.homepage-v2-hero__visual { animation-delay: .16s; }
.homepage-v2-marquee article:nth-child(1) { animation-delay: .12s; }
.homepage-v2-marquee article:nth-child(2) { animation-delay: .2s; }
.homepage-v2-marquee article:nth-child(3) { animation-delay: .28s; }

.homepage-v2-shelf,
.homepage-v2-following,
.homepage-v2-collections,
.homepage-v2-editorial,
.homepage-v2-trust-grid,
.homepage-v2-reviews {
    margin-top: .35rem;
}

.homepage-v2-shelf {
    border-radius: 30px;
}

.homepage-v2-shelf + .homepage-v2-shelf,
.homepage-v2-shelf + .homepage-v2-editorial,
.homepage-v2-editorial + .homepage-v2-shelf,
.homepage-v2-shelf + .homepage-v2-trust-grid {
    margin-top: .6rem;
}

.homepage-v2-collection {
    overflow: hidden;
    border-radius: 30px;
}

.homepage-v2-collection__copy strong,
.homepage-v2-collection__copy span:last-child {
    transition: transform .28s ease, opacity .28s ease;
}

.homepage-v2-collection:hover .homepage-v2-collection__copy strong {
    transform: translateY(-2px);
}

.homepage-v2-collection:hover .homepage-v2-collection__copy span:last-child {
    transform: translateY(-1px);
    opacity: .96;
}

.homepage-v2-card .product-card__title,
.homepage-v2-mini-card strong {
    transition: color .22s ease, transform .22s ease;
}

.homepage-v2-card:hover .product-card__title,
.homepage-v2-mini-card:hover strong {
    color: var(--accent);
    transform: translateX(2px);
}

.homepage-v2-rail {
    padding-top: .15rem;
}

.homepage-v2-hero__meta span,
.homepage-v2-rail-control,
.homepage-v2-store-chip {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.homepage-v2-store-chip:hover,
.homepage-v2-hero__meta span:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(17,17,17,.08);
}

@media (prefers-reduced-motion: reduce) {
    .homepage-v2-hero__content > *,
    .homepage-v2-hero__visual,
    .homepage-v2-marquee article,
    .homepage-v2-collections__grid > *,
    .homepage-v2-editorial > *,
    .homepage-v2-trust-grid > *,
    .homepage-v2-reviews .review-quote-card {
        opacity: 1;
        animation: none;
    }
}

.homepage-v2-occasion,
.homepage-v2-brand-story,
.homepage-v2-spotlight,
.homepage-v2-lookbook {
    margin-top: .6rem;
}

.homepage-v2-occasion__grid,
.homepage-v2-brand-story,
.homepage-v2-brand-story__points,
.homepage-v2-lookbook__grid {
    display: grid;
    gap: 1rem;
}

.homepage-v2-occasion__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-v2-occasion-card,
.homepage-v2-lookbook-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 28px;
    color: #fff;
    background: #111;
}

.homepage-v2-occasion-card img,
.homepage-v2-lookbook-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}

.homepage-v2-occasion-card::after,
.homepage-v2-lookbook-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 24%, rgba(0,0,0,.7) 100%);
}

.homepage-v2-occasion-card__overlay,
.homepage-v2-lookbook-card div {
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 1;
    display: grid;
    gap: .35rem;
}

.homepage-v2-occasion-card__overlay span,
.homepage-v2-lookbook-card span {
    color: rgba(255,255,255,.82);
    line-height: 1.55;
}

.homepage-v2-occasion-card:hover img,
.homepage-v2-lookbook-card:hover img {
    transform: scale(1.04);
}

.homepage-v2-brand-story {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, #fff 0%, #f5efe7 100%);
    box-shadow: var(--shadow-sm);
}

.homepage-v2-brand-story__lead,
.homepage-v2-spotlight__copy {
    display: grid;
    gap: .85rem;
}

.homepage-v2-brand-story__lead p,
.homepage-v2-spotlight__copy p {
    color: var(--muted);
    line-height: 1.7;
}

.homepage-v2-brand-story__points article {
    display: grid;
    gap: .35rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.86);
}

.homepage-v2-brand-story__points span,
.homepage-v2-spotlight__card p {
    color: var(--muted);
    line-height: 1.6;
}

.homepage-v2-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 1rem;
}

.homepage-v2-spotlight__card {
    display: grid;
    align-content: end;
    gap: .5rem;
    min-height: 260px;
    padding: 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(135deg, #111 0%, #2b241f 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.homepage-v2-spotlight__handle,
.homepage-v2-spotlight__cta {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
    font-size: .82rem;
    font-weight: 700;
}

.homepage-v2-lookbook__grid {
    grid-template-columns: 1.15fr .85fr .85fr;
}

.homepage-v2-lookbook-card {
    min-height: 280px;
}

.homepage-v2-lookbook-card.is-featured {
    min-height: 320px;
}

@media (max-width: 1023px) {
    .homepage-v2-brand-story,
    .homepage-v2-spotlight,
    .homepage-v2-lookbook__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .homepage-v2-occasion__grid {
        grid-template-columns: 1fr;
    }

    .homepage-v2-occasion-card,
    .homepage-v2-lookbook-card,
    .homepage-v2-spotlight__card {
        min-height: 220px;
    }
}

.homepage-v2-occasion__grid {
    gap: 1.15rem;
}

.homepage-v2-occasion-card {
    min-height: 300px;
    box-shadow: 0 18px 42px rgba(17,17,17,.08);
}

.homepage-v2-occasion-card__overlay {
    gap: .4rem;
}

.homepage-v2-occasion-card__overlay strong {
    font-size: 1.3rem;
    line-height: 1.05;
}

.homepage-v2-brand-story {
    padding: 1.4rem;
    border-radius: 34px;
}

.homepage-v2-brand-story__lead h2,
.homepage-v2-spotlight__copy h2 {
    max-width: 15ch;
}

.homepage-v2-spotlight {
    align-items: stretch;
}

.homepage-v2-spotlight__copy {
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, #fff 0%, #f7f1ea 100%);
    box-shadow: var(--shadow-sm);
}

.homepage-v2-spotlight__card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(135deg, #111 0%, #2b241f 100%);
}

.homepage-v2-spotlight__card::after {
    content: '';
    position: absolute;
    inset: auto -30px -30px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 72%);
}

.homepage-v2-spotlight__card > * {
    position: relative;
    z-index: 1;
}

.homepage-v2-lookbook__grid {
    gap: 1.1rem;
}

.homepage-v2-lookbook-card {
    box-shadow: 0 18px 42px rgba(17,17,17,.08);
}

.homepage-v2-lookbook-card.is-featured {
    grid-row: span 2;
    min-height: 100%;
}

.homepage-v2-lookbook-card.is-featured strong {
    font-size: 1.45rem;
}

@media (max-width: 1023px) {
    .homepage-v2-lookbook-card.is-featured {
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .homepage-v2-occasion-card {
        min-height: 240px;
    }

    .homepage-v2-spotlight__copy,
    .homepage-v2-brand-story {
        padding: 1.1rem;
    }
}

:root {
    --theme-bg: #f7f5f0;
    --theme-surface: #ffffff;
    --theme-surface-soft: #f2eee7;
    --theme-surface-warm: #efe7dc;
    --theme-text: #121212;
    --theme-muted: #6f6a62;
    --theme-border: #e8e1d7;
    --theme-border-strong: #d7ccbf;
    --theme-accent: #8a6349;
    --theme-accent-soft: #f1e7dc;
    --theme-primary: #111111;
    --theme-primary-soft: #2a241f;
    --theme-shadow-sm: 0 12px 28px rgba(18, 18, 18, 0.06);
    --theme-shadow-md: 0 22px 52px rgba(18, 18, 18, 0.1);
}

body,
.admin-body {
    background:
        radial-gradient(circle at top, rgba(138,99,73,.06), transparent 26%),
        var(--theme-bg);
    color: var(--theme-text);
}

.site-header__inner,
.section-card,
.summary-card,
.checkout-card,
.auth-card,
.auth-intro-card,
.tracking-card,
.admin-topbar,
.admin-dashboard-card,
.admin-menu-card,
.admin-ai-card,
.admin-panel-card,
.admin-access-card,
.product-card,
.trust-card,
.review-quote-card,
.order-row,
.admin-table-row,
.site-footer,
.homepage-v2-brand-story,
.homepage-v2-spotlight__copy,
.homepage-v2-store-chip,
.homepage-v2-marquee article {
    border-color: var(--theme-border);
    box-shadow: var(--theme-shadow-sm);
}

.site-header__inner {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
}

.brand-logo,
.admin-brand-logo,
.header-account-link,
.button.primary,
.button.dark,
.product-badge,
.header-icon-badge {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-soft) 100%);
    color: #fff;
}

.button.ghost,
.button.soft,
.white-button,
.header-icon-link,
.menu-toggle,
.drawer-close,
.avatar-badge,
.homepage-v2-rail-control {
    background: rgba(255,255,255,.92);
    border-color: var(--theme-border);
}

.button,
.header-account-link,
.header-icon-link,
.homepage-v2-rail-control,
.product-card,
.trust-card,
.review-quote-card,
.order-row,
.admin-table-row {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover,
.header-account-link:hover,
.header-icon-link:hover,
.homepage-v2-rail-control:hover,
.product-card:hover,
.trust-card:hover,
.review-quote-card:hover,
.order-row:hover,
.admin-table-row:hover {
    box-shadow: var(--theme-shadow-md);
}

input,
select,
textarea,
.premium-buy-form,
.cash-row,
.catalog-hero__stats div,
.settings-preview-meta div,
.homepage-v2-brand-story__points article {
    border-color: var(--theme-border);
    background: var(--theme-surface);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(138,99,73,.42);
    box-shadow: 0 0 0 4px rgba(138,99,73,.1);
}

.eyebrow,
.product-card__rating,
.role-pill,
.product-utility-chip,
.tracking-status-pill,
.small-link:hover,
.site-nav a:hover {
    color: var(--theme-accent);
}

.hero-banner,
.homepage-v2-hero,
.catalog-hero,
.homepage-v2-brand-story,
.homepage-v2-spotlight__copy {
    background-image: linear-gradient(135deg, #fff 0%, var(--theme-surface-soft) 100%);
}

.homepage-v2-spotlight__card,
.auth-intro-card,
.admin-dashboard-card {
    box-shadow: var(--theme-shadow-md);
}

/* Final premium header lock */
.top-strip {
    position: relative;
    z-index: 3;
    padding: 0.55rem 0.35rem 0.15rem;
    color: rgba(17,17,17,.58);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-strip span::before {
    width: 7px;
    height: 7px;
    background: linear-gradient(180deg, #c9ab8e 0%, #8a6349 100%);
    box-shadow: 0 0 0 5px rgba(184,150,116,.12);
}

.site-header {
    top: 0;
    padding: 0.45rem 0 1rem;
}

.site-header__inner {
    min-height: 86px;
    padding: 0.9rem 1.15rem;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.72);
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(250,247,242,.9) 100%);
    box-shadow: 0 20px 48px rgba(17,17,17,.08), inset 0 1px 0 rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled .site-header__inner {
    box-shadow: 0 24px 56px rgba(17,17,17,.11), inset 0 1px 0 rgba(255,255,255,.98);
}

.site-header__brand-row {
    min-width: 0;
}

.brand-mark {
    gap: 1rem;
}

.brand-logo,
.brand-logo-image {
    width: 50px;
    height: 50px;
    border-radius: 16px;
}

.brand-logo {
    box-shadow: 0 14px 26px rgba(17,17,17,.18);
}

.brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: -0.04em;
}

.brand-copy small {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17,17,17,.48);
}

.site-nav {
    justify-content: center;
    gap: 0.32rem;
    padding: 0.34rem;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.06);
    background: rgba(255,255,255,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.76);
}

.site-nav__link {
    min-height: 42px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    color: rgba(17,17,17,.62);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-nav__link:hover {
    color: #121212;
    background: rgba(255,255,255,.88);
}

.site-nav__link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #111111 0%, #2a241f 100%);
    box-shadow: 0 12px 22px rgba(17,17,17,.16);
}

.site-nav__link--accent {
    color: #8a6349;
}

.site-nav__link--accent.is-active {
    background: linear-gradient(135deg, #8a6349 0%, #6f4d37 100%);
}

.site-header__actions-shell {
    gap: 0.45rem;
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.06);
    background: rgba(255,255,255,.64);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.header-icon-link,
.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: rgba(17,17,17,.74);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header-icon-link:hover,
.menu-toggle:hover {
    color: #111;
    background: rgba(255,255,255,.9);
}

.header-account-link--premium {
    min-height: 44px;
    padding: 0.82rem 1.05rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #111111 0%, #2a241f 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(17,17,17,.18);
}

.header-account-link--premium:hover {
    background: linear-gradient(135deg, #1c1c1c 0%, #3a312b 100%);
}

.header-account-menu {
    min-width: 220px;
    padding: 0.45rem;
    border-radius: 22px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.97);
    box-shadow: 0 24px 54px rgba(17,17,17,.12);
    backdrop-filter: blur(16px);
}

.header-account-menu[hidden],
.header-search-drawer[hidden] {
    display: none !important;
}

.header-account-menu__item {
    min-height: 44px;
    padding: 0.82rem 0.9rem;
    border-radius: 16px;
    font-weight: 700;
    color: rgba(17,17,17,.7);
}

.header-account-menu__item:hover,
.header-account-menu__item.is-active {
    background: linear-gradient(180deg, #f7f1e8 0%, #f0e5d5 100%);
    color: #111;
}

.header-search-overlay {
    border-radius: 34px;
    border: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(247,243,237,.94) 100%);
    box-shadow: 0 32px 80px rgba(17,17,17,.16);
}

.mobile-drawer {
    width: min(88vw, 360px);
    padding: 1.3rem;
    border-right: 1px solid rgba(17,17,17,.08);
    background: linear-gradient(180deg, #fff 0%, #f7f1ea 100%);
}

.mobile-drawer__top strong {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.mobile-drawer__nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0.95rem 0;
    color: rgba(17,17,17,.72);
}

.mobile-drawer__nav a:hover {
    color: #111;
}

@media (max-width: 1023px) {
    .top-strip {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.3rem;
    }

    .site-header__inner {
        min-height: 74px;
        padding: 0.75rem 0.9rem;
        grid-template-columns: auto 1fr auto;
    }

    .brand-copy small {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 0.25rem 0 0.85rem;
    }

    .site-header__inner {
        min-height: 70px;
        padding: 0.7rem 0.8rem;
        border-radius: 22px;
    }

    .brand-logo,
    .brand-logo-image {
        width: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 0.94rem;
    }

    .header-account-link--premium,
    .header-icon-link,
    .menu-toggle {
        min-height: 42px;
        height: 42px;
    }
}

/* Homepage reference redesign */
.home-marketplace-ambient {
    position: relative;
    margin: 0 0 2rem;
    padding: 1.1rem;
    border-radius: 40px;
    background:
        radial-gradient(circle at top left, rgba(154, 127, 255, 0.62), transparent 34%),
        radial-gradient(circle at right 18%, rgba(109, 74, 255, 0.5), transparent 28%),
        linear-gradient(135deg, #6f57f7 0%, #7c63ff 38%, #6a49f6 72%, #5e39e8 100%);
    box-shadow: 0 34px 80px rgba(76, 41, 186, 0.32);
    overflow: hidden;
}

.home-marketplace-ambient::before,
.home-marketplace-ambient::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-marketplace-ambient::before {
    background-image:
        linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,0.14) 46% 47%, transparent 47% 100%),
        linear-gradient(28deg, transparent 0 71%, rgba(255,255,255,0.08) 71% 72%, transparent 72% 100%);
    opacity: 0.65;
}

.home-marketplace-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.3rem;
    padding: 1.2rem;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.72);
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,247,252,0.96) 100%);
    box-shadow: 0 18px 40px rgba(34, 18, 97, 0.2);
}

.home-marketplace-toolbar,
.home-marketplace-toolbar__pills,
.home-marketplace-panel__head,
.home-marketplace-layout,
.home-marketplace-summary-row,
.home-marketplace-tile__meta,
.home-marketplace-tile__footer,
.home-marketplace-delivery-pills,
.home-marketplace-shelf__actions,
.home-marketplace-brand-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-marketplace-toolbar {
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0.15rem 0;
}

.home-marketplace-toolbar h1 {
    margin: 0.25rem 0 0;
    max-width: 620px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.home-marketplace-toolbar__pills {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-marketplace-toolbar__pills span {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(101, 82, 221, 0.14);
    background: rgba(255,255,255,0.76);
    color: #4f4a71;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.home-marketplace-layout {
    align-items: stretch;
}

.home-marketplace-sidebar {
    width: 270px;
    min-width: 270px;
    display: grid;
    gap: 1rem;
}

.home-marketplace-panel,
.home-marketplace-summary-card,
.home-marketplace-shelf {
    border-radius: 24px;
    border: 1px solid rgba(115, 91, 250, 0.1);
    background: rgba(255,255,255,0.82);
    box-shadow: 0 14px 34px rgba(70, 54, 144, 0.08);
}

.home-marketplace-panel {
    padding: 1.05rem;
}

.home-marketplace-panel__head {
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.home-marketplace-panel__head strong {
    font-size: 0.96rem;
    letter-spacing: -0.03em;
}

.home-marketplace-panel__head span,
.home-marketplace-panel p,
.home-marketplace-summary-card span {
    color: #756f93;
    font-size: 0.82rem;
}

.home-marketplace-price-visual {
    position: relative;
    margin-top: 0.8rem;
    min-height: 116px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(123, 95, 255, 0.11), rgba(123, 95, 255, 0.02));
    overflow: hidden;
}

.home-marketplace-price-visual__mountains {
    position: absolute;
    inset: 20px 14px 26px;
    background: linear-gradient(180deg, rgba(143, 114, 255, 0.2), rgba(143, 114, 255, 0.7));
    clip-path: polygon(0 82%, 14% 46%, 26% 64%, 40% 22%, 56% 61%, 69% 30%, 84% 70%, 100% 38%, 100% 100%, 0 100%);
}

.home-marketplace-price-visual__track {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 22px;
    height: 6px;
    border-radius: 999px;
    background: rgba(110, 85, 242, 0.22);
}

.home-marketplace-price-visual__track::before {
    content: '';
    position: absolute;
    left: 18%;
    right: 14%;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #6f57f7 0%, #8d76ff 100%);
}

.home-marketplace-price-bubble {
    position: absolute;
    bottom: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: #121212;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 12px 20px rgba(18,18,18,0.18);
}

.home-marketplace-price-bubble--left { left: 8px; }
.home-marketplace-price-bubble--right { right: 8px; }

.home-marketplace-rating-list {
    display: grid;
    gap: 0.22rem;
    margin-bottom: 0.95rem;
}

.home-marketplace-rating-list span {
    color: #f5c85d;
    letter-spacing: 0.08em;
}

.home-marketplace-trust-stack {
    display: grid;
    gap: 0.75rem;
}

.home-marketplace-trust-stack article {
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    background: rgba(111, 87, 247, 0.07);
}

.home-marketplace-trust-stack strong,
.home-marketplace-summary-card strong {
    display: block;
    margin-bottom: 0.18rem;
    font-size: 0.94rem;
    letter-spacing: -0.03em;
}

.home-marketplace-trust-stack span {
    color: #6d678b;
    font-size: 0.8rem;
}

.home-marketplace-brand-list {
    display: grid;
    gap: 0.7rem;
}

.home-marketplace-brand-list a {
    justify-content: space-between;
    padding: 0.7rem 0.82rem;
    border-radius: 16px;
    color: #161327;
    background: rgba(245, 243, 255, 0.92);
}

.home-marketplace-brand-list a:hover {
    background: rgba(238, 234, 255, 0.98);
}

.home-marketplace-delivery-pills {
    flex-wrap: wrap;
    gap: 0.55rem;
}

.home-marketplace-delivery-pills span {
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(242, 239, 255, 0.92);
    color: #5d5680;
    font-size: 0.84rem;
    font-weight: 700;
}

.home-marketplace-delivery-pills .is-active {
    color: #fff;
    background: linear-gradient(135deg, #6f57f7 0%, #8c72ff 100%);
}

.home-marketplace-main {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.home-marketplace-chipbar {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
}

.home-marketplace-chipbar::-webkit-scrollbar,
.home-marketplace-rail::-webkit-scrollbar {
    display: none;
}

.home-marketplace-chipbar a {
    flex: 0 0 auto;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 81, 231, 0.1);
    background: rgba(255,255,255,0.84);
    color: #5f5a7b;
    font-size: 0.84rem;
    font-weight: 700;
}

.home-marketplace-chipbar a.is-active,
.home-marketplace-chipbar a:hover {
    color: #fff;
    background: linear-gradient(135deg, #6f57f7 0%, #886fff 100%);
    box-shadow: 0 12px 20px rgba(109, 74, 255, 0.22);
}

.home-marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-marketplace-tile {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
    padding: 0.82rem;
    border-radius: 24px;
    border: 1px solid rgba(115, 91, 250, 0.11);
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(248,248,253,0.96) 100%);
    box-shadow: 0 16px 30px rgba(63, 48, 137, 0.08);
}

.home-marketplace-tile--featured {
    background: linear-gradient(145deg, #6b4cf4 0%, #8c72ff 100%);
    box-shadow: 0 24px 40px rgba(90, 56, 229, 0.28);
}

.home-marketplace-tile__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7f7fb 0%, #eceaf7 100%);
}

.home-marketplace-tile__media img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-marketplace-tile:hover .home-marketplace-tile__media img {
    transform: scale(1.05);
}

.home-marketplace-tile__wish,
.home-marketplace-tile__badge,
.home-marketplace-tile__top-pill {
    position: absolute;
}

.home-marketplace-tile__wish {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #7358ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 16px rgba(55, 37, 128, 0.1);
}

.home-marketplace-tile__wish svg,
.home-marketplace-rail-control svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.home-marketplace-tile__badge,
.home-marketplace-tile__top-pill {
    left: 12px;
    padding: 0.46rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.home-marketplace-tile__badge {
    top: 12px;
    background: #121212;
    color: #fff;
}

.home-marketplace-tile__top-pill {
    bottom: 12px;
    color: #4a2a0b;
    background: #ffd966;
}

.home-marketplace-tile__body {
    display: grid;
    gap: 0.65rem;
}

.home-marketplace-tile__meta {
    justify-content: space-between;
    gap: 0.5rem;
    color: #6f6a8b;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-marketplace-tile__rating {
    color: #f1b833;
}

.home-marketplace-tile__title {
    color: #171326;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.home-marketplace-tile__footer {
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-end;
}

.home-marketplace-tile__footer strong {
    display: block;
    color: #171326;
    font-size: 1rem;
    letter-spacing: -0.04em;
}

.home-marketplace-tile__footer small {
    color: #8e88aa;
    text-decoration: line-through;
}

.home-marketplace-tile__seller {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #5c5777;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: right;
}

.home-marketplace-tile__cta {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    background: #121212;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 24px rgba(18,18,18,0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.home-marketplace-tile__cta:hover {
    transform: translateY(-1px);
    background: #2a204d;
    box-shadow: 0 18px 26px rgba(42, 32, 77, 0.18);
}

.home-marketplace-tile--featured .home-marketplace-tile__meta,
.home-marketplace-tile--featured .home-marketplace-tile__title,
.home-marketplace-tile--featured .home-marketplace-tile__footer strong,
.home-marketplace-tile--featured .home-marketplace-tile__seller,
.home-marketplace-tile--featured .home-marketplace-tile__footer small {
    color: rgba(255,255,255,0.96);
}

.home-marketplace-tile--featured .home-marketplace-tile__cta {
    background: rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.home-marketplace-summary-row {
    align-items: stretch;
}

.home-marketplace-summary-card {
    flex: 1 1 0;
    padding: 1rem 1.05rem;
}

.home-marketplace-summary-card--purple {
    background: linear-gradient(135deg, #6d53f7 0%, #9078ff 100%);
    color: #fff;
    border-color: transparent;
}

.home-marketplace-summary-card--purple .eyebrow,
.home-marketplace-summary-card--purple span,
.home-marketplace-summary-card--purple strong {
    color: inherit;
}

.home-marketplace-shelf {
    margin-top: 1.15rem;
    border-radius: 30px;
    border: 1px solid rgba(115, 91, 250, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(249,249,253,0.96) 100%);
    box-shadow: 0 18px 34px rgba(66, 49, 140, 0.08);
}

.home-marketplace-shelf__actions {
    gap: 0.55rem;
}

.home-marketplace-rail-control {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: #5c4fe0;
    background: rgba(111, 87, 247, 0.08);
}

.home-marketplace-rail-shell {
    position: relative;
}

.home-marketplace-rail-shell::before,
.home-marketplace-rail-shell::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42px;
    z-index: 1;
    pointer-events: none;
}

.home-marketplace-rail-shell::before {
    left: 0;
    background: linear-gradient(90deg, rgba(249,249,253,1) 5%, rgba(249,249,253,0) 100%);
}

.home-marketplace-rail-shell::after {
    right: 0;
    background: linear-gradient(270deg, rgba(249,249,253,1) 5%, rgba(249,249,253,0) 100%);
}

.home-marketplace-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 280px);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0.15rem 0.4rem;
}

.home-marketplace-rail__item {
    scroll-snap-align: start;
}

.home-marketplace-rail-card {
    height: 100%;
    border-radius: 22px;
    border-color: rgba(115, 91, 250, 0.1);
    box-shadow: 0 14px 28px rgba(66, 49, 140, 0.08);
}

.store-body:has(.home-marketplace-ambient) .site-shell {
    width: min(100%, 1460px);
}

@media (max-width: 1180px) {
    .home-marketplace-layout {
        flex-direction: column;
    }

    .home-marketplace-sidebar {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-marketplace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .home-marketplace-ambient {
        padding: 0.8rem;
        border-radius: 28px;
    }

    .home-marketplace-shell {
        padding: 0.9rem;
        border-radius: 24px;
    }

    .home-marketplace-toolbar,
    .home-marketplace-summary-row {
        display: grid;
    }

    .home-marketplace-toolbar__pills {
        justify-content: flex-start;
    }

    .home-marketplace-sidebar {
        grid-template-columns: 1fr;
    }

    .home-marketplace-grid {
        gap: 0.8rem;
    }

    .home-marketplace-tile {
        padding: 0.7rem;
        border-radius: 20px;
    }

    .home-marketplace-tile__title {
        font-size: 0.92rem;
    }

    .home-marketplace-rail {
        grid-auto-columns: minmax(222px, 248px);
    }
}

@media (max-width: 640px) {
    .home-marketplace-toolbar h1 {
        font-size: 1.5rem;
    }

    .home-marketplace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-marketplace-tile__media img {
        aspect-ratio: 1 / 1.05;
    }

    .home-marketplace-tile__footer,
    .home-marketplace-tile__meta {
        display: grid;
        gap: 0.25rem;
    }

    .home-marketplace-summary-card,
    .home-marketplace-panel {
        padding: 0.9rem;
    }

    .home-marketplace-rail-shell::before,
    .home-marketplace-rail-shell::after {
        display: none;
    }
}

/* Homepage reference redesign v2 */
.home-marketplace-ambient {
    margin: 0 0 1.6rem;
    padding: 1.5rem;
    border-radius: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(182, 173, 255, 0.35), transparent 22%),
        radial-gradient(circle at 80% 78%, rgba(145, 112, 255, 0.28), transparent 20%),
        linear-gradient(135deg, #6e54f4 0%, #8e86f8 100%);
    box-shadow: none;
}

.home-marketplace-shell {
    max-width: 1260px;
    margin: 0 auto;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.95);
    box-shadow: 0 24px 54px rgba(47, 27, 133, 0.25);
}

.home-marketplace-topbar,
.home-marketplace-topbar__brand,
.home-marketplace-topbar__actions,
.home-marketplace-panel__head,
.home-marketplace-layout,
.home-marketplace-tile__meta,
.home-marketplace-tile__footer,
.home-marketplace-brand-list a,
.home-marketplace-delivery-pills {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.home-marketplace-topbar {
    justify-content: space-between;
    gap: 1rem;
}

.home-marketplace-topbar__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 38px;
    padding: 0 0.85rem;
    border-radius: 12px;
    background: #fff;
    color: #121212;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.home-marketplace-topbar__search {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 240px;
    height: 38px;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: #f3f3f7;
    color: #8b88a4;
    font-size: 0.82rem;
    font-weight: 600;
}

.home-marketplace-topbar__search svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.home-marketplace-topbar__actions {
    color: #3a3653;
    font-size: 0.84rem;
    font-weight: 700;
}

.home-marketplace-topbar__actions a {
    color: inherit;
}

.home-marketplace-topbar__avatar {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f2c4b6 0%, #9d7cff 100%);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-marketplace-chipbar--top {
    padding: 0.15rem 0 0.35rem;
    gap: 0.5rem;
}

.home-marketplace-chipbar--top a {
    padding: 0.58rem 0.92rem;
    border-radius: 999px;
    background: #f5f5f8;
    color: #4f4b68;
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: none;
}

.home-marketplace-chipbar--top a.is-active,
.home-marketplace-chipbar--top a:hover {
    background: #6f57f7;
    color: #fff;
}

.home-marketplace-sidebar {
    width: 250px;
    min-width: 250px;
    gap: 0.8rem;
}

.home-marketplace-panel {
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid #eceaf5;
    background: #f7f7fb;
    box-shadow: none;
}

.home-marketplace-panel__head {
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.home-marketplace-panel__head strong {
    font-size: 0.88rem;
    letter-spacing: -0.03em;
}

.home-marketplace-panel__head span,
.home-marketplace-panel p,
.home-marketplace-rating-list small {
    color: #85819b;
    font-size: 0.72rem;
}

.home-marketplace-price-visual {
    min-height: 94px;
    margin-top: 0.55rem;
    border-radius: 16px;
}

.home-marketplace-price-visual__mountains {
    inset: 14px 12px 22px;
}

.home-marketplace-price-visual__track {
    left: 12px;
    right: 12px;
    bottom: 16px;
    height: 5px;
}

.home-marketplace-price-bubble {
    bottom: 28px;
    min-width: 48px;
    height: 28px;
    padding: 0 0.65rem;
    font-size: 0.68rem;
}

.home-marketplace-rating-list {
    margin: 0;
}

.home-marketplace-rating-list span {
    font-size: 0.82rem;
}

.home-marketplace-brand-list {
    gap: 0.42rem;
}

.home-marketplace-brand-list a {
    justify-content: space-between;
    padding: 0.48rem 0.62rem;
    border-radius: 12px;
    background: #fff;
    color: #26223c;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-marketplace-check {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(111, 87, 247, 0.2);
    box-shadow: inset 0 0 0 1px rgba(111, 87, 247, 0.18);
}

.home-marketplace-delivery-pills {
    gap: 0.45rem;
}

.home-marketplace-delivery-pills span {
    padding: 0.62rem 0.9rem;
    font-size: 0.74rem;
}

.home-marketplace-main {
    gap: 0.8rem;
}

.home-marketplace-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-marketplace-tile {
    gap: 0.55rem;
    padding: 0.55rem;
    border-radius: 18px;
    border: 1px solid #eceaf4;
    background: #f8f8fb;
    box-shadow: none;
}

.home-marketplace-tile--featured {
    background: linear-gradient(145deg, #6f57f7 0%, #8e72ff 100%);
    box-shadow: none;
}

.home-marketplace-tile__media {
    border-radius: 14px;
    background: #fff;
}

.home-marketplace-tile__media img {
    aspect-ratio: 1 / 0.82;
}

.home-marketplace-tile__wish {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
}

.home-marketplace-tile__badge,
.home-marketplace-tile__top-pill {
    left: 10px;
    padding: 0.34rem 0.55rem;
    font-size: 0.64rem;
}

.home-marketplace-tile__body {
    gap: 0.42rem;
    padding: 0 0.15rem 0.1rem;
}

.home-marketplace-tile__meta {
    font-size: 0.64rem;
}

.home-marketplace-tile__title {
    font-size: 0.88rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-marketplace-tile__footer {
    align-items: center;
}

.home-marketplace-tile__footer strong {
    font-size: 0.88rem;
}

.home-marketplace-tile__footer small,
.home-marketplace-tile__seller {
    font-size: 0.68rem;
}

.home-marketplace-tile__cta {
    min-height: 34px;
    border-radius: 12px;
    font-size: 0.76rem;
    box-shadow: none;
}

.home-marketplace-shelf {
    margin-top: 1rem;
    border-radius: 24px;
}

@media (max-width: 1024px) {
    .home-marketplace-layout {
        flex-direction: column;
    }

    .home-marketplace-sidebar {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-marketplace-ambient {
        padding: 0.9rem;
    }

    .home-marketplace-shell {
        padding: 0.8rem;
        border-radius: 20px;
    }

    .home-marketplace-topbar,
    .home-marketplace-topbar__brand,
    .home-marketplace-topbar__actions {
        flex-wrap: wrap;
    }

    .home-marketplace-topbar__search {
        min-width: 0;
        width: 100%;
    }

    .home-marketplace-sidebar {
        grid-template-columns: 1fr;
    }

    .home-marketplace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-marketplace-tile__media img {
        aspect-ratio: 1 / 1.02;
    }
}

/* Homepage mobile responsive pass */
@media (max-width: 900px) {
    .home-marketplace-ambient {
        margin: 0 0 1.15rem;
        padding: 0.85rem;
        border-radius: 24px;
    }

    .home-marketplace-shell {
        padding: 0.82rem;
        gap: 0.72rem;
        border-radius: 20px;
    }

    .home-marketplace-topbar {
        display: grid;
        gap: 0.7rem;
    }

    .home-marketplace-topbar__brand {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.65rem;
        align-items: center;
    }

    .home-marketplace-topbar__search {
        min-width: 0;
        width: 100%;
    }

    .home-marketplace-topbar__actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .home-marketplace-topbar__actions a {
        min-height: 40px;
        padding: 0.65rem 0.55rem;
        border-radius: 12px;
        background: rgba(245, 245, 248, 0.92);
        text-align: center;
        font-size: 0.72rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .home-marketplace-topbar__avatar {
        width: 100%;
        height: 40px;
        border-radius: 12px;
    }

    .home-marketplace-chipbar--top {
        margin: 0 -0.1rem;
        padding: 0.1rem 0.1rem 0.3rem;
        gap: 0.42rem;
        scroll-padding-left: 0.1rem;
    }

    .home-marketplace-chipbar--top a {
        padding: 0.58rem 0.82rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .home-marketplace-layout {
        display: grid;
        gap: 0.78rem;
    }

    .home-marketplace-sidebar {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        order: 2;
    }

    .home-marketplace-main {
        order: 1;
    }

    .home-marketplace-panel {
        padding: 0.8rem;
        border-radius: 16px;
    }

    .home-marketplace-panel__head strong {
        font-size: 0.82rem;
    }

    .home-marketplace-panel__head span,
    .home-marketplace-panel p,
    .home-marketplace-rating-list small {
        font-size: 0.68rem;
    }

    .home-marketplace-price-visual {
        min-height: 86px;
    }

    .home-marketplace-brand-list a {
        min-height: 34px;
        padding: 0.42rem 0.55rem;
        font-size: 0.71rem;
    }

    .home-marketplace-delivery-pills span {
        flex: 1 1 0;
        justify-content: center;
        text-align: center;
    }

    .home-marketplace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .home-marketplace-tile {
        padding: 0.5rem;
        gap: 0.48rem;
        border-radius: 16px;
    }

    .home-marketplace-tile__media {
        border-radius: 12px;
    }

    .home-marketplace-tile__media img {
        aspect-ratio: 1 / 1.02;
    }

    .home-marketplace-tile__wish {
        top: 8px;
        right: 8px;
        width: 26px;
        height: 26px;
    }

    .home-marketplace-tile__wish svg {
        width: 14px;
        height: 14px;
    }

    .home-marketplace-tile__badge,
    .home-marketplace-tile__top-pill {
        left: 8px;
        padding: 0.3rem 0.48rem;
        font-size: 0.58rem;
    }

    .home-marketplace-tile__title {
        font-size: 0.8rem;
    }

    .home-marketplace-tile__meta,
    .home-marketplace-tile__seller,
    .home-marketplace-tile__footer small {
        font-size: 0.62rem;
    }

    .home-marketplace-tile__footer {
        display: grid;
        gap: 0.18rem;
        align-items: start;
    }

    .home-marketplace-tile__footer strong {
        font-size: 0.82rem;
    }

    .home-marketplace-tile__cta {
        min-height: 32px;
        font-size: 0.72rem;
    }

    .home-marketplace-shelf {
        margin-top: 0.85rem;
        border-radius: 20px;
    }

    .home-marketplace-shelf .section-head {
        gap: 0.6rem;
    }

    .home-marketplace-shelf__actions {
        display: none;
    }

    .home-marketplace-rail {
        grid-auto-columns: minmax(200px, 76vw);
        gap: 0.8rem;
        padding-bottom: 0.2rem;
    }

    .home-marketplace-rail-shell::before,
    .home-marketplace-rail-shell::after {
        display: none;
    }
}

@media (max-width: 560px) {
    .home-marketplace-ambient {
        padding: 0.72rem;
        border-radius: 20px;
    }

    .home-marketplace-shell {
        padding: 0.72rem;
        border-radius: 18px;
    }

    .home-marketplace-topbar__brand {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .home-marketplace-topbar__logo {
        min-width: 56px;
        height: 34px;
        padding: 0 0.7rem;
        font-size: 1rem;
    }

    .home-marketplace-topbar__search {
        height: 34px;
        padding: 0 0.8rem;
        font-size: 0.74rem;
    }

    .home-marketplace-topbar__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-marketplace-sidebar {
        grid-template-columns: 1fr;
    }

    .home-marketplace-grid {
        gap: 0.62rem;
    }

    .home-marketplace-panel,
    .home-marketplace-shelf {
        border-radius: 15px;
    }

    .home-marketplace-panel {
        padding: 0.75rem;
    }

    .home-marketplace-chipbar--top a {
        font-size: 0.69rem;
        padding: 0.52rem 0.72rem;
    }
}

/* Storefront mobile polish pass */
@media (max-width: 900px) {
    .top-strip {
        padding: 0.4rem 0.15rem 0.1rem;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .top-strip::-webkit-scrollbar {
        display: none;
    }

    .site-shell {
        padding: 0 12px 104px;
    }

    .site-header {
        padding: 0.35rem 0 0.7rem;
    }

    .site-header__inner {
        min-height: 70px;
        padding: 0.72rem 0.85rem;
        border-radius: 20px;
        grid-template-columns: auto 1fr auto;
        gap: 0.65rem;
    }

    .brand-mark {
        gap: 0.65rem;
    }

    .brand-logo,
    .brand-logo-image {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .brand-copy strong {
        font-size: 0.92rem;
    }

    .brand-copy small {
        max-width: 112px;
        font-size: 0.62rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header__actions-shell {
        gap: 0.45rem;
    }

    .header-icon-link,
    .header-account-link--premium {
        min-width: 40px;
        min-height: 40px;
        padding: 0.55rem 0.7rem;
        border-radius: 12px;
    }

    .header-icon-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.62rem;
    }

    .mobile-drawer {
        width: min(88vw, 360px);
        padding: 1rem 1rem 1.35rem;
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
    }

    .mobile-drawer__nav a {
        padding: 0.9rem 0;
        font-size: 0.94rem;
    }

    .header-search-overlay {
        width: min(100% - 20px, 680px);
        max-height: min(88vh, 760px);
        padding: 1rem;
        border-radius: 22px;
    }

    .header-search-overlay__copy {
        gap: 0.4rem;
    }

    .header-search-overlay__copy h3 {
        font-size: 1.3rem;
        line-height: 1.08;
    }

    .header-search-overlay__copy p:last-child {
        font-size: 0.86rem;
    }

    .header-search--overlay {
        min-height: 52px;
        padding: 0 0.75rem;
        border-radius: 16px;
    }

    .header-search--overlay input {
        font-size: 0.92rem;
    }

    .header-search-submit {
        min-height: 40px;
        padding: 0.7rem 0.9rem;
        border-radius: 12px;
    }

    .header-search-meta-grid,
    .header-search-preview-grid {
        grid-template-columns: 1fr;
    }

    .catalog-shell--refined {
        gap: 0.85rem;
    }

    .catalog-hero--refined {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
        border-radius: 20px;
    }

    .catalog-hero--refined h1 {
        font-size: 1.45rem;
        line-height: 1.08;
    }

    .catalog-hero__copy {
        font-size: 0.9rem;
    }

    .catalog-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .catalog-hero__stats div {
        padding: 0.85rem;
        border-radius: 14px;
    }

    .catalog-hero__stats strong {
        font-size: 1.22rem;
    }

    .filter-panel-refined {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .premium-filters-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .premium-filters-grid label input,
    .premium-filters-grid label select {
        min-height: 46px;
        font-size: 0.92rem;
    }

    .filter-actions-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .listing-grid-refined,
    .product-grid.storefront-product-grid.listing-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
    }

    .listing-card-refined {
        border-radius: 18px;
    }

    .listing-card-refined .product-card__media img {
        aspect-ratio: 1 / 1.06;
    }

    .listing-card-refined .product-card__body {
        gap: 0.45rem;
        padding: 0.8rem;
    }

    .listing-card-refined .product-card__title {
        font-size: 0.88rem;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .listing-card-refined .product-card__category,
    .listing-card-refined .product-card__seller,
    .listing-card-refined .product-meta-chip,
    .listing-card-refined .product-card__rating small {
        font-size: 0.66rem;
    }

    .listing-card-refined .product-card__price-row strong {
        font-size: 0.9rem;
    }

    .listing-card-refined .product-card__price-row span {
        font-size: 0.7rem;
    }

    .product-card__actions--stacked {
        gap: 0.45rem;
    }

    .product-card__actions--stacked .button {
        min-height: 38px;
        font-size: 0.76rem;
    }

    .product-detail-shell--premium {
        gap: 0.85rem;
    }

    .product-detail-refined--premium {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 0.95rem;
        border-radius: 20px;
    }

    .product-image-panel--premium,
    .product-buy-panel--premium {
        gap: 0.75rem;
    }

    .product-gallery-stage--premium {
        padding: 0.7rem;
        border-radius: 18px;
    }

    .product-gallery-stage--premium .main-image {
        aspect-ratio: 1 / 1.02;
        border-radius: 14px;
    }

    .product-gallery-meta {
        gap: 0.4rem;
    }

    .product-gallery-meta__chip,
    .product-zoom-trigger {
        font-size: 0.68rem;
        min-height: 30px;
        padding: 0.45rem 0.6rem;
    }

    .product-thumbs.thumb-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .product-thumbs.thumb-row img {
        width: 100%;
        min-width: 0;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }

    .product-summary-head h1 {
        font-size: 1.45rem;
        line-height: 1.08;
    }

    .product-head-meta--refined,
    .product-trust-row--refined,
    .product-benefit-strip,
    .detail-side-note__meta,
    .field-row-head,
    .field-row-actions,
    .buy-actions-grid--refined {
        gap: 0.5rem;
    }

    .price-stack--premium strong {
        font-size: 1.45rem;
    }

    .product-copy--refined {
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .product-benefit-strip {
        grid-template-columns: 1fr;
    }

    .product-benefit-strip article,
    .detail-side-note--premium,
    .delivery-eta-card {
        padding: 0.85rem;
        border-radius: 16px;
    }

    .delivery-eta-grid,
    .detail-form-grid--premium,
    .buy-actions-grid--refined,
    .product-detail-insights,
    .trust-grid--premium-detail,
    .reviews-grid--detail {
        grid-template-columns: 1fr;
    }

    .delivery-eta-output {
        min-height: 46px;
        font-size: 0.86rem;
    }

    .size-row {
        gap: 0.45rem;
    }

    .size-box--premium span {
        min-width: 46px;
        min-height: 42px;
        padding: 0.65rem 0.8rem;
        font-size: 0.82rem;
    }

    .urgency-box--premium {
        padding: 0.75rem 0.85rem;
        font-size: 0.82rem;
        border-radius: 14px;
    }

    .buy-actions-grid--refined .button,
    .wide-button {
        min-height: 46px;
        font-size: 0.88rem;
    }

    .section-card--related-premium .product-grid.storefront-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
    }

    .pdp-modal-card {
        width: min(100% - 24px, 520px);
        padding: 1rem;
        border-radius: 18px;
    }
}

@media (max-width: 560px) {
    .site-shell {
        padding: 0 10px 100px;
    }

    .site-header__inner {
        min-height: 64px;
        padding: 0.62rem 0.72rem;
        border-radius: 16px;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand-copy small {
        display: none;
    }

    .header-search-overlay {
        width: calc(100% - 14px);
        padding: 0.85rem;
        border-radius: 18px;
    }

    .header-search-overlay__copy h3 {
        font-size: 1.14rem;
    }

    .catalog-hero--refined {
        padding: 0.9rem;
    }

    .catalog-hero--refined h1,
    .product-summary-head h1 {
        font-size: 1.28rem;
    }

    .filter-panel-refined,
    .product-detail-refined--premium,
    .product-insight-card,
    .section-card--related-premium,
    .section-card--reviews-premium {
        padding: 0.82rem;
    }

    .listing-grid-refined,
    .product-grid.storefront-product-grid.listing-grid-premium,
    .section-card--related-premium .product-grid.storefront-product-grid {
        gap: 0.62rem;
    }

    .listing-card-refined .product-card__body,
    .section-card--related-premium .product-card__body {
        padding: 0.72rem;
    }

    .listing-card-refined .product-card__actions--stacked .button,
    .section-card--related-premium .button {
        min-height: 36px;
        font-size: 0.72rem;
    }

    .product-gallery-stage--premium {
        padding: 0.62rem;
    }

    .product-gallery-meta__chip,
    .product-zoom-trigger {
        font-size: 0.62rem;
    }

    .product-thumbs.thumb-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .size-box--premium span {
        min-width: 42px;
        min-height: 40px;
        padding: 0.58rem 0.68rem;
    }
}

/* Mobile polish: cart, checkout, account, seller profile */
@media (max-width: 900px) {
    .cart-page-grid,
    .checkout-layout,
    .account-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .cart-items-panel,
    .cart-summary-panel,
    .checkout-card--premium,
    .checkout-summary-panel,
    .seller-panel-card,
    .seller-status-banner,
    .store-profile-header {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .premium-cart-list {
        gap: 0.72rem;
    }

    .premium-cart-card {
        grid-template-columns: 76px 1fr;
        gap: 0.72rem;
        padding: 0.82rem;
        border-radius: 16px;
        align-items: start;
    }

    .premium-cart-card img {
        width: 76px;
        height: 76px;
        border-radius: 12px;
    }

    .cart-copy {
        display: grid;
        gap: 0.2rem;
        min-width: 0;
    }

    .cart-copy strong {
        font-size: 0.92rem;
        line-height: 1.28;
    }

    .cart-copy p,
    .cart-copy span {
        font-size: 0.76rem;
    }

    .cart-form-row {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.55rem;
        align-items: center;
    }

    .cart-quantity-stepper {
        min-width: 0;
    }

    .cart-quantity-stepper__button {
        width: 34px;
        height: 34px;
    }

    .cart-quantity-stepper input {
        height: 34px;
        font-size: 0.86rem;
    }

    .cart-update-submit,
    .link-button,
    .checkout-summary-panel .wide-button,
    .cart-summary-panel .wide-button {
        min-height: 42px;
        font-size: 0.82rem;
    }

    .premium-cart-card > form:last-child {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .summary-stack,
    .compact-trust-list,
    .checkout-benefits {
        gap: 0.6rem;
    }

    .summary-line {
        font-size: 0.82rem;
    }

    .checkout-card--premium h1 {
        font-size: 1.4rem;
        line-height: 1.08;
    }

    .checkout-form-grid {
        gap: 0.78rem;
    }

    .checkout-form-grid textarea,
    .checkout-form-grid select,
    .checkout-form-grid input,
    .account-form-grid input,
    .account-form-grid select,
    .account-form-grid textarea {
        min-height: 46px;
        font-size: 0.92rem;
    }

    .checkout-form-grid textarea {
        min-height: 110px;
    }

    .detail-form-grid--wide {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .cash-row {
        min-height: 42px;
        padding: 0.65rem 0.75rem;
        border-radius: 14px;
        background: rgba(245,245,248,0.92);
    }

    .account-hero {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0.95rem;
        border-radius: 18px;
    }

    .account-hero__identity {
        align-items: center;
        gap: 0.72rem;
    }

    .account-avatar,
    .account-avatar--image {
        width: 66px;
        height: 66px;
        min-width: 66px;
        border-radius: 18px;
    }

    .account-hero h1 {
        font-size: 1.34rem;
        line-height: 1.08;
    }

    .account-hero__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .account-hero__actions .button {
        min-height: 40px;
        padding: 0.7rem 0.55rem;
        font-size: 0.75rem;
    }

    .account-stats-grid,
    .seller-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .seller-stat-card {
        padding: 0.82rem;
        border-radius: 15px;
    }

    .seller-stat-card span {
        font-size: 0.72rem;
    }

    .seller-stat-card strong {
        font-size: 1rem;
    }

    .orders-list-premium {
        gap: 0.7rem;
    }

    .order-row.premium-order-row,
    .account-address-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0.82rem;
        border-radius: 15px;
    }

    .order-row__meta,
    .row-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        width: 100%;
    }

    .order-row__meta .button,
    .row-actions .button {
        min-height: 38px;
        font-size: 0.74rem;
    }

    .empty-state-card,
    .account-address-card {
        padding: 0.82rem;
        border-radius: 15px;
    }

    .store-profile-shell {
        gap: 0.85rem;
    }

    .store-profile-header {
        padding: 0.88rem;
        border-radius: 18px;
    }

    .store-profile-cover,
    .store-profile-cover img,
    .store-profile-cover__fallback {
        min-height: 160px;
        border-radius: 16px;
    }

    .store-profile-body {
        display: grid;
        gap: 0.75rem;
    }

    .store-profile-avatar-wrap {
        margin-top: -38px;
    }

    .store-profile-avatar,
    .store-profile-avatar--placeholder {
        width: 86px;
        height: 86px;
        border-radius: 24px;
    }

    .store-profile-title-row,
    .store-profile-name-row,
    .store-profile-actions,
    .store-profile-handle-row,
    .store-profile-meta,
    .store-profile-stats,
    .store-profile-highlights {
        gap: 0.55rem;
        flex-wrap: wrap;
    }

    .store-profile-name-row h1 {
        font-size: 1.34rem;
        line-height: 1.08;
    }

    .store-profile-actions .button {
        min-height: 40px;
        font-size: 0.78rem;
        padding: 0.72rem 0.85rem;
    }

    .store-profile-stat,
    .store-highlight-bubble,
    .store-review-card,
    .store-lookbook-card,
    .store-feature-card {
        border-radius: 16px;
    }

    .store-profile-products .product-grid.storefront-product-grid,
    .store-lookbook-grid,
    .store-reviews-grid,
    .store-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
}

@media (max-width: 560px) {
    .cart-items-panel,
    .cart-summary-panel,
    .checkout-card--premium,
    .checkout-summary-panel,
    .seller-panel-card,
    .seller-status-banner,
    .store-profile-header,
    .account-hero {
        padding: 0.82rem;
        border-radius: 16px;
    }

    .premium-cart-card {
        grid-template-columns: 68px 1fr;
        padding: 0.72rem;
    }

    .premium-cart-card img {
        width: 68px;
        height: 68px;
    }

    .cart-form-row,
    .filter-actions-row,
    .account-hero__actions,
    .order-row__meta,
    .row-actions {
        grid-template-columns: 1fr;
    }

    .checkout-card--premium h1,
    .account-hero h1,
    .store-profile-name-row h1 {
        font-size: 1.2rem;
    }

    .account-stats-grid,
    .seller-stats-grid,
    .store-profile-products .product-grid.storefront-product-grid,
    .store-lookbook-grid,
    .store-reviews-grid,
    .store-feature-grid {
        grid-template-columns: 1fr;
    }

    .store-profile-cover,
    .store-profile-cover img,
    .store-profile-cover__fallback {
        min-height: 138px;
    }

    .store-profile-avatar-wrap {
        margin-top: -32px;
    }

    .store-profile-avatar,
    .store-profile-avatar--placeholder {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }

    .store-profile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .store-profile-actions .button {
        width: 100%;
    }
}

/* Homepage beauty pass */
.home-marketplace-shell {
    gap: 1rem;
}

.home-marketplace-intro-band,
.home-marketplace-intro-meta {
    display: flex;
    gap: 0.8rem;
}

.home-marketplace-intro-band {
    align-items: stretch;
}

.home-marketplace-intro-copy,
.home-marketplace-intro-card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 34px rgba(59, 37, 158, 0.12);
}

.home-marketplace-intro-copy {
    flex: 1 1 auto;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, rgba(111,87,247,0.12) 0%, rgba(255,255,255,0.78) 65%);
}

.home-marketplace-intro-copy h2 {
    margin: 0.2rem 0 0.45rem;
    max-width: 560px;
    color: #161327;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.home-marketplace-intro-copy p:last-of-type {
    max-width: 620px;
    margin: 0;
    color: #6d688a;
    font-size: 0.9rem;
}

.home-marketplace-intro-meta {
    flex-wrap: wrap;
    margin-top: 0.85rem;
}

.home-marketplace-intro-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    color: #4f4a72;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-marketplace-intro-card {
    flex: 0 0 280px;
    display: grid;
    align-content: end;
    gap: 0.35rem;
    padding: 1.05rem;
    background: linear-gradient(155deg, #6b4cf4 0%, #916fff 100%);
    color: #fff;
}

.home-marketplace-intro-card strong {
    font-size: 1.1rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.home-marketplace-intro-card span,
.home-marketplace-intro-card small,
.home-marketplace-intro-card .eyebrow {
    color: rgba(255,255,255,0.82);
}

.home-marketplace-intro-card small {
    font-weight: 700;
}

.home-marketplace-panel {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.home-marketplace-panel:hover {
    transform: translateY(-1px);
    background: #fbfbff;
    box-shadow: 0 16px 26px rgba(61, 45, 145, 0.08);
}

.home-marketplace-grid {
    grid-auto-rows: 1fr;
}

.home-marketplace-tile {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-marketplace-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(111, 87, 247, 0.24);
    box-shadow: 0 20px 34px rgba(61, 45, 145, 0.12);
}

.home-marketplace-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(160deg, rgba(248,247,255,0.98) 0%, rgba(238,234,255,0.95) 100%);
}

.home-marketplace-tile--hero .home-marketplace-tile__media {
    background: linear-gradient(180deg, #ffffff 0%, #f0edff 100%);
}

.home-marketplace-tile--hero .home-marketplace-tile__media img {
    aspect-ratio: 1.7 / 1.02;
}

.home-marketplace-tile--hero .home-marketplace-tile__title {
    font-size: 1.1rem;
    -webkit-line-clamp: 3;
}

.home-marketplace-tile--hero .home-marketplace-tile__body {
    padding: 0.15rem 0.15rem 0.25rem;
}

.home-marketplace-tile--hero .home-marketplace-tile__cta {
    min-height: 38px;
}

.home-marketplace-tile__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(10,10,20,0) 0%, rgba(10,10,20,0.05) 100%);
    pointer-events: none;
}

.home-marketplace-tile--featured .home-marketplace-tile__media::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(19,13,53,0.18) 100%);
}

.home-marketplace-tile__wish {
    backdrop-filter: blur(10px);
}

.home-marketplace-shelf {
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(247,247,252,0.98) 100%);
    box-shadow: 0 22px 40px rgba(53, 37, 135, 0.08);
}

.home-marketplace-shelf .section-head h2 {
    letter-spacing: -0.04em;
}

.home-marketplace-rail-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,248,253,0.98) 100%);
}

@media (max-width: 900px) {
    .home-marketplace-intro-band {
        display: grid;
    }

    .home-marketplace-intro-copy,
    .home-marketplace-intro-card {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .home-marketplace-intro-card {
        flex-basis: auto;
    }

    .home-marketplace-intro-copy h2 {
        font-size: 1.22rem;
    }

    .home-marketplace-tile--hero {
        grid-column: span 2;
        grid-row: span 1;
    }

    .home-marketplace-tile--hero .home-marketplace-tile__media img {
        aspect-ratio: 1.45 / 1.02;
    }
}

@media (max-width: 560px) {
    .home-marketplace-intro-copy,
    .home-marketplace-intro-card {
        padding: 0.82rem;
        border-radius: 16px;
    }

    .home-marketplace-intro-copy h2 {
        font-size: 1.08rem;
    }

    .home-marketplace-intro-copy p:last-of-type {
        font-size: 0.82rem;
    }

    .home-marketplace-intro-meta span {
        min-height: 30px;
        font-size: 0.68rem;
        padding: 0.45rem 0.65rem;
    }
}

/* Global premium rebuild */
:root {
    --theme-bg: #f5f1ea;
    --theme-surface: #ffffff;
    --theme-surface-soft: #faf7f2;
    --theme-line: rgba(25, 20, 14, 0.08);
    --theme-text: #151515;
    --theme-muted: #756e66;
    --theme-accent: #8e6b52;
    --theme-accent-dark: #5f4736;
    --theme-shadow: 0 18px 40px rgba(20, 16, 10, 0.08);
    --theme-shadow-soft: 0 10px 24px rgba(20, 16, 10, 0.05);
}

body.store-body {
    background:
        radial-gradient(circle at top center, rgba(255,255,255,0.76), transparent 28%),
        linear-gradient(180deg, #f7f3ee 0%, #f3eee6 100%);
    color: var(--theme-text);
}

.site-shell {
    width: min(100%, 1440px);
}

.top-strip {
    color: rgba(21,21,21,0.54);
}

.top-strip span::before {
    background: linear-gradient(180deg, #dbc6af 0%, #8e6b52 100%);
    box-shadow: 0 0 0 5px rgba(186, 160, 134, 0.12);
}

.site-header__inner,
.section-card,
.summary-card,
.checkout-card,
.auth-card,
.auth-intro-card,
.tracking-card,
.admin-dashboard-card,
.admin-menu-card,
.admin-ai-card,
.admin-panel-card,
.admin-access-card,
.product-card,
.product-image-panel,
.product-info-panel,
.seller-panel-card,
.store-profile-header,
.home-marketplace-shell,
.home-marketplace-panel,
.home-marketplace-shelf,
.home-marketplace-intro-copy,
.home-marketplace-intro-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,246,241,0.98) 100%);
    border: 1px solid var(--theme-line);
    box-shadow: var(--theme-shadow);
}

.site-header__inner {
    border-radius: 26px;
    backdrop-filter: blur(12px);
}

.site-header.is-scrolled .site-header__inner {
    box-shadow: 0 20px 42px rgba(20,16,10,0.1);
}

.brand-logo {
    background: linear-gradient(135deg, #1a1a1a 0%, #514236 100%);
}

.site-nav {
    background: rgba(255,255,255,0.7);
    border-color: rgba(21,21,21,0.06);
}

.site-nav__link {
    color: rgba(21,21,21,0.62);
}

.site-nav__link:hover {
    background: rgba(255,255,255,0.92);
    color: #111;
}

.site-nav__link.is-active {
    background: linear-gradient(135deg, #141414 0%, #3a3129 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(20,20,20,0.14);
}

.site-nav__link--accent,
.site-nav__link--accent.is-active {
    background-image: none;
}

.site-nav__link--accent {
    color: var(--theme-accent);
}

.site-nav__link--accent.is-active {
    background: linear-gradient(135deg, #8e6b52 0%, #6c4f3b 100%);
    color: #fff;
}

.header-icon-link,
.header-account-link--premium,
.header-account-menu,
.mobile-drawer,
.header-search-overlay,
.mini-cart-drawer {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,244,238,0.98) 100%);
    border-color: var(--theme-line);
    box-shadow: var(--theme-shadow);
}

.header-icon-link,
.header-account-link--premium {
    color: #171717;
}

.header-account-link--premium {
    background: linear-gradient(135deg, #151515 0%, #41362d 100%);
    color: #fff;
}

.button.primary,
.home-marketplace-tile__cta,
.home-marketplace-delivery-pills .is-active,
.home-marketplace-chipbar--top a.is-active,
.home-marketplace-chipbar--top a:hover {
    background: linear-gradient(135deg, #171717 0%, #4d4034 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(20,16,10,0.14);
}

.button.ghost,
.home-marketplace-topbar__search,
.home-marketplace-chipbar--top a,
.home-marketplace-brand-list a,
.home-marketplace-delivery-pills span,
.product-meta-chip,
.product-utility-chip,
.role-pill,
.store-highlight-bubble,
.store-profile-stat {
    background: rgba(250,247,242,0.92);
    border: 1px solid var(--theme-line);
    color: var(--theme-muted);
}

.product-card,
.listing-card-refined,
.home-marketplace-tile,
.review-quote-card,
.trust-card,
.order-row,
.premium-cart-card,
.empty-state-card,
.store-lookbook-card,
.store-review-card,
.store-feature-card,
.seller-stat-card,
.account-address-card {
    background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
    border: 1px solid var(--theme-line);
    box-shadow: var(--theme-shadow-soft);
}

.product-card:hover,
.listing-card-refined:hover,
.home-marketplace-tile:hover,
.review-quote-card:hover,
.trust-card:hover,
.order-row:hover,
.premium-cart-card:hover,
.store-lookbook-card:hover,
.store-feature-card:hover {
    box-shadow: 0 20px 34px rgba(20,16,10,0.1);
    transform: translateY(-2px);
}

.product-card__title,
.home-marketplace-tile__title,
.product-summary-head h1,
.catalog-hero--refined h1,
.account-hero h1,
.store-profile-name-row h1,
.home-marketplace-intro-copy h2,
.home-marketplace-intro-card strong {
    color: var(--theme-text);
    letter-spacing: -0.045em;
}

.product-card__category,
.product-copy,
.catalog-hero__copy,
.small-link,
.order-row p,
.review-quote-card p,
.trust-card p,
.home-marketplace-panel p,
.home-marketplace-panel__head span,
.home-marketplace-intro-copy p:last-of-type,
.home-marketplace-intro-meta span,
.home-marketplace-tile__meta,
.home-marketplace-tile__seller,
.home-marketplace-tile__footer small {
    color: var(--theme-muted);
}

.home-marketplace-ambient {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.home-marketplace-ambient::before,
.home-marketplace-ambient::after {
    display: none;
}

.home-marketplace-shell {
    max-width: 1320px;
    gap: 1rem;
    border-radius: 32px;
}

.home-marketplace-topbar__logo {
    background: linear-gradient(135deg, #171717 0%, #4f4034 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(20,16,10,0.12);
}

.home-marketplace-topbar__search {
    color: #8a8178;
}

.home-marketplace-intro-copy {
    background: linear-gradient(135deg, rgba(142,107,82,0.08) 0%, rgba(255,255,255,0.92) 64%);
}

.home-marketplace-intro-card {
    background: linear-gradient(135deg, #191919 0%, #5c483a 100%);
    color: #fff;
}

.home-marketplace-intro-card .eyebrow,
.home-marketplace-intro-card span,
.home-marketplace-intro-card small {
    color: rgba(255,255,255,0.8);
}

.home-marketplace-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8f4ee 100%);
}

.home-marketplace-price-visual {
    background: linear-gradient(180deg, rgba(142,107,82,0.1), rgba(142,107,82,0.02));
}

.home-marketplace-price-visual__mountains {
    background: linear-gradient(180deg, rgba(164, 133, 108, 0.18), rgba(142,107,82,0.58));
}

.home-marketplace-price-visual__track {
    background: rgba(142,107,82,0.16);
}

.home-marketplace-price-visual__track::before {
    background: linear-gradient(90deg, #8e6b52 0%, #be9b7e 100%);
}

.home-marketplace-price-bubble,
.home-marketplace-tile__badge {
    background: #171717;
    color: #fff;
}

.home-marketplace-check {
    background: rgba(142,107,82,0.18);
    box-shadow: inset 0 0 0 1px rgba(142,107,82,0.16);
}

.home-marketplace-grid {
    gap: 0.95rem;
}

.home-marketplace-tile {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
}

.home-marketplace-tile--hero {
    background: linear-gradient(160deg, rgba(255,255,255,0.98) 0%, rgba(246,238,229,0.96) 100%);
}

.home-marketplace-tile--featured {
    background: linear-gradient(145deg, #222 0%, #765944 100%);
}

.home-marketplace-tile__media,
.product-card__media {
    background: linear-gradient(180deg, #f6f1ea 0%, #ece3d8 100%);
}

.home-marketplace-shelf {
    border-radius: 30px;
}

.catalog-hero--refined,
.filter-panel-refined,
.product-detail-refined--premium,
.cart-items-panel,
.cart-summary-panel,
.checkout-card--premium,
.checkout-summary-panel,
.account-hero,
.store-profile-header,
.tracking-hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,244,238,0.98) 100%);
    border: 1px solid var(--theme-line);
    box-shadow: var(--theme-shadow);
}

.product-gallery-stage--premium,
.delivery-eta-card,
.detail-side-note--premium,
.product-benefit-strip article,
.cash-row,
.seller-stat-card,
.store-profile-cover__fallback {
    background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
    border: 1px solid var(--theme-line);
}

.site-footer {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,239,232,0.98) 100%);
    border: 1px solid var(--theme-line);
    box-shadow: var(--theme-shadow);
}

.whatsapp-fab {
    background: linear-gradient(135deg, #151515 0%, #4d4034 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(20,16,10,0.16);
}

@media (max-width: 900px) {
    .home-marketplace-shell,
    .site-header__inner,
    .catalog-hero--refined,
    .filter-panel-refined,
    .product-detail-refined--premium,
    .cart-items-panel,
    .cart-summary-panel,
    .checkout-card--premium,
    .checkout-summary-panel,
    .account-hero,
    .store-profile-header,
    .seller-panel-card,
    .seller-status-banner,
    .home-marketplace-shelf {
        border-radius: 22px;
    }

    .home-marketplace-intro-copy,
    .home-marketplace-intro-card,
    .product-card,
    .home-marketplace-tile,
    .premium-cart-card,
    .order-row,
    .review-quote-card,
    .trust-card,
    .store-lookbook-card,
    .store-review-card,
    .store-feature-card {
        border-radius: 18px;
    }
}

/* Header rebuild v2 */
.top-strip {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    padding: 0.5rem 0.35rem 0.2rem;
    color: rgba(73, 58, 45, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.top-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.top-strip span::before {
    width: 6px;
    height: 6px;
    background: linear-gradient(180deg, #d7b899 0%, #7a573f 100%);
    box-shadow: 0 0 0 4px rgba(176, 141, 108, 0.12);
}

.site-header {
    top: 0;
    padding: 0.36rem 0 1rem;
}

.site-header__inner {
    min-height: 88px;
    padding: 0.95rem 1.18rem;
    border-radius: 30px;
    border: 1px solid rgba(90, 70, 51, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,241,234,0.97) 100%);
    box-shadow: 0 22px 48px rgba(26, 18, 10, 0.09), inset 0 1px 0 rgba(255,255,255,0.94);
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled .site-header__inner {
    box-shadow: 0 24px 54px rgba(26, 18, 10, 0.12), inset 0 1px 0 rgba(255,255,255,0.98);
}

.site-header__brand-row {
    min-width: 0;
}

.brand-mark {
    gap: 0.95rem;
}

.brand-logo,
.brand-logo-image {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}

.brand-logo {
    background: linear-gradient(145deg, #151515 0%, #5c4636 100%);
    color: #fff;
    box-shadow: 0 14px 26px rgba(26, 18, 10, 0.18);
}

.brand-copy strong {
    color: #171717;
    font-size: 1.03rem;
    letter-spacing: -0.045em;
}

.brand-copy small {
    color: rgba(82, 68, 55, 0.58);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav {
    justify-content: center;
    gap: 0.34rem;
    padding: 0.34rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 70, 51, 0.07);
    background: rgba(255,255,255,0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.site-nav__link {
    min-height: 42px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    color: rgba(56, 45, 37, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav__link:hover {
    color: #181818;
    background: rgba(255,255,255,0.95);
    transform: translateY(-1px);
}

.site-nav__link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #171717 0%, #4b3a2f 100%);
    box-shadow: 0 12px 22px rgba(26, 18, 10, 0.15);
}

.site-nav__link--accent {
    color: #8a6349;
}

.site-nav__link--accent.is-active {
    background: linear-gradient(135deg, #8a6349 0%, #6e4d38 100%);
    color: #fff;
}

.site-header__actions-shell {
    gap: 0.48rem;
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 70, 51, 0.07);
    background: rgba(255,255,255,0.74);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.header-icon-link,
.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: rgba(49, 41, 35, 0.72);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header-icon-link:hover,
.menu-toggle:hover {
    color: #171717;
    background: rgba(255,255,255,0.98);
}

.header-account-link--premium {
    min-height: 44px;
    padding: 0.82rem 1.08rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #171717 0%, #4b3a2f 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(26, 18, 10, 0.16);
}

.header-account-link--premium:hover {
    background: linear-gradient(135deg, #1d1d1d 0%, #5b4739 100%);
}

.header-account-menu {
    min-width: 224px;
    padding: 0.45rem;
    border-radius: 20px;
    border: 1px solid rgba(90, 70, 51, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,241,234,0.98) 100%);
    box-shadow: 0 24px 54px rgba(26, 18, 10, 0.12);
    backdrop-filter: blur(14px);
}

.header-account-menu__item {
    min-height: 44px;
    padding: 0.82rem 0.9rem;
    border-radius: 15px;
    font-weight: 700;
    color: rgba(49, 41, 35, 0.76);
}

.header-account-menu__item:hover,
.header-account-menu__item.is-active {
    background: linear-gradient(180deg, #f7f2ec 0%, #efe4d8 100%);
    color: #171717;
}

@media (max-width: 1023px) {
    .top-strip {
        justify-content: flex-start;
        gap: 1rem;
        padding-inline: 0.1rem;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .top-strip::-webkit-scrollbar {
        display: none;
    }

    .site-header__inner {
        min-height: 76px;
        padding: 0.76rem 0.92rem;
        border-radius: 24px;
        grid-template-columns: auto 1fr auto;
    }

    .brand-logo,
    .brand-logo-image {
        width: 46px;
        height: 46px;
    }

    .brand-copy strong {
        font-size: 0.96rem;
    }

    .brand-copy small {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 0.24rem 0 0.82rem;
    }

    .site-header__inner {
        min-height: 70px;
        padding: 0.68rem 0.76rem;
        border-radius: 20px;
    }

    .brand-mark {
        gap: 0.7rem;
    }

    .brand-logo,
    .brand-logo-image {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .header-account-link--premium,
    .header-icon-link,
    .menu-toggle {
        min-height: 42px;
        height: 42px;
    }

    .site-header__actions-shell {
        gap: 0.35rem;
        padding: 0.2rem;
    }
}

/* Header full-width pass */
.top-strip,
.site-header {
    margin-inline: calc(50% - 50vw);
    padding-inline: max(16px, calc((100vw - min(1440px, 100vw)) / 2 + 16px));
}

.top-strip {
    padding-top: 0.7rem;
    padding-bottom: 0.38rem;
    background: linear-gradient(180deg, #c9a889 0%, #b38b69 100%);
    color: rgba(255,255,255,0.92);
}

.top-strip span::before {
    background: rgba(255,255,255,0.88);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.14);
}

.site-header {
    padding-top: 0;
    padding-bottom: 1rem;
    background: linear-gradient(180deg, #b38b69 0%, #efe4d7 100%);
}

.site-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 94px;
    padding: 1rem 1.15rem;
    border-radius: 0 0 30px 30px;
    border: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,241,234,0.98) 100%);
    box-shadow: 0 18px 34px rgba(76, 49, 26, 0.12);
}

.site-header.is-scrolled .site-header__inner {
    box-shadow: 0 20px 36px rgba(76, 49, 26, 0.16);
}

.site-nav {
    background: rgba(243, 235, 227, 0.82);
}

.site-header__actions-shell {
    background: rgba(243, 235, 227, 0.82);
}

@media (max-width: 1023px) {
    .top-strip,
    .site-header {
        padding-inline: 12px;
    }

    .top-strip {
        padding-top: 0.55rem;
        padding-bottom: 0.28rem;
    }

    .site-header__inner {
        min-height: 78px;
        padding: 0.78rem 0.85rem;
        border-radius: 0 0 24px 24px;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding-bottom: 0.82rem;
    }

    .site-header__inner {
        min-height: 72px;
        padding: 0.7rem 0.74rem;
        border-radius: 0 0 20px 20px;
    }
}

/* Header final polish */
.top-strip {
    background: linear-gradient(180deg, #a88262 0%, #9a7354 100%);
    color: rgba(255,255,255,0.94);
    letter-spacing: 0.14em;
}

.site-header {
    background: linear-gradient(180deg, #9a7354 0%, #efe3d5 100%);
}

.site-header__inner {
    min-height: 96px;
    padding: 1rem 1.2rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,237,228,0.98) 100%);
    box-shadow: 0 20px 34px rgba(85, 58, 36, 0.14);
}

.brand-logo {
    background: linear-gradient(145deg, #141414 0%, #6a503d 100%);
}

.brand-copy strong {
    font-size: 1.06rem;
}

.brand-copy small {
    color: rgba(94, 74, 58, 0.62);
}

.site-nav {
    gap: 0.22rem;
    padding: 0.28rem;
    background: rgba(241, 233, 224, 0.9);
}

.site-nav__link {
    min-height: 40px;
    padding: 0.7rem 0.9rem;
    color: rgba(63, 48, 38, 0.7);
    font-size: 0.88rem;
}

.site-nav__link:hover {
    background: rgba(255,255,255,0.96);
}

.site-nav__link.is-active {
    background: linear-gradient(135deg, #191919 0%, #5c4637 100%);
}

.site-nav__link--accent {
    color: #8e6547;
}

.site-header__actions-shell {
    gap: 0.38rem;
    padding: 0.24rem;
    background: rgba(241, 233, 224, 0.92);
}

.header-icon-link,
.menu-toggle {
    width: 42px;
    height: 42px;
    color: rgba(54, 43, 34, 0.74);
}

.header-icon-link:hover,
.menu-toggle:hover {
    background: rgba(255,255,255,0.98);
}

.header-icon-link svg,
.menu-toggle svg {
    width: 18px;
    height: 18px;
}

.header-icon-badge {
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #8e6547 0%, #6b4f3d 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(107, 79, 61, 0.2);
}

.header-account-link--premium {
    min-height: 42px;
    padding: 0.78rem 1rem;
    background: linear-gradient(135deg, #191919 0%, #5c4637 100%);
    box-shadow: 0 12px 20px rgba(35, 26, 18, 0.16);
}

.header-account-link--premium span {
    font-size: 0.88rem;
    font-weight: 700;
}

.header-account-menu {
    border-radius: 18px;
}

.header-search-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,237,228,0.98) 100%);
}

@media (max-width: 1023px) {
    .site-header__inner {
        min-height: 78px;
        padding: 0.8rem 0.88rem;
    }

    .site-nav {
        gap: 0.18rem;
    }
}

@media (max-width: 767px) {
    .top-strip {
        font-size: 0.66rem;
    }

    .site-header__inner {
        min-height: 72px;
        padding: 0.7rem 0.74rem;
    }

    .header-account-link--premium,
    .header-icon-link,
    .menu-toggle {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }
}

/* Search modal polish */
.header-search-drawer {
    background: rgba(22, 16, 11, 0.28);
    backdrop-filter: blur(10px);
}

.header-search-overlay {
    border-radius: 28px;
    border: 1px solid rgba(98, 73, 53, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,237,228,0.98) 100%);
    box-shadow: 0 34px 80px rgba(36, 25, 16, 0.18);
}

.header-search-overlay__topbar {
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(98, 73, 53, 0.08);
}

.header-search-hint {
    color: rgba(94, 74, 58, 0.62);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-search-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(98, 73, 53, 0.08);
    background: rgba(255,255,255,0.9);
    color: #2a221d;
    box-shadow: 0 10px 18px rgba(36, 25, 16, 0.08);
}

.header-search-close:hover {
    background: #fff;
    color: #151515;
}

.header-search-overlay__copy h3 {
    color: #171717;
    letter-spacing: -0.05em;
}

.header-search-overlay__copy p:last-child {
    color: rgba(94, 74, 58, 0.74);
}

.header-search--overlay {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(98, 73, 53, 0.08);
    background: rgba(255,255,255,0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96);
}

.header-search--overlay:focus-within {
    border-color: rgba(142, 107, 82, 0.28);
    box-shadow: 0 0 0 5px rgba(176, 141, 108, 0.12);
}

.header-search--overlay svg {
    color: rgba(94, 74, 58, 0.62);
}

.header-search--overlay input {
    color: #171717;
}

.header-search--overlay input::placeholder {
    color: rgba(117, 97, 80, 0.62);
}

.header-search-submit {
    min-height: 42px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #171717 0%, #5c4637 100%);
    box-shadow: 0 12px 20px rgba(35, 26, 18, 0.14);
}

.header-search-panel-block,
.header-search-preview-card {
    border-radius: 20px;
    border: 1px solid rgba(98, 73, 53, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(249,244,238,0.98) 100%);
    box-shadow: 0 14px 28px rgba(36, 25, 16, 0.06);
}

.header-search-panel-head strong,
.header-search-preview-card strong {
    color: #171717;
}

.header-search-clear,
.header-search-preview-card span,
.header-search-preview-card small,
.header-search-empty {
    color: rgba(94, 74, 58, 0.72);
}

.header-search-recent a,
.header-search-suggestions--categories a {
    background: rgba(248,243,237,0.96);
    border: 1px solid rgba(98, 73, 53, 0.08);
    color: rgba(66, 51, 40, 0.82);
    font-weight: 700;
}

.header-search-recent a:hover,
.header-search-suggestions--categories a:hover {
    background: rgba(255,255,255,0.98);
    color: #171717;
}

.header-search-preview-card img {
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f1ea 0%, #ece3d8 100%);
}

@media (max-width: 767px) {
    .header-search-overlay {
        border-radius: 22px;
    }

    .header-search-close {
        width: 38px;
        height: 38px;
    }

    .header-search--overlay {
        min-height: 52px;
        border-radius: 16px;
    }

    .header-search-submit {
        min-height: 40px;
        border-radius: 12px;
    }

    .header-search-panel-block,
    .header-search-preview-card {
        border-radius: 16px;
    }
}

/* Reference homepage + header rebuild */
:root {
    --bg: #f5f2ff;
    --surface: #ffffff;
    --surface-soft: #f4f0ff;
    --text: #1a1630;
    --muted: #716a8d;
    --line: #e6def8;
    --accent: #6d49f6;
    --primary: #241c45;
    --shadow-sm: 0 20px 40px rgba(77, 52, 164, 0.08);
    --shadow-md: 0 32px 80px rgba(77, 52, 164, 0.14);
    --container: 1280px;
}

body.store-body {
    background:
        radial-gradient(circle at top left, rgba(120, 88, 255, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(158, 126, 255, 0.14), transparent 24%),
        linear-gradient(180deg, #f7f4ff 0%, #f4f1ff 100%);
}

.top-strip {
    display: none;
}

.site-shell {
    width: min(100%, calc(1280px + 40px));
    padding: 18px 20px 108px;
}

.site-header {
    margin-inline: 0;
    padding: 0;
}

.site-header__inner.site-header__inner--reference {
    grid-template-columns: auto minmax(280px, 420px) 1fr;
    min-height: 74px;
    padding: 0.75rem 1rem 0.75rem 1.2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(230, 222, 248, 0.95);
    box-shadow: 0 16px 44px rgba(97, 77, 177, 0.12);
    backdrop-filter: blur(20px);
}

.brand-mark--reference {
    gap: 0;
}

.brand-mark--reference .brand-logo,
.brand-mark--reference .brand-logo-image {
    width: 82px;
    height: 42px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    border: 0;
}

.site-header__search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 48px;
    padding: 0 1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #faf9ff 0%, #f1edff 100%);
    border: 1px solid #ebe5ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-header__search svg {
    width: 18px;
    height: 18px;
    color: #8c84ae;
}

.site-header__search input {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--text);
    box-shadow: none;
}

.site-header__search input::placeholder {
    color: #8c84ae;
}

.site-header__search input:focus {
    box-shadow: none;
}

.site-header__actions-shell {
    justify-content: flex-end;
    gap: 0.9rem;
    padding-left: 0.5rem;
}

.site-header__quicknav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-header__quicklink {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 0.9rem;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.site-header__quicklink svg {
    width: 17px;
    height: 17px;
    color: #5e5681;
}

.site-header__quicklink--cart {
    padding-right: 2.55rem;
}

.site-header__quickcount {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff7d63;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.header-account-avatar {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c4b8ff 0%, #7552ff 100%);
    box-shadow: 0 12px 24px rgba(117, 82, 255, 0.22);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
}

.header-account-menu {
    margin-top: 0.75rem;
    min-width: 220px;
    border-radius: 22px;
    border: 1px solid #e6def8;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(98, 78, 179, 0.18);
}

.header-account-menu[hidden],
.header-search-drawer[hidden] {
    display: none !important;
}

.header-search-overlay {
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
    border: 1px solid #e7e0fb;
    box-shadow: 0 40px 100px rgba(92, 67, 179, 0.22);
}

.header-search--overlay {
    background: linear-gradient(180deg, #fbfaff 0%, #f3efff 100%);
    border-color: #ebe5ff;
}

.header-search-submit.button.primary {
    background: linear-gradient(135deg, #8b6bff 0%, #6d49f6 100%);
    box-shadow: 0 18px 34px rgba(109, 73, 246, 0.26);
}

.home-marketplace-ambient--reference {
    margin-top: 0.9rem;
}

.home-marketplace-shell--reference {
    padding: 1rem;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 243, 255, 0.94) 100%);
    border: 1px solid rgba(230, 222, 248, 0.96);
    box-shadow: 0 30px 80px rgba(85, 63, 166, 0.12);
}

.home-marketplace-chipbar--top {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0.15rem 0 1rem;
}

.home-marketplace-chipbar--top a {
    flex: 0 0 auto;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ece5ff;
    color: #463d66;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(109, 73, 246, 0.05);
}

.home-marketplace-chipbar--top a.is-active {
    background: linear-gradient(135deg, #8c6aff 0%, #6d49f6 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(109, 73, 246, 0.24);
}

.home-marketplace-layout--reference,
.home-marketplace-main--reference {
    display: block;
}

.home-marketplace-grid--reference {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-marketplace-tile {
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
    border: 1px solid rgba(232, 224, 250, 0.95);
    box-shadow: 0 16px 34px rgba(109, 73, 246, 0.08);
}

.home-marketplace-tile__media {
    position: relative;
    display: block;
    padding: 0.9rem 0.9rem 0;
}

.home-marketplace-tile__media img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: contain;
    border-radius: 22px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(242,236,255,0.95));
}

.home-marketplace-tile__wish {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 34px;
    height: 34px;
    border: 1px solid #ece5ff;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: #836dcb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-marketplace-tile__wish svg {
    width: 16px;
    height: 16px;
}

.home-marketplace-tile__badge,
.home-marketplace-tile__top-pill {
    position: absolute;
    left: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-marketplace-tile__badge {
    top: 1.2rem;
    background: rgba(109, 73, 246, 0.1);
    color: #6d49f6;
}

.home-marketplace-tile__top-pill {
    bottom: 1rem;
    background: #ffeaa6;
    color: #594816;
}

.home-marketplace-tile__body {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem 1.1rem 1.15rem;
}

.home-marketplace-tile__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.home-marketplace-tile__rating {
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    background: #f3efff;
    color: #6d49f6;
}

.home-marketplace-tile__title {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.home-marketplace-tile__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-marketplace-tile__footer strong {
    font-size: 1rem;
}

.home-marketplace-tile__footer small {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    text-decoration: line-through;
}

.home-marketplace-tile__seller {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.home-marketplace-tile form {
    margin-top: 0.1rem;
}

.home-marketplace-tile__cta {
    width: auto;
    min-height: 36px;
    padding: 0.56rem 0.95rem;
    border: 1px solid #e7e0fb;
    border-radius: 999px;
    background: #fff;
    color: #584d86;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-marketplace-tile--featured {
    background: linear-gradient(135deg, #8f6cff 0%, #6d49f6 100%);
    color: #fff;
    box-shadow: 0 28px 50px rgba(109, 73, 246, 0.24);
}

.home-marketplace-tile--featured .home-marketplace-tile__media img {
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
}

.home-marketplace-tile--featured .home-marketplace-tile__meta,
.home-marketplace-tile--featured .home-marketplace-tile__seller,
.home-marketplace-tile--featured .home-marketplace-tile__footer small {
    color: rgba(255,255,255,0.82);
}

.home-marketplace-tile--featured .home-marketplace-tile__rating,
.home-marketplace-tile--featured .home-marketplace-tile__cta,
.home-marketplace-tile--featured .home-marketplace-tile__wish {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.home-marketplace-shelf {
    margin-top: 1rem;
    border-radius: 30px;
    background: rgba(255,255,255,0.82);
    border: 1px solid #e7e0fb;
    box-shadow: 0 16px 36px rgba(92, 67, 179, 0.08);
}

.home-marketplace-shelf .section-head h2 {
    font-size: 1.4rem;
}

.home-marketplace-rail__item .product-card {
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
    border-color: #e9e2fb;
}

.verified-badge {
    color: #6d49f6;
}

@media (max-width: 1023px) {
    .site-shell {
        padding: 14px 14px 106px;
    }

    .site-header__inner.site-header__inner--reference {
        grid-template-columns: auto 1fr auto;
        min-height: 68px;
        padding: 0.65rem 0.8rem;
        border-radius: 24px;
    }

    .brand-mark--reference .brand-logo,
    .brand-mark--reference .brand-logo-image {
        width: 68px;
        height: 36px;
    }

    .home-marketplace-shell--reference {
        padding: 0.85rem;
        border-radius: 26px;
    }

    .home-marketplace-grid--reference {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 767px) {
    .home-marketplace-chipbar--top {
        padding-bottom: 0.85rem;
    }

    .home-marketplace-chipbar--top a {
        padding: 0.72rem 1rem;
        font-size: 0.86rem;
    }

    .home-marketplace-grid--reference {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-marketplace-tile {
        border-radius: 22px;
    }

    .home-marketplace-tile__body {
        padding: 0.85rem 0.9rem 1rem;
    }

    .home-marketplace-tile__title {
        font-size: 1rem;
    }

    .home-marketplace-tile__meta {
        font-size: 0.72rem;
    }

    .home-marketplace-tile__footer {
        display: grid;
        gap: 0.45rem;
        justify-content: start;
    }

    .home-marketplace-tile__cta {
        width: 100%;
    }
}


/* Canonical storefront design system */
:root {
    --bg: #f7f6fb;
    --surface: #ffffff;
    --surface-soft: #f3f1fb;
    --surface-muted: #ede9fb;
    --text: #1f1a33;
    --muted: #6f6987;
    --line: #e6e1f2;
    --primary: #7457ff;
    --primary-strong: #5f42ed;
    --primary-soft: #eee9ff;
    --success: #2c8a60;
    --danger: #c05746;
    --shadow-sm: 0 12px 28px rgba(31, 26, 51, 0.06);
    --shadow-md: 0 24px 56px rgba(31, 26, 51, 0.10);
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1240px;
}

html, body {
    background: var(--bg);
    color: var(--text);
}

body.store-body {
    background:
        radial-gradient(circle at top right, rgba(116, 87, 255, 0.08), transparent 26%),
        radial-gradient(circle at left 12%, rgba(116, 87, 255, 0.05), transparent 22%),
        linear-gradient(180deg, #faf9fe 0%, #f6f4fb 100%);
}

.site-shell {
    width: min(100%, calc(var(--container) + 40px));
    padding: 0 20px 108px;
}

.top-strip {
    display: none;
}

.section-card,
.summary-card,
.checkout-card,
.auth-card,
.auth-intro-card,
.tracking-card,
.admin-dashboard-card,
.admin-menu-card,
.admin-ai-card,
.admin-panel-card,
.admin-access-card,
.product-image-panel,
.product-info-panel,
.product-card,
.category-card,
.trust-card,
.review-quote-card,
.site-footer,
.order-row,
.admin-table-row,
.home-marketplace-shelf,
.home-storefront-collections,
.home-storefront-hero__copy,
.home-storefront-hero__visual {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
}

input,
select,
textarea {
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(116, 87, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(116, 87, 255, 0.12);
}

.button {
    border-radius: 14px;
    font-weight: 700;
}

.button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(116, 87, 255, 0.22);
}

.button.ghost,
.button.soft,
.white-button {
    background: var(--primary-soft);
    color: var(--primary-strong);
    border-color: transparent;
}

.button.danger,
.link-button {
    color: var(--danger);
    border-color: rgba(192, 87, 70, 0.18);
}

.site-header,
.site-header.is-scrolled {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 14px 0 12px;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(20px, calc((100vw - min(var(--container), 100vw)) / 2 + 20px));
    background: rgba(247, 246, 251, 0.88);
    backdrop-filter: blur(16px);
}

.site-header__inner,
.site-header__inner.site-header__inner--reference {
    grid-template-columns: auto minmax(270px, 380px) 1fr;
    min-height: 68px;
    padding: 0.45rem 0.55rem 0.45rem 0.85rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.brand-mark .brand-logo,
.brand-mark .brand-logo-image,
.brand-mark--reference .brand-logo,
.brand-mark--reference .brand-logo-image {
    width: 76px;
    height: 34px;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.site-header__search {
    height: 44px;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid transparent;
    box-shadow: none;
}

.site-header__search:hover {
    background: #efecfa;
}

.site-header__search:focus-within {
    background: var(--surface);
    border-color: rgba(116, 87, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(116, 87, 255, 0.10);
}

.site-header__search svg,
.site-header__search input,
.site-header__search input::placeholder {
    color: var(--muted);
}

.site-header__actions-shell {
    gap: 0.45rem;
    justify-content: flex-end;
}

.site-header__quicknav {
    gap: 0.25rem;
    align-items: center;
}

.site-header__quicklink {
    position: relative;
    min-height: 42px;
    padding: 0.62rem 0.88rem;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background .18s ease, color .18s ease;
}

.site-header__quicklink svg {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.site-header__quicklink:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.site-header__quicklink.is-active {
    background: var(--primary-soft);
    color: var(--primary-strong);
}

.site-header__quicklink--cart {
    padding-right: 2.5rem;
}

.site-header__quickcount,
.header-icon-badge {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.header-account-avatar,
.header-icon-link,
.menu-toggle,
.drawer-close,
.avatar-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface-soft);
    border: 1px solid transparent;
    color: var(--text);
    box-shadow: none;
}

.header-account-avatar:hover,
.header-icon-link:hover,
.menu-toggle:hover,
.drawer-close:hover {
    background: var(--surface-muted);
}

.header-account-menu,
.mobile-drawer,
.header-search-overlay {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.header-account-menu {
    border-radius: 16px;
}

.mobile-drawer__top {
    border-bottom: 1px solid var(--line);
}

.mobile-drawer__nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.78rem 0.9rem;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
}

.mobile-drawer__nav a:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.header-search--mobile,
.header-search--overlay {
    background: var(--surface-soft);
    border: 1px solid transparent;
    box-shadow: none;
}

.header-search--mobile:focus-within,
.header-search--overlay:focus-within {
    background: var(--surface);
    border-color: rgba(116, 87, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(116, 87, 255, 0.10);
}

.header-search-submit.button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
}

.product-card,
.home-marketplace-rail__item .product-card {
    border-radius: 18px;
    overflow: hidden;
}

.product-card__media img,
.category-card img,
.hero-feature-card img,
.product-thumbs img,
.premium-cart-card img {
    background: var(--surface-soft);
}

.product-card__body {
    padding: 1rem;
    gap: 0.7rem;
}

.product-card__title {
    font-size: 1rem;
    line-height: 1.35;
}

.product-card__category,
.home-marketplace-shelf .shelf-subcopy,
.small-note,
.small-link,
.product-copy,
.catalog-hero__copy,
.hero-banner__copy,
.field-label,
.filters-grid span,
.stack-form span,
.site-footer a,
.site-footer__about p,
.trust-card p,
.review-quote-card p,
.review-quote-card small,
.admin-table-row p,
.order-row p,
.tracking-card p {
    color: var(--muted);
}

.verified-badge {
    color: var(--primary);
}

.home-storefront-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 1rem;
    align-items: stretch;
    margin-top: 1rem;
}

.home-storefront-hero__copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 2rem;
}

.home-storefront-hero__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 0.95;
}

.home-storefront-hero__copy p:not(.eyebrow) {
    max-width: 46ch;
    color: var(--muted);
    line-height: 1.6;
}

.home-storefront-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-storefront-hero__visual {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    padding: 0.95rem;
    background: linear-gradient(180deg, #faf9fe 0%, #f3f0fb 100%);
}

.home-storefront-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    background: var(--surface-soft);
}

.home-storefront-hero__spotlight {
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.home-storefront-hero__spotlight span,
.home-storefront-hero__spotlight small {
    color: var(--muted);
}

.home-storefront-collections {
    margin-top: 1rem;
    border-radius: var(--radius);
}

.home-storefront-collections__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-storefront-collection {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--surface-soft);
    color: var(--text);
    transition: background .18s ease, transform .18s ease;
}

.home-storefront-collection:hover {
    background: var(--primary-soft);
    transform: translateY(-1px);
}

.home-storefront-collection span {
    color: var(--muted);
    font-size: 0.84rem;
}

.home-marketplace-shelf {
    margin-top: 1rem;
}

.home-marketplace-shelf .section-head h2 {
    font-size: 1.45rem;
}

.site-footer {
    background: rgba(255,255,255,0.96);
}

@media (max-width: 1023px) {
    .site-shell {
        padding: 0 14px 104px;
    }

    .site-header,
    .site-header.is-scrolled {
        padding: 10px 0 8px;
        margin-inline: 0;
        padding-inline: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        grid-template-columns: auto 1fr auto;
        min-height: 58px;
        padding: 0.35rem 0.45rem 0.35rem 0.65rem;
        border-radius: 16px;
    }

    .brand-mark .brand-logo,
    .brand-mark .brand-logo-image,
    .brand-mark--reference .brand-logo,
    .brand-mark--reference .brand-logo-image {
        width: 68px;
        height: 30px;
    }

    .home-storefront-hero {
        grid-template-columns: 1fr;
    }

    .home-storefront-collections__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        min-height: 56px;
        padding: 0.35rem 0.42rem 0.35rem 0.58rem;
        border-radius: 14px;
    }

    .brand-mark .brand-logo,
    .brand-mark .brand-logo-image,
    .brand-mark--reference .brand-logo,
    .brand-mark--reference .brand-logo-image {
        width: 64px;
        height: 28px;
    }

    .header-account-avatar,
    .header-icon-link,
    .menu-toggle {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .home-storefront-hero__copy {
        padding: 1.25rem;
    }

    .home-storefront-hero__copy h1 {
        font-size: 2.35rem;
    }

    .home-storefront-hero__visual {
        min-height: 320px;
    }

    .home-storefront-collections__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Full-width layout pass */
.site-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 108px;
}

.responsive-shell,
.page-content {
    width: 100%;
    max-width: none;
}

.site-header,
.site-header.is-scrolled {
    margin-inline: 0;
    padding-inline: 0;
}

.site-header__inner,
.site-header__inner.site-header__inner--reference {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.home-storefront-hero,
.home-storefront-collections,
.home-marketplace-shelf,
.catalog-shell,
.product-detail-shell,
.cart-page-grid,
.checkout-layout,
.tracking-layout,
.auth-layout,
.settings-page-grid,
.admin-page-grid {
    width: min(100%, var(--container));
    margin-inline: auto;
}

@media (max-width: 1023px) {
    .site-shell {
        padding-bottom: 104px;
    }

    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        max-width: none;
        margin: 0 14px;
        border-radius: 0;
    }

    .home-storefront-hero,
    .home-storefront-collections,
    .home-marketplace-shelf,
    .catalog-shell,
    .product-detail-shell,
    .cart-page-grid,
    .checkout-layout,
    .tracking-layout,
    .auth-layout,
    .settings-page-grid,
    .admin-page-grid {
        width: calc(100% - 28px);
    }
}

/* Full-width premium header final */
.site-header,
.site-header.is-scrolled {
    position: sticky;
    top: 0;
    z-index: 60;
    width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e6e1f2;
}

.site-header__inner,
.site-header__inner.site-header__inner--reference {
    width: min(100%, var(--container));
    max-width: var(--container);
    margin: 0 auto;
    min-height: 72px;
    padding: 0.65rem 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-header__brand-row {
    gap: 0.75rem;
}

.site-header__search {
    height: 46px;
    border-radius: 999px;
    background: #f5f3fb;
    border: 1px solid transparent;
}

.site-header__search:hover {
    background: #f1eefb;
}

.site-header__search:focus-within {
    background: #ffffff;
    border-color: rgba(116, 87, 255, 0.32);
    box-shadow: 0 0 0 4px rgba(116, 87, 255, 0.10);
}

.site-header__quicknav {
    gap: 0.3rem;
}

.site-header__quicklink {
    min-height: 42px;
    border-radius: 999px;
}

.header-account-avatar,
.header-icon-link,
.menu-toggle,
.drawer-close,
.avatar-badge {
    border-radius: 999px;
}

@media (max-width: 1023px) {
    .site-header,
    .site-header.is-scrolled {
        border-bottom: 1px solid #e6e1f2;
    }

    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.5rem 14px;
        min-height: 64px;
    }
}

/* Header de-pill cleanup */
.site-header,
.site-header.is-scrolled {
    box-shadow: 0 6px 18px rgba(31, 26, 51, 0.04);
}

.site-header__quicknav {
    gap: 0.2rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.site-header__quicklink {
    min-height: 42px;
    padding: 0.55rem 0.78rem;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-header__quicklink::after {
    display: none;
}

.site-header__quicklink:hover {
    background: rgba(116, 87, 255, 0.07);
    color: var(--text);
}

.site-header__quicklink.is-active {
    background: rgba(116, 87, 255, 0.10);
    color: var(--primary-strong);
}

.site-header__quicklink svg {
    color: currentColor;
}

.site-header__quicklink--cart {
    padding-right: 2.2rem;
}

.header-account-avatar,
.header-icon-link {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
}

.header-account-avatar:hover,
.header-icon-link:hover {
    background: rgba(116, 87, 255, 0.07);
    border-color: rgba(116, 87, 255, 0.10);
}

.menu-toggle,
.drawer-close,
.avatar-badge {
    border-radius: 12px;
}

@media (max-width: 1023px) {
    .header-account-avatar,
    .header-icon-link,
    .menu-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

/* Header simplification pass */
.site-header__actions-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.85rem;
}

.site-header__quicknav {
    justify-content: flex-end;
    gap: 0.45rem;
}

.site-header__quicklink {
    min-height: auto;
    padding: 0.35rem 0.2rem;
    border-radius: 0;
    background: transparent !important;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.site-header__quicklink:hover {
    color: var(--text);
}

.site-header__quicklink.is-active {
    color: var(--primary-strong);
}

.site-header__quicklink svg,
.site-header__quicklink::after {
    display: none !important;
}

.site-header__utility {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.header-icon-link {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
}

.header-icon-link:hover,
.header-account-avatar:hover {
    background: var(--surface-soft);
}

@media (max-width: 1023px) {
    .site-header__actions-shell {
        grid-template-columns: auto;
        justify-content: end;
    }
}

/* Material actions shell */
.site-header__actions-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
}

.site-header__quicknav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    padding: 0;
    background: transparent;
}

.site-header__quicklink {
    min-height: auto;
    padding: 0.3rem 0;
    border-radius: 0;
    background: transparent !important;
    color: #5f6368;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.site-header__quicklink:hover {
    color: #202124;
}

.site-header__quicklink.is-active {
    color: #1a73e8;
    font-weight: 600;
}

.site-header__quicklink::after,
.site-header__quicklink svg {
    display: none !important;
}

.site-header__utility {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-icon-link,
.header-account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f4;
    border: 1px solid transparent;
    color: #3c4043;
    box-shadow: none;
}

.header-icon-link:hover,
.header-account-avatar:hover {
    background: #e8eaed;
}

.header-icon-badge {
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    font-size: 0.68rem;
    background: #1a73e8;
    color: #fff;
}

.header-account-shell {
    position: relative;
}

@media (max-width: 1023px) {
    .site-header__actions-shell {
        grid-template-columns: auto;
        justify-content: end;
        gap: 0.5rem;
    }
}

/* Two-row header refinement */
.site-header__inner,
.site-header__inner.site-header__inner--reference {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
}

.site-header__toprow {
    display: grid;
    grid-template-columns: auto minmax(280px, 420px) auto;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
    padding: 0.65rem 20px;
}

.site-header__utility {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.site-header__subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: 48px;
    padding: 0 20px;
    border-top: 1px solid var(--line);
}

.site-header__subnav-link {
    position: relative;
    padding: 0.3rem 0;
    color: var(--muted);
    font-size: 0.93rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-header__subnav-link:hover {
    color: var(--text);
}

.site-header__subnav-link.is-active {
    color: var(--primary-strong);
}

.site-header__subnav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.72rem;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-strong);
}

.site-header__actions-shell,
.site-header__quicknav {
    display: none !important;
}

@media (max-width: 1023px) {
    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        padding: 0;
    }

    .site-header__toprow {
        grid-template-columns: auto 1fr auto;
        min-height: 64px;
        padding: 0.5rem 14px;
        gap: 0.55rem;
    }

    .site-header__subnav {
        display: none !important;
    }
}

/* Single-row header restore */
.site-header__inner,
.site-header__inner.site-header__inner--reference {
    display: grid;
    grid-template-columns: auto minmax(240px, 360px) 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
    padding: 0.65rem 20px;
}

.site-header__toprow,
.site-header__subnav,
.site-header__subnav-link {
    display: none !important;
}

.site-header__actions-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.9rem;
}

.site-header__quicknav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.95rem;
}

.site-header__quicklink {
    padding: 0.28rem 0;
    border-radius: 0;
    background: transparent !important;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.site-header__quicklink:hover {
    color: var(--text);
}

.site-header__quicklink.is-active {
    color: var(--primary-strong);
}

.site-header__quicklink::after,
.site-header__quicklink svg {
    display: none !important;
}

.site-header__utility {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

@media (max-width: 1023px) {
    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        grid-template-columns: auto 1fr auto;
        min-height: 64px;
        padding: 0.5rem 14px;
        gap: 0.55rem;
    }

    .site-header__actions-shell {
        grid-template-columns: auto;
        justify-content: end;
    }
}
/* Final header visibility fix */
.site-header,
.top-strip {
    width: 100%;
}

.site-header__inner,
.site-header__inner.site-header__inner--reference {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: auto minmax(260px, 420px) 1fr !important;
    align-items: center !important;
    gap: 1rem !important;
    min-height: 72px !important;
    padding: 0.65rem 20px !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.site-header__toprow,
.site-header__subnav,
.site-header__subnav-link {
    display: none !important;
}

.site-header__actions-shell {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    justify-self: end !important;
    gap: 1rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.site-header__quicknav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 1.1rem !important;
    padding: 0 !important;
    background: transparent !important;
}

.site-header__quicklink {
    display: inline-flex !important;
    align-items: center !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5f6368 !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.site-header__quicklink:hover,
.site-header__quicklink.is-active {
    color: #1f1a33 !important;
}

.site-header__quicklink::after,
.site-header__quicklink svg {
    display: none !important;
}

.site-header__utility {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.45rem !important;
}

.header-icon-link,
.header-account-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    background: #f5f3fb !important;
    border: 1px solid #e6e1f2 !important;
    color: #4f4a65 !important;
    box-shadow: none !important;
}

.header-icon-link:hover,
.header-account-avatar:hover {
    background: #eeebf8 !important;
    color: #1f1a33 !important;
}

.header-icon-badge {
    background: #7457ff !important;
    color: #fff !important;
}

@media (max-width: 1023px) {
    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        grid-template-columns: auto 1fr auto !important;
        padding: 0.5rem 14px !important;
        min-height: 64px !important;
        gap: 0.65rem !important;
    }

    .site-header__actions-shell {
        grid-template-columns: auto !important;
        gap: 0.5rem !important;
    }

    .site-header__quicknav {
        display: none !important;
    }
}
/* Header spacing polish */
.site-header {
    border-bottom: 1px solid #ebe7f5 !important;
}

.site-header__inner,
.site-header__inner.site-header__inner--reference {
    grid-template-columns: auto minmax(300px, 460px) 1fr !important;
    gap: 1.35rem !important;
    min-height: 74px !important;
    padding: 0.7rem 24px !important;
}

.site-header__brand-row {
    min-width: 92px !important;
}

.site-header__search {
    max-width: 460px !important;
}

.site-header__search input {
    font-size: 0.95rem !important;
}

.site-header__actions-shell {
    gap: 1.25rem !important;
}

.site-header__quicknav {
    gap: 1.35rem !important;
}

.site-header__quicklink {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
}

.site-header__utility {
    gap: 0.55rem !important;
    padding-left: 0.15rem !important;
}

.header-icon-link,
.header-account-avatar {
    width: 42px !important;
    height: 42px !important;
}

@media (max-width: 1180px) {
    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        grid-template-columns: auto minmax(220px, 340px) 1fr !important;
        gap: 1rem !important;
        padding: 0.65rem 18px !important;
    }

    .site-header__quicknav {
        gap: 1rem !important;
    }

    .site-header__quicklink {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 1023px) {
    .site-header {
        border-bottom: 1px solid #ece7f7 !important;
    }

    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        padding: 0.55rem 14px !important;
    }
}
/* Homepage top section alignment */
.home-storefront-hero,
.home-storefront-collections {
    border-radius: 24px !important;
    border: 1px solid #ebe7f5 !important;
    box-shadow: 0 18px 40px rgba(31, 26, 51, 0.06) !important;
    background: #ffffff !important;
}

.home-storefront-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
    gap: 0 !important;
    overflow: hidden !important;
    margin-top: 1.1rem !important;
}

.home-storefront-hero__copy {
    padding: 2.35rem 2.4rem !important;
    gap: 1.15rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%) !important;
}

.home-storefront-hero__copy .eyebrow {
    color: #7457ff !important;
    letter-spacing: 0.08em !important;
}

.home-storefront-hero__copy h1 {
    max-width: 12ch !important;
    font-size: clamp(2.5rem, 4.8vw, 4.15rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.05em !important;
    color: #1f1a33 !important;
}

.home-storefront-hero__copy p:not(.eyebrow) {
    max-width: 48ch !important;
    color: #6f6987 !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

.home-storefront-hero__actions {
    gap: 0.85rem !important;
    padding-top: 0.2rem !important;
}

.home-storefront-hero__visual {
    min-height: 460px !important;
    padding: 1.1rem !important;
    background: linear-gradient(180deg, #f9f7ff 0%, #f3efff 100%) !important;
}

.home-storefront-hero__visual img {
    border-radius: 20px !important;
}

.home-storefront-hero__spotlight {
    left: 1.8rem !important;
    right: 1.8rem !important;
    bottom: 1.8rem !important;
    padding: 1rem 1.1rem !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.88) !important;
    border: 1px solid rgba(235, 231, 245, 0.95) !important;
    backdrop-filter: blur(12px) !important;
}

.home-storefront-hero__spotlight strong {
    color: #1f1a33 !important;
    font-size: 1rem !important;
}

.home-storefront-collections {
    margin-top: 1rem !important;
    padding: 1rem !important;
}

.home-storefront-collections__grid {
    gap: 0.85rem !important;
}

.home-storefront-collection {
    padding: 1.05rem 1rem !important;
    border-radius: 18px !important;
    border: 1px solid #ebe7f5 !important;
    background: #faf8ff !important;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease !important;
}

.home-storefront-collection strong {
    color: #1f1a33 !important;
}

.home-storefront-collection span {
    color: #6f6987 !important;
}

.home-storefront-collection:hover {
    background: #f2edff !important;
    border-color: #dbd2fb !important;
    transform: translateY(-2px) !important;
}

.home-marketplace-shelf {
    margin-top: 1rem !important;
}

@media (max-width: 1023px) {
    .home-storefront-hero {
        grid-template-columns: 1fr !important;
    }

    .home-storefront-hero__copy {
        padding: 1.35rem !important;
    }

    .home-storefront-hero__copy h1 {
        max-width: none !important;
        font-size: 2.35rem !important;
    }

    .home-storefront-hero__visual {
        min-height: 340px !important;
        padding: 0.9rem !important;
    }

    .home-storefront-hero__spotlight {
        left: 1.1rem !important;
        right: 1.1rem !important;
        bottom: 1.1rem !important;
    }
}
/* Homepage rails and cards unification */
.home-marketplace-shelf {
    padding: 1.05rem 1.05rem 1.1rem !important;
    border-radius: 24px !important;
    border: 1px solid #ebe7f5 !important;
    background: #ffffff !important;
    box-shadow: 0 18px 40px rgba(31, 26, 51, 0.06) !important;
}

.home-marketplace-shelf .section-head {
    margin-bottom: 0.95rem !important;
}

.home-marketplace-shelf .section-head h2 {
    font-size: 1.3rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.035em !important;
    color: #1f1a33 !important;
}

.home-marketplace-shelf .shelf-subcopy {
    color: #6f6987 !important;
}

.home-marketplace-shelf__actions {
    gap: 0.65rem !important;
}

.home-marketplace-rail-control {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    border: 1px solid #e6e1f2 !important;
    background: #f7f4ff !important;
    color: #5b46dc !important;
    box-shadow: none !important;
}

.home-marketplace-rail-control:hover {
    background: #efe9ff !important;
    border-color: #d9cffc !important;
}

.home-marketplace-rail-shell::before,
.home-marketplace-rail-shell::after {
    width: 34px !important;
}

.home-marketplace-rail-shell::before {
    background: linear-gradient(90deg, rgba(255,255,255,1) 12%, rgba(255,255,255,0) 100%) !important;
}

.home-marketplace-rail-shell::after {
    background: linear-gradient(270deg, rgba(255,255,255,1) 12%, rgba(255,255,255,0) 100%) !important;
}

.home-marketplace-rail {
    grid-auto-columns: minmax(248px, 272px) !important;
    gap: 0.95rem !important;
}

.home-marketplace-rail__item .product-card,
.home-marketplace-rail-card {
    height: 100% !important;
    border-radius: 20px !important;
    border: 1px solid #ebe7f5 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.home-marketplace-rail__item .product-card:hover,
.home-marketplace-rail-card:hover {
    transform: translateY(-3px) !important;
    border-color: #ddd4fb !important;
    box-shadow: 0 14px 30px rgba(31, 26, 51, 0.08) !important;
}

.home-marketplace-rail__item .product-card .product-card__media,
.home-marketplace-rail-card .product-card__media {
    background: linear-gradient(180deg, #fcfbff 0%, #f5f1ff 100%) !important;
}

.home-marketplace-rail__item .product-card .product-card__media img,
.home-marketplace-rail-card .product-card__media img {
    aspect-ratio: 1 / 1.02 !important;
    object-fit: cover !important;
}

.home-marketplace-rail__item .product-card .product-card__body,
.home-marketplace-rail-card .product-card__body {
    padding: 0.95rem !important;
    gap: 0.62rem !important;
}

.home-marketplace-rail__item .product-card .product-card__category,
.home-marketplace-rail-card .product-card__category {
    color: #7c7592 !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
}

.home-marketplace-rail__item .product-card .product-card__title,
.home-marketplace-rail-card .product-card__title {
    color: #1f1a33 !important;
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-marketplace-rail__item .product-card .product-card__rating,
.home-marketplace-rail-card .product-card__rating {
    color: #7457ff !important;
    font-size: 0.82rem !important;
}

.home-marketplace-rail__item .product-card .product-card__rating small,
.home-marketplace-rail-card .product-card__rating small {
    color: #7c7592 !important;
}

.home-marketplace-rail__item .product-card .product-card__price-row,
.home-marketplace-rail-card .product-card__price-row {
    align-items: baseline !important;
    gap: 0.45rem !important;
}

.home-marketplace-rail__item .product-card .product-card__price-row strong,
.home-marketplace-rail-card .product-card__price-row strong {
    color: #1f1a33 !important;
    font-size: 1rem !important;
}

.home-marketplace-rail__item .product-card .product-card__price-row span,
.home-marketplace-rail-card .product-card__price-row span {
    color: #8d879f !important;
    font-size: 0.86rem !important;
}

.home-marketplace-rail__item .product-card .product-card__seller-row,
.home-marketplace-rail-card .product-card__seller-row {
    min-height: 20px !important;
}

.home-marketplace-rail__item .product-card .product-card__seller,
.home-marketplace-rail-card .product-card__seller {
    color: #6f6987 !important;
    font-size: 0.82rem !important;
}

.home-marketplace-rail__item .product-card .button,
.home-marketplace-rail-card .button {
    min-height: 40px !important;
    border-radius: 14px !important;
}

.home-marketplace-rail__item .product-card .button.ghost,
.home-marketplace-rail-card .button.ghost {
    border-color: #ddd6f6 !important;
    background: #f8f5ff !important;
    color: #433b5a !important;
}

.home-marketplace-rail__item .product-card .button.ghost:hover,
.home-marketplace-rail-card .button.ghost:hover {
    background: #f0ebff !important;
    color: #1f1a33 !important;
}

@media (max-width: 1023px) {
    .home-marketplace-shelf {
        padding: 0.9rem !important;
    }

    .home-marketplace-shelf .section-head {
        margin-bottom: 0.75rem !important;
    }

    .home-marketplace-rail {
        grid-auto-columns: minmax(220px, 76vw) !important;
        gap: 0.8rem !important;
    }
}
/* Homepage hero refresh */
.home-storefront-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr) !important;
    align-items: stretch !important;
}

.home-storefront-hero__copy {
    padding: 2.6rem 2.5rem !important;
    gap: 1.2rem !important;
}

.home-storefront-hero__copy h1 {
    max-width: 11ch !important;
    font-size: clamp(2.7rem, 5vw, 4.35rem) !important;
}

.home-storefront-hero__points {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
}

.home-storefront-hero__points span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 0.7rem 0.95rem !important;
    border-radius: 999px !important;
    border: 1px solid #e7e1f5 !important;
    background: #faf8ff !important;
    color: #5e5875 !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
}

.home-storefront-hero__stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
    padding-top: 0.25rem !important;
}

.home-storefront-hero__stats article {
    display: grid !important;
    gap: 0.2rem !important;
    padding: 0.95rem 1rem !important;
    border-radius: 18px !important;
    border: 1px solid #ebe7f5 !important;
    background: #fcfbff !important;
}

.home-storefront-hero__stats strong {
    color: #1f1a33 !important;
    font-size: 1.02rem !important;
}

.home-storefront-hero__stats span {
    color: #7a7391 !important;
    font-size: 0.82rem !important;
}

.home-storefront-hero__visual {
    min-height: 500px !important;
    padding: 1.15rem !important;
}

.home-storefront-hero__floating-note {
    position: absolute !important;
    top: 1.25rem !important;
    left: 1.25rem !important;
    display: grid !important;
    gap: 0.15rem !important;
    padding: 0.85rem 1rem !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(235, 231, 245, 0.95) !important;
    backdrop-filter: blur(12px) !important;
}

.home-storefront-hero__floating-label {
    color: #7457ff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.home-storefront-hero__floating-note strong {
    color: #1f1a33 !important;
    font-size: 0.92rem !important;
}

.home-storefront-hero__spotlight {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

.home-storefront-hero__spotlight-price {
    display: grid !important;
    gap: 0.15rem !important;
    text-align: right !important;
}

.home-storefront-hero__spotlight-price small {
    color: #7a7391 !important;
}

.home-storefront-hero__spotlight-price strong {
    color: #1f1a33 !important;
    font-size: 1.05rem !important;
}

.home-storefront-hero__empty {
    display: grid !important;
    place-items: center !important;
    min-height: 100% !important;
    color: #6f6987 !important;
    font-weight: 600 !important;
}

@media (max-width: 1023px) {
    .home-storefront-hero__stats {
        grid-template-columns: 1fr !important;
    }

    .home-storefront-hero__visual {
        min-height: 360px !important;
    }

    .home-storefront-hero__spotlight {
        grid-template-columns: 1fr !important;
        display: grid !important;
        align-items: start !important;
    }

    .home-storefront-hero__spotlight-price {
        text-align: left !important;
    }
}
/* MarketUI theme mapping layer */
:root {
    --theme-primary: #4f46e5;
    --theme-primary-dark: #312e81;
    --theme-accent: #f97316;
    --theme-rose: #e11d48;
    --theme-dark: #101828;
    --theme-soft: #f5f7fb;
    --theme-line: #e5e7eb;
    --theme-card: #ffffff;
    --theme-muted: #667085;
    --theme-shadow-lg: 0 18px 45px rgba(16, 24, 40, 0.08);
    --theme-shadow-md: 0 10px 30px rgba(16, 24, 40, 0.06);
}

body.store-body {
    background: var(--theme-soft) !important;
    color: var(--theme-dark) !important;
}

.site-shell,
.responsive-shell,
.page-content {
    background: transparent !important;
}

.top-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.75rem !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    background: var(--theme-dark) !important;
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.86rem !important;
}

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(229,231,235,0.95) !important;
    box-shadow: var(--theme-shadow-md) !important;
}

.site-header__inner,
.site-header__inner.site-header__inner--reference {
    max-width: 1280px !important;
    min-height: 78px !important;
    padding: 0.85rem 16px !important;
    grid-template-columns: auto minmax(320px, 560px) 1fr !important;
    gap: 1.2rem !important;
    background: transparent !important;
}

.brand-logo,
.brand-logo-image {
    border-radius: 18px !important;
}

.brand-mark,
.brand-mark--reference {
    color: var(--theme-dark) !important;
    font-weight: 900 !important;
    letter-spacing: -0.06em !important;
    font-size: 1.55rem !important;
}

.site-header__search {
    max-width: 560px !important;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-header__search input,
.header-search,
.header-search input,
.header-search--mobile input,
.header-search--overlay input,
.filters-grid input,
.filters-grid select,
.stack-form input,
.stack-form select,
.detail-form-grid input,
.detail-form-grid select,
textarea,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
select {
    background: #f8fafc !important;
    border: 1px solid var(--theme-line) !important;
    border-radius: 16px !important;
    color: var(--theme-dark) !important;
    box-shadow: none !important;
}

.site-header__search input {
    min-height: 48px !important;
    padding-inline: 1rem !important;
}

.site-header__quicklink {
    color: var(--theme-muted) !important;
    font-weight: 700 !important;
}

.site-header__quicklink:hover,
.site-header__quicklink.is-active {
    color: var(--theme-primary) !important;
}

.header-icon-link,
.header-account-avatar,
.menu-toggle,
.drawer-close {
    background: #f8fafc !important;
    border: 1px solid var(--theme-line) !important;
    color: var(--theme-dark) !important;
}

.header-icon-badge {
    background: var(--theme-rose) !important;
}

.button.primary,
.btn-market,
.buy-actions-grid .button.primary,
.button.dark {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(79,70,229,0.22) !important;
}

.button.primary:hover,
.btn-market:hover,
.buy-actions-grid .button.primary:hover,
.button.dark:hover {
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 16px 30px rgba(79,70,229,0.3) !important;
}

.button.ghost,
.btn-soft,
.product-card .button.ghost,
.home-marketplace-rail-card .button.ghost {
    background: #eef2ff !important;
    color: var(--theme-primary) !important;
    border: 0 !important;
    box-shadow: none !important;
}

.button.ghost:hover,
.btn-soft:hover,
.product-card .button.ghost:hover,
.home-marketplace-rail-card .button.ghost:hover {
    background: #e0e7ff !important;
    color: var(--theme-primary-dark) !important;
}

.hero-banner,
.catalog-hero,
.product-detail-card,
.section-card,
.home-storefront-hero,
.home-storefront-collections,
.home-marketplace-shelf,
.product-card,
.trust-card,
.review-quote-card,
.cart-items-panel,
.cart-summary-panel,
.checkout-card--premium,
.checkout-summary-panel,
.account-hero,
.store-profile-header,
.tracking-hero-card,
.tracking-customer-card,
.tracking-summary-card,
.tracking-request-card,
.tracking-timeline-card,
.tracking-sellers-card,
.tracking-items-card,
.auth-card,
.auth-intro-card,
.filter-panel-refined,
.catalog-shell,
.product-detail-shell {
    background: var(--theme-card) !important;
    border: 1px solid var(--theme-line) !important;
    box-shadow: var(--theme-shadow-lg) !important;
}

.home-storefront-hero {
    background: linear-gradient(135deg, #111827 0%, #312e81 58%, #4f46e5 100%) !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    color: #fff !important;
    box-shadow: var(--theme-shadow-lg) !important;
}

.home-storefront-hero__copy {
    background: transparent !important;
}

.home-storefront-hero__copy .eyebrow,
.home-storefront-hero__floating-label {
    color: rgba(255,255,255,0.72) !important;
}

.home-storefront-hero__copy h1,
.home-storefront-hero__copy p,
.home-storefront-hero__spotlight strong,
.home-storefront-hero__spotlight span,
.home-storefront-hero__spotlight small,
.home-storefront-hero__stats strong,
.home-storefront-hero__stats span,
.home-storefront-hero__points span,
.home-storefront-hero__floating-note strong {
    color: #fff !important;
}

.home-storefront-hero__points span,
.home-storefront-hero__stats article,
.home-storefront-hero__floating-note,
.home-storefront-hero__spotlight {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(12px) !important;
}

.home-storefront-hero__visual {
    background: transparent !important;
}

.home-storefront-collections,
.home-marketplace-shelf,
.catalog-hero,
.filter-panel-refined,
.product-detail-card,
.section-card--related-premium,
.section-card--reviews-premium {
    border-radius: 24px !important;
}

.home-storefront-collection,
.category-card,
.product-benefit-strip article,
.delivery-eta-card,
.detail-side-note,
.product-visual-notes article,
.tracking-kpi-card,
.vendor-card,
.category-tile,
.trust-tile {
    background: var(--theme-card) !important;
    border: 1px solid var(--theme-line) !important;
    box-shadow: 0 8px 26px rgba(16,24,40,0.045) !important;
    border-radius: 22px !important;
}

.home-storefront-collection:hover,
.category-card:hover,
.product-card:hover,
.trust-card:hover,
.review-quote-card:hover,
.vendor-card:hover,
.category-tile:hover,
.trust-tile:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--theme-shadow-lg) !important;
}

.product-card,
.home-marketplace-rail-card,
.listing-card-refined {
    position: relative !important;
    border: 1px solid rgba(79,70,229,0.12) !important;
}

.product-card::after,
.home-marketplace-rail-card::after,
.listing-card-refined::after {
    content: '' !important;
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 0 !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent)) !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
}

.product-card:hover::after,
.home-marketplace-rail-card:hover::after,
.listing-card-refined:hover::after {
    opacity: 1 !important;
}

.product-card__media,
.home-marketplace-rail-card .product-card__media,
.product-gallery-stage,
.product-gallery-stage--premium {
    background: linear-gradient(145deg, #f8fafc, #eef2ff) !important;
}

.product-card__rating,
.product-head-meta .product-card__rating,
.rating {
    color: #f59e0b !important;
}

.product-badge,
.product-badge--static,
.home-marketplace-tile__badge {
    background: var(--theme-rose) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
}

.product-stock-badge,
.product-meta-chip,
.product-utility-chip,
.product-gallery-meta__chip {
    background: #eef2ff !important;
    color: var(--theme-primary) !important;
    border: 0 !important;
}

.catalog-hero,
.page-hero {
    background: linear-gradient(135deg, #111827 0%, #312e81 100%) !important;
    color: #fff !important;
}

.catalog-hero h1,
.catalog-hero .catalog-hero__copy,
.catalog-hero .eyebrow {
    color: #fff !important;
}

.filter-panel-refined .button.primary {
    width: 100% !important;
}

.site-footer {
    background: #101828 !important;
    color: rgba(255,255,255,0.76) !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-top: 3rem !important;
}

.site-footer h3,
.site-footer h4,
.site-footer .eyebrow,
.site-footer .brand-mark,
.site-footer__bottomline span:first-child {
    color: #fff !important;
}

.site-footer a,
.site-footer__about p,
.site-footer__bottomline span:last-child {
    color: rgba(255,255,255,0.68) !important;
}

.site-footer a:hover {
    color: #fff !important;
}

.site-footer__topline {
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    padding-bottom: 1.2rem !important;
    margin-bottom: 1.8rem !important;
}

.whatsapp-fab {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)) !important;
}

.bottom-nav {
    background: rgba(255,255,255,0.94) !important;
    border: 1px solid rgba(229,231,235,0.9) !important;
    box-shadow: 0 20px 50px rgba(16,24,40,0.18) !important;
}

.bottom-nav .nav-link.is-active,
.bottom-nav .nav-link:hover {
    color: var(--theme-primary) !important;
}

@media (max-width: 1023px) {
    .top-strip {
        display: none !important;
    }

    .site-header {
        border-radius: 0 0 26px 26px !important;
    }

    .site-header__inner,
    .site-header__inner.site-header__inner--reference {
        grid-template-columns: auto 1fr auto !important;
        min-height: 70px !important;
    }

    .mobile-drawer,
    .mini-cart-drawer,
    .header-search-overlay {
        border-radius: 24px !important;
    }

    .home-storefront-hero {
        border-radius: 24px !important;
    }
}
