/* Order online – menu, item dialog, cart sheet & checkout */
.q-order { position: relative; }

.q-order__toolbar {
	position: sticky; top: var(--q-sticky-top, 0); z-index: 20;
	display: grid; gap: 10px;
	margin: 0 0 8px;
	padding: 10px 0;
	background: color-mix(in srgb, var(--q-bg) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--q-line);
}
.q-order__toolbar > *, .q-order__layout > * { min-width: 0; }

.q-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.q-search { position: relative; flex: 1 1 220px; display: flex; align-items: center; }
.q-search svg { position: absolute; left: 12px; color: var(--q-muted); pointer-events: none; }
.q-search input { width: 100%; min-height: 42px; padding: .5em .9em .5em 38px; border: 1.5px solid var(--q-line); border-radius: 999px; background: var(--q-surface); font: inherit; font-size: max(16px, .95rem); }
.q-search input:focus { outline: none; border-color: var(--q-accent); }

.q-order__layout { display: grid; gap: 32px; }
@media (min-width: 960px) {
	.q-order__layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
	.q-cart { position: sticky; top: calc(var(--q-sticky-top, 0px) + 120px); max-height: calc(100vh - var(--q-sticky-top, 0px) - 140px); overflow: auto; }
}

.q-section { scroll-margin-top: calc(var(--q-sticky-top, 0px) + 130px); padding-top: 12px; }
.q-section + .q-section { margin-top: 28px; }
.q-section__title { margin: 0 0 4px; font-family: var(--q-font-display); font-size: clamp(1.5rem, 3vw, 2rem); }
.q-section__note { margin: 0 0 8px; color: var(--q-muted); }

.q-items { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .q-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) and (max-width: 1180px) { .q-items { grid-template-columns: 1fr; } }

.q-item { position: relative; }
.q-item__open {
	display: flex; gap: 14px; justify-content: space-between; align-items: stretch;
	width: 100%; height: 100%; min-height: 128px; padding: 14px;
	border: 1px solid var(--q-line); border-radius: var(--q-radius);
	background: var(--q-surface); color: inherit; font: inherit; text-align: left; cursor: pointer;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.q-item__open:hover { border-color: color-mix(in srgb, var(--q-accent) 45%, var(--q-line)); box-shadow: var(--q-shadow); }
.q-item__open:focus-visible { outline: 3px solid color-mix(in srgb, var(--q-accent) 55%, transparent); outline-offset: 2px; }
.q-item__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 4px; }
.q-item__name { font-weight: 700; line-height: 1.25; }
.q-item__desc { color: var(--q-muted); font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.q-item__price { margin-top: auto; padding-top: 4px; font-weight: 700; }
.q-item__plus { color: var(--q-muted); font-weight: 500; font-size: .85rem; }
.q-item__img { flex: none; width: 112px; height: 100px; object-fit: cover; border-radius: var(--q-radius-sm); background: var(--q-cream); }
@media (min-width: 900px) { .q-item__img { width: 132px; height: 110px; } }
.q-item.is-sold-out .q-item__open { opacity: .6; }
.q-badge { align-self: flex-start; padding: .15em .6em; border-radius: 999px; background: var(--q-cream); font-size: .75rem; font-weight: 700; }

.q-add {
	position: absolute; right: 8px; bottom: 8px;
	display: grid; place-items: center; width: 40px; height: 40px;
	border: 0; border-radius: 50%; background: var(--q-accent); color: #fff; cursor: pointer;
	box-shadow: 0 4px 12px rgb(181 86 47 / 35%);
	transition: transform .12s, background-color .15s;
}
.q-add:hover { background: var(--q-accent-dark); transform: scale(1.06); }
.q-add:focus-visible { outline: 3px solid var(--q-espresso); outline-offset: 2px; }


/* Cart */
.q-cart { background: var(--q-surface); border: 1px solid var(--q-line); border-radius: var(--q-radius); padding: 20px; box-shadow: var(--q-shadow); }
.q-cart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.q-cart__head h2 { margin: 0; font-family: var(--q-font-display); font-size: 1.5rem; }
.q-cart__close { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--q-cream); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.q-cart__empty { padding: 24px 0; text-align: center; }
.q-cart__empty p { margin: .25em 0; }
.q-lines { margin: 0 0 12px; padding: 0; list-style: none; }
.q-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--q-line); }
.q-line__main { display: grid; gap: 2px; font-size: .95rem; min-width: 0; }
.q-line__main .q-muted { font-size: .82rem; }
.q-line__total { font-weight: 700; min-width: 4.5em; text-align: right; }
.q-cart > .q-btn { margin-top: 12px; }
.q-totals { padding: 12px 14px; border-radius: var(--q-radius-sm); background: var(--q-bg); }
.q-totals p { margin: 4px 0 0; }
.q-gift summary { cursor: pointer; font-weight: 600; color: var(--q-accent-dark); }
.q-gift .q-row { margin-top: 10px; }
.q-checkout legend { margin-bottom: 8px; }

.q-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--q-line); border-radius: 999px; background: var(--q-surface); }
.q-stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--q-text); font-size: 1.25rem; cursor: pointer; border-radius: 50%; }
.q-stepper button:hover { background: var(--q-cream); }
.q-stepper output { min-width: 1.6em; text-align: center; font-weight: 700; }
.q-stepper--sm button { width: 34px; height: 34px; font-size: 1rem; }

/* Mobile cart bar + sheet */
.q-cartbar {
	position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
	display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px;
	border: 0; border-radius: 999px; background: var(--q-espresso); color: #fff;
	font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
}
.q-cartbar[hidden] { display: none; }
.q-cartbar__count { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--q-accent); font-size: .85rem; }
.q-cartbar__total { margin-left: auto; }
.q-cartbar.is-bump { animation: q-bump .35s ease; }
@keyframes q-bump { 50% { transform: scale(1.04); } }

@media (max-width: 959.98px) {
	.q-cart { display: none; }
	.q-cart.is-open {
		display: block; position: fixed; inset: auto 0 0 0; z-index: 100;
		max-height: 92dvh; overflow: auto; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
		border-radius: 20px 20px 0 0; border: 0;
		box-shadow: 0 -10px 40px rgb(0 0 0 / 35%);
		animation: q-up .25s ease;
	}
	.q-cart.is-open .q-cart__close { display: grid; place-items: center; }
	.q-cart.is-open .q-cart__head { position: sticky; top: -20px; z-index: 1; margin: -20px -16px 8px; padding: 16px; background: var(--q-surface); border-bottom: 1px solid var(--q-line); }
	html.q-lock { overflow: hidden; }
	html.q-lock body::after { content: ""; position: fixed; inset: 0; z-index: 90; background: rgb(28 23 20 / 55%); }
	.q-order { padding-bottom: 80px; }
}
@keyframes q-up { from { transform: translateY(40px); opacity: 0; } }

/* Item dialog */
.q-dialog { width: min(560px, calc(100vw - 24px)); max-height: 92dvh; padding: 0; border: 0; border-radius: 20px; background: var(--q-surface); color: var(--q-text); box-shadow: 0 30px 80px rgb(0 0 0 / 40%); }
.q-dialog::backdrop { background: rgb(28 23 20 / 60%); backdrop-filter: blur(2px); }
.q-dialog[open] { animation: q-pop .2s ease; }
@keyframes q-pop { from { transform: scale(.97); opacity: 0; } }
.q-dialog__inner { display: flex; flex-direction: column; max-height: 92dvh; }
.q-dialog__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--q-shadow); }
.q-dialog__img { width: 100%; aspect-ratio: 4 / 3; max-height: 34vh; object-fit: cover; }
.q-dialog__body { display: grid; gap: 14px; padding: 20px; overflow: hidden auto; }
.q-dialog__body h2 { margin: 0; font-family: var(--q-font-display); font-size: 1.6rem; line-height: 1.15; padding-right: 36px; }
.q-dialog__body p { margin: 0; }
.q-dialog__foot { display: flex; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--q-line); }
.q-note { padding: .6em .9em; border-radius: var(--q-radius-sm); background: #fdecea; font-size: .9rem; }
.q-optgroup { display: grid; gap: 6px; }
.q-optgroup legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 4px; font-weight: 700; }
.q-optgroup legend .q-muted { font-weight: 500; font-size: .85rem; }
.q-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--q-line); border-radius: var(--q-radius-sm); cursor: pointer; }
.q-opt:has(input:checked) { border-color: var(--q-accent); background: color-mix(in srgb, var(--q-accent) 6%, transparent); }
.q-opt input { width: 20px; height: 20px; accent-color: var(--q-accent); }
.q-opt span:nth-of-type(1) { flex: 1; }

.q-toast { position: fixed; left: 50%; bottom: 90px; z-index: 120; transform: translate(-50%, 20px); padding: .7em 1.2em; border-radius: 999px; background: var(--q-espresso); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.q-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .q-toast { bottom: 24px; } }

/* Text-note choices + missing required group */
.q-opt-text { width: 100%; min-height: 48px; padding: .65em .85em; border: 1.5px solid var(--q-line); border-radius: var(--q-radius-sm); font: inherit; font-size: max(16px, 1rem); }
.q-opt-text:focus { outline: none; border-color: var(--q-accent); }
.q-optgroup.is-missing { padding: 10px; margin: -10px; border-radius: var(--q-radius-sm); background: #fdecea; }
.q-optgroup.is-missing legend::after { content: "Please choose one"; margin-left: auto; color: var(--q-bad); font-size: .85rem; }
.q-opt:has(input:disabled) { opacity: .5; }

/* Desktop: product-page layout – photo left, choices right */
@media (min-width: 900px) {
	.q-dialog:has(.q-dialog__img) { width: min(960px, calc(100vw - 48px)); }
	.q-dialog:has(.q-dialog__img) .q-dialog__inner { display: grid; grid-template-columns: 44% minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: min(720px, 90dvh); }
	.q-dialog__inner .q-dialog__img { grid-row: 1 / span 2; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
	.q-dialog:has(.q-dialog__img) .q-dialog__body { padding: 28px 28px 20px; }
	.q-dialog:has(.q-dialog__img) .q-dialog__foot { grid-column: 2; padding: 14px 28px 18px; }
}
.q-dialog__body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.q-optgroup + .q-optgroup, .q-optgroup + .q-field { margin-top: 6px; }
@media (min-width: 480px) {
	.q-optgroup:has(> .q-opt:nth-of-type(5)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.q-optgroup:has(> .q-opt:nth-of-type(5)) > legend { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.q-dialog { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
	.q-dialog__img { max-height: 22vh; }
	.q-dialog__foot .q-btn { white-space: nowrap; padding-inline: 1em; }
}

/* ===================== Sections: wrapped grid + burger ===================== */
.q-sectiongrid { margin: 0 0 14px; }
.q-sectiongrid__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.q-sectiongrid a, .q-secpanel a {
	display: inline-flex; align-items: center; gap: .5em; padding: .5em .6em .5em 1em; border-radius: 999px;
	color: var(--q-text); font-size: .92rem; font-weight: 600; text-decoration: none;
	background: var(--q-glass); border: 1px solid rgb(255 255 255 / 80%);
	box-shadow: var(--q-glass-edge), var(--q-glass-depth);
	transition: transform .2s var(--q-spring), background .2s, color .2s;
}
.q-sectiongrid a:hover, .q-secpanel a:hover { transform: translateY(-1px); }
.q-sectiongrid a[aria-current], .q-secpanel a[aria-current] { background: var(--q-glass-dark); color: #fff; border-color: rgb(255 255 255 / 15%); }
.q-count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; border-radius: 999px; background: rgb(28 23 20 / 7%); font-size: .75rem; font-variant-numeric: tabular-nums; }
a[aria-current] .q-count { background: rgb(255 255 255 / 18%); }
@media (max-width: 959.98px) { .q-sectiongrid { display: none; } }

.q-order__toolbar { padding: 10px 0; }
.q-bar { display: flex; gap: 10px; align-items: center; }
.q-bar .q-filters { flex: 1; flex-wrap: nowrap; min-width: 0; }
.q-bar .q-search { flex: 1 1 auto; min-width: 0; }
.q-burger {
	display: inline-flex; align-items: center; gap: .6em; flex: none; max-width: 46vw;
	min-height: 46px; padding: .35em .9em .35em .8em; border-radius: 999px;
	color: var(--q-text); font: inherit; cursor: pointer; text-align: left;
}
.q-burger[hidden] { display: none; }
.q-burger__label { display: grid; line-height: 1.1; min-width: 0; }
.q-burger__hint { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--q-accent-dark); }
.q-burger__label strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .92rem; }
.q-burger__label strong.is-swap { animation: q-swap .35s var(--q-spring); }
@keyframes q-swap { from { opacity: 0; transform: translateY(6px); } }
.q-burger.is-open .q-ico--burger path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.q-burger.is-open .q-ico--burger path:nth-child(2) { opacity: 0; transform: scaleX(0); }
.q-burger.is-open .q-ico--burger path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.q-burger .q-ico--chev { transition: transform .35s var(--q-spring); }
.q-burger.is-open .q-ico--chev { transform: rotate(180deg); }
.q-burger:not(.is-open):hover .q-ico--burger path:nth-child(2) { transform: scaleX(.6); }

.q-secpanel {
	position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 30;
	max-height: min(70vh, 560px); overflow: auto; padding: 14px; border-radius: 20px;
	background: linear-gradient(180deg, rgb(255 253 249 / 98%), rgb(251 247 241 / 96%));
	-webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
	border: 1px solid rgb(255 255 255 / 85%);
	box-shadow: var(--q-glass-edge), 0 24px 60px -20px rgb(28 23 20 / 45%);
	animation: q-drop .3s var(--q-spring);
}
@keyframes q-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.q-secpanel__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.q-secpanel a { display: flex; justify-content: space-between; width: 100%; border-radius: 14px; padding: .8em .8em .8em 1em; }
@media (max-width: 560px) {
	.q-secpanel__list { grid-template-columns: 1fr 1fr; }
	.q-bar { flex-wrap: wrap; }
	.q-burger { max-width: none; flex: 1 1 100%; }
	.q-bar .q-filters { flex-basis: 100%; }
	.q-bar .q-chips { flex-wrap: nowrap; }
	.q-bar .q-chip { padding-inline: .8em; }
}

/* ===================== Checkout: day + time pickers ===================== */
.q-when { display: grid; gap: 8px; }
.q-when > legend, .q-when__label { margin: 0 0 2px; padding: 0; font-weight: 600; font-size: .9rem; }
.q-when__label { margin-top: 6px; }
.q-dates-wrap { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.q-dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; min-width: 0; flex: 1; }
.q-daychip, .q-datepick {
	position: relative; flex: none; display: grid; justify-items: center; align-content: center; gap: 1px;
	width: 62px; min-height: 76px; border-radius: 16px; cursor: pointer; scroll-snap-align: start;
	background: var(--q-glass); border: 1px solid rgb(255 255 255 / 80%); box-shadow: var(--q-glass-edge), var(--q-glass-depth);
	transition: transform .2s var(--q-spring), background .2s, color .2s;
}
.q-daychip:hover, .q-datepick:hover { transform: translateY(-2px); }
.q-daychip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-daychip__dow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--q-muted); }
.q-daychip__num { font-family: var(--q-font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.q-daychip__mon { font-size: .72rem; color: var(--q-muted); }
.q-daychip:has(input:checked) { background: var(--q-glass-tint); color: #fff; border-color: rgb(255 255 255 / 30%); box-shadow: 0 0 0 1px rgb(120 50 20 / 40%), inset 0 1px 0 rgb(255 255 255 / 45%), 0 10px 22px -10px rgb(181 86 47 / 70%); }
.q-daychip:has(input:checked) span { color: #fff; }
.q-daychip:has(input:checked) .q-daychip__num { animation: q-pop-in .35s var(--q-spring); }
.q-daychip:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--q-accent) 55%, transparent); outline-offset: 2px; }
.q-datepick { margin: 4px 0 8px; font-size: .7rem; font-weight: 700; color: var(--q-accent-dark); text-align: center; overflow: hidden; }
.q-datepick[hidden] { display: none; }
.q-datepick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.q-datepick:hover .q-ico__dot { animation: q-blink .8s ease-in-out infinite; }
@keyframes q-blink { 50% { opacity: .2; } }

.q-times { display: grid; gap: 10px; }
.q-times__label { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--q-muted); }
.q-times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.q-timechip { justify-content: center; min-height: 42px; padding: .4em .5em; font-variant-numeric: tabular-nums; }
.q-timechip b { margin-right: .25em; color: var(--q-accent-dark); }
.q-timechip:has(input:checked) b { color: #ffd2bd; }

/* Custom tip */
.q-tipamount { display: flex; align-items: center; gap: 6px; max-width: 170px; margin-top: 10px; animation: q-drop .3s var(--q-spring); }
.q-tipamount span { font-weight: 700; }
.q-tipamount input { min-height: 44px !important; }

/* Glass for the floating controls */
.q-add { background: var(--q-glass-tint); border: 1px solid rgb(255 255 255 / 30%); box-shadow: 0 0 0 1px rgb(120 50 20 / 35%), inset 0 1px 0 rgb(255 255 255 / 45%), 0 8px 18px -6px rgb(181 86 47 / 60%); transition: transform .25s var(--q-spring); }
.q-add:hover { background: var(--q-glass-tint); transform: scale(1.08); }
.q-add:hover .q-ico--plus { transform: rotate(90deg); }
.q-add:active { transform: scale(.92); }
.q-cartbar { background: linear-gradient(180deg, rgb(58 47 40 / 92%), rgb(28 23 20 / 94%)); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgb(255 255 255 / 14%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 14px 34px -10px rgb(0 0 0 / 55%); }
.q-cartbar.is-bump .q-ico--bag { animation: q-wiggle .5s ease; }
@keyframes q-wiggle { 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
.q-times__grid.is-collapsed > .q-timechip:nth-child(n+9):not(:has(input:checked)) { display: none; }
.q-times__more { margin-top: 6px; font-size: .85rem; }
.q-bar .q-chip { white-space: nowrap; }
@media (max-width: 560px) {
	.q-bar .q-filters { flex-wrap: wrap; }
	.q-bar .q-search { flex: 1 1 100%; }
	.q-bar .q-chips { flex: 1 1 100%; }
	.q-bar .q-chip { flex: 1; justify-content: center; }
}

/* ---- Checkout: numbered steps ---- */
.q-checkout { counter-reset: qstep; gap: 14px; }
.q-step { display: grid; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--q-line); border-radius: var(--q-radius); background: var(--q-surface); box-shadow: 0 1px 2px rgb(28 23 20 / 4%); }
.q-step[hidden] { display: none; }
.q-step__title { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1.05rem/1.25 var(--q-font-display); color: var(--q-text); counter-increment: qstep; }
.q-step__title::before { content: counter(qstep); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--q-accent); color: #fff; font: 700 .8rem/1 system-ui, sans-serif; }
.q-step__title .q-muted { font: 400 .85rem/1 system-ui, sans-serif; }
.q-step .q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-step .q-row--addr { grid-template-columns: 1fr 120px; }
.q-step .q-row--end { grid-template-columns: 1fr auto; align-items: end; }
/* The checkout sits in a narrow sidebar on desktop and a sheet on phones: stack paired fields there. */
@media (min-width: 960px), (max-width: 480px) { .q-step .q-row { grid-template-columns: 1fr; } .q-step .q-row--addr { grid-template-columns: 1fr 96px; } .q-step .q-row--end { grid-template-columns: 1fr auto; } }
.q-step .q-field label { font-size: .85rem; }
.q-req { color: var(--q-bad); text-decoration: none; border: 0; }
.q-step .q-field input::placeholder, .q-step textarea::placeholder { color: color-mix(in srgb, var(--q-muted) 70%, transparent); }
.q-step--type .q-seg { margin: 0; }
.q-step--pay { background: color-mix(in srgb, var(--q-cream) 45%, var(--q-surface)); }
.q-zone { margin: 0; padding: 9px 12px; border-radius: var(--q-radius-sm); background: color-mix(in srgb, var(--q-cream) 60%, transparent); color: var(--q-muted); font-size: .85rem; }
.q-zone.is-ok { background: #edf5ee; color: #2f5a3c; font-weight: 600; }
.q-zone.is-bad { background: #fdecea; color: var(--q-bad); font-weight: 600; }
.q-zone a { color: inherit; }
.q-field input[aria-invalid="true"] { border-color: var(--q-bad) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--q-bad) 15%, transparent); }

/* ---- "We don't deliver there" popup ---- */
.q-nodeliver { width: min(440px, 92vw); padding: 26px 24px 22px; border: 0; border-radius: 20px; background: var(--q-surface, #fff); color: var(--q-text, #2a211c); text-align: center; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 45%); }
.q-nodeliver::backdrop { background: rgb(28 23 20 / 55%); backdrop-filter: blur(3px); }
.q-nodeliver__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; background: #fdecea; color: #b42318; }
.q-nodeliver__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.q-nodeliver h2 { margin: 0 0 8px; font: 600 1.35rem/1.2 var(--wp--preset--font-family--display, Georgia, serif); }
.q-nodeliver p { margin: 0 0 10px; line-height: 1.5; }
.q-nodeliver p a { color: #93421f; }
.q-nodeliver__btns { display: grid; gap: 8px; margin-top: 16px; }
.q-nodeliver, .q-nodeliver * { box-sizing: border-box; }
.q-nodeliver { overflow: hidden; }
.q-nodeliver__btns .q-btn { justify-content: center; width: 100%; min-width: 0; margin: 0; }

/* Saved addresses at checkout (signed-in customers) */
.q-saved-addr { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-bottom: 10px; }
.q-saved-addr__btn { display: grid; gap: 1px; min-width: 0; flex: 1 1 140px; padding: 9px 12px; border: 1.5px solid var(--q-line); border-radius: 12px; background: var(--q-surface); color: var(--q-text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.q-saved-addr__btn span { overflow: hidden; color: var(--q-muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.q-saved-addr__btn em { color: var(--q-sage); font-size: .72rem; font-style: normal; font-weight: 700; }
.q-saved-addr__btn:hover:not(:disabled), .q-saved-addr__btn.is-on { border-color: var(--q-accent); box-shadow: 0 0 0 1px var(--q-accent); }
.q-saved-addr__btn.is-far { opacity: .55; cursor: not-allowed; }
.q-saved-addr__btn.is-far em { color: var(--q-bad); }
.q-saved-addr__manage { align-self: center; font-size: .82rem; font-weight: 600; }
