/* ================================================================
   ImprimeBarato v5 — Clean, centrado, preço total c/IVA+portes
   Paleta: azul suave · gradiente · verde "melhor"
   Layout: coluna central + anúncios laterais inline
================================================================ */

:root {
  --bg:        #eef2f8;
  --surface:   #ffffff;
  --border:    #d4dae8;
  --border-hi: #aab4cc;

  --text:      #141c2e;
  --sub:       #3a4860;
  --muted:     #7a88a8;

  --blue:      #2563eb;
  --blue-dk:   #1a4fcc;
  --blue-lt:   #ebf0fd;
  --blue-bdr:  #9db4f4;

  --green:     #1a6e32;
  --green-lt:  #e8f5ec;
  --green-bdr: #7ec094;

  --r:    10px;
  --r-sm:  6px;
  --sh:    0 2px 6px rgba(30,60,160,.07), 0 8px 24px rgba(30,60,160,.10);
  --sh-hover: 0 4px 12px rgba(30,60,160,.12), 0 16px 40px rgba(30,60,160,.15);
}

@font-face {
  font-family: "Noto Sans Web";
  src: url("/fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Web";
  src: url("/fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(37,99,235,.18) 0%, transparent 70%),
    radial-gradient(ellipse 700px 400px at 90% 20%, rgba(99,130,235,.14) 0%, transparent 65%),
    radial-gradient(ellipse 600px 600px at 50% 80%, rgba(37,99,235,.09) 0%, transparent 70%),
    linear-gradient(175deg, #c8d9f5 0%, #dce8fb 30%, #e8f0fc 60%, #f0f5ff 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none }
img { display: block }

/* ── topbar ─────────────────────────────────────── */
.topbar {
  background: #112354;
  border-bottom: none;
  box-shadow: 0 3px 16px rgba(10,25,80,.30);
  position: sticky; top: 0; z-index: 100;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding-top: 10px;
}
.brand-logo {
  display: block;
  height: 200px;
  width: auto;
  max-width: min(360px, 58vw);
  object-fit: contain;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  white-space: nowrap;
}
.lang-flag {
  display: inline-block;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16);
  flex-shrink: 0;
}
.flag-pt { background: linear-gradient(90deg, #0a8f47 0 40%, #d21f26 40% 100%); }
.flag-es { background: linear-gradient(180deg, #b91c1c 0 25%, #f2c94c 25% 75%, #b91c1c 75% 100%); }
.flag-it { background: linear-gradient(90deg, #1f8a43 0 33.33%, #ffffff 33.33% 66.66%, #c62828 66.66% 100%); }
.flag-en {
  background:
    linear-gradient(0deg, transparent 42%, #c62828 42% 58%, transparent 58%),
    linear-gradient(90deg, transparent 42%, #c62828 42% 58%, transparent 58%),
    #1f3c88;
}
.flag-de { background: linear-gradient(180deg, #111111 0 33.33%, #c62828 33.33% 66.66%, #d9ab2f 66.66% 100%); }
.lang-item.is-active {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.lang-item.is-soon {
  opacity: .72;
}

.nav { display: flex; gap: 4px; align-items: center }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background .13s, color .13s, border-color .13s;
}
.nav a:hover  {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

/* ── faixa de anúncio ────────────────────────────── */
.ad-band {
  background: #f5f7fd;
  border-bottom: 1px solid #dde3f2;
}
.ad-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ── ad slot placeholder ────────────────────────── */
.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}
.ad-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ad-shell.is-hidden {
  display: none;
}
.ad-slot {
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  display: block;
  overflow: hidden;
}
.ad-728x90  { width: 728px; height: 90px;  max-width: 100% }
.ad-300x250 { width: 300px; height: 250px; flex-shrink: 0 }
.ad-300x600 { width: 300px; height: 600px; flex-shrink: 0 }
.ad-320x50  { width: 320px; height: 50px;  max-width: 100%; display: none }

/* ── page center ────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ── hero ────────────────────────────────────────── */
.hero {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh);
  position: relative;
}
.hero-img { position: relative; aspect-ratio: 1536/395 }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30% }
.hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,18,10,.55) 0%, rgba(14,18,10,.18) 55%, transparent 100%),
    linear-gradient(180deg, transparent 60%, rgba(14,18,10,.18) 100%);
}
.hero-copy {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 22px 26px;
}
.hero-copy .inner { max-width: 760px }
.hero-copy h1 {
  margin: 0 0 10px;
  color: rgba(255,255,255,.94);
  font-family: "Noto Sans Web", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0,0,0,.28);
}
.hero-copy .hero-accent {
  color: #d9ab2f;
}
.hero-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  font-style: italic;
  text-shadow: 0 3px 10px rgba(0,0,0,.34);
}
.hero-copy .actions {
  margin-top: 14px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--blue);
  border: none;
  transition: background .13s, transform .12s;
}
.btn-cta:hover { background: #e8efff; transform: translateY(-1px) }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.38);
  color: #fff;
  transition: background .13s;
}
.btn-outline:hover { background: rgba(255,255,255,.22) }

/* ── category cards ──────────────────────────────── */
.cat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  position: relative;
}
.cat-card:hover {
  border-color: var(--blue-bdr);
  transform: translateY(-3px);
  box-shadow: var(--sh-hover);
}
.cat-card picture { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative }
.cat-card picture::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,14,34,.22) 0%, rgba(6,14,34,0) 36%, rgba(6,14,34,0) 100%);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; display: block }
.cat-card.cat-flyers img { object-position: center -5%; }
.cat-card .cap {
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  border-top: 1px solid var(--border);
}
.cat-copy {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 1;
  pointer-events: none;
}
.cat-title {
  color: #fff;
  font-family: "Noto Sans Web", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,.24);
}

/* ── comparador box ──────────────────────────────── */
.comparador {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 4px 16px rgba(30,60,160,.10), 0 20px 50px rgba(30,60,160,.12);
  overflow: hidden;
}

/* ── thumb picker ────────────────────────────────── */
.thumb-strip {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.thumb-strip-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumb {
  appearance: none;
  border: 2px solid var(--border);
  background: var(--surface);
  border-radius: var(--r);
  padding: 7px;
  cursor: pointer;
  text-align: center;
  transition: border-color .13s, background .13s;
}
.thumb picture { display: block; aspect-ratio: 4/3; border-radius: 5px; overflow: hidden }
.thumb img { width: calc(100% + 8px); height: 100%; object-fit: cover; margin-right: -8px }
.thumb-cv-eco img {
  width: 100%;
  margin-right: 0;
  object-position: 38% center;
}
.thumb span { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; color: var(--sub); line-height: 1.2 }
.thumb:hover  { border-color: var(--blue-bdr); background: var(--blue-lt) }
.thumb.active { border-color: var(--blue); background: var(--blue-lt) }
.thumb.active span { color: var(--blue) }

/* ── sku info bar ─────────────────────────────────── */
.sku-bar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sku-copy { min-width: 260px; flex: 1 1 420px }
.sku-bar .sku-title { font-size: 15px; font-weight: 800 }
.sku-bar .sku-spec  { font-size: 12px; color: var(--muted); margin-top: 2px }
.sku-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.sku-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
}
.sku-qty span {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
  color: var(--muted);
}
.sku-qty select {
  min-width: 120px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
}
.sku-qty select:disabled {
  opacity: .65;
  cursor: default;
}

/* ── best price highlight ────────────────────────── */
.best-banner {
  margin: 14px 18px 0;
  padding: 14px 18px;
  background: var(--blue-lt);
  border: 1px solid var(--blue-bdr);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.best-banner .bb-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
}
.best-banner .bb-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.best-banner .bb-sub {
  font-size: 12px;
  color: var(--sub);
  margin-top: 3px;
}
.best-banner .bb-right {
  margin-left: auto;
  font-size: 13px;
  color: var(--sub);
}

/* ── price cards list ────────────────────────────── */
.price-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  box-shadow: var(--sh);
  transition: border-color .13s, box-shadow .13s, transform .13s;
}
.price-card:hover { border-color: var(--blue-bdr); box-shadow: var(--sh-hover); transform: translateY(-2px) }
.price-card.is-best {
  border-color: var(--blue-bdr);
  background: var(--blue-lt);
}
.pc-vendor {
  width: 130px;
  flex-shrink: 0;
}
.pc-name {
  font-size: 15px;
  font-weight: 800;
}
.pc-eta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.pc-best-tag {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pc-total {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  width: 120px;
  flex-shrink: 0;
  text-align: right;
}
.price-card.is-best .pc-total { color: var(--blue) }
.pc-breakdown {
  flex: 1;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.pc-cta {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  transition: background .13s;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-card.is-best .pc-cta { background: var(--blue-dk) }
.pc-cta:hover { opacity: .88 }
.pc-cta.is-disabled {
  background: #d7dce8;
  color: #6f7a96;
  pointer-events: none;
}

/* ── disclaimer ──────────────────────────────────── */
.disclaimer {
  padding: 12px 18px 14px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  line-height: 1.5;
  background: var(--bg);
}

/* ── ad in-content ───────────────────────────────── */
.ad-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ── sidebar ad (float right) ────────────────────── */
/* usado via wrapper externo */
.with-side-ad {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.with-side-ad .main-col { flex: 1; min-width: 0 }
.side-ad-col {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}
.side-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--sh);
  box-shadow: var(--sh);
}
.side-info h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}
.side-info ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 7px;
}
.side-info li {
  font-size: 13px;
  color: var(--sub);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.side-info li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700; font-size: 11px;
  top: 1px;
}
.side-info .note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── footer ──────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-inner span {
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}
.footer .disclaimer {
  text-align: center;
}

/* ── SEO section ─────────────────────────────────── */
.seo-section {
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 36px 40px 40px;
  margin-top: 16px;
}
.seo-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.3;
}
.seo-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}
.seo-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sub);
  margin: 0 0 12px;
}
.seo-section ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
}
.seo-section ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sub);
  margin-bottom: 2px;
}
.seo-section p:last-child { margin-bottom: 0 }
/* FAQ */
.seo-faq { margin: 0; padding: 0 }
.seo-faq dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 4px;
}
.seo-faq dd {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sub);
  margin: 0;
}

/* ── guide article ───────────────────────────────── */
.guide-article {
  padding: 0 0 8px;
}
.guide-cover {
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
  aspect-ratio: 16/5;
  margin: 0;
  position: relative;
}
.guide-cover picture { display: block; height: 100% }
.guide-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 50% }
.guide-cover-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 34px 24px 24px;
}
.guide-cover-title {
  color: #fff;
  font-family: "Noto Sans Web", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(28px, 5.2vw, 58px);
  line-height: .94;
  font-weight: 700;
  letter-spacing: -.03em;
  text-shadow: 0 4px 14px rgba(0,0,0,.34);
}
.guide-article h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 40px 8px;
  line-height: 1.3;
}
.guide-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 40px 24px;
}
.guide-article h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 40px 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.guide-article h2:first-of-type { border-top: none; padding-top: 0 }
.guide-article h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 40px 8px;
}
.guide-article p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sub);
  margin: 0 40px 12px;
}
.guide-article ul {
  margin: 0 40px 14px;
  padding-left: 20px;
}
.guide-article ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sub);
  margin-bottom: 4px;
}
.guide-article .disclaimer {
  margin: 32px 40px 8px;
  border-radius: var(--r-sm);
}
/* checklist */
.guide-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin: 0 40px 28px;
}
.gc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface);
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--sub);
}
.gc-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
/* tabelas */
.guide-table-wrap {
  margin: 0 40px 16px;
  overflow-x: auto;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.guide-table th {
  background: var(--blue-lt);
  color: var(--text);
  font-weight: 700;
  text-align: left;
  padding: 8px 12px;
  border: 1px solid var(--blue-bdr);
}
.guide-table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  color: var(--sub);
}
.guide-table tr:nth-child(even) td { background: var(--bg) }
/* code block */
.guide-code {
  background: var(--blue-lt);
  border: 1px solid var(--blue-bdr);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
  margin: 0 40px 20px;
}

/* ── responsive ──────────────────────────────────── */
@media (max-width: 1000px) {
  .with-side-ad { flex-direction: column }
  .side-ad-col { width: 100%; position: static; flex-direction: row; flex-wrap: wrap }
  .side-ad-col .side-info { flex: 1; min-width: 220px }
  .ad-300x250, .ad-300x600 { display: none }
  .ad-728x90 { display: flex }
  .page { padding: 20px 20px 32px }
  .topbar-inner { padding: 8px 20px; height: auto; min-height: 88px }
  .topbar-tools { gap: 10px }
  .brand { padding-top: 0 }
  .brand-logo { height: 82px; max-width: 220px }
  .hero-copy .inner { max-width: 62% }
  .hero-copy h1 { font-size: clamp(30px, 4.2vw, 46px) }
  .hero-copy p { font-size: 14px }
  .thumbs { grid-template-columns: repeat(4, 1fr) }
  .ad-band-inner { padding: 8px 20px }
  .seo-section { padding: 28px 24px 32px }
}
@media (max-width: 620px) {
  .topbar-inner {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .brand {
    width: auto;
    justify-content: center;
    padding-top: 0;
    line-height: 0;
    overflow: hidden;
  }
  .topbar-tools {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .lang-switch {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    gap: 4px;
    padding: 0 8px;
  }
  .lang-item { flex: 0 0 auto; font-size: 10px; padding: 5px 7px }
  .brand-logo {
    width: min(300px, 82vw);
    height: 74px;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
  .nav { justify-content: center }
  .nav a { padding-top: 2px; padding-bottom: 2px; }
  .hero-img { aspect-ratio: 4 / 3 }
  .hero-img img { object-position: 66% 30% }
  .hero-img::after {
    background:
      linear-gradient(180deg, rgba(14,18,10,.60) 0%, rgba(14,18,10,.18) 48%, rgba(14,18,10,.06) 100%),
      linear-gradient(90deg, rgba(14,18,10,.52) 0%, rgba(14,18,10,.16) 50%, transparent 100%);
  }
  .hero-copy {
    align-items: flex-start;
    padding: 18px;
  }
  .hero-copy .inner { max-width: 100% }
  .hero-copy h1 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.02;
    max-width: 72%;
  }
  .hero-copy p {
    max-width: 82%;
    font-size: 13px;
    line-height: 1.4;
  }
  .hero-copy .actions { margin-top: 12px; gap: 8px }
  .btn-cta, .btn-outline { padding: 9px 16px; font-size: 13px }
  .cat-row { grid-template-columns: 1fr }
  .thumbs  { grid-template-columns: repeat(3, 1fr) }
  .price-card { flex-wrap: wrap; gap: 10px }
  .pc-vendor { width: 100% }
  .pc-total  { width: auto; text-align: left; font-size: 22px }
  .pc-breakdown { width: 100%; order: 4 }
  .ad-728x90 { display: none }
  .ad-320x50 { display: flex }
}
@media (max-width: 400px) {
  .thumbs { grid-template-columns: repeat(2, 1fr) }
  .best-banner .bb-price { font-size: 26px }
}

/* ── footer legal links ──────────────────────────── */
.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 32px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  align-items: center;
  font-size: 12px;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--blue); text-decoration: underline }
.footer-sep { color: var(--border); margin: 0 8px }

/* ── cookie banner ───────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--blue);
  box-shadow: 0 -4px 24px rgba(30,60,160,.15);
  z-index: 9999;
  padding: 16px 24px;
}
.cb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cb-text {
  flex: 1;
  min-width: 240px;
}
.cb-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.cb-text p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0;
}
.cb-text a {
  color: var(--blue);
  text-decoration: underline;
}
.cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cb-btn {
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.cb-accept {
  background: var(--blue);
  color: #fff;
}
.cb-accept:hover { background: var(--blue-dk) }
.cb-reject {
  background: transparent;
  color: var(--sub);
  border: 1px solid var(--border-hi);
}
.cb-reject:hover { background: var(--bg) }
@media (max-width: 620px) {
  .cb-inner { flex-direction: column; align-items: flex-start; gap: 12px }
  .footer-legal { padding: 8px 20px 0 }
  .footer-inner {
    padding: 16px 20px 10px;
  }
}
