/* Brand: K-zona orange */
:root {
	--brand-orange: rgb(219, 81, 35);
	--brand-orange-hover: rgb(195, 70, 28);
}

/* Base: rules applied to all elements */
html {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	scroll-behavior: smooth;
	font-family: 'Lora', serif;
}

body {
	background-color: rgb(244, 243, 243);
	color: black;
	box-sizing: border-box;
	margin: 1px;
}

html,
body {
	overflow-x: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
}

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


img[alt] {
	font-family: Andika, sans-serif;
	font-style: italic;
}

a:visited {
	color: rgb(72, 3, 3);
}

a:hover {
	color: rgb(255, 255, 255);
}

input[type='text'],
input[type='tel'] {
	padding: 10px;
	width: 100%;
	transition: font-size 0.2s ease;
	z-index: 1;
}

.nav:last-of-type ul li:last-child {
	border-bottom: none;
}

.nav ul li a:hover {
	background-color: rgb(76, 37, 18);
	transform: scale(1.1);
}

/* --- Base styles (mobile) --- */
/* Navigation bar */
.brand-name {
	margin: 0;
	font-size: clamp(0.65rem, 3.5vw, 0.8rem);
	color: white;
	text-align: center;
	flex: 1;
	min-width: 0;
	max-width: 58%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2000;
	background: rgb(219, 81, 35);
}

.container-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	min-height: 48px;
	background: rgb(219, 81, 35);
	color: white;
	gap: 6px;
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.nav-desktop {
	display: none;
}

.logo {
	max-height: 36px;
	max-width: 36px;
	width: 36px;
	height: 36px;
	object-fit: contain;
	z-index: 1100;
	flex-shrink: 0;
}

.nav-mobile {
	position: fixed;
	top: 0;
	right: 0;
	width: 72vw;
	max-width: 280px;
	height: 100vh;
	background: #444;
	padding: 56px 16px 24px;
	border-radius: 0 0 5px 5px;
	z-index: 1000;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.nav-mobile.show {
	transform: translateX(0);
}

.nav-mobile ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-mobile li {
	margin: 6px 0;
}

.nav-mobile a {
	color: white;
	text-decoration: none;
	font-size: 0.9rem;
	display: block;
	padding: 10px 8px;
	line-height: 1.3;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

/* Navigation buttons (hamburger and close) */
.hamburger {
	display: block;
	position: relative;
	right: 20px;
	font-size: 24px;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 30px;
	font-size: 20px;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	z-index: 1100;
}

/* Intro section (about us) */
.intro {
	margin: 40px 40px;
}

.intro h3 {
	text-align: start;
	padding-top: 30px;
	font-size: 0.8rem;
}

.intro p {
	font-size: 0.6rem;
	padding: 10px;
}

.image-presentation {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
	padding-top: 20px;
}

/* Section: Most ordered — gradient overlay blends with content (vignette + soft center) */
#most-ordered {
	background-image:
		radial-gradient(
			ellipse 85% 75% at 50% 45%,
			rgba(0, 0, 0, 0.25) 0%,
			rgba(0, 0, 0, 0.45) 50%,
			rgba(0, 0, 0, 0.7) 100%
		),
		linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.35) 0%,
			rgba(0, 0, 0, 0.2) 25%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0.5) 100%
		),
		url('https://media.istockphoto.com/id/1191905492/es/foto/chef-preparando-la-comida-de-llama-usando-sart%C3%A9n-en-una-cocina-comercial.jpg?s=612x612&w=0&k=20&c=qu9AvPXzRSrjznUe0lWuEDks3yDdX1ZLz9lwYyPr-64=');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: rgb(255, 255, 255);
	display: flex;
	align-items: center;
	flex-direction: column;
	margin: auto;
}

#most-ordered h2 {
	text-align: center;
	font-size: 0.8rem;
	padding: 5px;
	margin: 0;
	width: 100%;
	padding: 10px 0;
	background: linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.35) 0%,
			rgba(219, 81, 35, 0.92) 12%,
			rgb(219, 81, 35) 50%,
			rgba(219, 81, 35, 0.92) 88%,
			rgba(0, 0, 0, 0.35) 100%
		);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

#most-ordered p {
	text-align: start;
	font-size: 0.7rem;
	padding: 5px;
	margin: 5px;
}

.pescado img,
.cecina img,
.encebollado img {
	max-width: 30%;
	transition: transform 0.3s ease;
	margin: 5px 0 5px 5px;
}

.pescado,
.cecina,
.encebollado {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	gap: 1rem;
}

.most-ordered-images figcaption {
	font-size: 0.7rem;
	margin: 1px;
	text-align: end;
}

.icon-delicious {
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	margin-right: 2px;
}

/* Daily menu: section background blends with content (gradient from brand to content) */
#diary-menu {
	background: linear-gradient(
		180deg,
		rgba(219, 81, 35, 0.06) 0%,
		rgba(255, 251, 247, 0.4) 18%,
		rgb(248, 246, 245) 45%,
		rgb(244, 243, 243) 100%
	);
}

#diary-menu h2 {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: center;
	color: #fff;
	padding: 0.85rem 1.25rem;
	margin: 0 0 1.25rem;
	box-sizing: border-box;
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	right: 50%;
	/* Same style as #most-ordered h2: brand orange in center, fades to section at sides */
	background: linear-gradient(
		90deg,
		rgba(248, 246, 245, 0.4) 0%,
		rgba(219, 81, 35, 0.92) 12%,
		rgb(219, 81, 35) 50%,
		rgba(219, 81, 35, 0.92) 88%,
		rgba(248, 246, 245, 0.4) 100%
	);
	box-shadow: 0 2px 10px rgba(219, 81, 35, 0.18);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Same slot for menu and cart: both in same cell, centered */
.diary-menu-slot {
	display: grid;
	justify-items: center;
	width: 100%;
}

.diary-menu-slot > #diary-menu-content,
.diary-menu-slot > #diary-cart-inline {
	grid-area: 1 / 1;
	min-width: 0;
	width: 100%;
	max-width: 36rem;
}

.styleMenuDiario {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-flow: column wrap;
	max-width: 36rem;
	margin: 0 auto;
	padding: 1.25rem 1rem;
	background: rgba(255, 251, 247, 0.94);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(219, 81, 35, 0.15);
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(219, 81, 35, 0.08);
	text-align: left;
}

.styleMenuDiario h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--brand-orange);
	border-bottom: 2px solid var(--brand-orange);
	padding-bottom: 0.4rem;
	margin: 0 0 0.75rem;
	text-align: center;
}

.styleMenuDiario > p:first-of-type {
	font-size: 0.9rem;
	color: #444;
	font-weight: 500;
	margin: 0 0 1.25rem;
	padding: 0;
	text-align: center;
}

.styleMenuDiario h4 {
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
	padding-top: 0.85rem;
	margin: 0 0 0.4rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding-bottom: 0.35rem;
	text-align: left;
}

.styleMenuDiario h4:first-of-type {
	padding-top: 0;
}

.styleMenuDiario p {
	font-size: 0.875rem;
	line-height: 1.5;
	padding: 0.2rem 0 0.4rem;
	margin: 0;
	color: #333;
	text-align: left;
}

/* Daily menu: PDF (weekend) and loading/error states */
.diary-menu-pdf-wrap {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 1rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.diary-menu-pdf {
	width: 100%;
	height: 60vh;
	min-height: 400px;
	border: 1px solid rgba(219, 81, 35, 0.25);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.diary-menu-pdf-link {
	font-size: 0.9rem;
	color: rgb(219, 81, 35);
	text-decoration: underline;
	font-weight: 500;
}

.diary-menu-loading,
.diary-menu-error {
	font-size: 0.95rem;
	padding: 1.25rem 1rem;
	text-align: center;
	background-color: #fffbf7;
	border: 1px solid rgba(219, 81, 35, 0.2);
	border-radius: 8px;
	max-width: 600px;
	margin: 0 auto;
	color: #555;
}

.diary-menu-error {
	color: #b52a2a;
	background-color: #fff8f8;
}

/* Daily menu: selectable options and button */
.diary-menu-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin-bottom: 0.5rem;
}

.diary-option {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	cursor: pointer;
	color: #333;
}

.diary-option input[type="radio"] {
	accent-color: rgb(219, 81, 35);
	cursor: pointer;
}

.diary-cart-actions {
	margin-top: 1rem;
	text-align: center;
}

/* "Build daily menu" button: brand color (orange) */
.diary-build-cart-btn {
	background-color: var(--brand-orange);
	color: white;
	border: none;
	padding: 0.5rem 1.25rem;
	border-radius: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	font-weight: 500;
}

.diary-build-cart-btn:hover {
	background-color: var(--brand-orange-hover);
}

/* Daily menu cart: same styles as .styleMenuDiario, tighter spacing */
.diary-cart-inline {
	position: relative;
	background-color: #fffbf7;
	padding: 1.25rem 1rem;
	border-radius: 8px;
	border: 1px solid rgba(219, 81, 35, 0.2);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	max-width: 36rem;
	margin: 0;
}

.diary-cart-inline .close-cart-btn {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
	border: none;
	background: rgba(219, 81, 35, 0.12);
	border-radius: 50%;
	cursor: pointer;
	color: rgb(219, 81, 35);
}

.diary-cart-inline .close-cart-btn:hover {
	background: rgba(219, 81, 35, 0.25);
	color: rgb(180, 60, 25);
}

.diary-cart-inline .diary-cart-title {
	padding-right: 2.5rem;
}

/* Cart title and blocks: hierarchy h3 > h4 > text, reduced spacing */
.diary-cart-inline .diary-cart-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--brand-orange);
	border-bottom: 2px solid var(--brand-orange);
	padding-bottom: 0.5rem;
	margin: 0 0 0.75rem;
	text-align: center;
}

.diary-cart-inline .diary-cart-block-heading {
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
	padding-top: 0.85rem;
	margin: 0 0 0.4rem;
	padding-bottom: 0.35rem;
	text-align: left;
}

.diary-cart-inline .diary-cart-block:first-of-type .diary-cart-block-heading {
	padding-top: 0;
}

.diary-cart-inline .diary-cart-block-desc,
.diary-cart-inline .diary-cart-sub {
	font-size: 0.875rem;
	color: #444;
	margin: 0 0 0.35rem;
	padding: 0.2rem 0 0.4rem;
	text-align: left;
}

.diary-cart-inline .diary-cart-hr {
	border: none;
	border-top: 1px solid rgba(219, 81, 35, 0.2);
	margin: 1rem 0;
}

.diary-cart-title {
	margin: 0 0 1rem;
	text-align: center;
	font-size: 1.25rem;
}

.diary-cart-hr {
	border: none;
	border-top: 1px solid #eee;
	margin: 1rem 0;
}

.diary-cart-block {
	margin-bottom: 1rem;
}

.diary-cart-block-heading {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: #333;
}

.diary-cart-block-desc {
	font-size: 0.85rem;
	color: #666;
	margin: 0 0 0.5rem;
}

.diary-cart-sub {
	font-size: 0.9rem;
	margin: 0.4rem 0 0.2rem;
	color: #333;
}

.diary-cart-complete-select .diary-menu-options {
	margin-bottom: 0.5rem;
}

.diary-add-complete-btn {
	display: block;
	margin-top: 0.75rem;
	padding: 0.5rem 0.75rem;
	background: rgb(219, 81, 35);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 0.9rem;
	cursor: pointer;
}

.diary-add-complete-btn:hover {
	background: rgb(195, 70, 28);
}

/* Added lunch items list: hidden in UI, only shown in Summary */
.diary-cart-complete-list {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.diary-complete-item {
	font-size: 0.85rem;
}

.diary-complete-item .diary-qty-input {
	width: 3.5rem;
	padding: 0.25rem 0.4rem;
}

.diary-cart-single-list .diary-single-row {
	font-size: 0.85rem;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.diary-single-row .diary-single-label {
	font-weight: 500;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.diary-single-row .diary-single-label input[type="checkbox"] {
	accent-color: rgb(219, 81, 35);
}

/* Quantity: wrap with − button, input, + button (elegant pill-style controls) */
.diary-qty-wrap {
	display: inline-flex;
	flex-direction: row;
	align-items: stretch;
	flex-shrink: 0;
	min-height: 2rem;
	border: 1px solid rgba(219, 81, 35, 0.28);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 6px rgba(219, 81, 35, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.diary-qty-wrap:hover {
	border-color: rgba(219, 81, 35, 0.38);
	box-shadow: 0 3px 10px rgba(219, 81, 35, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.diary-qty-btn {
	width: 1.75rem;
	min-width: 1.75rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(219, 81, 35, 0.06) 100%);
	color: var(--brand-orange);
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: -0.02em;
	user-select: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.diary-qty-wrap .diary-qty-btn:first-child {
	border-radius: 9px 0 0 9px;
	border-right: 1px solid rgba(219, 81, 35, 0.15);
}

.diary-qty-wrap .diary-qty-btn:last-child {
	border-radius: 0 9px 9px 0;
	border-left: 1px solid rgba(219, 81, 35, 0.15);
}

.diary-qty-btn:hover {
	background: linear-gradient(180deg, rgba(219, 81, 35, 0.12) 0%, rgba(219, 81, 35, 0.06) 100%);
	color: var(--brand-orange-hover);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.diary-qty-btn:active {
	background: rgba(219, 81, 35, 0.18);
	transform: scale(0.97);
	box-shadow: inset 0 1px 2px rgba(219, 81, 35, 0.15);
}

.diary-qty-btn:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 2px;
}

.diary-single-row .diary-qty-wrap .diary-qty-input {
	width: 2.1rem;
	min-width: 2.1rem;
	max-width: 2.5rem;
	height: 1.5rem;
	border: none;
	border-left: 1px solid rgba(219, 81, 35, 0.25);
	border-right: 1px solid rgba(219, 81, 35, 0.25);
	border-radius: 0;
	padding: 0.2rem 0.15rem;
	font-size: 0.85rem;
}

.diary-single-row .diary-qty-input {
	width: 2.25rem;
	min-width: 2.25rem;
	max-width: 2.75rem;
	height: 1.5rem;
	flex-shrink: 0;
	padding: 0.2rem 0.25rem;
	box-sizing: border-box;
	font-size: 0.8rem;
}

.diary-qty-input {
	border: 1px solid rgba(219, 81, 35, 0.35);
	border-radius: 4px;
	font-size: 0.85rem;
	text-align: center;
	box-sizing: border-box;
}

.diary-qty-input::-webkit-outer-spin-button,
.diary-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.diary-qty-input {
	-moz-appearance: textfield;
	appearance: textfield;
}

/* Read-only quantity span (e.g. full-menu cart) – same visual as input */
.diary-qty-wrap .diary-qty-value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	max-width: 2.75rem;
	height: 2rem;
	border-left: 1px solid rgba(219, 81, 35, 0.2);
	border-right: 1px solid rgba(219, 81, 35, 0.2);
	padding: 0.25rem 0.3rem;
	font-size: 0.875rem;
	font-weight: 600;
	box-sizing: border-box;
}

/* Summary: box aligned with daily menu section, reduced spacing */
.diary-cart-summary-wrap {
	margin-bottom: 1rem;
}

.diary-cart-summary {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(219, 81, 35, 0.2);
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-top: 0.35rem;
}

.diary-summary-empty {
	font-size: 0.85rem;
	color: #666;
	margin: 0;
}

.diary-summary-line {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}

.diary-summary-line:last-of-type {
	margin-bottom: 0;
}

.diary-summary-qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	padding: 0.15rem 0.35rem;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(219, 81, 35, 0.25);
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 500;
	flex-shrink: 0;
}

.diary-resumen-text {
	flex: 1;
	color: #333;
}

.diary-summary-price {
	flex-shrink: 0;
	color: #333;
}

.diary-cart-summary .diary-cart-total-row {
	margin: 0.5rem 0 0;
	padding-top: 0.5rem;
	border-top: 1px solid #ddd;
	font-size: 1rem;
}

.diary-cart-options {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.diary-cart-options label {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.diary-cart-options input[type="checkbox"] {
	accent-color: rgb(219, 81, 35);
}

.diary-cart-place-order .diary-cart-block-heading {
	margin-bottom: 0.5rem;
}

.diary-cart-label {
	font-size: 0.85rem;
	margin: 0 0 0.25rem;
	color: #333;
}

.diary-customer-input {
	width: 100%;
	padding: 0.5rem 0.6rem;
	box-sizing: border-box;
	border-radius: 6px;
	border: 1px solid rgba(219, 81, 35, 0.25);
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
	background: rgba(255, 255, 255, 0.8);
}

.diary-cart-inline .send-order-btn {
	margin-top: 0.25rem;
	background-color: var(--brand-orange);
	color: white;
}

.diary-cart-inline .send-order-btn:hover {
	background-color: var(--brand-orange-hover);
}

/* K-zona menu card: theme variables */
.table-menu {
	--menu-bg: #faf8f5;
	--menu-border: #e8e2d9;
	--menu-accent: rgb(180, 70, 30);
	--menu-accent-soft: rgba(180, 70, 30, 0.12);
	--menu-text: #2c2419;
	--menu-text-soft: #5c5348;
	--menu-header-bg: rgb(180, 70, 30);
	--menu-header-text: #fff;
	--menu-row-alt: rgba(0, 0, 0, 0.02);
}

/* Section carta: imagen de fondo elegante (comida) + overlay oscuro para legibilidad y armonía */
.table-menu {
	position: relative;
	width: 100%;
	display: block;
	padding: 1.5rem 0.5rem 2rem;
	box-sizing: border-box;
	background-color: #1a1a1a;
	background-image: url("../assets/images/background-carta.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* Overlay oscuro elegante: más opaco en el centro (donde está la carta) para leer bien, más suave en los lados para dejar ver la imagen */
.table-menu::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 55% 80% at 50% 45%,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.5) 45%,
		rgba(0, 0, 0, 0.25) 75%,
		rgba(0, 0, 0, 0.08) 100%
	);
	pointer-events: none;
	z-index: 0;
}

.table-menu .section-lead,
.table-menu .section-lead-menu {
	position: relative;
	z-index: 1;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.table-menu-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 0.5rem;
	box-sizing: border-box;
}

.table-menu .style-card {
	position: relative;
	z-index: 1;
}

.style-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 100%;
	align-items: stretch;
	background: var(--menu-bg);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--menu-border);
	overflow: hidden;
}

/* Menu card title: block above table, full width */
.menu-table-header {
	width: 100%;
	box-sizing: border-box;
	background: var(--menu-header-bg);
	color: var(--menu-header-text);
	text-align: center;
	padding: 0;
}

.menu-table-header h2 {
	display: block;
	margin: 0;
	padding: 1rem 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.menu-table-header p,
.menu-table-header .menu-slogan {
	display: block;
	margin: 0;
	padding: 0 0.75rem 1rem;
	font-size: 0.75rem;
	font-style: italic;
	opacity: 0.95;
}

.table-outer-edge {
	width: 100%;
	table-layout: auto;
	border-collapse: collapse;
	border: none;
	border-spacing: 0;
	background: var(--menu-bg);
}

/* Column headers (Dishes, Description, Price) */
.table-outer-edge .columns-card th {
	text-align: left;
	padding: 0.6rem 0.75rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--menu-text-soft);
	background: var(--menu-border);
	border-bottom: 2px solid var(--menu-border);
}

.table-outer-edge .columns-card th.price-style {
	text-align: center;
	min-width: 5rem;
}

/* Dish rows */
.table-outer-edge tbody.category tr {
	background: var(--menu-bg);
}

.table-outer-edge tbody.category tr:nth-child(even) {
	background: var(--menu-row-alt);
}

.table-menu th[scope="row"],
.table-menu td {
	padding: 0.5rem 0.75rem;
	text-align: left;
	font-size: 0.8rem;
	word-wrap: break-word;
	border-bottom: 1px solid var(--menu-border);
	vertical-align: top;
}

/* Dish name: stronger visual weight */
.table-menu tbody th[scope="row"] {
	color: var(--menu-text);
	font-weight: 600;
	font-size: 0.85rem;
}

/* Description: softer tone */
.table-menu tbody td:first-of-type {
	color: var(--menu-text-soft);
	font-size: 0.78rem;
	line-height: 1.35;
}

/* Categories (accordion) */
.table-menu .variety.accordion {
	text-align: left;
	background: var(--menu-accent-soft);
	color: var(--menu-accent);
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.65rem 0.75rem;
	padding-right: 2.5rem;
	border-bottom: 1px solid var(--menu-border);
	transition: background 0.2s ease;
}

/* Extra separation between categories (from 2nd onward) */
.table-menu tbody.category + tbody.category .variety.accordion {
	border-top: 1px solid var(--menu-border);
	padding-top: 0.9rem;
	box-shadow: 0 -4px 12px rgba(44, 36, 25, 0.06);
}

.table-menu .variety.accordion:hover {
	background: rgba(180, 70, 30, 0.18);
}

.accordion {
	cursor: pointer;
	position: relative;
}

/* Elegant arrow: CSS triangle, larger and refined */
.accordion::after {
	content: "";
	position: absolute;
	right: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 0.4rem solid transparent;
	border-right: 0.4rem solid transparent;
	border-top: 0.5rem solid currentColor;
	opacity: 0.9;
	transition: transform 0.3s ease;
}

.accordion.expanded::after {
	transform: translateY(-50%) rotate(-180deg);
}

/* Price column and button */
.price-style {
	min-width: 5.5rem;
	text-align: center;
}

.td-price {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
}

.td-price p {
	margin: 0;
	font-weight: 600;
	color: var(--menu-text);
	font-size: 0.85rem;
}

.td-price .btn-add-item {
	width: 1.6rem;
	height: 1.6rem;
	min-width: 1.6rem;
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.15s ease;
}

.td-price .btn-add-item:hover {
	background: var(--menu-accent-soft);
	transform: scale(1.08);
}

.td-price .btn-add-item:active {
	transform: scale(0.98);
}

.td-price .btn-add-item img {
	width: 1.1rem;
	height: 1.1rem;
	display: block;
}

.action-style {
	background-color: var(--menu-accent);
	min-width: none;
	width: 80px;
	text-align: center;
}

.close-cart-btn h3 {
	font-size: 0.8rem;
}

/* Menu card footer (takeaway note) */
.table-outer-edge tfoot td {
	padding: 0.6rem 0.75rem;
	font-size: 0.72rem;
	color: var(--menu-text-soft);
	font-style: italic;
	background: var(--menu-row-alt);
	border-bottom: none;
}

.shopping-modal {
	position: fixed;
	bottom: -100%;
	width: 100%;
	max-width: 767px;
	right: auto;
	background: #f9f9f9;
	border-top: 2px solid rgb(219, 81, 35);
	padding: 5px;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
	overflow-y: auto;
	z-index: 2500;
	display: none;
}

#shopping-modal.active {
	bottom: 0;
	display: block;
}

.order-name,
#shopping-modal input#customer-name {
	display: inline-block;
	vertical-align: middle;
	font-size: 0.7rem;
}

.order-name {
	text-align: center;
	padding-top: 5px;
}

#shopping-modal p {
	font-size: 0.6rem;
	margin: 5px;
}

.cart-totals {
	margin: 0.5rem 0;
}

.cart-disposables-line {
	font-size: 0.65rem;
	color: #555;
	margin: 0 0 2px 0;
}

.cart-disposables-line:empty {
	display: none;
}

.cart-takeaway {
	margin: 0.5rem 0 0.75rem;
	font-size: 0.7rem;
}

.cart-takeaway label {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.cart-takeaway input[type="checkbox"] {
	accent-color: rgb(219, 81, 35);
}

#shopping-modal h3 {
	font-size: 0.8rem;
}

#shopping-modal input#customer-name {
	margin-left: 10px;
	padding: 5px 8px;
	width: 150px;
	box-sizing: border-box;
	border-radius: 5px;
	border: 1px solid #ccc;
}

.name-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 10px 0;
}

.shopping-modal ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.shopping-modal li {
	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.shopping-modal button {
	background: rgb(219, 81, 35);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	padding: 2px 8px;
	font-size: 0.6rem;
}

.shopping-modal button.remove-item {
	background: rgb(219, 81, 35);
	color: white;
	border: none;
	padding: 2px 6px;
	cursor: pointer;
	border-radius: 3px;
}

/* Cart items (list in modal) */
#cart-items li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
	gap: 10px;
	font-size: 0.6rem;
}

#cart-items li .product {
	font-size: 0.6rem;
	font-weight: normal;
}

#cart-items .product {
	flex: 2;
	font-weight: bold;
}

#shopping-modal input::placeholder {
	font-size: 0.6rem;
}

#cart-items .price {
	flex: 1;
	text-align: right;
	font-size: 0.7rem;
}

/* Cart (full menu): qty controls inherit elegant diary style; only overrides if needed */
#cart-items .diary-qty-wrap {
	flex-shrink: 0;
}

#shopping-modal .diary-qty-btn {
	width: 1.75rem;
	min-width: 1.75rem;
	height: 2rem;
	font-size: 1.05rem;
	font-weight: 600;
}

#cart-items .quantity,
#cart-items .diary-qty-value {
	flex: 0;
	font-size: 0.6rem;
}

#close-cart-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #333;
}

/* "Place order" button and customer name */
#customer-name {
	width: 100%;
	padding: 5px;
	margin-bottom: 10px;
	box-sizing: border-box;
	font-size: 0.7rem;
}

.comprar h3 {
	font-size: 0.6rem;
	margin-top: 0;
}

.send-order-btn {
	margin-top: 10px;
	width: 100%;
	padding: 8px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.send-order-btn:hover {
	background-color: #45a049;
}

/* Registration form */
.section-form form {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.section-form form fieldset {
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0.5rem;
	padding: 1rem;
	margin: 0 0 1rem;
	width: 100%;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.04);
}

.section-form form fieldset textarea {
	width: 100%;
	min-height: 5rem;
	padding: 0.5rem 0.6rem;
	border-radius: 0.4rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.92);
	color: #2c2c2c;
	font-family: inherit;
	resize: vertical;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-form form fieldset textarea:focus {
	outline: none;
	border-color: rgb(219, 81, 35);
	box-shadow: 0 0 0 2px rgba(219, 81, 35, 0.25);
}

/* --- Form section: background and image for restaurant feel --- */
.section-form {
	padding: 3rem 1rem 4rem;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	margin: 0;
	width: 100%;
	min-height: 32rem;
	font-size: 0.8rem;
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	/* Background image visible with soft overlay so atmosphere shows through */
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.25) 0%,
			rgba(0, 0, 0, 0.4) 50%,
			rgba(0, 0, 0, 0.35) 100%
		),
		url('../assets/images/background.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
}

/* Glass-style card for readability and restaurant aesthetic */
.section-form-inner {
	width: 100%;
	max-width: 28rem;
	padding: 1.75rem 1.5rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Form intro paragraph (inside .section-form-inner) */
.section-form-inner > p {
	text-align: center;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
	line-height: 1.4;
	font-style: italic;
	opacity: 0.95;
}

input,
textarea,
select {
	box-sizing: border-box;
	margin: 5px 0;
	border: 1px solid #ccc;
}

.section-form .form-item input {
	width: 100%;
	box-sizing: border-box;
	font-size: 0.85rem;
	padding: 0.5rem 0.6rem;
	border-radius: 0.4rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.92);
	color: #2c2c2c;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-form .form-item input::placeholder {
	color: #666;
}

.section-form .form-item input:focus {
	outline: none;
	border-color: rgb(219, 81, 35);
	box-shadow: 0 0 0 2px rgba(219, 81, 35, 0.25);
}

.personal-info-container fieldset {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-around;
	box-sizing: border-box;
	padding: 0 10px;
}

.form-item {
	display: flex;
	flex-direction: column;
	margin-top: 5px;
}

.form-item label {
	margin-bottom: 1px;
	padding: 1px;
	font-size: 0.7rem;
}



.personal-info-container legend {
	font-size: 0.7rem;
	text-align: center;
}

.section-form-inner h3 {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
	text-align: center;
	letter-spacing: 0.02em;
}


/* Form buttons: single row, brand colors (K-zona orange) */
.botones-formulario {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: 1rem 0 0;
	padding: 0;
	width: 100%;
}

.section-form .botones-formulario button {
	flex: 1;
	min-width: 0;
	max-width: 12rem;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.65rem 1.25rem;
	border-radius: 0.5rem;
	border: 2px solid transparent;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
	cursor: pointer;
}

/* Primary: Enviar — solid brand orange */
.section-form .botones-formulario button[type="submit"] {
	color: rgb(255, 255, 255);
	background: var(--brand-orange);
	border-color: var(--brand-orange);
}

.section-form .botones-formulario button[type="submit"]:hover {
	background: var(--brand-orange-hover);
	border-color: var(--brand-orange-hover);
	transform: translateY(-1px);
}

/* Secondary: Limpiar — outline style, same brand family */
.section-form .botones-formulario button[type="reset"] {
	color: rgb(255, 255, 255);
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
}

.section-form .botones-formulario button[type="reset"]:hover {
	background: rgba(219, 81, 35, 0.25);
	border-color: var(--brand-orange);
	color: rgb(255, 255, 255);
	transform: translateY(-1px);
}

/* --- Reviews section (Google-style carousel) --- */
.reviews-section {
	width: 100%;
	padding: 3rem 1rem 3.5rem;
	background: linear-gradient(
		180deg,
		#faf8f5 0%,
		#f5f0e8 50%,
		#faf8f5 100%
	);
	border-top: 1px solid rgba(219, 81, 35, 0.08);
	border-bottom: 1px solid rgba(219, 81, 35, 0.08);
}

.reviews-section-inner {
	width: 100%;
	max-width: 36rem;
	margin: 0 auto;
	padding: 0 0.5rem;
	box-sizing: border-box;
}

.reviews-title {
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	color: var(--brand-orange);
	margin: 0 0 0.25rem;
	letter-spacing: 0.02em;
}

.reviews-subtitle {
	font-size: 0.9rem;
	text-align: center;
	color: #5c5348;
	margin: 0 0 1.75rem;
	font-style: italic;
}

.reviews-carousel {
	position: relative;
	overflow: visible;
}

/* Track: one visible slide at a time; height enough so author is never clipped */
.reviews-track {
	position: relative;
	min-height: 28rem;
	overflow: hidden;
}

.review-card {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 1.5rem 1.25rem;
	padding-bottom: 2rem;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 12px;
	border: 1px solid rgba(219, 81, 35, 0.12);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(219, 81, 35, 0.08);
	opacity: 0;
	transition: opacity 0.45s ease;
	pointer-events: none;
}

.review-card.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.review-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.review-stars {
	color: #e6a800;
	font-size: 1rem;
	letter-spacing: 0.15em;
	line-height: 1;
	margin: 0;
}

.review-author {
	font-size: 0.9rem;
	color: var(--brand-orange);
	font-weight: 600;
	letter-spacing: 0.02em;
	margin: 0;
	text-align: right;
}

.review-text {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #2c2419;
	margin: 0 0 0.75rem;
	font-style: italic;
	border: none;
	padding: 0;
}

/* Optional: review photo (only visible when .review-image-wrap has content) */
.review-image-wrap:empty {
	display: none;
}
.review-image-wrap {
	margin-top: 0.75rem;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
}
.review-image-wrap img {
	width: 100%;
	height: auto;
	max-height: 200px;
	object-fit: cover;
	display: block;
}

/* Dots: below the card with clear gap so they never cover the author */
.reviews-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
	padding: 0.5rem 0.5rem 0.75rem;
	min-height: 2rem;
}

.reviews-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background: rgba(219, 81, 35, 0.25);
	cursor: pointer;
	padding: 0;
	transition: background 0.25s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.reviews-dot:hover {
	background: rgba(219, 81, 35, 0.5);
	transform: scale(1.15);
}

.reviews-dot.active {
	background: var(--brand-orange);
	transform: scale(1.2);
}

.reviews-dot:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 3px;
}

/* --- Footer: variables and container --- */
footer {
	--footer-primary: rgb(219, 81, 35);
	--footer-dark: rgb(190, 65, 28);
	--footer-text: rgba(255, 255, 255, 0.98);
	--footer-muted: rgba(255, 255, 255, 0.85);
	--footer-border: rgba(255, 255, 255, 0.18);
	--footer-hover: rgb(255, 248, 240);
	background: linear-gradient(
		180deg,
		var(--footer-primary) 0%,
		var(--footer-dark) 100%
	);
	color: var(--footer-text);
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--footer-border);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

/* Contact (footer) */
#contact a:link,
#contact a:visited {
	color: var(--footer-text);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

#contact a:hover,
#contact a:active {
	color: var(--footer-hover);
}

.contact .location :active {
	color: var(--footer-hover);
}

#contact {
	padding: 4rem 1rem 2.5rem;
	color: var(--footer-text);
	max-width: 64rem;
	margin: 0 auto;
}

#contact h2 {
	font-size: 0.8rem;
	text-align: center;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 1.25rem;
	opacity: 0.95;
}

.textContact {
	font-size: 0.7rem;
	font-style: italic;
	padding-top: 2rem;
	text-align: center;
	color: var(--footer-muted);
	letter-spacing: 0.02em;
}

.contact-general {
	display: flex;
	flex-flow: column;
	flex-wrap: wrap;
	justify-items: start;
	align-content: center;
	gap: 0.75rem;
}

.contact-general a {
	font-size: 0.6rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.contact-general img {
	margin: 0;
	width: 20px;
	height: 20px;
	filter: brightness(0) invert(1);
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.contact-general a:hover img {
	opacity: 1;
}

.whatsapp,
.email {
	display: flex;
	align-items: center;
}

/* Embedded map: below email and phone */
.footer-map {
	width: 100%;
	max-width: 36rem;
	margin: 1.5rem auto 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	border: 1px solid var(--footer-border);
}

.footer-map iframe {
	display: block;
	width: 100%;
	height: 220px;
	border: 0;
}

.footer-map-link {
	display: block;
	text-align: center;
	font-size: 0.7rem;
	color: var(--footer-muted);
	margin-top: 0.5rem;
	padding-bottom: 0.25rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-map-link:hover {
	color: var(--footer-hover);
}

footer .sammi {
	padding: 1rem 1rem 1.25rem;
	border-top: 1px solid var(--footer-border);
	background: rgba(0, 0, 0, 0.08);
}

.sammi p {
	text-align: center;
	font-size: 0.65rem;
	letter-spacing: 0.04em;
	color: var(--footer-muted);
	margin: 0;
}

.sammi a {
	color: var(--footer-text);
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sammi a:hover {
	color: var(--footer-hover);
}

@media (min-width: 768px) and (hover: hover) {
	.pescado img:hover {
		transform: scale(1.3);
	}

	.cecina img:hover {
		transform: scale(1.3);
	}

	.encebollado img:hover {
		transform: scale(1.3);
	}
}

/* Daily menu + inline cart: same space and styles on mobile */
@media (max-width: 767px) {
	#diary-menu {
		padding: 0.75rem 0.5rem 1.25rem;
	}

	.diary-menu-slot {
		width: 100%;
		padding: 0;
	}

	.diary-menu-slot > #diary-menu-content,
	.diary-menu-slot > #diary-cart-inline {
		max-width: 100%;
		box-sizing: border-box;
	}

	.styleMenuDiario {
		padding: 1rem 0.75rem;
		border-radius: 8px;
	}

	/* Inline cart on mobile: less space between content */
	.diary-cart-inline {
		padding: 1rem 0.75rem;
		border-radius: 8px;
		max-width: 100%;
	}

	.diary-cart-inline .close-cart-btn {
		top: 0.5rem;
		right: 0.5rem;
		width: 2.5rem;
		height: 2.5rem;
		min-width: 44px;
		min-height: 44px;
		font-size: 1.35rem;
	}

	.diary-cart-inline .diary-cart-title {
		font-size: 1rem;
		padding-right: 3rem;
		margin-bottom: 0.75rem;
		text-align: center;
	}

	.diary-cart-inline .diary-cart-block-heading {
		font-size: 0.875rem;
		padding-top: 0.75rem;
		text-align: left;
	}

	.diary-cart-inline .diary-cart-block:first-of-type .diary-cart-block-heading {
		padding-top: 0;
	}

	.diary-cart-inline .diary-cart-block-desc,
	.diary-cart-inline .diary-cart-sub {
		font-size: 0.85rem;
	}

	.diary-cart-inline .diary-cart-hr {
		margin: 0.75rem 0;
	}

	.diary-cart-inline .diary-add-complete-btn,
	.diary-cart-inline .send-order-btn {
		min-height: 44px;
		padding: 0.65rem 1rem;
		font-size: 0.95rem;
	}

	.diary-cart-inline .diary-cart-summary {
		padding: 0.6rem 0.75rem;
	}

	.diary-cart-inline .diary-summary-line {
		font-size: 0.85rem;
	}

	.diary-cart-inline .diary-summary-qty {
		min-width: 1.6rem;
		padding: 0.2rem 0.3rem;
		font-size: 0.8rem;
	}

	.diary-cart-inline .diary-cart-summary .diary-cart-total-row {
		font-size: 0.95rem;
	}

	.diary-cart-inline .diary-cart-options {
		gap: 0.75rem;
		font-size: 0.85rem;
	}

	.diary-cart-inline .diary-cart-options label {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}

	.diary-cart-inline .diary-customer-input {
		min-height: 44px;
		font-size: 1rem;
		padding: 0.6rem 0.75rem;
	}

	.diary-cart-inline .diary-qty-wrap {
		min-height: 2.25rem;
		height: 2.25rem;
		border-radius: 11px;
	}

	.diary-cart-inline .diary-qty-wrap .diary-qty-btn {
		width: 1.85rem;
		min-width: 1.85rem;
		height: 2.25rem;
		font-size: 1.1rem;
	}

	.diary-cart-inline .diary-qty-wrap .diary-qty-btn:first-child {
		border-radius: 10px 0 0 10px;
	}

	.diary-cart-inline .diary-qty-wrap .diary-qty-btn:last-child {
		border-radius: 0 10px 10px 0;
	}

	.diary-cart-inline .diary-single-row .diary-qty-wrap .diary-qty-input {
		min-width: 2.25rem;
		height: 2.25rem;
		font-size: 0.9rem;
	}
}

@media (min-width: 768px) {
	.container-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		background: linear-gradient(
			180deg,
			rgb(228, 95, 48) 0%,
			var(--brand-orange) 35%,
			rgb(200, 72, 28) 100%
		);
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
		box-shadow:
			0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
			0 4px 24px rgba(0, 0, 0, 0.08);
		padding: 16px 32px;
		min-height: 72px;
		z-index: 9999;
		display: flex;
		flex-wrap: nowrap;
		transition: box-shadow 0.2s ease, border-color 0.2s ease;
		overflow: visible;
	}

	/* Elegant top shine overlay */
	.container-nav::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.18) 0%,
			rgba(255, 255, 255, 0.06) 35%,
			transparent 70%
		);
		pointer-events: none;
		z-index: 0;
		border-radius: inherit;
	}

	.container-nav > * {
		position: relative;
		z-index: 1;
	}

	.container-nav.scrolled {
		box-shadow:
			0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
			0 6px 28px rgba(0, 0, 0, 0.14);
	}

	.nav-mobile,
	.hamburger {
		display: none;
	}

	.header-brand {
		flex: 0 0 auto;
		min-width: 0;
		gap: 10px;
	}

	.brand-name {
		display: block;
		flex: 0 1 auto;
		max-width: none;
		font-size: clamp(0.9rem, 1.8vw, 1.15rem);
		white-space: nowrap;
	}

	.logo {
		height: 52px;
		width: 52px;
		max-height: 52px;
		max-width: 52px;
		object-fit: contain;
		flex-shrink: 0;
	}

	.nav-desktop {
		display: block;
		flex: 0 1 auto;
		min-width: 0;
		z-index: 10000;
	}

	.nav-desktop ul {
		display: flex;
		gap: 0.5em;
		align-items: center;
		margin: 0;
		padding: 0 0 0 1em;
		list-style: none;
		flex-wrap: nowrap;
		border-left: 1px solid rgba(255, 255, 255, 0.5);
	}

	.nav-desktop > ul > li {
		margin: 0;
		padding: 0;
	}

	.nav-desktop > ul > li > a,
	.nav-dropdown-trigger {
		display: inline-flex;
		align-items: center;
		gap: 0.25em;
		padding: 10px 14px;
		text-decoration: none;
		color: white;
		font-size: 0.95rem;
		font-weight: 500;
		font-family: inherit;
		background: none;
		border: none;
		cursor: pointer;
		transition: color 0.2s ease;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}

	.nav-dropdown-trigger::after {
		content: '';
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: 4px;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 5px solid currentColor;
		vertical-align: middle;
	}

	.nav-desktop > ul > li > a:hover,
	.nav-dropdown-trigger:hover,
	.nav-dropdown.open .nav-dropdown-trigger {
		color: #f5c518;
	}

	.nav-dropdown {
		position: relative;
	}

	.nav-dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		margin: 0;
		margin-top: 6px;
		padding: 0 !important;
		padding-left: 0 !important;
		padding-inline-start: 0 !important;
		-webkit-padding-start: 0 !important;
		list-style: none;
		display: flex;
		flex-direction: column;
		background: linear-gradient(180deg, rgb(75, 38, 28) 0%, rgb(55, 28, 20) 100%);
		border: 1px solid rgba(219, 81, 35, 0.45);
		border-radius: 8px;
		box-shadow:
			0 10px 32px rgba(0, 0, 0, 0.35),
			0 0 0 1px rgba(255, 255, 255, 0.06) inset;
		width: max-content;
		min-width: 10em;
		max-width: 22em;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
		z-index: 10001;
		overflow: hidden;
	}

	.nav-dropdown.open .nav-dropdown-menu,
	.nav-dropdown:focus-within .nav-dropdown-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.nav-dropdown-menu li {
		margin: 0;
		padding: 0;
		display: block;
		width: max-content;
		min-width: 100%;
		list-style: none;
	}

	.nav-desktop .nav-dropdown-menu a {
		display: block;
		width: 100%;
		box-sizing: border-box;
		margin: 0;
		margin-left: 0;
		padding: 0.55em 1.15em;
		color: rgb(252, 248, 245);
		text-decoration: none;
		font-size: 0.9rem;
		letter-spacing: 0.02em;
		white-space: nowrap;
		transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
		background-color: transparent;
		box-shadow: inset 0 0 0 0 var(--brand-orange);
	}

	.nav-desktop .nav-dropdown-menu a:hover,
	.nav-desktop .nav-dropdown-menu a:focus-visible,
	.nav-desktop .nav-dropdown-menu a.dropdown-link-hover {
		background-color: var(--brand-orange);
		color: rgb(255, 255, 255);
		box-shadow: inset 3px 0 0 0 rgb(255, 255, 255);
	}

	.intro {
		margin-top: 60px;
		margin-left: 80px;
		margin-right: 80px;
	}

	.intro h3 {
		font-size: 1.5rem;
	}

	/* Most ordered (desktop) */
	#most-ordered h2 {
		font-size: 1.25rem;
		padding: 15px;
	}

	#most-ordered p {
		padding: 15px;
		font-size: 1.4rem;
		text-shadow: 0 6px 15px rgb(0 0 0);
	}

	.most-ordered-images figcaption {
		font-size: 1.2rem;
		text-shadow: 0 6px 15px rgb(0 0 0);
	}

	/* Daily menu — desktop: hierarchy and alignment */
	#diary-menu h2 {
		font-size: 1.25rem;
		padding: 1rem 1.5rem;
		letter-spacing: 0.02em;
	}

	.styleMenuDiario {
		max-width: 640px;
		padding: 1.5rem 1.75rem;
		border-radius: 10px;
	}

	.styleMenuDiario h3 {
		font-size: 1.2rem;
		padding-bottom: 0.5rem;
		margin-bottom: 1rem;
	}

	.styleMenuDiario > p:first-of-type {
		font-size: 1rem;
		margin-bottom: 1.25rem;
	}

	.styleMenuDiario h4 {
		font-size: 1rem;
		padding-top: 1rem;
		margin-bottom: 0.45rem;
	}

	.styleMenuDiario p {
		font-size: 1rem;
		line-height: 1.5;
	}

	.diary-menu-loading,
	.diary-menu-error {
		font-size: 1rem;
		padding: 1.5rem;
		max-width: 640px;
	}

	.diary-menu-pdf-wrap {
		max-width: 640px;
	}

	.diary-menu-pdf {
		border-radius: 10px;
	}


	/* Menu card — desktop: section a ancho completo (fondo oscuro), contenido centrado */
	.table-menu {
		padding: 2rem 0;
	}
	.table-menu-inner {
		max-width: 900px;
		margin: 0 auto;
		padding: 0 1rem;
	}

	.table-menu tbody th[scope="row"],
	.table-menu tbody td {
		font-size: 1rem;
		padding: 0.6rem 1rem;
	}

	.table-menu tbody th[scope="row"] {
		font-size: 1rem;
	}

	.table-outer-edge .columns-card th {
		padding: 0.75rem 1rem;
		font-size: 0.8rem;
	}

	.menu-table-header h2 {
		font-size: 1.25rem;
		padding: 1.25rem 1rem;
	}

	.menu-table-header p,
	.menu-table-header .menu-slogan {
		font-size: 0.95rem;
		padding: 0 1rem 1.25rem;
	}

	.table-menu .variety.accordion {
		font-size: 1rem;
		padding: 0.75rem 1rem;
		padding-right: 2.75rem;
	}

	.table-menu tbody.category + tbody.category .variety.accordion {
		padding-top: 1rem;
		box-shadow: 0 -5px 14px rgba(44, 36, 25, 0.07);
	}

	.table-menu .accordion::after {
		right: 1rem;
		border-left-width: 0.45rem;
		border-right-width: 0.45rem;
		border-top-width: 0.55rem;
	}

	.td-price p {
		font-size: 0.95rem;
	}

	.table-outer-edge tfoot td {
		font-size: 0.85rem;
		padding: 0.75rem 1rem;
	}

	.col-accion {
		min-width: 40px;
	}

	.main-content {
		transition: transform 0.3s ease;
		width: 100%;
	}

	body.open-cart .main-content {
		width: calc(100% - 425px);
		margin-right: 425px;
		transform: none;
	}

	#cart-items .quantity,
	#cart-items .diary-qty-value {
		font-size: 0.85rem;
	}

	#shopping-modal h3 {
		font-size: 1.2rem;
	}

	#shopping-modal input#customer-name,
	#shopping-modal input::placeholder,
	.order-name,
	#shopping-modal button,
	#shopping-modal p,
	#cart-items li .product,
	#cart-items .price {
		font-size: 1rem;
	}

	#shopping-modal .diary-qty-btn {
		font-size: 1.05rem;
	}

	#cart-items li {
		display: grid;
		grid-template-columns: 1fr auto auto;
		align-items: center;
		gap: 10px;
		padding: 8px 0;
		font-size: 1rem;
	}

	#close-cart-btn {
		font-size: 1.5rem !important;
	}

	#customer-name {
		font-size: 1rem;
	}

	/* Cart: below nav bar (top: 72px), z-index lower than nav so it doesn't cover it */
	#shopping-modal {
		position: fixed;
		top: 72px;
		right: -425px;
		width: 425px;
		max-width: calc(100vw - 24px);
		height: calc(100vh - 72px);
		background: #fff;
		box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
		transition: right 0.3s ease;
		overflow-y: auto;
		z-index: 500;
	}

	#shopping-modal.active {
		right: 0;
		position: fixed;
	}

	.close-cart-btn:hover {
		color: #e53935;
	}

	/* Reviews section: desktop */
	.reviews-section {
		padding: 4rem 2rem 4.5rem;
	}
	.reviews-title {
		font-size: 1.25rem;
	}
	.reviews-subtitle {
		font-size: 1rem;
		margin-bottom: 2rem;
	}
	.reviews-track {
		min-height: 30rem;
	}
	.review-card {
		padding: 1.75rem 1.5rem;
		border-radius: 14px;
	}
	.review-stars {
		font-size: 1.1rem;
		margin-bottom: 0.75rem;
	}
	.review-text {
		font-size: 1.05rem;
	}
	.review-author {
		font-size: 0.9rem;
	}

	/* Form: desktop (parallax and presence) */
	.section-form {
		margin: 0 auto;
		padding: 4rem 2rem 5rem;
		min-height: 36rem;
		align-items: center;
		font-size: 1rem;
		background-attachment: fixed;
	}

	.section-form-inner {
		max-width: 32rem;
		padding: 2rem 2.25rem;
	}

	.section-form-inner > p {
		font-size: 1.05rem;
	}

	.section-form-inner h3 {
		font-size: 1.5rem;
	}

	.personal-info-container legend {
		font-size: 1.3rem;
	}

	.personal-info-container fieldset {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-around;
		gap: 10px;
	}

	.form-item label {
		font-size: 1rem;
	}

	.form-item input,
	textarea {
		font-size: 1rem;
	}

	.botones-formulario button {
		font-size: 1rem;
	}

	/* Contact (desktop) */
	.textContact {
		font-size: 1.2rem;
	}

	.contact-general {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-evenly;
		font-size: 1rem;
	}

	.contact-general a {
		font-size: 1.2rem;
	}

	#contact h2 {
		font-size: 1.25rem;
	}

	.footer-map iframe {
		height: 280px;
	}

	.intro p {
		font-size: 1rem;
		padding: 10px;
	}

	.sammi p,
	.sammi a {
		font-size: 1rem;
	}
}

/* Medium screens: more compact bar so text doesn't overflow */
@media (min-width: 768px) and (max-width: 1024px) {
	.container-nav {
		padding: 12px 20px;
		min-height: 64px;
	}

	.header-brand .brand-name {
		font-size: clamp(0.8rem, 1.6vw, 1rem);
	}

	.nav-desktop ul {
		gap: 0.35em;
		padding-left: 0.75em;
	}

	.nav-desktop > ul > li > a,
	.nav-dropdown-trigger {
		font-size: 0.8rem;
		padding: 8px 10px;
	}

	.nav-dropdown-menu {
		width: max-content;
		min-width: 9em;
		max-width: 20em;
		margin-top: 5px;
	}

	.nav-desktop .nav-dropdown-menu a {
		font-size: 0.85rem;
		padding: 0.5em 1em;
	}

	.nav-desktop .nav-dropdown-menu a:hover,
	.nav-desktop .nav-dropdown-menu a:focus-visible,
	.nav-desktop .nav-dropdown-menu a.dropdown-link-hover {
		background-color: var(--brand-orange);
		color: rgb(255, 255, 255);
		box-shadow: inset 3px 0 0 0 rgb(255, 255, 255);
	}

	.logo {
		height: 44px;
		width: 44px;
		max-height: 44px;
		max-width: 44px;
	}
}

/* Reference breakpoints: mobile 200–479px, tablet 480–767px, laptop 768–1024px, 4K 1024px+ */