/* Made in Market EU — online supermarket layout */
:root {
  --c-primary: #1b6d3d;
  --c-primary-dark: #134f2c;
  --c-primary-light: #e6f4ec;
  --c-accent: #ff6b00;
  --c-accent-light: #fff4ec;
  --c-bg: #f5f5f3;
  --c-surface: #ffffff;
  --c-text: #1a1d1b;
  --c-text-muted: #6b706d;
  --c-border: #e4e6e5;
  --c-dark-bg: #1a1d1b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.1);
  --max: 1280px;
  --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --transition: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; cursor: pointer; }

ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.link-btn {
  background: none; border: none; color: var(--c-primary); font-weight: 600;
  font-size: inherit; cursor: pointer; padding: 0;
}
.link-btn:hover { text-decoration: underline; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .6rem 1.4rem; font-weight: 600; font-size: .9rem;
  border-radius: var(--radius-pill); border: none;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--white { background: #fff; color: var(--c-primary); }
.btn--white:hover { background: var(--c-primary-light); }
.btn--lg { padding: .75rem 2rem; font-size: 1rem; }

/* ═══════════════════════════════════════ PROMO BAR ═══════════ */
.promo-bar {
  background: var(--c-primary);
  color: #fff;
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 110;
}

.promo-bar__track {
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.promo-bar__item {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  padding: 0 1rem;
}
.promo-bar__item:hover { text-decoration: none; color: #fff; }

.promo-bar__item--cta {
  font-weight: 700;
  text-decoration: underline;
}

/* ═══════════════════════════════════════ HEADER ═══════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition);
}
.header--scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.header__logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.header__logo:hover { text-decoration: none; }

.header__logo-img {
  height: 44px; width: auto; object-fit: contain;
}
@media (min-width: 768px) {
  .header__logo-img { height: 48px; }
}

/* Location */
.header__location {
  display: none;
  align-items: center; gap: .5rem;
  padding: .4rem .75rem;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  flex-shrink: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header__location:hover {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(27,109,61,.1);
}
@media (min-width: 900px) { .header__location { display: flex; } }

.header__location-label { font-size: .8125rem; }
.header__location-label strong { color: var(--c-text); }

.header__location-btn {
  font-size: .75rem; font-weight: 600; color: var(--c-primary);
}
.header__location:hover .header__location-btn { text-decoration: underline; }

/* Search */
.header__search {
  flex: 1; min-width: 0; max-width: 480px;
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header__search:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(27,109,61,.12);
}
.header__search > .header__search-icon { flex-shrink: 0; color: var(--c-text-muted); }
.header__search input {
  flex: 1; border: none; background: none; font: inherit;
  color: var(--c-text); min-width: 0;
}
.header__search input::placeholder { color: var(--c-text-muted); }
.header__search input:focus { outline: none; }

/* Actions */
.header__actions { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }

.header__action-link {
  display: flex; align-items: center; gap: .35rem;
  padding: .45rem .75rem; border-radius: var(--radius-pill);
  color: var(--c-text); font-size: .875rem; font-weight: 500;
  transition: background var(--transition);
  background: none; border: none; cursor: pointer; font: inherit;
}
a.header__action-link { text-decoration: none; color: var(--c-text); }
.header__action-link:hover { background: var(--c-bg); text-decoration: none; }
.header__action-link span { display: none; }
@media (min-width: 700px) { .header__action-link span { display: inline; } }

.header__cart {
  display: flex; align-items: center; gap: .35rem;
  padding: .45rem .85rem; border-radius: var(--radius-pill);
  background: var(--c-primary); color: #fff; border: none;
  font-size: .875rem; font-weight: 600; position: relative;
  transition: background var(--transition);
}
.header__cart:hover { background: var(--c-primary-dark); }
.header__cart span { display: none; }
@media (min-width: 700px) { .header__cart span { display: inline; } }
.header__cart svg { stroke: #fff; }

.header__cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  font-size: .65rem; font-style: normal; font-weight: 700;
  background: var(--c-accent); color: #fff;
  border-radius: var(--radius-pill);
  display: grid; place-items: center; line-height: 1;
}

/* ── COMPACT HEADER ON SCROLL ── */
.header__compact-pills {
  display: none;
  align-items: center; gap: .4rem;
  flex-shrink: 0;
}
.header__compact-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.header__compact-pill:hover { opacity: .85; }
.header__compact-pill--promo { background: var(--c-primary); color: #fff; }
.header__compact-pill--save { background: var(--c-accent); color: #fff; }

.header__hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  color: var(--c-text); flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.header__hamburger:hover { background: var(--c-bg); }

.header--compact .header__inner {
  height: 48px; gap: .6rem;
}
.header--compact .header__logo,
.header--compact .header__location,
.header--compact .header__action-link {
  display: none !important;
}
.header--compact .header__hamburger {
  display: flex;
}
.header--compact .header__compact-pills {
  display: flex;
}
.header--compact .header__search {
  max-width: 100%;
}
.header--compact .header__cart span {
  display: inline;
}
@media (max-width: 600px) {
  .header--compact .header__compact-pills { display: none; }
  .header--compact .header__cart span { display: none; }
}

.header--compact ~ .catnav-mega {
  max-height: 0; overflow: hidden; border-bottom: none;
  padding-top: 0; padding-bottom: 0;
  transition: max-height .3s ease, padding .3s ease;
}
.catnav-mega { max-height: 500px; transition: max-height .3s ease, padding .3s ease; }

/* ═══════════════════════════════════════ MEGA CAT NAV ═══════════ */
.catnav-mega {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: var(--header-h); z-index: 90;
}

.catnav-mega__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}
@media (min-width: 768px) {
  .catnav-mega__inner {
    grid-template-columns: repeat(9, 1fr);
    padding: 1rem 1.25rem;
  }
}
@media (max-width: 479px) {
  .catnav-mega__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.catnav-mega__card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; text-decoration: none; color: var(--c-text);
  padding: .75rem .5rem .65rem;
  border-radius: 16px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.catnav-mega__card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}

.catnav-mega__card--promo {
  border-color: rgba(255,107,0,.3);
}
.catnav-mega__card--promo:hover {
  border-color: var(--c-accent);
}

.catnav-mega__card--menu {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  cursor: pointer;
}
.catnav-mega__card--menu:hover {
  background: #d4edda;
}

.catnav-mega__icon {
  width: 48px; height: 48px;
  margin-bottom: .4rem;
  display: flex; align-items: center; justify-content: center;
}
.catnav-mega__icon svg { width: 48px; height: 48px; }

.catnav-mega__label {
  font-size: .75rem; font-weight: 600; line-height: 1.25;
}
@media (min-width: 768px) {
  .catnav-mega__label { font-size: .8125rem; }
}

/* ═══════════════════════════════════════ HERO ═══════════ */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(27,109,61,.82) 0%, rgba(26,139,75,.75) 40%, rgba(34,169,90,.7) 100%),
              url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=1400&h=500&fit=crop') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% 30%, rgba(255,255,255,.08), transparent),
    radial-gradient(ellipse 60% 70% at 20% 80%, rgba(0,0,0,.2), transparent);
}

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
}

@media (min-width: 768px) {
  .hero__inner { padding: 5rem 2rem 6rem; }
}

.hero__content { max-width: 600px; }

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.hero__accent { color: rgba(255,255,255,.92); }

.hero__sub {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 1rem;
  max-width: 42ch;
}

.hero__rating {
  font-size: .85rem;
  opacity: .85;
  margin-bottom: 1.5rem;
  color: #ffd54f;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: .5rem;
}

.hero__store-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  transition: background var(--transition);
}
.hero__store-badge:hover {
  background: rgba(0,0,0,.75);
  text-decoration: none;
  color: #fff;
}
.hero__store-badge svg { fill: #fff; }

/* ═══════════════════════════════════════ TRUST BADGES ═══════════ */
.trust {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.trust__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .trust__inner { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.trust__card {
  display: flex; gap: .85rem; align-items: flex-start;
}

.trust__icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: var(--c-primary-light); border-radius: 12px;
  display: grid; place-items: center; color: var(--c-primary);
}

.trust__card h3 { font-size: .9375rem; font-weight: 700; margin-bottom: .15rem; }
.trust__card p { font-size: .8125rem; color: var(--c-text-muted); }

/* ═══════════════════════════════════════ APP STRIP ═══════════ */
.app-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }

.app-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.app-strip__rating {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9375rem;
}

.app-strip__stars { color: #f5b100; font-size: 1.15rem; letter-spacing: 1px; }
.app-strip__count { color: var(--c-text-muted); font-size: .8125rem; }

/* ═══════════════════════════════════════ CATALOG HEADING ═══════════ */
.catalog-heading { padding: 2.5rem 0 .75rem; }

.catalog-heading__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 1.25rem;
}

.catalog-heading h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 800; margin-bottom: .35rem;
}

.catalog-heading__location {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8125rem; color: var(--c-text-muted);
}
.catalog-heading__location strong { color: var(--c-text); }

/* (cat-grid removed — replaced by catnav-mega) */

/* ═══════════════════════════════════════ PRODUCT ROW ═══════════ */
.product-row { padding: 1rem 0 2rem; }

.product-row__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 1.25rem;
}

.product-row__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: .85rem;
}
.product-row__head h2 { font-size: 1.15rem; font-weight: 700; }

.product-row__scroll {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.product-row__scroll::-webkit-scrollbar { display: none; }

/* Product card */
.pcard {
  flex: 0 0 170px;
  scroll-snap-align: start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  display: block;
  text-decoration: none;
  color: var(--c-text);
}
@media (min-width: 768px) { .pcard { flex: 0 0 195px; } }
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--c-text); }

.pcard__img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f0f2f0 0%, #e8eae8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.pcard__tag {
  position: absolute; top: .5rem; left: .5rem;
  padding: .15rem .55rem;
  font-size: .7rem; font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--c-primary); color: #fff;
}
.pcard__tag--sale { background: var(--c-accent); }

.pcard__body { padding: .75rem .65rem; }

.pcard__name {
  font-size: .8125rem; font-weight: 600; line-height: 1.3;
  margin-bottom: .35rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__price {
  font-size: .9rem; font-weight: 700; color: var(--c-primary-dark);
}
.pcard__price s {
  color: var(--c-text-muted); font-weight: 400; font-size: .8rem;
  margin-right: .25rem;
}

.pcard__add {
  position: absolute; bottom: .65rem; right: .65rem;
  width: 32px; height: 32px;
  background: var(--c-primary); color: #fff; border: none;
  border-radius: 50%; font-size: 1.15rem; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
  transition: background var(--transition), transform var(--transition);
}
.pcard__add:hover { background: var(--c-primary-dark); transform: scale(1.1); }

.pcard__img img {
  width: 100%; height: 100%; object-fit: contain; padding: .35rem;
}

.pcard__brand {
  position: absolute; top: .5rem; left: .5rem;
  padding: .12rem .5rem; font-size: .65rem; font-weight: 700;
  background: var(--c-accent); color: #fff;
  border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: .03em;
}

.pcard__flag {
  display: inline-block;
  margin-right: .25rem;
  font-size: .85rem;
  vertical-align: middle;
  line-height: 1;
}

.pcard__badge {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 2;
  padding: .18rem .45rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1.2;
}
.pcard__badge--promo {
  background: #ffc107;
  color: #1a1a1a;
}
.pcard__badge--bio {
  background: #0a8f3c;
  color: #fff;
}

.pcard__unit {
  display: block;
  font-size: .68rem;
  color: var(--c-text-muted);
  margin-top: .15rem;
  line-height: 1.25;
}

.product-row__loading {
  text-align: center; padding: 3rem 1rem;
  color: var(--c-text-muted); font-size: .9rem;
}
.product-row__spinner {
  display: inline-block; width: 24px; height: 24px;
  border: 3px solid var(--c-border); border-top-color: var(--c-primary);
  border-radius: 50%; animation: prow-spin .6s linear infinite;
  margin-bottom: .5rem;
}
@keyframes prow-spin { to { transform: rotate(360deg); } }

.product-row__error {
  text-align: center; padding: 2rem; color: var(--c-text-muted); font-size: .85rem;
}

/* ═══════════════════════════════════════ CLUBS ═══════════ */
.clubs { padding: 2.5rem 0 1rem; }

.clubs__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 1.25rem;
}
.clubs h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }

.clubs__grid {
  display: grid; gap: 1rem;
}
@media (min-width: 700px) { .clubs__grid { grid-template-columns: 1fr 1fr; } }

.club-card {
  display: block; text-decoration: none; color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg, 20px);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.club-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }

.club-card__badge {
  display: inline-block;
  padding: .2rem .65rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--c-primary); color: #fff; border-radius: var(--radius-pill);
  margin-bottom: .65rem;
}

.club-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.club-card p { font-size: .875rem; color: var(--c-text-muted); }
.club-card__cta {
  display: inline-block; margin-top: .75rem;
  font-size: .8rem; font-weight: 700; color: var(--c-primary);
}
.club-card--xtra { border-color: #e65100; }
.club-card--xtra .club-card__badge { background: #e65100; }
.club-card--xtra .club-card__cta { color: #e65100; }
.club-card--familia { border-color: #e91e90; }
.club-card--familia .club-card__badge { background: #e91e90; }
.club-card--familia .club-card__cta { color: #e91e90; }

/* ═══════════════════════════════════════ CS ═══════════ */
.cs { padding: 2.5rem 0 3rem; }

.cs__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 1.25rem;
}

.cs h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }

.cs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 600px) {
  .cs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cs__grid { grid-template-columns: repeat(3, 1fr); }
}

.cs__item {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.25rem;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: .875rem;
  text-decoration: none;
  color: var(--c-text);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
a.cs__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--c-primary);
  text-decoration: none;
}

.cs__icon {
  width: 44px; height: 44px;
  background: var(--c-primary-light);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--c-primary);
  margin-bottom: .25rem;
}

.cs__item strong { display: block; font-weight: 700; font-size: .9375rem; }
.cs__item span { color: var(--c-text-muted); font-size: .8125rem; }

/* ═══════════════════════════════════════ FOOTER ═══════════ */
.footer {
  background: var(--c-dark-bg);
  color: #b3b8b5;
  font-size: .875rem;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.5fr repeat(5, 1fr); }
}

.footer__col--brand { max-width: 280px; }

.footer__logo {
  display: block; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .5rem;
}
.footer__logo em { font-style: normal; font-weight: 500; color: #8a8f8c; }

.footer__col p { line-height: 1.6; margin-bottom: .75rem; }

.footer__social {
  display: flex; gap: .65rem; align-items: center;
}
.footer__social a {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #b3b8b5;
  fill: #b3b8b5;
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover {
  background: var(--c-primary);
  color: #fff;
  fill: #fff;
  text-decoration: none;
}
.footer__social a svg { fill: currentColor; }

.footer__social--bottom a {
  width: 28px; height: 28px;
}

.footer__apps { display: flex; gap: .5rem; flex-wrap: wrap; }

.footer__app-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .85rem;
  font-size: .75rem; font-weight: 600;
  background: #2a2d2b; color: #d0d5d2;
  border: 1px solid #3a3d3b; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.footer__app-btn:hover { background: #3a3d3b; text-decoration: none; color: #fff; }
.footer__app-btn svg { fill: #d0d5d2; }

.footer__col--apps { }

.footer h4 {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #fff; margin-bottom: .6rem;
}

.footer a { color: #8a8f8c; }
.footer a:hover { color: #fff; }

.footer li { margin-bottom: .35rem; }

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem;
}
.footer__bottom p { margin: 0; color: #6b706d; font-size: .8125rem; }

.footer__bottom-right {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}

.footer__lang {
  display: flex; gap: .5rem;
}
.footer__lang .link-btn { color: #8a8f8c; font-size: .8125rem; font-weight: 500; }
.footer__lang .link-btn:hover { color: #fff; }

/* ═══════════════════════════════════════ FOOTER MEGA (estilo Knuspr) ═══════════ */
.footer--mega {
  background: #e9ecef;
  color: #1a1a1a;
  font-size: .8125rem;
}
.footer--mega .footer__mega-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}
.footer--mega .footer__mega-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer--mega .footer__mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer--mega .footer__mega-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.footer--mega .footer__panel {
  background: #fff;
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  border: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 16px rgba(0,0,0,.06);
  min-height: 100%;
}
.footer--mega .footer__panel h4 {
  font-size: .9375rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.footer--mega .footer__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer--mega .footer__panel li { margin-bottom: .5rem; }
.footer--mega .footer__panel a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}
.footer--mega .footer__panel a:hover {
  text-decoration: underline;
  color: var(--c-primary-dark);
}
.footer--mega .footer__muted-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8125rem;
  line-height: 1.5;
}
.footer--mega .footer__muted-list li {
  margin-bottom: .5rem;
  color: var(--c-text-muted);
}
.footer--mega .footer__muted-list a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}
.footer--mega .footer__muted-list a:hover {
  text-decoration: underline;
  color: var(--c-primary-dark);
}
/* Redes: grelha 4+2 como Knuspr — ícone branco em círculo azul claro */
.footer--mega .footer__social-row {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: .75rem;
  justify-content: start;
}
.footer--mega .footer__social-row a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #5dade2;
  color: #fff;
  transition: background .15s ease, transform .12s ease;
}
.footer--mega .footer__social-row a:hover {
  background: #3498db;
  transform: translateY(-2px);
  text-decoration: none;
}
.footer--mega .footer__social-row a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer--mega .footer__panel--b2b {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer--mega .footer__b2b-head {
  font-size: .9375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 .15rem;
}
.footer--mega .footer__b2b-card {
  background: #e8ecf0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  border: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.footer--mega .footer__b2b-card strong {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: .45rem;
}
.footer--mega .footer__b2b-card p {
  margin: 0 0 .65rem;
  color: var(--c-text-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.footer--mega .footer__cta-link {
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer--mega .footer__cta-link:hover {
  color: var(--c-primary-dark);
}
.footer--mega .footer__cta-link--emph {
  font-weight: 800;
}
.footer--mega .footer__bottom {
  border-top: 1px solid rgba(0,0,0,.07);
  background: #e3e6ea;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}
.footer--mega .footer__bottom p { color: var(--c-text-muted); }
.footer--mega .footer__bottom-right .footer__social a {
  background: rgba(255,255,255,.85);
  color: var(--c-text-muted);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.footer--mega .footer__bottom-right .footer__social a:hover {
  background: var(--c-primary);
  color: #fff;
}
.footer--mega .footer__lang .link-btn { color: var(--c-text-muted); }
.footer--mega .footer__lang .link-btn:hover { color: #1a1a1a; }

/* ═══════════════════════════════════════ TRUSTPILOT SECTION ═══════════ */
.trustpilot-section {
  padding: 3rem 0 2rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.trustpilot-section__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem;
}

.trustpilot-section__header {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem;
  margin-bottom: 1.5rem;
}

.trustpilot-section__header h2 {
  font-size: 1.25rem; font-weight: 700;
}

.trustpilot-section__powered {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--c-text-muted); text-decoration: none;
}
.trustpilot-section__powered:hover { text-decoration: underline; }

.tp-stars { color: #00b67a; letter-spacing: 1px; }
.tp-stars--lg { font-size: 1.5rem; letter-spacing: 2px; }

.trustpilot-section__score {
  display: flex; align-items: center; gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: var(--c-bg); border-radius: var(--radius);
  border: 1px solid var(--c-border);
}

.tp-big-score { display: flex; align-items: baseline; gap: .25rem; }
.tp-big-score__num { font-size: 2.5rem; font-weight: 800; color: var(--c-primary-dark); }
.tp-big-score__of { font-size: 1rem; color: var(--c-text-muted); font-weight: 500; }
.tp-big-score__meta { font-size: .875rem; color: var(--c-text-muted); }
.tp-big-score__meta .tp-stars { display: block; margin-bottom: .25rem; }

.tp-reviews {
  display: grid; gap: 1rem;
}
@media (min-width: 768px) { .tp-reviews { grid-template-columns: repeat(3, 1fr); } }

.tp-review {
  padding: 1.25rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.tp-review__stars {
  color: #00b67a; font-size: 1rem; letter-spacing: 1px; margin-bottom: .5rem;
}

.tp-review__text {
  font-size: .875rem; line-height: 1.55; color: var(--c-text);
  margin-bottom: .65rem;
}

.tp-review__author {
  font-size: .75rem; font-weight: 600; color: var(--c-text-muted);
}

.trustpilot-section__cta {
  margin-top: 1.5rem; text-align: center;
}

/* ═══════════════════════════════════════ ORDER TRACKING ═══════════ */
.tracking-section {
  padding: 2.5rem 0 2rem;
}

.tracking-section__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem;
}

.tracking-section h2 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem;
}

.tracking-section__desc {
  font-size: .875rem; color: var(--c-text-muted); margin-bottom: 1.25rem;
}

.tracking-form__row {
  display: flex; gap: .5rem; flex-wrap: wrap;
}

.tracking-form__row select {
  padding: .55rem .75rem;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font: inherit; font-size: .875rem; color: var(--c-text);
  cursor: pointer; min-width: 120px;
}
.tracking-form__row select:focus {
  outline: 2px solid var(--c-primary); outline-offset: 2px;
}

.tracking-form__row input {
  flex: 1; min-width: 200px;
  padding: .55rem .85rem;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font: inherit; font-size: .875rem; color: var(--c-text);
  background: var(--c-surface);
}
.tracking-form__row input:focus {
  outline: 2px solid var(--c-primary); outline-offset: 2px;
}

.tracking-form__carriers {
  margin-top: .85rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem;
  font-size: .8rem; color: var(--c-text-muted);
}
.tracking-form__carriers a {
  font-weight: 600; color: var(--c-primary);
}
.tracking-form__carriers a:hover { text-decoration: underline; }

/* ══════ INSPIRATION ══════ */
.inspo {
  background: var(--c-bg);
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--c-border);
}
.inspo__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.inspo__inner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}
.inspo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: .65rem;
}
@media (min-width: 640px) {
  .inspo__grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 900px) {
  .inspo__grid { grid-template-columns: repeat(10, 1fr); }
}

.inspo__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: .85rem .35rem;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: background .15s, transform .15s;
}
.inspo__card:hover {
  background: var(--c-surface);
  transform: translateY(-2px);
}

.inspo__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: box-shadow .15s;
}
.inspo__card:hover .inspo__icon {
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.inspo__label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.25;
  max-width: 90px;
}

/* ══════ RECIPES ══════ */
.recipes {
  background: var(--c-surface);
  padding: 2rem 0;
}
.recipes__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.recipes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.recipes__head h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-text);
}
.recipes__showall {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
}
.recipes__showall:hover { color: var(--c-primary); text-decoration: underline; }
.recipes__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .5rem;
  scrollbar-width: thin;
}
.recipes__scroll::-webkit-scrollbar { height: 4px; }
.recipes__scroll::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }
.recipes__card {
  flex: 0 0 150px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--c-text);
  text-align: center;
  transition: transform .15s;
}
.recipes__card:hover { transform: translateY(-3px); }
.recipes__card img {
  width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: .5rem;
  background: var(--c-bg);
}
.recipes__name {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}
.recipes__cta {
  text-align: center;
  margin-top: 1.25rem;
}
.btn--accent {
  background: var(--c-accent);
  color: #fff;
}
.btn--accent:hover { background: #e65c00; }
.btn--pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}

/* ══════ BRANDS ══════ */
.brands {
  background: var(--c-surface);
  padding: 2rem 0;
  border-top: 1px solid var(--c-border);
}
.brands__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.brands__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.brands__head h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-text);
}
.brands__showall {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
}
.brands__showall:hover { color: var(--c-primary); text-decoration: underline; }

.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}
@media (min-width: 600px) {
  .brands__grid { grid-template-columns: repeat(6, 1fr); }
}

.brands__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .5rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.brands__card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.brands__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.brands__name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}

.brands__cat {
  font-size: .65rem;
  color: var(--c-text-muted);
}

/* ══════ LOCAL BRANDS ══════ */
.local-brands {
  padding: 1.5rem 0;
  background: var(--c-surface);
}
.local-brands__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.local-brands__inner h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .75rem;
}
.local-brands__scroll {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.local-brands__pill {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.local-brands__pill:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-light);
}

/* ═══════════════════════════════════════ TRENDING ═══════════ */
.trending {
  background: var(--c-surface);
  padding: 2.5rem 0;
  border-top: 1px solid var(--c-border);
}

.trending__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.trending__inner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.trending__tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1rem;
}
.trending__tabs::-webkit-scrollbar { display: none; }

.trending__tab {
  flex-shrink: 0;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  background: transparent;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: all var(--transition);
}
.trending__tab:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.trending__tab--active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.trending__tab--active:hover {
  color: #fff;
}

.trending__scroll {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.trending__scroll::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════ PROMO BANNERS ═══════════ */
.promo-banners {
  padding: 2rem 0;
}

.promo-banners__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .promo-banners__inner { grid-template-columns: repeat(2, 1fr); }
}

.promo-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  min-height: 120px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.promo-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  text-decoration: none;
  color: #fff;
}

.promo-banner__text {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .5rem;
}

.promo-banner__cta {
  font-size: .85rem;
  font-weight: 600;
  opacity: .85;
}
.promo-banner:hover .promo-banner__cta { opacity: 1; }

/* ═══════════════════════════════════════ SOCIAL PROOF ═══════════ */
.social-proof {
  background: linear-gradient(135deg, var(--c-primary) 0%, #1a8b4b 50%, #22a95a 100%);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.social-proof__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.social-proof h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.social-proof__sub {
  font-size: 1rem;
  opacity: .85;
  margin-bottom: 2rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.social-proof__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.social-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-proof__num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.social-proof__label {
  font-size: .85rem;
  opacity: .8;
  margin-top: .2rem;
}

.social-proof__tp {
  font-size: .9rem;
  color: #ffd54f;
}

/* ═══════════════════════════════════════ DISCOVER ═══════════ */
.discover {
  padding: 2.5rem 0;
}

.discover__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .discover__inner { grid-template-columns: repeat(3, 1fr); }
}

.discover__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 200px;
  border-radius: 16px;
  color: #fff;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.discover__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,.15);
  text-decoration: none;
  color: #fff;
}

.discover__card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.discover__card p {
  font-size: .9rem;
  opacity: .9;
  max-width: 26ch;
}

.discover__card--green {
  background: linear-gradient(135deg, #2e7d32, #43a047);
}
.discover__card--amber {
  background: linear-gradient(135deg, #e65100, #f57c00);
}
.discover__card--teal {
  background: linear-gradient(135deg, #00695c, #00897b);
}

/* ═══════════════════════════════════════ PRODUCT ROW PILLS ═══════════ */
.product-row__pills {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}

.product-row__pill {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.product-row__pill:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
}

.product-row__pill--all {
  border-color: transparent;
  background: transparent;
  color: var(--c-primary);
  font-weight: 700;
}
.product-row__pill--all:hover {
  text-decoration: underline;
}

.product-row__more {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 1rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  scroll-snap-align: end;
}
.product-row__more:hover {
  text-decoration: underline;
}

.product-row--empty .product-row__scroll {
  align-items: stretch;
}
.product-row__catalog-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  min-width: 200px;
  max-width: 280px;
  margin: 0.25rem 0.5rem 0.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px dashed var(--c-border);
  background: var(--c-surface, #fafafa);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.15s, background 0.15s;
}
.product-row__catalog-cta:hover {
  border-color: var(--c-primary);
  background: rgba(27, 109, 61, 0.06);
  text-decoration: none;
}
.product-row__catalog-cta__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
}
.product-row__catalog-cta__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.25;
}
.product-row__catalog-cta__arrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-top: 0.15rem;
}

/* ═══════════════════════════════════════ HOMEPAGE KNUSPR ═══════════ */
body.home-knuspr {
  background: #f0f0f0;
}

body.home-knuspr .promo-bar {
  background: #fff8f3;
  border-bottom: 1px solid #eee;
}
body.home-knuspr .promo-bar__item {
  color: #333;
}
body.home-knuspr .promo-bar__item:hover {
  color: #0a8f3c;
}

/* Subnav horizontal tipo Knuspr */
.kn-subnav {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: var(--header-h);
  z-index: 92;
}
.kn-subnav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.kn-subnav__inner a {
  color: #0a8f3c;
  text-decoration: none;
  white-space: nowrap;
}
.kn-subnav__inner a:hover {
  text-decoration: underline;
  color: #067d32;
}

body.home-knuspr .catnav-mega {
  top: calc(var(--header-h) + 42px);
  background: #fafafa;
}
@media (max-width: 640px) {
  body.home-knuspr .catnav-mega {
    top: calc(var(--header-h) + 56px);
  }
}
body.home-knuspr .catnav-mega__inner {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0.65rem;
  padding: 0.85rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
body.home-knuspr .catnav-mega__inner::-webkit-scrollbar {
  display: none;
}
body.home-knuspr .catnav-mega__card {
  flex: 0 0 auto;
  min-width: 88px;
  max-width: 100px;
  scroll-snap-align: start;
  border-radius: 999px;
  padding: 0.65rem 0.45rem 0.55rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
body.home-knuspr .catnav-mega__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  background: #f5f5f5;
}
body.home-knuspr .catnav-mega__icon svg {
  width: 26px;
  height: 26px;
}
body.home-knuspr .catnav-mega__label {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Faixa de valor + USPs */
.kn-value {
  background: linear-gradient(180deg, #ffe8d9 0%, #fff4ec 55%, #fafafa 100%);
  padding: 1.5rem 1rem 1.35rem;
  border-bottom: 1px solid #f0e0d6;
}
.kn-value__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.kn-value__headline {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.15rem;
  letter-spacing: -0.02em;
}
.kn-value__usps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: 1.1rem;
}
.kn-value__usp {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 220px;
  font-size: 0.8125rem;
  color: #444;
}
.kn-value__usp-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f0d8c8;
  display: grid;
  place-items: center;
  color: #ff6b00;
}
.kn-value__usp strong {
  display: block;
  color: #1a1a1a;
  font-size: 0.875rem;
  margin-bottom: 0.1rem;
}
.kn-value__usp span {
  color: #666;
  font-size: 0.78rem;
}
.kn-value__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
}
.kn-value__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  background: #0a8f3c;
  color: #fff;
  text-decoration: none;
  border: none;
  transition: background 0.15s, transform 0.15s;
}
.kn-value__btn:hover {
  background: #067d32;
  text-decoration: none;
  color: #fff;
}
.kn-value__rating {
  font-size: 0.8125rem;
  color: #555;
}
.kn-value__rating strong {
  color: #1a1a1a;
}

/* Grelha de 4 banners */
.kn-banners {
  background: #fafafa;
  padding: 1rem 1rem 1.25rem;
}
.kn-banners__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 900px) {
  .kn-banners__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}
.kn-banners__tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
}
.kn-banners__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: #fff;
}
.kn-banners__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kn-banners__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  line-height: 1.2;
}

body.home-knuspr .trust {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
body.home-knuspr .trust__icon {
  background: #fff4ec;
  color: #ff6b00;
  border: 1px solid #ffd8bf;
}
body.home-knuspr .trust__card h3 {
  color: #0a8f3c;
}

body.home-knuspr .app-strip {
  background: #fff8f3;
  border-bottom: 1px solid #eee;
}

body.home-knuspr .trending {
  background: #f0f0f0;
}
body.home-knuspr .trending__inner h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.home-knuspr .trending__tab--active {
  background: #0a8f3c;
  border-color: #0a8f3c;
  color: #fff;
}

body.home-knuspr .pcard {
  background: #fff;
  border-color: #e8e8e8;
  border-radius: 14px;
}
body.home-knuspr .pcard__body {
  padding-bottom: 2.35rem;
}
body.home-knuspr .pcard__img {
  background: #fff;
}
body.home-knuspr .pcard__price {
  color: #0a8f3c;
  font-size: 1rem;
  font-weight: 800;
}
body.home-knuspr .pcard__add {
  background: #0a8f3c;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  bottom: 0.55rem;
  right: 0.55rem;
}
body.home-knuspr .pcard__add:hover {
  background: #067d32;
}

body.home-knuspr .product-row__head h2 {
  font-weight: 800;
}
body.home-knuspr .product-row {
  background: transparent;
}

/* Páginas que exigem mim_user: ativar com class no <html> (ver script em conta/favoritos/listas). */
html.mim-hide-until-auth:not(.mim-auth-verified) body {
  visibility: hidden !important;
}

/* ══════════════════════════════════════════════════════════════
   DARK MODE · Activated by [data-theme="dark"] on <html>
   Injected by /loja/theme.js. Variables override the :root defaults
   so every rule that uses var(--c-…) flips automatically.
   ══════════════════════════════════════════════════════════════ */
html[data-theme="dark"] {
  color-scheme: dark;
  /* Brand — slightly brighter green so it reads well on dark bg */
  --c-primary: #2eae63;
  --c-primary-dark: #26904f;
  --c-primary-light: #14301e;
  --c-primary-ink: #8bd9a8;
  /* Accent / sale */
  --c-accent: #ff8a3d;
  --c-accent-light: #3a2316;
  --c-sale: #ff4e70;
  --c-sale-dark: #ff2e57;
  /* Surfaces */
  --c-bg: #0f1311;
  --c-surface: #171b18;
  --c-chip-bg: #1e2320;
  --c-dark-bg: #0b0e0c;
  /* Text */
  --c-text: #e8ecea;
  --c-text-muted: #a0a7a2;
  /* Borders */
  --c-border: #2a2f2b;
  --c-border-strong: #3a3f3b;
  /* Shadows — richer on dark */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 6px 16px rgba(0,0,0,.45);
  --shadow-lg: 0 14px 40px rgba(0,0,0,.55);
}

/* Body bg / text pick up automatically via variables, but force
   any element still using plain white/near-white to flip. */
html[data-theme="dark"] body { background: var(--c-bg); color: var(--c-text); }

/* Header + subnav + category mega */
html[data-theme="dark"] .header,
html[data-theme="dark"] .kn-subnav,
html[data-theme="dark"] .catnav-mega {
  background: var(--c-surface);
  border-color: var(--c-border);
}
html[data-theme="dark"] .header--scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.6); }

html[data-theme="dark"] .header__search {
  background: var(--c-chip-bg);
  border-color: var(--c-border);
}
html[data-theme="dark"] .header__search input { color: var(--c-text); }
html[data-theme="dark"] .header__search:focus-within {
  background: var(--c-surface);
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(46,174,99,.18);
}
html[data-theme="dark"] .header__location {
  background: var(--c-chip-bg);
  color: var(--c-text);
}
html[data-theme="dark"] .header__action-link { color: var(--c-text); }
html[data-theme="dark"] .header__action-link:hover { background: var(--c-chip-bg); }
html[data-theme="dark"] .header__hamburger { color: var(--c-text); }
html[data-theme="dark"] .header__hamburger:hover { background: var(--c-chip-bg); }

/* Mega category nav cards */
html[data-theme="dark"] .catnav-mega__card {
  background: var(--c-chip-bg);
  color: var(--c-text);
}
html[data-theme="dark"] .catnav-mega__card:hover {
  background: var(--c-surface);
  border-color: var(--c-border-strong);
}
html[data-theme="dark"] .catnav-mega__label { color: var(--c-text); }

/* Subnav links */
html[data-theme="dark"] .kn-subnav a { color: var(--c-text); }
html[data-theme="dark"] .kn-subnav a:hover { color: var(--c-primary); }

/* Diet/filter chips at the top of categoria */
html[data-theme="dark"] .diet-chips { background: var(--c-surface); border-color: var(--c-border); }
html[data-theme="dark"] .diet-chip { background: var(--c-chip-bg); color: var(--c-text); border-color: var(--c-border); }
html[data-theme="dark"] .diet-chip.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Product cards */
html[data-theme="dark"] .pcard,
html[data-theme="dark"] .product-row,
html[data-theme="dark"] .product-row__head,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .quality-card,
html[data-theme="dark"] .cat-tile,
html[data-theme="dark"] .stat-card {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}
html[data-theme="dark"] .pcard__img {
  background: linear-gradient(135deg, #1b2520 0%, #202923 100%);
}
html[data-theme="dark"] .pcard__name,
html[data-theme="dark"] .pcard__brand,
html[data-theme="dark"] .pcard__price,
html[data-theme="dark"] .pcard__unit { color: var(--c-text); }
html[data-theme="dark"] .pcard__unit { color: var(--c-text-muted); }
html[data-theme="dark"] .pcard__brand { color: var(--c-text-muted); }
html[data-theme="dark"] .pcard__flag { background: rgba(23,27,24,.9); }

/* Buttons / pills that assumed white bg */
html[data-theme="dark"] .btn--white { background: var(--c-surface); color: var(--c-primary); border: 1px solid var(--c-border); }
html[data-theme="dark"] .btn--white:hover { background: var(--c-chip-bg); }

/* Large light-tint hero panels (home banner etc.) — re-tint darker */
html[data-theme="dark"] [style*="background: linear-gradient(135deg, #fff"],
html[data-theme="dark"] [style*="background:linear-gradient(135deg,#fff"],
html[data-theme="dark"] [style*="background: linear-gradient(135deg, #FFF"] {
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-chip-bg) 100%) !important;
  color: var(--c-text);
}
html[data-theme="dark"] [style*="background:#fff"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background:#ffffff"],
html[data-theme="dark"] [style*="background: #ffffff"],
html[data-theme="dark"] [style*="background:#FFF"],
html[data-theme="dark"] [style*="background: #FFFFFF"] {
  background: var(--c-surface) !important;
  color: var(--c-text);
}

/* Tables, forms, inputs */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: var(--c-chip-bg);
  color: var(--c-text);
  border-color: var(--c-border);
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: var(--c-text-muted); }

/* Tabs / secondary nav on conta / favoritos / listas */
html[data-theme="dark"] .tabs,
html[data-theme="dark"] .tabs__nav,
html[data-theme="dark"] .subnav {
  background: var(--c-surface);
  border-color: var(--c-border);
}
html[data-theme="dark"] .tab-btn,
html[data-theme="dark"] .subnav a {
  color: var(--c-text-muted);
}
html[data-theme="dark"] .tab-btn.is-active,
html[data-theme="dark"] .subnav a.is-active,
html[data-theme="dark"] .tab-btn[aria-selected="true"] {
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* Order cards on conta */
html[data-theme="dark"] .order-card {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}
html[data-theme="dark"] .order-card__id { color: var(--c-text); }
html[data-theme="dark"] .order-card__item { background: var(--c-chip-bg); }

/* Side menu / modals */
html[data-theme="dark"] .side-menu,
html[data-theme="dark"] .modal,
html[data-theme="dark"] .cat-mega__panel,
html[data-theme="dark"] .addr-modal,
html[data-theme="dark"] .login-modal {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}
html[data-theme="dark"] .side-menu__item { color: var(--c-text); border-color: var(--c-border); }
html[data-theme="dark"] .side-menu__item:hover { background: var(--c-chip-bg); }

/* Mobile bottom nav (if rendered) */
html[data-theme="dark"] .bottom-nav,
html[data-theme="dark"] .mim-bottom-nav {
  background: var(--c-surface);
  border-color: var(--c-border);
}
html[data-theme="dark"] .bottom-nav a,
html[data-theme="dark"] .mim-bottom-nav a { color: var(--c-text-muted); }
html[data-theme="dark"] .bottom-nav a.is-active,
html[data-theme="dark"] .mim-bottom-nav a.is-active { color: var(--c-primary); }

/* Footer */
html[data-theme="dark"] .footer {
  background: var(--c-dark-bg);
  border-color: var(--c-border);
}

/* Brand tiles on /loja/marcas */
html[data-theme="dark"] .mrk-shop-tile,
html[data-theme="dark"] .mrk-tile {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}
html[data-theme="dark"] .mrk-shop-tile:hover,
html[data-theme="dark"] .mrk-tile:hover { border-color: var(--c-border-strong); }
html[data-theme="dark"] .mrk-shop-tile__img { background: var(--c-chip-bg); }

/* Search results */
html[data-theme="dark"] .search-card { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border); }

/* Chat widget */
html[data-theme="dark"] .mim-chat-panel {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}
html[data-theme="dark"] .mim-chat-msg--bot { background: var(--c-chip-bg); color: var(--c-text); }

/* Theme toggle button visual */
.header__theme-toggle { align-items: center; }
.header__theme-toggle .header__theme-label { display: none; }
@media (min-width: 900px) { .header__theme-toggle .header__theme-label { display: inline; } }
html[data-theme="dark"] .header__theme-toggle svg { stroke: #ffd466; }
html[data-theme="light"] .header__theme-toggle svg { stroke: var(--c-text); }

/* Misc hardcoded whites we found while reviewing */
html[data-theme="dark"] .scroll-top { background: var(--c-surface); color: var(--c-primary); border-color: var(--c-border); }
html[data-theme="dark"] .kn-hero,
html[data-theme="dark"] .kn-hero__card {
  background: var(--c-surface);
  color: var(--c-text);
}

/* Links that inherit the brand colour keep working, but generic body-copy
   links become hard to see on dark — give them a readable default. */
html[data-theme="dark"] a { color: var(--c-primary-ink); }
html[data-theme="dark"] a.header__logo,
html[data-theme="dark"] a.pcard,
html[data-theme="dark"] a.cat-tile,
html[data-theme="dark"] a.mrk-shop-tile,
html[data-theme="dark"] a.btn { color: inherit; }

/* ── Sections with hardcoded light gradients / backgrounds ──────────── */
/* Home: "Muito mais que mercearia" USP strip */
html[data-theme="dark"] .kn-value {
  background: linear-gradient(180deg, #1a201c 0%, #14171a 55%, var(--c-bg) 100%);
  color: var(--c-text);
}
html[data-theme="dark"] .kn-value__headline,
html[data-theme="dark"] .kn-value h1,
html[data-theme="dark"] .kn-value h2 { color: var(--c-text); }
html[data-theme="dark"] .kn-value p { color: var(--c-text-muted); }

/* Home: Knuspr-style hero tiles */
html[data-theme="dark"] .kn-hero,
html[data-theme="dark"] .kn-hero__tile,
html[data-theme="dark"] .kn-hero__card {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}

/* Trust strip, trustpilot section */
html[data-theme="dark"] .trust,
html[data-theme="dark"] .trustpilot-section,
html[data-theme="dark"] .trustpilot-section__header,
html[data-theme="dark"] .trustpilot-section__score {
  background: var(--c-bg);
  color: var(--c-text);
  border-color: var(--c-border);
}
html[data-theme="dark"] .trust__card h3 { color: var(--c-text); }
html[data-theme="dark"] .trust__card p,
html[data-theme="dark"] .trust__icon { color: var(--c-text-muted); }
html[data-theme="dark"] .trust__icon { background: var(--c-chip-bg); }

/* Mega footer (light grey on light) flips to dark */
html[data-theme="dark"] .footer--mega {
  background: var(--c-bg);
  color: var(--c-text);
}
html[data-theme="dark"] .footer--mega .footer__panel,
html[data-theme="dark"] .footer--mega .footer__b2b-card {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}
html[data-theme="dark"] .footer--mega .footer__panel h4,
html[data-theme="dark"] .footer--mega .footer__b2b-head,
html[data-theme="dark"] .footer--mega .footer__b2b-card strong { color: var(--c-text); }
html[data-theme="dark"] .footer--mega .footer__panel a { color: var(--c-primary-ink); }
html[data-theme="dark"] .footer--mega .footer__muted-list li { color: var(--c-text-muted); }
html[data-theme="dark"] .footer--mega .footer__bottom {
  background: var(--c-dark-bg);
  border-color: var(--c-border);
}
html[data-theme="dark"] .footer--mega .footer__bottom p { color: var(--c-text-muted); }
html[data-theme="dark"] .footer--mega .footer__bottom-right .footer__social a {
  background: var(--c-chip-bg);
  color: var(--c-text-muted);
}

/* Inspo / brands rows (pastel coloured tiles) — keep their hue, dim slightly */
html[data-theme="dark"] .inspo__inner,
html[data-theme="dark"] .brands__inner {
  color: var(--c-text);
}
html[data-theme="dark"] .inspo__card,
html[data-theme="dark"] .brands__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
html[data-theme="dark"] .inspo__card h3,
html[data-theme="dark"] .brands__card h3,
html[data-theme="dark"] .inspo__card p,
html[data-theme="dark"] .brands__card p { color: var(--c-text); }

/* Section titles / product-row headings */
html[data-theme="dark"] .product-row__head h2,
html[data-theme="dark"] .product-row__head a,
html[data-theme="dark"] .section-title {
  color: var(--c-text);
}

/* Voucher / toast / strips */
html[data-theme="dark"] .voucher,
html[data-theme="dark"] .mim-toast,
html[data-theme="dark"] .strip,
html[data-theme="dark"] .newsletter,
html[data-theme="dark"] .subscribe {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}

/* Allergen / diet filter chips bar on home */
html[data-theme="dark"] .cat-chips,
html[data-theme="dark"] .diet-chips-row {
  background: var(--c-surface);
  border-color: var(--c-border);
}
html[data-theme="dark"] .diet-chips-row__chip {
  background: var(--c-chip-bg);
  color: var(--c-text);
  border-color: var(--c-border);
}

/* Category mega panel (dropdown) */
html[data-theme="dark"] .cat-mega__panel,
html[data-theme="dark"] .catmega__panel {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}
html[data-theme="dark"] .cat-mega__col h4,
html[data-theme="dark"] .catmega__col h4 { color: var(--c-text-muted); }
html[data-theme="dark"] .cat-mega__link,
html[data-theme="dark"] .catmega__link { color: var(--c-text); }
html[data-theme="dark"] .cat-mega__link:hover,
html[data-theme="dark"] .catmega__link:hover { color: var(--c-primary); background: var(--c-chip-bg); }

/* Home page explicit rule — body.home-knuspr has a gradient override */
html[data-theme="dark"] body.home-knuspr { background: var(--c-bg); }
html[data-theme="dark"] body.home-knuspr .product-row { background: transparent; }

/* Cart drawer / sticky cart button */
html[data-theme="dark"] .cart-drawer,
html[data-theme="dark"] .mim-cart-drawer {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}

/* Login + address modals text on dark */
html[data-theme="dark"] .login-modal h2,
html[data-theme="dark"] .addr-modal h2,
html[data-theme="dark"] .modal h2 { color: var(--c-text); }

/* Promo-row tiles (home) */
html[data-theme="dark"] .promo-row,
html[data-theme="dark"] .kn-promo-row {
  background: var(--c-bg);
}
html[data-theme="dark"] .kn-promo-row__tile {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}

/* Conta page panels */
html[data-theme="dark"] .conta-page,
html[data-theme="dark"] .conta-panel,
html[data-theme="dark"] .conta__main,
html[data-theme="dark"] .conta__side,
html[data-theme="dark"] .conta-card {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}

/* USP strip text — strong uses hardcoded #1a1a1a, span uses #666 */
html[data-theme="dark"] .kn-value__usp strong { color: var(--c-text); }
html[data-theme="dark"] .kn-value__usp span { color: var(--c-text-muted); }
html[data-theme="dark"] .kn-value__usp-icon {
  background: var(--c-chip-bg);
  color: var(--c-primary-ink);
}

/* Dynamic diet/allergy filter bar rendered via JS with inline styles */
html[data-theme="dark"] #dietFilters {
  background: var(--c-surface) !important;
  border-color: var(--c-border) !important;
}
html[data-theme="dark"] #dietFilters > * {
  background: var(--c-chip-bg) !important;
  color: var(--c-text) !important;
  border-color: var(--c-border) !important;
}
html[data-theme="dark"] #dietFilters > *.is-active,
html[data-theme="dark"] #dietFilters > *[aria-pressed="true"] {
  background: var(--c-primary) !important;
  color: #fff !important;
  border-color: var(--c-primary) !important;
}

/* Any element that got a rendered inline background of pure white, flip it */
html[data-theme="dark"] [style*="rgb(255, 255, 255)"],
html[data-theme="dark"] [style*="background:#fff"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background:white"],
html[data-theme="dark"] [style*="background: white"] {
  background-color: var(--c-surface) !important;
}
html[data-theme="dark"] [style*="border: 1px solid #ddd"],
html[data-theme="dark"] [style*="border:1px solid #ddd"],
html[data-theme="dark"] [style*="border: 1px solid rgb(221, 221, 221)"] {
  border-color: var(--c-border) !important;
}

