/* Pastelería Nardo: editorial de postre. Rosa empolvado, chocolate, crema.
   Instrument Serif (romana, sin cursiva de adorno) + Onest. La firma es el
   configurador de pastel por encargo: una libreta de pedido que suma el
   precio mientras se elige. */
@font-face { font-family: 'Instrument Serif'; src: url('../_shared/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../_shared/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('../_shared/fonts/onest-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fbf1ec;
  --fg: #2f1b17;
  --muted: #755b54;
  --line: rgba(47, 27, 23, 0.15);
  --surface: #f4dfe1;
  --accent: #9c3355;
  --accent-fg: #fff9f7;
  --wa: #1f9d55;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Onest', system-ui, -apple-system, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.01em;
  --radius: 4px;
  --radius-lg: 6px;
  --btn-radius: 2px;
  --shadow: 0 30px 60px -36px rgba(47, 27, 23, 0.5);
}

/* La marca lleva su propio glifo de horno en vez del genérico brand-mark. */
.brand { gap: 0.5rem; }
.brand small { color: var(--muted); }
.nav a { white-space: nowrap; }

/* Botones cuadrados, no cápsula: encaja con el tono de papelería de pastelería fina. */
.btn { font-weight: 600; letter-spacing: 0.01em; }
.btn-primary { background: var(--accent); }
.btn-ghost { border-color: var(--fg); }
.tab { border-radius: 2px; }
.tab[aria-selected='true'] { background: var(--accent); border-color: var(--accent); }
.btn-add { border-radius: 2px; }
.cart-toggle .count { border-radius: 2px; }

.hero-media img { border-radius: var(--radius-lg); }
.price { color: var(--accent); }
.reasons .num { color: var(--accent); }
.faq summary::after { color: var(--accent); }
.quotes blockquote::before { color: var(--accent); }

/* Tres pasos del catálogo, en línea junto al encabezado de sección (no una sección aparte). */
.steps-inline { display: grid; gap: 1rem; margin-bottom: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--fg-soft); }
.steps-inline .num { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: 0.6rem; border-radius: 999px; background: var(--surface); color: var(--fg); font-family: var(--font-display); font-size: 0.85rem; }
@media (min-width: 700px) { .steps-inline { grid-template-columns: repeat(3, 1fr); } }

/* Cita corta de una clienta dentro de El taller: no es la sección "quotes" de tres columnas. */
.pull-quote { margin-top: 2.25rem; padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.pull-quote p { color: var(--fg); font-size: var(--step-0); line-height: 1.5; }
.pull-quote cite { display: block; margin-top: 0.5rem; font-style: normal; color: var(--muted); font-size: var(--step--1); }

/* Reloj de horario dentro de la franja de datos: un punto vivo cuando está abierto. */
.open-state { display: inline-flex; align-items: center; gap: 0.5rem; }
.open-state::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--muted); flex: none; }
.open-state[data-open='true']::before { background: var(--wa); }

/* Cinta de sabores: marquesina discreta bajo el héroe, tono papel. */
.flavor-band { border-block: 1px solid var(--line); background: var(--surface); }
.flavor-band .marquee-track { align-items: center; padding-block: 0.85rem; }
.flavor-band span { font-family: var(--font-display); font-size: var(--step-1); color: var(--fg); }
.flavor-band .dot { color: var(--accent); font-size: 0.6rem; }

/* Colección de temporada: rail con tarjeta de precio superpuesta, sin recuadro. */
.season-rail figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--surface); }
.season-rail img { width: 100%; height: 100%; object-fit: cover; }
.season-rail figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.25rem 1.25rem; color: #fff; background: linear-gradient(to top, rgba(47, 15, 24, 0.86), rgba(47, 15, 24, 0.1) 70%); }
.season-rail h3 { color: #fff; font-size: var(--step-2); }
.season-rail p { margin-top: 0.35rem; color: rgba(255, 249, 247, 0.86); font-size: var(--step--1); }
.season-rail .price { display: block; margin-top: 0.6rem; color: #fff; }
.season-note { margin-top: 1.5rem; color: var(--muted); font-size: var(--step--1); max-width: 32rem; }

/* El configurador: la firma del sitio. Una hoja de pedido que suma el precio en vivo. */
.orderslip { display: grid; gap: 2.5rem; align-items: start; }
.slip-form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.slip-form legend { padding: 0 0 0.85rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--fg); }
.slip-form .size-options { display: grid; gap: 0.6rem; }
.size-options label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.size-options label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.size-options input { accent-color: var(--accent); flex: none; }
.size-options .size-name { flex: 1; margin-left: 0.75rem; }
.size-options .size-name strong { display: block; color: var(--fg); font-weight: 600; }
.size-options .size-name span { color: var(--muted); font-size: var(--step--1); }
.size-options .size-price { font-family: var(--font-display); font-size: var(--step-1); color: var(--fg); white-space: nowrap; }
.field-row { display: grid; gap: 0.4rem; margin-bottom: 1.5rem; }
.field-row label { color: var(--fg); font-weight: 600; font-size: var(--step--1); }
.field-row select, .field-row input[type='text'], .field-row input[type='date'] { font: inherit; font-size: var(--step-0); padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
/* La casilla del navegador mide 13 px: con el renglón a 44 px y la etiqueta
   ocupando el resto, el dedo tiene dónde caer. */
.field-row.check { display: flex; flex-direction: row; align-items: center; gap: 0.65rem; min-height: 44px; }
.field-row.check label { flex: 1; align-self: stretch; display: flex; align-items: center; font-weight: 500; cursor: pointer; }
.field-row.check input { width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--accent); }

.slip { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 2rem clamp(1.5rem, 4vw, 2.25rem); position: relative; }
.slip::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 6px; background-image: radial-gradient(circle, var(--bg) 2.5px, transparent 2.6px); background-size: 14px 6px; background-position: center; }
.slip-label { color: var(--muted); font-size: var(--step--1); text-transform: none; }
.slip-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px dashed var(--line); font-size: var(--step-0); color: var(--fg); }
.slip-line span:first-child { color: var(--muted); }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.2rem; margin-top: 0.3rem; }
.slip-total span { color: var(--muted); font-size: var(--step-0); }
.slip-total strong { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.slip .btn { width: 100%; margin-top: 1.5rem; }
.slip-fine { margin-top: 0.9rem; color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
@media (min-width: 900px) { .orderslip { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } .slip { position: sticky; top: 6.5rem; } }
