/* =========================================================
   THE OUT FIT — Design System
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0b0a09;
  --bg-2: #121110;
  --surface: #181614;
  --surface-2: #211e1b;
  --border: rgba(255, 240, 220, 0.09);
  --border-strong: rgba(255, 240, 220, 0.18);
  --text: #f4efe8;
  --text-2: #b9b0a5;
  --muted: #7d756c;
  --gold: hsl(38, 62%, 62%);
  --gold-2: hsl(34, 70%, 52%);
  --gold-soft: hsla(38, 62%, 62%, 0.12);
  --grad-gold: linear-gradient(135deg, #f1d39a 0%, #d4a554 45%, #a8742f 100%);
  --success: hsl(150, 50%, 50%);
  --danger: hsl(2, 70%, 62%);
  --warning: hsl(40, 90%, 60%);
  --info: hsl(210, 70%, 65%);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 40px -12px hsla(38, 70%, 50%, 0.45);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 600; }
h1, h2, .serif { font-family: var(--serif); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: #111; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2824; border-radius: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.center { text-align: center; }
.hidden { display: none !important; }
.flex { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: transparent; cursor: pointer; font-weight: 500; font-size: 0.92rem;
  transition: all 0.3s var(--ease); white-space: nowrap; letter-spacing: 0.01em;
}
.btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--grad-gold); color: #1a1408; border: none; font-weight: 600; box-shadow: var(--shadow-gold); }
.btn-gold:hover { color: #1a1408; filter: brightness(1.08); box-shadow: 0 14px 44px -10px hsla(38, 80%, 50%, 0.6); }
.btn-dark { background: var(--surface-2); border-color: var(--border); }
.btn-danger { border-color: hsla(2, 70%, 62%, 0.4); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success { border-color: hsla(150, 50%, 50%, 0.4); color: var(--success); }
.btn-success:hover { background: var(--success); color: #08140e; border-color: var(--success); }
.btn-warning { border-color: hsla(40, 90%, 60%, 0.4); color: var(--warning); }
.btn-warning:hover { background: var(--warning); color: #1a1408; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--border); background: transparent; cursor: pointer; position: relative;
  transition: all 0.25s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg, .btn svg { width: 18px; height: 18px; }
.badge-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--grad-gold); color: #111; font-size: 0.68rem; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--bg-2);
  border: 1px solid var(--border); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
textarea.input { resize: vertical; min-height: 110px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.hint { font-size: 0.78rem; color: var(--muted); }

/* ---------- Cards / panels ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.glass {
  background: rgba(24, 22, 20, 0.6); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--border);
}
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; background: var(--gold-soft); color: var(--gold); }
.pill.success { background: hsla(150, 50%, 50%, 0.12); color: var(--success); }
.pill.danger { background: hsla(2, 70%, 62%, 0.12); color: var(--danger); }
.pill.warning { background: hsla(40, 90%, 60%, 0.12); color: var(--warning); }
.pill.info { background: hsla(210, 70%, 65%, 0.12); color: var(--info); }
.pill.neutral { background: rgba(255, 255, 255, 0.06); color: var(--text-2); }

/* ---------- Announcement + Header ---------- */
.announce {
  background: var(--grad-gold); color: #1a1408; text-align: center; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.08em; padding: 8px 12px; text-transform: uppercase;
}
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: rgba(11, 10, 9, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: 0.14em; white-space: nowrap; }
.logo span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search { flex: 1; max-width: 520px; position: relative; }
.search input { padding-left: 44px; border-radius: 999px; background: var(--surface); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cat-nav { border-top: 1px solid var(--border); }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; padding: 13px 16px; font-size: 0.85rem; color: var(--text-2); letter-spacing: 0.04em; position: relative; white-space: nowrap; transition: color 0.2s; }
.cat-nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--grad-gold); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.cat-nav a:hover, .cat-nav a.active { color: var(--text); }
.cat-nav a:hover::after, .cat-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; transform: scale(1.06); animation: heroZoom 18s var(--ease) infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 10, 9, 0.96) 0%, rgba(11, 10, 9, 0.75) 38%, rgba(11, 10, 9, 0.1) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: 80px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.75rem; font-weight: 600; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 600; line-height: 1.04; margin-bottom: 22px; }
.hero h1 em { font-style: italic; }
.hero p { font-size: 1.1rem; color: var(--text-2); max-width: 480px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--text); }
.hero-stats span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
@keyframes heroZoom { to { transform: scale(1.0); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--text-2); }
.link-arrow { color: var(--gold); font-weight: 500; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 12px; }

/* Features strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg-2); padding: 26px 24px; display: flex; gap: 16px; align-items: center; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.feature .ico svg { width: 22px; height: 22px; }
.feature strong { display: block; font-size: 0.95rem; }
.feature span { font-size: 0.8rem; color: var(--muted); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); isolation: isolate; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 6, 0.92) 100%); z-index: 1; }
.cat-tile .info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.cat-tile h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 2px; }
.cat-tile span { font-size: 0.82rem; color: var(--text-2); }
.cat-tile .go { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); display: grid; place-items: center; transform: translate(10px, -10px); opacity: 0; transition: all 0.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile:hover .go { opacity: 1; transform: none; background: var(--gold); color: #111; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card .media { position: relative; aspect-ratio: 1/1.08; overflow: hidden; background: #e9e4dc; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .media img { transform: scale(1.07); }
.product-card .tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; background: #111; color: var(--gold); }
.product-card .quick { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; transform: translateY(16px); opacity: 0; transition: all 0.4s var(--ease); }
.product-card:hover .quick { transform: none; opacity: 1; }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.product-card h3 { font-family: var(--font); font-size: 0.98rem; font-weight: 500; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .seller-line { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-2); margin-top: 2px; }
.product-card .seller-line img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.product-card .seller-line a:hover { color: var(--gold); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; font-size: 1.12rem; }
.compare { color: var(--muted); text-decoration: line-through; font-size: 0.88rem; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.stars .off { color: #3a352f; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }

/* Promo banner */
.promo { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 64px; background: radial-gradient(circle at 80% 30%, hsla(38, 70%, 50%, 0.25), transparent 50%), linear-gradient(135deg, #1b1712, #0f0d0b); border: 1px solid var(--border); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.promo h2 { font-size: clamp(2rem, 4vw, 3rem); }
.promo .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo .imgs img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.promo .imgs img:nth-child(2) { transform: translateY(30px); }

/* Seller cards */
.seller-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.seller-card { padding: 28px 22px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: all 0.4s var(--ease); }
.seller-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 2px solid var(--gold); padding: 3px; background: var(--bg); }
.avatar-fallback { display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; background: var(--grad-gold); color: #111; }
.seller-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.seller-card .meta { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: 0.8rem; color: var(--text-2); }
.seller-card .meta strong { color: var(--text); display: block; font-size: 1rem; }

/* Newsletter */
.newsletter { text-align: center; padding: 70px 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; }
.newsletter .input { border-radius: 999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 64px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-2); margin-bottom: 16px; font-family: var(--font); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold); }
.pay-icons { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.pay-icons span { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-2); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Shop page ---------- */
.page-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at top, hsla(38, 60%, 40%, 0.12), transparent 60%); }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 6px; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 40px 0; }
.filters h4 { font-family: var(--font); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 0 0 12px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--text-2); font-size: 0.9rem; transition: all 0.2s; }
.filter-list a:hover { background: var(--surface); color: var(--text); }
.filter-list a.active { background: var(--gold-soft); color: var(--gold); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.toolbar select { width: auto; min-width: 200px; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty svg { width: 52px; height: 52px; margin: 0 auto 16px; color: var(--gold); opacity: 0.7; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 40px 0; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: #e9e4dc; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; opacity: 0.65; transition: all 0.2s; }
.thumbs img.active, .thumbs img:hover { border-color: var(--gold); opacity: 1; }
.pdp-info h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 22px; }
.pdp-price .price { font-size: 2rem; font-family: var(--serif); }
.opt-group { margin-bottom: 22px; }
.opt-group label { display: block; font-size: 0.82rem; color: var(--text-2); margin-bottom: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-width: 48px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--gold); color: #111; border-color: var(--gold); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; background: none; border: none; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { color: var(--gold); }
.qty input { width: 44px; text-align: center; background: none; border: none; outline: none; }
.seller-box { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin-top: 28px; }
.seller-box .avatar { width: 56px; height: 56px; margin: 0; }
.perks { display: grid; gap: 10px; margin-top: 24px; font-size: 0.88rem; color: var(--text-2); }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; color: var(--gold); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 28px; overflow-x: auto; }
.tab { padding: 14px 20px; background: none; border: none; color: var(--muted); cursor: pointer; position: relative; font-weight: 500; white-space: nowrap; }
.tab.active { color: var(--text); }
.tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-gold); }
.review-summary { display: grid; grid-template-columns: 240px 1fr; gap: 40px; margin-bottom: 36px; }
.big-rating { font-family: var(--serif); font-size: 3.6rem; line-height: 1; }
.bar-row { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--text-2); margin-bottom: 8px; }
.bar { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--grad-gold); }
.review { padding: 22px 0; border-bottom: 1px solid var(--border); }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.star-input { display: inline-flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: #3a352f; transition: color 0.15s; }
.star-input label svg { width: 28px; height: 28px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }

/* Seller storefront */
.store-banner { height: 240px; background: radial-gradient(circle at 20% 50%, hsla(38, 70%, 50%, 0.35), transparent 50%), radial-gradient(circle at 85% 30%, hsla(20, 60%, 40%, 0.35), transparent 45%), linear-gradient(135deg, #1d1914, #0d0c0a); border-bottom: 1px solid var(--border); }
.store-head { display: flex; gap: 28px; align-items: end; margin-top: -70px; padding-bottom: 30px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.store-head .avatar { width: 140px; height: 140px; margin: 0; border-width: 3px; }
.store-stats { display: flex; gap: 32px; margin-top: 12px; }
.store-stats strong { display: block; font-size: 1.3rem; font-family: var(--serif); }
.store-stats span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 160px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; background-size: cover; background-position: center; }
.auth-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 10, 9, 0.9), rgba(11, 10, 9, 0.2)); }
.auth-visual .quote { position: absolute; z-index: 2; left: 48px; right: 48px; bottom: 48px; }
.auth-visual .quote h2 { font-size: 2.4rem; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-form .box { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 2.2rem; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.8rem; margin: 22px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 16px; border: 1px solid; }
.alert.error { background: hsla(2, 70%, 62%, 0.08); border-color: hsla(2, 70%, 62%, 0.3); color: #ff9c95; }
.alert.success { background: hsla(150, 50%, 50%, 0.08); border-color: hsla(150, 50%, 50%, 0.3); color: #7fe0b0; }
.alert.warning { background: hsla(40, 90%, 60%, 0.08); border-color: hsla(40, 90%, 60%, 0.3); color: var(--warning); }

/* ---------- Dashboard (seller + admin) ---------- */
.dash { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 122px); }
.dash-side { border-right: 1px solid var(--border); padding: 28px 16px; background: var(--bg-2); position: sticky; top: 122px; height: calc(100vh - 122px); overflow-y: auto; }
.dash-side .who { display: flex; gap: 12px; align-items: center; padding: 0 10px 22px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.dash-side .who .avatar { width: 48px; height: 48px; margin: 0; }
.dash-nav { display: grid; gap: 4px; }
.dash-nav button, .dash-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: none; border: none; color: var(--text-2); cursor: pointer; text-align: left; font-size: 0.92rem; transition: all 0.2s; width: 100%; }
.dash-nav button:hover, .dash-nav a:hover { background: var(--surface); color: var(--text); }
.dash-nav button.active { background: var(--gold-soft); color: var(--gold); }
.dash-nav svg { width: 18px; height: 18px; flex-shrink: 0; }
.dash-nav .count { margin-left: auto; background: var(--danger); color: #fff; font-size: 0.7rem; border-radius: 10px; padding: 1px 7px; font-weight: 700; }
.dash-main { padding: 36px 40px 60px; min-width: 0; }
.dash-main h1 { font-size: 2rem; margin-bottom: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%; background: var(--gold-soft); }
.stat span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat strong { display: block; font-size: 1.8rem; font-family: var(--serif); margin-top: 6px; }
.stat.highlight { background: linear-gradient(135deg, #2a2116, #16120d); border-color: hsla(38, 60%, 50%, 0.35); }
.stat.highlight strong { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { text-align: left; font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.td-product { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.td-product img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #e9e4dc; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Payment method selector */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.method { padding: 18px 14px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--bg-2); cursor: pointer; text-align: center; transition: all 0.25s var(--ease); }
.method:hover { border-color: var(--gold); }
.method.active { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px var(--gold-soft); }
.method .m-ico { height: 34px; display: grid; place-items: center; margin-bottom: 8px; }
.method .m-ico svg { height: 28px; width: auto; }
.method strong { display: block; font-size: 0.9rem; }
.method span { font-size: 0.72rem; color: var(--muted); }
.card-preview { position: relative; aspect-ratio: 1.586; max-width: 360px; border-radius: 18px; padding: 24px; margin-bottom: 22px; color: #fff; background: radial-gradient(circle at 85% 15%, hsla(38, 80%, 60%, 0.5), transparent 45%), linear-gradient(135deg, #2b2418, #0e0c09); border: 1px solid hsla(38, 60%, 60%, 0.35); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.card-preview .chip-ico { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f3d899, #b08540); }
.card-preview .num { font-size: 1.3rem; letter-spacing: 0.14em; font-family: 'Courier New', monospace; }
.card-preview .row { display: flex; justify-content: space-between; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.card-preview .row small { display: block; opacity: 0.6; font-size: 0.62rem; }
.card-preview .brand { position: absolute; top: 22px; right: 24px; font-weight: 800; font-style: italic; font-size: 1.1rem; }
.usdt-box { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--bg-2); border: 1px dashed var(--border-strong); margin-bottom: 18px; }
.usdt-box img { width: 170px; height: 170px; border-radius: 10px; background: #fff; padding: 6px; }
.usdt-box.usdt-addr-only { grid-template-columns: 1fr; }
.usdt-box .addr .grow { word-break: break-all; }
.addr { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: var(--surface); border-radius: 8px; font-family: 'Courier New', monospace; font-size: 0.82rem; word-break: break-all; border: 1px solid var(--border); }
.paypal-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border-radius: 999px; border: none; cursor: pointer; background: #ffc439; color: #111; font-weight: 700; font-size: 1rem; transition: filter 0.2s, transform 0.2s; }
.paypal-btn:hover { filter: brightness(0.95); transform: translateY(-1px); }
.paypal-btn svg { height: 22px; width: auto; }

/* Catalog chooser */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.catalog-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: border-color 0.2s; }
.catalog-item:hover { border-color: var(--border-strong); }
.catalog-item img { aspect-ratio: 1; object-fit: cover; background: #e9e4dc; }
.catalog-item .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.catalog-item h4 { font-family: var(--font); font-size: 0.9rem; font-weight: 500; margin: 0; }
.catalog-item .costs { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-2); }
.catalog-item .costs strong { color: var(--text); }
.catalog-item .profit { color: var(--success); font-weight: 600; }

/* Image upload */
.dropzone { border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 26px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--bg-2); }
.dropzone:hover, .dropzone.drag { border-color: var(--gold); background: var(--gold-soft); }
.previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.previews .pv { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; }
.previews .pv img { width: 100%; height: 100%; object-fit: cover; }
.previews .pv button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.75); color: #fff; cursor: pointer; font-size: 0.8rem; line-height: 1; }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade 0.25s ease; }
.modal { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 30px; animation: pop 0.35s var(--ease); }
.modal.wide { max-width: 860px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.97); } }

/* ---------- Toast ---------- */
.toasts { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: grid; gap: 10px; }
.toast { min-width: 280px; max-width: 380px; padding: 14px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--gold); box-shadow: var(--shadow); font-size: 0.9rem; animation: slideIn 0.4s var(--ease); }
.toast.error { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--success); }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } }

/* Cart drawer & page */
.cart-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; padding: 40px 0; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: #e9e4dc; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-2); }
.summary-row.total { color: var(--text); font-size: 1.2rem; font-weight: 700; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

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

/* Supplier partners - smooth infinite logo marquee */
.partners-section { padding-top: 10px; }
.partners-head { text-align: center; margin-bottom: 26px; }
.partners-head .eyebrow { justify-content: center; }
.partners-head p { margin: 8px 0 0; }
.partners-marquee {
  position: relative; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.partners-track { display: flex; width: max-content; animation: partners-scroll 32s linear infinite; will-change: transform; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-group { display: flex; gap: 22px; padding-right: 22px; }
.partner {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 230px; height: 84px; padding: 0 30px;
  border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border);
  opacity: 0.85; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.partner:hover { opacity: 1; transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-gold); }
.partner img { width: 34px; height: 34px; flex-shrink: 0; }
.pn { font-family: Arial, Helvetica, sans-serif; font-weight: 700; line-height: 1; white-space: nowrap; }
.pn-amazon { font-size: 1.75rem; color: #fff; letter-spacing: -0.5px; }
.pn-alibaba { font-size: 1.55rem; color: #FF6A00; letter-spacing: -0.3px; }
.pn-ebay { font-size: 2.3rem; letter-spacing: -2px; font-weight: 600; }
.pn-ebay i { font-style: normal; }
.pn-ebay i:nth-child(1) { color: #E53238; }
.pn-ebay i:nth-child(2) { color: #0064D2; }
.pn-ebay i:nth-child(3) { color: #F5AF02; }
.pn-ebay i:nth-child(4) { color: #86B817; }
@keyframes partners-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 640px) {
  .partner { min-width: 170px; height: 68px; padding: 0 20px; }
  .pn-amazon { font-size: 1.35rem; } .pn-alibaba { font-size: 1.2rem; } .pn-ebay { font-size: 1.8rem; }
  .partners-track { animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) { .partners-track { animation-duration: 90s; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid, .cat-grid, .seller-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .shop-layout, .pdp, .cart-layout, .auth-wrap, .promo, .review-summary { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .filters { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-nav { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .dash-main { padding: 28px 20px; }
  .promo { padding: 40px 28px; }
  .search { display: none; }
}
@media (max-width: 640px) {
  .product-grid, .cat-grid, .seller-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features, .stat-grid, .grid-2, .grid-3, .methods { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-stats { gap: 24px; }
  .header-row { gap: 12px; }
  .logo { font-size: 1.2rem; letter-spacing: 0.08em; }
  .usdt-box { grid-template-columns: 1fr; justify-items: center; }
  .product-card .body { padding: 12px; }
  .section { padding: 56px 0; }
  .header-actions .btn-text { display: none; }
}
