/* ===== Design tokens ===== */
:root {
  --black: #0b0b0b;
  --graphite: #2a2a2a;
  --red: #e1102e;
  --red-dark: #b90c24;
  --red-on-dark: #ff4d62;   /* vermelho para texto pequeno sobre preto (6:1) */
  --red-on-light: #b90c24;  /* vermelho para texto pequeno sobre creme (5,5:1) */
  --white: #fffaf2;
  --paper: #fffaf2;
  --error: #ff7a8d;
  --cream: #f4e8d9;
  --sand: #d9c7b4;
  --brown: #8e5c3c;
  --line-dark: rgba(244, 232, 217, 0.16);
  --line-light: rgba(11, 11, 11, 0.16);
  /* Tipografía */
  --f-display: "Barlow Condensed", "Barlow Fallback", Impact, "Arial Narrow", sans-serif;
  --f-title: var(--f-display);
  --f-logo: "Barlow Condensed", "Barlow Fallback", Impact, sans-serif;
  --f-ui: Oswald, "Oswald Fallback", "Arial Narrow", sans-serif;
  --f-num: var(--f-ui);
  --f-body: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-brush: "Sedgwick Ave Display", "Marker Felt", "Comic Sans MS", cursive;
  --f-script: Caveat, "Caveat Fallback", "Segoe Script", cursive;
  --track-ui: 0.08em;
  --fs-hero: clamp(3.2rem, 8vw, 8.5rem);
  --fs-h2: clamp(2.4rem, 4.25vw, 4.7rem);
  --fs-h2-lg: clamp(2.8rem, 5.5vw, 5.9rem);
  --fs-body: clamp(0.9rem, 1vw, 1rem);
  --grunge-heavy: url(img/grunge-heavy.png);
  --grunge-light: url(img/grunge-light.png);
  --header-h: clamp(56px, 5.66vw, 104px);
  --pad: clamp(18px, 5.6vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--black); color: var(--cream); font-family: var(--f-body); font-weight: 400; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg:not([viewBox]) { aspect-ratio: 1; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--red); color: var(--white); font-family: var(--f-ui); font-weight: 500; text-transform: uppercase; }
.skip-link:focus { top: 12px; }

/* ===== Header ===== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 7.7vw 0 8.3vw; background: var(--black); border-bottom: 1px solid var(--line-dark); transition: height 0.3s var(--ease), box-shadow 0.3s; }
.site-header.is-scrolled { height: 60px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.brand-mark { display: inline-flex; flex-direction: column; width: max-content; font-family: var(--f-logo); font-weight: 400; font-size: 1.6rem; line-height: 0.95; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); }
.brand-mark img { display: block; width: auto; height: calc(var(--header-h) * 0.96); mix-blend-mode: lighten; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .brand-mark img { height: 52px; }
.site-footer .brand-mark img { height: 132px; }
.main-nav { position: absolute; left: 25.6vw; top: 0; height: 100%; display: flex; align-items: center; gap: 3vw; }
.main-nav a { position: relative; padding: 8px 0; font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.62rem, 0.92vw, 0.9rem); letter-spacing: var(--track-ui); text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--red-on-dark); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; transition: background 0.2s; }
.icon-button:hover { background: rgba(244, 232, 217, 0.1); }
.icon-button svg { width: 19px; height: 19px; }
.cart-button span { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: var(--white); font: 700 0.68rem/17px var(--f-num); text-align: center; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--cream); transition: transform 0.3s, opacity 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.button { display: inline-flex; align-items: center; gap: 12px; padding: clamp(9px, 0.85vw, 13px) clamp(16px, 1.75vw, 25px); border: 0; background: var(--red); color: var(--white); font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.76rem, 0.9vw, 0.95rem); letter-spacing: var(--track-ui); text-transform: uppercase; transition: background 0.25s, transform 0.25s var(--ease); }
.button svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.button:hover svg { transform: translateX(5px); }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.button-sm { padding: 12px 20px; font-size: 0.9rem; }
.button-xs { padding: 9px 16px; font-size: 0.82rem; }

/* ===== Common ===== */
.eyebrow { font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.72rem, 0.85vw, 0.86rem); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-on-dark); }
.section-cream .eyebrow, .story-panel .eyebrow { color: var(--red-on-light); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.02em; }
.page-hero h1, .story-panel h2 { -webkit-mask-image: var(--grunge-light); mask-image: var(--grunge-light); -webkit-mask-size: 420px; mask-size: 420px; }
.page-hero h1, .section-head h2, .ed-panel h2, .story-panel h2, .franchise-copy h2 { padding-top: 0.08em; margin-top: -0.08em; overflow: visible; }
.brush { font-family: var(--f-brush); font-weight: 400; font-style: normal; color: var(--red); text-transform: uppercase; }
.demo-note, .fine { font-size: 0.82rem; opacity: 0.7; }
.badge { display: inline-block; font: 500 0.75rem/1.2 var(--f-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-on-light); }
.section-cream { background: var(--cream); color: var(--black); }
main { padding-top: var(--header-h); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head h2 { margin: 10px 0 14px; font-size: var(--fs-h2); -webkit-mask-image: var(--grunge-light); mask-image: var(--grunge-light); -webkit-mask-size: 420px; mask-size: 420px; }
.section-head p:not(.eyebrow) { max-width: 62ch; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; min-height: clamp(820px, 62vw, 1060px); height: auto; background: var(--black); isolation: isolate; }
.hero-tattoo { position: absolute; inset: 0; z-index: -3; opacity: 0.28; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(ellipse 48% 80% at 50% 50%, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 48% 80% at 50% 50%, transparent 55%, #000 100%); }
.hero-tattoo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.1); }
.hero-copy { position: absolute; z-index: 4; left: 7.6%; top: clamp(72px, 7.2vw, 128px); }
.hero h1 { font-family: var(--f-logo); font-size: 9.1vw; font-weight: 400; letter-spacing: -0.03em; line-height: 0.9; color: var(--cream); -webkit-mask-image: none; mask-image: none; }
.hero-title-art { width: min(46vw, 720px); }
.hero-title-image { display: block; width: 100%; aspect-ratio: 1774 / 887; background: url("galletas-con-actitud.png") center / contain no-repeat; background: image-set(url("galletas-con-actitud.webp") type("image/webp"), url("galletas-con-actitud.png") type("image/png")) center / contain no-repeat; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.h-line { display: block; white-space: nowrap; }
.h-line:first-child { transform: scaleX(0.9); transform-origin: 0 50%; }
.h-line:first-child, .h-line .t-con { -webkit-mask-image: var(--grunge-light); mask-image: var(--grunge-light); -webkit-mask-size: 380px; mask-size: 380px; }
.h-line + .h-line { margin-top: 0.13em; }
.h-line .t-con { display: inline-block; font-size: 0.74em; transform: scaleX(0.82); transform-origin: 0 100%; margin-right: -0.34em; }
.h-line .brush { display: inline-block; font-size: 1.07em; letter-spacing: 0; text-transform: uppercase; filter: url(#rough); transform: skewX(-3deg); scale: 0.85 1; transform-origin: 0 100%; margin-left: -0.03em; line-height: 0.74; position: relative; top: -0.05em; -webkit-text-stroke: 0.03em currentColor; paint-order: stroke fill; stroke-linejoin: round;}
.tagline { margin-top: 0.4em; font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.62rem, 1.04vw, 1.05rem); letter-spacing: 0.5em; text-transform: uppercase; color: var(--cream); }
.hero-copy .button { margin-top: clamp(8px, 0.9vw, 14px); }
.hero-mascot { position: absolute; z-index: 3; left: 50.2%; top: 0.8%; width: 35.5%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 62%, transparent 100%); }
.hero-bird { position: absolute; z-index: 2; left: 37.2%; top: -1%; width: 22%; transform: rotate(-4deg); opacity: 0.92; }
.script-note { position: absolute; z-index: 4; right: 4.8%; top: 20%; width: clamp(112px, 12vw, 198px); aspect-ratio: 171 / 153; background: url("dulces-rebeldes.png") center / contain no-repeat; transform: rotate(-10deg); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55)); }
.hero-photo { position: absolute; z-index: 2; inset: 43% 0 0 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; filter: contrast(1.08) saturate(1.06) brightness(0.9); image-rendering: auto; }
.seal { position: absolute; z-index: 5; right: 5%; bottom: 4%; width: 11.2vw; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5)); }
.seal > svg { width: 100%; height: auto; stroke: none; }

/* ===== Benefits ===== */
.benefits { padding: 0; background: var(--cream); color: var(--black); border-top: 3px solid var(--black); border-bottom: 3px solid var(--black); }
.benefits-inner { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--pad); }
.benefits ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; }
.benefits li { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.6vw, 28px); min-height: clamp(116px, 8.5vw, 148px); padding: 16px clamp(12px, 2vw, 34px); font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.84rem, 1.08vw, 1.18rem); letter-spacing: var(--track-ui); line-height: 1.18; text-transform: uppercase; }
.benefits li:first-child { border-left: 0; }
.benefits li + li::before { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--line-light); }
.benefits .material-symbols-outlined { flex: none; display: inline-grid; place-items: center; width: clamp(54px, 5.1vw, 86px); height: clamp(54px, 5.1vw, 86px); color: var(--red); font-family: "Material Symbols Outlined"; font-size: clamp(48px, 4.4vw, 76px); font-weight: normal; font-style: normal; line-height: 1; letter-spacing: 0; text-transform: none; white-space: nowrap; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48; }
.benefits li > span:not(.material-symbols-outlined) { position: relative; padding-bottom: 8px; }
.benefits li > span:not(.material-symbols-outlined)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--red); }

/* ===== Editorial ===== */
.editorial { display: grid; grid-template-columns: 39.3fr 27.8fr 32.9fr; min-height: clamp(460px, 32vw, 580px); background: var(--black); }
.ed-photo { position: relative; overflow: hidden; }
.ed-photo img { width: 100%; height: 108%; object-fit: cover; }
.ed-left img { object-position: 40% 30%; }
.ed-right img { object-position: 92% 60%; }
.ed-panel { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(24px, 3.2vw, 56px); background: var(--black); }
.ed-panel h2 { font-size: var(--fs-h2); line-height: 0.96; letter-spacing: 0; color: var(--cream); -webkit-mask-image: var(--grunge-heavy); mask-image: var(--grunge-heavy); -webkit-mask-size: 360px; mask-size: 360px; }
.ed-panel p:not(.eyebrow) { font-size: clamp(0.82rem, 0.95vw, 0.98rem); max-width: 34ch; color: rgba(244, 232, 217, 0.92); }
.ed-panel .button { align-self: flex-start; margin-top: 4px; }

/* ===== Story ===== */
.story { display: grid; grid-template-columns: 48.6fr 51.4fr; min-height: clamp(440px, 30vw, 560px); background: var(--black); }
.story-photo { position: relative; overflow: hidden; }
.story-photo img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 40%; }
.story-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 2vw 21% 2vw 2.9vw; background: var(--cream); color: var(--black); }
.story-panel h2 { font-size: var(--fs-h2-lg); line-height: 0.96; letter-spacing: 0; position: relative; padding-bottom: 14px; }
.story-panel h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 76%; height: 3px; background: var(--red); border-radius: 2px; transform: rotate(-1deg); }
.story-panel p:not(.eyebrow) { max-width: 46ch; font-size: clamp(0.84rem, 1vw, 1rem); }
.story-bird img { width: 100%; }
.story-bird { position: absolute; right: 1.2%; top: 1%; width: 17vw; transform: rotate(4deg); }
.story-wide { min-height: clamp(420px, 36vw, 560px); }
.story-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 3px solid var(--black); }
.story-facts article { display: grid; align-content: center; min-height: clamp(126px, 10vw, 164px); padding: clamp(18px, 2.4vw, 36px) var(--pad); border-right: 1px solid var(--line-light); }
.story-facts article:last-child { border-right: 0; }
.story-facts strong { display: block; font: 800 clamp(2rem, 3.8vw, 4.5rem) / 0.9 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em; }
.story-facts span { margin-top: 10px; font: 500 0.84rem var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; color: var(--red-on-light); }

/* ===== Categories ===== */
.categories ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.categories a { position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 18.75vw; padding: clamp(14px, 2vw, 30px); overflow: hidden; border-right: 3px solid var(--black); }
.categories li:last-child a { border-right: 0; }
.categories a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.categories a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 11, 11, 0.88) 0, rgba(11, 11, 11, 0.15) 70%); }
.categories a span, .categories a svg { position: relative; z-index: 2; }
.categories a span { font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.85rem, 1.35vw, 1.5rem); letter-spacing: var(--track-ui); line-height: 1.2; text-transform: uppercase; }
.categories a svg { width: 26px; height: 26px; transition: transform 0.35s var(--ease), color 0.25s; }
.categories a:hover img { transform: scale(1.07); }
.categories a:hover svg { transform: translateX(8px); color: var(--red); }

/* ===== Page hero / inner pages ===== */
.page-hero { min-height: clamp(430px, 34vw, 490px); padding: clamp(40px, 6vw, 96px) var(--pad) clamp(30px, 4vw, 64px); background: var(--black); border-bottom: 3px solid var(--red); }
.page-hero:not(.page-hero-split) { display: flex; flex-direction: column; justify-content: center; }
.story-hero { padding-bottom: 0; background: #050403; }
.story-hero > div:first-child { padding-bottom: clamp(30px, 4vw, 64px); }
.page-hero h1 { margin: 14px 0 18px; font-size: clamp(2.8rem, 7vw, 6.6rem); max-width: 14ch; }
.page-hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; }
.story-hero.page-hero-split { align-items: end; }
.page-hero .lead { max-width: 52ch; font-size: 1.05rem; overflow-wrap: anywhere; }
.hero-mascot-sm { mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 62%, transparent 100%); }
.hero-video-sm { position: relative; z-index: 1; isolation: isolate; overflow: visible; aspect-ratio: 16 / 9; max-width: min(100%, 760px); margin-left: auto; background: #050403; }
.story-hero .hero-mascot-sm-wrap { align-self: end; }
.hero-video-sm::before { content: ""; position: absolute; inset: -14% -10%; z-index: -1; background: radial-gradient(ellipse 72% 78% at 56% 50%, rgba(232, 17, 35, 0.13), rgba(5, 4, 3, 0) 68%); pointer-events: none; }
.hero-video-sm::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0; z-index: 2; height: 18%; background: linear-gradient(to bottom, rgba(5, 4, 3, 0), #050403 88%); pointer-events: none; }
.hero-video-sm video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0.9; mix-blend-mode: screen; filter: contrast(1.08) saturate(1.04) brightness(0.95); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 92%, transparent 100%); }
.catalog { padding: clamp(28px, 4vw, 64px) var(--pad) clamp(48px, 6vw, 96px); }
.shop-notice { display: grid; grid-template-columns: minmax(240px, 0.45fr) minmax(280px, 0.55fr); gap: clamp(24px, 5vw, 78px); align-items: center; padding: clamp(28px, 4vw, 56px) var(--pad); border-bottom: 1px solid var(--line-light); }
.shop-notice h2 { margin-top: 10px; font-size: clamp(2.1rem, 4vw, 4.5rem); -webkit-mask-image: var(--grunge-light); mask-image: var(--grunge-light); -webkit-mask-size: 420px; mask-size: 420px; }
.shop-notice p:not(.eyebrow) { max-width: 62ch; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 18px; border: 2px solid var(--black); background: transparent; color: var(--black); font-family: var(--f-ui); font-weight: 500; font-size: 0.8rem; letter-spacing: var(--track-ui); text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.chip:hover { background: rgba(11, 11, 11, 0.08); }
.chip.is-active { background: var(--black); color: var(--cream); }
.search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 2px solid var(--black); background: #fff9; }
.search svg { width: 20px; height: 20px; }
.search input { width: 200px; padding: 10px 0; border: 0; background: none; color: var(--black); }
.search input:focus-visible { outline: none; }
.search:focus-within { outline: 3px solid var(--red); outline-offset: 2px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--black); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -14px rgba(11, 11, 11, 0.38); }
.product-card[hidden] { display: none; }
.card-media { display: block; aspect-ratio: 4/3; overflow: hidden; border-bottom: 2px solid var(--black); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .card-media img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px; }
.card-body h3 { font-size: 1.7rem; }
.card-body p:not(.badge) { font-size: 0.88rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price-tag { font: 700 1.5rem var(--f-num); }
.empty { padding: 40px 0; text-align: center; }

.product-page { padding-bottom: clamp(48px, 6vw, 96px); }
.breadcrumb { padding: 22px var(--pad); font-size: 0.82rem; }
.breadcrumb a:hover { color: var(--red); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad); align-items: start; }
.gallery-main { border: 2px solid var(--black); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 84px; aspect-ratio: 1; padding: 0; border: 2px solid var(--black); background: none; overflow: hidden; opacity: 0.6; }
.thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 16px; }
.product-info h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price strong { font: 700 2.2rem var(--f-num); }
.buy { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--black); }
.qty button { display: grid; place-items: center; width: 44px; height: 48px; border: 0; background: none; }
.qty svg { width: 18px; height: 18px; }
.qty output { min-width: 40px; text-align: center; font: 700 1.2rem var(--f-num); }
.facts { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.facts dt { font: 500 0.78rem var(--f-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-on-light); }
.facts dd { font-size: 0.92rem; }
.mini-benefits { display: flex; flex-wrap: wrap; gap: 20px; font: 500 0.8rem var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.mini-benefits li { display: flex; align-items: center; gap: 8px; }
.mini-benefits svg { width: 26px; height: 26px; color: var(--red); }
.allergen-note { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(240px, 0.38fr) minmax(280px, 0.62fr); gap: clamp(22px, 4vw, 64px); align-items: center; padding: clamp(36px, 5vw, 70px) var(--pad); background: var(--black); color: var(--cream); border-top: 3px solid var(--red); }
.allergen-note > *:not(.ill) { position: relative; z-index: 2; }
.allergen-note h2 { margin-top: 10px; font-size: clamp(2.2rem, 4vw, 4.6rem); color: var(--cream); -webkit-mask-image: var(--grunge-light); mask-image: var(--grunge-light); -webkit-mask-size: 420px; mask-size: 420px; }
.allergen-note p:not(.eyebrow) { max-width: 70ch; color: rgba(244, 232, 217, 0.84); }
.allergen-note a { color: var(--red-on-dark); text-decoration: underline; text-underline-offset: 0.22em; }

.gallery-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.gallery-strip figure { height: clamp(260px, 30vw, 440px); overflow: hidden; }
.gallery-strip img { width: 100%; height: 118%; object-fit: cover; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); padding: clamp(32px, 5vw, 80px) var(--pad); }
.contact-info ul { display: grid; gap: 28px; }
.contact-info li { display: flex; gap: 18px; align-items: flex-start; }
.contact-info svg { flex: none; width: 34px; height: 34px; color: var(--red); }
.contact-info strong { display: block; font: 500 1.05rem var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.contact-info span { display: block; color: rgba(244, 232, 217, 0.82); }
.contact-info a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(225, 16, 46, 0.7); text-underline-offset: 0.22em; }
.contact-info a:hover { color: var(--red-on-dark); }
.contact-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 40px); background: var(--graphite); border: 1px solid var(--line-dark); }
.field label { display: block; margin-bottom: 6px; font: 500 0.74rem var(--f-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 2px solid transparent; background: var(--black); color: var(--cream); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); }
.error { min-height: 1.2em; margin-top: 4px; font-size: 0.8rem; color: var(--error); }
.contact-form .button { justify-self: start; }
.contact--editorial { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: 64px; padding-block: 64px 72px; }
.contact--editorial .contact-info { min-width: 0; }
.contact--editorial .contact-info h2 { font-size: 2.2rem; line-height: 1.1; margin-bottom: 28px; }
.contact--editorial .contact-info ul { gap: 0; }
.contact--editorial .contact-info li { gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.contact--editorial .contact-info li:first-child { padding-top: 0; border-top: 0; }
.contact--editorial .contact-info li > div { display: grid; gap: 6px; min-width: 0; }
.contact--editorial .contact-info strong { font-size: 0.92rem; letter-spacing: 0; }
.contact--editorial .contact-info a { font-size: 0.94rem; overflow-wrap: anywhere; width: fit-content; min-height: 24px; }
.contact--editorial .contact-info p { max-width: 40ch; font-size: 0.86rem; color: var(--cream); }
.contact--editorial .contact-info svg { width: 26px; height: 26px; margin-top: 2px; }
.contact-place { margin-top: 24px; }
.contact-place > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 66%; }
.contact-place figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 0.82rem; }
.contact--editorial .contact-place .text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; flex: none; }
.contact--editorial .contact-place svg { width: 18px; height: 18px; margin: 0; color: inherit; }
.contact-form.contact-form--editorial { min-width: 0; align-content: start; gap: 24px; padding: 36px; background: var(--cream); color: var(--black); border: 0; border-radius: 4px; }
.contact-form--editorial .contact-form-heading { display: grid; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line-light); }
.contact-form--editorial .contact-form-heading h2 { font-size: 2.15rem; line-height: 1.08; letter-spacing: 0; }
.contact-form.contact-form--editorial .fine { color: var(--black); font-size: 0.8rem; line-height: 1.6; }
.contact-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.contact-form--editorial .field { min-width: 0; }
.contact-form--editorial .field label { font-size: 0.8rem; letter-spacing: 0; margin-bottom: 8px; }
.contact-form--editorial .field label span { color: var(--red-on-light); }
.contact-form--editorial .field :is(input, textarea, select) { display: block; min-height: 52px; width: 100%; border: 1px solid #97897a; border-radius: 3px; background: var(--paper); color: var(--black); font: 400 1rem/1.5 var(--f-body); padding: 13px 14px; caret-color: var(--red-on-light); }
.contact-form--editorial .field textarea { min-height: 168px; resize: vertical; }
.contact-form--editorial .field :is(input, textarea)::placeholder { color: #695e54; opacity: 1; }
.contact-form--editorial .field :is(input, textarea, select):hover { border-color: var(--black); }
.contact-form--editorial .field :is(input, textarea, select):focus-visible { outline: 2px solid var(--red-on-light); outline-offset: 3px; border-color: var(--red-on-light); }
.contact-form--editorial .field [aria-invalid="true"] { border-color: var(--red-on-light); background: #fff5f1; }
.contact-form--editorial .error { color: var(--red-on-light); min-height: 0; margin-top: 0; }
.contact-form--editorial .error:not(:empty) { margin-top: 8px; }
.field-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.field-label-row output { font-size: 0.72rem; color: #695e54; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-form-actions { display: grid; gap: 16px; }
.contact-form--editorial .button { width: 100%; min-height: 52px; justify-content: space-between; letter-spacing: 0; }
.contact-form-feedback { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.contact-form--editorial .contact-form-feedback .text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; width: fit-content; color: var(--red-on-light); }
.contact-form--editorial[data-state="error"] .contact-form-feedback [data-form-status] { color: var(--red-on-light); font-weight: 600; }
.contact-form--editorial[data-state="prepared"] .contact-form-feedback [data-form-status] { font-weight: 600; }
@media (max-width: 1000px) {
  .contact--editorial { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact--editorial .contact-info ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; }
  .contact--editorial .contact-info li:nth-child(2) { padding-top: 0; border-top: 0; }
  .contact-place { display: none; }
}
@media (max-width: 600px) {
  .contact--editorial { padding: 36px 20px 44px; gap: 32px; }
  .contact--editorial .contact-info h2 { font-size: 1.8rem; margin-bottom: 22px; }
  .contact--editorial .contact-info ul { grid-template-columns: minmax(0, 1fr); }
  .contact--editorial .contact-info li:nth-child(2) { padding-top: 20px; border-top: 1px solid var(--line-dark); }
  .contact--editorial .contact-info a { min-height: 28px; }
  .contact-form.contact-form--editorial { padding: 24px 20px; gap: 22px; }
  .contact-form--editorial .contact-form-heading h2 { font-size: 1.85rem; }
  .contact-form-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
.locations { padding: clamp(42px, 6vw, 86px) var(--pad); border-top: 3px solid var(--black); }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.location-grid article { display: grid; gap: 8px; min-height: 128px; align-content: start; padding: 20px; background: var(--paper); border: 2px solid var(--black); }
.location-grid strong { font: 800 1.7rem/0.95 var(--f-display); text-transform: uppercase; letter-spacing: -0.01em; }
.location-grid span { font-size: 0.92rem; }

/* ===== Cart ===== */
.cart { position: fixed; inset: 0; z-index: 80; visibility: hidden; background: rgba(0, 0, 0, 0); transition: background 0.3s, visibility 0s 0.4s; }
.cart.is-open { visibility: visible; background: rgba(0, 0, 0, 0.6); transition: background 0.3s; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: var(--cream); color: var(--black); transform: translateX(100%); transition: transform 0.45s var(--ease); }
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 2px solid var(--black); }
.cart-head h2 { font-size: 2rem; }
.cart-head .icon-button:hover { background: rgba(11, 11, 11, 0.08); }
.cart-items { flex: 1; overflow: auto; padding: 8px 20px; }
.cart-empty { padding: 32px 0; text-align: center; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.cart-item strong { font: 500 1.05rem var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.cart-item .qty { grid-column: 1; width: max-content; }
.cart-item .qty button { width: 34px; height: 36px; }
.cart-item .line-price { grid-row: 1; grid-column: 2; font: 700 1.1rem var(--f-num); }
.cart-item .remove { grid-column: 2; grid-row: 2; align-self: center; border: 0; background: none; font-size: 0.85rem; text-decoration: underline; color: var(--red-on-light); }
.cart-foot { display: grid; gap: 12px; padding: 20px; border-top: 2px solid var(--black); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font: 500 1.05rem var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.cart-total strong { font: 700 1.7rem var(--f-num); }
.checkout-note { display: flex; align-items: flex-start; gap: 8px; opacity: 0.78; }
.checkout-note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--red-on-light); }

/* ===== Franchise CTA / Footer ===== */
.franchise-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 42vw); min-height: clamp(280px, 23vw, 360px); overflow: hidden; background: var(--black); color: var(--cream); border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); }
.franchise-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 11, 11, 0) 0 52%, rgba(11, 11, 11, 0.34) 70%, rgba(11, 11, 11, 0.78) 100%); pointer-events: none; }
.franchise-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 780px; padding: clamp(32px, 3vw, 52px) var(--pad); }
.franchise-copy .eyebrow { color: var(--red-on-dark); }
.franchise-copy h2 { max-width: 15ch; margin: 8px 0 14px; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 0.84; color: var(--cream); -webkit-mask-image: var(--grunge-light); mask-image: var(--grunge-light); -webkit-mask-size: 420px; mask-size: 420px; }
.franchise-copy p:not(.eyebrow) { max-width: 52ch; margin-bottom: 20px; color: rgba(244, 232, 217, 0.82); font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.58; }
.franchise-points { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; font: 500 0.76rem var(--f-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); }
.franchise-points li { padding: 7px 10px; border: 1px solid rgba(244, 232, 217, 0.24); background: rgba(244, 232, 217, 0.06); }
.franchise-media { position: relative; min-height: inherit; overflow: hidden; }
.franchise-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--black) 0, rgba(11, 11, 11, 0.44) 32%, rgba(11, 11, 11, 0.04) 100%); }
.franchise-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; filter: contrast(1.06) saturate(1.05) brightness(0.82); }
.site-footer { background: var(--black); }
.footer-inner { display: grid; grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr) minmax(220px, 0.8fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: clamp(34px, 5vw, 76px) var(--pad) 26px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand .brand-mark { width: max-content; }
.footer-brand p { font-family: var(--f-ui); font-weight: 500; font-size: clamp(0.82rem, 1vw, 1rem); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-on-dark); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px clamp(22px, 4vw, 60px); font: 500 clamp(0.78rem, 0.92vw, 0.9rem) var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.footer-nav a { position: relative; width: fit-content; padding: 6px 0; }
.footer-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.footer-nav a:hover { color: var(--red-on-dark); }
.footer-nav a:hover::after { transform: scaleX(1); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-self: end; }
.script-sm { display: block; width: clamp(126px, 12vw, 180px); aspect-ratio: 171 / 153; background: url("dulces-rebeldes.png") center / contain no-repeat; transform: rotate(-5deg); filter: drop-shadow(0 9px 16px rgba(0, 0, 0, 0.42)); }
.footer-contact { display: grid; gap: 5px; font-size: 0.86rem; color: rgba(244, 232, 217, 0.8); }
.footer-contact a { width: fit-content; text-decoration: underline; text-decoration-color: rgba(225, 16, 46, 0.72); text-underline-offset: 0.22em; }
.footer-contact a:hover { color: var(--red-on-dark); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: rgba(244, 232, 217, 0.72); }
.footer-bottom p:first-child { font-family: var(--f-ui); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); }

/* ===== Reveal helpers (JS adds .js) ===== */
.site-preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 280ms ease-out, visibility 0s 280ms; }
.site-preloader img { width: min(340px, 70vw); height: auto; aspect-ratio: 630 / 317; }
.is-loading .site-preloader { opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
.is-loading { overflow: hidden; }
.page-entering body { animation: page-dissolve 220ms ease-out both; }
.js [data-reveal] { transform: translateY(24px); }
/* Native navigation: retain the old snapshot while the new page dissolves in. */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation: none; }
::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: page-dissolve 220ms ease-out both; mix-blend-mode: normal; }
@keyframes page-dissolve { from { opacity: 0; } to { opacity: 1; } }
.motion-word { display: inline-block; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) {
  .site-preloader { transition: none; }
  .page-entering body { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .button:hover, .product-card:hover, .product-card:hover .card-media img, .categories a:hover img, .categories a:hover svg, .button:hover svg { transform: none; }
  @view-transition { navigation: none; }
  ::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .cart-panel { transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Tablet ===== */
@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; display: grid; gap: 0; padding: 10px var(--pad) 24px; background: var(--black); border-bottom: 3px solid var(--red); transform: translateY(-120%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s 0.4s; }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform 0.4s var(--ease); }
  .main-nav a { padding: 16px 0; font-size: 1.4rem; border-bottom: 1px solid var(--line-dark); }
  .main-nav a::after { display: none; }
  .benefits ul { grid-template-columns: 1fr 1fr; }
  .benefits-inner { padding-inline: 24px; }
  .benefits li { height: auto; min-height: 124px; padding: 18px; }
  .benefits .material-symbols-outlined { width: 58px; height: 58px; font-size: 54px; }
  .editorial, .story { min-height: 0; }
  .editorial { min-height: 0; }
  .story-panel { padding: 40px clamp(24px, 24vw, 280px) 40px 32px; }
  .categories a { height: 26vw; }
  .benefits li:nth-child(3) { border-left: 0; }
  .benefits li:nth-child(3)::before { display: none; }
  .benefits li:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .editorial { grid-template-columns: 1fr 1fr; }
  .ed-panel { grid-column: 1 / -1; grid-row: 1; padding-block: 40px; }
  .ed-photo { min-height: 300px; }
  .story { grid-template-columns: 1fr; }
  .story-photo { height: 340px; }
  .story-panel { padding-right: clamp(24px, 30vw, 300px); }
  .story-facts { grid-template-columns: 1fr 1fr; }
  .story-facts article:nth-child(2n) { border-right: 0; }
  .story-facts article:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .categories ul { grid-template-columns: 1fr 1fr; }
  .categories a { border-bottom: 3px solid var(--black); }
  .product, .contact, .page-hero-split { grid-template-columns: 1fr; }
  .shop-notice, .allergen-note { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .franchise-cta { grid-template-columns: 1fr; min-height: 0; }
  .franchise-cta::before { background: linear-gradient(to bottom, rgba(11, 11, 11, 0) 0 48%, rgba(11, 11, 11, 0.78) 100%); }
  .franchise-copy { padding-bottom: 44px; }
  .franchise-copy h2 { max-width: 12ch; }
  .franchise-media { min-height: 320px; order: -1; }
  .franchise-media::before { background: linear-gradient(to bottom, rgba(11, 11, 11, 0.1), var(--black) 100%); }
  .footer-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta { justify-self: start; }
  .footer-bottom { align-items: flex-start; }
}

@media (max-width: 1000px) and (min-width: 701px) {
  .hero { min-height: 760px; }
  .hero-copy { top: 76px; }
  .hero-title-art { width: min(58vw, 620px); }
  .hero-mascot { left: 50%; top: 4%; width: 42%; }
  .script-note { top: 19%; width: clamp(104px, 15vw, 156px); }
  .hero-photo { inset: 44% 0 0 0; }
  .hero-video-sm { margin-inline: auto; }
}

/* ===== Mobile: composición propia ===== */
@media (max-width: 700px) {
  :root { --header-h: 62px; }
  .brand-mark img, .site-header.is-scrolled .brand-mark img { height: 56px; }
  .site-footer .brand-mark img { height: 108px; }
  .hero { height: auto; min-height: 0; padding-top: 10px; padding-bottom: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-tattoo { opacity: 0.4; }
  .hero-mascot, .hero-copy, .hero-photo, .script-note, .seal, .hero-bird { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .hero-mascot { order: 1; width: 68%; margin-top: 18px; }
  .hero-bird { position: absolute; left: -4%; top: 4%; width: 34%; }
  .script-note { position: absolute; right: 4%; top: 5%; width: 88px; }
  .hero-copy { order: 2; margin-top: 6px; padding: 0 18px; text-align: center; width: 100%; overflow: visible; }
  .hero h1 { font-size: clamp(3rem, 14.2vw, 4.6rem); }
  .hero-title-art { width: min(72vw, 288px); margin-inline: auto; }
  .tagline { letter-spacing: 0.2em; font-size: 0.72rem; }
  .hero-photo { order: 3; width: 100%; height: 360px; margin-top: 34px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); }
  .hero-photo img { filter: contrast(1.05) saturate(1.04) brightness(0.9); object-position: 48% 48%; }
  .seal { position: absolute; right: 14px; bottom: 20px; width: 86px; }
  .page-hero { overflow: hidden; }
  .page-hero-split { gap: 30px; }
  .page-hero h1 { max-width: 10ch; }
  .page-hero .lead { max-width: 100%; }
  .hero-mascot-sm-wrap { width: 100%; overflow: visible; }
  .hero-video-sm { width: min(100%, 520px); margin-inline: auto; }
  .benefits { padding: 14px; }
  .benefits-inner { width: 100%; padding: 0; }
  .benefits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .benefits li { flex-direction: column; justify-content: center; min-height: 128px; padding: 14px 10px; gap: 12px; background: var(--paper); text-align: center; }
  .benefits li, .benefits li:nth-child(3), .benefits li:nth-child(n + 3) { border: 0; box-shadow: inset 0 0 0 2px var(--black); }
  .benefits li + li { margin-top: 0; }
  .benefits li::before, .benefits li + li::before { display: none; }
  .benefits .material-symbols-outlined { width: 46px; height: 46px; font-size: 44px; }
  .benefits li > span:not(.material-symbols-outlined) { max-width: 12ch; padding-bottom: 7px; font-size: 0.88rem; line-height: 1.12; }
  .benefits li > span:not(.material-symbols-outlined)::after { left: 50%; width: 22px; transform: translateX(-50%); }
  .editorial { grid-template-columns: 1fr; }
  .ed-photo { min-height: 300px; }
  .ed-panel { grid-column: auto; grid-row: auto; }
  .story-panel { padding: 36px 24px 48px; }
  .story-bird { opacity: 0.22; }
  .categories a { height: 150px; border-right: 0; }
  .categories li:nth-child(odd) a { border-right: 3px solid var(--black); }
  .gallery-strip { grid-template-columns: 1fr; }
  .section-head h2, .shop-notice h2, .allergen-note h2 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .story-facts { grid-template-columns: 1fr; }
  .story-facts article { min-height: 112px; border-right: 0; border-top: 1px solid var(--line-light); }
  .story-facts article:first-child { border-top: 0; }
  .shop-notice, .allergen-note, .locations { padding-inline: 24px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-grid article { min-height: 0; }
  .search { width: 100%; }
  .search input { width: 100%; }
  .franchise-media { min-height: 236px; }
  .franchise-copy { padding: 34px 24px 38px; }
  .franchise-copy h2 { max-width: 10ch; font-size: clamp(3rem, 14vw, 4.4rem); }
  .franchise-copy p:not(.eyebrow) { font-size: 1rem; }
  .franchise-copy .button { width: 100%; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 34px 24px 24px; }
  .footer-brand { gap: 8px; }
  .footer-nav { grid-template-columns: 1fr; gap: 2px; }
  .footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-cta { width: 100%; }
  .footer-cta .button { justify-content: center; width: 100%; }
  .script-sm { width: 142px; }
  .footer-bottom { display: grid; gap: 6px; padding-top: 20px; }
}

/* ===== BrandIllustration (ilustraciones decorativas extraídas del kit) ===== */
.ill { --ms: 0.6; position: absolute; z-index: 0; width: var(--w, 160px); height: auto; max-width: none; opacity: var(--op, 1); rotate: var(--rot, 0deg); pointer-events: none; user-select: none; }
.ill:not(.is-loaded) { visibility: hidden; }
.ill-flow { position: static; width: auto; height: var(--h, 100px); flex: none; }
.hero, .ed-panel, .story-panel, .page-hero, .site-footer, .hero-mascot-sm-wrap { position: relative; overflow: clip; }
.ed-panel > *:not(.ill), .story-panel > *:not(.ill):not(.story-bird), .page-hero > *:not(.ill) { position: relative; z-index: 2; }
.story-bird { z-index: 1; }
.hero-mascot-sm-wrap { display: block; overflow: visible; }
.hero-mascot-sm-wrap > .ill { z-index: 5; }
.hero-mascot-sm-wrap > .ill[style*="z-index:0"] { z-index: 0; }

/* Biblioteca / preview interna */
.preview .page-hero { overflow: visible; }
.bg-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bg-switch .chip { border-color: var(--cream); color: var(--cream); }
.bg-switch .chip.is-active { background: var(--cream); color: var(--black); }
.asset-wrap { padding: clamp(24px, 4vw, 56px) var(--pad); transition: background 0.3s, color 0.3s; }
.asset-wrap[data-bg="black"] { background: #0b0b0b; color: var(--cream); }
.asset-wrap[data-bg="white"] { background: #fff; color: #0b0b0b; }
.asset-wrap[data-bg="cream"] { background: var(--cream); color: #0b0b0b; }
.asset-wrap[data-bg="checker"] { background: repeating-conic-gradient(#bbb 0 25%, #eee 0 50%) 0 0 / 24px 24px; color: #0b0b0b; }
.asset-group { margin-bottom: 48px; }
.asset-group h2 { margin-bottom: 20px; font-size: 2.2rem; color: var(--red); }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.asset { display: grid; gap: 10px; }
.asset-view { display: grid; place-items: center; min-height: 260px; padding: 16px; border: 1px dashed currentColor; }
.asset-view img { max-height: 240px; width: auto; object-fit: contain; }
.asset figcaption { display: grid; gap: 2px; font-size: 0.8rem; }
.asset figcaption strong { font: 500 0.95rem var(--f-ui); letter-spacing: 0.06em; text-transform: uppercase; }
.asset figcaption code { opacity: 0.7; word-break: break-all; }

@media (max-width: 1000px) {
  .ill:not(.ill-flow) { width: calc(var(--w, 160px) * 0.8); }
  .ill-hide-tablet { display: none; }
}
@media (max-width: 700px) {
  .ill:not(.ill-flow) { width: calc(var(--w, 160px) * var(--ms)); }
  .ill-hide-mobile { display: none; }
  .page-hero > .ill { top: -22px !important; right: -26px !important; width: 104px; opacity: 0.9; }
  .ill-flow { height: calc(var(--h, 100px) * 0.8); }
}
@media print { .ill { display: none; } }

/* ===== Alvos de toque ≥ 44px en táctil y pantallas pequeñas ===== */
@media (pointer: coarse), (max-width: 1000px) {
  .button, .button-xs, .button-sm { min-height: 44px; justify-content: center; }
  .chip { min-height: 44px; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; }
  .footer-inner nav a, .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }
  .card-body h3 a { display: inline-block; padding: 12px 0; }
  .qty button { min-width: 44px; min-height: 44px; }
  .cart-item .remove { min-height: 44px; padding: 0 8px; }
  .thumbs button { width: 56px; }
}

/* Indicador de paginación decorativo del hero (como la referencia) */
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 4.4%; display: flex; gap: 0.9vw; transform: translateX(-50%); }
.hero-dots span { width: 0.5vw; height: 0.5vw; min-width: 6px; min-height: 6px; border-radius: 50%; background: var(--cream); opacity: 0.85; }
.hero-dots span:first-child { width: 1.4vw; min-width: 16px; border-radius: 4px; background: var(--red); opacity: 1; }
@media (max-width: 700px) { .hero-dots { display: none; } }

/* ===== Escala de escritorio fiel a la referencia (≥1001px) ===== */
@media (min-width: 1001px) {
  :root { --fs-h2: 3.95vw; --fs-h2-lg: 6.1vw; }
  .ed-panel { gap: 1.1vw; padding: 2.6vw 2.4vw; }
  .ed-panel .eyebrow, .story-panel .eyebrow { font-size: 0.82vw; }
  .ed-panel p:not(.eyebrow) { font-size: 1.07vw; line-height: 1.55; max-width: none; }
  .story-panel { padding: 2vw 37% 2vw 2.9vw; gap: 1.5vw; }
  .story-panel p:not(.eyebrow) { font-size: 1.07vw; max-width: none; line-height: 1.6; }
  .button-sm { font-size: 0.9vw; padding: 0.8vw 1.7vw; min-height: 0; }
  .story-panel .button-sm { font-size: 1.02vw; padding: 0.85vw 1.9vw; }
  .hero-copy .button { font-size: 0.95vw; padding: 0.85vw 2.1vw; }
  .ed-right img { object-position: 58% 50%; }
}

/* Product discovery, franchise enquiries and supporting content */
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; font-weight: 500; }
.text-link svg { width: 18px; height: 18px; flex: none; }
.featured-products, .franchise-overview { padding: 64px var(--pad); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading-row h2 { font-size: 2.8rem; line-height: 1.08; margin-bottom: 12px; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.featured-card { min-width: 0; background: var(--black); color: var(--cream); border-radius: 8px; }
.featured-card-link { display: flex; flex-direction: column; height: 100%; border-radius: inherit; overflow: hidden; }
.featured-card-link:focus-visible { outline: 3px solid var(--red-on-light); outline-offset: 5px; }
.featured-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.featured-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.featured-card:first-child .featured-card-media img { object-position: 52% 65%; }
.featured-card:last-child .featured-card-media img { object-position: center; }
.featured-card-content { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 22px; }
.featured-card-category { color: var(--red-on-dark); font: 500 0.75rem/1.4 var(--f-ui); text-transform: uppercase; margin-bottom: 12px; }
.featured-card h3 { max-width: 19ch; font-size: 2rem; line-height: 1.06; letter-spacing: 0; margin-bottom: 14px; text-wrap: balance; }
.featured-card-description { color: var(--cream); font-size: 0.92rem; line-height: 1.6; margin-bottom: 26px; }
.featured-card-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--line-dark); font: 500 0.85rem/1.4 var(--f-ui); text-transform: uppercase; }
.featured-card-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--red); color: var(--white); transition: background 0.2s; }
.featured-card-arrow svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.featured-note { margin-top: 22px; opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .featured-card-link:hover .featured-card-media img { transform: scale(1.035); }
  .featured-card-link:hover .featured-card-arrow { background: var(--red-dark); }
  .featured-card-link:hover .featured-card-arrow svg { transform: translateX(3px); }
}
.visit-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px var(--pad); border-top: 1px solid var(--line-light); }
.visit-band h2 { font-size: 2.4rem; line-height: 1.1; margin-bottom: 12px; }
.legal-links, .social-links { display: flex; flex-wrap: wrap; gap: 20px; }
.legal-links a, .social-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.contact-form h2 { font-size: 2rem; line-height: 1.1; }
.contact-form { color: var(--cream); }
.contact-form .fine { opacity: 1; color: var(--cream); }
.contact-form .fine a { text-decoration: underline; text-underline-offset: 3px; }
.field select { width: 100%; min-height: 48px; padding: 12px; border: 2px solid var(--sand); background: var(--black); color: var(--cream); }
.field input, .field textarea { font-size: 1rem; }
.product-gallery .fine { margin-top: 14px; line-height: 1.6; opacity: 1; }
.catalog-result { margin-bottom: 20px; }
.location-grid article { display: flex; flex-direction: column; gap: 10px; }
.location-grid article p { font-size: 0.9rem; }
.location-grid .text-link { margin-top: auto; }
.location-source { margin-top: 28px; opacity: 1; }
.format-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.format-list article { border-top: 2px solid var(--red); padding-top: 24px; }
.format-list h3 { font-size: 1.8rem; line-height: 1.15; margin-bottom: 14px; }
.format-list p { margin-bottom: 16px; }
.franchise-operation { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 60px var(--pad); }
.franchise-operation figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.franchise-operation h2, .franchise-application h2 { font-size: 3rem; line-height: 1.05; margin-bottom: 24px; }
.franchise-operation p { margin-bottom: 20px; }
.franchise-operation .text-link { overflow-wrap: anywhere; }
.franchise-application { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; padding: 64px var(--pad); }
.legal-content { padding: 64px var(--pad); }
.legal-content h2 { font-size: 1.8rem; line-height: 1.15; margin: 36px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { max-width: 70ch; }
.legal-content a { text-decoration: underline; }
.page-hero .button { align-self: flex-start; margin-top: 24px; }
@media (max-width: 1000px) {
  .franchise-operation, .franchise-application { grid-template-columns: 1fr; }
  .format-list { gap: 20px; }
}
@media (max-width: 700px) {
  .featured-products, .franchise-overview, .franchise-operation, .franchise-application, .legal-content { padding: 40px 24px; }
  .section-heading-row, .visit-band { flex-direction: column; align-items: flex-start; }
  .section-heading-row h2 { font-size: 2.2rem; }
  .featured-grid, .format-list { grid-template-columns: 1fr; }
  .featured-grid { gap: 20px; }
  .featured-card-media { aspect-ratio: 16 / 10; }
  .featured-card-content { padding: 24px 22px 20px; }
  .featured-card h3 { font-size: 1.85rem; }
  .visit-band { padding: 34px 24px; }
  .franchise-operation h2, .franchise-application h2 { font-size: 2.4rem; }
}
