/* KluckyDeals v2 — brand mint on teal chrome
   Brand accent #41F9CC (from v1 --brand) on #222831 ink / #EEEEEE paper
*/

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/Inter-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #EEEEEE;
  --surface: #FFFFFF;
  --surface-2: #F5F5F0;
  --ink: #0F172A;
  --muted: #64748B;
  --accent: #41F9CC;
  --accent-600: #1fc99a;
  --accent-700: #14a880;
  --accent-ink: #0B1A1F;
  --line: #E2E4E7;
  --line-strong: #CBD5E1;
  /* Nav — light surface with dark text in light mode */
  --nav-bg: #FFFFFF;
  --nav-fg: #0F172A;
  --nav-muted: #64748B;
  --nav-search-bg: #F1F3F5;
  --nav-border: #E2E4E7;
  --logo-invert: 0;
  /* Hero — light surface card in light mode */
  --hero-bg: #FFFFFF;
  --hero-fg: #0F172A;
  --hero-muted: #64748B;
  --hero-eyebrow: #0B8F6B;
  --hero-border: #E2E4E7;
  --hero-img-bg: #F5F5F0;
  --green: #059669;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] {
  --bg: #222831;
  --surface: #393E46;
  --surface-2: #2B3038;
  --ink: #EEEEEE;
  --muted: #8A92A0;
  --accent: #41F9CC;
  --accent-600: #1fc99a;
  --accent-700: #14a880;
  --accent-ink: #0B1A1F;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --nav-bg: #1A1F26;
  --nav-fg: #EEEEEE;
  --nav-muted: #8A92A0;
  --nav-search-bg: #393E46;
  --nav-border: rgba(255, 255, 255, 0.06);
  --logo-invert: 1;
  --hero-bg: #1A1F26;
  --hero-fg: #EEEEEE;
  --hero-muted: #8A92A0;
  --hero-eyebrow: #41F9CC;
  --hero-border: rgba(255, 255, 255, 0.08);
  --hero-img-bg: #2B3038;
  --green: #34D399;
  --shadow: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

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

button { font-family: inherit; cursor: pointer; }

/* ---------- Nav ---------- */

.v2-nav {
  background: var(--nav-bg);
  color: var(--nav-fg);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: saturate(1.2);
}

.v2-nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: nowrap;
  min-width: 0;
}

.v2-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.v2-logo {
  height: 36px;
  width: auto;
  display: block;
  transition: filter .15s ease;
}
[data-theme="dark"] .v2-logo {
  /* Flatten to white silhouette. Plain `invert(1)` would turn the teal arrow
     dark red (RGB inverted); `brightness(0) invert(1)` collapses all channels
     to white so the artwork reads cleanly on dark nav. */
  filter: brightness(0) invert(1);
}

.v2-footer-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  /* Footer always dark — always white silhouette. */
  filter: brightness(0) invert(1);
}

.v2-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 500;
  flex-wrap: nowrap;
  white-space: nowrap;
  line-height: 1.5;
}
.v2-nav-link {
  color: var(--nav-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
}
.v2-nav-link:hover { color: var(--nav-fg); }
.v2-nav-link.is-active { color: var(--nav-fg); font-weight: 700; border-bottom-color: var(--accent); }

.v2-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.v2-search {
  background: var(--nav-search-bg);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 260px;
  min-width: 0;
  flex-shrink: 1;
  font-size: 12.5px;
  color: var(--nav-muted);
  border: none;
}

@media (max-width: 1180px) {
  .v2-nav { padding: 0 24px; }
  .v2-nav-left { gap: 24px; }
  .v2-nav-links { gap: 18px; font-size: 13px; }
  .v2-search { width: 200px; }
}

.v2-icon-btn {
  width: 36px; height: 36px; border-radius: 18px;
  background: var(--nav-search-bg);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--nav-fg);
  border: none;
}
.v2-icon-btn:hover { background: var(--accent); color: var(--accent-ink); }

.v2-avatar {
  width: 36px; height: 36px; border-radius: 18px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile nav (<1024px) ---------- */

.v2-nav-toggle {
  display: none;
  background: transparent; color: var(--nav-fg); border: none;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}

@media (max-width: 1023px) {
  .v2-nav { padding: 0 16px; gap: 12px; }
  .v2-nav-links,
  .v2-search { display: none; }
  .v2-nav-toggle { display: inline-flex; }
  .v2-nav.is-open .v2-nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 12px 16px 16px;
    gap: 8px;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Layout ---------- */

.v2-main { padding: 24px 40px 60px; max-width: 1280px; margin: 0 auto; }

@media (max-width: 767px) {
  .v2-main { padding: 16px 16px 40px; }
}

.v2-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
@media (max-width: 1023px) { .v2-layout { grid-template-columns: 1fr; } }

/* ---------- Page head (deals / category pages) ---------- */

.v2-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.v2-page-head__text { min-width: 0; }
.v2-page-head__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 8px;
}
[data-theme="dark"] .v2-page-head__eyebrow { color: var(--accent); }
.v2-page-head__title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
  line-height: 1.1;
  color: var(--ink);
}
.v2-page-head__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.v2-page-head__sub .count-pill {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.3px;
}
.v2-page-head__sort {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.v2-sort-pill {
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 12.5px;
  transition: color .15s, border-color .15s, background .15s;
}
.v2-sort-pill:hover { color: var(--ink); border-color: var(--line-strong); }
.v2-sort-pill.is-active {
  background: var(--ink); color: var(--surface); border-color: var(--ink);
}
[data-theme="dark"] .v2-sort-pill.is-active {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}

@media (max-width: 767px) {
  .v2-page-head__title { font-size: 26px; }
  .v2-page-head { padding-top: 0; }
}

/* ---------- Category chip nav (horizontal scroll) ---------- */

.v2-chip-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 18px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.v2-chip-nav::-webkit-scrollbar { height: 6px; }
.v2-chip-nav::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }
.v2-chip-link {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color .15s, border-color .15s;
}
.v2-chip-link:hover { color: var(--ink); border-color: var(--line-strong); }
.v2-chip-link.is-active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
[data-theme="dark"] .v2-chip-link.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ---------- Sidebar (filter rail) ---------- */

.v2-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 20px;
  align-self: start;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow);
}
.v2-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.v2-sidebar-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--ink);
  text-transform: uppercase;
}
.v2-sidebar-reset {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.v2-sidebar-reset:hover { color: var(--accent-700); }
[data-theme="dark"] .v2-sidebar-reset:hover { color: var(--accent); }
.v2-sidebar-group { margin-bottom: 20px; }
.v2-sidebar-group h3 {
  font-size: 11.5px; font-weight: 700; margin: 0 0 10px;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted);
}
.v2-filter-form { display: flex; flex-direction: column; }

.v2-cat-list { display: flex; flex-direction: column; gap: 2px; }
.v2-cat-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 10px;
  transition: color .12s, background .12s, border-color .12s;
}
.v2-cat-list a:hover { color: var(--ink); background: var(--surface-2); }
.v2-cat-list a.is-active {
  color: var(--ink);
  font-weight: 700;
  background: var(--surface-2);
  border-color: var(--line);
}
.v2-cat-dot-accent {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(65, 249, 204, 0.2);
}

/* Segmented discount radio — looks like pill buttons */
.v2-seg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.v2-seg__opt {
  position: relative;
  cursor: pointer;
  text-align: center;
  padding: 9px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all .12s;
}
.v2-seg__opt:hover { color: var(--ink); border-color: var(--line-strong); }
.v2-seg__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.v2-seg__opt.is-active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
[data-theme="dark"] .v2-seg__opt.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.v2-range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.v2-range-head h3 { margin: 0; }
.v2-range-value {
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.v2-range {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--accent);
}
.v2-range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--muted);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  margin-top: 6px;
}

.v2-sidebar .v2-btn-apply,
.v2-btn.v2-btn-apply {
  /* Filter form is a column flex container. Base .v2-btn-primary sets
     `flex: 2 1 200px` which — crucially — is declared LATER in the file, so
     it wins the cascade and in a column layout gives the button a 200 px
     vertical basis with grow:2 → mint block balloons. Higher-specificity
     selector here pins the button to its content size. */
  flex: 0 0 auto;
  width: 100%;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.2;
  margin-top: 4px;
  min-height: 0;
}
.v2-btn-apply:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1023px) {
  .v2-sidebar { position: static; }
}

/* Empty state */
.v2-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.v2-empty__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.v2-empty h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.v2-empty p { margin: 0; color: var(--muted); font-size: 13px; max-width: 420px; }

/* ---------- Hero strip ---------- */

.v2-hero {
  background: var(--hero-bg);
  color: var(--hero-fg);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--hero-border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
/* Accent corner wash — subtle mint glow, anchors the card visually */
.v2-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(65,249,204,.18), transparent 70%);
  pointer-events: none;
}
.v2-hero-body { min-width: 0; position: relative; z-index: 1; }
.v2-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--hero-eyebrow); margin-bottom: 12px; text-transform: uppercase;
}
.v2-hero-eyebrow .pct {
  background: var(--accent); color: var(--accent-ink);
  padding: 2px 8px; border-radius: 100px; font-size: 10.5px; letter-spacing: 0.5px;
}
.v2-hero h1 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px;
  margin: 0 0 10px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  color: var(--hero-fg);
}
.v2-hero-sub { font-size: 13.5px; color: var(--hero-muted); margin: 0 0 18px; }
.v2-hero-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.v2-hero-price { font-size: 34px; font-weight: 900; letter-spacing: -1px; font-feature-settings: "tnum"; }
.v2-hero-old {
  font-size: 12px; color: var(--hero-muted); font-weight: 650;
}
.v2-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.1px;
  border: none;
  transition: transform .12s, box-shadow .12s;
}
.v2-hero-cta:hover {
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(65,249,204,.35);
}
.v2-hero-img-wrap {
  width: 220px; height: 180px;
  border-radius: 14px;
  background: var(--hero-img-bg);
  padding: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
  border: 1px solid var(--hero-border);
}
.v2-hero-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  width: auto; height: auto;
}
@media (max-width: 767px) {
  .v2-hero { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .v2-hero-img-wrap { width: 100%; height: 200px; order: -1; }
  .v2-hero h1 { font-size: 22px; }
  .v2-hero-price { font-size: 28px; }
}

/* ---------- Category blobs ---------- */

.v2-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
@media (max-width: 767px) { .v2-cats { grid-template-columns: repeat(2, 1fr); } }

.v2-cat {
  display: flex; flex-direction: column; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 12px;
  color: var(--ink);
  transition: transform .15s, border-color .15s;
}
.v2-cat:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.v2-cat-dot {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  color: var(--accent-ink);
}
.v2-cat-dot.is-surface { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.v2-cat-label { font-size: 12.5px; font-weight: 600; }

/* ---------- Section headers ---------- */

.v2-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 14px;
}
.v2-section-head h2 { font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.3px; }
.v2-section-head .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Bright mint (#41F9CC) fails WCAG on paper (#EEEEEE) — swap to darker
   accent-700 (#14a880) on light, keep bright mint on dark. */
.v2-section-head .more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(20, 168, 128, 0.1);
  transition: background .15s, color .15s;
}
.v2-section-head .more:hover {
  background: rgba(20, 168, 128, 0.18);
  color: var(--accent-700);
}
[data-theme="dark"] .v2-section-head .more {
  color: var(--accent);
  background: rgba(65, 249, 204, 0.1);
}
[data-theme="dark"] .v2-section-head .more:hover {
  color: var(--accent);
  background: rgba(65, 249, 204, 0.18);
}

.v2-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--accent-700);
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(20, 168, 128, 0.1);
}
[data-theme="dark"] .v2-live {
  color: var(--accent);
  background: rgba(65, 249, 204, 0.1);
}
.v2-live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-700);
  box-shadow: 0 0 0 3px rgba(20, 168, 128, 0.2);
  animation: v2-pulse 1.6s ease-in-out infinite;
}
[data-theme="dark"] .v2-live .dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(65, 249, 204, 0.3);
}
@keyframes v2-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* ---------- Deal cards ---------- */

.v2-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1199px) { .v2-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .v2-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 459px)  { .v2-grid-4 { grid-template-columns: 1fr; } }

.v2-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 899px)  { .v2-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px)  { .v2-grid-3 { grid-template-columns: 1fr; } }

.v2-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow);
}
.v2-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
[data-theme="dark"] .v2-card:hover { box-shadow: 0 0 0 1px var(--accent); }
.v2-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.v2-card-img { width: 100%; height: 100%; object-fit: contain; }
.v2-card-cat {
  font-size: 10px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600; margin-top: 4px;
}
.v2-card-title {
  font-size: 13px; font-weight: 600; margin: 4px 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.v2-card-price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.v2-price { font-weight: 800; font-size: 16px; color: var(--ink); }
.v2-price-old { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.v2-card-price-note {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--muted);
}
.v2-card-meta { font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.v2-card-source {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.v2-card-source--amazon {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.v2-card-source--awin {
  background: var(--accent);
  color: var(--accent-ink);
}
.v2-awin-card {
  min-height: 220px;
}
.v2-awin-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}
.v2-awin-shop {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.v2-awin-expiry {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
}
.v2-awin-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--accent-700);
  font-size: 12.5px;
  font-weight: 800;
}
[data-theme="dark"] .v2-awin-cta { color: var(--accent); }

.v2-badge-discount {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 10.5px;
  padding: 3px 7px; border-radius: 4px;
  letter-spacing: 0.3px;
}
.v2-heart-btn {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.v2-heart-btn:hover { color: var(--accent); }

/* ---------- Horizontal scroll row (best deals) ---------- */

.v2-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  margin-bottom: 28px;
  scrollbar-width: thin;
}
.v2-scroll-row .v2-card {
  min-width: 220px; max-width: 220px; scroll-snap-align: start;
}

/* ---------- Marquee (auto-scrolling Top 10) ---------- */

.v2-marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  /* Feather edges so cards fade in/out smoothly */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
}
.v2-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  /* Track holds two copies of the deals. Animating to -50% leaves the second
     copy exactly where the first began, so the loop is seamless. Duration
     ~60 s = slow, readable pace. Hover pauses so users can read. */
  animation: v2-marquee-slide 60s linear infinite;
  will-change: transform;
}
.v2-marquee:hover .v2-marquee__track,
.v2-marquee:focus-within .v2-marquee__track { animation-play-state: paused; }

.v2-marquee__card {
  flex: 0 0 auto;
  min-width: 240px;
  max-width: 240px;
}

@keyframes v2-marquee-slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  /* Respect OS-level reduced-motion preference — static row, user-scrolled */
  .v2-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .v2-marquee__track { animation: none; width: max-content; }
}

/* ---------- Newest — horizontal list rows ---------- */

.v2-list { display: flex; flex-direction: column; gap: 10px; }
.v2-list-row {
  display: flex; gap: 12px; padding: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; align-items: center;
  color: var(--ink);
}
.v2-list-row:hover { border-color: var(--accent); color: var(--ink); }
.v2-list-thumb {
  width: 68px; height: 68px; flex-shrink: 0;
  background: var(--surface-2); border-radius: 8px; overflow: hidden;
}
.v2-list-thumb img { width: 100%; height: 100%; object-fit: contain; }
.v2-list-body { flex: 1; min-width: 0; }
.v2-list-title {
  font-size: 13px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.v2-list-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.v2-list-prices .v2-price { font-size: 14px; }
.v2-pct { font-size: 11px; font-weight: 800; color: var(--accent); }
.v2-list-meta { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.v2-icon-static { flex-shrink: 0; }

/* ---------- Deal detail ---------- */

.v2-deal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 8px;
}
@media (max-width: 899px) { .v2-deal-grid { grid-template-columns: 1fr; } }

.v2-deal-gallery {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.v2-deal-gallery img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
  background: var(--surface-2);
  border-radius: 10px;
}
.v2-deal-thumbs {
  display: flex; gap: 8px; margin-top: 14px;
}
.v2-deal-thumb {
  width: 64px; height: 64px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.v2-deal-thumb.is-active { border: 2px solid var(--accent); }

.v2-chip-row { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.v2-chip {
  font-size: 10px; font-weight: 800; padding: 4px 8px;
  border-radius: 4px; letter-spacing: 1px; text-transform: uppercase;
}
.v2-chip.is-accent { background: var(--accent); color: var(--accent-ink); }
.v2-chip.is-outline { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }

.v2-deal h1 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px;
  margin: 0 0 8px; line-height: 1.25;
}
.v2-deal-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }

.v2-price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-top: 14px;
}
.v2-price-big {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.v2-price-big .big {
  font-size: 40px; font-weight: 900; letter-spacing: -1px; color: var(--ink);
}
.v2-price-big .old {
  font-size: 16px; color: var(--muted);
}
.v2-price-big .pct {
  background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 4px;
}
.v2-savings {
  font-size: 12px; color: var(--green); font-weight: 700; margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
}
.v2-reference-price {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 650;
}
.v2-price-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.v2-price-note--hero {
  max-width: 52ch;
  color: var(--hero-muted);
  margin-bottom: 16px;
}

.v2-cta-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700; border: none;
  transition: transform .12s;
}
.v2-btn:hover { transform: translateY(-1px); }
.v2-btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.v2-btn-primary {
  flex: 2 1 200px;
  background: var(--accent); color: var(--accent-ink);
}
.v2-btn-primary:hover { color: var(--accent-ink); }
.v2-btn-secondary {
  flex: 1 1 120px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
}
.v2-btn-icon {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); padding: 13px 14px;
}

.v2-region-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.v2-region {
  padding: 8px 14px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); color: var(--ink);
}
.v2-region:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Affiliate disclosure ---------- */
.v2-affiliate-note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
/* Compact variant — sits directly under a link cluster without extra border */
.v2-affiliate-note--inline {
  margin: 14px 0 0;
  padding-top: 0;
  border-top: none;
  font-size: 11px;
}

.v2-footer-disclosure {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 42ch;
}

.v2-region-block {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* ---------- Share button + popover ---------- */
.v2-share { position: relative; flex: 1 1 140px; }
.v2-share-btn {
  width: 100%;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
}
.v2-share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-theme="dark"] .v2-share-menu {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.v2-share-menu[hidden] { display: none; }
.v2-share-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border: none; background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 500; text-align: left;
  border-radius: 8px; cursor: pointer;
  transition: background .12s;
}
.v2-share-opt:hover,
.v2-share-opt:focus-visible { background: var(--surface-2); outline: none; }
.v2-share-ico {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.v2-share-ico--whatsapp { background: #25D366; }
.v2-share-ico--telegram { background: #26A5E4; }
.v2-share-ico--twitter { background: #000000; }
.v2-share-ico--facebook { background: #1877F2; }
.v2-share-ico--email { background: #EA4335; }
.v2-share-ico--copy { background: var(--ink); }
.v2-share-opt.is-copied { color: var(--green); font-weight: 700; }
.v2-share-opt.is-copied .v2-share-label::after { content: " ✓"; }

@media (max-width: 559px) {
  .v2-share-menu { left: 0; right: auto; }
}

.v2-deal-desc {
  margin-top: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
  font-size: 13.5px; line-height: 1.6;
}
.v2-deal-desc h3 {
  font-size: 14px; font-weight: 700; margin: 0 0 8px;
}
.v2-subheading-spaced { margin-top: 18px; }
.v2-stock-status {
  font-size: 11.5px;
  color: var(--green);
  margin-top: 10px;
  font-weight: 700;
}
.v2-sidebar-label--spaced { margin-bottom: 10px; }

/* ---------- Article (static pages + blog detail) ---------- */

.v2-article {
  max-width: 760px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  color: var(--ink);
}
.v2-article h1 {
  font-size: 30px; font-weight: 800; letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.v2-article h2 {
  font-size: 18px; font-weight: 700; margin: 28px 0 10px;
}
.v2-article h3 { font-size: 15px; font-weight: 700; margin: 22px 0 8px; }
.v2-article p { margin: 0 0 12px; line-height: 1.65; color: var(--ink); }
.v2-article ul { padding-left: 20px; line-height: 1.7; }
.v2-article a { color: var(--accent); text-decoration: underline; }
.v2-article img { border-radius: 10px; margin: 16px 0; }
.v2-article-meta {
  font-size: 12px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 600; margin-bottom: 10px;
}
.v2-article--center { text-align: center; }
.v2-blog-body { margin-top: 16px; }
.v2-blog-back {
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 767px) { .v2-article { padding: 24px; } }

/* ---------- Blogs grid ---------- */

.v2-blog-card { overflow: hidden; padding: 0; }
.v2-blog-card .cover {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--surface-2);
  border-radius: 12px 12px 0 0;
}
.v2-blog-card .body { padding: 14px 16px 18px; }
.v2-blog-card .meta { font-size: 11px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.v2-blog-card h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 8px; line-height: 1.35;
}
.v2-blog-card .sub { font-size: 12px; color: var(--muted); }

.v2-pager {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin: 32px 0 10px;
}
.v2-pager button {
  padding: 8px 14px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: 13px;
}
.v2-pager button[disabled] { opacity: .4; cursor: not-allowed; }
.v2-pager .page-label { font-size: 13px; color: var(--muted); }

/* ---------- About page ---------- */

.v2-team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 767px) { .v2-team { grid-template-columns: 1fr; } }
.v2-team--compact { margin-top: 16px; }
.v2-team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.v2-team-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.v2-team-title {
  font-size: 11px; color: var(--accent); font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.v2-expertise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.v2-expertise span {
  font-size: 11px; padding: 4px 9px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}

.v2-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 767px) { .v2-values { grid-template-columns: 1fr; } }
.v2-value { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.v2-value h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.v2-value-copy,
.v2-support-copy {
  margin: 0;
  font-size: 13px;
}
.v2-card-title-flush { margin-top: 0; }

/* ---------- Footer ---------- */

/* Footer stays dark in both themes — brand anchor */
.v2-footer {
  background: #1A1F26; color: #EEEEEE;
  padding: 40px 40px 32px; margin-top: 60px;
  border-top: 3px solid var(--accent);
}
.v2-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.v2-footer h5 { margin: 0 0 8px; color: #FFFFFF; font-size: 16px; font-weight: 800; font-style: italic; letter-spacing: -0.5px; }
.v2-footer p { color: #8A92A0; }
.v2-brand-dot { color: var(--accent); }
.v2-footer-tagline {
  font-size: 13px;
  margin: 4px 0 0;
}
.v2-footer ul { list-style: none; padding: 0; margin: 0; }
.v2-footer li { margin-bottom: 6px; }
.v2-footer a { color: #8A92A0; font-size: 13px; }
.v2-footer a:hover { color: var(--accent); }

@media (max-width: 767px) { .v2-footer { padding: 24px 16px; } }

/* ---------- Theme toggle button ---------- */

.v2-theme-toggle {
  position: relative;
  cursor: pointer;
}
.v2-theme-toggle .icon-sun,
.v2-theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .v2-theme-toggle .icon-sun { display: inline-flex; }
:root .v2-theme-toggle .icon-moon { display: inline-flex; }
[data-theme="dark"] .v2-theme-toggle .icon-moon { display: none; }

/* ---------- Utility ---------- */

.v2-muted { color: var(--muted); }
.v2-muted-italic { font-style: italic; }
.v2-section-spaced,
.v2-heading-spaced { margin-top: 32px; }
.v2-heading-spaced-sm { margin-top: 28px; }
.v2-empty-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
}
.v2-empty-reset { max-width: 200px; }
.v2-author-post-count { margin-top: 14px; }
.v2-legal-copyright {
  font-size: 12px;
  margin-top: 8em;
}
.v2-legal-stand {
  display: inline-block;
  vertical-align: top;
  margin-left: 5px;
  float: right;
  white-space: nowrap;
}
.v2-clear-right { clear: right; }
.v2-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.v2-breadcrumb b { color: var(--ink); }

.v2-count-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.v2-count-row .count { font-size: 13px; color: var(--muted); }
.v2-sort {
  display: flex; gap: 6px; font-size: 12px;
}
.v2-sort .pill {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); color: var(--ink); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.v2-sort .pill:hover { border-color: var(--accent); color: var(--ink); }
.v2-sort .pill.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
[data-theme="dark"] .v2-sort .pill.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.v2-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.v2-pagination .page-link {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}
.v2-pagination .page-link:hover { border-color: var(--accent); color: var(--ink); }
.v2-pagination .page-link.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.v2-pagination .page-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.v2-editorial-callout {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.08), rgba(255, 255, 255, 0.9));
}
[data-theme="dark"] .v2-editorial-callout {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.14), rgba(21, 26, 33, 0.92));
}
.v2-editorial-callout p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}
.v2-editorial-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.v2-editorial-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.v2-author-hero {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 28px;
}
.v2-author-hero__meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
}
.v2-author-hero h1 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -1px;
}
.v2-author-hero__sub {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
  max-width: 72ch;
}

.v2-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 8px;
}
@media (max-width: 767px) { .v2-method-grid { grid-template-columns: 1fr; } }
.v2-method-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.v2-method-card h2 {
  margin-top: 0;
  font-size: 18px;
}

/* ---------- Nav dropdowns (Marken / Themen) ---------- */

.v2-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.v2-nav-dropdown-toggle {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 4px 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font: inherit;
  line-height: 1.5;
  color: inherit;
  white-space: nowrap;
}
.v2-nav-chevron {
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
  color: var(--nav-muted);
}
.v2-nav-dropdown:hover .v2-nav-chevron,
.v2-nav-dropdown:focus-within .v2-nav-chevron,
.v2-nav-dropdown.is-open .v2-nav-chevron {
  transform: rotate(180deg);
  color: var(--nav-fg);
}
.v2-nav-dropdown.is-active > .v2-nav-dropdown-toggle {
  color: var(--nav-fg);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

.v2-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 220px;
  padding: 8px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 16px rgba(15, 23, 42, 0.06),
    0 24px 48px rgba(15, 23, 42, 0.12);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transform-origin: top left;
  transition:
    opacity .18s ease,
    transform .22s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .22s;
  pointer-events: none;
}
[data-theme="dark"] .v2-nav-dropdown-menu {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 16px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.v2-nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: var(--nav-bg);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}
.v2-nav-dropdown:hover > .v2-nav-dropdown-menu,
.v2-nav-dropdown:focus-within > .v2-nav-dropdown-menu,
.v2-nav-dropdown.is-open > .v2-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity .18s ease,
    transform .22s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 0s;
}
.v2-nav-dropdown-item {
  position: relative;
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-fg);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, padding-left .18s ease;
}
.v2-nav-dropdown-item:hover {
  background: var(--surface-2);
  color: var(--ink);
  padding-left: 16px;
}
[data-theme="dark"] .v2-nav-dropdown-item:hover {
  background: rgba(65, 249, 204, 0.08);
  color: var(--accent);
}
.v2-nav-dropdown-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height .18s ease;
}
.v2-nav-dropdown-item:hover::before { height: 16px; }

@media (max-width: 1023px) {
  .v2-nav-dropdown { width: 100%; flex-direction: column; align-items: stretch; }
  .v2-nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 8px 0; }
  .v2-nav-dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 6px 12px;
    transform: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    min-width: 0;
    transition: none;
  }
  .v2-nav-dropdown-menu::before { display: none; }
  .v2-nav-dropdown.is-open > .v2-nav-dropdown-menu {
    visibility: visible;
    pointer-events: auto;
  }
  .v2-nav-dropdown-item { padding: 6px 8px; font-size: 12.5px; }
  .v2-nav-dropdown-item:hover { padding-left: 8px; }
  .v2-nav-dropdown-item::before { display: none; }
  .v2-nav-dropdown:hover > .v2-nav-dropdown-menu,
  .v2-nav-dropdown:focus-within > .v2-nav-dropdown-menu {
    visibility: hidden;
    pointer-events: none;
  }
  .v2-nav-dropdown.is-open > .v2-nav-dropdown-menu {
    visibility: visible;
    pointer-events: auto;
  }
}

/* ---------- Search bar (top nav) ---------- */

.v2-search {
  border: none;
  margin: 0;
}
.v2-search-submit {
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  color: var(--nav-muted);
  cursor: pointer;
}
.v2-search-submit:hover { color: var(--accent-700); }
.v2-search-input {
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--nav-fg);
  padding: 0;
}
.v2-search-input::placeholder { color: var(--nav-muted); }

.v2-search-icon { display: none; }
@media (max-width: 1023px) {
  .v2-search-icon { display: inline-flex; }
  .v2-nav.is-search-open .v2-search {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: var(--nav-bg);
    border-top: 1px solid var(--line);
    width: 100%;
    border-radius: 0;
  }
}

/* ---------- Search results page ---------- */

.v2-search-page-form {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.v2-search-page-input {
  flex: 1;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.v2-search-page-input:focus { border-color: var(--accent); }

.v2-search-results { margin-top: 12px; }

/* ---------- Source and discount filter pills ---------- */

.v2-source-pills,
.v2-discount-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.v2-source-pill,
.v2-discount-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.v2-source-pill:hover,
.v2-discount-pill:hover { color: var(--ink); border-color: var(--line-strong); }
.v2-source-pill.is-active,
.v2-discount-pill.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
[data-theme="dark"] .v2-source-pill.is-active,
[data-theme="dark"] .v2-discount-pill.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Hub teaser (homepage strip) ---------- */

.v2-hub-teaser { margin: 24px 0 8px; }
.v2-hub-teaser-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1023px) { .v2-hub-teaser-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .v2-hub-teaser-grid { grid-template-columns: repeat(2, 1fr); } }

.v2-hub-teaser-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .1s ease;
}
.v2-hub-teaser-card:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}
.v2-hub-teaser-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
}
.v2-hub-teaser-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.v2-hub-teaser-count {
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- Hub page hero ---------- */

.v2-hub-hero {
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v2-hub-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent-700);
}
[data-theme="dark"] .v2-hub-hero__eyebrow { color: var(--accent); }
.v2-hub-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.v2-hub-hero__intro {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- Magazin tabs + cards ---------- */

.v2-magazin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}
.v2-magazin-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}
.v2-magazin-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.v2-magazin-tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.v2-magazin-card { padding: 0; overflow: hidden; }
.v2-magazin-card .body { padding: 12px 14px 14px; }
.v2-magazin-kind-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-right: 6px;
}

/* ---------- Footer social row ---------- */

.v2-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.v2-social li { margin: 0; }
.v2-social a {
  width: 32px; height: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #EEEEEE;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.v2-social a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
