/*
 * Gordo's — site-wide shell.
 *
 * Loaded on every page, not just the ordering screen, because the language
 * switch and the brand palette belong to the whole site. Kept small: this
 * file is in front of the first sandwich photo on a phone on mobile data.
 *
 * Colours are lifted from the logo — the toast yellow, the sign-painter red,
 * the dark outline brown — so the site and the packaging look related.
 */

/*
 * Every component in this file sets a width AND padding. A theme that leaves
 * box-sizing at its default makes that padding add on top, which pushed the
 * call-to-action band 48px past the screen edge and gave the whole page a
 * horizontal scroll on a phone. Scoped to our own classes so nothing the
 * theme owns is affected.
 */
[class^="gordos-"],
[class*=" gordos-"],
[class^="gordos-"] *,
[class*=" gordos-"] * {
	box-sizing: border-box;
}

:root {
	--gordos-red: #e8491d;
	--gordos-red-dark: #c73a12;
	--gordos-amber: #f5a623;
	--gordos-amber-soft: #ffc85c;
	--gordos-brown: #5c2e11;
	--gordos-brown-soft: #7a4a2f;
	--gordos-cream: #fff8ef;
	--gordos-cream-deep: #fdeeda;
	--gordos-ink: #2a1a10;
	--gordos-muted: #7d6553;
	--gordos-line: rgba(92, 46, 17, 0.14);
	--gordos-green: #2f7d4f;

	--gordos-radius: 18px;
	--gordos-radius-lg: 28px;
	--gordos-shadow: 0 6px 24px rgba(92, 46, 17, 0.1);
	--gordos-shadow-lift: 0 12px 36px rgba(92, 46, 17, 0.16);

	/* Keeps the switch clear of the iOS home indicator and notch. */
	--gordos-safe-top: env(safe-area-inset-top, 0px);
	--gordos-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---- the language switch ------------------------------------------------ */

.gordos-lang {
	display: inline-flex;
	align-items: stretch;
	gap: 2px;
	padding: 3px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--gordos-line);
	border-radius: 999px;
	box-shadow: var(--gordos-shadow);
	font-family: inherit;
	line-height: 1;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.gordos-lang a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* 44px of thumb. Anything smaller is a toggle you have to aim at. */
	min-width: 46px;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--gordos-brown);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.gordos-lang a:hover,
.gordos-lang a:focus-visible {
	background: var(--gordos-cream-deep);
	color: var(--gordos-brown);
}

.gordos-lang a[aria-current="true"] {
	background: var(--gordos-red);
	color: #fff;
}

/* The long name is for wide screens; the phone gets ES / EN. */
.gordos-lang__full {
	display: none;
}

.gordos-lang--floating {
	position: fixed;
	top: calc(12px + var(--gordos-safe-top));
	right: 12px;
	/* Above sticky headers, below modals. */
	z-index: 9990;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

/*
 * Tucked away while the reader is scrolling down the page, because a fixed
 * pill otherwise sits on top of whatever heading happens to be under it.
 * It slides out rather than fading alone, so it does not linger as a ghost
 * over the text. JS adds this class; with JS off the switch simply stays.
 */
.gordos-lang--floating.is-tucked {
	transform: translateX(calc(100% + 16px));
	opacity: 0;
	/* Not keyboard-reachable while hidden, or tabbing lands on nothing. */
	pointer-events: none;
}

/* The admin bar is fixed too, and on a phone it is 46px tall. */
.admin-bar .gordos-lang--floating {
	top: calc(58px + var(--gordos-safe-top));
}

.gordos-lang--inline {
	box-shadow: none;
	background: var(--gordos-cream-deep);
}

@media (min-width: 900px) {
	.gordos-lang__full {
		display: inline;
	}

	.gordos-lang a span[aria-hidden="true"] {
		display: none;
	}

	.admin-bar .gordos-lang--floating {
		top: calc(44px + var(--gordos-safe-top));
	}
}

@media (prefers-reduced-motion: reduce) {
	.gordos-lang a {
		transition: none;
	}
}

/* ---- page furniture the client can use in the editor -------------------- */

.gordos-hero {
	position: relative;
	display: grid;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	padding: clamp(1.5rem, 5vw, 4rem) 0;

	/*
	 * Fill whatever column the theme hands the shortcode, up to a sensible
	 * reading width.
	 *
	 * Deliberately NOT a viewport breakout (margin-left:50% + translateX):
	 * that centres on the PARENT, so on any theme whose content column is not
	 * itself centred the hero slides off the edge and the headline is cut in
	 * half. To make the hero full-bleed, wrap the shortcode in a Group block
	 * and set that block to Wide or Full width — the theme then does it
	 * properly, and this rule still applies inside.
	 */
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
}

@media (min-width: 860px) {
	.gordos-hero {
		grid-template-columns: 1.05fr 1fr;
	}
}

.gordos-hero__eyebrow {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.85rem;
	background: var(--gordos-amber);
	border-radius: 999px;
	color: var(--gordos-brown);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gordos-hero__title {
	margin: 0 0 1rem;
	color: var(--gordos-ink);
	font-size: clamp(2.2rem, 7vw, 4rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.gordos-hero__lede {
	margin: 0 0 1.75rem;
	max-width: 46ch;
	color: var(--gordos-muted);
	font-size: clamp(1rem, 2.4vw, 1.2rem);
	line-height: 1.55;
}

.gordos-hero__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--gordos-radius-lg);
	box-shadow: var(--gordos-shadow-lift);
	aspect-ratio: 4 / 5;
}

.gordos-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gordos-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0 1.6rem;
	background: var(--gordos-red);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease, background-color 0.15s ease;
}

.gordos-btn:hover,
.gordos-btn:focus-visible {
	background: var(--gordos-red-dark);
	color: #fff;
	transform: translateY(-1px);
}

.gordos-btn--ghost {
	background: transparent;
	border: 2px solid var(--gordos-line);
	color: var(--gordos-brown);
}

.gordos-btn--ghost:hover,
.gordos-btn--ghost:focus-visible {
	background: var(--gordos-cream-deep);
	color: var(--gordos-brown);
}

@media (prefers-reduced-motion: reduce) {
	.gordos-btn {
		transition: none;
	}

	.gordos-btn:hover,
	.gordos-btn:focus-visible {
		transform: none;
	}
}

/* A row of facts — hours, delivery area, how it works. */
.gordos-facts {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	margin: clamp(2rem, 6vw, 4rem) 0;
}

.gordos-fact {
	padding: 1.4rem;
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: var(--gordos-radius);
	box-shadow: var(--gordos-shadow);
}

.gordos-fact h3 {
	margin: 0 0 0.4rem;
	color: var(--gordos-ink);
	font-size: 1.05rem;
	font-weight: 800;
}

.gordos-fact p {
	margin: 0;
	color: var(--gordos-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* ---- shared section furniture ------------------------------------------- */

.gordos-sec__title {
	margin: 0 0 1.4rem;
	color: var(--gordos-ink);
	font-size: clamp(1.6rem, 4.5vw, 2.4rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.gordos-steps,
.gordos-info,
.gordos-gallery,
.gordos-cta {
	margin: clamp(2.5rem, 8vw, 5rem) auto;
	width: 100%;
	max-width: 1180px;
}

/* ---- how it works -------------------------------------------------------- */

.gordos-steps__list {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
	grid-template-columns: 1fr;
}

@media (min-width: 760px) {
	.gordos-steps__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.gordos-step {
	position: relative;
	padding: 1.6rem 1.4rem 1.4rem;
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: var(--gordos-radius-lg);
	box-shadow: var(--gordos-shadow);
	overflow: hidden;
}

/* A warm wash at the top of each card, so three white boxes in a row read as
   a sequence rather than a table. */
.gordos-step::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--gordos-amber), var(--gordos-red));
}

.gordos-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 0.9rem;
	background: var(--gordos-cream-deep);
	border-radius: 50%;
	color: var(--gordos-red);
	font-size: 1.05rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.gordos-step__title {
	margin: 0 0 0.4rem;
	color: var(--gordos-ink);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
}

.gordos-step__body {
	margin: 0;
	color: var(--gordos-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

/* ---- hours and delivery -------------------------------------------------- */

.gordos-info__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 760px) {
	.gordos-info__grid {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}

.gordos-card {
	padding: 1.5rem 1.4rem;
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: var(--gordos-radius-lg);
	box-shadow: var(--gordos-shadow);
}

.gordos-card--zones {
	background: linear-gradient(160deg, var(--gordos-brown), #3f1d09);
	border-color: transparent;
	color: #fff;
}

.gordos-card__title {
	margin: 0 0 0.6rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--gordos-ink);
}

.gordos-card--zones .gordos-card__title {
	color: var(--gordos-amber);
}

.gordos-card__lead {
	margin: 0 0 0.4rem;
	color: var(--gordos-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.gordos-card__note {
	margin: 0.5rem 0 0;
	color: var(--gordos-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.gordos-card--zones .gordos-card__note {
	color: rgba(255, 255, 255, 0.72);
}

.gordos-zones {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gordos-zones li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.gordos-zones li:last-child {
	border-bottom: 0;
}

.gordos-zones__name {
	font-weight: 700;
}

.gordos-zones__meta {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.88rem;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

/* ---- photo strip --------------------------------------------------------- */

.gordos-gallery__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(216px, 1fr);
	gap: 0.9rem;
	/* Bleed to the screen edge so the strip reads as "there is more here". */
	margin-inline: calc(50% - 50vw);
	padding-inline: max(1rem, calc(50vw - 590px));
	padding-block: 0.25rem 0.75rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gordos-gallery__rail::-webkit-scrollbar {
	display: none;
}

.gordos-gallery__item {
	position: relative;
	margin: 0;
	border-radius: var(--gordos-radius-lg);
	overflow: hidden;
	box-shadow: var(--gordos-shadow-lift);
	scroll-snap-align: start;
	aspect-ratio: 4 / 5;
}

.gordos-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gordos-gallery__item figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 2.5rem 1rem 0.9rem;
	/* A gradient, not a solid bar: the photo keeps going under the name. */
	background: linear-gradient(transparent, rgba(30, 14, 6, 0.86));
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
}

/* ---- closing call to action ---------------------------------------------- */

.gordos-cta {
	padding: clamp(2rem, 6vw, 3.5rem) 1.5rem;
	background: linear-gradient(140deg, var(--gordos-red), #b8330e);
	border-radius: var(--gordos-radius-lg);
	box-shadow: var(--gordos-shadow-lift);
	text-align: center;
}

.gordos-cta__inner {
	max-width: 46ch;
	margin: 0 auto;
}

.gordos-cta__title {
	margin: 0 0 0.5rem;
	color: #fff;
	font-size: clamp(1.6rem, 5vw, 2.4rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.gordos-cta__body {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.05rem;
	line-height: 1.5;
}

.gordos-btn--onDark {
	background: #fff;
	color: var(--gordos-red);
}

.gordos-btn--onDark:hover,
.gordos-btn--onDark:focus-visible {
	background: var(--gordos-cream-deep);
	color: var(--gordos-red-dark);
}

/*
 * The front page's own title.
 *
 * The hero already carries the H1 ("Sándwiches es lo nuestro"). The template
 * prints the page's admin title above it too — "Inicio" — which is a second,
 * weaker heading that tells a visitor nothing and pushes the hero below the
 * fold on a phone. Hidden only on the front page; every other page keeps its
 * title, where it is doing real work.
 */
body.home .wp-block-post-title {
	display: none;
}

/*
 * The logo is a stacked lockup — mascot over the wordmark — so it needs real
 * height to stay legible. Sized generously on desktop and pulled back on a
 * phone, where the header has a hamburger and a language switch to fit too.
 */
.wp-block-site-logo img {
	max-height: 96px;
	width: auto;
}

@media (max-width: 781px) {
	.wp-block-site-logo img {
		max-height: 60px;
	}
}

/* ---- shopfront strip above the menu -------------------------------------- */

.gordos-shop {
	margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: var(--gordos-radius-lg);
	box-shadow: var(--gordos-shadow);
	overflow: hidden;
}

.gordos-shop__cover {
	position: relative;
	aspect-ratio: 16 / 7;
	background: linear-gradient(135deg, var(--gordos-amber), var(--gordos-red));
}

.gordos-shop__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gordos-shop__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.2rem 1.2rem;
}

.gordos-shop__mark {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	/* Lifted up over the cover, the way every delivery app does it. */
	margin-top: -52px;
	padding: 8px;
	background: #fff;
	border: 3px solid #fff;
	border-radius: 20px;
	box-shadow: var(--gordos-shadow-lift);
}

.gordos-shop__mark img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.gordos-shop__name {
	margin: 0 0 0.3rem;
	color: var(--gordos-ink);
	font-size: clamp(1.25rem, 4vw, 1.7rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.gordos-shop__facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.85rem;
	margin: 0;
	color: var(--gordos-muted);
	font-size: 0.88rem;
}

.gordos-shop__state {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
}

.gordos-shop__state::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.gordos-shop__state[data-open="yes"] {
	background: rgba(47, 125, 79, 0.12);
	color: var(--gordos-green);
}

.gordos-shop__state[data-open="no"] {
	background: rgba(92, 46, 17, 0.1);
	color: var(--gordos-brown);
}

.gordos-shop__rating {
	color: var(--gordos-ink);
	font-weight: 700;
}

@media (max-width: 600px) {
	.gordos-shop__mark {
		width: 66px;
		height: 66px;
		margin-top: -40px;
	}
}

/* ---- pop-up page --------------------------------------------------------- */

.gordos-popup {
	max-width: 760px;
	margin: clamp(1.5rem, 5vw, 3rem) auto;
}

.gordos-popup__title {
	margin: 0 0 1rem;
	color: var(--gordos-ink);
	font-size: clamp(1.9rem, 6vw, 3rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.gordos-popup__lede {
	margin: 0 0 1.1rem;
	color: var(--gordos-muted);
	font-size: clamp(1rem, 2.4vw, 1.15rem);
	line-height: 1.6;
}

.gordos-popup__lede strong {
	color: var(--gordos-ink);
}

.gordos-popup__perks {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
}

.gordos-popup__perks li {
	position: relative;
	padding-left: 2rem;
	color: var(--gordos-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.gordos-popup__perks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 14px;
	height: 8px;
	border-left: 3px solid var(--gordos-red);
	border-bottom: 3px solid var(--gordos-red);
	border-radius: 1px;
	transform: rotate(-45deg);
}

/* ---- forms: signup and review ------------------------------------------- */

.gordos-signup,
.gordos-review-form {
	max-width: 560px;
	margin: clamp(1.5rem, 5vw, 3rem) auto;
	padding: clamp(1.4rem, 4vw, 2rem);
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: var(--gordos-radius-lg);
	box-shadow: var(--gordos-shadow);
}

.gordos-signup__title {
	margin: 0 0 0.4rem;
	color: var(--gordos-ink);
	font-size: clamp(1.3rem, 4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.15;
}

.gordos-signup__note {
	margin: 0 0 1.25rem;
	color: var(--gordos-muted);
	font-size: 0.95rem;
}

.gordos-signup__form {
	display: grid;
	gap: 0.9rem;
}

.gordos-signup__form > label {
	display: block;
	color: var(--gordos-brown);
	font-size: 0.86rem;
	font-weight: 700;
}

.gordos-signup__form input[type="text"],
.gordos-signup__form input[type="tel"],
.gordos-signup__form input[type="email"],
.gordos-signup__form select,
.gordos-signup__form textarea {
	display: block;
	width: 100%;
	margin-top: 0.3rem;
	/* 16px keeps iOS from zooming the page on focus. */
	min-height: 52px;
	padding: 0.7rem 0.9rem;
	background: #fff;
	border: 1.5px solid var(--gordos-line);
	border-radius: 14px;
	color: var(--gordos-ink);
	font-size: 16px;
	font-family: inherit;
}

.gordos-signup__form textarea {
	min-height: 110px;
	resize: vertical;
}

.gordos-signup__form input:focus-visible,
.gordos-signup__form select:focus-visible,
.gordos-signup__form textarea:focus-visible {
	border-color: var(--gordos-red);
	outline: 2px solid rgba(232, 73, 29, 0.25);
	outline-offset: 1px;
}

.gordos-check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: var(--gordos-ink);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.45;
	cursor: pointer;
}

.gordos-check input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	accent-color: var(--gordos-red);
}

/*
 * The honeypot. Off-screen rather than display:none — some bots skip fields
 * that are explicitly hidden, and this one only works if they fill it in.
 */
.gordos-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gordos-form__msg {
	margin: 0;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	font-size: 0.92rem;
	font-weight: 600;
}

.gordos-form__msg[data-state="ok"] {
	background: rgba(47, 125, 79, 0.12);
	color: var(--gordos-green);
}

.gordos-form__msg[data-state="bad"] {
	background: rgba(232, 73, 29, 0.1);
	color: var(--gordos-red-dark);
}

/* ---- reviews ------------------------------------------------------------- */

.gordos-reviews {
	max-width: 1180px;
	margin: clamp(1.5rem, 5vw, 3rem) auto;
}

.gordos-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding: 1.1rem 1.3rem;
	background: var(--gordos-cream-deep);
	border-radius: var(--gordos-radius);
	margin-bottom: 1.5rem;
}

.gordos-rating__score {
	color: var(--gordos-ink);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.gordos-rating__stars {
	color: var(--gordos-amber);
	font-size: 1.2rem;
	letter-spacing: 0.06em;
}

.gordos-rating__meta {
	color: var(--gordos-muted);
	font-size: 0.9rem;
}

.gordos-rating__meta a {
	color: var(--gordos-red);
}

.gordos-reviews__carousel {
	position: relative;
}

/*
 * A real scrolling rail with scroll-snap, not a transform slider: a swipe
 * works natively on a phone, the text stays selectable, and with JS off this
 * is simply a row you can scroll.
 */
.gordos-reviews__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(268px, 1fr);
	gap: 1rem;
	/* Bleed to the screen edge so a half-visible next card invites the swipe. */
	margin-inline: calc(50% - 50vw);
	padding-inline: max(1rem, calc(50vw - 590px));
	padding-block: 0.25rem 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gordos-reviews__grid::-webkit-scrollbar {
	display: none;
}

.gordos-reviews__grid > * {
	scroll-snap-align: center;
}

@media (min-width: 900px) {
	.gordos-reviews__grid {
		grid-auto-columns: minmax(320px, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gordos-reviews__grid {
		scroll-behavior: auto;
	}
}

/* ---- carousel controls --------------------------------------------------- */

.gordos-reviews__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: none;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: 50%;
	box-shadow: var(--gordos-shadow-lift);
	color: var(--gordos-brown);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

/* Arrows only once the script is running — otherwise they do nothing. */
.gordos-reviews__carousel.is-live .gordos-reviews__arrow {
	display: block;
}

.gordos-reviews__arrow[data-dir="prev"] { left: -8px; }
.gordos-reviews__arrow[data-dir="next"] { right: -8px; }

.gordos-reviews__arrow:hover,
.gordos-reviews__arrow:focus-visible {
	border-color: var(--gordos-red);
	color: var(--gordos-red);
}

/* On a phone the swipe is the control; arrows would just cover a card. */
@media (max-width: 780px) {
	.gordos-reviews__carousel.is-live .gordos-reviews__arrow {
		display: none;
	}
}

.gordos-reviews__dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.9rem;
}

.gordos-reviews__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	background: var(--gordos-line);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

/* The dot is small but its tap area is not. */
.gordos-reviews__dot::before {
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	margin: -10px 0 0 -10px;
}

.gordos-reviews__dot[aria-current="true"] {
	background: var(--gordos-red);
	transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
	.gordos-reviews__dot {
		transition: none;
	}
}

.gordos-review {
	position: relative;
}

.gordos-review {
	margin: 0;
	padding: 1.3rem;
	background: #fff;
	border: 1px solid var(--gordos-line);
	border-radius: var(--gordos-radius);
	box-shadow: var(--gordos-shadow);
}

.gordos-review__stars {
	margin-bottom: 0.5rem;
	color: var(--gordos-amber);
	font-size: 1rem;
	letter-spacing: 0.08em;
}

.gordos-review blockquote {
	margin: 0 0 0.9rem;
	padding: 0;
	border: 0;
	color: var(--gordos-ink);
	font-size: 1rem;
	line-height: 1.55;
}

.gordos-review figcaption {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: baseline;
	color: var(--gordos-muted);
	font-size: 0.88rem;
}

.gordos-review figcaption strong {
	color: var(--gordos-ink);
	font-weight: 800;
}

/* ---- order tracker result ------------------------------------------------ */

.gordos-track__result {
	margin-top: 1.25rem;
	padding: 1.1rem 1.2rem;
	background: var(--gordos-cream-deep);
	border-radius: var(--gordos-radius);
}

.gordos-track__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--gordos-line);
	font-size: 0.95rem;
}

.gordos-track__row:last-of-type {
	border-bottom: 0;
}

.gordos-track__row span {
	color: var(--gordos-muted);
}

.gordos-track__row strong {
	color: var(--gordos-ink);
	text-align: right;
}

.gordos-track__items {
	margin: 0.8rem 0 0;
	padding-left: 1.1rem;
	color: var(--gordos-muted);
	font-size: 0.92rem;
	line-height: 1.6;
}

.gordos-review__src {
	display: inline-flex;
	align-items: center;
	padding: 0.12rem 0.5rem;
	background: var(--gordos-cream-deep);
	border-radius: 999px;
	color: var(--gordos-brown);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.gordos-review__src--own {
	background: rgba(47, 125, 79, 0.12);
	color: var(--gordos-green);
}

/*
 * A stale tracking link.
 *
 * Sits above the lookup form on the status page, so the tone is "here is the
 * other way in", not "error" — hence the warm tint rather than a red bar.
 */
.gordos__notice {
	max-width: 44rem;
	margin: 0 auto 1.25rem;
	padding: 0.85rem 1.1rem;
	border-radius: 0.75rem;
	background: #fdf1e6;
	color: #7a3f12;
	font-size: 0.95rem;
	line-height: 1.5;
}
