:root {
  --canvas: #EAE3D9;
  --phone-bg: #FBF6EE;
  --dome-bg: rgba(242, 234, 221, 0.72);
  --card-bg: rgba(255, 255, 255, 0.86);
  --card-solid: #FFFFFF;
  --ink: #231815;
  --ink-soft: #5F4F47;
  --muted: #8D7E75;
  --brand: #9E0F19;
  --brand-hover: #830B14;
  --gold: #BC8626;
  --gold-soft: #FDF5E6;
  --green: #15803D;
  --danger-bg: #FDF0F0;
  --danger: #C81E1E;
  --line: rgba(35, 24, 21, 0.08);
  --shadow-card: 0 10px 28px rgba(35, 24, 21, 0.06);
  --shadow-plate: 0 14px 28px rgba(35, 24, 21, 0.15);
}

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

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

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #060607;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* ── MOLDURA DE IPHONE NO COMPUTADOR (IDÊNTICA À FÁBRICA 3D) ── */
.moldura-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 50% 30%, rgba(188, 134, 38, 0.16), transparent 60%),
    #060607;
}

.phone-frame {
  position: relative;
  width: 390px;
  height: 844px;
  border-radius: 58px;
  background: var(--phone-bg);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 11px #121214,
    0 0 0 12.5px #3a3833,
    0 0 0 14px #121214,
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(188, 134, 38, 0.08);
}

/* Status Bar + Dynamic Island (Idêntico à Fábrica 3D) */
.ios-statusbar {
  display: flex;
  position: absolute;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 30px 0 40px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  pointer-events: none;
}

.ios-island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 122px;
  height: 35px;
  border-radius: 20px;
  background: #000000;
  transform: translateX(-50%);
}

.ios-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 15px;
}

.bateria {
  width: 25px;
  height: 12px;
  border: 1.5px solid rgba(35, 24, 21, 0.55);
  border-radius: 4px;
  padding: 1.5px;
  display: inline-block;
  position: relative;
}

.bateria i {
  display: block;
  width: 80%;
  height: 100%;
  background: var(--ink);
  border-radius: 1.5px;
}

@media (max-width: 500px) {
  html, body {
    background: var(--phone-bg);
  }
  .moldura-desktop {
    display: block;
    height: 100%;
    background: var(--phone-bg);
  }
  .ios-statusbar {
    display: none;
  }
  .phone-frame {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Top-right soft warm Christmas Gold & Champagne glow */
.ambient-glow {
  position: absolute;
  top: -30px;
  right: -35px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle at 65% 35%,
    rgba(218, 168, 75, 0.34) 0%,
    rgba(158, 15, 25, 0.10) 44%,
    rgba(251, 246, 238, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

.app-view {
  display: none;
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 54px 0 110px;
  scrollbar-width: none;
  z-index: 1;
}

.app-view::-webkit-scrollbar {
  display: none;
}

.app-view.active {
  display: block;
}

@media (max-width: 500px) {
  .app-view {
    padding-top: 12px;
  }
}

/* Modo gravação limpa (sem barra de status nem dock duplicado na folha longa) */
body.rec-mode .moldura-desktop {
  display: block;
  height: auto;
  overflow: visible;
  background: var(--phone-bg);
}
body.rec-mode .phone-frame {
  width: 390px;
  height: auto;
  min-height: 100vh;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
body.rec-mode .ios-statusbar,
body.rec-mode .floating-dock,
body.rec-mode .details-bottom-bar {
  display: none !important;
}
body.rec-mode .app-view {
  position: relative;
  inset: auto;
  overflow: visible;
  padding: 10px 0 40px;
}

/* ── TOP BAR (HOME) ── */
.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 8px;
  gap: 12px;
}

.home-brand {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.home-brand__logo {
  height: 58px;
  width: auto;
  max-width: 215px;
  object-fit: contain;
  display: block;
}

.home-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 14px rgba(35, 24, 21, 0.05);
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-circle-btn:active {
  transform: scale(0.95);
}

.top-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--phone-bg);
}

.notif-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  border: 1.5px solid #FFFFFF;
}

/* ── HERO HEADLINE ("Hungry? Order & Eat.") ── */
.hero-Copy {
  padding: 6px 20px 14px;
}

.hero-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-title strong {
  font-weight: 800;
  color: var(--brand);
}

.hero-title span {
  font-weight: 300;
  color: var(--ink-soft);
}

/* ── SEARCH PILL + FILTER CIRCLE ── */
.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 14px;
}

.search-pill {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-pill__icon {
  position: absolute;
  left: 16px;
  color: var(--muted);
  pointer-events: none;
}

.search-pill input {
  width: 100%;
  height: 46px;
  padding: 0 36px 0 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.90);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  box-shadow: 0 4px 16px rgba(35, 24, 21, 0.04);
}

.search-pill input::placeholder {
  color: #A2948B;
}

.search-pill__clear {
  position: absolute;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #EFE8DD;
  color: var(--ink-soft);
  font-size: 11px;
  cursor: pointer;
  display: none;
  place-items: center;
}

.search-pill__clear.visible {
  display: grid;
}

.filter-circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(35, 24, 21, 0.22);
}

/* Quick Filter Chips */
.quick-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 20px 12px;
  scrollbar-width: none;
}

.quick-filters::-webkit-scrollbar {
  display: none;
}

.q-chip {
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  padding: 6px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.q-chip.active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  font-weight: 700;
}

/* ── CURVED ARC CATEGORIES + DOME SHEET ── */
.arc-section {
  position: relative;
  margin-top: 4px;
  padding-top: 10px;
}

.arc-bg-ring {
  position: absolute;
  top: 0;
  left: -18%;
  right: -18%;
  height: 210px;
  background: rgba(255, 255, 255, 0.56);
  border-top: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
  z-index: 0;
}

.arc-categories {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  overflow-x: auto;
  padding: 8px 22px 24px;
  scrollbar-width: none;
}

.arc-categories::-webkit-scrollbar {
  display: none;
}

.arc-cat-item {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
  width: 64px;
  font-family: inherit;
  transition: transform 0.2s ease;
}

.arc-cat-item:nth-child(1) { transform: translateY(18px); }
.arc-cat-item:nth-child(2) { transform: translateY(5px); }
.arc-cat-item:nth-child(3) { transform: translateY(-2px); }
.arc-cat-item:nth-child(4) { transform: translateY(5px); }
.arc-cat-item:nth-child(5) { transform: translateY(18px); }
.arc-cat-item:nth-child(n+6) { transform: translateY(10px); }

.arc-cat-item__bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 4px;
  border: 1.5px solid rgba(188, 134, 38, 0.22);
  box-shadow: 0 6px 16px rgba(35, 24, 21, 0.08);
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.arc-cat-item__bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.arc-cat-item__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  position: relative;
  padding-bottom: 5px;
}

.arc-cat-item.active .arc-cat-item__bubble {
  transform: scale(1.08);
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(158, 15, 25, 0.18);
}

.arc-cat-item.active .arc-cat-item__name {
  color: var(--brand);
  font-weight: 700;
}

.arc-cat-item.active .arc-cat-item__name::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand);
}

/* Inner curved dome holding the 2-column circular plate cards */
.dome-sheet {
  position: relative;
  z-index: 2;
  background: var(--dome-bg);
  border-top: 1.5px solid rgba(255, 255, 255, 0.90);
  border-radius: 76px 76px 0 0;
  padding: 22px 18px 24px;
  min-height: 520px;
}

.dome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 12px;
}

.dome-header__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.dome-header__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

/* ── 2-COLUMN CIRCULAR PLATE CARDS ── */
.plates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plate-card {
  min-width: 0;
  background: var(--card-bg);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  padding: 12px 12px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.plate-card:active {
  transform: scale(0.98);
}

.plate-card__media {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 2px auto 12px;
}

.plate-card__plate {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 5px;
  box-shadow: var(--shadow-plate);
  overflow: hidden;
}

.plate-card__plate img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.plate-card__garnish {
  position: absolute;
  right: -4px;
  bottom: -6px;
  font-size: 20px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.plate-card__title {
  margin: 0 0 3px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plate-card__sub {
  margin: 0 0 10px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plate-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.plate-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.plate-card__price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
}

.plate-plus-btn {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(158, 15, 25, 0.32);
  transition: transform 0.15s ease, background 0.15s ease;
}

.plate-plus-btn.in-cart {
  background: var(--gold);
  color: #FFFFFF;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(188, 134, 38, 0.35);
}

.load-more-wrap {
  text-align: center;
  margin-top: 20px;
}

.pill-more-btn {
  border: 1.5px solid rgba(188, 134, 38, 0.30);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

/* ── FLOATING PILL DOCK (4 CIRCULAR ICON BUTTONS) ── */
.floating-dock {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(35, 24, 21, 0.14);
}

.dock-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(35, 24, 21, 0.06);
  background: #FFFFFF;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
}

.dock-circle.active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(158, 15, 25, 0.38);
}

.dock-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* =========================================================
   TELA 2: PRODUCT DETAILS (DETALHES DA RECEITA)
   ========================================================= */
.sub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px;
}

.sub-topbar__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.details-body {
  padding: 6px 20px 24px;
}

.details-title-block {
  margin-bottom: 10px;
}

.details-title {
  margin: 0 0 3px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.details-subtitle {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
}

.details-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.stars-gold {
  color: var(--gold);
  letter-spacing: 1px;
}

.stars-score {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Split Hero: Left Stats + Right Giant Circular Plate */
.details-hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 18px;
  position: relative;
}

.details-stats {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.stat-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}

.stat-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stat-price small {
  font-size: 15px;
  font-weight: 600;
}

.stat-val {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

/* Quantity Stepper (- 10 +) */
.qty-pill-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 5px 6px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(35, 24, 21, 0.05);
  margin-top: 2px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.qty-btn--minus {
  background: #F4EFE6;
  color: var(--ink);
}

.qty-btn--plus {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(158, 15, 25, 0.30);
}

.qty-num {
  font-size: 14px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

/* Right Giant Circular Plate */
.details-plate-stage {
  position: relative;
  width: 215px;
  height: 215px;
  margin-right: -26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.giant-plate {
  width: 205px;
  height: 205px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 7px;
  box-shadow: 0 18px 38px rgba(35, 24, 21, 0.18);
  position: relative;
  z-index: 2;
}

.giant-plate img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.herb-leaf {
  position: absolute;
  font-size: 32px;
  z-index: 1;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

.herb-leaf--top {
  top: -12px;
  left: 34px;
  transform: rotate(-25deg);
}

.herb-leaf--bottom {
  bottom: -12px;
  left: 38px;
  transform: rotate(145deg);
}

/* Size Pills */
.details-section {
  margin-bottom: 18px;
}

.details-sec-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-pill {
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.90);
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(35, 24, 21, 0.04);
}

.size-pill.active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(158, 15, 25, 0.30);
}

/* 4 Ingredient Highlight Cards ("Extras" in reference) */
.extras-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.extra-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1.5px solid #FFFFFF;
  border-radius: 18px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(35, 24, 21, 0.04);
}

.extra-card__emoji {
  font-size: 24px;
  line-height: 1;
}

.extra-card__check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.extra-card__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.details-desc-heading {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.details-desc-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Ingredients & Steps inside Details */
.det-ing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.det-ing-list li {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #FFFFFF;
  border-radius: 14px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.det-ing-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.det-ing-qty {
  font-weight: 700;
  color: var(--brand);
  background: #FDF4F4;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  white-space: nowrap;
}

.det-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.det-step-list li {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.det-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Bottom Dual Action Pills */
.details-bottom-bar {
  position: sticky;
  bottom: -110px;
  left: 0;
  right: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12px;
  padding: 14px 20px 18px;
  margin-top: 12px;
  background: linear-gradient(to top, var(--phone-bg) 82%, rgba(251, 246, 238, 0));
}

.action-pill {
  height: 50px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.action-pill--gray {
  background: #EFE8DD;
  color: var(--ink);
}

.action-pill--brand {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(158, 15, 25, 0.34);
}

/* =========================================================
   TELA 3: MY CART (MINHA CEIA)
   ========================================================= */
.cart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 12px;
}

.cart-items-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.cart-select-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  text-decoration: underline;
}

.cart-cards-list {
  display: grid;
  gap: 12px;
  padding: 0 20px 18px;
}

.cart-h-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1.5px solid #FFFFFF;
  border-radius: 22px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: var(--shadow-card);
}

.cart-h-card__plate {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(35, 24, 21, 0.12);
  flex-shrink: 0;
}

.cart-h-card__plate img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.cart-h-card__body {
  flex: 1;
  min-width: 0;
}

.cart-h-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-h-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trash-circle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--danger-bg);
  color: var(--danger);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cart-h-card__size {
  margin: 2px 0 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.cart-h-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-h-card__total {
  font-size: 12.5px;
  color: var(--muted);
}

.cart-h-card__total strong {
  color: var(--ink);
  font-weight: 700;
}

.mini-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 3px 4px;
}

.mini-step-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mini-step-btn--minus {
  background: #F4EFE6;
  color: var(--ink);
}

.mini-step-btn--plus {
  background: var(--brand);
  color: #FFFFFF;
}

.mini-step-num {
  font-size: 12px;
  font-weight: 700;
}

/* Shopping List Drawer by Aisle */
.cart-aisles-drawer {
  margin: 0 20px 16px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.cart-aisles-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13.5px;
}

.link-mini {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.aisle-box {
  margin-bottom: 10px;
}

.aisle-box h5 {
  margin: 0 0 5px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Checkout Summary Sheet */
.cart-summary-sheet {
  margin: 8px 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1.5px solid #FFFFFF;
  border-radius: 30px;
  padding: 14px 20px 20px;
  box-shadow: 0 -6px 30px rgba(35, 24, 21, 0.05);
}

.sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #E2D9CC;
  margin: 0 auto 16px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13.5px;
}

.summary-label {
  color: var(--ink-soft);
  font-weight: 500;
}

.summary-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.summary-val--green {
  color: var(--green);
}

.summary-divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0 12px;
}

.summary-row--total .summary-label {
  color: var(--ink);
  font-weight: 600;
}

.summary-row--total .summary-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
}

.checkout-brand-btn {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(158, 15, 25, 0.34);
}

/* =========================================================
   TELA 4: CALCULADORA & 5 BÔNUS
   ========================================================= */
.bonus-scroll-body {
  padding: 6px 20px 24px;
}

.calc-card-modern {
  background: rgba(255, 255, 255, 0.90);
  border: 1.5px solid #FFFFFF;
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.calc-card-modern h3 {
  margin: 6px 0 4px;
  font-size: 17px;
}

.calc-card-modern p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.mini-pill-tag {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(188, 134, 38, 0.30);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.calc-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.calc-stat-box {
  background: #FAF5EC;
  border-radius: 16px;
  padding: 10px 12px;
}

.calc-stat-box span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.calc-stat-box strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
}

.bonus-sec-heading {
  font-size: 16px;
  margin: 0 0 12px;
}

.bonus-item-card {
  background: rgba(255, 255, 255, 0.90);
  border: 1.5px solid #FFFFFF;
  border-radius: 22px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}

.bonus-item-card img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 14px rgba(35, 24, 21, 0.12);
  flex-shrink: 0;
}

.bonus-item-card h4 {
  margin: 4px 0 3px;
  font-size: 13.5px;
}

.bonus-item-card p {
  margin: 0;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ══════════ DEM-114: peças novas (favoritos, selos, bônus, toast) ══════════ */
.plate-card__title {
  -webkit-line-clamp: 2;
  min-height: 2.5em;
  font-size: 14px;
}
.plate-card__diets {
  display: flex;
  gap: 4px;
  min-height: 20px;
  margin: 2px 0 8px;
}
.diet-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  background: #F3EEE6;
}
.diet-dot--veg { background: #E8F4EA; }
.diet-dot--gf { background: #FBF1DD; }
.diet-dot--lf { background: #EAF1FA; }

.hero-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.filter-circle-btn { position: relative; }
.filter-active-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink);
}
.quick-filters { flex-wrap: wrap; }

.cat-note {
  margin: -4px 2px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 10px 12px;
}

.empty-box {
  text-align: center;
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.empty-box strong { font-size: 14.5px; }
.empty-box span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }
.empty-box .link-mini { margin-top: 6px; }

/* Detalhes */
.details-diets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  min-height: 0;
}
.diet-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F3EEE6;
  color: var(--ink);
}
.diet-pill--veg { background: #E8F4EA; color: #1F6B35; }
.diet-pill--gf { background: #FBF1DD; color: #8A5A0B; }
.diet-pill--lf { background: #EAF1FA; color: #1F4E86; }

.fav-btn.is-fav { color: var(--brand); }
.fav-btn.is-fav svg { fill: var(--brand); }

.secret-box {
  background: var(--gold-soft);
  border: 1px solid rgba(188, 134, 38, 0.22);
  border-radius: 18px;
  padding: 12px 14px;
}
.secret-box .details-desc-heading { margin-top: 0; }
.det-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}
.details-tools { text-align: center; padding-bottom: 8px; }
.det-ing-list li.is-checked span { text-decoration: line-through; color: var(--muted); }

.qty-btn:disabled,
.mini-step-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Minha Ceia */
.aisles-tools {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}

/* Bônus */
button.bonus-item-card {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button.bonus-item-card:active { transform: scale(0.99); }
.bonus-item-card > div { flex: 1; min-width: 0; }
.bonus-item-card__go {
  font-size: 24px;
  color: var(--muted);
  padding-right: 4px;
}
.calc-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 14px 0 10px;
}
.calc-stepper__num { font-size: 14px; color: var(--ink-soft); }
.calc-stepper__num strong { font-size: 26px; color: var(--ink); margin-right: 2px; }
#calcGuestBtns { margin: 0 0 14px; justify-content: center; }
#calcCard .checkout-brand-btn { margin-top: 14px; }
.calc-card-modern { scroll-margin-top: 12px; transition: box-shadow 0.3s ease; }
.calc-card-modern.pulse { box-shadow: 0 0 0 3px rgba(188, 134, 38, 0.55), var(--shadow-card); }

.reader-body { padding: 4px 20px 30px; }
.reader-cover {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  display: block;
}
.reader-h1 { font-size: 21px; margin: 16px 0 6px; line-height: 1.25; }
.reader-lead { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.5; }
.reader-sec {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #FFFFFF;
  border-radius: 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.reader-sec summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 40px 14px 16px;
  font-weight: 700;
  font-size: 14px;
  position: relative;
}
.reader-sec summary::-webkit-details-marker { display: none; }
.reader-sec summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--brand);
}
.reader-sec[open] summary::after { content: "–"; }
.reader-sec ul { margin: 0; padding: 0 16px 14px 32px; }
.reader-sec li { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 7px; }
.reader-print { display: block; text-align: center; text-decoration: none; margin-top: 16px; }

.favs-body { padding: 6px 20px 24px; }
.icon-circle-btn--ghost { visibility: hidden; }
a.icon-circle-btn { color: inherit; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* Toast */
.toast {
  position: absolute;
  left: 50%;
  bottom: 104px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Computador com tela baixa: o celular de moldura cabe inteiro */
@media (min-width: 501px) and (max-height: 900px) {
  .phone-frame { height: calc(100vh - 48px); min-height: 600px; }
}
.diet-dot { position: relative; overflow: hidden; }
.diet-dot--gf::after,
.diet-dot--lf::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 2px;
  background: #C81E1E;
  transform: rotate(-45deg);
  border-radius: 2px;
}
