/* Additions to the La Gratar markup for engine-only states */
[hidden] { display: none !important; }

.catalog-header__item._active { color: #BE802B; }
.products-section__title a { color: inherit; }

.shop-empty { padding: 40px 0; text-align: center; font-size: 18px; }
.shop-empty p { margin-bottom: 20px; }
.shop-empty ._btn { display: inline-flex; }

/* Form messages (errors / success) in the dark theme: tinted glass with an icon */
.shop-alert {
	--alert-color: #ff6b6b;
	position: relative;
	margin-bottom: 20px;
	padding: 12px 16px 12px 46px;
	border: 1px solid color-mix(in srgb, var(--alert-color) 40%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--alert-color) 10%, rgba(255, 255, 255, .03));
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	animation: shop-alert-in .25s ease-out;
}
.shop-alert::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 16px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: var(--alert-color);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.shop-alert._success { --alert-color: #5cc98a; }
.shop-alert._success::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E");
}
.shop-alert._hiding { opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
@keyframes shop-alert-in { from { opacity: 0; transform: translateY(-4px); } }

/* Unchecked required checkbox: the text stays readable, only the box is highlighted */
.checkbox._error .checkbox__content:before { border-color: #BE802B; box-shadow: 0 0 0 3px rgba(190, 128, 43, .3); animation: checkbox-shake .4s; }
/* Privacy link in the consent checkbox: white, underlined (not the accent color) */
.sidebar-order__footer .checkbox a { color: #fff; text-decoration: underline; }
/* Consent reminder: the site-wide glass alert in the gold accent, not a red error */
.sidebar-order__terms-error.shop-alert { margin: 0; }
@keyframes checkbox-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* Privacy policy popup on checkout: wider panel for reading */
.popup_doc .popup__body { max-width: 720px; }
.popup_doc .login__title { font-size: 24px; }

/* Several badges on a product preview: stack them like on the product card */
.product-preview__mods { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.product-preview__mods .product-preview__mod { position: static; }

/* Mobile: the preview image is only 116px wide - badges ~1/3 smaller */
@media (max-width: 721.98px) {
	.product-preview__mods { top: 6px; left: 6px; gap: 4px; }
	.product-preview__mod { top: 6px; left: 6px; padding: 2px 3px; border-radius: 4px; gap: 2px; font-size: 8px; line-height: 1.2; }
	.product-preview__mod img, .product-preview__mod svg { flex: 0 0 10px; width: 10px; height: 10px; }
}

.shop-old-price { font-size: .8em; opacity: .6; margin-left: 4px; }

/* Lazy loading indicator */
.shop-loader { padding: 30px 0 50px; text-align: center; opacity: .6; font-size: 14px; }

/* Category menu is dragged with the mouse: no text selection / link ghost while dragging */
.catalog-header { -webkit-user-select: none; user-select: none; }
.catalog-header__list a { -webkit-user-drag: none; }

/* Desktop: category menu no wider than the content container (arrows stay on its edges) */
@media (min-width: 1452px) {
	.catalog-header__list { display: flex; margin: 0 0 -16px; padding: 0 0 16px; max-width: 100%; }
	/* Arrows centered on the text line (14px, line-height 1), not on the taller container */
	.catalog-header__arrow-next, .catalog-header__arrow-prev { top: 7px; }
}

/* Native scrollbar is hidden (browsers don't repaint it on a class change);
   shop.js draws .catalog-header__bar and shows it only while the menu is moving */
.catalog-header__list { scrollbar-width: none; }
.catalog-header__list::-webkit-scrollbar { display: none; }
.catalog-header__bar { position: absolute; height: 2px; background-color: #626262; opacity: 0; pointer-events: none; transition: opacity .3s; }
.catalog-header__bar._visible { opacity: 1; transition: none; }


/* Text pasted into the editor brings inline colors/fonts (e.g. black on the dark background) - ignore them */
.article__content * { color: inherit !important; font-family: inherit !important; background-color: transparent !important; }
/* ...and often comes as one <div> with a <div> per paragraph: the template spaces only direct children, so nested blocks too;
   a bold-only line ("1. DISPOZIȚII GENERALE") is a section heading - more space above it */
.article__content div:not(:last-child), .article__content p:not(:last-child) { margin-bottom: 12px; }
.article__content div:has(> b:only-child):not(:first-child) { margin-top: 28px; }
.article__content b, .article__content strong { font-weight: 700; }

/* iiko stop list: item is shown but can't be ordered */
.product-preview._stop .product-preview__image,
.product-preview._stop .product-preview__title,
.product-preview._stop .product-preview__text,
.product-preview._stop .product-preview__price,
.card._stop .card__image,
.card._stop .card__price,
.product-cart._stop .product-cart__main,
.product-cart._stop .product-cart__price,
.product-cart._stop .product-cart__total { opacity: .45; }
.shop-stop-label { font-size: 14px; font-weight: 600; color: #DE273A; white-space: nowrap; }
.product-preview .shop-stop-label { justify-self: end; }
.product-cart .shop-stop-label { display: flex; align-items: center; justify-content: center; height: auto; }
.shop-stop-button { opacity: .5; pointer-events: none; cursor: default; }

/* Account: success message in the cabinet forms, empty orders history */
.login__body .shop-alert { margin-bottom: 0; }
/* Long popup titles ("Восстановление пароля") must not touch the close button on phones */
.login__head { column-gap: 12px; }
.login__close { flex-shrink: 0; }
@media (max-width: 374.98px) {
	.login__title { font-size: 20px; }
}
.history__empty { color: #8a8a8a; }

/* Checkout: spacing from the Figma frame (20px between rows, text 16px from the edge) */
.order__title-section { margin-bottom: 20px; }
.order__body { row-gap: 20px; }
.order__input input.input { padding: 0 16px; }
.order__select .select__value { padding: 0 16px; }
.sidebar-order__footer .checkbox { display: flex; }
.sidebar-order__footer .checkbox._disabled { opacity: .4; pointer-events: none; transition: opacity .2s; }
.order-submited__body .shop-alert { margin: 20px 0 0; text-align: left; }
/* Payment failed: the two buttons side by side, same width, centred; stacked on mobile */
.order-submited__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.order-submited__actions form { flex: 1 1 200px; max-width: 260px; }
.order-submited__actions .order-submited__button { width: 100%; height: 100%; justify-content: center; white-space: nowrap; padding-left: 20px; padding-right: 20px; }
@media (max-width: 479.98px) {
	.order-submited__actions { flex-direction: column; align-items: stretch; }
	.order-submited__actions form { flex: none; max-width: none; }
}
.shop-alert._info { --alert-color: #BE802B; }

/* Checkout adaptive from the Figma frames: tablet 768 (149:30549), mobile 360 (149:30980) */
@media (max-width: 991.98px) {
	.order__main, .order__sidebar { padding: 20px; }
	.order__head { padding: 10px 0; }
	.order__content { row-gap: 20px; margin-top: 20px; }
}
@media (max-width: 721.98px) {
	.order__head { padding: 0 0 10px; } /* style.min.css mobile value, restated after the tablet rule */
	/* phone / e-mail and street / house stack with 16px between them */
	.order__item:not(._full) + .order__item:not(._full) { margin-top: -4px; }
}

/* Cart: totals stay on one line ("1 690 lei" did not fit the fixed 70px column) */
.cart__total span:nth-child(2), .product-cart__total { flex: 0 0 auto; width: auto; min-width: 70px; white-space: nowrap; }

/* Checkout: "account exists — sign in" under the contact fields */
.order__item[data-order-account] .shop-alert { margin: 0; }
.shop-alert a { color: var(--alert-color); text-decoration: underline; }

/* Street search list (iiko streets) — the site's select look */
.street-select { position: relative; }
.street-select .select__value { padding: 0 16px; flex-direction: row-reverse; }
.street-select .select__value:before { pointer-events: none; }
/* [streets-list] street is free text (no iiko list): no dropdown arrow; comes back with the list ([data-street-select]) */
.street-select:not([data-street-select]) .select__value:before { display: none; }
.street-select__input { color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.street-select__input._focus { color: #fff; }
.street-select._active { z-index: 5; }
.street-select._active .select__value:before { transform: rotate(-180deg); }
.street-select._active .select__title { border-color: #BE802B; }
.street-select__options {
	display: none; max-height: 264px; overflow-y: auto; padding: 6px 0;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.1);
	overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(190, 128, 43, 0.6) transparent;
}
.street-select._active .street-select__options { display: block; }
.street-select__option { cursor: pointer; padding: 10px 16px; transition: color 0.15s, background-color 0.15s; }
.street-select__option._active { color: #BE802B; background-color: rgba(255, 255, 255, 0.06); }
@media (hover: hover) {
	.street-select__option:hover { color: #BE802B; background-color: rgba(255, 255, 255, 0.06); }
}
.street-select__empty { padding: 10px 16px; color: rgba(255, 255, 255, 0.5); }
.street-select .select__title._error, .street-select .select__value._error { border-color: #e04f4f; }
/* Delivery city: the template's custom select (admin "Livrare" cities) */
.delivery-city .select__value { padding: 0 16px; }
.delivery-city .select__options { max-height: 260px; overflow-y: auto; }

/* Orders switched off in the admin (holidays): notice above the page content */
.shop-orders-off { padding-top: 20px; }
.shop-orders-off .shop-alert { margin: 0; }

/* "Sign in with Google" button in the login / register popups */
.login__google { gap: 10px; }
.login__google img { width: 20px; height: 20px; flex: 0 0 20px; }

/* Product page: the allergen list in italics */
.details-card__text._allergens { font-style: italic; }

/* Footer: gap between the slogan and the socials; the developer link sits under the last column */
.footer__column._main .footer__socials { margin-top: 16px; }
@media (min-width: 992px) {
  .footer__dev { width: calc((100% - 160px) / 5); }
}

/* Footer: maib and card scheme logos (maib e-commerce requirement); white chips so the logos read on the dark footer */
.footer__payments { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-right: 24px; }
.footer__payments img { box-sizing: content-box; height: 22px; width: auto; padding: 6px 10px; background: #fff; border-radius: 6px; }
@media (max-width: 991.98px) {
  .footer__bottom { flex-wrap: wrap; row-gap: 12px; }
  .footer__payments { order: -1; flex: 0 0 100%; margin-right: 0; }
  .footer__payments img { height: 18px; padding: 5px 8px; }
}

/* Footer: company bank requisites under the contacts column */
.footer__requisites { margin-top: 24px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .6); }
.footer__requisites p + p { margin-top: 2px; }

/* Cart: delivery-cost hint, a caption over the Continue button */
.cart__note { margin: 0 0 -16px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .55); text-align: center; text-wrap: balance; }

/* Dishes sold by weight: "by weight" label, (i) tooltip with the weighing note (anchored to the label's left edge, so it never leaves the card) */
.weight-hint { position: relative; display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; font-size: 12px; font-weight: 500; line-height: 1; }
.weight-hint__label { padding: 4px 8px; border: 1px solid rgba(190, 128, 43, .6); border-radius: 20px; color: #be802b; white-space: nowrap; }
.weight-hint__icon { display: inline-flex; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .6); cursor: help; transition: color .2s; }
.weight-hint__icon:hover, .weight-hint__icon:focus-visible { color: #be802b; }
.weight-hint__tip { position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 20; width: 240px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: #2b2724; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); color: #fff; font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.weight-hint__icon:hover .weight-hint__tip, .weight-hint__icon:focus .weight-hint__tip { opacity: 1; visibility: visible; transform: none; }
.weight-hint._preview { margin-right: auto; }
.weight-hint._card { margin-top: 12px; font-size: 14px; }
.weight-hint._card .weight-hint__icon svg { width: 18px; height: 18px; }
/* Cart: the weighing note on the same line as the "by weight" label; on mobile the column is narrow — under the whole line */
.weight-hint._cart { flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; }
.weight-hint__text { font-size: 13px; font-weight: 400; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.product-cart._weight { flex-wrap: wrap; }
.product-cart__note { display: none; flex: 0 0 100%; margin-top: 10px; padding-left: 95px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.tabs-order__item._disabled { opacity: .35; }
.tabs-order__item._disabled .tabs-order__content { cursor: not-allowed; }
.order__pay-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .6); }
@media (max-width: 721.98px) {
	.weight-hint._preview { align-self: flex-start; }
	.weight-hint._preview .weight-hint__tip { width: calc(50vw - 30px); }
	/* the weighing note makes the line taller: keep the photo square */
	.product-cart__image { align-self: flex-start; }
	.weight-hint._cart .weight-hint__text { display: none; }
	.product-cart__note { display: block; }
}

/* Checkout: order summary follows the scroll. .wrapper clips instead of hiding so it stops being
   a scroll container (overflow: hidden there disables sticky); top = fixed header 119px + 30px */
.wrapper { overflow: clip; }
@media (min-width: 992px) and (min-height: 700px) {
	.order__sidebar { position: sticky; top: 149px; }
}

/* Drinks in several volumes: a row per volume — price · volume and its own "+" (catalog card and product page) */
.product-preview__variants { display: flex; flex-direction: column; row-gap: 8px; margin-top: auto; }
.product-preview__variant { margin-top: 0; }
.product-preview__price .product-preview__volume, .card__volume { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.product-preview__volume::before { content: '· '; }
.card__variants { display: flex; flex-direction: column; margin-bottom: 30px; }
.card__variant { display: flex; align-items: center; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.card__variant:last-child { border-bottom: 0; }
.card__volume { font-size: 16px; }
.card__variant .product-preview__action { flex: 1; }
@media (max-width: 1452px) and (min-width: 721.98px) {
	.product-preview__variant .product-preview__price span { display: inline; }
}
@media (max-width: 721.98px) {
	/* one line per volume with a round "+", not a full width "To cart" button under every price */
	.product-preview__other.product-preview__variant { flex-direction: row; align-items: center; }
	.product-preview__variant .product-preview__action, .card__variant .product-preview__action { justify-items: end; }
	.product-preview__variant .product-preview__add, .card__variant .product-preview__add { width: 35px; font-size: 0; }
	.product-preview__variant .product-preview__add svg, .card__variant .product-preview__add svg { display: block; }
	.product-preview__variant .product-preview__quantity, .card__variant .product-preview__quantity { width: 100px; }
	.card__variants { margin-bottom: 20px; }
	.card__variant .card__price { flex: 0 0 auto; font-size: 20px; }
	.product-preview__variant .product-preview__price span { display: inline; }
	.product-preview__variant .product-preview__price { flex: 1; }
	.product-preview__variant .product-preview__action { flex: 0 0 auto; }
}

/* Drinks (a category with subcategories): subcategory links that stay under the fixed header while scrolling,
   then each subcategory as a 2-column list of cards — picture, name, composition, "price · volume [+]" */
.drinks__nav { position: sticky; top: var(--header-h, 124px); z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-block: 10px; background: #000; }
.drinks__chip { padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50px; font-size: 14px; font-weight: 600; text-transform: uppercase; transition: color .3s, border-color .3s; }
@media (any-hover: hover) { .drinks__chip:hover { color: #BE802B; border-color: #BE802B; } }
.drinks { margin-top: 30px; }
.drinks__section { scroll-margin-top: calc(var(--header-h, 124px) + 80px); }
.drinks__section + .drinks__section { margin-top: 50px; }
.drinks__subtitle { margin-bottom: 20px; padding-left: 14px; border-left: 3px solid #BE802B; font-size: 22px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.drinks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-items: start; }
.product-line { display: flex; min-height: 140px; overflow: hidden; border-radius: 12px; background: linear-gradient(106.7deg, #151515 2.18%, #3c3837 49.41%, #181212 97.56%); }
/* the picture in the proportions of the dish cards (.product-preview__image): 296/222 (4:3), on phones 1:1 */
.product-line__image { position: relative; flex: 0 0 auto; align-self: flex-start; height: 140px; aspect-ratio: 296 / 222; overflow: hidden; }
.product-line__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-line__body { flex: 1; min-width: 0; display: flex; flex-direction: column; row-gap: 4px; padding: 14px 16px; }
.product-line__name { font-size: 16px; font-weight: 700; transition: color .3s; }
@media (any-hover: hover) { a.product-line__name:hover { color: #BE802B; } }
.product-line__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 14px; color: rgba(255, 255, 255, .6); }
.product-line__rows { display: flex; flex-direction: column; row-gap: 6px; margin-top: auto; padding-top: 8px; }
.product-line__row { display: flex; align-items: center; justify-content: space-between; column-gap: 12px; min-height: 40px; }
.product-line__price { min-width: 0; font-size: 14px; }
.product-line__amount { font-size: 16px; font-weight: 700; white-space: nowrap; }
.product-line__price .shop-old-price { font-size: 14px; font-weight: 400; }
.product-line__volume { font-size: 14px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.product-line__volume::before { content: '· '; }
/* a single-volume drink: the price in the top right corner, next to the name (like the dish cards) */
.product-line__top { display: flex; align-items: flex-start; justify-content: space-between; column-gap: 12px; }
.product-line__top .product-line__name { min-width: 0; }
.product-line__top .product-line__price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.product-line__volume._alone::before { content: none; }
.product-line .product-preview__action { flex: 0 0 auto; justify-items: end; }
.product-line .product-preview__add { width: 40px; height: 40px; font-size: 0; }
.product-line .product-preview__add svg { display: block; }
.product-line .product-preview__quantity { width: 120px; }
/* the hidden quantity must not widen the line's action */
.product-line .product-preview__action:not(._added) .product-preview__quantity { width: 40px; }
.product-line._stop .product-line__name, .product-line._stop .product-line__text, .product-line._stop .product-line__image,
.product-line__row._stop .product-line__price, .product-line._stop .product-line__price { opacity: .45; }
@media (max-width: 991.98px) {
	.drinks__list { column-gap: 16px; }
	.drinks { margin-top: 20px; }
	.drinks__nav { margin-top: 10px; }
	.product-line { min-height: 120px; }
	.product-line__image { height: 120px; }
	.product-line__body { padding: 12px; }
}
@media (max-width: 721.98px) {
	.drinks__list { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
	.drinks__section + .drinks__section { margin-top: 36px; }
	.drinks__subtitle { margin-bottom: 14px; font-size: 18px; }
	.drinks__nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
	.drinks__nav::-webkit-scrollbar { display: none; }
	.drinks__chip { flex: 0 0 auto; padding: 8px 14px; font-size: 12px; }
	.product-line { min-height: 116px; }
	.product-line__image { height: 116px; aspect-ratio: 1; }
	.product-line__name, .product-line__amount { font-size: 15px; }
	.product-line .product-preview__add { width: 35px; height: 35px; }
	.product-line .product-preview__quantity { width: 100px; }
	.product-line .product-preview__action:not(._added) .product-preview__quantity { width: 35px; }
}

/* Dish card: the price in the top right corner, next to the name (like a single-volume drink, .product-line__top);
   the button stays at the bottom of the card on phones too (style.css sets margin-top: 0 there) */
.product-preview__top { display: flex; align-items: flex-start; justify-content: space-between; column-gap: 12px; }
.product-preview__top .product-preview__title { min-width: 0; }
.product-preview__top .product-preview__price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.product-preview__body > .product-preview__other { margin-top: auto; }

/* A row of a drink in several volumes: "price · volume" on one line with "+" */
.product-preview__other > .product-preview__price { flex: 0 0 auto; white-space: nowrap; }

/* Dish card: no reserved 4 lines under a short composition (style.css min-height: 4lh left an empty band above "+");
   the "+" row keeps margin-top: auto, so the buttons of one row of cards still line up at the bottom */
.product-preview__text { min-height: 0; }

/* Drinks in several volumes: at most two rows on a card, no empty space for a missing composition */
._variants .product-preview__text { min-height: 0; -webkit-line-clamp: 2; line-clamp: 2; }
.product-preview__more { align-self: flex-start; font-size: 13px; color: #BE802B; text-decoration: underline; }

/* QR-menu-only dish on the site: instead of "To cart" */
.shop-stop-label._dine-in { color: #BE802B; white-space: normal; text-align: right; }

/* "Up" button */
.scroll-top { position: fixed; right: 20px; bottom: calc(var(--dock-h, 0px) + 20px); z-index: 4; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #BE802B; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background-color .25s; }
.scroll-top._visible { opacity: 1; visibility: visible; transform: none; }
@media (any-hover: hover) { .scroll-top:hover { background: #a56d22; } }
@media (max-width: 721.98px) {
	.scroll-top { right: 14px; bottom: calc(var(--dock-h, 0px) + 16px); width: 44px; height: 44px; }
}

/* Burger menu on phones: 100vh in iOS Safari is taller than the visible area, the end of the list went under the toolbar.
   dvh is the visible height; the bottom padding keeps the last item clear of the home bar and the table dock. */
@media (max-width: 991.98px) {
	.menu__body {
		height: calc(100dvh - 62px);
		max-height: calc(100dvh - 62px);
		padding-bottom: calc(var(--dock-h, 0px) + env(safe-area-inset-bottom, 0px) + 24px);
		overscroll-behavior: contain;
	}
}

/* Order history: "Repeat order" next to "More details" */
.item-history__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.item-history__repeat { margin: 0; }
.item-history__repeat-btn { border: 0; cursor: pointer; transition: background-color .25s; }
@media (any-hover: hover) { .item-history__repeat-btn:hover { background-color: #a56d22; } }
.history__content > .shop-alert { margin: 0 0 20px; }
.cart__wrapper > .shop-alert { margin: 0 0 20px; }
@media (max-width: 479.98px) {
	.item-history__repeat, .item-history__repeat-btn { width: 100%; }
}
