/* Panadería Kornblume – sitio de ejemplo de BS Gráficos */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/fraunces-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/figtree-latin-700-normal.woff2') format('woff2'); }

:root {
  --cream: #f6f0e4;
  --cream-deep: #efe4cf;
  --paper: #fffbf3;
  --ink: #2a1d14;
  --ink-soft: #5d4b3d;
  --line: #e2d5bd;
  --rye: #6b3f22;
  --blue: #3b5bb5;
  --blue-dark: #233f80;
  --blue-soft: #e3e9f7;
  --wheat: #d9a441;
  --wheat-soft: #f3e4c2;
  --leaf: #4f6b33;
  --leaf-soft: #e5ecd7;
  --rose-soft: #f4e1d8;
  --alert: #9a3412;
  --radius: 22px;
  --shadow: 0 18px 40px -24px rgba(42, 29, 20, .45);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
body.dialog-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.shell { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Barra de ejemplo */
.demo-bar { background: var(--ink); color: var(--cream); font-size: .85rem; text-align: center; }
.demo-bar a { display: inline-flex; gap: 8px; padding: 7px 16px; text-decoration: none; }
.demo-bar a:hover span:last-child { text-decoration: underline; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 240, 228, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text small { font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.brand-text strong { font: 600 1.45rem/1.05 var(--serif); }
.nav { display: none; gap: 26px; margin-left: auto; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--wheat); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.language { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.language button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; cursor: pointer; color: var(--ink-soft); }
.language button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.cart-link svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--line); color: var(--ink-soft); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.has-items { background: var(--blue); color: #fff; }

/* Botones */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(35, 63, 128, .9); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-ghost { border-color: var(--ink); background: transparent; }
.button-ghost:hover { background: var(--ink); color: var(--paper); }
.button-small { min-height: 40px; padding: 8px 18px; background: var(--ink); color: var(--paper); font-size: .92rem; }
.button-small:hover { background: var(--blue); }
.button.full { width: 100%; }
.text-button { border: 0; background: none; padding: 6px 0; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.text-button:hover { color: var(--blue-dark); }

.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow.light { color: var(--wheat-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }

/* Hero */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(217, 164, 65, .22), transparent); pointer-events: none; }
.hero-layout { position: relative; display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 9vw, 5.2rem); margin-bottom: 20px; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-weight: 500; font-size: .95rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); }
.hero-art { position: relative; margin: 0; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px 28px 28px; box-shadow: 0 30px 60px -30px rgba(42, 29, 20, .7); }
.hero-flower { position: absolute; right: 2px; bottom: -14px; width: 54px; height: auto; overflow: visible; transform-origin: bottom center; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 50% { rotate: 4deg; } }
.hero-stamp { position: absolute; left: -8px; top: 10%; display: grid; place-items: center; text-align: center; width: 116px; height: 116px; border-radius: 50%; background: var(--blue); color: #fff; rotate: -10deg; box-shadow: var(--shadow); line-height: 1.15; padding: 12px; }
.hero-stamp strong { font: italic 500 1.1rem/1.05 var(--serif); }
.hero-stamp span { font-size: .78rem; opacity: .9; }

/* Cifras */
.facts { background: var(--ink); color: var(--cream); padding: 30px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
.fact strong { display: block; font: 600 clamp(2rem, 6vw, 2.8rem)/1 var(--serif); color: var(--wheat); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 6px; font-size: .92rem; color: #e9dcc5; }

/* Secciones */
.section { padding: 80px 0; }
.section-head { display: grid; gap: 16px; margin-bottom: 36px; }
.section-head > p { color: var(--ink-soft); max-width: 36rem; }

/* Surtido */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: thin; }
.chip { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.product-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.product { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-art { aspect-ratio: 2 / 1; overflow: hidden; background: var(--cream-deep); }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .product-art img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf); }
.tags li.tag-alert { background: #fbe7da; color: var(--alert); }
.product-desc { color: var(--ink-soft); font-size: .96rem; }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--ink-soft); }
.product-meta strong { color: var(--ink); font-size: 1.05rem; white-space: nowrap; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.stepper button { width: 40px; height: 38px; border: 0; background: none; font-size: 1.2rem; font-weight: 600; cursor: pointer; }
.stepper button:hover { background: var(--cream-deep); }
.stepper output { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.small button { width: 34px; height: 32px; }
.nutrition-note, .noscript { margin-top: 22px; font-size: .88rem; color: var(--ink-soft); }

/* Pedido */
.order { background: var(--cream-deep); }
.order-layout { display: grid; gap: 36px; align-items: start; }
.order-copy p { color: var(--ink-soft); margin-top: 18px; max-width: 32rem; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wheat); font: 600 1.05rem/1 var(--serif); }
.steps strong { display: block; }
.steps small { color: var(--ink-soft); font-size: .92rem; }
.order-card { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-card-head strong { font: 600 1.4rem/1.1 var(--serif); }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item strong { display: block; font-weight: 600; line-height: 1.3; }
.cart-item span { font-size: .86rem; color: var(--ink-soft); }
.cart-empty { padding: 16px; margin: 8px 0; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--ink-soft); font-size: .95rem; text-align: center; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; font-weight: 600; }
.cart-total strong { font: 600 1.5rem/1 var(--serif); }
label, legend { display: block; font-weight: 600; font-size: .92rem; margin: 16px 0 6px; }
input[type="text"], select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
textarea { resize: vertical; min-height: 64px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
[aria-invalid="true"] { border-color: var(--alert) !important; }
.field-error { color: var(--alert); font-size: .86rem; font-weight: 500; min-height: 0; margin-top: 4px; }
.field-error:empty { display: none; }
.two-cols { display: grid; gap: 0 14px; }
.pay { border: 0; padding: 0; margin: 0; }
.pay legend { padding: 0; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay legend { width: 100%; }
.pay-option { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; background: #fff; }
.pay-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.pay-option input { accent-color: var(--blue); margin: 0; }
.order-card .button.full { margin-top: 22px; }
.demo-note { margin-top: 10px; font-size: .82rem; color: var(--ink-soft); text-align: center; }

/* QR */
.qr { background: var(--blue); color: #fff; }
.qr-layout { display: grid; gap: 40px; align-items: center; }
.qr-code { justify-self: center; display: grid; gap: 12px; justify-items: center; }
.qr-frame { position: relative; width: min(260px, 70vw); aspect-ratio: 1; padding: 18px; background: #fff; border-radius: 26px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); rotate: -3deg; }
.qr-frame svg { width: 100%; height: 100%; fill: var(--ink); }
.qr-frame img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 22%; height: auto; background: #fff; border-radius: 50%; padding: 4px; }
.qr-code > span { font-size: .85rem; color: #dfe6f8; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.qr-copy p { color: #e6ecfa; margin-top: 18px; max-width: 34rem; }
.qr-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.qr-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.qr-points li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--wheat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232a1d14' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Cómo horneamos */
.how-grid { display: grid; gap: 18px; }
.how-card { background: var(--paper); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.how-card svg { width: 46px; height: 46px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.how-card h3 { margin-bottom: 10px; }
.how-card p { color: var(--ink-soft); font-size: .98rem; }

.how-photo { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; }
.how-photo img { width: 100%; height: clamp(180px, 30vw, 340px); object-fit: cover; }

/* Panadera */
.baker { background: var(--cream-deep); }
.baker-layout { display: grid; gap: 40px; align-items: center; }
.baker-photo { position: relative; margin: 0; max-width: 460px; justify-self: center; width: 100%; }
.baker-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px 28px 200px 200px; box-shadow: var(--shadow); }
.baker-badge { position: absolute; right: -6px; top: 28px; display: grid; place-items: center; text-align: center; width: 104px; height: 104px; border-radius: 50%; background: var(--wheat); color: var(--ink); rotate: 8deg; box-shadow: var(--shadow); line-height: 1.1; }
.baker-badge strong { font: 600 1.6rem/1 var(--serif); }
.baker-badge span { font-size: .78rem; font-weight: 600; }
.baker-copy h2 { margin-bottom: 18px; }
.baker-copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 34rem; }
.baker-copy > p + p { margin-top: 14px; }
.baker blockquote { margin: 28px 0 0; padding: 22px 24px; border-left: 4px solid var(--blue); background: var(--paper); border-radius: 0 18px 18px 0; max-width: 34rem; }
.baker blockquote p:not(.baker-sign) { font: italic 500 1.25rem/1.4 var(--serif); }
.baker-sign { margin-top: 10px; font-size: .88rem; font-weight: 600; color: var(--blue); }

/* Visita */
.visit { background: var(--paper); border-top: 1px solid var(--line); }
.visit-layout { display: grid; gap: 36px; align-items: center; }
.details { margin: 26px 0; display: grid; gap: 16px; }
.details div { display: grid; gap: 2px; }
.details dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.details dd { margin: 0; font-weight: 500; }
.stores { padding: 18px 20px; border-radius: 16px; background: var(--wheat-soft); margin-bottom: 24px; }
.stores strong { font-family: var(--serif); font-size: 1.15rem; }
.stores p { margin-top: 4px; color: var(--ink-soft); font-size: .96rem; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.map-art { position: relative; aspect-ratio: 4 / 3; background: #e8e6cf; overflow: hidden; }
.field { position: absolute; border-radius: 6px; }
.field-one { inset: 8% 56% 50% 6%; background: #d6dcb4; }
.field-two { inset: 56% 8% 8% 52%; background: #dcd3a8; }
.road { position: absolute; background: #fffaf0; box-shadow: 0 0 0 2px #d9cfb5; }
.road-one { left: -10%; right: -10%; top: 48%; height: 14px; rotate: -8deg; }
.road-two { top: -10%; bottom: -10%; left: 46%; width: 12px; rotate: 6deg; }
.road-three { left: 50%; right: -10%; top: 22%; height: 8px; rotate: 18deg; }
.pin { position: absolute; left: 48%; top: 44%; translate: -50% -100%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--ink); box-shadow: var(--shadow); }
.pin img { rotate: 45deg; }
.map-text { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 16px 20px; }
.map-text strong { font-family: var(--serif); }
.map-text a { color: var(--blue); font-weight: 600; }

/* Footer */
footer { background: var(--ink); color: #e9dcc5; padding: 34px 0 110px; font-size: .9rem; }
.footer-inner { display: grid; gap: 14px; }
.footer-brand .brand-text small { color: var(--wheat); }
.footer-brand .brand-text strong { color: var(--cream); }
footer a { color: var(--wheat-soft); }

/* Flotantes */
.floating-wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border: 0; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .6); }
.floating-wa svg { width: 30px; height: 30px; fill: currentColor; }
.floating-cart { position: fixed; left: 16px; right: 88px; bottom: 20px; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 360px; min-height: 52px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .6); }
.floating-cart[hidden] { display: none; }
.floating-cart strong { color: var(--wheat); }

/* Diálogos */
dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; border: 0; border-radius: 26px; padding: 30px 26px 26px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
dialog::backdrop { background: rgba(42, 29, 20, .55); backdrop-filter: blur(3px); }
dialog h2 { font-size: 1.8rem; margin: 10px 40px 12px 0; }
dialog h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 20px 0 6px; }
dialog p { color: var(--ink-soft); }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream-deep); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--line); }
.tag { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--wheat-soft); color: var(--rye); }
.notice .button, .wa-dialog .button { margin-top: 20px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dialog-actions .button { margin-top: 20px; }
.nutrition-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.nutrition-table caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.nutrition-table th, .nutrition-table td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.nutrition-table td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }
.nutrition-table tr.sub th { padding-left: 16px; color: var(--ink-soft); font-size: .9rem; }
.allergens { font-weight: 600; color: var(--ink) !important; }
.wa-preview { margin-top: 18px; border-radius: 16px; background: #e7f6ec; padding: 14px 16px; display: grid; gap: 6px; border: 1px solid #c4e6cf; }
.wa-preview strong { font-size: .85rem; color: #1f7a45; }
.wa-preview span { white-space: pre-line; font-size: .95rem; }

/* Aparición */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.visible { opacity: 1; transform: none; }

/* Tamaños mayores */
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-art { aspect-ratio: 5 / 3; }
  .two-cols { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .hero { padding: 72px 0 64px; }
  .hero-layout { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .order-layout { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .order-copy { position: sticky; top: 110px; }
  .order-card { padding: 30px; }
  .qr-layout { grid-template-columns: 1fr 1.3fr; gap: 64px; }
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .visit-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
  .baker-layout { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
  footer { padding-bottom: 34px; }
  .floating-cart { left: auto; right: 92px; }
}
@media (min-width: 1040px) {
  .nav { display: flex; }
  .header-tools { margin-left: 24px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 380px) {
  .brand-text strong { font-size: 1.2rem; }
  .brand img { width: 38px; height: 38px; }
  .hero-stamp { width: 96px; height: 96px; }
  .hero-stamp strong { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
