/* ==========================================================================
   Mapple · Huevos frescos en CABA
   Paleta tomada del producto: cáscara, yema y la pulpa gris del maple.
   ========================================================================== */

:root {
  --paper:      #ffffff;
  --pulp:       #efe9e0;   /* cartón de maple */
  --pulp-deep:  #e4dccf;
  --line:       #ded5c8;

  --ink:        #221b12;
  --ink-soft:   #6e6357;
  --ink-mute:   #948877;

  --yolk:       #e89b12;   /* único acento fuerte */
  --yolk-deep:  #c9820a;
  --yolk-soft:  #fdf3df;
  --shell:      #a8703f;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 1px 2px rgba(34, 27, 18, .05), 0 10px 30px rgba(34, 27, 18, .07);
  --shadow-lg:  0 2px 6px rgba(34, 27, 18, .05), 0 24px 60px rgba(34, 27, 18, .13);

  --container:  1140px;
  --header-h:   74px;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

svg { display: block; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--yolk-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip-link:focus { left: 24px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.08rem; }

.eyebrow {
  font-family: "Archivo", sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--shell);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.btn--primary { background: var(--yolk); color: var(--ink); }
.btn--primary:hover:not(:disabled) { background: var(--yolk-deep); transform: translateY(-1px); }
.btn--primary:disabled {
  background: var(--pulp-deep);
  color: var(--ink-mute);
  cursor: not-allowed;
}

.btn--oscuro { background: var(--ink); color: var(--paper); }
.btn--oscuro:hover { background: #3a2f21; transform: translateY(-1px); }

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; padding-block: 16px; font-size: 1rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 48% 48%;
  background: var(--yolk-soft);
  border: 1px solid var(--line);
  flex: none;
}
.brand__mark svg { width: 20px; height: 20px; fill: var(--yolk); }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__text small { font-size: .7rem; color: var(--ink-mute); }

.nav { display: flex; gap: 28px; }
.nav a { font-size: .93rem; color: var(--ink-soft); transition: color .18s ease; }
.nav a:hover { color: var(--ink); }

/* Menú móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav a { padding: 13px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav__cta {
  margin-top: 14px;
  text-align: center;
  background: var(--yolk);
  border-radius: 999px;
  padding: 14px 20px !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0 clamp(56px, 8vw, 92px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 50% auto -15%;
  height: 560px;
  background: radial-gradient(circle at 45% 45%, rgba(232, 155, 18, .13), transparent 63%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(380px, 460px);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.hero h1 { margin-bottom: 22px; }

.claim-list {
  list-style: none;
  padding: 34px 0 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
}
.claim-list li { display: grid; gap: 3px; }
.claim-list strong {
  font-size: .97rem;
  font-weight: 600;
  position: relative;
  padding-left: 22px;
}
.claim-list strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 12px;
  border-radius: 50% 50% 46% 46%;
  background: var(--yolk);
}
.claim-list span { font-size: .9rem; color: var(--ink-soft); padding-left: 22px; }

/* ---------- Armador de pedido ---------- */
.orden {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.orden__head { margin-bottom: 22px; }
.orden__head h2 { font-size: 1.55rem; margin-bottom: 6px; }
.orden__head p { font-size: .9rem; color: var(--ink-soft); }

.orden__items {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2px;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.item:first-child { border-top: 1px solid var(--line); }

.item__nombre { font-weight: 600; font-size: .98rem; }
.item__detalle { font-size: .82rem; color: var(--ink-mute); }
.item__precio {
  font-size: .88rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
}

/* Stepper de cantidad */
.stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--pulp);
  border-radius: 999px;
  padding: 3px;
}
.stepper button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .15s ease;
}
.stepper button:hover:not(:disabled) { background: var(--pulp-deep); }
.stepper button:disabled { color: var(--ink-mute); cursor: not-allowed; }

.stepper input {
  width: 40px;
  height: 32px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cuenta */
.orden__cuenta {
  display: grid;
  gap: 9px;
  padding: 20px 0;
  margin-bottom: 4px;
}
.cuenta__fila {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.cuenta__fila small { font-size: .78rem; color: var(--ink-mute); }

.cuenta__fila--total {
  margin-top: 7px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.cuenta__fila--total .num { color: var(--yolk-deep); font-size: 1.55rem; }

.orden__nota {
  margin-top: 12px;
  font-size: .8rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------- Secciones ---------- */
.section { padding: clamp(60px, 7.5vw, 96px) 0; }
.section--pulp { background: var(--pulp); }

.section__head { max-width: 60ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section__sub { color: var(--ink-soft); margin-top: 14px; max-width: 54ch; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.tarjeta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.tarjeta h3 { margin-bottom: 8px; }
.tarjeta p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Mayorista ---------- */
.mayorista {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.checklist { list-style: none; padding: 24px 0 30px; display: grid; gap: 11px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 13px;
  border-radius: 50% 50% 46% 46%;
  background: var(--yolk);
}

.mayorista__panel {
  background: var(--pulp);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.panel__label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--shell);
  margin-bottom: 18px;
}
.panel__lista { display: grid; gap: 0; }
.panel__lista > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--pulp-deep);
}
.panel__lista dt { font-weight: 600; font-size: .94rem; }
.panel__lista dd {
  font-size: .88rem;
  color: var(--ink-soft);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.panel__lista dd span {
  display: block;
  font-size: .78rem;
  color: var(--ink-mute);
}
.panel__pie { margin-top: 16px; font-size: .82rem; color: var(--ink-mute); }

/* ---------- Contacto ---------- */
.info h3 { margin-bottom: 8px; }
.info p { font-size: .93rem; color: var(--ink-soft); }
.info__linea { display: block; }
.info a { border-bottom: 1px solid var(--pulp-deep); transition: border-color .18s ease; }
.info a:hover { border-color: var(--yolk); }

/* ---------- Botón flotante de WhatsApp ---------- */
/* Lo inserta script.js, y solo cuando el canal activo es WhatsApp. */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .40);
  transition: transform .22s ease, box-shadow .18s ease, opacity .22s ease;
}
.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .50);
}
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }

/* Mientras el botón de pedido está a la vista, el flotante sobra y además lo
   tapa. Se retira solo. */
.wa-fab--oculto {
  opacity: 0;
  transform: scale(.6) translateY(10px);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.brand--footer { margin-right: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__nav a { font-size: .9rem; color: var(--ink-soft); }
.footer__nav a:hover { color: var(--ink); }
.footer__legal { width: 100%; font-size: .82rem; color: var(--ink-mute); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .orden { position: static; max-width: 560px; }
  .mayorista { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-fab svg { width: 27px; height: 27px; }
  .orden { padding: 20px 18px; }
  .item { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  /* Sin esto el stepper se estira a todo el ancho de la fila. */
  .item .stepper { justify-self: start; }
  .footer__nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Checkout B2C (pedir.html)
   ========================================================================== */

.volver { font-size: .92rem; color: var(--ink-soft); transition: color .18s ease; }
.volver:hover { color: var(--ink); }

.checkout { padding: clamp(36px, 5vw, 60px) 24px clamp(60px, 8vw, 96px); }
.checkout__cabecera { max-width: 54ch; margin-bottom: clamp(32px, 4vw, 48px); }
.checkout__cabecera h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 16px; }

.checkout__cuerpo {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 380px);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.pasos { display: grid; gap: clamp(32px, 4vw, 48px); min-width: 0; }

.paso__titulo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.paso__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--yolk-soft);
  border: 1px solid var(--line);
  font-family: "Archivo", sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--yolk-deep);
}

.paso__ayuda {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 18px 0 10px;
}
.paso__ayuda:first-of-type { margin-top: 0; }

/* ---------- Tira de días ---------- */
.dias {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(74px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dia {
  display: grid;
  gap: 1px;
  padding: 12px 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.dia:hover { border-color: var(--yolk); transform: translateY(-1px); }
.dia.is-elegido {
  background: var(--yolk-soft);
  border-color: var(--yolk);
  box-shadow: inset 0 0 0 1px var(--yolk);
}

.dia__nombre { font-size: .76rem; color: var(--ink-mute); text-transform: lowercase; }
.dia__num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.dia__mes { font-size: .74rem; color: var(--ink-mute); }

/* ---------- Franjas horarias ---------- */
.franjas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.franja {
  display: grid;
  gap: 3px;
  padding: 14px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.franja:hover:not(:disabled) { border-color: var(--yolk); transform: translateY(-1px); }
.franja.is-elegido {
  background: var(--yolk-soft);
  border-color: var(--yolk);
  box-shadow: inset 0 0 0 1px var(--yolk);
}
.franja:disabled {
  background: var(--pulp);
  color: var(--ink-mute);
  cursor: not-allowed;
  opacity: .65;
}

.franja__hora { font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.franja__estado { font-size: .78rem; color: var(--ink-mute); }

.franjas__vacio {
  grid-column: 1 / -1;
  font-size: .88rem;
  color: var(--ink-mute);
  padding: 14px 0;
}

/* ---------- Formulario plano ---------- */
.form--plano {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.form__row--ancha { grid-template-columns: 2fr 1fr; }
.field__nota { font-size: .78rem; color: var(--ink-mute); }

.guardados {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: var(--yolk-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .9rem;
}

/* ---------- Método de pago ---------- */
.pago { border: none; padding: 0; margin: 4px 0; }
.pago legend {
  font-size: .86rem;
  font-weight: 500;
  padding: 0;
  margin-bottom: 10px;
}

.pago__opcion {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.pago__opcion + .pago__opcion { margin-top: 8px; }
.pago__opcion:hover { border-color: var(--yolk); }
.pago__opcion:has(input:checked) {
  background: var(--yolk-soft);
  border-color: var(--yolk);
}
.pago__opcion input { margin-top: 4px; accent-color: var(--yolk-deep); flex: none; }
.pago__texto { display: grid; gap: 2px; }
.pago__texto strong { font-size: .95rem; font-weight: 600; }
.pago__texto small { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Resumen ---------- */
.resumen {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
}
.resumen h2 { font-size: 1.3rem; margin-bottom: 18px; }

.resumen__items { list-style: none; padding: 0; display: grid; gap: 9px; }
.resumen__items li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: .92rem;
  color: var(--ink-soft);
}
.resumen__vacio { color: var(--ink-mute); font-style: italic; }

.resumen__cuenta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.resumen__cuenta > div { display: flex; justify-content: space-between; gap: 14px; }
.resumen__cuenta dt { font-size: .88rem; color: var(--ink-mute); }
.resumen__cuenta dd { font-size: .88rem; text-align: right; font-weight: 500; }
.resumen__cuenta .gratis { color: var(--yolk-deep); }

.resumen__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.resumen__total .num { color: var(--yolk-deep); font-size: 1.5rem; }

.resumen__nota {
  margin-top: 12px;
  font-size: .8rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------- Confirmación ---------- */
.confirmado {
  max-width: 44ch;
  margin: clamp(40px, 8vw, 90px) auto;
  text-align: center;
}
.confirmado__marca {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--yolk-soft);
  border: 1px solid var(--yolk);
  color: var(--yolk-deep);
}
.confirmado__marca svg { width: 28px; height: 28px; }
.confirmado h2 { font-size: 2rem; margin-bottom: 14px; }
.confirmado p { color: var(--ink-soft); }
.confirmado__codigo {
  margin: 22px 0 28px;
  font-size: .9rem;
  color: var(--ink-mute);
}
.confirmado__codigo strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .checkout__cuerpo { grid-template-columns: 1fr; }
  .resumen { position: static; }
}

@media (max-width: 560px) {
  .franjas { grid-template-columns: 1fr; }
  .form__row--ancha { grid-template-columns: 1fr; }
  .dias { grid-auto-columns: 68px; }
}

/* Puente desde el armador de la landing hacia el checkout con calendario. */
.orden__alterna {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--ink-mute);
  text-align: center;
}
.orden__alterna a {
  display: inline-block;
  font-weight: 600;
  color: var(--yolk-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}
.orden__alterna a:hover { border-color: currentColor; }

/* ==========================================================================
   Envio gratis, zonas de reparto e Instagram
   ========================================================================== */

/* Pastilla del hero: el envio gratis es argumento de venta, va arriba. */
.pastilla {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--yolk-soft);
  border: 1px solid var(--yolk);
  font-size: .86rem;
  color: var(--ink);
}
.pastilla strong { font-weight: 600; color: var(--yolk-deep); }

.tarjeta--destacada {
  background: var(--yolk-soft);
  border-color: var(--yolk);
}

/* ---------- Barrios ---------- */
.zonas {
  margin-top: 24px;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.zonas h3 { margin-bottom: 16px; }

.zonas__lista {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zonas__lista li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--pulp);
  border: 1px solid var(--pulp-deep);
  font-size: .88rem;
  font-weight: 500;
}
.zonas__pie { margin-top: 16px; font-size: .86rem; color: var(--ink-soft); }

/* ---------- Instagram ---------- */
.footer__ig { display: inline-flex; align-items: center; gap: 7px; }
.footer__ig svg { width: 16px; height: 16px; }

/* ==========================================================================
   Panel de pedidos (admin.html)
   ========================================================================== */

.acceso[hidden] { display: none; }

.acceso {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.acceso__caja {
  width: 100%;
  max-width: 380px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.acceso__caja .brand__mark { margin: 0 auto 20px; }
.acceso__caja h1 { font-size: 1.5rem; margin-bottom: 10px; }
.acceso__caja > p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 24px; }
.acceso__caja .field { text-align: left; margin-bottom: 16px; }
.acceso__aviso { margin-top: 16px; font-size: .86rem; color: var(--ink-soft); min-height: 1.2em; }

.panel { padding: clamp(24px, 4vw, 40px) 24px 80px; }

.panel__barra {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 28px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.field--fecha { min-width: 240px; }
.field--fecha select { width: 100%; }

.panel__totales { display: flex; gap: 28px; margin-right: auto; }
.panel__totales dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); }
.panel__totales dd {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.panel__vacio { color: var(--ink-mute); padding: 30px 0; }

.franja-bloque { margin-bottom: 36px; }
.franja-bloque h2 {
  font-size: 1.15rem;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--yolk);
  font-variant-numeric: tabular-nums;
}
.franja-bloque h2 small {
  font-family: "Archivo", sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin-left: 8px;
}

.pedido {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.pedido.is-entregado { background: var(--pulp); opacity: .7; }

.pedido__cabeza {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}
.pedido__nombre { font-weight: 600; font-size: 1.02rem; }
.pedido__codigo { font-size: .76rem; color: var(--ink-mute); letter-spacing: .05em; }

.pedido__pago {
  flex: none;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--yolk-soft);
  border: 1px solid var(--yolk);
  font-size: .74rem;
  font-weight: 600;
  color: var(--yolk-deep);
}
.pedido__pago.is-pagado {
  background: #e8f3ec;
  border-color: #7fb894;
  color: #2f6b45;
}

.pedido__dir { font-size: .93rem; color: var(--ink-soft); }
.pedido__notas { font-size: .86rem; color: var(--ink-mute); font-style: italic; margin-top: 4px; }

.pedido__pie {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-soft);
}
.pedido__total { font-weight: 600; color: var(--ink); font-size: 1.05rem; }

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

@media (max-width: 620px) {
  .panel__barra { flex-direction: column; align-items: stretch; }
  .panel__totales { justify-content: space-between; gap: 12px; }
  .pedido__acciones .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Campos de formulario (checkout y panel)
   ========================================================================== */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 500; color: var(--ink); }
.field label span { color: var(--yolk-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 80px; }

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23948877' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.field input::placeholder,
.field textarea::placeholder { color: #b6ada0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yolk);
  box-shadow: 0 0 0 3px rgba(232, 155, 18, .16);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #b4342b; }

.field__error { font-size: .8rem; color: #b4342b; }
.field__error:empty { display: none; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .88rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--yolk-deep);
  flex: none;
  cursor: pointer;
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

.acceso__alterna {
  margin-top: 14px;
  padding: 0;
  background: none;
  border: none;
  font-size: .82rem;
  color: var(--ink-mute);
  text-decoration: underline;
  cursor: pointer;
}
.acceso__alterna:hover { color: var(--ink-soft); }

/* En el bloque de contacto, la etiqueta en negrita y el dato al lado. */
.info__linea strong { font-weight: 600; color: var(--ink); }
.info__linea + .info__linea { margin-top: 2px; }
