:root {
  --bg: #0a1128;
  --bg-alt: #0e1a3d;
  --surface: #142854;
  --surface-2: #1a3468;
  --border: #2c4f96;
  --text: #f0f6ff;
  --text-dim: #a9c2f2;
  --accent: #4d9fff;
  --accent-strong: #2563eb;
  --accent-contrast: #04102a;
  --danger: #ef6a6a;
  --radius: 10px;
  --max-width: 1200px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-label: "Oswald", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

h1, h2, h3, h4, h5, h6,
.brand, .btn, .price, .detail-price, .pay-amount,
.badge, .variant-pill, .stock-badge, .eyebrow,
.step-num, .chip, .product-title {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.brand {
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero h1, .section-head h2, .detail-info h1, .newsletter h2 {
  text-transform: uppercase;
  font-weight: 700;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* Topbar */
.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

/* Header / Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: var(--text);
}

.brand-logo {
  height: 34px;
  width: auto;
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-strong), #1e3a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-contrast);
  font-weight: 800;
}

.brand small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}

nav.main-menu ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-menu a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
nav.main-menu a:hover,
nav.main-menu a.active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}
.icon-btn:hover { border-color: var(--accent); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(77, 159, 255, 0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(37, 99, 235, 0.14), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero p.lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.1s, background 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Section headings */
.section {
  padding: 64px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 1.7rem;
  margin: 0 0 6px;
}
.section-head p {
  color: var(--text-dim);
  margin: 0;
  max-width: 60ch;
}

/* Filter bar: category chips + search + sort */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-bar .category-strip { margin-bottom: 0; }
.filter-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-controls input[type="search"],
.filter-controls select {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}
.filter-controls input[type="search"] {
  min-width: 200px;
}
.filter-controls input[type="search"]:focus,
.filter-controls select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Category chips */
.category-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
}
.chip.active,
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.product-thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  position: relative;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
}

.product-body-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-body-head .stock-badge {
  padding: 3px 9px;
  font-size: 0.68rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.product-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}
.price small {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.75rem;
}

/* Feature / trust strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Notice / disclaimer */
.notice {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.notice strong { color: var(--text); }

/* Newsletter */
.newsletter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.newsletter h2 { margin: 0 0 10px; font-size: 1.5rem; }
.newsletter p { color: var(--text-dim); margin: 0 0 24px; }
.newsletter form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter input[type="email"],
.newsletter input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: inherit;
}

/* Breadcrumb */
.breadcrumb {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--accent); }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.gallery-main {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.gallery-main img:hover { transform: scale(1.03); }
.gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 10, 24, 0.7);
  color: var(--text);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs button {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  background: var(--surface);
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(6, 10, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.image-lightbox.open { display: flex; }
.image-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
}

.detail-info h1 {
  font-size: 1.8rem;
  margin: 6px 0 12px;
}
.detail-short-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.variant-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.variant-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.detail-price {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.detail-price small { color: var(--text-dim); font-size: 0.9rem; font-weight: 400; }

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.stock-badge.in-stock { color: #6fd88a; border-color: #2f5a3d; }
.stock-badge.low-stock { color: #e0c34a; border-color: #5a4f2f; }
.stock-badge.out-of-stock { color: var(--danger); border-color: #5a2f2f; }

.discount-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
.discount-table-head {
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.discount-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.discount-row:last-child { border-bottom: none; }
.discount-row .qty-label { color: var(--text-dim); }
.discount-row .price-label { font-weight: 700; }
.discount-row .discount-tag {
  color: var(--accent);
  font-weight: 700;
  margin-left: 6px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.trust-item .check { color: var(--accent); flex-shrink: 0; }

.detail-cards {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.detail-card h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}
.detail-card-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-line;
}
.detail-card .spec-table { margin-top: 0; }
.detail-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-control button {
  background: var(--surface);
  border: none;
  color: var(--text);
  width: 36px;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
}
.qty-control input {
  width: 44px;
  border: none;
  background: var(--bg-alt);
  color: var(--text);
  text-align: center;
  height: 40px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 0.9rem;
}
.spec-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.spec-table td:first-child {
  color: var(--text-dim);
  width: 40%;
}

/* Footer */
footer.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
  color: var(--text-dim);
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid ul a {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-grid ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
}
.cart-drawer.open { right: 0; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  display: none;
}
.cart-overlay.open { display: block; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { margin: 0; }
.cart-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}
.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.cart-item-nudge {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 6px;
  font-weight: 600;
}
.cart-item-meta { font-size: 0.8rem; color: var(--text-dim); }
.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.qty-control-sm button { width: 26px; height: 28px; font-size: 0.85rem; }
.qty-control-sm span { width: 26px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.cart-item-linetotal { font-size: 0.85rem; font-weight: 600; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.8rem;
}
.cart-empty {
  color: var(--text-dim);
  text-align: center;
  padding: 24px 0 16px;
}
.cart-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Contact / about */
.simple-page {
  max-width: 780px;
  margin: 0 auto;
}
.simple-page h1 { font-size: 2.1rem; }
.simple-page p { color: var(--text-dim); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field.highlight label { color: #f0b429; font-weight: 600; }
.form-field.highlight input { border-color: #f0b429; }

.notice-warn {
  border-left-color: #f0b429;
}

/* Payment page */
.pay-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.pay-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.pay-back {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.pay-back:hover { color: var(--accent); }
.pay-rate {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: right;
}

.pay-card {
  max-width: 640px;
  margin: 40px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.pay-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.pay-label {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.pay-card-top h1 {
  margin: 4px 0 0;
  font-size: 1.5rem;
}
.pay-order-id {
  color: var(--text-dim);
  font-size: 0.85rem;
  white-space: nowrap;
}
.pay-order-id strong { color: var(--text); }

.pay-status {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 26px;
}
.pay-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}
.pay-timer {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: 1.1rem;
}
.pay-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.pay-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 100%;
  transition: width 1s linear;
}

.pay-instructions {
  text-align: center;
  margin-bottom: 26px;
}
.pay-instructions p {
  color: var(--text-dim);
  margin: 0 0 8px;
}
.pay-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  word-break: break-all;
}
.pay-amount-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 6px !important;
}

.pay-address-card {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
  background: var(--bg-alt);
  flex-wrap: wrap;
  justify-content: center;
}
.pay-qr {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}
.pay-address-col {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-address-col code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  word-break: break-all;
  color: var(--accent);
}

.pay-order-details {
  margin-top: 30px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.pay-order-details h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.pay-done, .pay-expired {
  text-align: center;
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.checkout-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-step-head h3 { margin: 0; font-size: 1.15rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.custom-field {
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 18px 16px;
  margin-bottom: 16px;
}
.custom-field label {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.custom-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1.1rem;
}

.pay-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}
.pay-summary-row span { color: var(--text-dim); }
.pay-summary-row strong { text-align: right; font-weight: 600; }

.btc-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-alt);
}
.btc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.btc-row span { color: var(--text-dim); }
.btc-row.btc-amount strong { color: var(--accent); font-size: 1.1rem; }

.btc-address-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.btc-address-row code {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  word-break: break-all;
  color: var(--accent);
}

.btc-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 18px 0 0;
  line-height: 1.6;
}

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.checkout-summary h3 { margin: 0 0 18px; font-size: 1.1rem; }

.summary-line {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.summary-line img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.summary-line-total { font-weight: 600; font-size: 0.9rem; }

.summary-totals {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.summary-row.summary-total {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

/* Age / terms gate */
body.age-gate-locked {
  overflow: hidden;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 10, 24, 0.94);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-gate-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.age-gate-box h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.age-gate-box > p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0 0 22px;
}

.age-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 22px;
  cursor: pointer;
}

.age-gate-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.age-gate-check span {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-actions .btn {
  flex: 1;
  min-width: 160px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.main-menu { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  body.menu-open nav.main-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }
  body.menu-open nav.main-menu ul {
    flex-direction: column;
    gap: 0;
  }
  body.menu-open nav.main-menu a {
    display: block;
    padding: 12px 20px;
  }
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interactivity & motion layer
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sticky header gains depth once the page scrolls */
header.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
header.site-header.scrolled {
  background: rgba(8, 13, 32, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: transparent;
}

/* Animated underline for main nav links */
nav.main-menu a {
  position: relative;
  padding-bottom: 4px;
}
nav.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: right 0.25s ease;
}
nav.main-menu a:hover::after,
nav.main-menu a.active::after {
  right: 0;
}

.icon-btn {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(77, 159, 255, 0.18);
}
.icon-btn:active { transform: translateY(0) scale(0.94); }

.cart-count { transition: transform 0.25s cubic-bezier(.34,1.56,.64,1); }
.cart-count.bump { animation: cartBump 0.5s cubic-bezier(.34,1.56,.64,1); }
@keyframes cartBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.55); }
  100% { transform: scale(1); }
}

/* Buttons: lift + glow + shine sweep */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(0.97); }
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}
.btn-outline:hover:not(:disabled) {
  box-shadow: 0 8px 20px rgba(77, 159, 255, 0.12);
}

/* Scroll-reveal utility, activated by js/animations.js */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Product cards: lift, glow border, image zoom, animated price accent */
.product-card {
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent);
}
.product-thumb { overflow: hidden; }
.product-thumb img {
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.08);
}
.badge {
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 159, 255, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(77, 159, 255, 0); }
}

/* Feature / trust cards: gentle tilt on hover */
.feature-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.feature-card .icon {
  transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover .icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--accent);
  color: var(--accent-contrast);
}

.trust-item { transition: border-color 0.2s ease, transform 0.2s ease; }
.trust-item:hover { border-color: var(--accent); transform: translateX(2px); }

.chip { transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.chip:hover { transform: translateY(-2px); }

.discount-table, .detail-card, .newsletter, .checkout-step {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Hero: animated gradient wash + floating snowflakes */
.hero {
  background-size: 200% 200%;
  animation: heroGradient 14s ease infinite;
}
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-snowflakes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-snowflakes .flake {
  position: absolute;
  top: -10%;
  color: var(--accent);
  opacity: 0.35;
  will-change: transform;
  animation-name: flakeFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes flakeFall {
  0% { transform: translateY(-10%) translateX(0) rotate(0deg); }
  100% { transform: translateY(110vh) translateX(20px) rotate(360deg); }
}
.hero .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero, .hero-snowflakes .flake { animation: none; }
}

.hero-visual { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.hero-visual:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,0.35); }

/* Cart drawer: soften the slide, fade backdrop */
.cart-overlay {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-overlay.open { opacity: 1; }
.cart-drawer {
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.4);
}
.cart-item { transition: transform 0.15s ease; }
.cart-item:hover { transform: translateX(-2px); }

/* Toast: spring entrance */
.toast {
  transform: translateX(-50%) translateY(30px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.toast.show {
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Scroll-to-top button */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn.above-buy-bar {
  bottom: 86px;
}
.scroll-top-btn:hover {
  box-shadow: 0 12px 28px rgba(77, 159, 255, 0.4);
  transform: translateY(-3px);
}

/* Gallery thumbs: crisper active/hover state */
.gallery-thumbs button {
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-thumbs button:hover { border-color: var(--accent); transform: translateY(-2px); }
.gallery-thumbs button.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* Variant pill and stock badge: subtle breathing glow */
.stock-badge.in-stock { position: relative; }
.stock-badge.in-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6fd88a;
  box-shadow: 0 0 0 0 rgba(111, 216, 138, 0.6);
  animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 216, 138, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(111, 216, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 216, 138, 0); }
}

/* ==========================================================================
   Ordering clarity: "how it works" steps, checkout progress, stronger CTAs
   ========================================================================== */

/* Feature-strip icons as clean inline SVGs instead of emoji */
.feature-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* "Slik bestiller du" step strip */
.how-it-works .section-head { margin-bottom: 44px; text-align: center; }
.how-it-works .section-head > div { margin: 0 auto; }
.how-it-works .section-head p { margin: 8px auto 0; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-row::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  opacity: 0.5;
  z-index: 0;
}
.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.step-item:hover .step-circle {
  transform: scale(1.08);
  background: var(--accent);
  color: var(--accent-contrast);
}
.step-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step-item p { margin: 0; color: var(--text-dim); font-size: 0.88rem; max-width: 30ch; }

@media (max-width: 720px) {
  .steps-row { grid-template-columns: 1fr; gap: 36px; }
  .steps-row::before { display: none; }
}

/* Checkout / payment progress indicator */
.order-progress {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  max-width: 560px;
}
.order-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.order-progress-step .dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-dim);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.order-progress-step .label {
  font-size: 0.85rem;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.order-progress-step .line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
  transition: background 0.25s ease;
}
.order-progress-step:last-child .line { display: none; }

.order-progress-step.current .dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 0 0 4px rgba(77, 159, 255, 0.18);
}
.order-progress-step.current .label { color: var(--text); font-weight: 600; }
.order-progress-step.done .dot {
  background: var(--surface-2);
  border-color: #6fd88a;
  color: #6fd88a;
}
.order-progress-step.done .line,
.order-progress-step.done + .order-progress-step .dot { border-color: #6fd88a; }
.order-progress-step.done .label { color: var(--text); }

@media (max-width: 560px) {
  .order-progress-step .label { display: none; }
}

/* Stronger, more inviting add-to-cart CTA on product cards */
.product-footer .btn {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}
.product-footer .btn:hover:not(:disabled) { background: var(--accent-strong); }

/* Sticky mini add-to-cart bar on product detail pages */
.sticky-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(14, 26, 61, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.sticky-buy-bar img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.sticky-buy-bar-info {
  flex: 1;
  min-width: 0;
}
.sticky-buy-bar-info .name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy-bar-info .price {
  font-size: 0.85rem;
  color: var(--accent);
}
.sticky-buy-bar .btn { flex-shrink: 0; }
@media (max-width: 560px) {
  .sticky-buy-bar-info .price { display: none; }
}

/* Guide page ("Slik bestiller du") */
.guide-steps {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.guide-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.guide-step:hover {
  border-color: var(--accent);
  transform: translateX(2px);
}
.guide-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  flex-shrink: 0;
}
.guide-step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.guide-step p { margin: 0; color: var(--text-dim); line-height: 1.6; }
.guide-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.guide-link:hover { color: var(--accent-strong); }
.guide-list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  line-height: 1.6;
  color: var(--text-dim);
}
@media (max-width: 560px) {
  .guide-step { grid-template-columns: 1fr; }
}

/* Header search panel */
.site-search-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid transparent;
  transition: max-height 0.25s ease, border-color 0.25s ease;
}
.site-search-panel.open {
  max-height: 96px;
  border-bottom-color: var(--border);
}
.site-search-panel .container { padding: 14px 20px; }
.site-search-form { display: flex; gap: 10px; }
.site-search-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.site-search-form input:focus { border-color: var(--accent); outline: none; }

/* Restlager-varsling ("Utsolgt"-produkter) */
.restock-notify {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.restock-notify-label { margin: 0 0 10px; font-size: 0.9rem; color: var(--text-dim); }
.restock-form { display: flex; gap: 10px; flex-wrap: wrap; }
.restock-form input {
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
}
.restock-form input:focus { border-color: var(--accent); outline: none; }

/* FAQ accordion (bygger på .term-card / .detail-card-text) */
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .detail-card-text { margin-top: 14px; }

/* Terms page */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 28px 0 20px;
}
.key-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-weight: 600;
  font-size: 0.9rem;
}
.key-fact-icon { font-size: 1.2rem; flex-shrink: 0; }

.terms-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  position: sticky;
  top: 78px;
  z-index: 10;
  padding: 10px 0;
}
.terms-jump .chip {
  text-decoration: none;
  scroll-margin-top: 100px;
}
.chip-critical {
  border-color: rgba(240, 180, 41, 0.4);
  color: #f0b429;
}
.chip-critical:hover {
  border-color: #f0b429;
  color: #f0b429;
}

.terms-grid {
  display: grid;
  gap: 20px;
  scroll-margin-top: 100px;
}
.term-card { scroll-margin-top: 100px; }
.term-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.term-card-head h3 { margin: 0; }
.term-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.term-card-critical {
  border-color: rgba(240, 180, 41, 0.45);
  background: linear-gradient(180deg, rgba(240, 180, 41, 0.06), var(--surface));
}
.term-num-critical {
  background: #f0b429;
  color: #241a03;
}
