/* MVP Pizzaria — mobile-first, tema quente */
:root {
  --bg: #0f0e0d;
  --bg-elevated: #1a1816;
  --surface: #242120;
  --surface-2: #2e2b29;
  --text: #f7f3ef;
  --muted: #a39e97;
  --accent: #e85d2c;
  --accent-2: #ffb347;
  --accent-soft: rgba(232, 93, 44, 0.15);
  --ring: #ffd166;
  --danger: #f04438;
  --success: #2e9b57;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --space: 1rem;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(232, 93, 44, 0.12), transparent),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 179, 71, 0.08), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(15, 14, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--accent-2);
}

.hero {
  padding: 2.25rem 0 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height:1.15;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.hero p.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff6b3d);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 93, 44, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(232, 93, 44, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
  background: rgba(240, 68, 56, 0.15);
  color: #ffb4ad;
  border: 1px solid rgba(240, 68, 56, 0.35);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.card__media {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 0.85rem 1rem 1rem;
}

.card__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.card__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.pill--off {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.check-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  user-select: none;
}

.check-lg input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  transform: scale(1.15);
  transform-origin: left center;
}

.field label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(255, 209, 102, 0.35);
  border-color: rgba(255, 209, 102, 0.45);
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Pizza visual — moldura madeira, metades com rótulo e carrossel por arraste */
.pizza-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 1.5rem;
}

.pizza-stage__hint {
  text-align: center;
  max-width: 22rem;
  margin: 0.65rem 0 0;
}

.cliente-pizza-only {
  padding-bottom: 2.5rem;
}

.cliente-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.cliente-toolbar .btn {
  width: 100%;
  min-height: 3rem;
}

.btn-borda {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1.1;
}

.btn-borda__title {
  font-weight: 800;
}

.btn-borda__sub {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.85;
}

body.theme-delivery .btn-borda__sub {
  color: var(--dl-muted);
  opacity: 1;
}

.cliente-subtotal-hint {
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.cliente-pizza-only__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.cliente-pizza-only__actions--split {
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.cliente-pizza-only__actions--split .btn-ghost {
  flex: 1 1 140px;
  min-height: 3rem;
}

.cliente-pizza-only__actions .btn-primary,
.cliente-pizza-only__actions--split .btn-primary {
  flex: 1 1 160px;
  min-width: min(100%, 200px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.05rem;
}

.modal-borda-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-retirar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .modal-retirar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-retirar-col__title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-2);
}

/**
 * Tábua real (PNG) atrás, maior; .pizza-visual à frente, menor — borda da tábua aparece ao redor.
 * --pizza-board-bg definido em cliente/index.php
 */
.pizza-board-frame {
  position: relative;
  width: min(400px, 96vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.pizza-board-frame__stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
}

/* Mesma largura do círculo da pizza para alinhar nome da esquerda / direita */
.pizza-visual__labels-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  width: 72%;
  max-width: 280px;
}

.pizza-visual__link-halves {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: auto 0;
  opacity: 0.9;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.pizza-visual__link-halves:active {
  transform: scale(0.98);
}

.pizza-visual__link-halves.is-on {
  border-color: rgba(255, 209, 102, 0.55);
  background: rgba(255, 209, 102, 0.14);
}

body.theme-delivery .pizza-visual__link-halves {
  border-color: rgba(30, 30, 30, 0.12);
  background: rgba(30, 30, 30, 0.04);
  color: var(--dl-text);
}

body.theme-delivery .pizza-visual__link-halves.is-on {
  border-color: rgba(255, 90, 31, 0.45);
  background: rgba(255, 90, 31, 0.14);
  color: var(--dl-text);
}

.pizza-visual__descs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  width: 72%;
  max-width: 280px;
}

.pizza-visual__descbox {
  min-width: 0;
}

.pizza-visual__desc {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

body.theme-delivery .pizza-visual__desc {
  color: var(--dl-muted);
}

.pizza-visual__pos {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-2);
  text-align: center;
}

body.theme-delivery .pizza-visual__pos {
  color: var(--dl-olive);
}

/* Nomes fora do círculo — acima da pizza */
.pizza-visual__label--outside {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--text);
  padding: 0.4rem 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  min-height: 2.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  hyphens: auto;
  overflow-wrap: anywhere;
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pizza-board-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(
    --pizza-board-bg,
    url("../../imagem/tabua-p-pizzay.PNG")
  );
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}

.pizza-visual {
  position: relative;
  z-index: 1;
  width: 72%;
  max-width: 280px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
}

.pizza-visual__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #221c19;
}

/* tema claro: base mais clara dentro do círculo */
body.theme-delivery .pizza-visual__inner {
  background: #f7f4ee;
}

/* Borda recheada (queijo) — anel interno sobre a massa */
.pizza-visual__inner--cheese {
  box-shadow:
    inset 0 0 0 7px rgba(255, 200, 90, 0.75),
    inset 0 0 0 11px rgba(35, 28, 22, 0.96);
}

.pizza-visual__half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
}

.pizza-visual__half:active {
  cursor: grabbing;
}

.pizza-visual__half--left {
  left: 0;
}

.pizza-visual__half--right {
  left: 50%;
}

/**
 * Cada .pizza-visual__media é independente: a foto do sabor é ampliada 2× na largura
 * e alinhada à esquerda ou à direita, assim a metade esquerda da imagem encaixa na
 * metade esquerda da pizza (e o mesmo para a direita), como duas meias-redondas.
 */
.pizza-visual__media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-color: #3a3532;
  background-repeat: no-repeat;
  background-size: 200% auto;
  will-change: transform, opacity;
  opacity: 0;
  transition: transform 0.05s ease-out, opacity 0.28s ease;
}

.pizza-visual__media-layer.is-active {
  opacity: 1;
}

body.theme-delivery .pizza-visual__media-layer {
  background-color: #ebe6dc;
}

.pizza-visual__half--left .pizza-visual__media-layer {
  background-position: left center;
}

.pizza-visual__half--right .pizza-visual__media-layer {
  background-position: right center;
}

.pizza-visual__divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.45) 20%,
    rgba(0, 0, 0, 0.45) 80%,
    rgba(0, 0, 0, 0.15) 100%
  );
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.suggestions li button {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.suggestions li button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.borda-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.borda-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
}

.borda-option.is-selected {
  border-color: rgba(255, 209, 102, 0.55);
  background: rgba(255, 209, 102, 0.08);
}

.borda-option strong {
  display: block;
}

.borda-option small {
  color: var(--muted);
}

.fab-cart {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff6b3d);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(232, 93, 44, 0.45);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.fab-cart .badge {
  background: rgba(0, 0, 0, 0.25);
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-backdrop.is-open {
  display: flex;
}

.cliente-sabor {
  margin-top: 1.25rem;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.cliente-sabor__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cliente-sabor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cliente-sabor__btn {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.cliente-sabor__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.cliente-sabor__name {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
}

.cliente-sabor__hint {
  margin: 0.6rem 0 0;
  text-align: center;
}

body.theme-delivery .cliente-sabor__btn {
  background: var(--dl-card);
  border-color: rgba(30, 30, 30, 0.08);
  box-shadow: var(--dl-shadow);
  color: var(--dl-text);
}

body.theme-delivery .cliente-sabor__meta {
  color: var(--dl-muted);
}

body.theme-delivery .cliente-sabor__title {
  color: var(--dl-text);
}

.topbar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.22);
}

body.theme-delivery .topbar__badge {
  background: rgba(255, 255, 255, 0.25);
}

.modal {
  width: min(100%, 480px);
  max-height: 85vh;
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}

@media (min-width: 520px) {
  .modal-backdrop {
    align-items: center;
  }
  .modal {
    border-radius: var(--radius);
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.check-row input {
  margin-top: 0.2rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
  background: var(--surface-2);
  color: var(--text);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

/* Admin */
.admin-layout {
  padding-bottom: 3rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.admin-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  border: 1px solid transparent;
}

.admin-nav a.is-active {
  border-color: rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.1);
}

.admin-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.admin-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.item-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-row__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-2);
}

.item-row__meta h3 {
  margin: 0;
  font-size: 0.95rem;
}

.item-row__meta p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.item-row__actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  margin: 0;
  color: var(--accent-2);
}

.footer-note {
  text-align: center;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Carrinho */
.checkout-summary {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

.line-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.line-item:last-child {
  border-bottom: none;
}

.pay-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pay-option {
  flex: 1 1 120px;
}

.pay-option input {
  display: none;
}

.pay-option span {
  display: block;
  text-align: center;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.pay-option input:checked + span {
  border-color: rgba(255, 209, 102, 0.6);
  background: rgba(255, 209, 102, 0.12);
}

/* Carrinho — linha com mini pizza + texto */
.cart-line {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 480px) {
  .cart-line {
    grid-template-columns: 128px 1fr;
  }
}

.cart-line__viz {
  flex-shrink: 0;
}

.cart-line__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.cart-line__sabores {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.cart-line__desc {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.cart-line__retirar {
  margin: 0.35rem 0;
  font-size: 0.82rem;
  color: var(--accent-2);
}

.cart-line__sub {
  margin: 0.65rem 0 0.35rem;
  font-size: 1rem;
}

.cart-line__remove {
  margin-top: 0.35rem;
}

.cart-mini-pizza {
  width: 100%;
  max-width: 128px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  background: #221c19;
}

.cart-mini-pizza__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.cart-mini-pizza__half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: 200% auto;
  background-repeat: no-repeat;
  background-color: #3a3532;
}

.cart-mini-pizza__half--left {
  left: 0;
  background-position: left center;
}

.cart-mini-pizza__half--right {
  left: 50%;
  background-position: right center;
}

.cart-mini-pizza__divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* theme-delivery — INSTRUÇÃO_DESIGNER (home, cliente, carrinho)              */
/* -------------------------------------------------------------------------- */

body.theme-delivery {
  --dl-bg: #f5f1e8;
  --dl-card: #ffffff;
  --dl-text: #1e1e1e;
  --dl-muted: #777777;
  --dl-cta: #ff5a1f;
  --dl-olive: #6b8e23;
  --dl-radius: 16px;
  --dl-shadow: 0 8px 24px rgba(30, 30, 30, 0.08);
  background: var(--dl-bg);
  color: var(--dl-text);
}

body.theme-delivery .shell {
  max-width: 1120px;
}

body.theme-delivery .topbar--delivery {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 30, 30, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

body.theme-delivery .topbar--delivery .brand__mark {
  color: var(--dl-cta);
}

body.theme-delivery .topbar--delivery .brand__suffix {
  color: var(--dl-text);
  font-weight: 600;
}

body.theme-delivery .topbar--delivery .brand--delivery {
  color: var(--dl-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

body.theme-delivery .topbar__nav {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.theme-delivery .topbar__link {
  color: var(--dl-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

body.theme-delivery .topbar__link:hover {
  background: rgba(255, 90, 31, 0.1);
  color: var(--dl-cta);
}

body.theme-delivery .topbar__link--accent {
  background: var(--dl-cta);
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.3);
}

body.theme-delivery .topbar__link--accent:hover {
  background: #e85216;
  color: #fff !important;
  filter: brightness(1.02);
}

/* Botões e tipografia */
body.theme-delivery .btn {
  border-radius: var(--dl-radius);
}

body.theme-delivery .btn-primary {
  background: linear-gradient(135deg, var(--dl-cta), #ff7a45);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 90, 31, 0.32);
}

body.theme-delivery .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255, 90, 31, 0.4);
}

body.theme-delivery .btn-ghost {
  background: rgba(30, 30, 30, 0.04);
  color: var(--dl-text);
  border: 1px solid rgba(30, 30, 30, 0.12);
}

body.theme-delivery .btn-ghost:hover {
  background: rgba(255, 90, 31, 0.08);
  border-color: rgba(255, 90, 31, 0.22);
}

body.theme-delivery .btn-danger {
  background: rgba(198, 40, 40, 0.1);
  color: #b71c1c;
  border: 1px solid rgba(198, 40, 40, 0.35);
}

body.theme-delivery .btn-sm {
  border-radius: 12px;
}

body.theme-delivery .hint {
  color: var(--dl-muted);
}

body.theme-delivery .section-title {
  font-family: var(--font);
  font-weight: 800;
  color: var(--dl-text);
}

body.theme-delivery .section-title--delivery {
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
}

body.theme-delivery .delivery-main {
  padding-bottom: 3rem;
}

body.theme-delivery .cliente-subtotal-hint strong {
  color: var(--dl-cta);
}

/* Modais e listas (montagem) */
body.theme-delivery .modal {
  background: var(--dl-card);
  border: 1px solid rgba(30, 30, 30, 0.08);
  box-shadow: var(--dl-shadow);
}

body.theme-delivery .modal__head h2 {
  color: var(--dl-text);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.15rem;
}

body.theme-delivery .check-row {
  border-bottom-color: rgba(30, 30, 30, 0.08);
  color: var(--dl-text);
}

body.theme-delivery .suggestions {
  background: #fff;
  border-color: rgba(30, 30, 30, 0.1);
}

body.theme-delivery .suggestions li button {
  color: var(--dl-text);
  border-bottom-color: rgba(30, 30, 30, 0.06);
}

body.theme-delivery .suggestions li button:hover {
  background: rgba(255, 90, 31, 0.06);
}

body.theme-delivery .borda-option {
  background: var(--dl-card);
  border-color: rgba(30, 30, 30, 0.1);
  color: var(--dl-text);
}

body.theme-delivery .borda-option.is-selected {
  border-color: var(--dl-cta);
  background: rgba(255, 90, 31, 0.08);
}

body.theme-delivery .borda-option small {
  color: var(--dl-muted);
}

body.theme-delivery .pizza-visual__label--outside {
  color: var(--dl-text);
  background: var(--dl-card);
  border: 1px solid rgba(30, 30, 30, 0.08);
  box-shadow: var(--dl-shadow);
}

/* Formulário / checkout */
body.theme-delivery .field label {
  color: var(--dl-muted);
}

body.theme-delivery .field input,
body.theme-delivery .field textarea,
body.theme-delivery .field select {
  background: #fff;
  border-color: rgba(30, 30, 30, 0.12);
  color: var(--dl-text);
}

body.theme-delivery .field input:focus,
body.theme-delivery .field textarea:focus,
body.theme-delivery .field select:focus {
  outline: 2px solid rgba(255, 90, 31, 0.22);
  border-color: rgba(255, 90, 31, 0.45);
}

body.theme-delivery .admin-card {
  background: var(--dl-card);
  border: 1px solid rgba(30, 30, 30, 0.06);
  box-shadow: var(--dl-shadow);
  border-radius: var(--dl-radius);
}

body.theme-delivery .admin-card h2 {
  color: var(--dl-text);
  font-family: var(--font);
  font-weight: 800;
}

body.theme-delivery .checkout-card {
  margin-top: 1rem;
}

body.theme-delivery .checkout-card__title {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--dl-text);
}

body.theme-delivery .checkout-pay-field {
  border: none;
  padding: 0;
  margin: 0;
}

body.theme-delivery .checkout-pay-field__legend {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--dl-muted);
  font-weight: 600;
}

body.theme-delivery .checkout-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 1rem;
}

body.theme-delivery .checkout-mode {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 14px;
  border: 1px solid rgba(30, 30, 30, 0.12);
  background: rgba(30, 30, 30, 0.04);
  color: var(--dl-text);
  font-weight: 800;
  padding: 0.7rem 0.6rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

body.theme-delivery .checkout-mode:active {
  transform: scale(0.99);
}

body.theme-delivery .checkout-mode.is-active {
  border-color: rgba(255, 90, 31, 0.45);
  background: rgba(255, 90, 31, 0.12);
}

/* Oferta (landing page) — mobile: imagem + painel de texto; desktop: overlay */
body.page-oferta .delivery-main {
  padding-top: 1rem;
}

body.page-oferta .delivery-main--oferta {
  max-width: none;
  width: 100%;
  padding: 0 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  margin: 0;
  padding-top: 0;
}

body.page-oferta .oferta-below {
  padding-top: 0.75rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.oferta-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(30, 30, 30, 0.06);
  box-shadow: var(--dl-shadow);
}

.oferta-hero__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

body.page-oferta .oferta-hero {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
}

/* Largura = 100% da tela (bloco pai); altura vem só da proporção 16:9 */
.oferta-hero__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #ebe6dc;
  box-sizing: border-box;
}

body.page-oferta .oferta-hero__media {
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-top: none;
}

.oferta-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.oferta-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.page-oferta .oferta-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

.oferta-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0 1.25rem;
  text-align: left;
}

body.page-oferta .oferta-hero__content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: -14px;
  padding: 1.35rem 0 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  background: var(--dl-bg);
  box-shadow: 0 -6px 28px rgba(30, 30, 30, 0.08);
}

body.page-oferta .oferta-hero__inner {
  width: min(100% - 1.25rem, var(--max));
}

.oferta-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.14);
  color: var(--dl-text);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.oferta-hero__title {
  margin: 0 0 0.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dl-text);
  font-size: clamp(1.55rem, 4.8vw, 2.1rem);
  line-height: 1.12;
}

body.page-oferta .oferta-hero__title {
  font-size: clamp(1.32rem, 5.8vw, 2.05rem);
  line-height: 1.18;
}

.oferta-hero__lead {
  margin: 0 0 0.85rem;
  color: var(--dl-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 52ch;
}

body.page-oferta .oferta-hero__lead {
  max-width: none;
  font-size: 0.93rem;
}

.oferta-hero__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(30, 30, 30, 0.04);
  border: 1px solid rgba(30, 30, 30, 0.06);
  width: fit-content;
  max-width: 100%;
}

.oferta-hero__priceLabel {
  color: var(--dl-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.oferta-hero__priceValue {
  color: var(--dl-cta);
  font-weight: 900;
  font-size: clamp(1.35rem, 5vw, 1.6rem);
}

.oferta-hero__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.oferta-hero__cta {
  flex: 1 1 180px;
}

.oferta-hero__ghost {
  flex: 0 0 auto;
}

body.page-oferta .oferta-hero__actions {
  flex-direction: column;
  gap: 0.5rem;
}

body.page-oferta .oferta-hero__cta,
body.page-oferta .oferta-hero__ghost {
  flex: none;
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 2.85rem;
}

.oferta-hero__flavors {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.oferta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(30, 30, 30, 0.06);
  border: 1px solid rgba(30, 30, 30, 0.08);
  color: var(--dl-text);
  font-weight: 800;
  font-size: 0.82rem;
}

.oferta-chip--muted {
  background: rgba(107, 142, 35, 0.12);
  border-color: rgba(107, 142, 35, 0.22);
}

.oferta-hero__hint {
  margin: 0.65rem 0 0;
}

body.page-oferta .oferta-hero__hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--dl-muted);
  margin-top: 0.55rem;
}

@media (min-width: 768px) {
  body.page-oferta .oferta-hero {
    display: block;
    overflow: hidden;
  }

  body.page-oferta .oferta-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding: 1.15rem 0 1.35rem;
    padding-bottom: 1.35rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.page-oferta .oferta-hero__inner {
    width: min(100% - 2rem, var(--max));
  }

  body.page-oferta .oferta-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.12) 42%,
      rgba(245, 241, 232, 0.97) 100%
    );
  }

  body.page-oferta .oferta-hero__lead {
    max-width: 48ch;
    font-size: 0.98rem;
  }

  body.page-oferta .oferta-hero__title {
    font-size: clamp(1.55rem, 4.2vw, 2.1rem);
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
  }

  body.page-oferta .oferta-hero__actions {
    flex-direction: row;
    align-items: stretch;
  }

  body.page-oferta .oferta-hero__cta {
    flex: 1 1 200px;
    width: auto;
    min-height: 0;
  }

  body.page-oferta .oferta-hero__ghost {
    width: auto;
    flex: 0 0 auto;
    min-height: 0;
  }

  body.page-oferta .oferta-hero__hint {
    font-size: inherit;
    max-width: 52ch;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  body.page-oferta .oferta-hero__lead {
    max-width: 42ch;
  }
}

.oferta-card {
  margin-top: 0.75rem;
}

.oferta-steps {
  margin: 0.25rem 0 1rem;
  padding-left: 1.25rem;
  color: var(--dl-muted);
  line-height: 1.7;
}


body.theme-delivery .btn-send-whatsapp {
  width: 100%;
  margin-top: 0.5rem;
}

body.theme-delivery .checkout-hint {
  margin-top: 0.75rem;
}

body.theme-delivery .pay-option span {
  border-color: rgba(30, 30, 30, 0.12);
  background: #faf8f4;
  color: var(--dl-text);
}

body.theme-delivery .pay-option input:checked + span {
  border-color: var(--dl-cta);
  background: rgba(255, 90, 31, 0.12);
  color: var(--dl-text);
}

/* Carrinho */
body.theme-delivery .cart-total-bar {
  text-align: right;
  font-size: 1.15rem;
  margin: 1rem 0;
  color: var(--dl-text);
}

body.theme-delivery .cart-total-bar span {
  color: var(--dl-cta);
  font-weight: 800;
}

body.theme-delivery .cart-line {
  background: var(--dl-card);
  border: 1px solid rgba(30, 30, 30, 0.06);
  box-shadow: var(--dl-shadow);
  border-radius: var(--dl-radius);
}

body.theme-delivery .cart-line__title {
  font-family: var(--font);
  font-weight: 800;
  color: var(--dl-text);
}

body.theme-delivery .cart-line__desc {
  color: var(--dl-muted);
}

body.theme-delivery .cart-line__retirar {
  color: var(--dl-olive);
}

body.theme-delivery .cart-line__sub {
  color: var(--dl-text);
}

body.theme-delivery .cart-mini-pizza {
  box-shadow: 0 6px 18px rgba(30, 30, 30, 0.14);
}

body.theme-delivery .cart-mini-pizza__half {
  background-color: #ebe6dc;
}

body.theme-delivery .empty-state {
  color: var(--dl-muted);
  border-color: rgba(30, 30, 30, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

body.theme-delivery .empty-state a {
  color: var(--dl-cta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.theme-delivery .toast {
  background: var(--dl-card);
  color: var(--dl-text);
  border: 1px solid rgba(30, 30, 30, 0.1);
  box-shadow: var(--dl-shadow);
}

/* ----- Home (hero + vitrine) ----- */

body.page-home .home-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

body.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

body.page-home .home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 12, 10, 0.72) 0%,
    rgba(15, 12, 10, 0.35) 38%,
    rgba(15, 12, 10, 0.2) 55%,
    rgba(245, 241, 232, 0.95) 100%
  );
  pointer-events: none;
}

body.page-home .home-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 8vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
  max-width: 36rem;
}

body.page-home .home-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

body.page-home .home-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

body.page-home .home-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

body.page-home .btn--home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--dl-radius);
  font-weight: 700;
  font-size: 1rem;
  background: var(--dl-cta);
  color: #fff;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.page-home .btn--home-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 90, 31, 0.42);
}

body.page-home .btn--home-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--dl-radius);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.page-home .btn--home-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.65);
}

body.page-home .home-main {
  padding-bottom: 2.5rem;
}

body.page-home .home-destaque__head {
  margin-bottom: 1.5rem;
}

body.page-home .home-destaque__head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--dl-text);
}

body.page-home .home-destaque__sub {
  margin: 0;
  color: var(--dl-muted);
  font-size: 0.98rem;
}

body.page-home .home-empty {
  color: var(--dl-muted);
  margin: 0;
}

body.page-home .home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

body.page-home .home-card {
  background: var(--dl-card);
  border-radius: var(--dl-radius);
  box-shadow: var(--dl-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30, 30, 30, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.page-home .home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(30, 30, 30, 0.12);
}

body.page-home .home-card__media {
  aspect-ratio: 4 / 3;
  background: #ebe6dc;
  overflow: hidden;
}

body.page-home .home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-home .home-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ebe6dc 0%, #ddd6ca 100%);
}

body.page-home .home-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

body.page-home .home-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dl-text);
}

body.page-home .home-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--dl-muted);
}

body.page-home .home-card__price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dl-cta);
}

body.page-home .btn--home-add {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--dl-olive);
  color: #fff;
  text-decoration: none;
  border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

body.page-home .btn--home-add:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.page-home .home-foot {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(30, 30, 30, 0.06);
  color: var(--dl-muted);
  font-size: 0.88rem;
}

body.page-home .home-foot__inner {
  text-align: center;
}

@media (max-width: 640px) {
  body.theme-delivery .topbar__inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  body.page-home .home-hero__content {
    padding-top: 2rem;
  }
}
