/* =========================================================
   US Technick Shop — style.css
   ========================================================= */

:root {
  --bg: #0b0b16;
  --bg-soft: #12121f;
  --card: #161626;
  --border: #262640;
  --text: #f2f2fb;
  --text-muted: #9797b8;

  --purple: #a259ff;
  --purple-dark: #6c2bd9;
  --pink: #ff4fd8;
  --neon-grad: linear-gradient(135deg, var(--purple), var(--pink));

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --container: 1160px;
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.light-text { color: #fff; }
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 460px; }
.light-sub { color: #c9c9e6; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.eyebrow-light { color: #ffb3f0; }

.section-head { margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-neon {
  background: var(--neon-grad);
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(162,89,255,.55);
}
.btn-neon:hover { box-shadow: 0 14px 36px -6px rgba(255,79,216,.6); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); }

.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { opacity: .9; }

.btn-sm { padding: 9px 16px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,22,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.logo .accent {
  background: var(--neon-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a { color: var(--text-muted); font-weight: 500; font-size: .92rem; }
.main-nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-input {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.85rem;
  width: 180px;
  font-family: inherit;
}
.search-input:focus { outline: none; border-color: var(--purple); }
.icon-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  position: relative;
}
.icon-btn:hover { border-color: var(--purple); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--pink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  z-index: 0;
}
.glow-1 { background: var(--purple); top: -160px; left: -120px; }
.glow-2 { background: var(--pink); bottom: -200px; right: -140px; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { color: #fff; }
.neon-text {
  background: var(--neon-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.3rem; font-weight: 800; }
.hero-stats span { font-size: 0.78rem; color: var(--text-muted); }

/* Product spotlight card */
.product-spotlight {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  overflow: hidden;
}
.spotlight-glow {
  position: absolute;
  inset: -40% -40% auto -40%;
  height: 60%;
  background: var(--neon-grad);
  filter: blur(60px);
  opacity: .35;
}
.spotlight-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.spotlight-device {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 260px;
  margin: 20px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-device img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(162,89,255,.45));
}
.spotlight-name { position: relative; z-index: 1; font-weight: 700; margin: 0 0 6px; }
.spotlight-price { position: relative; z-index: 1; font-size: 1.2rem; font-weight: 800; color: var(--pink); margin: 0; }
.spotlight-price .old { color: var(--text-muted); font-weight: 400; text-decoration: line-through; margin-right: 8px; font-size: 0.9rem; }

/* ---------- Categories ---------- */
.categories { padding: 80px 0; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 12px;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.cat-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.cat-card p { margin: 0; font-size: 0.85rem; font-weight: 600; }

/* ---------- Bestsellers / product grid ---------- */
.bestsellers { padding: 80px 0; background: var(--bg-soft); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-card:hover {
  border-color: var(--purple);
  box-shadow: 0 20px 40px -20px rgba(162,89,255,.5);
  transform: translateY(-4px);
}
.product-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--neon-grad);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}
.product-tag-new { background: #2fd88a; }
.product-tag-sale { background: var(--pink); }

.product-thumb {
  height: 150px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-name { font-weight: 700; margin: 0 0 4px; font-size: 0.95rem; }
.product-specs { color: var(--text-muted); font-size: 0.78rem; margin: 0 0 16px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-weight: 800; margin: 0; }
.product-price .old { color: var(--text-muted); font-weight: 400; text-decoration: line-through; margin-right: 6px; font-size: 0.82rem; }

/* ---------- Deal of the day ---------- */
.deal-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-dark), #2a0f5c);
  padding: 90px 0;
}
.deal-glow {
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: var(--pink);
  filter: blur(140px);
  opacity: .35;
}
.deal-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.countdown { display: flex; gap: 14px; margin: 28px 0 32px; }
.countdown div {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  min-width: 70px;
}
.countdown span { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.countdown small { color: #d8c9ff; font-size: 0.68rem; text-transform: uppercase; }

.deal-visual { display: flex; justify-content: center; }
.deal-device {
  width: 260px;
  height: 180px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #2a2a48, #14141f);
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
  position: relative;
}
.deal-device::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 20%, rgba(255,79,216,.5), transparent 60%);
}

/* ---------- Advantages ---------- */
.advantages { padding: 90px 0; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.adv-icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.adv-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ---------- Reviews ---------- */
.reviews { padding: 90px 0; background: var(--bg-soft); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.review-stars { color: #ffcc4d; letter-spacing: 2px; margin: 0 0 12px; }
.review-text { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 16px; }
.review-author { font-weight: 700; font-size: 0.85rem; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 80px 0;
  background: var(--neon-grad);
}
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter h2 { margin-bottom: 6px; }
.newsletter .section-sub { max-width: 380px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 13px 20px;
  color: #fff;
  font-family: inherit;
  min-width: 220px;
}
.newsletter-form input::placeholder { color: #f0e6ff; }
.newsletter-form input:focus { outline: none; border-color: #fff; }
.newsletter .btn-neon { background: #14071f; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; max-width: 220px; }
.footer-grid h4 { font-size: 0.85rem; margin: 0 0 16px; }
.footer-grid > div { display: flex; flex-direction: column; }
.footer-grid a { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.footer-social a:hover { border-color: var(--purple); color: #fff; }

/* =========================================================
   Light theme override
   ========================================================= */
:root[data-theme="light"] {
  --bg: #f5f4fb;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --border: #e3e1f3;
  --text: #17172b;
  --text-muted: #6d6b8a;
}
:root[data-theme="light"] .site-header { background: rgba(245,244,251,.85); }
:root[data-theme="light"] .search-input,
:root[data-theme="light"] .icon-btn { background: #fff; }
:root[data-theme="light"] .btn-white { background: var(--card); color: var(--text); border: 1px solid var(--border); }
:root[data-theme="light"] .product-thumb,
:root[data-theme="light"] .deal-device,
:root[data-theme="light"] .qv-thumb { background: linear-gradient(160deg, #eee9ff, #f7f5ff); }
:root[data-theme="light"] .cart-drawer,
:root[data-theme="light"] .modal { background: var(--card); }

/* =========================================================
   Ticker
   ========================================================= */
.ticker {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track span { font-size: 0.82rem; color: var(--text-muted); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Filter bar
   ========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--purple); color: var(--text); }
.filter-chip.is-active { background: var(--neon-grad); color: #fff; border-color: transparent; }
.filter-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* =========================================================
   Product card extras (quickview + compare)
   ========================================================= */
.product-card { cursor: pointer; }
.compare-check {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
  background: rgba(0,0,0,.35);
  padding: 4px 8px;
  border-radius: 999px;
}
.compare-check input { accent-color: var(--purple); cursor: pointer; }

.btn.pulse { animation: pulse-btn .3s ease; }
@keyframes pulse-btn {
  0% { transform: scale(1); }
  50% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* =========================================================
   Cart drawer
   ========================================================= */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(5,5,12,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 90;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 380px;
  max-width: 92vw;
  background: var(--card);
  border-left: 1px solid var(--border);
  z-index: 95;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h3 { margin: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { color: var(--text-muted); font-size: 0.9rem; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-name { margin: 0 0 4px; font-weight: 700; font-size: 0.9rem; }
.cart-item-price { margin: 0; color: var(--text-muted); font-size: 0.8rem; }
.cart-item-actions { display: flex; align-items: center; gap: 6px; }
.qty-btn, .qty-remove {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
}
.qty-remove { border-color: transparent; color: var(--text-muted); }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1rem; }
.cart-checkout { width: 100%; justify-content: center; }

/* =========================================================
   Modal (shared: quick view + compare)
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,5,12,.65);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 100;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.qv-modal { display: flex; flex-direction: column; gap: 20px; }
.qv-thumb {
  height: 220px;
  border-radius: var(--radius-md);
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.qv-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.qv-body h3 { margin: 0 0 8px; }
.qv-price { font-size: 1.3rem; font-weight: 800; color: var(--pink); margin: 12px 0 18px; }

.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  white-space: nowrap;
}
.compare-table th { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; }

/* =========================================================
   Compare bar (fixed bottom)
   ========================================================= */
.compare-bar {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 140%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 12px 12px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.5);
  z-index: 80;
  transition: transform .3s ease;
  font-size: 0.85rem;
  font-weight: 600;
}
.compare-bar.is-open { transform: translate(-50%, 0); }
.compare-bar-actions { display: flex; gap: 8px; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Filter row + sort
   ========================================================= */
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-row .filter-bar { margin-bottom: 0; }
.sort-select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* =========================================================
   Favorite heart on cards
   ========================================================= */
.fav-heart {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, color .15s ease;
}
.fav-heart:hover { transform: scale(1.1); }
.fav-heart.is-active { color: var(--pink); }
.product-card:has(.fav-heart) .compare-check { top: 58px; }

/* =========================================================
   Stock badges
   ========================================================= */
.product-stock {
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0 0 14px;
}
.product-stock.in-stock { color: #2fd88a; }
.product-stock.pre-order { color: #ffb84d; }

/* =========================================================
   Skeleton loading
   ========================================================= */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skeleton-card {
  height: 320px;
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, var(--card) 30%, var(--border) 50%, var(--card) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* =========================================================
   Toasts
   ========================================================= */
.toast-stack {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast-icon { font-size: 1rem; }

/* =========================================================
   Checkout modal
   ========================================================= */
.checkout-modal { max-width: 420px; }
.form-field {
  display: block;
  margin-bottom: 16px;
}
.form-field span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-field input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}
.form-field input:focus { outline: none; border-color: var(--purple); }
.checkout-submit { width: 100%; justify-content: center; margin-top: 4px; }
.checkout-success-icon { font-size: 2.4rem; margin: 0 0 12px; }

/* =========================================================
   About section
   ========================================================= */
.about-section { padding: 90px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.about-stats div { display: flex; justify-content: space-between; align-items: baseline; }
.about-stats strong { font-size: 1.4rem; font-weight: 800; }
.about-stats span { color: var(--text-muted); font-size: 0.85rem; }

/* =========================================================
   FX canvases (confetti + matrix rain)
   ========================================================= */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
#matrix-canvas {
  position: fixed;
  inset: 0;
  z-index: 299;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  background: rgba(5,5,12,.85);
}
#matrix-canvas.is-active { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .deal-inner { grid-template-columns: 1fr; text-align: center; }
  .deal-visual { order: -1; }
  .countdown { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .search-input { display: none; }
  .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; }
  .countdown div { min-width: 60px; padding: 10px 12px; }
  .cart-drawer { width: 100%; }
  .compare-bar { flex-direction: column; gap: 10px; padding: 16px; width: 90vw; }
  .filter-bar { justify-content: center; }
  .skeleton-grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .sort-select { width: 100%; }
  .toast-stack { left: 16px; right: 16px; bottom: 16px; }
  .toast { width: 100%; box-sizing: border-box; }
}