/* ==========================================================================
   AchakzaiArsalanLcc — Premium E-Commerce Stylesheet
   Theme system: html[data-theme="modern" | "luxury" | "nature" | "midnight"]
   Edit theme colors in the THEME TOKENS section below.
   ========================================================================== */

/* ---------- Base tokens (shared) ---------- */
:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --dur: 0.25s;
  --dur-med: 0.4s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 74px;
  --container: 1240px;
}

/* ==========================================================================
   THEME TOKENS — edit colors here
   ========================================================================== */

/* Theme 2 — MODERN (default): clean white/light-gray + contemporary accent */
:root, html[data-theme="modern"] {
  --bg: #f8f9fb;
  --bg-soft: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --text: #101828;
  --text-soft: #384253;
  --muted: #667085;
  --accent: #4f46e5;
  --accent-2: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.09);
  --on-accent: #ffffff;
  --border: #e4e7ee;
  --border-strong: #d0d5df;
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-text: #101828;
  --header-border: rgba(16, 24, 40, 0.07);
  --footer-bg: #101828;
  --footer-text: #e8ecf3;
  --footer-muted: #98a2b8;
  --price: #101828;
  --sale: #dc2626;
  --star: #f59e0b;
  --success: #15803d;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.07);
  --shadow-md: 0 6px 20px -4px rgba(16, 24, 40, 0.1);
  --shadow-lg: 0 20px 45px -12px rgba(16, 24, 40, 0.18);
  --hero-grad: linear-gradient(135deg, #eef1f9 0%, #e6ebf5 55%, #dfe7f3 100%);
  --glow: none;
  color-scheme: light;
}

/* Theme 1 — LUXURY: elegant black/white, gold accent, serif display */
html[data-theme="luxury"] {
  --bg: #fbfaf7;
  --bg-soft: #f3f1ea;
  --surface: #ffffff;
  --surface-2: #f6f4ee;
  --text: #141414;
  --text-soft: #3c3a35;
  --muted: #6f6b62;
  --accent: #9a7b2d;
  --accent-2: #7c621f;
  --accent-soft: rgba(154, 123, 45, 0.1);
  --on-accent: #ffffff;
  --border: #e7e3d8;
  --border-strong: #d5d0c2;
  --header-bg: rgba(13, 13, 12, 0.94);
  --header-text: #f5f3ee;
  --header-border: rgba(255, 255, 255, 0.08);
  --footer-bg: #0d0d0c;
  --footer-text: #eeece5;
  --footer-muted: #97938a;
  --price: #141414;
  --sale: #b42318;
  --star: #b8912f;
  --success: #3f6212;
  --shadow-sm: 0 1px 3px rgba(20, 18, 12, 0.08);
  --shadow-md: 0 8px 24px -6px rgba(20, 18, 12, 0.12);
  --shadow-lg: 0 24px 50px -12px rgba(20, 18, 12, 0.2);
  --hero-grad: linear-gradient(135deg, #f4f1e9 0%, #ece7da 60%, #e5dfd0 100%);
  --glow: none;
  --font-head: 'Fraunces', Georgia, serif;
  color-scheme: light;
}

/* Theme 3 — NATURE: soft green / earth tones */
html[data-theme="nature"] {
  --bg: #f5f6f0;
  --bg-soft: #eaeee2;
  --surface: #fdfdf9;
  --surface-2: #f0f2e8;
  --text: #1d2a21;
  --text-soft: #37473c;
  --muted: #5f7064;
  --accent: #3f7050;
  --accent-2: #325c41;
  --accent-soft: rgba(63, 112, 80, 0.1);
  --on-accent: #ffffff;
  --border: #dde3d3;
  --border-strong: #c8d1ba;
  --header-bg: rgba(28, 44, 34, 0.95);
  --header-text: #eef3ea;
  --header-border: rgba(255, 255, 255, 0.08);
  --footer-bg: #1c2c22;
  --footer-text: #e6ede3;
  --footer-muted: #97a89a;
  --price: #1d2a21;
  --sale: #b3402e;
  --star: #d79b2e;
  --success: #3f7050;
  --shadow-sm: 0 1px 3px rgba(29, 42, 33, 0.07);
  --shadow-md: 0 6px 20px -4px rgba(29, 42, 33, 0.11);
  --shadow-lg: 0 20px 45px -12px rgba(29, 42, 33, 0.18);
  --hero-grad: linear-gradient(135deg, #ecefe2 0%, #e2e8d2 55%, #d8e1c6 100%);
  --glow: none;
  color-scheme: light;
}

/* Theme 4 — MIDNIGHT: dark premium with subtle glow */
html[data-theme="midnight"] {
  --bg: #0b0f1a;
  --bg-soft: #0e1422;
  --surface: #131a2b;
  --surface-2: #1a2338;
  --text: #e8ecf5;
  --text-soft: #c3cade;
  --muted: #8d97b0;
  --accent: #8b96ff;
  --accent-2: #a5aeff;
  --accent-soft: rgba(139, 150, 255, 0.12);
  --on-accent: #0b0f1a;
  --border: #232d45;
  --border-strong: #32405f;
  --header-bg: rgba(11, 15, 26, 0.85);
  --header-text: #e8ecf5;
  --header-border: rgba(255, 255, 255, 0.07);
  --footer-bg: #070a12;
  --footer-text: #dfe4f0;
  --footer-muted: #7d87a0;
  --price: #ffffff;
  --sale: #ff7a6b;
  --star: #f5b53f;
  --success: #4ade80;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 26px -6px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 55px -12px rgba(0, 0, 0, 0.65);
  --hero-grad: radial-gradient(120% 130% at 15% 10%, #1b2540 0%, #121a30 45%, #0b0f1a 100%);
  --glow: 0 0 22px rgba(139, 150, 255, 0.35);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  transition: background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; color: var(--text); }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { color: var(--text-soft); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head p { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.section-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-top .kicker {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-md), var(--glow); }
.btn-outline { border: 1.5px solid var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-amazon {
  background: #ff9900; color: #131313; font-weight: 700;
}
.btn-amazon:hover { background: #ffad33; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--accent); font-size: 15px;
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-sale { background: var(--sale); color: #fff; }
.badge-accent { background: var(--accent); color: var(--on-accent); }
.badge-soft { background: var(--accent-soft); color: var(--accent); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 960;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  color: var(--header-text);
  transition: box-shadow var(--dur) var(--ease), background var(--dur-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm), var(--glow);
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--header-text); }
.main-nav { display: flex; gap: 2px; }
.main-nav a {
  padding: 9px 15px; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 500; color: var(--header-text); opacity: 0.82;
  transition: opacity var(--dur), background var(--dur);
}
.main-nav a:hover { opacity: 1; background: rgba(127, 127, 127, 0.12); }
.main-nav a.active { opacity: 1; color: var(--accent); font-weight: 600; }
html[data-theme="luxury"] .main-nav a.active,
html[data-theme="nature"] .main-nav a.active { color: var(--header-text); background: rgba(255,255,255,0.12); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--header-text); opacity: 0.85;
  transition: opacity var(--dur), background var(--dur), transform var(--dur);
}
.icon-btn:hover { opacity: 1; background: rgba(127, 127, 127, 0.14); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .count {
  position: absolute; top: 3px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--sale); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
}
.icon-btn .count:empty, .icon-btn .count[data-zero] { display: none; }
.nav-toggle { display: none; }

/* Theme switcher popover */
.theme-pop {
  position: absolute; top: calc(var(--header-h) - 8px); right: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; width: 230px; z-index: 990;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.theme-pop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.theme-pop .tp-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 6px 10px 8px; }
.theme-opt {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 10px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text); text-align: left;
  transition: background var(--dur);
}
.theme-opt:hover { background: var(--surface-2); }
.theme-opt.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.theme-opt .swatch {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  border: 1px solid rgba(127,127,127,0.25);
}
.theme-opt .check-ic { margin-left: auto; width: 16px; height: 16px; opacity: 0; }
.theme-opt.active .check-ic { opacity: 1; }

/* Mobile nav panel */
.mobile-panel {
  position: fixed; inset: 0; z-index: 950;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) 28px 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med);
  overflow-y: auto;
}
.mobile-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-panel a.mnav {
  font-family: var(--font-head); font-size: 26px; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text);
}
.mobile-panel a.mnav.active { color: var(--accent); }
.mobile-panel .m-actions { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
body.no-scroll { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background: var(--hero-grad);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--text-soft);
  margin-bottom: 26px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--accent); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 18px; max-width: 520px; color: var(--text-soft); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-meta { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-meta .hm { display: flex; align-items: center; gap: 11px; }
.hero-meta .hm svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-meta .hm span { font-size: 13.5px; font-weight: 600; color: var(--text-soft); }

/* Hero collage */
.hero-visual { position: relative; }
.hero-collage {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.hero-tile {
  border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease);
}
.hero-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hero-tile:nth-child(1) { transform: translateY(22px); }
.hero-tile:nth-child(1):hover { transform: translateY(16px); }
.hero-tile:nth-child(4) { transform: translateY(-22px); }
.hero-tile:nth-child(4):hover { transform: translateY(-28px); }
.hero-tile .art { aspect-ratio: 1 / 0.92; }
.hero-tile .ht-label {
  position: absolute; left: 14px; bottom: 12px;
  background: rgba(255, 255, 255, 0.92); color: #101828;
  padding: 6px 13px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 700;
}

/* ---------- Generated product art (SVG placeholder imagery) ---------- */
.art { width: 100%; height: 100%; }
.art svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease), border-color var(--dur);
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.cat-media { position: relative; height: 172px; flex-shrink: 0; overflow: hidden; }
.cat-media .art { position: absolute; inset: 0; height: 100%; }
.cat-media .cat-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s var(--ease-out);
}
.cat-card:hover .cat-media .cat-photo { transform: scale(1.05); }
.hero-tile .cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card .cc-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 16.5px; margin-bottom: 5px; }
.cat-card .cc-desc { font-size: 13px; color: var(--muted); margin-bottom: 14px; flex: 1; }
.cat-card .cc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--accent);
}
.cat-card .cc-link svg { width: 14px; height: 14px; transition: transform var(--dur); }
.cat-card:hover .cc-link svg { transform: translateX(4px); }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease), border-color var(--dur);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.prod-media { position: relative; overflow: hidden; flex-shrink: 0; }
.prod-media .art, .prod-media img { aspect-ratio: 1 / 0.88; object-fit: cover; width: 100%; transition: transform 0.6s var(--ease-out); }
.prod-card:hover .prod-media .art, .prod-card:hover .prod-media img { transform: scale(1.045); }
.prod-media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.prod-quick {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.prod-card:hover .prod-quick, .prod-card:focus-within .prod-quick { opacity: 1; transform: translateX(0); }
.pq-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur), color var(--dur), transform var(--dur), border-color var(--dur);
}
.pq-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.08); }
.pq-btn svg { width: 17px; height: 17px; }
.pq-btn.wished { background: var(--sale); border-color: var(--sale); color: #fff; }
.pq-btn.wished svg { fill: currentColor; }
.prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 6px; }
.prod-name { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; color: var(--text); }
.prod-name a:hover { color: var(--accent); }
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars svg { width: 14px; height: 14px; color: var(--star); }
.stars .half-wrap { position: relative; display: inline-flex; }
.stars .half-top { position: absolute; inset: 0; width: 50%; overflow: hidden; display: inline-flex; }
.stars .half-top svg { flex-shrink: 0; width: 14px; height: 14px; }
.rating-row { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.rating-row .rev { font-size: 12.5px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 9px; margin-bottom: 15px; margin-top: auto; }
.price { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--price); }
.old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.save-tag { font-size: 12px; font-weight: 700; color: var(--sale); }
.prod-ctas { display: flex; flex-direction: column; gap: 9px; }
.prod-ctas .row2 { display: grid; grid-template-columns: 1fr; gap: 9px; }
.btn-cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 14px;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.btn-cart:hover { background: var(--accent-2); transform: translateY(-1.5px); box-shadow: var(--shadow-md), var(--glow); }
.btn-cart svg { width: 16px; height: 16px; }
.btn-cart.added { background: var(--success); }
.btn-amz {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px 16px; border-radius: var(--radius-pill);
  background: transparent; border: 1.5px solid var(--border-strong);
  font-weight: 600; font-size: 13.5px; color: var(--text-soft);
  transition: border-color var(--dur), color var(--dur), background var(--dur), transform var(--dur);
}
.btn-amz:hover { border-color: #ff9900; color: #b36b00; background: rgba(255, 153, 0, 0.08); transform: translateY(-1.5px); }
html[data-theme="midnight"] .btn-amz:hover { color: #ffb84d; }
.btn-amz svg { width: 15px; height: 15px; }

/* ---------- Carousel (best sellers) ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px; margin: -4px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .prod-card { scroll-snap-align: start; }
.car-nav {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background var(--dur), color var(--dur), transform var(--dur), opacity var(--dur);
}
.car-nav:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-50%) scale(1.06); }
.car-nav svg { width: 20px; height: 20px; }
.car-nav.prev { left: -20px; }
.car-nav.next { right: -20px; }
.car-nav[disabled] { opacity: 0.35; pointer-events: none; }

/* ==========================================================================
   DEALS
   ========================================================================== */
.deals-banner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
  background: var(--footer-bg); color: var(--footer-text);
  border-radius: 24px; padding: 56px; overflow: hidden; position: relative;
}
.deals-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 85% 15%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.deals-banner h2 { color: var(--footer-text); margin-bottom: 14px; }
.deals-banner p { color: var(--footer-muted); font-size: 16px; margin-bottom: 26px; }
.deal-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.deal-chips .badge { font-size: 12px; padding: 7px 14px; }
.countdown { display: flex; gap: 12px; margin-bottom: 8px; }
.cd-cell {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px; padding: 12px 0; width: 74px; text-align: center;
}
.cd-cell .num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.cd-cell .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--footer-muted); }
.cd-note { font-size: 12px; color: var(--footer-muted); }
.deals-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; position: relative; }

/* ==========================================================================
   TRUST / WHY US
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.trust-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease);
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trust-card .ic {
  width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 16px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.trust-card .ic svg { width: 25px; height: 25px; }
.trust-card h3 { font-size: 16px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy .kicker {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { margin-bottom: 16px; }
.about-points { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.about-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
.about-points svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.owner-figure { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.owner-figure img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; object-position: center 20%; }
.owner-figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 18, 0.55), transparent 45%);
}
.owner-cap {
  position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff;
}
.owner-cap .n { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.owner-cap .r { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; }
.footer-brand .brand-name { color: var(--footer-text); }
.footer-brand p { color: var(--footer-muted); font-size: 14.5px; margin: 18px 0 22px; max-width: 300px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-muted); font-size: 13px; font-weight: 700;
  transition: all var(--dur);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.footer-col h4 { color: var(--footer-text); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--footer-muted); font-size: 14.5px; transition: color var(--dur); }
.footer-col a:hover { color: var(--footer-text); }
.footer-contact-item { display: flex; gap: 11px; align-items: flex-start; color: var(--footer-muted); font-size: 14px; margin-bottom: 13px; }
.footer-contact-item svg { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; color: var(--accent); }
.footer-contact-item a:hover { color: var(--footer-text); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--footer-muted); font-size: 13.5px;
}
.footer-bottom a { color: var(--footer-muted); }
.footer-bottom a:hover { color: var(--footer-text); }
.footer-bottom-links { display: flex; gap: 22px; }

/* ==========================================================================
   DRAWERS (cart / wishlist)
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 10, 16, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1010;
  width: min(430px, 100vw);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform var(--dur-med) var(--ease-out);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--border);
}
.drawer-head h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.drawer-head h3 svg { width: 20px; height: 20px; color: var(--accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-item {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  align-items: center;
}
.drawer-item .thumb { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.drawer-item .thumb .art { height: 100%; }
.di-name { font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; color: var(--text); }
.di-name:hover { color: var(--accent); }
.di-price { font-size: 13.5px; color: var(--muted); }
.qty-ctrl {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  padding: 3px;
  margin-top: 8px;
}
.qty-ctrl button {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur);
}
.qty-ctrl button:hover { background: var(--surface-2); }
.qty-ctrl button svg { width: 13px; height: 13px; }
.qty-ctrl .q { min-width: 26px; text-align: center; font-size: 13.5px; font-weight: 600; }
.di-remove { color: var(--muted); transition: color var(--dur); align-self: start; margin-top: 4px; }
.di-remove:hover { color: var(--sale); }
.di-remove svg { width: 17px; height: 17px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 20px 24px; }
.total-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--text-soft); margin-bottom: 8px; }
.total-row.grand { font-size: 17px; font-weight: 700; color: var(--text); margin: 12px 0 16px; }
.drawer-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.empty-state { text-align: center; padding: 56px 12px; }
.empty-state svg { width: 52px; height: 52px; color: var(--muted); opacity: 0.5; margin: 0 auto 16px; }
.empty-state h4 { font-size: 17px; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
  position: fixed; inset: 0; z-index: 1020;
  background: rgba(8, 10, 16, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; justify-content: center;
  padding: 90px 24px 40px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(640px, 100%);
  background: var(--surface); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  height: fit-content; max-height: 75vh;
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(-10px);
  transition: transform var(--dur-med) var(--ease-out);
}
.search-overlay.open .search-panel { transform: translateY(0); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.search-bar svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search-bar input { flex: 1; border: none; background: none; font-size: 17px; outline: none; color: var(--text); }
.search-bar input::placeholder { color: var(--muted); }
.search-results { overflow-y: auto; padding: 10px; }
.sr-item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 12px; border-radius: 12px;
  transition: background var(--dur);
}
.sr-item:hover { background: var(--surface-2); }
.sr-item .thumb { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; }
.sr-item .thumb .art { height: 100%; }
.sr-item .n { font-size: 14px; font-weight: 600; color: var(--text); }
.sr-item .c { font-size: 12px; color: var(--muted); }
.sr-item .p { font-weight: 700; font-size: 14px; color: var(--price); }
.sr-empty { text-align: center; padding: 40px 16px; color: var(--muted); font-size: 14.5px; }
.sr-footer { padding: 12px 22px 16px; border-top: 1px solid var(--border); text-align: center; }

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.qv-modal {
  position: fixed; inset: 0; z-index: 1030;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8, 10, 16, 0.6);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med);
}
.qv-modal.open { opacity: 1; visibility: visible; }
.qv-card {
  width: min(860px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  transform: scale(0.96);
  transition: transform var(--dur-med) var(--ease-out);
  position: relative;
}
.qv-modal.open .qv-card { transform: scale(1); }
.qv-media { min-height: 380px; }
.qv-media .art, .qv-media img { height: 100%; object-fit: cover; }
.qv-body { padding: 34px 32px; display: flex; flex-direction: column; }
.qv-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.qv-close:hover { background: var(--surface-2); }
.qv-close svg { width: 18px; height: 18px; }
.qv-body .prod-cat { margin-bottom: 8px; }
.qv-body h3 { font-size: 22px; margin-bottom: 10px; }
.qv-body .desc { font-size: 14.5px; color: var(--text-soft); margin: 14px 0 20px; }
.qv-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.qv-link { margin-top: 14px; text-align: center; font-size: 13.5px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1100; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 13px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.35s var(--ease-out), toast-out 0.3s var(--ease) 2.5s forwards;
}
.toast svg { width: 17px; height: 17px; color: var(--success); }
html[data-theme="midnight"] .toast { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + 58px) 0 58px;
  background: var(--hero-grad);
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--text-soft); font-size: 16.5px; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ==========================================================================
   SHOP PAGE
   ========================================================================== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.filters h3 { font-size: 16px; display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.filters h3 svg { width: 17px; height: 17px; color: var(--accent); }
.f-group { padding: 18px 0; border-bottom: 1px solid var(--border); }
.f-group:last-of-type { border-bottom: none; padding-bottom: 6px; }
.f-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 13px; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--text-soft); }
.f-check input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 6px;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: background var(--dur), border-color var(--dur);
}
.f-check input:checked { background: var(--accent); border-color: var(--accent); }
.f-check input:checked::after {
  content: ''; position: absolute; left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid var(--on-accent); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.f-check .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.price-inputs { display: flex; align-items: center; gap: 9px; }
.price-inputs input {
  width: 100%; padding: 9px 11px; border-radius: 10px;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  font-size: 14px; outline: none;
  transition: border-color var(--dur);
}
.price-inputs input:focus { border-color: var(--accent); }
.price-inputs span { color: var(--muted); }
.f-clear { width: 100%; margin-top: 16px; }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.shop-toolbar .result-count { font-size: 14.5px; color: var(--muted); }
.shop-toolbar .result-count strong { color: var(--text); }
.tool-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.shop-search { position: relative; }
.shop-search input {
  padding: 11px 14px 11px 40px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong); background: var(--surface);
  font-size: 14px; width: 220px; outline: none;
  transition: border-color var(--dur), width var(--dur-med) var(--ease);
}
.shop-search input:focus { border-color: var(--accent); width: 260px; }
.shop-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.sort-select { position: relative; }
.sort-select select {
  appearance: none; -webkit-appearance: none;
  padding: 11px 40px 11px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong); background: var(--surface);
  font-size: 14px; font-weight: 500; cursor: pointer; outline: none;
}
.sort-select select:focus { border-color: var(--accent); }
.sort-select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.no-results { text-align: center; padding: 80px 20px; }
.no-results svg { width: 54px; height: 54px; color: var(--muted); opacity: 0.5; margin: 0 auto 18px; }
.no-results h3 { margin-bottom: 10px; }
.no-results p { color: var(--muted); margin-bottom: 22px; }
.filters-toggle { display: none; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-main {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-md); margin-bottom: 14px;
}
.pd-main .art, .pd-main img { aspect-ratio: 1 / 0.85; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-thumb {
  border-radius: 12px; overflow: hidden; border: 2px solid var(--border);
  cursor: pointer; transition: border-color var(--dur), transform var(--dur);
  padding: 0;
}
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: var(--accent); }
.pd-thumb .art { aspect-ratio: 1 / 0.85; }
.pd-info .prod-cat { margin-bottom: 10px; }
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.pd-info .rating-row { margin-bottom: 18px; }
.pd-price-row { display: flex; align-items: baseline; gap: 13px; margin-bottom: 20px; }
.pd-price-row .price { font-size: 30px; }
.pd-price-row .old-price { font-size: 18px; }
.pd-desc { font-size: 15.5px; margin-bottom: 24px; }
.pd-features { margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.pd-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.pd-features svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.stock-line.low .stock-dot { background: var(--star); }
.stock-line.out .stock-dot { background: var(--sale); }
.pd-buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; flex-wrap: wrap; }
.pd-buy-row .qty-ctrl { margin: 0; padding: 6px; }
.pd-buy-row .qty-ctrl button { width: 32px; height: 32px; }
.pd-buy-row .btn { flex: 1; min-width: 170px; }
.pd-wish-row { display: flex; gap: 12px; margin-bottom: 28px; }
.pd-note { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }
.spec-table { width: 100%; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 18px; font-size: 14px; border-bottom: 1px solid var(--border); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { background: var(--surface-2); color: var(--muted); font-weight: 600; width: 38%; }
.spec-table td { color: var(--text-soft); background: var(--surface); }
.pd-section-title { font-size: 18px; margin-bottom: 16px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.info-card {
  background: var(--footer-bg); color: var(--footer-text);
  border-radius: 22px; padding: 38px 34px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.info-card h3 { color: var(--footer-text); font-size: 22px; margin-bottom: 10px; }
.info-card > p { color: var(--footer-muted); font-size: 14.5px; margin-bottom: 28px; }
.ci-item { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.ci-item .ic {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.07); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
html[data-theme="midnight"] .ci-item .ic { color: var(--accent); }
.ci-item .ic svg { width: 20px; height: 20px; }
.ci-item .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--footer-muted); }
.ci-item .val { font-size: 15px; font-weight: 600; color: var(--footer-text); line-height: 1.5; }
.ci-item a.val:hover { color: var(--accent); }
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 38px 34px; box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.form-group label .req { color: var(--sale); }
.form-group input, .form-group textarea, .form-group select {
  padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  font-size: 14.5px; outline: none; width: 100%;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .err { display: none; font-size: 12.5px; color: var(--sale); }
.form-group.has-error input, .form-group.has-error textarea { border-color: var(--sale); }
.form-group.has-error .err { display: block; }
.form-success {
  display: none; margin-top: 20px; padding: 16px 20px;
  border-radius: 14px; background: var(--accent-soft);
  border: 1px solid var(--accent);
  font-size: 14.5px; color: var(--text); align-items: flex-start; gap: 12px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.map-note {
  margin-top: 40px; padding: 26px 30px;
  border: 1.5px dashed var(--border-strong); border-radius: 18px;
  display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 14.5px;
}
.map-note svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.rd-1.in-view { transition-delay: 0.07s; }
.rd-2.in-view { transition-delay: 0.14s; }
.rd-3.in-view { transition-delay: 0.21s; }
.rd-4.in-view { transition-delay: 0.28s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1160px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 44px) / 3); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .lede { max-width: 640px; }
  .deals-banner { grid-template-columns: 1fr; padding: 44px 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .owner-figure { max-width: 480px; }
  .pd-layout { grid-template-columns: 1fr; gap: 40px; }
  .pd-gallery { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 920px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .carousel { grid-auto-columns: calc((100% - 22px) / 2); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .deals-products { grid-template-columns: 1fr; }
  .car-nav.prev { left: -10px; }
  .car-nav.next { right: -10px; }
  .form-grid { grid-template-columns: 1fr; }
  .qv-card { grid-template-columns: 1fr; }
  .qv-media { min-height: 260px; }
  .header-actions .hide-m { display: none; }
  .theme-pop { right: 16px; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 0; }
  .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 33px; font-size: 13px; border-radius: 10px; }
  .brand-name { font-size: 13px; }
  .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .hero-collage { gap: 12px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .hero-meta { gap: 18px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-body { padding: 13px 13px 15px; }
  .prod-name { font-size: 14px; }
  .price { font-size: 16.5px; }
  .btn-cart { padding: 10px 12px; font-size: 13px; }
  .btn-amz { padding: 9px 12px; font-size: 12.5px; }
  .deals-banner { padding: 34px 24px; }
  .cd-cell { width: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .shop-search input { width: 100%; }
  .tool-right { width: 100%; }
  .tool-right > * { flex: 1; }
  .sort-select select { width: 100%; }
  .section-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 370px) {
  .shop-grid, .prod-grid { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: 86%; }
}
