/* ============================================================
   TrendNest EU - Design System
   Multi-product EU dropshipping storefront
   ============================================================ */

:root {
  /* Brand colors */
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-blue-dark: #1E3A8A;
  --brand-green: #16A34A;
  --brand-green-hover: #15803D;
  --accent-amber: #F59E0B;

  /* Neutral */
  --ink-900: #0F172A;
  --ink-800: #111827;
  --ink-700: #1F2937;
  --ink-600: #374151;
  --ink-500: #4B5563;
  --ink-400: #6B7280;
  --ink-300: #9CA3AF;
  --ink-200: #E5E7EB;
  --ink-100: #F3F4F6;
  --ink-50:  #F9FAFB;
  --white:   #FFFFFF;

  /* Surface */
  --bg: var(--ink-50);
  --surface: var(--white);
  --surface-alt: #F1F5F9;
  --border: var(--ink-200);
  --border-strong: #CBD5E1;

  /* Semantic */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger:  #DC2626;
  --info:    #2563EB;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-hero: 3.5rem;    /* 56px */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.10), 0 4px 6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.18);

  /* Container */
  --container: 1200px;
  --container-narrow: 760px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-blue-hover); }
ul, ol { padding: 0; list-style-position: inside; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
p { color: var(--ink-600); }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--space-3);
}
.lead { font-size: var(--text-lg); color: var(--ink-600); line-height: 1.6; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
section { padding: var(--space-20) 0; }
section.tight { padding: var(--space-12) 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink-900);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink-900); }
.brand-mark { width: 32px; height: 32px; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-primary a {
  color: var(--ink-600);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  position: relative;
}
.nav-primary a:hover { color: var(--ink-900); }
.nav-primary a.active { color: var(--ink-900); }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  inset: auto 0 -8px 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-700);
  background: var(--surface);
  transition: border-color .15s, color .15s, transform .15s;
}
.cart-btn:hover { border-color: var(--ink-700); color: var(--ink-900); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--brand-blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.cart-count.is-hidden { display: none; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.2;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s, color .15s, box-shadow .15s, border-color .15s;
  text-decoration: none;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}
.btn-primary:hover { background: var(--brand-blue-hover); color: var(--white); box-shadow: 0 8px 22px rgba(37, 99, 235, .35); }
.btn-secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--ink-900); color: var(--ink-900); }
.btn-green {
  background: var(--brand-green);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(22, 163, 74, .25);
}
.btn-green:hover { background: var(--brand-green-hover); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { color: var(--ink-900); }
.btn-sm { padding: 10px 16px; font-size: var(--text-sm); }
.btn-lg { padding: 18px 32px; font-size: var(--text-lg); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(22, 163, 74, 0.08), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.hero .lead { max-width: 540px; margin-bottom: var(--space-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-trust {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  color: var(--ink-500);
}
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); display: inline-block; margin-right: 8px; }
.hero-trust span { display: inline-flex; align-items: center; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), transparent 60%),
    linear-gradient(135deg, #DBEAFE 0%, #BBF7D0 100%);
  padding: var(--space-8);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xl);
}
.hero-art svg { width: 86%; height: auto; }

.trend-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(22,163,74,.20), transparent 36%),
    var(--surface);
  box-shadow: var(--shadow-xl);
}
.trend-collage div {
  min-height: 128px;
  display: grid;
  place-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  font-size: 2.2rem;
}
.trend-collage span {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-700);
}

/* ---------- Section primitives ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto var(--space-12); }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { font-size: var(--text-lg); color: var(--ink-500); }

.alt-bg { background: var(--surface-alt); }
.dark-bg {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  color: var(--ink-100);
}
.dark-bg h2, .dark-bg h3 { color: var(--white); }
.dark-bg p { color: #CBD5E1; }

/* ---------- Cards / Grids ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(22,163,74,.10));
  color: var(--brand-blue);
}
.feature-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--text-base); }

.trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.trend-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-width: 0;
}
.trend-card h3 { font-size: var(--text-xl); }
.trend-card p {
  font-size: var(--text-sm);
  margin-bottom: auto;
}
.trend-visual {
  display: grid;
  place-items: center;
  height: 120px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(22,163,74,.12));
  font-size: 2.5rem;
}
.trend-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-blue);
}
.trend-meta strong {
  color: var(--ink-900);
  letter-spacing: 0;
  font-size: var(--text-sm);
}
.mini-note {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: var(--ink-50);
  border: 1px solid var(--border);
  color: var(--ink-500);
  font-size: var(--text-xs);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: var(--space-6);
  width: 36px;
  height: 36px;
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--text-sm);
}
.step h4 { margin-bottom: var(--space-2); margin-top: var(--space-2); }
.step p { font-size: var(--text-sm); color: var(--ink-500); }

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.use-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.use-card .use-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  color: var(--brand-blue);
}
.use-card h4 { font-size: var(--text-base); margin-bottom: 4px; }
.use-card p { font-size: var(--text-sm); margin: 0; color: var(--ink-500); }

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4) var(--space-8);
  list-style: none;
  padding: 0;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink-700);
}
.trust-list li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(22, 163, 74, .15);
  display: inline-block;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  margin: var(--space-12) 0;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--space-3); font-size: var(--text-4xl); }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: var(--space-6); font-size: var(--text-lg); }

/* ---------- Product Page ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.product-layout > * { min-width: 0; }
.product-gallery {
  position: sticky;
  top: 96px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(135deg, #DBEAFE 0%, #BBF7D0 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.product-gallery svg { width: 80%; height: auto; }

.product-title { font-size: var(--text-3xl); margin-bottom: var(--space-3); }
.product-sub { color: var(--ink-500); margin-bottom: var(--space-6); font-size: var(--text-lg); }

.price-row { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); }
.price-current { font-size: var(--text-3xl); font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; }
.price-compare { color: var(--ink-400); text-decoration: line-through; font-size: var(--text-lg); }
.price-save {
  background: rgba(22,163,74,.12);
  color: var(--brand-green);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.variant-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-700);
  margin: var(--space-6) 0 var(--space-3);
}
.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.variant {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color .12s, background .12s, transform .12s;
}
.variant:hover { border-color: var(--border-strong); }
.variant.is-selected { border-color: var(--brand-blue); background: rgba(37,99,235,.04); }
.variant.is-selected::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.variant .v-name { font-weight: 700; color: var(--ink-900); font-size: var(--text-base); }
.variant .v-price { font-weight: 600; color: var(--ink-900); }
.variant .v-compare { font-size: var(--text-xs); color: var(--ink-400); text-decoration: line-through; }
.variant .v-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-green);
  background: rgba(22,163,74,.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
}
.qty-control button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--ink-700);
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
}
.qty-control button:hover { color: var(--ink-900); }
.qty-control button:disabled { opacity: .4; cursor: not-allowed; }
.qty-control .qty-value { min-width: 32px; text-align: center; font-weight: 600; }

.product-bullets { list-style: none; padding: 0; margin: var(--space-6) 0; }
.product-bullets li {
  padding: var(--space-2) 0 var(--space-2) 32px;
  position: relative;
  color: var(--ink-700);
}
.product-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-4);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.spec-table th { font-weight: 600; color: var(--ink-600); width: 40%; }
.spec-table td { color: var(--ink-800); }

/* ---------- FAQ / Accordion ---------- */
.faq-list { display: grid; gap: var(--space-3); max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-base);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: var(--text-2xl);
  color: var(--ink-400);
  font-weight: 300;
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--ink-600);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-4); max-width: 560px; }
.form-row { display: grid; gap: var(--space-2); }
.form-row label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-700);
}
.form-row input,
.form-row textarea,
.form-row select {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--ink-900);
  transition: border-color .12s, box-shadow .12s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row.row-2 { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-row.row-2 > div { display: grid; gap: var(--space-2); }
.form-hint { font-size: var(--text-sm); color: var(--ink-500); }
.form-success {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.25);
  color: #14532D;
  font-size: var(--text-base);
}
.form-success strong { color: #166534; }

/* ---------- Cart drawer ---------- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 90;
}
.cart-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100%);
  height: 100dvh;
  background: var(--surface);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.32,.72,.18,1), visibility 0s linear .25s;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(15,23,42,.1);
  visibility: hidden;
}
.cart-drawer.is-open { transform: translateX(0); visibility: visible; transition: transform .25s cubic-bezier(.32,.72,.18,1), visibility 0s linear 0s; }
.cart-drawer-head {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-head h3 { font-size: var(--text-lg); margin: 0; }
.cart-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--radius-full);
  color: var(--ink-500);
}
.cart-close:hover { color: var(--ink-900); background: var(--surface-alt); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-6);
}
.cart-empty {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  color: var(--ink-500);
}
.cart-empty .icon { width: 56px; height: 56px; margin: 0 auto var(--space-3); color: var(--ink-300); }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #DBEAFE 0%, #BBF7D0 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.cart-item-img svg { width: 70%; height: 70%; }
.cart-item-img.emoji { font-size: 1.8rem; }
.cart-item h4 { font-size: var(--text-sm); margin: 0; color: var(--ink-900); }
.cart-item .meta { font-size: var(--text-xs); color: var(--ink-500); margin-top: 2px; }
.cart-item .price { font-weight: 600; color: var(--ink-900); margin-top: var(--space-2); font-size: var(--text-sm); }
.cart-item .qty-control button { width: 28px; height: 28px; font-size: var(--text-base); }
.cart-item .remove {
  font-size: var(--text-xs);
  color: var(--ink-400);
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
}
.cart-item .remove:hover { color: var(--danger); }

.cart-drawer-foot {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-600);
}
.cart-row.total {
  font-size: var(--text-lg);
  color: var(--ink-900);
  font-weight: 700;
  margin: var(--space-3) 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.cart-note {
  font-size: var(--text-xs);
  color: var(--ink-500);
  margin-top: var(--space-3);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: #94A3B8;
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand h4 { color: var(--white); font-size: var(--text-lg); margin-bottom: var(--space-2); }
.footer-brand p { color: #94A3B8; font-size: var(--text-sm); max-width: 320px; }
.footer-col h5 {
  color: var(--white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer-col a { color: #94A3B8; font-size: var(--text-sm); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: #64748B;
}

/* ---------- Notice / Banners ---------- */
.notice {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, .08);
  border: 1px solid rgba(245, 158, 11, .25);
  color: #92400E;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.notice.info {
  background: rgba(37, 99, 235, .06);
  border-color: rgba(37, 99, 235, .25);
  color: #1E3A8A;
}
.notice strong { display: block; margin-bottom: 4px; }

/* ---------- Doc / Policy pages ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
}
.doc h1 { font-size: var(--text-4xl); margin-bottom: var(--space-3); }
.doc .meta { color: var(--ink-500); font-size: var(--text-sm); margin-bottom: var(--space-8); }
.doc h2 { font-size: var(--text-2xl); margin: var(--space-10) 0 var(--space-3); }
.doc h3 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-3); }
.doc p { margin-bottom: var(--space-4); line-height: 1.7; color: var(--ink-700); }
.doc ul, .doc ol { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.doc li { margin-bottom: var(--space-2); color: var(--ink-700); list-style-position: outside; }
.doc a { text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--ink-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.hide-mobile { display: initial; }
.show-mobile { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --text-hero: 2.5rem;
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
  }
  section { padding: var(--space-16) 0; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero-art { max-width: 480px; margin: 0 auto; }
  .product-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .product-gallery { position: static; padding: var(--space-8); }
  .feature-grid, .steps, .use-cases, .trust-list, .trend-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .nav-primary {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--space-6) var(--space-6);
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform .2s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-primary.is-open { transform: translateY(0); }
  .nav-primary a { padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
  .nav-primary a:last-child { border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
  .hide-mobile { display: none; }
  .show-mobile { display: initial; }
  .cta-band { padding: var(--space-8); }
}

@media (max-width: 600px) {
  :root { --text-hero: 2rem; --text-5xl: 2rem; }
  .container, .container-narrow { padding: 0 var(--space-4); }
  .hero { padding: var(--space-12) 0; }
  section { padding: var(--space-12) 0; }
  .feature-grid, .steps, .use-cases, .trust-list, .trend-grid, .trend-collage { grid-template-columns: 1fr; }
  .variant-grid { grid-template-columns: 1fr; }
  .form-row.row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-secondary { display: none; }
}

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