/* San Churro 2026 — values from the Figma wireframe (Website Update [Showpony]): home desktop node 1:454 (1440), mobile node 1:1401 (402); inner pages below. */

@font-face { font-family: "Archer"; src: url("../fonts/archer-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archer"; src: url("../fonts/archer-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Brandon Text"; src: url("../fonts/brandon-text-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Brandon Text"; src: url("../fonts/brandon-text-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--color-cream: #efe4ce;
	--color-orange: #f58025;
	--color-blue: #3e459d;
	--color-red: #963821;
	--color-charcoal: #333;
	--color-white: #fff;
	--color-black: #000;

	--font-serif: "Archer", Georgia, serif;
	--font-sans: "Brandon Text", "Helvetica Neue", Arial, sans-serif;

	--container: 1024px;
	--gutter: 30px;

	/* Banners shrink on short screens so the content below still shows: Figma's heights (home 600px, inner pages
	   360px, phones 200px) on a 1440 × 900 window or taller. */
	--header-h: 140px;
	--screen-h: 100vh;
	--hero-h: clamp(220px, calc(var(--screen-h) - var(--header-h) - 160px), 600px);
	--banner-h: clamp(140px, calc(var(--screen-h) * .4), 360px);
}
/* The height left when the phone's browser bars show. */
@supports (height: 100svh) {
	:root { --screen-h: 100svh; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-cream); color: var(--color-black); font-family: var(--font-sans); font-size: 16px; line-height: 1.2; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
/* The <img> inside does the layout (see sanchurro_picture()); <source> would otherwise become an empty grid/flex item. */
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 10px 15px; background: var(--color-white); }
.skip-link:focus { top: var(--gutter); }

/* Button (Figma "Button": 10/15 padding, 2px stroke, Archer Bold 16/16, square) */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px; border: 2px solid var(--color-orange); background: var(--color-orange); color: var(--color-white); font: 700 16px/1 var(--font-serif); text-align: center; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.button:hover, .button:focus-visible { background: var(--color-white); color: var(--color-orange); }
.button--light { border-color: var(--color-white); background: var(--color-white); color: var(--color-orange); }
.button--light:hover, .button--light:focus-visible { background: var(--color-orange); border-color: var(--color-orange); color: var(--color-white); }
.button--outline { background: transparent; color: var(--color-orange); }
.button--outline:hover, .button--outline:focus-visible { background: var(--color-orange); color: var(--color-white); }

/* Socials */
.socials { display: flex; align-items: center; gap: 30px; }
.socials a { display: block; color: var(--color-orange); transition: opacity .2s; }
.socials a:hover, .socials a:focus-visible { opacity: .75; }
.socials svg { display: block; width: 36px; height: 36px; }
.socials--footer { gap: 20px; }
.socials--footer a { color: var(--color-white); }
.socials--footer svg { width: 24px; height: 24px; }

/* Header */
.site-header { position: relative; z-index: 10; background: var(--color-cream); }
.site-header__inner { display: flex; align-items: center; gap: 41px; min-height: 140px; padding-block: 20px; }
.site-header__logo { margin-right: auto; }
.site-header__logo img { width: 100px; height: 100px; }
.site-nav__list { display: flex; align-items: center; gap: 41px; }
.site-nav__link { font: 600 16px/1.2 var(--font-serif); text-decoration: none; }
.site-nav__link:hover, .site-nav__link:focus-visible, .site-nav__link[aria-current] { color: var(--color-orange); }
.site-header__toggle { display: none; }

/* Hero: a carousel of slides in a scroll-snapping track (main.js adds the controls). The images fill the slide
   without setting its height; the text does, so the slide grows with it (e.g. zoomed text) instead of spilling out. */
.hero { position: relative; }
.hero__track, .page-hero__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar, .page-hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; display: grid; flex: 0 0 100%; min-height: var(--hero-h); scroll-snap-align: start; scroll-snap-stop: always; }
/* One row exactly the slide's height: an auto row would grow to a photo's natural height (e.g. 640px for a 1920 × 1200
   photo at 1024 wide), overflowing the slide and making the track scroll vertically. */
.hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); }
.hero__slide--full .hero__media { grid-template-columns: 1fr; }
.hero__image { width: 100%; height: 100%; object-fit: cover; }
/* Anchor both halves to the centre seam, so narrower screens crop the outer edges (as the mobile frame does). */
.hero__image--start { object-position: right center; }
.hero__image--end { object-position: left center; }
/* The 18px bottom padding sits the heading + button 9px above centre, as in Figma. */
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 30px var(--gutter) 48px; text-align: center; }
.hero__slide--split .hero__content { padding-block: 0 18px; }
.hero__heading { color: var(--color-white); font: 600 80px/.85 var(--font-serif); text-transform: uppercase; }
/* Campaign photos vary: a soft shadow keeps the white text readable on light ones. */
.hero__slide--full :is(.hero__heading, .hero__text) { text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.hero__slide--full .hero__heading { max-width: 960px; text-wrap: balance; }
.hero__text { max-width: 600px; margin-top: -10px; color: var(--color-white); font-size: 20px; line-height: 1.2; }

/* Carousel controls (home banner and page banners) */
/* Carousel dots, as on the old site's home banner: 12px dots, white for the current slide and #869791 at half opacity
   for the others, 14.5% up from the bottom (11.5% on phones and short screens). Centred, under the centred slide text. */
.carousel-controls { position: absolute; inset: auto 0 14.5%; display: flex; justify-content: center; pointer-events: none; }
.carousel-controls[hidden] { display: none; }
.carousel-controls__dot { position: relative; width: 26px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.carousel-controls__dot::before { position: absolute; top: 6px; left: 7px; width: 12px; height: 12px; border-radius: 50%; background: #869791; opacity: .5; content: ""; }
.carousel-controls__dot[aria-current="true"]::before { background: var(--color-white); opacity: 1; }
/* Home banner: the same height, in pixels of the banner's usual height (so it stays put when larger text makes a slide
   taller), with that much room kept under the centred slide text so the dots never sit on it. */
.hero { --dots-bottom: calc(var(--hero-h) * .145); }
.hero .carousel-controls { bottom: var(--dots-bottom); }
.hero[data-carousel] .hero__content { padding-block: calc(var(--dots-bottom) + 40px); }
.carousel-controls :focus-visible { outline: 2px solid var(--color-white); outline-offset: -2px; border-radius: 50%; }

/* Promo split: columns align to their buttons, which share a baseline. */
.promo-split__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding-block: 100px 92px; }
.promo-split__col { display: flex; flex-direction: column; align-items: center; padding-inline: 40px; text-align: center; }
.promo-split__title { margin-bottom: 20px; font: 700 24px/1 var(--font-serif); }
.promo-split__text { max-width: 431px; margin-bottom: 20px; }

/* Product grid */
.product-grid { padding-block: 70px; background: var(--color-white); }
.product-grid__title { margin-bottom: 30px; font: 700 30px/1 var(--font-serif); text-align: center; text-transform: uppercase; }
.product-grid__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-inline: 30px; }
.product-card__link { display: flex; flex-direction: column; gap: 15px; text-decoration: none; }
.product-card__media { display: block; aspect-ratio: 226 / 300; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card__link:hover img, .product-card__link:focus-visible img { transform: scale(1.04); }
.product-card__title { font: 700 18px/15px var(--font-serif); } /* Figma's text box is 15px (its .85 line-height rounded), and layout below follows that. */

/* Story */
/* Figma centres a pair of 750px tiles, so a tile edge sits on the centre line at every width. */
.pattern-strip { height: 75px; background: var(--color-white) url("../img/pattern-strip.svg") repeat-x calc(50% - 375px) center / auto 75px; }
/* 10px top padding: Figma sits the heading 5px below the banner's centre. */
.story__banner { position: relative; display: grid; place-items: center; min-height: 346px; padding-top: 10px; overflow: hidden; }
/* Left-anchored: the mobile frame shows the photo at desktop scale, cropped from the left. */
.story__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.story__heading { position: relative; color: var(--color-white); font: 700 80px/.85 var(--font-serif); text-align: center; text-transform: uppercase; }
.story__body { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 20px; text-align: center; }
.story__subheading { max-width: 600px; font: 700 24px/1 var(--font-serif); }
/* Subheading sits closer to its text than the 20px gap. */
.story__subheading + .story__text { margin-top: -8px; }
.story__text { max-width: 600px; }

/* Social */
.social__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 40px; text-align: center; }
.social__title { font: 700 24px/1 var(--font-serif); }
.social__text { max-width: 600px; }

/* Image strip */
.image-strip img { width: 100%; height: 200px; object-fit: cover; }

/* Footer */
.site-footer { background: var(--color-orange); color: var(--color-white); }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 20px; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 100px; }
.site-footer__logo img { width: 148px; height: 100px; }
.site-footer__nav { width: 100%; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 40px; font-size: 14px; line-height: 1.39; }
/* Desktop shows the model's two rows: a full-width spacer between them forces the break. */
.site-footer__links::after { order: 1; flex-basis: 100%; height: 15px; content: ""; }
.site-footer__row-start, .site-footer__row-start ~ li { order: 2; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover, .site-footer__links a:focus-visible { text-decoration: underline; }
.site-footer__copyright { font-size: 12px; line-height: 1.39; }

/* ≤1024: tighter header, smaller display type (no tablet frame in Figma) */
@media (max-width: 1024px) {
	.site-header__inner, .site-nav__list { gap: 24px; }
	.hero__heading { font-size: 64px; }
}

/* ≤860: mobile header (Figma mobile: 60px logo, Order Now + 24px menu icon) */
@media (max-width: 860px) {
	:root { --header-h: 100px; }
	.site-header__inner { flex-wrap: wrap; gap: 15px; min-height: 100px; }
	.site-header__logo img { width: 60px; height: 60px; }
	/* 44px tap target around the 24px icon box; the negative margin keeps the icon box where Figma has it. */
	.js .site-header__toggle { position: relative; display: block; width: 44px; height: 44px; margin-inline: -10px; padding: 0; border: 0; background: none; color: var(--color-charcoal); cursor: pointer; }
	/* Figma icon: three 16px, 1px round-capped strokes, 6px apart, on half-pixel centres. */
	.site-header__toggle-bar, .site-header__toggle-bar::before, .site-header__toggle-bar::after { position: absolute; left: 14px; width: 16px; height: 1px; border-radius: .5px; background: currentColor; content: ""; transition: transform .2s, background-color .2s; }
	.site-header__toggle-bar { top: 21.5px; }
	.site-header__toggle-bar::before { left: 0; top: -6px; }
	.site-header__toggle-bar::after { left: 0; top: 6px; }
	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar { background: transparent; }
	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar::before { background: var(--color-charcoal); transform: translateY(6px) rotate(45deg); }
	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar::after { background: var(--color-charcoal); transform: translateY(-6px) rotate(-45deg); }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__link { display: block; padding: 14px 0; border-bottom: 1px solid rgb(0 0 0 / .1); }
	/* Without JS the menu simply sits open under the logo and Order Now. */
	.no-js .site-nav { order: 1; flex-basis: 100%; }
	.js .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 8px var(--gutter) 24px; background: var(--color-cream); border-top: 1px solid rgb(0 0 0 / .1); }
	.site-header.is-open .site-nav { display: block; }
}

/* ≤768: stacked sections (Figma mobile frame) */
@media (max-width: 768px) {
	.hero__content { gap: 40px; padding: 40px var(--gutter) 72px; }
	.hero__slide--split .hero__content { gap: 62px; padding: 16px var(--gutter) 0; }
	.hero__heading { font-size: 40px; }
	.hero__text { font-size: 18px; }
	.carousel-controls { bottom: 11.5%; }
	.hero { --dots-bottom: calc(var(--hero-h) * .115); }

	.promo-split__inner { grid-template-columns: 1fr; align-items: stretch; padding-block: 0; }
	/* Each block is 281px: content from 70px down, button 30px off the bottom. */
	.promo-split__col { min-height: 281px; padding: 70px 0 30px; }
	.promo-split__col .button { margin-top: auto; }
	.promo-split__text { max-width: none; margin-bottom: 16px; }

	.product-grid__list { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; padding-inline: 0; }

	.story__heading { font-size: min(80px, 20vw); }

	.image-strip img { height: 100px; }

	.site-footer__top { min-height: 60px; }
	.site-footer__logo img { width: 88px; height: 60px; }
	.site-footer__links { gap: 10.5px 20px; }
	.site-footer__links::after { display: none; }
	/* The mobile frame lists the second row first. */
	.site-footer__row-start, .site-footer__row-start ~ li { order: -1; }
}

/* As on the old site: the carousel dots a little lower on screens up to 800px tall. */
@media (max-height: 800px) {
	.carousel-controls { bottom: 11%; }
	.hero { --dots-bottom: calc(var(--hero-h) * .11); }
}

/* Short screens (a laptop zoomed in, a phone on its side): smaller banner text, so the page shows beneath it. */
@media (max-height: 560px) {
	:root { --hero-h: clamp(180px, calc(var(--screen-h) - var(--header-h) - 160px), 600px); }
	.hero__content, .hero__slide--split .hero__content { gap: 16px; padding: 12px var(--gutter) 64px; }
	.hero__heading { font-size: 40px; }
	.hero__text { margin-top: -4px; font-size: 16px; }
	.hero[data-carousel] .hero__content { padding-block: 12px calc(var(--dots-bottom) + 36px); }
}
@media (max-height: 420px) {
	.hero__content, .hero__slide--split .hero__content { gap: 12px; padding: 8px var(--gutter) 48px; }
	.hero__heading { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.product-card__link:hover img, .product-card__link:focus-visible img { transform: none; }
}

/* ≤560: one product per row, using the mobile crops (see product-grid.php) */
@media (max-width: 560px) {
	.product-grid__list { grid-template-columns: 1fr; gap: 20px; }
	.product-card__media { aspect-ratio: 342 / 300; }
}

/* 404 (index.php) */
.page-not-found { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 80px; text-align: center; }
.page-not-found h1 { font: 700 30px/1 var(--font-serif); text-transform: uppercase; }


/* ---------------------------------------------------------------------------------------------------------------
   Inner pages: Gift Cards (Figma 1:555), el Social (1:666, mobile 1:1705), San Churro at Home (1:876, mobile 1:1523),
   single store (1:611) and Menu (1:1022, dietary panel open 1:1208). No mobile frames for Gift Cards, store and Menu:
   they follow the same mobile rules.
   --------------------------------------------------------------------------------------------------------------- */

/* Figma's text is 16/19.2, but it lays out 19px per line (2 lines = 38px, 7 = 133px); match its boxes. */
:is(.section, .store, .menu-head, .menu-section, .menu-empty, .social) { line-height: 19px; }

/* Featured image band under the header (a carousel with more banner images) */
.page-hero { position: relative; }
.page-hero__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.page-hero__image { width: 100%; height: var(--banner-h); object-fit: cover; }
/* "Whole image" banner style: uncropped at the image's own shape (slides of different shapes align to the top). */
.page-hero--whole .page-hero__track { align-items: flex-start; }
.page-hero--whole .page-hero__image { height: auto; }

/* Sections (template-parts/sections/): 40px padding, content centred with 20px gaps, text 600px wide */
.section { padding-block: 40px; }
.section--white { background: var(--color-white); }
.section--orange { background: var(--color-orange); }
.section--red { background: var(--color-red); color: var(--color-white); }
.section__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.section__inner > :is(.section-heading, .section-text, .icon-list) { width: 100%; max-width: 600px; }
/* Product cards as on the home page: the full content width, names left-aligned under the photos. */
.section__inner > .product-grid__list { width: 100%; margin-top: 10px; text-align: left; }
.section__box { margin-inline: auto; padding: 40px; }
.section__box--narrow { width: min(600px, 100% - 2 * var(--gutter)); }
.section__box--full { padding-inline: 0; }
.section__box--white { background: var(--color-white); }
.section__box--orange { background: var(--color-orange); }
.section__box--red { background: var(--color-red); color: var(--color-white); }
.section__box--narrow .section__inner { padding-inline: 0; }
.section__box--white, .section__box--orange { color: var(--color-black); }
/* On the dark red and orange backgrounds (the section's own, or a box's): outline buttons turn white, orange buttons
   get a white edge on dark red and turn white on orange. Cards and white boxes keep the light-background styles. */
:is(.section--red:not(.section--boxed), .section__box--red) .button--outline { border-color: var(--color-white); color: var(--color-white); }
:is(.section--red:not(.section--boxed), .section__box--red) .button--outline:is(:hover, :focus-visible) { background: var(--color-white); color: var(--color-red); }
:is(.section--red:not(.section--boxed), .section__box--red) .button--primary:is(:hover, :focus-visible) { border-color: var(--color-white); }
:is(.section--orange:not(.section--boxed), .section__box--orange) .button--outline { border-color: var(--color-white); color: var(--color-white); }
:is(.section--orange:not(.section--boxed), .section__box--orange) .button--outline:is(:hover, :focus-visible) { background: var(--color-white); color: var(--color-orange); }
:is(.section--orange:not(.section--boxed), .section__box--orange) .button--primary { border-color: var(--color-white); background: var(--color-white); color: var(--color-orange); }
:is(.section--orange:not(.section--boxed), .section__box--orange) .button--primary:is(:hover, :focus-visible) { background: var(--color-orange); color: var(--color-white); }
.section__inner .card .button--outline { border-color: var(--color-orange); color: var(--color-orange); }
.section__inner .card .button--outline:is(:hover, :focus-visible) { background: var(--color-orange); color: var(--color-white); }
.section__inner .card .button--primary { border-color: var(--color-orange); background: var(--color-orange); color: var(--color-white); }
.section__inner .card .button--primary:is(:hover, :focus-visible) { background: var(--color-white); color: var(--color-orange); }
/* White buttons on white get an orange edge. */
:is(.section--white:not(.section--boxed), .section__box--white, .card) .button--light { border-color: var(--color-orange); }

.section-heading { font: 700 32px/1 var(--font-serif); }
.section-heading--medium { font-size: 24px; }
.section-text > * + * { margin-top: 1.2em; }
.section-text :is(ul, ol) { display: inline-block; padding-left: 1.2em; list-style: disc; text-align: left; }
.section-text ol { list-style: decimal; }
.section-text li + li { margin-top: .4em; }
.section-text :is(h2, h3, h4, h5, h6) { font: 700 20px/1.2 var(--font-serif); }
.section-text h2 { font-size: 24px; }
.section-text > * + :is(h2, h3, h4, h5, h6) { margin-top: 1.6em; }
.section-text img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
.section-text .button { margin: 4px 8px 4px 0; }
/* Long text (terms, policies) reads left-aligned, in a wider column. */
.section__inner > .section-text--left { max-width: 760px; }
.section-text--left { text-align: left; }
.section-text--left :is(ul, ol) { display: block; }
.section-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.app-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.app-badges img { width: auto; height: 40px; }

.section-image--logo { width: 222px; height: 60px; object-fit: contain; }
.section-image--photo { width: 300px; height: 300px; object-fit: cover; }

/* Cards: two 482px cards in the 1024px container (20px side padding), top-aligned; narrower screens wrap them. */
.cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; width: 100%; padding-inline: 20px; }
.card { display: flex; flex: 1 1 320px; flex-direction: column; align-items: center; gap: 20px; max-width: 482px; padding: 40px; background: var(--color-white); color: var(--color-black); }
.card > :is(.card__title, .card__subtitle, .section-text, .icon-list) { width: 100%; }
.card__title { font: 700 24px/1 var(--font-serif); }

/* Icon rows: 85px icon, 20px gap, text left-aligned */
.icon-list { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.icon-list__item { display: flex; align-items: center; gap: 20px; }
.icon-list__icon { flex: none; width: 85px; height: 85px; object-fit: contain; }
.icon-list__text p + p { margin-top: 1.2em; }

/* FAQ: questions that open (plus / minus) */
.accordion { width: 100%; max-width: 760px; border-top: 1px solid rgb(0 0 0 / .15); text-align: left; }
.accordion__item { border-bottom: 1px solid rgb(0 0 0 / .15); }
:is(.section--red, .section__box--red) :is(.accordion, .accordion__item) { border-color: rgb(255 255 255 / .35); }
.accordion__title { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font: 700 18px/1.25 var(--font-serif); cursor: pointer; list-style: none; }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title::after { flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; color: var(--color-orange); content: ""; }
.accordion__item[open] > .accordion__title::after { background-size: 14px 2px, 0 0; }
.accordion__title:is(:hover, :focus-visible) { color: var(--color-orange); }
:is(.section--red, .section__box--red) .accordion__title:is(:hover, :focus-visible) { color: var(--color-white); text-decoration: underline; }
.accordion__panel { padding-bottom: 22px; }

/* Gallery: square photos, three a row; a short last row (or a gallery of one or two) is centred */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; max-width: var(--container); }
.gallery > li { flex: 0 0 calc((100% - 40px) / 3); }
.gallery__image { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* Form block (Gravity Forms): the design's type, full-width fields and an orange button */
.section-form { width: 100%; max-width: 640px; text-align: left; }
.section-form .gform_wrapper.gravity-theme :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="file"]), select, textarea) { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid rgb(0 0 0 / .3); border-radius: 0; background: var(--color-white); color: var(--color-black); font: 16px/1.3 var(--font-sans); }
.section-form .gform_wrapper.gravity-theme textarea { min-height: 140px; }
.section-form .gform_wrapper.gravity-theme :is(input, select, textarea):focus-visible { outline: 2px solid var(--color-black); outline-offset: 1px; }
.section-form .gform_wrapper.gravity-theme ::placeholder { color: rgb(0 0 0 / .55); opacity: 1; }
.section-form .gform_wrapper.gravity-theme :is(.gfield_label, legend.gfield_label) { font: 700 16px/1.2 var(--font-sans); }
.section-form .gform_wrapper.gravity-theme .gform_footer { justify-content: center; margin-top: 8px; padding: 0; }
.section-form .gform_wrapper.gravity-theme .gform_footer :is(input[type="submit"], button) { padding: 12px 24px; border: 2px solid var(--color-orange); border-radius: 0; background: var(--color-orange); color: var(--color-white); cursor: pointer; font: 700 16px/1 var(--font-serif); transition: background-color .2s, color .2s; }
.section-form .gform_wrapper.gravity-theme .gform_footer :is(input[type="submit"], button):is(:hover, :focus-visible) { background: var(--color-white); color: var(--color-orange); }
.section-form .gform_wrapper.gravity-theme .gform_validation_errors { border-color: var(--color-red); border-radius: 0; box-shadow: none; }
.section-form .gform_wrapper.gravity-theme :is(.gform_validation_errors > h2, .validation_message, .gfield_required) { color: var(--color-red); }
.section-form .gform_confirmation_message { font-size: 18px; text-align: center; }

/* Image + text rows: white, like the video rows; the photo on either side */
.image-row { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 404fr); align-items: center; gap: 20px; width: 100%; padding: 20px; background: var(--color-white); color: var(--color-black); text-align: left; }
.image-row--image-right { grid-template-columns: minmax(0, 404fr) minmax(0, 560fr); }
.image-row--image-right .image-row__media { order: 2; }
.image-row__text { display: flex; flex-direction: column; gap: 20px; padding-inline: 20px; }
.image-row__title { font: 700 32px/1 var(--font-serif); }
.image-row__image { width: 100%; height: auto; } /* Its own shape: some are graphics that mustn't be cropped. */

/* Video rows: white, 20px padding; 404px text column (20px inset) beside a 560 × 315 video */
.video-row { display: grid; grid-template-columns: minmax(0, 404fr) minmax(0, 560fr); align-items: center; gap: 20px; width: 100%; padding: 20px; background: var(--color-white); color: var(--color-black); text-align: left; }
.video-row__text { display: flex; flex-direction: column; gap: 20px; padding-inline: 20px; }
.video-row__title { font: 700 32px/1 var(--font-serif); }
.video-embed { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-black); }
.video-embed img { width: 100%; height: 100%; object-fit: cover; }
.video-embed__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; border-radius: 14px; background: rgb(33 33 33 / .8); transform: translate(-50%, -50%); transition: background-color .2s; }
.video-embed__play::before { position: absolute; left: 27px; top: 14px; border-block: 10px solid transparent; border-left: 17px solid var(--color-white); content: ""; }
.video-embed:is(:hover, :focus-visible) .video-embed__play { background: #f00; }
.video-row__media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* Shared "Share your experience": the Menu's allergy advice sits above it */
.social__note { max-width: 600px; }

/* Single store */
.store { padding-block: 40px; background: var(--color-white); }
/* A state's stores (taxonomy-store_category.php): white cards, three a row (one on phones) */
.store-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: var(--container); text-align: left; }
.store-list__item { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--color-white); }
.store-list__name { font: 700 20px/1.1 var(--font-serif); }
.store-list a { color: inherit; text-decoration: none; }
.store-list a:is(:hover, :focus-visible) { color: var(--color-orange); text-decoration: underline; }
.store-list__address { font-size: 16px; line-height: 1.35; }

.store__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; width: min(888px, 100%); margin-inline: auto; padding: 30px 20px; text-align: center; }
.store__columns { display: grid; grid-template-columns: minmax(0, 420fr) minmax(0, 408fr); gap: 20px; width: 100%; }
.store__details { display: flex; flex-direction: column; gap: 20px; padding-inline: 20px; text-align: left; }
.store__details a { text-decoration: none; }
.store__details a:is(:hover, :focus-visible) { text-decoration: underline; }
.store__label { font: 700 16px/1.2 var(--font-sans); }
.store__hours { margin: 0; }
.store__hours div { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 20px; }
.store__hours dd { margin: 0; }
.store__note { font-size: 12px; line-height: 1.2; }
.store__details .section-buttons { justify-content: flex-start; }
.store__map { width: 100%; height: 500px; background: #e5e3df; }
.store__partners { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.store__partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.store__partner { height: 36px; }
.store__partner img { width: auto; height: 12px; }
.store__partner:is(:hover, :focus-visible) { background: #d96a14; border-color: #d96a14; color: var(--color-white); }

/* Menu */
/* Figma draws these bars' 1px orange strokes inside fixed 183px and 101px frames: the paddings below keep its positions. */
.menu-head { padding-top: 39px; border-block: 1px solid var(--color-orange); text-align: center; }
.menu-head__inner { padding-bottom: 20px; }
.menu-filter { padding-bottom: 42px; }
.menu-filter[open] { padding-bottom: 0; }
/* Figma's button: 10/15 padding, label then a 24px filter icon. */
.menu-filter__toggle { display: flex; width: fit-content; margin-inline: auto; padding: 10px 15px 10px 20px; gap: 6px; cursor: pointer; list-style: none; }
.menu-filter__toggle::-webkit-details-marker { display: none; }
.menu-filter__icon { flex: none; }
.menu-filter__panel { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 20px; padding: 40px var(--gutter); background: var(--color-orange); color: var(--color-white); }
.menu-filter__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 24px; max-width: 600px; }
.menu-filter__option { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 72px; font: 700 12px/1.2 var(--font-sans); text-decoration: none; text-transform: uppercase; }
.menu-filter__option img { width: 60px; height: 60px; border-radius: 50%; transition: transform .2s; }
.menu-filter__option:is(:hover, :focus-visible) img { transform: scale(1.06); }
.menu-filter__option[aria-current] img { outline: 3px solid var(--color-white); outline-offset: 2px; }
.menu-filter__option[aria-current] span { text-decoration: underline; }
.menu-filter__status a { color: inherit; }

.menu-tabs { padding-block: 39px 42px; border-block: 1px solid var(--color-orange); }
.menu-tabs__list { position: relative; display: flex; justify-content: space-between; gap: 20px; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: thin; }
.menu-tabs__link { display: block; font: 700 18px/1 var(--font-serif); text-decoration: none; white-space: nowrap; }
.menu-tabs__link:is(:hover, :focus-visible) { color: var(--color-orange); }
.menu-tabs__link[aria-current] { color: var(--color-orange); text-decoration: underline; }

.menu-section__title { padding: 40px var(--gutter); font: 700 24px/1 var(--font-serif); text-align: center; }
/* Two 482px columns 60px apart; products top-aligned (Figma centres each row, which made a row jump when a product opens). */
.menu-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 60px; padding: 40px max(var(--gutter), (100% - var(--container)) / 2); background: var(--color-white); }
.menu-product { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding-inline: 20px; }
.menu-product__media { display: flex; align-items: center; height: 100px; }
.menu-product__media img { width: 140px; height: 82px; object-fit: cover; }
.menu-product__body { display: flex; flex-direction: column; gap: 15px; }
.menu-product__title { font: 700 24px/1 var(--font-serif); }
.menu-product__icons { display: flex; gap: 5px; }
.menu-product__icons img { width: 25px; height: 25px; }
.menu-product__summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.menu-product__summary::-webkit-details-marker { display: none; }
.menu-product__summary:is(:hover, :focus-visible) .menu-product__toggle { color: var(--color-orange); text-decoration: underline; }
.menu-product__toggle-less, .menu-product__more[open] .menu-product__toggle-more { display: none; }
.menu-product__more[open] .menu-product__toggle-less { display: inline; }
.menu-product__details { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; font-size: 14px; }
/* While a tab or filter loads in place (main.js). */
.menu-view[aria-busy="true"] :is(.menu-section, .menu-empty) { opacity: .5; transition: opacity .15s .1s; }
.menu-empty { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 60px var(--gutter); background: var(--color-white); text-align: center; }

@media (max-width: 1024px) {
	.menu-tabs__list { justify-content: flex-start; gap: 30px; }
}

/* ≤768: the mobile frames (402): 30px sides; boxes and cards full width */
@media (max-width: 768px) {
	:root { --banner-h: clamp(120px, calc(var(--screen-h) * .3), 200px); }

	.section--box-white { padding: 30px var(--gutter); }
	.section--box-white .section__box { width: 100%; padding: 40px 20px; }
	.section--box-orange, .section--box-red { padding-block: 0; }
	:is(.section--box-orange, .section--box-red) .section__box { width: 100%; padding: 40px var(--gutter); }
	.section__box .section__inner { padding-inline: 0; }

	.section-image--photo { width: 100%; height: auto; aspect-ratio: 1; }

	.cards { padding-inline: 0; }
	.card { flex-basis: 100%; max-width: none; padding: 40px 20px; }
	.card .icon-list { text-align: center; }
	.card .icon-list__item { flex-direction: column; }

	.video-row { grid-template-columns: minmax(0, 1fr); }
	.video-row__text { padding-inline: 0; }

	.image-row, .image-row--image-right { grid-template-columns: minmax(0, 1fr); }
	.image-row--image-right .image-row__media { order: 0; }
	.image-row__text { padding-inline: 0; }

	.gallery { gap: 10px; }
	.store-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.gallery > li { flex-basis: calc((100% - 10px) / 2); }

	.store__inner { padding: 0 var(--gutter); }
	.store__columns { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.store__details { padding-inline: 0; }
	.store__map { height: 300px; }

	.menu-tabs { padding-block: 20px; }
	.menu-products { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.menu-product { padding-inline: 0; }
}

@media (max-width: 480px) {
	.menu-product { grid-template-columns: 110px minmax(0, 1fr); }
	.menu-product__media { height: 78px; }
	.menu-product__media img { width: 110px; height: 64px; }
	.menu-product__title { font-size: 20px; }
}

/* Search results and archives (index.php) */
.result-list { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 600px; }
.result-list a { display: block; padding: 14px 20px; background: var(--color-white); color: var(--color-black); font: 700 18px/1.2 var(--font-serif); text-align: left; text-decoration: none; }
.result-list a:is(:hover, :focus-visible) { color: var(--color-orange); text-decoration: underline; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; background: var(--color-white); color: var(--color-black); text-decoration: none; }
.navigation.pagination .page-numbers.current { background: var(--color-orange); color: var(--color-white); }
