/* ReadySetYummy — screen + print. Prototipo interno. */
:root {
  --paper: #F6F0E6;
  --paper-2: #FFFBF5;
  --ink: #1C1712;
  --ink-soft: #5A5148;
  --line: #D7CBB8;
  --coral: #FF5E63;          /* logo / wordmark Yummy — logotype, not UI text */
  --coral-dk: #C83038;       /* buttons & links: 5.34:1 on white, 4.71:1 on paper (AA) */
  --coral-hover: #B5242C;    /* 6.45:1 on white */
  --coral-soft: #FAE5E6;
  --charcoal: #4E4E50;       /* wordmark ReadySet: 7.32:1 on paper */
  --terracotta: var(--coral-dk);
  --terracotta-dk: var(--coral-hover);
  --olive: #3E5A3A;
  --olive-soft: #E6EDE4;
  --gold: #E8C988;
  --gold-soft: #F8ECD0;
  --danger: #8B2E1F;
  --danger-soft: #F8E8E4;
  --lock: #6B6258;
  --shadow: 0 8px 24px rgba(28, 23, 18, .08);
  --radius: 16px;
  --font-ui: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "Georgia", serif;
  --wide-line: 2.05rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.5;
  min-height: 100dvh;
}
img { max-width: 100%; height: auto; }
a { color: var(--terracotta-dk); }
button, input, select, textarea { font: inherit; }

.proto-banner {
  background: #2A231C;
  color: #F6F0E6;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .85rem;
  letter-spacing: .01em;
}
.proto-banner strong { color: var(--gold); }

.app-chrome {
  position: static;
  background: var(--paper-2);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  padding: .65rem 1rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
}
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  min-width: 0;
}
.brand img.brand-lockup,
.brand-lockup {
  height: 40px;
  width: auto;
  max-width: min(100%, 280px);
  flex-shrink: 1;
  display: block;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
  min-width: 0;
}
.wordmark {
  display: block;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.wordmark .accent { color: var(--coral); }
.brand-name .tagline,
.brand-name span.tagline,
.brand-block .tagline,
.brand .tagline {
  display: block;
  font-size: .72rem;
  font-family: var(--font-ui);
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}
.print-logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 3mm;
}
.header-actions {
  display: flex;
  gap: .4rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  min-width: 0;
  flex: 0 1 auto;
}
.header-actions::-webkit-scrollbar { display: none; }
.header-actions .btn,
.header-actions .field { flex: 0 0 auto; white-space: nowrap; }
.header-actions .label-short { display: none; }
@media (max-width: 720px) {
  .site-header {
    flex-wrap: nowrap;
    padding: .4rem .75rem;
    gap: .4rem;
  }
  .brand { flex: 1 1 auto; min-width: 0; }
  .header-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    overflow: visible;
  }
  .header-actions { gap: .25rem; }
  .header-actions .btn { min-height: 40px; padding: .35rem .55rem; font-size: .92rem; }
  #paper-select { width: 4.6rem; padding: .4rem .3rem; }
  .wordmark { font-size: 1.02rem; }
  .brand img.brand-lockup, .brand-lockup { height: 28px; }
  .brand-block .tagline {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 400px) {
  .brand img { width: 36px; height: 36px; }
  .brand img.brand-lockup, .brand-lockup { height: 26px; }
  .wordmark { font-size: .95rem; }
}

.btn, button.btn {
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem .9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
}
.btn:hover { border-color: var(--terracotta); }
.btn-primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); }
.btn-olive { background: var(--olive); border-color: var(--olive); color: #fff; font-weight: 600; }
.btn-ghost { background: transparent; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.nav-tabs {
  display: flex;
  gap: .25rem;
  padding: .35rem .75rem;
  overflow-x: auto;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-overflow-scrolling: touch;
}
html { scroll-padding-top: 52px; }
[data-view] h1 { scroll-margin-top: 56px; }
.nav-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: .55rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  font-weight: 600;
}
.nav-tabs button[aria-selected="true"] {
  background: var(--gold-soft);
  color: var(--ink);
}

main.app { padding: 1rem; max-width: 1100px; margin: 0 auto 4rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.35rem; }
p.lead { font-size: 1.08rem; color: var(--ink-soft); margin-top: 0; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
  align-items: center;
}
.chip, .mode-btn {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  padding: .4rem .8rem;
  cursor: pointer;
  min-height: 40px;
}
.chip[aria-pressed="true"], .mode-btn[aria-pressed="true"] {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
label.field { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; color: var(--ink-soft); }
label.field.paper-field {
  flex-direction: row;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  margin: 0;
  position: relative;
}
@media (max-width: 720px) {
  .header-actions .label-full { display: none; }
  .header-actions .label-short { display: inline; }
  label.field.paper-field #paper-word {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
label.field select, label.field input, .field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .55rem .7rem;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
}

.ideas { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .ideas { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  position: relative;
}
.card h3 { font-size: 1.2rem; padding-right: 2.2rem; }
.meta { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; }
.tag {
  background: var(--olive-soft);
  color: var(--olive);
  border-radius: 999px;
  padding: .15rem .5rem;
  font-weight: 600;
}
.tag.eco { background: var(--gold-soft); color: #6A4E12; }
.tag.time { background: #EEE7DC; color: var(--ink); }
.fav {
  position: absolute;
  top: .7rem;
  right: .7rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: var(--terracotta);
  min-width: 44px;
  min-height: 44px;
}
.card-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }

.pantry { margin: .5rem 0 1rem; }
.pantry .chip { font-size: .92rem; }

.week-grid { display: grid; gap: .75rem; }
@media (min-width: 900px) {
  .week-grid { grid-template-columns: repeat(7, 1fr); }
}
.day-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  break-inside: avoid;
}
.day-card header {
  background: var(--gold-soft);
  padding: .5rem .7rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.day-card header.today-hl { background: var(--terracotta); color: #fff; }
.meal-slot { padding: .55rem .7rem; border-top: 1px dashed var(--line); }
.meal-slot:first-of-type { border-top: 0; }
.meal-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; }
.meal-slot strong { display: block; font-size: .95rem; }
.leftover-flag { color: var(--olive); font-size: .82rem; font-weight: 600; }
.swap { margin-top: .35rem; font-size: .85rem; }

.list-section { margin: 1.2rem 0; }
.list-section h3 {
  font-size: 1.05rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: .25rem;
  margin-bottom: .4rem;
}
.shop-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: .6rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  min-height: var(--wide-line);
  padding: .25rem 0;
}
.shop-item.done span { text-decoration: line-through; color: var(--ink-soft); }
.shop-item input { width: 20px; height: 20px; accent-color: var(--olive); }

.prep-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  margin: .8rem 0;
}
.prep-block h3 { color: var(--olive); }
.prep-block li {
  border-bottom: 1px solid var(--line);
  min-height: var(--wide-line);
  padding: .4rem 0;
  list-style: none;
}
.prep-block ul { margin: 0; padding: 0; }

.disclaimer, .legal-box {
  background: var(--danger-soft);
  border: 1px solid #E2C4BC;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  color: var(--danger);
  font-size: .95rem;
  margin: 1rem 0;
}
.legal-box h3 { color: var(--danger); }
.muted { color: var(--ink-soft); font-size: .92rem; }
.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #2A231C;
  color: #fff;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.teaser-card { opacity: 1; }
.teaser-card .locked-note { font-size: .88rem; color: var(--lock); font-style: italic; }
.price-hyp { font-size: .85rem; color: var(--ink-soft); font-style: italic; }

.modal-bg {
  position: fixed; inset: 0;
  background: rgba(28,23,18,.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 40;
  padding: 1rem;
}
.modal-bg.open { display: flex; }
.modal {
  background: var(--paper-2);
  border-radius: 20px 20px 12px 12px;
  max-width: 640px;
  width: 100%;
  max-height: 90dvh;
  overflow: auto;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .modal-bg { align-items: center; }
  .modal { border-radius: 20px; }
}
.steps { padding-left: 1.2rem; }
.steps li { margin: .4rem 0; }
.ings li { margin: .25rem 0; }

/* Landing */
.hero {
  padding: 2.2rem 1.1rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 3rem; }
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.hero-shot {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #fff;
}
.hero-shot img { display: block; width: 100%; }
.steps-3 { display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.step-n {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terracotta);
}
.tiers { display: grid; gap: 1rem; }
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { text-align: left; }
.tier .amount { font-family: var(--font-display); font-size: 2rem; }
.section { padding: 2rem 1.1rem; max-width: 1100px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
}
.faq summary { cursor: pointer; font-weight: 650; }
.waitlist {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
}
.waitlist form { display: grid; gap: .8rem; }
@media (min-width: 700px) {
  .waitlist form { grid-template-columns: 1fr 1fr; }
  .waitlist form .full { grid-column: 1 / -1; }
}
.consent { font-size: .88rem; display: flex; gap: .6rem; align-items: flex-start; }
.thanks {
  background: var(--olive-soft);
  border-radius: 14px;
  padding: 1rem;
  display: none;
}
.thanks.show { display: block; }
.site-footer { padding: 2rem 1.1rem; color: var(--ink-soft); font-size: .88rem; border-top: 1px solid var(--line); text-align: center; }
.empty { color: var(--ink-soft); font-style: italic; padding: 1rem 0; }

/* Print / iPrintsLab-style worksheet */
.print-only { display: none; }
@page { size: A4; margin: 12mm; }
html.paper-letter @page { size: letter; margin: 12mm; }

@media print {
  :root { --wide-line: 9mm; }
  .proto-banner, .site-header, .nav-tabs, .app-chrome, .no-print, .header-actions, .btn, button, .modal-bg, .fav, .swap {
    display: none !important;
  }
  body { background: #fff; font-size: 11.5pt; color: #111; }
  main.app, .section, .hero { padding: 0; max-width: none; margin: 0; }
  a { color: inherit; text-decoration: none; }
  .print-only { display: block !important; }
  .screen-only { display: none !important; }
  .print-sheet {
    display: block;
    background: #fff;
  }
  .print-mast {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2pt solid #1C1712;
    padding-bottom: 6mm;
    margin-bottom: 6mm;
  }
  .print-mast h1 { font-size: 18pt; margin: 0; }
  .print-meta { font-size: 10pt; }
  .print-line {
    border-bottom: 0.6pt solid #444;
    min-height: var(--wide-line);
    display: flex;
    align-items: flex-end;
    padding: 1mm 0;
  }
  .week-grid { grid-template-columns: repeat(2, 1fr); gap: 4mm; }
  html.paper-a4 .week-grid, .week-grid { break-inside: auto; }
  .day-card { break-inside: avoid; box-shadow: none; border: 0.8pt solid #1C1712; border-radius: 0; }
  .day-card header { background: #F3E6C4 !important; color: #111 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .shop-item { grid-template-columns: 6mm 1fr 28mm; min-height: var(--wide-line); border-bottom: 0.6pt solid #888; }
  .prep-block { box-shadow: none; border-radius: 0; border: 0.8pt solid #1C1712; break-inside: avoid; }
  .list-section { break-inside: avoid; }
  .print-break { break-before: page; }
}

/* On-screen print preview */
body.print-preview .proto-banner,
body.print-preview .site-header,
body.print-preview .nav-tabs,
body.print-preview .app-chrome,
body.print-preview .screen-only { display: none !important; }
body.print-preview main.app,
body.print-preview #modal-bg,
body.print-preview .nav-tabs { display: none !important; }
body.print-preview { background: #cfc6b8; }
body.print-preview .print-only { display: block; }
body.print-preview .print-sheet {
  background: #fff;
  max-width: 210mm;
  margin: 1rem auto 3rem;
  padding: 14mm;
  box-shadow: var(--shadow);
  min-height: 297mm;
}
html.paper-letter body.print-preview .print-sheet { max-width: 8.5in; min-height: 11in; }


/* Skip link */
.skip-link {
  position: absolute;
  left: .5rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: .4rem .8rem;
  border-radius: 8px;
  z-index: 50;
}
.skip-link:focus { top: .5rem; }

/* Global servings bar */
.servings-slot { margin: .2rem 0 1rem; }
.servings-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  padding: .55rem .75rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.servings-bar[hidden] { display: none !important; }
.servings-bar .field {
  flex-direction: row;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-weight: 650;
  font-size: .92rem;
}
#servings-target {
  width: 4.2rem;
  min-height: 36px;
}
.servings-bar .chip[aria-pressed="true"] {
  background: var(--coral-dk);
  color: #fff;
  border-color: var(--coral-dk);
}

/* Premium trial (placeholder, no payments) */
.trial-banner {
  background: var(--coral-soft);
  border: 1px solid #E8B4B6;
  border-radius: 14px;
  padding: .85rem 1rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.trial-banner .badge-premium {
  display: inline-block;
  background: var(--coral-dk);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .15rem .5rem;
  border-radius: 999px;
  margin-right: .35rem;
}
.trial-banner p { margin: .25rem 0 0; font-size: .92rem; }
.trial-banner .price-soon { font-weight: 700; color: var(--coral-dk); }

/* Packs catalog */
.packs-catalog {
  display: grid;
  gap: .85rem;
  margin: 1rem 0 2rem;
}
@media (min-width: 720px) {
  .packs-catalog { grid-template-columns: repeat(2, 1fr); }
}
.pack-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  text-align: left;
}
.pack-card h3 { margin: .35rem 0 .3rem; font-size: 1.15rem; }
.pack-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: var(--olive-soft);
  color: var(--olive);
}
.pack-badge.premium, .pack-badge.paid { background: var(--coral-soft); color: var(--coral-dk); }
.pack-badge.event { background: var(--gold-soft); color: #6A4A12; }
.pack-badge.coming-soon { background: #EEE7DB; color: var(--lock); }
.pack-card.coming { opacity: .95; }
.pack-card .diet-disc { font-size: .88rem; color: var(--ink-soft); margin-top: .4rem; }

/* Recetario */
.book-form {
  display: grid;
  gap: .8rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.book-form textarea { width: 100%; resize: vertical; min-height: 6rem; }
.privacy-box { background: var(--olive-soft); border-color: #C5D4C2; }
.book-thumb {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin: .4rem 0;
}
.timing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin: .8rem 0 1rem;
}
.timing-table th, .timing-table td {
  border-bottom: 1px solid var(--line);
  padding: .4rem .45rem;
  text-align: left;
}
.timing-table th { font-size: .8rem; color: var(--ink-soft); font-weight: 650; }
.qty-alt { color: var(--ink-soft); font-weight: 500; }

html.paper-letter body.print-preview .print-sheet { max-width: 8.5in; min-height: 11in; }

/* Settings */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: .4rem;
  color: var(--ink);
}
.btn-icon[aria-current="true"] { background: var(--coral-soft); color: var(--coral-dk); }
.settings-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
}
.settings-row:last-child { border-bottom: 0; }
.settings-copy { min-width: 0; }
.settings-name { display: block; font-weight: 650; }
.settings-help { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: .15rem; }

/* iOS-style switch: knob right + green = ON, left + grey = OFF */
.ios-switch {
  position: relative;
  width: 51px;
  height: 31px;
  flex-shrink: 0;
  border: 0;
  border-radius: 16px;
  background: #E4E4E6;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease;
}
.ios-switch[aria-checked="true"] { background: #34C759; }
.ios-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.ios-switch[aria-checked="true"] .ios-knob { transform: translateX(20px); }
.ios-switch:focus-visible { outline: 2px solid var(--coral-dk); outline-offset: 2px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.seg button {
  appearance: none;
  background: var(--paper);
  border: 0;
  padding: .4rem .7rem;
  min-height: 36px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--coral-dk); color: #fff; }
.seg button:focus-visible { outline: 2px solid var(--coral-dk); outline-offset: -2px; }

/* Shopping list extras */
.shop-item {
  grid-template-columns: 28px 1fr auto 36px;
  align-items: center;
}
.shop-item .btn-home {
  grid-column: auto;
  justify-self: end;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shop-item .btn-home:hover, .shop-item .btn-home[aria-pressed="true"] {
  color: var(--olive);
  background: var(--olive-soft);
}
.shop-item .btn-home:focus-visible { outline: 2px solid var(--coral-dk); outline-offset: 2px; }
.list-section[data-section="en-casa"] h3 { color: var(--olive); }
.shop-item.done { opacity: .7; }

/* Cooking mode in recipe (only when setting is on) */
.cook-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .8rem 0; }
#cook-progress, .cook-progress {
  width: 100%;
  margin: .4rem 0 .8rem;
}
.cook-progress meter { width: 100%; height: .7rem; }
.cook-item, .cook-step {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
}
.cook-item input, .cook-step input { margin-top: .25rem; flex-shrink: 0; width: 1.15rem; height: 1.15rem; }
.cook-item.have, .cook-step.done { opacity: .65; text-decoration: line-through; }
.modal.cook-on { font-size: 1.08rem; }

.cuisine-group { margin: 1.4rem 0 0.4rem; }
.cuisine-group h3 {
  font-family: Fraunces, serif;
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: var(--ink, #1C1712);
}

/* Overflow ⋯ menu: popover on small screens, inline on desktop */
.header-more { position: relative; display: flex; align-items: center; }
.more-panel {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 11.5rem;
  padding: .65rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 30;
}
.more-panel .btn { width: 100%; justify-content: flex-start; }
@media (max-width: 720px) {
  .more-panel {
    position: absolute;
    right: 0;
    top: calc(100% + .35rem);
  }
  .more-panel[hidden] { display: none !important; }
}
@media (min-width: 721px) {
  #btn-more { display: none !important; }
  .more-panel,
  .more-panel[hidden] {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .more-panel .btn { width: auto; }
}


/* Week navigation + list range */
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 0 1rem;
}
.week-nav #week-nav-label {
  text-align: center;
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.week-nav .btn { min-height: 40px; padding: .35rem .7rem; }
.week-nav .btn:disabled { opacity: .45; }
.list-range { margin: .2rem 0 .65rem; flex-wrap: wrap; }
.list-range button.is-premium.is-locked { position: relative; }
.list-range button.is-premium[data-badge]::after {
  content: attr(data-badge);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-left: .35rem;
  text-transform: uppercase;
  color: var(--coral-dk);
}
.list-range button[aria-pressed="true"].is-premium::after { color: #fff; }
#list-range-note { margin: 0 0 .8rem; font-size: .9rem; }

.shop-item .item-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 0; }
.shop-item .item-name { display: block; }
.shop-item .used-in { display: block; font-size: .75rem; color: var(--ink-soft); font-weight: 500; }
.shop-item.done .item-name { text-decoration: line-through; color: var(--ink-soft); }
.shop-item.done span { text-decoration: none; }
