/* ============================================================
   Horizon Wallpapers — styles
   ============================================================ */
:root {
  --bg: #07070d;
  --bg-2: #0c0c16;
  --surface: rgba(20, 20, 32, 0.6);
  --surface-solid: #12121e;
  --surface-2: rgba(28, 28, 44, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f8;
  --text-dim: #a4a4b8;
  --text-mute: #6e6e84;

  --violet: #7c5cff;
  --pink: #ff6b9d;
  --amber: #ffb86b;
  --accent: #8b6bff;

  --grad: linear-gradient(120deg, #7c5cff 0%, #ff6b9d 50%, #ffb86b 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,92,255,0.18), rgba(255,107,157,0.18), rgba(255,184,107,0.18));
  --grad-violet: linear-gradient(135deg, #7c5cff, #b18bff);
  --grad-pink: linear-gradient(135deg, #ff6b9d, #ffb86b);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,0.7);
  --shadow-glow: 0 10px 40px -12px rgba(124,92,255,0.45);

  --container: 1200px;
  --header-h: 70px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

/* ===== Custom scrollbars ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(124, 92, 255, 0.25);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 92, 255, 0.45);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(124, 92, 255, 0.35) transparent; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Ambient horizon glow */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(124,92,255,0.22), transparent 60%),
    radial-gradient(55% 45% at 85% 10%, rgba(255,107,157,0.18), transparent 60%),
    radial-gradient(60% 50% at 50% 100%, rgba(255,184,107,0.10), transparent 60%);
  filter: blur(10px);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7,7,13,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 12px rgba(124,92,255,0.4)); }
.brand-text-dim { color: var(--text-mute); font-weight: 600; }

.main-nav { display: flex; gap: 4px; margin-left: 12px; flex: 1; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-dim); transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.main-nav a.active { color: var(--text); background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: var(--text-dim);
  transition: background .2s, color .2s, transform .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:active { transform: scale(0.94); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--grad); color: #fff; font-size: 0.68rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--bg);
}
.nav-toggle { display: none; }

/* Search panel */
.search-panel { border-top: 1px solid var(--border); padding: 12px 0; background: rgba(7,7,13,0.85); }
.search-box {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; color: var(--text-dim);
}
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 1rem; }
.search-box kbd { font-size: 0.7rem; padding: 2px 6px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-mute); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { box-shadow: 0 14px 44px -10px rgba(255,107,157,0.55); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.07); }
.btn-outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.btn-outline:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 10px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== App main ===== */
.app-main { min-height: calc(100vh - var(--header-h) - 320px); padding-bottom: 40px; }

.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head .eyebrow { color: var(--accent); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.section-head p { color: var(--text-dim); max-width: 540px; margin-top: 6px; }
.section-link { color: var(--text-dim); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.section-link:hover { color: var(--text); }

/* ===== Hero ===== */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { color: var(--text-dim); font-size: 1.15rem; max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.hero-stat .label { color: var(--text-mute); font-size: 0.85rem; }

/* Hero collage */
.hero-visual { position: relative; height: 460px; }
.hero-card {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background-size: cover; background-position: center;
}
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,7,13,0.55)); }
.hero-card.c1 { width: 62%; height: 70%; top: 0; right: 8%; }
.hero-card.c2 { width: 46%; height: 52%; bottom: 0; left: 0; }
.hero-card.c3 { width: 40%; height: 44%; bottom: 8%; right: 0; }
.hero-badge {
  position: absolute; bottom: 18px; left: 18px; z-index: 2;
  background: rgba(7,7,13,0.6); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.hero-badge .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; font-size: 1rem; }
.hero-badge .t { font-size: 0.78rem; color: var(--text-mute); }
.hero-badge .n { font-weight: 600; font-size: 0.9rem; }

/* ===== Product grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #15151f; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,7,13,0.5)); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(7,7,13,0.7); backdrop-filter: blur(8px); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; color: var(--text);
}
.card-badge.sale { background: var(--grad); border: none; }
.card-fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 10px; background: rgba(7,7,13,0.6); backdrop-filter: blur(8px);
  display: grid; place-items: center; color: var(--text-dim); border: 1px solid var(--border);
  transition: color .2s, transform .15s;
}
.card-fav:hover { color: var(--pink); transform: scale(1.08); }
.card-fav.active { color: var(--pink); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-type { font-size: 0.72rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.card-meta { display: flex; align-items: center; gap: 10px; color: var(--text-mute); font-size: 0.82rem; margin-top: 2px; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .now { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.price .was { color: var(--text-mute); text-decoration: line-through; font-size: 0.9rem; }
.price .free { color: #4ade80; font-weight: 700; }
.free-label { color: #4ade80; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.card-add { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); transition: background .2s, transform .15s; }
.card-add:hover { background: var(--grad); border-color: transparent; }
.card-add:active { transform: scale(0.92); }

/* ===== Category chips ===== */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 500; color: var(--text-dim); transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.chip-sm { padding: 6px 12px; font-size: 0.8rem; opacity: 0.85; }
.chip-sm.active { opacity: 1; }

/* ===== Browse toolbar ===== */
.browse-head { padding: 56px 0 18px; }
.browse-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.browse-head p { color: var(--text-dim); margin-top: 8px; }
.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 18px 0 28px; }
.toolbar .chips { flex: 1; }
.toolbar select {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 9px 14px; border-radius: 10px; font-size: 0.9rem; outline: none;
}
.search-inline {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text-dim); min-width: 220px;
}
.search-inline input { background: none; border: none; outline: none; color: var(--text); font-size: 0.9rem; width: 100%; }
.results-count { color: var(--text-mute); font-size: 0.88rem; margin-bottom: 18px; }

/* ===== Product detail ===== */
.detail { padding: 48px 0 60px; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #15151f; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: #15151f; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--accent); }

.detail-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.detail-type { color: var(--accent); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.detail-price .now { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.detail-price .was { color: var(--text-mute); text-decoration: line-through; font-size: 1.1rem; }
.detail-price .save { background: rgba(74,222,128,0.15); color: #4ade80; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.detail-price .free-badge { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: #4ade80; }
.detail-desc { color: var(--text-dim); margin: 18px 0 24px; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.spec .k { color: var(--text-mute); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.spec .v { font-weight: 600; margin-top: 4px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tag { font-size: 0.78rem; color: var(--text-dim); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); }

/* ===== Empty / loading ===== */
.empty { text-align: center; padding: 80px 24px; color: var(--text-dim); }
.empty .ico { font-size: 2.4rem; margin-bottom: 12px; }
.empty h3 { margin-bottom: 6px; }

/* ===== 404 / Not found ===== */
.not-found { text-align: center; max-width: 640px; margin: 0 auto; }
.not-found-code {
  font-family: var(--font-display); font-size: 6rem; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 16px;
}
.not-found h1 { font-size: 1.6rem; margin-bottom: 10px; }
.not-found p { color: var(--text-dim); margin-bottom: 24px; }
.not-found-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.not-found-suggestions h3 { font-size: 1.1rem; margin-bottom: 18px; color: var(--text-dim); }
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.skel { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface) 30%, rgba(255,255,255,0.06) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ===== Cart drawer ===== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 80; opacity: 0; transition: opacity .25s; }
.drawer-overlay.show { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw;
  background: var(--bg-2); border-left: 1px solid var(--border); z-index: 90;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgba(0,0,0,0.6);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 18px 22px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 72px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-title { font-weight: 600; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item .ci-type { font-size: 0.76rem; color: var(--text-mute); }
.cart-item .ci-price { font-weight: 700; margin-top: 4px; }
.cart-item .ci-remove { color: var(--text-mute); font-size: 0.8rem; padding: 2px 0; margin-top: 4px; }
.cart-item .ci-remove:hover { color: var(--pink); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-mute); }
.cart-empty .ico { font-size: 2rem; margin-bottom: 10px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart-total .lbl { color: var(--text-dim); }
.cart-total .amt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.drawer-foot .btn { margin-bottom: 8px; }

/* ===== Auth modal ===== */
.auth-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, calc(-50% + 12px)); z-index: 90;
  width: 400px; max-width: 92vw; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.auth-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.auth-close { position: absolute; top: 14px; right: 14px; }
.auth-tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 0.9rem; color: var(--text-dim); transition: all .2s; }
.auth-tab.active { background: var(--surface-solid); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.auth-form .field { margin-bottom: 14px; }
.auth-form label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
.auth-form input {
  width: 100%; padding: 11px 14px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.95rem; outline: none; transition: border-color .2s;
}
.auth-form input:focus { border-color: var(--accent); }
.auth-error { color: #ff7a7a; font-size: 0.85rem; margin-bottom: 12px; }
.auth-hint { color: var(--text-mute); font-size: 0.8rem; text-align: center; margin-top: 14px; }

/* ===== Account page ===== */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 48px 0; }
.account-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.account-email { color: var(--text-dim); font-size: 0.88rem; word-break: break-all; }
.account-nav { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.account-nav a { padding: 10px 12px; border-radius: 10px; color: var(--text-dim); font-size: 0.92rem; transition: all .2s; }
.account-nav a:hover, .account-nav a.active { background: var(--surface-2); color: var(--text); }
.panel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.panel-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.panel-card .sub { color: var(--text-dim); margin-bottom: 20px; }
.order-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.order-row:last-child { border-bottom: none; }
.order-row img { width: 64px; height: 50px; border-radius: 8px; object-fit: cover; }

/* ===== Checkout ===== */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 48px 0; }
.summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); height: fit-content; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-dim); font-size: 0.92rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--border); }
.summary-total .amt { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 11px 14px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.95rem; outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus { border-color: var(--accent); }

/* ===== About / FAQ ===== */
.about-hero { padding: 70px 0 30px; text-align: center; }
.about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.about-hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-hero p { color: var(--text-dim); max-width: 620px; margin: 18px auto 0; font-size: 1.1rem; }
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 20px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform .2s; color: var(--text-mute); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; color: var(--text-dim); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 4px 20px; }

/* ===== Feature / value props ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 14px; color: var(--accent); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 0.9rem; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; overflow: hidden; border: 1px solid var(--border); background: var(--grad-soft); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 24px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 56px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: var(--text-dim); font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 0.85rem; flex-wrap: wrap; gap: 10px; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); z-index: 100;
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 12px 20px; font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .check { color: #4ade80; }

/* ===== Setup banner ===== */
.setup-banner { background: rgba(255,184,107,0.12); border: 1px solid rgba(255,184,107,0.3); color: #ffd9a8; padding: 14px 24px; font-size: 0.9rem; text-align: center; }
.setup-banner a { text-decoration: underline; font-weight: 600; }

/* ===== Ad containers ===== */
.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  margin: 24px 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ad-container:empty::before {
  content: 'Advertisement';
  color: var(--text-mute);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ad-slot { max-width: 100%; }

/* ===== Ad blocker wall ===== */
.adblock-wall {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(7, 7, 13, 0.96);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}
.adblock-card {
  max-width: 520px;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.adblock-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(124,92,255,0.3);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--accent);
}
.adblock-card h1 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.adblock-card p {
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.6;
}
.adblock-card p strong { color: var(--text); }
.adblock-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
  text-align: left;
}
.adblock-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.adblock-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.adblock-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; max-width: 520px; }
  .detail-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 24px;
    transform: translateY(-120%); transition: transform .3s; gap: 2px; margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section { padding: 48px 0; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .cart-page-layout { grid-template-columns: 1fr !important; }
  .cart-page-layout .summary-card { position: static !important; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 50px 0 40px; }
  .detail-specs { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
}
