/* ==========================================================================
   OrderNao theme
   Tokens -> base -> layout -> header -> home -> content -> WooCommerce
   ========================================================================== */

:root {
	--on-brand: #e60b23;
	--on-brand-dark: #b5081b;
	--on-accent: #f2a516;
	--on-ink: #1c2a28;
	--on-muted: #66736f;
	--on-bg: #f2f5f4;
	--on-card: #ffffff;
	--on-line: #dde4e2;
	--on-danger: #d64545;
	--on-ok: #1f8a4c;

	--on-r-s: 8px;
	--on-r-m: 14px;
	--on-r-l: 22px;
	--on-shadow: 0 1px 2px rgba(14, 60, 50, .06), 0 6px 18px rgba(14, 60, 50, .07);
	--on-shadow-up: 0 -4px 18px rgba(14, 60, 50, .12);

	/* 8.0.1: headings used to load a separate rounded/playful display font
	   ("Baloo Da 2"); the site now uses one regular font everywhere. */
	--on-font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--on-font-head: var(--on-font-body);

	--on-header-h: 64px;
	--on-bottom-h: 62px;
	--on-safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--on-bg);
	color: var(--on-ink);
	font-family: var(--on-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--on-brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--on-brand-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--on-font-head);
	line-height: 1.25;
	margin: 0 0 .5em;
	color: var(--on-ink);
}
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--on-accent); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.on-skip {
	position: absolute; left: -999px; top: 8px; z-index: 1000;
	background: var(--on-ink); color: #fff; padding: 8px 14px; border-radius: var(--on-r-s);
}
.on-skip:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout ---------- */
.on-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.on-wrap--narrow { max-width: 820px; }
.on-wrap--wide { max-width: 1100px; }
.on-main { padding-block: 20px 40px; min-height: 55vh; }
.on-main--full { padding: 0; }

/* The plugin prints its own page shells; let them use the full width. */
.on-restaurant-view .on-main,
.fe-restaurant-archive { max-width: none; }

/* Hide the plugin's floating desktop location pill: the header has its own chip. */
.fe-desktop-location-fab { display: none !important; }

/* ---------- buttons ---------- */
.on-btn,
.button,
.wp-element-button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	background: var(--on-brand); color: #fff;
	border: 2px solid var(--on-brand); border-radius: 999px;
	font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background .15s, border-color .15s, transform .1s;
}
.on-btn:hover, .button:hover, .wp-element-button:hover, button.button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--on-brand-dark); border-color: var(--on-brand-dark); color: #fff;
}
.on-btn:active, .button:active { transform: scale(.98); }
.on-btn--ghost { background: transparent; color: var(--on-brand); }
.on-btn--ghost:hover { background: var(--on-brand); color: #fff; }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled {
	opacity: .5; cursor: not-allowed;
}
.on-link { font-weight: 600; text-decoration: none; }
.on-link:hover { text-decoration: underline; }

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	width: 100%; min-height: 46px; padding: 10px 14px;
	background: #fff; border: 1.5px solid var(--on-line); border-radius: var(--on-r-m);
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--on-brand); box-shadow: 0 0 0 3px rgba(230, 11, 35, .18);
}
.on-searchform { display: flex; gap: 8px; max-width: 520px; }
.on-searchform input { flex: 1; }

/* ---------- header ---------- */
.on-header {
	position: sticky; top: 0; z-index: 900;
	background: #fff; border-bottom: 1px solid var(--on-line);
}
body.admin-bar .on-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .on-header { top: 46px; } }

.on-header__row {
	display: grid; align-items: center; gap: 10px 14px;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	min-height: var(--on-header-h); padding-block: 8px;
}
.on-brand { display: flex; align-items: center; min-width: 0; }
.on-brand img { max-height: 44px; width: auto; }
.on-wordmark {
	font-family: var(--on-font-head); font-weight: 800; font-size: 26px; letter-spacing: -.01em;
	color: var(--on-brand); text-decoration: none; white-space: nowrap;
}

/* location chip */
.on-loc {
	display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 260px;
	padding: 6px 14px 6px 10px; background: var(--on-bg); border: 1.5px solid var(--on-line);
	border-radius: 999px; cursor: pointer; text-align: left; color: var(--on-ink);
	transition: border-color .15s, background .15s;
}
.on-loc:hover { border-color: var(--on-brand); background: #fff; }
.on-loc .on-icon { color: var(--on-brand); flex: 0 0 auto; }
.on-loc__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.on-loc__hint { font-size: 11px; color: var(--on-muted); }
.on-loc__name {
	font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* search */
.on-search {
	position: relative; display: flex; align-items: center; gap: 8px; min-width: 0;
	height: 44px; padding-inline: 14px; background: var(--on-bg);
	border: 1.5px solid var(--on-line); border-radius: 999px;
}
.on-search:focus-within { background: #fff; border-color: var(--on-brand); box-shadow: 0 0 0 3px rgba(230, 11, 35, .15); }
.on-search .on-icon { color: var(--on-muted); flex: 0 0 auto; }
.on-search input[type="search"] {
	flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0;
}
.on-search input[type="search"]:focus { box-shadow: none; }

/* actions */
.on-actions { display: flex; align-items: center; gap: 6px; }
.on-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: 50%; color: var(--on-ink); cursor: pointer; text-decoration: none;
}
.on-iconbtn:hover { background: var(--on-bg); color: var(--on-brand); }
.on-cartbtn {
	position: relative; display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 16px; background: var(--on-brand); color: #fff;
	border-radius: 999px; font-weight: 600; text-decoration: none;
}
.on-cartbtn:hover { background: var(--on-brand-dark); color: #fff; }
.on-cart-count {
	display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
	background: var(--on-accent); color: var(--on-ink); border-radius: 999px;
	font-size: 12px; font-weight: 700; line-height: 1;
}
.on-cart-count.is-empty { background: rgba(255, 255, 255, .28); color: #fff; }

/* nav */
.on-nav { border-top: 1px solid var(--on-line); background: #fff; }
.on-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.on-menu a { display: block; padding: 10px 0; color: var(--on-ink); text-decoration: none; font-weight: 500; }
.on-menu a:hover, .on-menu .current-menu-item > a { color: var(--on-brand); }
.on-menu .sub-menu { display: none; }
.on-menu-toggle { display: none; }

@media (max-width: 899px) {
	.on-header__row {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "brand loc actions" "search search search";
		padding-block: 8px 10px;
	}
	.on-brand { grid-area: brand; }
	.on-loc--header { grid-area: loc; justify-self: end; max-width: 100%; }
	.on-search { grid-area: search; }
	.on-actions { grid-area: actions; }
	.on-account-link, .on-cartbtn__label { display: none; }
	.on-cartbtn { padding: 0 12px; }
	.on-wordmark { font-size: 22px; }
	.on-menu-toggle { display: inline-grid; }
	.on-nav { display: none; }
	.on-nav.is-open { display: block; }
	.on-menu { flex-direction: column; gap: 0; }
	.on-menu a { padding: 12px 0; border-bottom: 1px solid var(--on-line); }
}

/* ---------- cart drawer ---------- */
.on-overlay {
	position: fixed; inset: 0; z-index: 1000; background: rgba(16, 32, 29, .5);
	opacity: 0; transition: opacity .2s;
}
.on-overlay:not([hidden]) { opacity: 1; }
.on-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
	display: flex; flex-direction: column; width: min(420px, 100%);
	background: #fff; box-shadow: -10px 0 30px rgba(14, 60, 50, .18);
	transform: translateX(105%); transition: transform .25s ease; visibility: hidden;
}
body.on-drawer-open .on-drawer { transform: none; visibility: visible; }
body.on-drawer-open { overflow: hidden; }
.on-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--on-line);
}
.on-drawer__head h2 { margin: 0; font-size: 20px; }
.on-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }

/* mini-cart */
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.woocommerce-mini-cart-item {
	position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px;
	padding: 14px 28px 14px 0; border-bottom: 1px solid var(--on-line);
}
.woocommerce-mini-cart-item img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: var(--on-r-s); float: none; margin: 0; }
.woocommerce-mini-cart-item a:not(.remove) { font-weight: 600; color: var(--on-ink); text-decoration: none; }
.woocommerce-mini-cart-item .quantity { color: var(--on-muted); font-size: 14px; }
.woocommerce-mini-cart-item dl.variation { margin: 0; font-size: 13px; color: var(--on-muted); }
.woocommerce-mini-cart-item dl.variation dt, .woocommerce-mini-cart-item dl.variation dd { display: inline; margin: 0; }
.woocommerce-mini-cart-item dl.variation p { display: inline; margin: 0; }
.woocommerce-mini-cart-item a.remove {
	position: absolute !important; top: 14px; right: 0; display: grid !important; place-items: center;
	width: 24px; height: 24px; border-radius: 50%; background: var(--on-bg); color: var(--on-danger) !important;
	font-size: 18px; line-height: 1; text-decoration: none;
}
.woocommerce-mini-cart-item a.remove:hover { background: var(--on-danger); color: #fff !important; }
.woocommerce-mini-cart__total {
	display: flex; justify-content: space-between; margin: 16px 0 12px; font-size: 18px; font-weight: 700;
}
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--on-brand); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--on-brand); color: #fff; }
.woocommerce-mini-cart__empty-message { padding: 40px 0; text-align: center; color: var(--on-muted); }

/* ---------- mobile bottom bar ---------- */
.on-bottombar { display: none; }
@media (max-width: 899px) {
	body { padding-bottom: calc(var(--on-bottom-h) + var(--on-safe-b)); }
	.on-bottombar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
		display: grid; grid-template-columns: repeat(4, 1fr);
		height: calc(var(--on-bottom-h) + var(--on-safe-b)); padding-bottom: var(--on-safe-b);
		background: #fff; border-top: 1px solid var(--on-line); box-shadow: var(--on-shadow-up);
	}
	.on-bottombar a {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		color: var(--on-muted); font-size: 12px; font-weight: 500; text-decoration: none;
	}
	.on-bottombar a.is-active { color: var(--on-brand); font-weight: 700; }
	.on-bottombar .on-cart-count {
		position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 11px;
	}
	.on-bottombar .on-cart-count.is-empty { display: none; }
}

/* ---------- home ---------- */
.on-home { padding-block: 0 24px; }
.on-hero {
	position: relative; overflow: hidden; background: var(--on-brand); color: #fff; padding-block: 44px 48px;
}
/* plate rim: concentric rings, the one decorative element */
.on-hero::before {
	content: ""; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; translate: 0 -50%;
	border-radius: 50%; pointer-events: none;
	background:
		radial-gradient(circle, transparent 0 38%, rgba(255, 255, 255, .10) 38.3% 39.3%, transparent 39.6% 55%, rgba(255, 255, 255, .08) 55.3% 56.3%, transparent 56.6% 72%, rgba(242, 165, 22, .35) 72.3% 73.6%, transparent 74%);
}
.on-hero__inner { position: relative; }
.on-hero__title { max-width: 18ch; margin: 0 0 12px; color: #fff; font-size: clamp(30px, 5.2vw, 52px); font-weight: 800; letter-spacing: -.015em; }
.on-hero__text { max-width: 52ch; margin: 0 0 24px; font-size: 18px; color: rgba(255, 255, 255, .88); }
.on-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.on-loc--hero { max-width: min(420px, 100%); padding: 10px 20px 10px 14px; background: #fff; border-color: #fff; }
.on-loc--hero .on-loc__name { font-size: 16px; }
.on-hero .on-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.on-hero .on-btn--ghost:hover { background: #fff; color: var(--on-brand); border-color: #fff; }

.on-section { padding-block: 22px 4px; }
.on-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.on-section__head h2 { margin: 0; font-size: 24px; }

/* ---------- content ---------- */
.on-page__head { margin-bottom: 18px; }
.on-page__title { margin: 0; font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.on-page__desc { color: var(--on-muted); margin-top: 6px; }
.on-page__thumb { margin-bottom: 20px; border-radius: var(--on-r-l); overflow: hidden; }
.on-page .entry-content,
.entry-content { max-width: 100%; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: var(--on-r-m); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--on-line); text-align: left; }
.on-wrap--narrow .entry-content { font-size: 17px; line-height: 1.75; }

.on-postlist { display: grid; gap: 16px; }
.on-postcard { display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: var(--on-r-m); overflow: hidden; box-shadow: var(--on-shadow); }
.on-postcard:not(:has(.on-postcard__img)) { grid-template-columns: 1fr; }
.on-postcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.on-postcard__body { padding: 16px 18px; }
.on-postcard__title { margin: 0 0 4px; font-size: 20px; }
.on-postcard__title a { color: var(--on-ink); text-decoration: none; }
.on-postcard__meta { margin: 0 0 8px; font-size: 13px; color: var(--on-muted); }
@media (max-width: 599px) { .on-postcard { grid-template-columns: 1fr; } }

.navigation.pagination, .woocommerce-pagination { margin-top: 28px; text-align: center; }
.page-numbers { display: inline-flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.page-numbers li { margin: 0; border: 0 !important; }
a.page-numbers, span.page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	background: #fff; border: 1.5px solid var(--on-line); border-radius: 999px; color: var(--on-ink); text-decoration: none; font-weight: 600;
}
.page-numbers .current, span.page-numbers.current { background: var(--on-brand); border-color: var(--on-brand); color: #fff; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.on-404 { text-align: center; padding-block: 60px; }
.on-404__actions { display: flex; gap: 10px; justify-content: center; }

/* ---------- footer ---------- */
.on-footer { margin-top: 20px; background: var(--on-ink); color: rgba(255, 255, 255, .8); }
.on-footer a { color: #fff; }
.on-footer h3 { color: #fff; font-size: 17px; }
.on-footer__grid { display: grid; gap: 28px 40px; grid-template-columns: 1.4fr repeat(auto-fit, minmax(180px, 1fr)); padding-block: 40px 28px; }
.on-footer__brand { font-family: var(--on-font-head); font-weight: 800; font-size: 26px; color: #fff; margin-bottom: 8px; }
.on-footer__menu, .on-footer__contact { list-style: none; margin: 0; padding: 0; }
.on-footer__menu li { margin-bottom: 8px; }
.on-footer__menu a { text-decoration: none; }
.on-footer__menu a:hover { text-decoration: underline; }
.on-footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.on-footer__contact .on-icon { flex: 0 0 auto; margin-top: 3px; color: var(--on-accent); }
.on-footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.on-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 14px; font-size: 14px; }
@media (max-width: 699px) { .on-footer__grid { grid-template-columns: 1fr; padding-block: 28px 18px; } }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce-breadcrumb, .on-breadcrumb { margin: 0 0 14px; font-size: 14px; color: var(--on-muted); }
.woocommerce-breadcrumb a { color: var(--on-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--on-brand); }
.woocommerce-products-header__title.page-title,
.woocommerce .product_title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.woocommerce-result-count { margin: 0 0 16px; color: var(--on-muted); font-size: 14px; float: none !important; }
.woocommerce-ordering { margin: 0 0 16px; float: none !important; }
.woocommerce-ordering select { min-height: 42px; width: auto; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 18px; padding: 14px 18px; background: #fff;
	border: 1.5px solid var(--on-line); border-left: 5px solid var(--on-brand); border-radius: var(--on-r-m);
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 38px; padding: 6px 16px; }
.woocommerce-error { border-left-color: var(--on-danger); }
.woocommerce-info { border-left-color: var(--on-accent); }

/* product grid */
.woocommerce ul.products, ul.products {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
	margin: 0 0 24px; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 640px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product {
	position: relative; display: flex; flex-direction: column; float: none; width: auto; margin: 0; padding: 0;
	background: #fff; border-radius: var(--on-r-m); overflow: hidden; box-shadow: var(--on-shadow);
	transition: transform .15s, box-shadow .15s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(14, 60, 50, .08), 0 12px 26px rgba(14, 60, 50, .12); }
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product a img {
	display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; margin: 0; object-fit: cover; background: var(--on-bg);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0; padding: 12px 14px 4px; font-family: var(--on-font-body); font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--on-ink);
}
.woocommerce ul.products li.product .price { display: block; padding: 0 14px 8px; color: var(--on-ink); font-size: 16px; font-weight: 700; }
.woocommerce ul.products li.product .price del { color: var(--on-muted); font-weight: 400; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--on-brand); }
.woocommerce ul.products li.product .button {
	margin: auto 14px 14px; min-height: 40px; padding: 8px 14px; font-size: 14px;
}
.woocommerce ul.products li.product .button.added { display: none; }
.woocommerce ul.products li.product a.added_to_cart {
	margin: auto 14px 14px; text-align: center; font-weight: 600; font-size: 14px; color: var(--on-brand);
}
.woocommerce span.onsale {
	position: absolute; top: 10px; left: 10px; z-index: 2; min-width: 0; min-height: 0; margin: 0;
	padding: 4px 12px; line-height: 1.4; background: var(--on-accent); color: var(--on-ink); border-radius: 999px; font-size: 12px; font-weight: 700;
}
.woocommerce .star-rating { color: var(--on-accent); }

/* single product */
.woocommerce div.product { display: grid; gap: 24px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--on-r-l); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--on-brand); font-size: 26px; font-weight: 800; }
.woocommerce div.product form.cart { margin: 18px 0; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 50px; padding-inline: 32px; font-size: 16px; }
.woocommerce .quantity .qty {
	width: 70px; min-height: 50px; padding: 6px; text-align: center; border: 1.5px solid var(--on-line); border-radius: var(--on-r-m);
}
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: #fff; border: 1.5px solid var(--on-line); border-radius: 999px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 8px 18px; color: var(--on-ink); font-weight: 600; text-decoration: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--on-brand); border-color: var(--on-brand); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 24px; }

/* tables: cart, orders */
.woocommerce table.shop_table {
	width: 100%; border: 1.5px solid var(--on-line); border-radius: var(--on-r-m); border-collapse: separate; border-spacing: 0;
	background: #fff; overflow: hidden;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--on-line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { border-top: 0; background: var(--on-bg); font-weight: 600; }
.woocommerce table.shop_table td.product-thumbnail img { width: 72px; border-radius: var(--on-r-s); }
.woocommerce table.shop_table td.product-name a { color: var(--on-ink); font-weight: 600; text-decoration: none; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px; float: none; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 460px; margin-left: auto; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 22px; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 52px; font-size: 17px; }

@media (max-width: 719px) {
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; text-align: right !important; }
	.woocommerce table.shop_table_responsive tr td::before { font-weight: 600; text-align: left; color: var(--on-muted); }
	.woocommerce table.shop_table_responsive tr td.product-thumbnail { display: none; }
	.woocommerce table.cart td.actions .coupon .input-text { width: 100%; flex: 1; }
}

/* checkout */
.woocommerce-checkout form.checkout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
	.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
	.woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { grid-column: 2; }
	.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 20; }
}
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-size: 22px; }
.woocommerce-checkout #order_review, .woocommerce-checkout #customer_details > div {
	padding: 18px; background: #fff; border-radius: var(--on-r-m); box-shadow: var(--on-shadow);
}
.woocommerce-checkout #customer_details > div + div { margin-top: 16px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
.woocommerce form .form-row .required { color: var(--on-danger); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
@media (min-width: 560px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); float: left; }
	.woocommerce form .form-row-last { float: right; }
	.woocommerce form .form-row-wide { clear: both; }
}
.woocommerce #payment { background: var(--on-bg); border-radius: var(--on-r-m); }
.woocommerce #payment ul.payment_methods { padding: 14px; border-bottom: 1px solid var(--on-line); list-style: none; margin: 0; }
.woocommerce #payment ul.payment_methods li { margin-bottom: 8px; }
.woocommerce #payment div.payment_box { background: #fff; color: var(--on-ink); border-radius: var(--on-r-s); }
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce #payment div.form-row { padding: 14px; }
.woocommerce #payment #place_order { width: 100%; min-height: 54px; font-size: 17px; float: none; }

/* my account */
.woocommerce-account .woocommerce { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .woocommerce-account .woocommerce { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--on-r-m); box-shadow: var(--on-shadow); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: var(--on-r-s); color: var(--on-ink); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--on-bg); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--on-brand); color: #fff; }
.woocommerce-MyAccount-content { padding: 20px; background: #fff; border-radius: var(--on-r-m); box-shadow: var(--on-shadow); }
.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register {
	max-width: 460px; margin-inline: auto; padding: 22px; background: #fff; border: 0; border-radius: var(--on-r-m); box-shadow: var(--on-shadow);
}
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .u-columns { display: grid; gap: 20px; }
@media (min-width: 860px) { .woocommerce-account .u-columns { grid-template-columns: 1fr 1fr; } }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { float: none; width: 100%; }

/* block cart / checkout (if the pages use blocks) */
.wc-block-components-button:not(.is-link) {
	background: var(--on-brand); color: #fff; border-radius: 999px; font-weight: 600; min-height: 48px;
}
.wc-block-components-button:not(.is-link):hover { background: var(--on-brand-dark); }
.wc-block-components-text-input input, .wc-block-components-select select { border-radius: var(--on-r-m); }
.wp-block-woocommerce-checkout, .wp-block-woocommerce-cart { font-family: var(--on-font-body); }

/* ==========================================================================
   Header v2: red bar, white pills, blue search button
   ========================================================================== */
:root {
	--on-search-btn: #3452f2;
	--on-search-btn-dark: #263fd1;
}
.on-header { background: var(--on-brand); border-bottom: 0; }
.on-header__row { gap: 12px 16px; padding-block: 10px; }
.on-wordmark { color: #fff; }
.on-brand img { max-height: 50px; width: auto; }

.on-header .on-iconbtn { color: #fff; }
.on-header .on-iconbtn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.on-header .on-menu-toggle { color: #2a2a2a; }
.on-header .on-menu-toggle:hover { background: rgba(0, 0, 0, .08); color: #2a2a2a; }

.on-loc--header {
	padding: 8px 18px 8px 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .08);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.on-loc--header:hover { background: #fff; border-color: rgba(0, 0, 0, .2); }
.on-loc--header .on-loc__hint { display: none; }
.on-loc--header .on-loc__name { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.on-loc__pin { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; display: block; }

.on-search {
	height: 52px; padding: 0 5px 0 22px; background: #fff; border: 0; gap: 8px;
}
.on-search:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.on-search input[type="search"] { font-size: 17px; color: #1a1a1a; }
.on-search input[type="search"]::placeholder { color: #777; opacity: 1; }
.on-search__btn {
	display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%; background: var(--on-search-btn); color: #fff; cursor: pointer;
	transition: background .15s;
}
.on-search__btn:hover { background: var(--on-search-btn-dark); }
.on-search__btn:focus-visible { outline-color: #fff; outline-offset: -3px; }

.on-cartbtn { background: #fff; color: var(--on-brand); }
.on-cartbtn:hover { background: #ffecee; color: var(--on-brand-dark); }
.on-cartbtn .on-cart-count { background: var(--on-brand); color: #fff; }
.on-cartbtn .on-cart-count.is-empty { background: #f6d3d8; color: var(--on-brand); }

@media (max-width: 899px) {
	.on-header__row {
		grid-template-columns: auto auto minmax(0, 1fr);
		grid-template-areas: "menu brand loc" "search search search";
		padding-block: 10px 12px; gap: 10px 12px;
	}
	.on-menu-toggle { grid-area: menu; margin-left: -8px; }
	.on-brand { grid-area: brand; }
	.on-loc--header { grid-area: loc; justify-self: end; max-width: 100%; }
	.on-search { grid-area: search; }
	.on-actions { display: none; }
	.on-nav { border-top: 0; }
}
@media (min-width: 900px) {
	.on-search { height: 48px; }
	.on-search__btn { width: 38px; height: 38px; }
}

/* ==========================================================================
   Header v3: fixes from device screenshots
   - search icon white on the blue button
   - location chip never collapses (name truncates with an ellipsis)
   - mobile: only the search row stays pinned while scrolling
   ========================================================================== */
.on-search .on-search__btn .on-icon { color: #fff; }

.on-loc--header { min-width: 0; }
.on-loc--header .on-loc__text { flex: 1 1 auto; min-width: 0; }
.on-loc--header .on-loc__name { display: block; max-width: 100%; }

body { --on-admin-h: 0px; }
body.admin-bar { --on-admin-h: 32px; }
@media (max-width: 782px) { body.admin-bar { --on-admin-h: 46px; } }

@media (max-width: 899px) {
	/* smaller logo so the location chip has room, like the reference */
	.on-brand img, .on-brand .custom-logo { max-height: 36px; width: auto; max-width: 100%; }
	.on-wordmark { font-size: 21px; }
	.on-header__row { grid-template-columns: auto minmax(0, max-content) minmax(128px, 1fr); }
	.on-loc--header { min-width: 128px; max-width: 100%; padding: 7px 14px 7px 10px; }
	.on-loc--header .on-loc__name { font-size: 15px; }

	/* Scroll up out of view: menu, logo and location. Search row stays pinned.
	   --on-top-h is measured in main.js; without JS the whole header just stays pinned. */
	body .on-header,
	body.admin-bar .on-header {
		top: calc(var(--on-admin-h, 0px) - var(--on-top-h, 0px));
	}
	.on-header__row { padding-block: 10px 12px; }
}

/* ==========================================================================
   Footer v2: same red as the header, tighter gap above it
   ========================================================================== */
.on-footer { margin-top: 0; background: var(--on-brand); color: rgba(255, 255, 255, .92); }
.on-footer a { color: #fff; }
.on-footer h3, .on-footer__brand { color: #fff; }
.on-footer__contact .on-icon { color: #fff; }
.on-footer__bar { background: var(--on-brand-dark); border-top: 0; color: rgba(255, 255, 255, .9); }

/* Remove the empty band between the last restaurant row and the footer. */
.on-home { padding-bottom: 0; min-height: 0; }
.on-home .on-section:last-child { padding-bottom: 0; }
.on-home .entry-content > :last-child { margin-bottom: 0; padding-bottom: 0; }
/* the plugin gives every restaurant block a 28px bottom margin (!important) */
.on-home .fe-home-restaurant-block:last-child { margin-bottom: 0 !important; }
.on-main { padding-bottom: 24px; }

/* ==========================================================================
   Cart page fixes
   ========================================================================== */
.woocommerce table.cart td.product-remove { text-align: right; width: 1%; }
.woocommerce table.cart td.product-remove a.remove {
	position: static !important; display: inline-grid !important; place-items: center;
	width: 32px; height: 32px; border-radius: 50%; background: #fdecee;
	color: var(--on-danger) !important; font-size: 22px; line-height: 1; text-decoration: none;
}
.woocommerce table.cart td.product-remove a.remove:hover { background: var(--on-danger); color: #fff !important; }
.woocommerce td.product-name dl.variation { margin: 8px 0 0; font-size: 14px; color: var(--on-muted); }
.woocommerce td.product-name dl.variation dt { display: inline; float: none; margin: 0 4px 0 0; font-weight: 600; }
.woocommerce td.product-name dl.variation dd { display: inline; margin: 0 12px 0 0; }
.woocommerce td.product-name dl.variation dd p { display: inline; margin: 0; }

@media (max-width: 719px) {
	.woocommerce table.shop_table_responsive tr td.product-name { display: block; text-align: left !important; }
	.woocommerce table.shop_table_responsive tr td.product-name::before { display: block; float: none; margin-bottom: 6px; }
	.woocommerce table.shop_table_responsive tr td.product-remove { justify-content: flex-end; padding-bottom: 0; border-top: 0; }
	.woocommerce table.shop_table_responsive tr td.product-remove::before { display: none; }
}
