/* styles.css (v1.0.0) — Light theme rebuild */

:root {
  --bg: #fefaf3;
  --surface: #ffffff;
  --surface-warm: #fff8ec;
  --text: #2a1d12;
  --text-muted: #6b5d50;
  --border: #ebe2d4;
  --border-strong: #d8c9b1;
  --orange: #fb581c;
  --orange-dark: #d8420c;
  --gold: #ffbc01;
  --gold-soft: #fff0b8;
  --cream: #fff4d9;
  --shadow-sm: 0 1px 2px rgba(42, 29, 18, 0.06);
  --shadow: 0 2px 12px rgba(42, 29, 18, 0.08);
  --shadow-lg: 0 8px 32px rgba(42, 29, 18, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
}

html { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto; }

h1, h2, h3, h4, h5 { color: var(--text); margin-top: 0; }
h1, h2 { font-family: "Knewave", "Poppins", cursive; font-weight: 400; letter-spacing: 0.5px; }
h3, h4 { font-family: "Poppins", sans-serif; font-weight: 700; }
.h-knewave { font-family: "Knewave", cursive !important; font-weight: 400 !important; }

a { color: var(--orange); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange-dark); text-decoration: underline; }

/* === Top site nav === */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--shadow-sm);
}
.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { display: block; height: 36px; width: auto; }

/* Hamburger button (desktop hidden, mobile visible) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--text);
}
.nav-toggle:hover { border-color: var(--orange); color: var(--orange); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.site-nav.nav-open .nav-toggle .icon-menu { display: none; }
.site-nav.nav-open .nav-toggle .icon-close { display: block; }

.site-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav-links a {
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  display: block;
}
.site-nav-links a:hover {
  background: var(--cream);
  color: var(--orange-dark);
  text-decoration: none;
}
.site-nav-links a.active {
  background: var(--orange);
  color: #fff;
}
.site-nav-links a.active:hover { background: var(--orange-dark); color: #fff; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .site-nav.nav-open .site-nav-links { display: flex; }
  .site-nav-links a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
  }
  .site-nav-inner { flex-wrap: wrap; }
}

/* === Hero band === */
.hero {
  background:
    linear-gradient(135deg, rgba(251,88,28,0.92), rgba(255,188,1,0.85)),
    url('img/flames.jpg') center/cover;
  color: #fff;
  text-align: center;
  padding: 36px 16px 32px;
  border-bottom: 4px solid var(--gold);
}
.hero .hero-logo {
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  margin-bottom: 14px;
}
.hero img { display: block; height: 64px; width: auto; }
.hero h1 {
  font-family: "Knewave", cursive;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  letter-spacing: 1px;
}
.hero .hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.95;
  max-width: 620px;
  margin: 0 auto 4px;
  font-weight: 500;
}
.hero .hero-meta {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 10px;
}
.hero .hero-meta strong { color: var(--gold-soft); }

/* Compact hero on inner pages */
.hero.hero-compact {
  padding: 22px 16px;
}
.hero.hero-compact h1 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* === Container === */
.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* === Cards === */
.card-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}
.card-panel + .card-panel { margin-top: 20px; }
.card-panel h2 {
  font-size: 1.4rem;
  margin: 0 0 16px;
}
.card-panel h2 .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 10px;
  vertical-align: middle;
}

/* === Country tabs (top-level) === */
.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
  padding-bottom: 0;
}
.country-tabs button {
  background: transparent;
  border: none;
  padding: 10px 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 8px 8px 0 0;
  transition: color .15s, border-color .15s, background .15s;
}
.country-tabs button:hover {
  color: var(--orange);
  background: var(--cream);
}
.country-tabs button.active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
  background: var(--surface-warm);
}

/* === SA store sub-selector === */
.store-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px;
  background: var(--surface-warm);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.store-sub-label {
  font-size: 13px;
  color: var(--text-muted);
  align-self: center;
  margin-right: 6px;
  padding-left: 6px;
  font-weight: 500;
}
.store-pill {
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
}
.store-pill:hover { border-color: var(--orange); color: var(--orange); }
.store-pill.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* === Form === */
.form-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(251, 88, 28, 0.15);
  background: var(--surface);
  color: var(--text);
}
.form-control-lg { font-size: 18px; padding: 12px 16px; }

.guests-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.guests-row .guests-input { flex: 0 0 auto; min-width: 120px; max-width: 160px; }
.guests-row .quick-presets { flex: 1; }

.quick-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.preset-btn {
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
}
.preset-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--cream);
}

/* === Item checkbox grid === */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 768px) { .items-grid { grid-template-columns: 1fr; gap: 14px; } }

.item-section {
  background: var(--surface-warm);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}
.item-section h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange-dark);
  margin: 0 0 10px;
  font-weight: 700;
}
.item-section .toggle-all {
  font-size: 11px;
  background: transparent;
  border: none;
  color: var(--orange);
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  text-decoration: underline;
  font-weight: 600;
}
.item-section .toggle-all:hover { color: var(--orange-dark); }
.item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}
.item-row:last-child { border-bottom: none; }
.item-row:hover { color: var(--orange-dark); }
.item-row input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  transition: all .15s;
}
.item-row input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.item-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.item-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: var(--surface);
  color: var(--orange-dark);
  border-color: var(--orange);
}
.btn-secondary:hover {
  background: var(--cream);
  color: var(--orange-dark);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-warm); }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; }

/* === Sticky CTA on mobile === */
@media (max-width: 768px) {
  .sticky-cta {
    position: sticky;
    bottom: 12px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }
}

/* === Results === */
.result-card {
  background: linear-gradient(135deg, var(--cream), var(--gold-soft));
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}
.result-card .result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.result-card h2 {
  font-family: "Knewave", cursive;
  font-size: 1.4rem;
  margin: 0;
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.result-card .country-emoji { font-size: 1.5rem; }
.result-card .help-btn {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 28px; height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-dark);
  cursor: pointer;
}
.result-card .help-btn:hover { background: #fff; }

.result-table {
  width: 100%;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin: 0 0 14px;
}
.result-table th, .result-table td {
  padding: 9px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.result-table tr:last-child th, .result-table tr:last-child td { border-bottom: none; }
.result-table th { background: rgba(255,255,255,0.85); font-weight: 600; }
.result-table .text-end { text-align: right; }
.result-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.4); }

.result-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.result-stat {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--gold);
  text-align: center;
}
.result-stat .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.result-stat .stat-value {
  font-family: "Knewave", cursive;
  font-size: 1.5rem;
  color: var(--orange-dark);
  line-height: 1.1;
}
@media (max-width: 480px) {
  .result-totals { grid-template-columns: 1fr; }
}

.compare-card {
  margin-top: 18px;
  background: rgba(255,255,255,0.6);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 18px;
}
.compare-card h3 {
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--text);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* === Editorial / SEO content (homepage bottom) === */
.seo-content {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-lg);
  line-height: 1.7;
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
}
.seo-content h2 { margin-top: 1em; font-size: 1.4rem; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content ul { padding-left: 22px; }

/* === Article body === */
.article-body {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  line-height: 1.75;
  font-size: 16px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 24px auto;
}
.article-body h1 { font-family: "Knewave", cursive; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.4em; color: var(--text); }
.article-body h2 { font-family: "Knewave", cursive; margin-top: 1.6em; font-size: 1.55rem; color: var(--orange-dark); }
.article-body h3 { margin-top: 1.4em; font-size: 1.15rem; color: var(--text); font-weight: 700; }
.article-body .article-meta {
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.article-body .article-meta::before { content: '✍️'; }
.article-body p { margin: 0 0 1em; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.4em 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.article-body th, .article-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-body thead th {
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
}
.article-body tbody tr:nth-child(even) { background: var(--surface-warm); }
.article-body tfoot th, .article-body tfoot td { background: var(--cream); font-weight: 700; }
.article-body .text-end { text-align: right; }
.article-body blockquote {
  border-left: 4px solid var(--orange);
  padding: 14px 20px;
  margin: 1.4em 0;
  background: var(--surface-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}
.article-body blockquote::before { content: '"'; font-size: 2rem; color: var(--orange); float: left; line-height: 0.9; margin-right: 6px; font-family: serif; }

.cta-box {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
  padding: 22px;
  border-radius: var(--radius-lg);
  margin: 1.6em 0;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-box a {
  color: var(--orange-dark);
  background: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  transition: background .15s;
}
.cta-box a:hover { background: var(--cream); color: var(--orange-dark); text-decoration: none; }

.pull-quote {
  font-family: "Knewave", cursive;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--orange-dark);
  text-align: center;
  margin: 1.5em 0;
  padding: 16px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* === Modal (Bootstrap override for light theme) === */
.modal-content {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.modal-header { border-bottom: 1px solid var(--border); }
.modal-footer { border-top: 1px solid var(--border); }
.modal-title { font-family: "Knewave", cursive; color: var(--orange-dark); }

/* === Footer === */
.site-footer {
  flex-shrink: 0;
  background: var(--text);
  color: #fff;
  padding: 24px 16px 20px;
  font-size: 13px;
  margin-top: 60px;
  text-align: center;
  line-height: 1.7;
}
.site-footer .footer-meta { opacity: 0.7; margin-bottom: 8px; }
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}
.site-footer .footer-links a {
  color: var(--gold);
  text-decoration: none;
}
.site-footer .footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-credit {
  margin-top: 14px;
  opacity: 0.5;
  font-size: 11px;
}
@media (max-width: 600px) {
  .site-footer { font-size: 12px; padding: 18px 10px 16px; }
}

/* === Toast (for share/copy feedback) === */
.toast-msg {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transition: transform .25s ease;
}
.toast-msg.show { transform: translateX(-50%) translateY(0); }

/* === Responsive tables → cards on mobile ================================== */
/* Cells must have data-label="..." (added automatically by site.js).         */
@media (max-width: 600px) {
  .article-body table,
  .result-table {
    display: block;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    margin: 1em 0;
  }
  .article-body thead,
  .result-table thead { display: none; }
  .article-body tbody,
  .result-table tbody { display: block; }
  .article-body tbody tr,
  .result-table tbody tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
  }
  .article-body tbody tr:nth-child(even) { background: var(--surface); }
  .article-body td,
  .result-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 4px 0;
    border: none !important;
    text-align: left;
    font-size: 14px;
  }
  .article-body td::before,
  .result-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
  }
  .article-body td:first-child,
  .result-table td:first-child {
    border-bottom: 1px solid var(--border) !important;
    padding-bottom: 8px;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 15px;
  }
  .article-body td:first-child::before,
  .result-table td:first-child::before { display: none; }
  .article-body .text-end,
  .result-table .text-end { text-align: right; }
  /* Hide tfoot rows on mobile, show as inline summary */
  .article-body tfoot { display: block; margin-top: 4px; }
  .article-body tfoot tr {
    display: block;
    background: var(--cream);
    border: 1px solid var(--gold);
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 6px;
  }
  .article-body tfoot th,
  .article-body tfoot td {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border: none !important;
    background: transparent !important;
  }
}

/* === Mobile calculator polish ============================================= */
@media (max-width: 600px) {
  .hero { padding: 24px 14px 22px; }
  .hero img { height: 52px; }
  .hero h1 { font-size: 1.6rem; }
  .hero .hero-tagline { font-size: 0.95rem; }
  .hero .hero-meta { font-size: 12px; }

  .card-panel { padding: 18px 14px; border-radius: 14px; }
  .card-panel h2 { font-size: 1.2rem; }
  .card-panel h2 .step-num { width: 28px; height: 28px; font-size: 0.9rem; }

  .guests-row { gap: 12px; }
  .guests-row .guests-input { max-width: 100%; flex: 0 0 100%; }
  .guests-row .quick-presets { flex: 0 0 100%; }
  .preset-btn { padding: 8px 12px; font-size: 13px; }

  /* Country tabs: horizontal scroll instead of wrap */
  .country-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 14px;
    padding-bottom: 2px;
  }
  .country-tabs::-webkit-scrollbar { display: none; }
  .country-tabs button {
    flex-shrink: 0;
    padding: 9px 14px;
    font-size: 14px;
  }
  .store-sub {
    padding: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .store-sub::-webkit-scrollbar { display: none; }
  .store-sub-label { font-size: 12px; }
  .store-pill { padding: 6px 12px; font-size: 12px; flex-shrink: 0; }

  .item-section { padding: 14px; }
  .item-row { padding: 8px 0; font-size: 15px; }
  .item-row input[type="checkbox"] { width: 22px; height: 22px; }

  .result-card { padding: 18px 14px; border-radius: 14px; }
  .result-card h2 { font-size: 1.15rem; }
  .result-stat .stat-value { font-size: 1.3rem; }

  .action-buttons { gap: 8px; }
  .action-buttons .btn {
    flex: 1 1 calc(50% - 4px);
    padding: 10px 12px;
    font-size: 13px;
  }
  .action-buttons #resetButton { flex: 1 1 100%; }

  .article-body { padding: 22px 16px; margin: 14px auto; border-radius: 14px; }
  .article-body h1 { font-size: 1.6rem; }
  .article-body h2 { font-size: 1.3rem; }
  .article-body .article-meta { font-size: 13px; gap: 8px; }
  .article-body .article-meta span { display: block; }
  .pull-quote { font-size: 1.2rem; padding: 12px; }
  .cta-box { padding: 16px; }
  .cta-box a { padding: 9px 16px; }

  .seo-content { padding: 18px 14px; }
  .seo-content h2 { font-size: 1.2rem; }
}

/* Smaller phone */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.4rem; }
  .country-tabs button { padding: 8px 11px; font-size: 13px; }
  .action-buttons .btn { font-size: 12px; padding: 9px 10px; }
}

/* === Print (printable shopping list) === */
@media print {
  .site-nav, .site-footer, .cta-box, .action-buttons, .compare-card { display: none !important; }
  body { background: #fff; color: #000; }
  .article-body, .card-panel, .result-card { background: #fff; box-shadow: none; border: none; padding: 8px 0; }
  .hero { display: none; }
  a { color: #000; text-decoration: underline; }
}

/* === Visually-hidden helper === */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === Small util === */
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
