/*
Theme Name: Kebabchik
Theme URI: https://kebabchik.local
Author: Kebabchik
Description: Тема для сайту Кебабчик. Темний хедер, меню категорій, пошук.
Version: 1.0
Text Domain: kebabchik
*/

/* ========== Variables (зі старого сайту) ========== */
:root {
	/* Header / існуючі */
	--header-bg: #1d1b20;
	--header-text: #ffffff;
	--header-text-muted: #b0b0b0;
	--logo-bg: #ffffff;
	--logo-text: #000000;
	--border-color: rgba(255, 255, 255, 0.25);
	--search-bg: rgba(255, 255, 255, 0.08);
	--hamburger-border: rgba(255, 255, 255, 0.5);
	--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--text-color: rgb(222, 226, 230);

	/* Палітра зі старого сайту */
	--error: #DF1B1B;
	--error-light: #FFCDCD;
	--warning: #EEA619;
	--warning-light: #FFEECC;
	--black: #1D1B20;
	--dark-grey: #343434;
	--grey: #7E7E7E;
	--medium-grey: #B9B9B9;
	--light-grey: #E3E3E3;
	--light: #F4F4F4;
	--white: #FFFFFF;

	/* Відступи (spacer 16px) */
	--spacer: 16px;
	--spacer-1: calc(var(--spacer) * 0.25);
	--spacer-2: calc(var(--spacer) * 0.5);
	--spacer-3: calc(var(--spacer) * 0.75);
	--spacer-4: var(--spacer);
	--spacer-5: calc(var(--spacer) * 1.25);
	--spacer-6: calc(var(--spacer) * 1.5);
	--spacer-7: calc(var(--spacer) * 2);
	--spacer-8: calc(var(--spacer) * 3);
	--spacer-9: calc(var(--spacer) * 4);
	--spacer-10: calc(var(--spacer) * 5);

	/* Типографіка */
	--font-size-base: 1rem;
	--h1-size: calc(var(--font-size-base) * 2);
	--h2-size: calc(var(--font-size-base) * 1.5);
	--h3-size: calc(var(--font-size-base) * 1.375);
	--h4-size: calc(var(--font-size-base) * 1.25);
	--h5-size: calc(var(--font-size-base) * 1.125);
	--h6-size: var(--font-size-base);
	--font-weight-bold: 600;
	--headings-font-weight: 600;

	/* Радіуси */
	--radius-sm: 0.3rem;
	--radius: 0.6rem;
	--radius-lg: 0.12rem;

	/* Сітка / контейнери */
	--breakpoint-sm: 576px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 1200px;
	--container-sm: 540px;
	--container-md: 720px;
	--container-lg: 1140px;

	/* Body */
	--body-bg: var(--white);
	--body-bg-subtle: var(--black);
	--body-bg-dark: var(--black);
}

/* ========== Base ========== */
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #333;
	background-color: #1d1b20;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

#main {
	flex: 1;
	width: 100%;
}

.container {
	max-width: 1140px;
	margin: 0 auto;
}

@media(max-width: 1160px) {
	.container {
		max-width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
}

.site-logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-logo img {
	filter: brightness(100);
	height: 35px;
	width: 150px;
}

/* ========== Header ========== */
.site-header {
	background: var(--header-bg);
	color: var(--header-text);
}

.header-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* .header-phone replaced by .header-phone-wrap */

.screen-reader-label {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header__left-wrapper {
	display: flex;
	align-items: center;
	gap: 40px;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
}

.site-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	max-height: 100px;
	overflow: hidden;
	transition:
		max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity    0.3s ease,
		padding    0.35s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: max-height, opacity;
}

/* Верхній ряд (лого, пошук, телефон) ховається вгору при скролі вниз */
.site-header.site-header--top-collapsed .site-header__top {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.site-header__top {
		transition-duration: 0.01ms;
	}
}

/* Search */
.header-search {
	display: flex;
	align-items: center;
	flex: 1;
	max-width: 280px;
	position: relative;
	gap: 0;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	background: transparent;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
	background: #3D3D3D;
	border-color: #AAAAAA;
	outline: none;
}

.header-search__label {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0;
	cursor: text;
}

.header-search__icon {
	flex-shrink: 0;
	color: var(--header-text-muted);
	transition: color 0.2s ease;
	pointer-events: none;
}

.header-search:focus-within .header-search__icon {
	color: #ffffff;
}

.header-search__input {
	flex: 1;
	min-width: 0;
	padding: 10px 8px;
	border: none;
	background: transparent;
	outline: none;
	color: #fff;
	font-size: 1rem;
}

.header-search__input::-webkit-search-cancel-button,
.header-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.header-search__input::placeholder {
	color: #AAAAAA;
}

.header-search__clear {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 0;
	min-width: 0;
	height: 32px;
	padding: 0;
	margin: 0;
	background: none;
	border: none;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, width 0.2s ease, margin 0.2s ease, color 0.2s ease, background 0.2s ease;
}

/* Кнопка очищення лише коли є текст, колір білий */
.header-search:has(.header-search__input:not(:placeholder-shown)) .header-search__clear {
	width: 32px;
	min-width: 32px;
	margin: 0 -4px 0 0;
	opacity: 1;
	pointer-events: auto;
	overflow: visible;
}

.header-search__clear:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

/* ========== Featured products section (under header) ========== */
.featured-products {
	background: transparent;
	color: #fff;
}

.featured-products__title {
	font-size: 21.25px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	margin: 0;
	margin-bottom: 24px;
}

.featured-products__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
}

.featured-products__item {
	/* flex: 1 1 calc(25% - 26px); */
	width: calc(25% - 26px);
}

/* ---- Бейдж продукту (на картці і в featured) ---- */
.product-badge {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 20px;
	background: var(--color-primary, #e31e24);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.featured-products__card {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	background: #1d1b20;
	border-radius: 10px;
	padding: 16px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0px 2.125px 4.25px 0px rgba(0, 0, 0, 0.25);
	transform: translateY(0);
	transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-products__card:hover {
	transform: translateY(-5px);
}

.home-menu-category__item img {
	transform: translateY(0);
	transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.home-menu-category__item img:hover {
	transform: translateY(-5px);
	transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-products__meta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.featured-products__image {
	width: 87px;
	height: 87px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
}

.featured-products__name {
	font-size: 0.9375rem;
	line-height: 1.3;
	font-weight: 500;
	color: #f0f0f2;
	margin: 0;
}

.featured-products__price {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

@media (max-width: 992px) {
	.featured-products__item {
		flex: 0 0 calc(50% - 10px);
	}
	.featured-products__title {
		font-size: 28px;
	}
	.featured-products__name {
		font-size: 1.125rem;
	}
	.featured-products__price {
		font-size: 1.375rem;
	}
}

@media (max-width: 640px) {
	.featured-products {
		padding: 16px 0 4px;
	}
	.featured-products__list {
		gap: 12px;
	}
	/* flex-shrink: 0 вже задано в 990px — не перебиваємо */
	.featured-products__item {
		flex: 0 0 72vw;
		max-width: 260px;
	}
	.featured-products__title {
		font-size: 24px;
		margin-bottom: 12px;
	}
	.featured-products__image {
		width: 72px;
		height: 72px;
	}
	.featured-products__name {
		font-size: 1rem;
	}
	.featured-products__price {
		font-size: 1.25rem;
	}
}

/* ========== Home: menu by categories (after featured) ========== */
.home-menu-categories {
	background: transparent;
	color: #fff;
	padding: 0 0 24px;
}

.home-menu-category {
	padding: 20px 0 8px;
}

.home-menu-category__title {
	font-weight: 600;
	line-height: 1.2;
	color: var(--bs-heading-color);
	font-size: 1.5rem;
	cursor: default;
	margin: 0;
	margin-bottom: 15px;
}

.home-menu-category__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.home-menu-category__item {
	width: calc(25% - 48px);
}

.home-menu-category__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.home-menu-category__link {
	display: flex;
	gap: 14px;
	color: #fff;
	text-decoration: none;
	flex-direction: column;
}

.home-menu-category__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
	flex-wrap: nowrap;
}

.home-menu-category__offers {
	flex: 1;
	min-width: 0;
}

.home-menu-category__add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #F61313;
	color: #fff;
	line-height: 0;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.home-menu-category__add-btn:hover {
	background: #a01830;
	color: #fff;
}

.home-menu-category__add-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.home-menu-category__footer-action {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 44px;
}

/* Лічильник кількості (простий кошик на головній) */
.home-menu-category__qty {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-height: 44px;
}

.home-menu-category__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #F61313;
	color: #fff;
	line-height: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

button.home-menu-category__qty-btn.home-menu-category__qty-minus {
    background: transparent;
}

a.home-menu-category__qty-btn {
    text-decoration: none;
}

.home-menu-category__qty-btn:hover {
	background: #a01830;
	color: #fff;
}

.home-menu-category__qty-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.home-menu-category__qty-val {
	min-width: 1.25em;
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: #fff;
}

/* Плаваюча панель простого кошика */
.kebabchik-cart-bar[hidden] {
	display: none !important;
}

.kebabchik-cart-bar {
	display: flex;
	justify-content: center;
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 1040;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	pointer-events: none;
	width: 100%;
}

.kebabchik-cart-bar:not([hidden]) {
	pointer-events: auto;
}

.kebabchik-cart-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 30px;
    background: #F61313;
    color: #fff;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1.25;
	min-width: 400px;
    box-shadow: 0px 0px 40px 0 #f6131369 !important;
}

.kebabchik-cart-bar__left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.kebabchik-cart-bar__icon {
	display: flex;
	flex-shrink: 0;
	color: #fff;
	opacity: 0.95;
}

.kebabchik-cart-bar__summary {
	margin: 0;
	padding: 0;
	font-size: 19px;
	color: #fff;
}

.kebabchik-cart-bar__sum {
	font-weight: 700;
	white-space: nowrap;
}

.kebabchik-cart-bar__order {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	font-size: 17px;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.kebabchik-cart-bar__order:hover {
	color: #fff;
	opacity: 0.88;
	transform: scale(1.02);
}

.kebabchik-cart-bar__chevron {
	font-size: 1.15em;
	line-height: 1;
	opacity: 0.9;
}

body.kebabchik-cart-bar-visible {
	padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 640px) {
	.kebabchik-cart-bar {
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		max-width: 330px;
	}

	.kebabchik-cart-bar__inner {
		min-width: 0;
		width: 100%;
		padding: 14px 16px;
		border-radius: 14px;
		font-size: 15px;
		gap: 10px;
	}

	.kebabchik-cart-bar__summary {
		font-size: 16px;
	}

	.kebabchik-cart-bar__order {
		font-size: 16px;
	}

	body.kebabchik-cart-bar-visible {
		padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
	}
}

.home-menu-category__link:hover {
	border-color: #3f3a46;
}

.home-menu-category__image {
	width: 100%;
	height: 243px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
	background: #2d2b31;
}

.home-menu-category__image--placeholder {
	min-width: 88px;
}

.home-menu-category__meta {
	min-width: 0;
}

.home-menu-category__name {
	font-size: 18px;
	line-height: 1.25;
	font-weight: 500;
	margin: 0;
	padding: 0;
}

.home-menu-category__desc {
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.6);
	margin: 4px 0 0;
	padding: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-menu-category__addons {
	display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(42, 174, 228, 1);
    background-color: rgba(42, 174, 228, 0.2);
}

.home-menu-category__addons-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.home-menu-category__addons-svg {
	display: block;
}

.home-menu-category__addons-text {
	flex-shrink: 0;
}

.home-menu-category__price {
	font-size: 17px;
	line-height: 1.15;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

@media (max-width: 992px) {
	.home-menu-category__item {
		width: calc(33.33% - 20px);
	}
	.home-menu-category__title {
		font-size: 24px;
	}
}

@media (max-width: 640px) {
	.home-menu-category__list {
		gap: 12px;
	}
	.home-menu-category__item {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 20px);
		min-width: 0;
	}
	.home-menu-category__title {
		font-size: 20px;
		margin-bottom: 10px;
	}
	.home-menu-category__link {
		gap: 8px;
	}
	.home-menu-category__image {
		width: 100%;
		height: 120px;
	}
	.home-menu-category__name {
		font-size: 18px;
	}
	.home-menu-category__desc {
		font-size: 13px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	.home-menu-category__footer {
		align-items: center;
	}
	.home-menu-category__price {
		font-size: 18px;
		line-height: 1;
	}
	.home-menu-category__add-btn {
		width: 40px;
		height: 40px;
	}
}

/* Phone icon button + dropdown */
.header-phone-wrap {
	position: relative;
	margin-right: 12px;
}

.header-phone-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	cursor: pointer;
	color: var(--header-text);
	padding: 0;
	transition: color 0.2s, border-color 0.2s;
}

.header-phone-btn:hover {
	color: var(--header-text-muted);
	border-color: var(--header-text-muted);
}

.header-phone-dropdown {
	position: fixed;
	min-width: 220px;
	background: #2a2830;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 8px 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
	z-index: 99999;
	pointer-events: none;
}

/* Shown via JS (both hover and click) */
.header-phone-dropdown.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.header-phone-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-phone-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 16px;
}

.header-phone-item + .header-phone-item {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-phone-item__name {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--header-text);
	line-height: 1.3;
}

.header-phone-item__address {
	font-size: 0.78rem;
	color: var(--header-text-muted);
	line-height: 1.3;
}

.header-phone-item__phone {
	margin-top: 4px;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 0.15s;
}

.header-phone-item__phone:hover {
	color: var(--header-text-muted);
}

/* ========== Mobile search toggle button ========== */
.header-search-toggle {
	display: none; /* shown only on mobile via media query */
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	cursor: pointer;
	color: var(--header-text);
	padding: 0;
	transition: color 0.2s, border-color 0.2s, background 0.15s;
	flex-shrink: 0;
}

.header-search-toggle:hover {
	color: var(--header-text-muted);
	border-color: var(--header-text-muted);
}

/* Search icon: visible by default; X icon: hidden by default */
.header-search-toggle svg:first-child { display: block; }
.header-search-toggle .header-search-toggle__close { display: none; }

/* When search is open — swap icons */
.site-header.search-open .header-search-toggle svg:first-child { display: none; }
.site-header.search-open .header-search-toggle .header-search-toggle__close { display: block; }

/* ========== Mobile search dropdown panel ========== */
.mobile-search-panel {
	display: none; /* shown only via .search-open on ≤990px */
	position: fixed;
	left: 0;
	right: 0;
	z-index: 97;
	background: var(--header-bg, #1d1b20);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 10px 16px 12px;
	box-sizing: border-box;
	transform: translateY(-6px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
	will-change: transform, opacity;
}

.mobile-search-panel.is-open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.mobile-search-panel .header-search {
	max-width: none;
	width: 100%;
	flex: 1;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	min-height: 46px;
	padding: 0 12px;
	margin: 0;
	position: static;
}

.mobile-search-panel .header-search:focus-within {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
}

.mobile-search-panel .header-search__input {
	font-size: 1rem;
}

/* Backdrop (tint behind the panel so user knows to tap outside) */
.mobile-search-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 96;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.mobile-search-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* Hamburger */
.header-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid rgb(52, 52, 52);
	border-radius: 8px;
	cursor: pointer;
	padding: 0;
}

.header-menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: #C6C6C7;
	border-radius: 1px;
	position: relative;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: #C6C6C7;
	border-radius: 1px;
}

.header-menu-toggle span::before {
	top: -6px;
}

.header-menu-toggle span::after {
	top: 6px;
}

/* Navigation */

.site-header__nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 0;
	border-bottom: 1px solid #363636;
	max-width: 1400px;
	margin: 0 auto;
	list-style: none;
}

.site-header__nav a {
	color: var(--text-color);
	padding: 0.75rem;
	font-family: var(--font-family);
	font-size: 17px;
	font-weight: 400;
	line-height: 25.5px;
	text-align: start;
	text-decoration: none;
}


.site-header__nav li {
	margin: 0;
	padding: 0.75rem 0;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #fff;
	transition: border-color 0.3s ease;
}

.site-header__nav li:hover {
	border-bottom-color: rgb(246,19,19);
	transition: border-color 0.3s ease;
}

.site-header__nav li.is-active {
	border-bottom-color: rgb(246,19,19);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* ========== Main ========== */
.site-main {
	max-width: 1400px;
	margin: 0 auto;
	padding: 32px 0;
}

/* ========== Mobile Menu ========== */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	/* backdrop-filter: blur() видалено — надто дорогий на кожному кадрі opacity-transition */
	transition: opacity 0.25s ease, visibility 0.25s ease;
	will-change: opacity;
}

.mobile-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 400px;
	background: #25252b;
	z-index: 9999;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	overflow-y: auto;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
	will-change: transform;
}

.mobile-menu-overlay.is-open .mobile-menu {
	transform: translateX(0);
}

.mobile-menu__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, border-color 0.2s ease;
	z-index: 10;
}

.mobile-menu__close:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu__nav {
	padding: 4rem 1.5rem 2rem;
}

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

.mobile-menu__item {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__item:last-child {
	border-bottom: none;
}

.mobile-menu__link {
	display: block;
	padding: 1rem 0;
	color: #ffffff;
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.5;
	transition: color 0.2s ease;
}

.mobile-menu__link:hover {
	color: rgba(255, 255, 255, 0.8);
}

.mobile-menu__phones {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
	.mobile-menu__phones {
		display: none;
	}
}

.mobile-menu__phones-title {
	margin: 0 0 10px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.mobile-menu__phones-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-menu__phones-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-menu__phones-name {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
}

.mobile-menu__phones-link {
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.mobile-menu__phones-link:hover {
	color: rgba(255, 255, 255, 0.82);
}

/* Закриваємо меню при кліку на overlay */
.mobile-menu-overlay.is-open {
	cursor: pointer;
}

.mobile-menu-overlay.is-open .mobile-menu {
	cursor: default;
}

/* ========== Legal page ========== */
.legal-page {
	padding: 40px 20px 80px;
}
.legal-page__content {
	color: #fff;
}
.legal-page__content h1 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 24px;
}
.legal-page__content h2 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 32px;
	margin-bottom: 12px;
}
.legal-page__content h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-top: 20px;
	margin-bottom: 8px;
}
.legal-page__content p,
.legal-page__content li {
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 12px;
	line-height: 1.65;
}
.legal-page__content ul {
	margin: 0 0 12px 24px;
	line-height: 1.65;
}
.legal-page__content ul li {
	margin-bottom: 6px;
}
.legal-page__content a {
	color: #f61313;
}

/* ========== Footer ========== */
.site-footer {
	background: var(--header-bg);
	color: var(--header-text-muted);
	padding: 1.5rem;
	text-align: center;
	font-size: 0.9rem;
}

/* ========== Product images: SEO utilities (itemprop + srcset) ========== */
.product-image-seo.rounded {
	border-radius: 10px;
}

.product-image-seo.object-fit-cover {
	object-fit: cover;
}

.product-image-seo.with-placeholder {
	background-color: #2d2b31;
}

.product-page__image-wrap {
	margin: 0 0 1rem;
}

.product-page__image-wrap .product-image-seo,
img.product-page__image {
	max-width: 420px;
	width: 100%;
	height: auto;
	display: block;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
	.site-header__top {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 0;
	}

	.header-search {
		order: 2;
		max-width: none;
		width: auto;
		min-height: 42px;
		flex: 1;
	}

	.site-logo img {
		width: 140px;
		height: auto;
	}

	.header__left-wrapper {
		gap: 12px;
		flex: 1;
		min-width: 0;
	}

	.header-wrapper {
		margin-left: auto;
	}

	.site-header__nav {
		padding: 0.5rem 1rem;
		gap: 0.5rem 1rem;
	}

	.site-header__nav a {
		font-size: 0.85rem;
	}
}

/* ==========================================================================
   Попап продукту
   ========================================================================== */

/* Prevent body scroll when modal is open */
body.modal-open {
	overflow: hidden;
}

/* Overlay */
.product-modal {
	position: fixed;
	inset: 0;
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.product-modal[hidden] {
	display: none;
}

.product-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.product-modal.is-open .product-modal__backdrop {
	opacity: 1;
}

/* Dialog */
.product-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 780px;
	max-height: calc(100dvh - 2rem);
	background: var(--black, #1d1b20);
	border-radius: 12px;
	overflow: hidden;
	transform: translateY(20px);
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.product-modal.is-open .product-modal__dialog {
	transform: translateY(0);
	opacity: 1;
}

/* Header */
.product-modal__header {
	display: flex;
	justify-content: flex-end;
	padding: 0.75rem 0.75rem 0;
	flex-shrink: 0;
}

.product-modal.is-edit .product-modal__header {
	justify-content: space-between;
}

.product-modal__back {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: rgba(255, 255, 255, 0.08);
	border: none;
	border-radius: 50%;
	color: var(--header-text, #fff);
	cursor: pointer;
	transition: background 0.2s;
}

/* JS керує видимістю через attribute hidden. Робимо це максимально надійно. */
.product-modal__back[hidden] {
	display: none !important;
}

.product-modal__back:hover,
.product-modal__back:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	outline: 2px solid rgba(255, 255, 255, 0.4);
	outline-offset: 2px;
}

.product-modal__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--header-text, #fff);
	flex: 1;
	text-align: center;
}

.product-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: rgba(255, 255, 255, 0.08);
	border: none;
	border-radius: 50%;
	color: var(--header-text, #fff);
	cursor: pointer;
	transition: background 0.2s;
}

.product-modal__close:hover,
.product-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	outline: 2px solid rgba(255, 255, 255, 0.4);
	outline-offset: 2px;
}

/* Body */
.product-modal__body {
	overflow-y: auto;
	flex: 1;
	overscroll-behavior: contain;
	padding: 20px;
}

/* Footer */
.product-modal__footer {
	flex-shrink: 0;
	padding: 0.875rem 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--black, #1d1b20);
}

.product-modal__submit {
	display: block;
	width: 100%;
	padding: 0.875rem 1.25rem;
	background: var(--error, #df1b1b);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.product-modal__submit:hover {
	background: #c51717;
}

.product-modal__submit:active {
	transform: scale(0.98);
}

.product-modal__submit--invalid {
	background: #5c1515;
	color: rgba(255, 255, 255, 0.75);
}

.product-modal__submit--invalid:hover {
	background: #6a1a1a;
	color: rgba(255, 255, 255, 0.85);
}

/* Top section: image + info */
.pm-top {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1.5rem;
	padding: 0 1.5rem 1.5rem;
}

.pm-image-wrap {
	flex-shrink: 0;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.pm-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pm-info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pm-info__name {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--header-text, #fff);
	margin: 0;
}

.pm-info__desc {
	font-size: 0.9rem;
	color: var(--header-text-muted, #b0b0b0);
	line-height: 1.55;
}

.pm-info__desc p {
	margin: 0 0 0.4rem;
}

.pm-info__desc p:last-child {
	margin-bottom: 0;
}

/* Modifier groups — єдина панель під описом у колонці .pm-info */
.pm-mods {
    margin-top: 0.75rem;
    box-sizing: border-box;
    min-width: 0;
}

.pm-mods .pm-mod-group:last-child {
	margin-bottom: 0;
}

.pm-mods .pm-mod-group:first-child .pm-mod-group__items {
	border-top: none;
}

.pm-mod-group {
	margin-bottom: 1.25rem;
}

.pm-mod-group__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--header-text, #fff);
	margin: 0 0 0.2rem;
}

.pm-mod-group__hint-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0 0 0.5rem;
}

.pm-mod-group__hint {
	font-size: 0.8rem;
	color: var(--header-text-muted, #b0b0b0);
	margin: 0;
}

.pm-mod-group__warn-icon {
	display: none;
	align-items: center;
	justify-content: center;
	color: #f5a623;
	flex-shrink: 0;
	line-height: 0;
}

.pm-mod-group--invalid .pm-mod-group__hint {
	color: #ff9f43;
}

.pm-mod-group--invalid .pm-mod-group__warn-icon {
	display: inline-flex;
}

.pm-mod-group__limit-counter--full {
	color: var(--accent, #e07b39);
	font-weight: 600;
}

.pm-mod-group__items {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modifier row */
.pm-mod-row {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-mod-row__label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	cursor: pointer;
	color: var(--header-text, #fff);
	font-size: 0.95rem;
	line-height: 1.4;
	width: 100%;
}

.pm-mod-row__label:hover {
	color: #fff;
}

.pm-mod-row__input {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
}

/* Radio */
.pm-mod-row__input[type="radio"] {
	border-radius: 50%;
}

.pm-mod-row__input[type="radio"]:checked {
	border-color: #f61313;
	background: #f61313;
}

.pm-mod-row__input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #fff;
}

/* Checkbox */
.pm-mod-row__input[type="checkbox"] {
	border-radius: 4px;
}

.pm-mod-row__input[type="checkbox"]:checked {
	border-color: #f61313;
	background: #f61313;
}

.pm-mod-row__input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 0px;
	width: 5px;
	height: 9px;
	border: 2px solid #fff;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}

/* Hover state */
.pm-mod-row__input:not(:checked):hover {
	border-color: rgba(255, 255, 255, 0.6);
}

.pm-mod-row__name {
	flex: 1;
}

.pm-mod-row__price {
	font-size: 0.85rem;
	color: var(--header-text-muted, #b0b0b0);
	white-space: nowrap;
}

.pm-mod-row__price--extra {
	color: #5bc4f5;
}

/* Quantity controls for checkboxes */
.pm-mod-row--checkbox {
	display: flex;
	align-items: center;
}

.pm-mod-row--checkbox .pm-mod-row__label {
	flex: 1;
}

.pm-qty {
	display: none;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
	margin-left: 0.5rem;
}

.pm-mod-row--checkbox[data-qty]:not([data-qty="0"]) .pm-qty {
	display: flex;
}

.pm-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s;
	flex-shrink: 0;
	color: #fff;
}

.pm-qty__btn--minus {
	background: rgba(255, 255, 255, 0.12);
}

.pm-qty__btn--minus:hover {
	background: rgba(255, 255, 255, 0.22);
}

.pm-qty__btn--plus {
	background: var(--error, #df1b1b);
}

.pm-qty__btn--plus:hover {
	background: #c51717;
}

.pm-qty__val {
	min-width: 1.75rem;
	text-align: center;
	font-size: 0.95rem;
	color: var(--header-text, #fff);
	font-weight: 500;
}

/* Loading spinner */
.pm-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 180px;
}

.pm-loading__spinner {
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid rgba(255, 255, 255, 0.15);
	border-top-color: var(--error, #df1b1b);
	border-radius: 50%;
	animation: pm-spin 0.7s linear infinite;
}

@keyframes pm-spin {
	to { transform: rotate(360deg); }
}

/* Error state */
.pm-error {
	padding: 2rem 1.5rem;
	text-align: center;
	color: var(--error, #df1b1b);
	font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 640px) {
	.product-modal {
		padding: 0;
		align-items: center;
		padding-left: 20px;
		padding-right: 20px;
	}

	.product-modal__dialog {
		max-width: 100%;
		max-height: 92dvh;
		border-radius: 16px 16px 0 0;
	}

	.pm-top {
		grid-template-columns: 1fr;
		padding: 0 1rem 1rem;
	}

	.pm-image-wrap {
		width: 100%;
		max-width: 280px;
		margin: 0 auto;
	}

	.pm-mods {
		margin-top: 0.65rem;
		padding: 0.65rem 0.75rem 0.5rem;
	}

	.product-modal__footer {
		padding: 0.75rem 1rem;
	}

	.featured-products__card {
		padding: 8px;
	}

	.spots-modal {
		padding: 20px;
	}
}

/* ==========================================================================
   Модаль кошика
   ========================================================================== */

.cart-modal {
	position: fixed;
	inset: 0;
	z-index: 1042;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.cart-modal[hidden] {
	display: none;
}

.cart-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(2px);
}

.cart-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	max-height: 90dvh;
	display: flex;
	flex-direction: column;
	background: var(--modal-bg, #1e1c22);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
	transform: translateY(24px);
	opacity: 0;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.cart-modal.is-open .cart-modal__dialog {
	transform: translateY(0);
	opacity: 1;
}

.cart-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.cart-modal__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--header-text, #fff);
	margin: 0;
}

.cart-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: rgba(255, 255, 255, 0.07);
	color: var(--header-text, #fff);
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s;
}

.cart-modal__close:hover,
.cart-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	outline: none;
}

.cart-modal__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0;
}


.cart-modal__lines {
	padding: 0 16px;
}

/* Рядок позиції */
.cart-modal__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-modal__row:last-child {
	border-bottom: none;
}

.cart-modal__row-img-wrap {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.cart-modal__row-img-wrap--empty {
	background: rgba(255, 255, 255, 0.04);
}

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

.cart-modal__row-details {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cart-modal__row-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--header-text, #fff);
	margin: 0;
	line-height: 1.3;
}

.cart-modal__row-options {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
	line-height: 1.3;
}

.cart-modal__row-edit {
	display: inline-block;
	font-size: 0.8rem;
	color: #5bc4f5;
	text-decoration: none;
	line-height: 1;
}

.cart-modal__row-edit:hover {
	text-decoration: underline;
}

.cart-modal__row-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
	gap: 8px;
}

.cart-modal__row-price {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--header-text, #fff);
	margin: 0;
	white-space: nowrap;
}

/* Кнопки кількості у cart modal */
.cart-modal__qty {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.cart-modal__qty-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	cursor: pointer;
	transition: background 0.15s;
	flex-shrink: 0;
}

.cart-modal__qty-btn:hover {
	background: rgba(255, 255, 255, 0.18);
}

.cart-modal__qty-plus {
	background: #F61313;
}

.cart-modal__qty-plus:hover {
	background: #d40f0f;
}

.cart-modal__qty-val {
	min-width: 24px;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	color: #fff;
}

/* Коментар */
.cart-modal__comment-wrap {
	padding: 12px 16px 16px;
}

.cart-modal__comment {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #fff;
	font-size: 0.9rem;
	resize: vertical;
	font-family: inherit;
	line-height: 1.45;
}

.cart-modal__comment::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.cart-modal__comment:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.3);
}

/* Футер модалі кошика */
.cart-modal__footer {
	flex-shrink: 0;
	padding: 14px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--modal-bg, #1e1c22);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cart-modal__footer-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.75);
}

.cart-modal__footer-sum {
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
}

.cart-modal__footer-submit {
	width: 100%;
	padding: 14px;
	background: #F61313;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}

.cart-modal__footer-submit:hover {
	background: #d40f0f;
}

.cart-modal__footer-submit:active {
	background: #b30e0e;
}

/* Mobile: bottom-sheet */
@media (max-width: 640px) {
	.cart-modal {
		padding: 0;
		align-items: flex-end;
		padding-right: 20px;
		padding-left: 20px;
	}

	.cart-modal__dialog {
		max-width: 100%;
		max-height: 92dvh;
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
		opacity: 1;
	}

	.cart-modal.is-open .cart-modal__dialog {
		transform: translateY(0);
	}
}

/* ==========================================================================
   Допродажі у кошику (upsell)
   ========================================================================== */

.cart-upsell {
	padding: 14px 16px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.cart-upsell__title {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin: 0 0 10px;
}

.cart-upsell__group {
	margin-bottom: 14px;
}

.cart-upsell__group:last-child {
	margin-bottom: 0;
}

.cart-upsell__group-title {
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 8px;
}

.cart-upsell__list {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.cart-upsell__list:active {
	cursor: grabbing;
}

.cart-upsell__list::-webkit-scrollbar {
	display: none;
}

.cart-upsell__item {
	flex-shrink: 0;
	width: 88px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
}

.cart-upsell__img {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
}

.cart-upsell__img--empty {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
}

.cart-upsell__name {
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
	margin: 0;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

.cart-upsell__price {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent, #F61313);
	margin: 0;
}

.cart-upsell__add {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	background: var(--accent, #F61313);
	color: #111;
	cursor: pointer;
	transition: opacity 0.15s, transform 0.12s;
	text-decoration: none;
	flex-shrink: 0;
}

.cart-upsell__add svg {
	width: 16px;
	height: 16px;
}

.cart-upsell__add svg path {
	fill: #fff !important;
}

.cart-upsell__add:active {
	transform: scale(0.95);
}

.cart-upsell__sauce-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}

.cart-upsell__sauce-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.83rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
    width: auto !important;
    height: auto !important;
    gap: 6px !important;
    flex-direction: column !important;
}

.cart-upsell__sauce-price {
	margin-left: 5px;
	color: var(--accent, #e8b347);
	font-weight: 700;
	font-size: 0.78rem;
}

/* ==========================================================================
   Модаль оформлення замовлення
   ========================================================================== */

.order-modal {
	position: fixed;
	inset: 0;
	z-index: 1043;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.order-modal[hidden] {
	display: none;
}

.order-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
}

.order-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	max-height: 90dvh;
	display: flex;
	flex-direction: column;
	background: var(--modal-bg, #1e1c22);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
	transform: translateY(24px);
	opacity: 0;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.order-modal.is-open .order-modal__dialog {
	transform: translateY(0);
	opacity: 1;
}

.order-modal.is-result-view .order-modal__dialog {
	display: none;
}

.order-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
	position: relative;
}

.order-modal__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--header-text, #fff);
	margin: 0;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}

.order-modal__back {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: #F61313;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity 0.15s;
}

.order-modal__back:hover,
.order-modal__back:focus-visible {
	opacity: 0.75;
	outline: none;
}

.order-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: rgba(255, 255, 255, 0.07);
	color: var(--header-text, #fff);
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s;
}

.order-modal__close:hover,
.order-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	outline: none;
}

.order-modal__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0;
	background: transparent;
}

.order-modal__section-header {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	padding: 14px 16px 6px;
}

.order-modal__section-header--payment {
	padding-top: 4px;
}

.order-modal__tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	margin: 0 16px 8px;
	background: rgba(255, 255, 255, 0.07);
	border-radius: 10px;
}

.order-modal__tab {
	flex: 1;
	border: none;
	border-bottom: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 700;
	padding: 10px 8px;
	cursor: pointer;
	border-radius: 8px;
	transition: color 0.15s, background 0.15s;
}
.order-modal__tab:not(.is-active):hover {
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.08);
}

.order-modal__tab.is-active {
	background: #F61313;
	color: #fff;
	border-bottom-color: transparent;
}

.order-modal__shared {
	padding: 12px 16px 4px;
}

.order-modal__payment,
.order-modal__summary {
	padding: 12px 16px;
}

.order-modal__field-wrap {
	position: relative;
	margin-bottom: 10px;
}

.order-modal__field-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.45);
	display: flex;
	align-items: center;
	pointer-events: none;
}

#order-delivery-street,
#order-delivery-house {
    background-image: unset;
}

.order-modal__input,
.order-modal__select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 36px 10px 12px;
	background: #252329;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	color: #fff;
	font-size: 0.95rem;
	font-family: inherit;
	outline: none;
	color-scheme: dark;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	transition: border-color 0.15s ease;
}
.order-modal__input:not(:disabled):hover,
.order-modal__select:not(:disabled):hover {
	border-color: rgba(255, 255, 255, 0.22);
}

.order-modal__select option {
	background: #252329;
	color: #fff;
}

.order-modal__input--icon,
.order-modal__select--icon {
	padding-left: 38px;
}

/* Вулиця + будинок в один рядок */
.order-modal__street-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-bottom: 10px;
}

.order-modal__street-row .order-modal__field-wrap {
	margin-bottom: 0;
}

.order-modal__street-row .order-modal__address-wrap {
	flex: 1 1 0;
	min-width: 0;
}

.order-modal__field-wrap--house {
	flex: 0 0 110px;
}

.order-modal__input:focus,
.order-modal__select:focus {
	border-color: rgba(255, 255, 255, 0.3);
}

.order-modal__input:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* ── Saved delivery addresses ──────────────────────────────────────── */
#kchk-saved-addresses {
	margin-bottom: 10px;
}

.kchk-saved-label {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 7px;
}

.kchk-saved-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.kchk-saved-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 20px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.82rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	text-align: left;
}

.kchk-saved-chip:hover {
	background: rgba(246, 19, 19, 0.18);
	border-color: rgba(246, 19, 19, 0.4);
}

.kchk-saved-chip__text {
	pointer-events: none;
}

.kchk-saved-chip__del {
	flex-shrink: 0;
	font-size: 1rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.35);
	padding: 0 1px;
	transition: color 0.12s;
}

.kchk-saved-chip__del:hover {
	color: rgba(255, 80, 80, 0.9);
}

.order-modal__input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.order-modal__panels {
	padding: 0 16px 6px;
}

.order-modal__panel {
	display: none;
	padding: 6px 0 0;
}

.order-modal__panel.is-active {
	display: block;
}

.order-modal__payment {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-modal__summary {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 12px;
}

.order-modal__summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.75);
}
.order-modal__summary-row[hidden] {
	display: none;
}

.order-modal__summary-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 800;
}

.order-modal__summary-label {
	color: rgba(255, 255, 255, 0.75);
	font-weight: 600;
}

.order-free-delivery-hint {
	margin: 6px 0 2px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.82rem;
	line-height: 1.4;
}

.order-free-delivery-hint--progress {
	background: rgba(240, 165, 0, 0.12);
	color: #f0c060;
	border: 1px solid rgba(240, 165, 0, 0.25);
}

.order-free-delivery-hint--progress strong {
	color: #ffd97a;
}

.order-free-delivery-hint--achieved {
	background: rgba(92, 184, 92, 0.12);
	color: #7dda7d;
	border: 1px solid rgba(92, 184, 92, 0.25);
	font-weight: 600;
}

.order-modal__summary-value {
	color: #fff;
	font-weight: 800;
}

.order-modal__summary-total {
	color: #fff;
	font-weight: 900;
	font-size: 1.15rem;
}

/* ---- Промокод ---- */
.order-modal__promo {
	padding: 12px 16px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-modal__promo-wrap {
	display: flex;
	gap: 8px;
	align-items: center;
}

.order-modal__promo-wrap .order-modal__input {
	flex: 1;
	font-weight: 400;
	background-image: none;
	padding: 10px 12px;
}

.order-modal__promo-apply {
	flex-shrink: 0;
	padding: 10px 16px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
}

.order-modal__promo-apply:hover {
	background: rgba(255, 255, 255, 0.18);
}

.order-modal__promo-apply.is-applied {
	background: rgba(246, 19, 19, 0.15);
	border-color: rgba(246, 19, 19, 0.3);
	color: #ff6b6b;
}

.order-modal__promo-msg {
	margin: 6px 0 8px;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 8px;
}

.order-modal__promo-msg--ok {
	background: rgba(92, 184, 92, 0.12);
	color: #7dda7d;
	border: 1px solid rgba(92, 184, 92, 0.25);
}

.order-modal__promo-msg--err {
	background: rgba(246, 19, 19, 0.1);
	color: #ff6b6b;
	border: 1px solid rgba(246, 19, 19, 0.2);
}

.order-modal__summary-value--discount {
	color: #7dda7d;
}

/* ---- /Промокод ---- */

.order-modal__note {
	margin: 0 16px 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
}

.order-modal__note.is-error {
	border: 1px solid rgba(246, 19, 19, 0.35);
	color: rgba(255, 255, 255, 0.95);
}

.order-modal__note.is-success {
	border: 1px solid rgba(104, 163, 108, 0.45);
}

.order-modal__submit {
	width: calc(100% - 32px);
	margin: 0 16px 16px;
	padding: 14px;
	background: #F61313;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}

.order-modal__submit:hover {
	background: #d40f0f;
}

.order-modal__submit:active {
	background: #b30e0e;
}

.order-modal__submit.is-loading {
	background: #b30e0e;
	cursor: not-allowed;
	position: relative;
	color: transparent;
}
.order-modal__submit.is-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 22px;
	height: 22px;
	border: 3px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: kk-spin 0.7s linear infinite;
}
@keyframes kk-spin {
	to { transform: rotate(360deg); }
}

/* Режим "закрито" — ховаємо summary і кнопку оформити */
.order-modal.is-closed .order-modal__summary,
.order-modal.is-closed .order-modal__submit,
.order-modal.is-closed .order-modal__promo {
	display: none;
}


/* ---- Екран подяки ---- */
.order-modal__thanks {
	display: none;            /* прихований за замовчуванням (надійніше ніж [hidden]) */
}
.order-modal__thanks.is-visible {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	max-height: 90dvh;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--modal-bg, #1e1c22);
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
	padding: 40px 24px 32px;
	text-align: center;
	gap: 12px;
	min-height: 280px;
	overflow-y: auto;
}

.order-modal__thanks-icon {
	color: #4caf50;
	animation: order-thanks-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes order-thanks-pop {
	from { transform: scale(0.4); opacity: 0; }
	to   { transform: scale(1);   opacity: 1; }
}

.order-modal__thanks-title {
	margin: 4px 0 0;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.order-modal__thanks-num {
	margin: 0;
	font-size: 14px;
	color: var(--color-text-secondary, rgba(255,255,255,0.65));
}

.order-modal__thanks-num strong {
	color: inherit;
}

.order-modal__thanks-text {
	margin: 0;
	font-size: 15px;
	color: var(--color-text-secondary, rgba(255,255,255,0.75));
	line-height: 1.5;
}

.order-modal__thanks-close {
	margin-top: 8px;
	padding: 12px 32px;
	border: none;
	border-radius: 10px;
	background: var(--color-primary, #e31e24);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.order-modal__thanks-close:hover {
	background: #d40f0f;
}

/* Failure state — іконка червона (замість зеленої) */
.order-modal__failure-icon {
	color: var(--error, #DF1B1B);
}

/* Loading state — спінер */
.order-modal__loading-spinner {
	width: 56px;
	height: 56px;
	border: 4px solid rgba(255, 255, 255, 0.12);
	border-top-color: var(--color-primary, #e31e24);
	border-radius: 50%;
	animation: kk-liqpay-spin 0.75s linear infinite;
	flex-shrink: 0;
}

@keyframes kk-liqpay-spin {
	to { transform: rotate(360deg); }
}

/* Mobile: bottom-sheet */
@media (max-width: 640px) {
	.order-modal {
		padding: 0;
		align-items: flex-end;
		padding-left: 20px;
		padding-right: 20px;
	}

	.order-modal__dialog {
		max-width: 100%;
		max-height: 92dvh;
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
		opacity: 1;
	}

	.order-modal.is-open .order-modal__dialog {
		transform: translateY(0);
	}

	.order-modal__thanks.is-visible {
		max-width: 100%;
		max-height: 92dvh;
		border-radius: 16px 16px 0 0;
	}
}

/* ==========================================================================
   Живий пошук продуктів на головній
   ========================================================================== */

.featured-products__item.home-search-hidden,
.home-menu-category__item.home-search-hidden {
	display: none !important;
}

.featured-products.is-home-search-empty,
.home-menu-category.is-home-search-empty {
	display: none !important;
}

/* При активному пошуку — картки мають фіксовану ширину, не розтягуються */
body.home-search-active .home-menu-category__list {
	gap: 16px;
}
body.home-search-active .home-menu-category__item {
	width: 200px;
	flex: 0 0 200px;
}
@media (max-width: 640px) {
	body.home-search-active .home-menu-category__item {
		width: calc(50% - 8px);
		flex: 0 0 calc(50% - 8px);
	}
}

.home-search-empty {
	margin: 2rem auto;
	padding: 1.5rem 1rem;
	max-width: 36rem;
	text-align: center;
	font-size: 1rem;
	color: var(--header-text-muted, #b0b0b0);
}

body.home-search-active .home-search-empty:not([hidden]) {
	display: block;
}

@media(max-width: 1438px) {
	.site-main {
		max-width: 100%;
	}
}

@media (max-width: 1140px) {
	.featured-products__item {
		flex: 0 0 calc(25% - 26px);
	}
}

@media (max-width: 990px) {
	.home-menu-category__list {
		gap: 20px;
	}

	/* ── Горизонтальний скрол меню категорій (nav) ── */
	.site-header__nav-wrap {
		overflow: hidden;
		margin-right: -20px;
	}

	.site-header__nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;        /* Firefox */
		padding: 0 16px;
	}

	.site-header__nav::-webkit-scrollbar {
		display: none;
	}

	.site-header__nav li {
		flex-shrink: 0;
	}

	/* ── Горизонтальний скрол "Нове та популярне" ── */
	.featured-products {
		overflow: hidden;
	}

	.featured-products__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 8px;
		/* Виходимо за padding container (-20px) і показуємо peek наступного */
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 48px;
	}

	.featured-products__list::-webkit-scrollbar {
		display: none;
	}

	.featured-products__item {
		flex: 0 0 70vw;
		max-width: 300px;
		width: auto;
	}
}

@media(max-width: 990px) {
	.header-phone-wrap {
		display: none;
	}

	/* Show search toggle, hide inline search form */
	.header-search-toggle {
		display: flex;
	}

	.header__left-wrapper .header-search {
		display: none;
	}

	/* Mobile search panel + backdrop — activated by JS */
	.mobile-search-panel { display: flex; }
	.mobile-search-backdrop { display: block; }

	.header-menu-toggle {
		width: 40px;
		height: 40px;
	}

	.header-wrapper {
		gap: 8px;
	}

	.site-header__nav a {
		white-space: nowrap;
		color: #fff;
		background-color: #343434;
		border-color: #343434;
		box-shadow: 0 1px 2px 0 rgba(16, 24, 40, .05);
		font-size: 16px;
    	padding: 10px 16px !important;
		border-radius: 50rem;
	}

	.site-header__nav {
		flex-wrap: nowrap;
		overflow-x: scroll;
		padding: 0px;
		gap: 8px;
		border-bottom: 0;
	}

	.site-header__nav li {
		border-bottom: 0;
	}

	.featured-products__list {
		gap: 20px;
	}
}

/* ========== Footer ========== */
.site-footer {
	background: var(--header-bg);
	color: var(--header-text);
	margin-top: auto;
	border-top: 1px solid rgba(255,255,255,0.07);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 40px;
	padding-top: 40px;
	padding-bottom: 36px;
}

/* Brand column */
.site-footer__col--brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__brand-name {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1;
	text-align: left;
}

.site-footer__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #e63946;
	font-weight: 600;
	font-size: 17px;
	text-decoration: none;
	transition: opacity 0.15s;
	width: fit-content;
}
.site-footer__phone svg { flex-shrink: 0; opacity: 0.8; }
.site-footer__phone:hover { opacity: 0.75; }

.site-footer__email {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--header-text-muted);
	font-size: 13px;
	text-decoration: none;
	transition: color 0.15s;
	width: fit-content;
}
.site-footer__email svg { flex-shrink: 0; opacity: 0.6; }
.site-footer__email:hover { color: #fff; }

.site-footer__hours {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--header-text-muted);
}
.site-footer__hours svg { flex-shrink: 0; opacity: 0.6; }

/* Column titles */
.site-footer__col-title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--header-text-muted);
	margin: 0 0 14px;
	text-align: left;
}

/* Locations column */
.site-footer__col--locations {
	display: flex;
	flex-direction: column;
}

.site-footer__spots-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.18);
	color: var(--header-text);
	border-radius: 8px;
	padding: 9px 16px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	white-space: nowrap;
	width: fit-content;
}
.site-footer__spots-btn svg { opacity: 0.7; flex-shrink: 0; }
.site-footer__spots-btn:hover {
	background: rgba(255,255,255,0.07);
	border-color: rgba(255,255,255,0.4);
}

/* Social column */
.site-footer__col--social {
	display: flex;
	flex-direction: column;
}

.site-footer__social {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 18px;
}

.site-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	text-decoration: none;
}
.site-footer__social-link:hover {
	transform: scale(1.1);
	text-decoration: none;
}

.site-footer__social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.site-footer__social-icon svg {
	fill: #F61313;
}

/* Platform colors */

.site-footer__social-name {
	display: none;
}

/* Copyright */
.site-footer__copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: var(--header-text-muted);
	padding-top: 14px;
	padding-bottom: 16px;
	border-top: 1px solid rgba(255,255,255,0.07);
	gap: 12px;
	flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 860px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}
	.site-footer__col--social {
		grid-column: 1 / -1;
	}
	.site-footer__social {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.site-footer__copy {
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media (max-width: 520px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 0;
        padding-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }

	.site-footer__col--social {
		grid-column: auto;
	}
	.site-footer__brand-name { font-size: 20px; }
}

/* ========== Spots modal ========== */
.spots-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.spots-modal[hidden] { display: none !important; }

.spots-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.55);
}

.spots-modal__dialog {
	position: relative;
	background: var(--header-bg);
	color: var(--header-text);
	width: 100%;
	max-width: 680px;
	max-height: 90vh;
	border-radius: 16px 16px 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 700px) {
	.spots-modal {
		align-items: center;
	}
	.spots-modal__dialog {
		border-radius: 16px;
		max-height: 85vh;
	}
}

.spots-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 12px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	flex-shrink: 0;
}

.spots-modal__title {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	color: var(--header-text);
}

.spots-modal__close {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: var(--header-text-muted);
	display: flex;
	border-radius: 6px;
	transition: background 0.15s, color 0.15s;
}
.spots-modal__close:hover { background: rgba(255,255,255,0.08); color: var(--header-text); }

.spots-modal__body {
	overflow-y: auto;
	flex: 1;
	padding: 0 0 20px;
}

.spots-modal__map {
	width: 100%;
	height: 260px;
	background: #2a2830;
}

.spots-modal__contacts-row {
	display: flex;
	gap: 0;
	border-top: 1px solid rgba(255,255,255,0.07);
	flex-wrap: wrap;
}
@media (max-width: 480px) {
	.spots-modal__contacts-row { flex-direction: column; }
	.spots-modal__socials { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); }
}

.spots-modal__contacts {
	padding: 14px 20px 12px;
	flex: 1;
}
.spots-modal__socials {
	border-left: 1px solid rgba(255,255,255,0.07);
	flex: 1.4;
}
.spots-modal__contacts-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 10px;
	color: var(--header-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 11px;
}
.spots-modal__contacts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}
.spots-modal__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	transition: color 0.15s;
}
.spots-modal__contact-link:hover { color: #e63946; }
.spots-modal__contact-link--phone { color: #fff; font-weight: 600; }
.spots-modal__contact-link--phone:hover { color: #ff6b75; }

.spots-modal__list {
	list-style: none;
	margin: 0;
	padding: 8px 20px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.spots-modal__spot {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.spots-modal__spot:hover { border-color: #e63946; background: rgba(230,57,70,0.07); }
.spots-modal__spot[data-lat] { cursor: pointer; }

.spots-modal__spot-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--header-text);
}
.spots-modal__spot-address {
	font-size: 13px;
	color: var(--header-text-muted);
}
.spots-modal__spot-phone {
    font-size: 14px;
    color: #e63946;
    text-decoration: none;
    width: fit-content;
    margin-top: 6px;
}
.spots-modal__spot-phone:hover { text-decoration: underline; }

/* ========== Custom scrollbar (site-wide) ========== */
/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.18);
	border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(255,255,255,0.32);
}

/* Dark modals — slightly lighter thumb */
.product-modal ::-webkit-scrollbar-thumb,
.order-modal ::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.22);
}
.product-modal ::-webkit-scrollbar-thumb:hover,
.order-modal ::-webkit-scrollbar-thumb:hover {
	background: rgba(255,255,255,0.38);
}

/* Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,0.18) transparent;
}

/* ==========================================================================
   LiqPay result popup (#kk-liqpay-popup)
   Стиль як у order-modal / order-thanks — темний фон, slide-up анімація.
   ========================================================================== */

.kk-liqpay-popup {
	position: fixed;
	inset: 0;
	z-index: 9998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.8);
}

.kk-liqpay-popup__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
	background: var(--modal-bg, #1e1c22);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
	transform: translateY(24px);
	opacity: 0;
	animation: kk-liqpay-slidein 0.22s ease forwards;
}

@keyframes kk-liqpay-slidein {
	to { transform: translateY(0); opacity: 1; }
}

.kk-liqpay-popup__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 40px 28px 32px;
	gap: 10px;
}

/* ── Spinner (loading state) ── */
.kk-liqpay-spinner {
	width: 52px;
	height: 52px;
	border: 4px solid rgba(255, 255, 255, 0.12);
	border-top-color: var(--color-primary, #e31e24);
	border-radius: 50%;
	animation: kk-liqpay-spin 0.75s linear infinite;
	flex-shrink: 0;
}

@keyframes kk-liqpay-spin {
	to { transform: rotate(360deg); }
}

/* ── Icon (failure state) ── */
.kk-liqpay-popup__icon {
	font-size: 52px;
	line-height: 1;
	animation: order-thanks-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── Texts ── */
.kk-liqpay-popup__title {
	margin: 6px 0 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--header-text, #fff);
}

.kk-liqpay-popup__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
}

/* ── Action button ── */
.kk-liqpay-popup__btn {
	margin-top: 12px;
	width: 100%;
	padding: 13px 24px;
	border: none;
	border-radius: 10px;
	background: var(--color-primary, #e31e24);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.kk-liqpay-popup__btn:hover {
	background: #d40f0f;
}

.kk-liqpay-popup__btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

/* ── Mobile: bottom-sheet ── */
@media (max-width: 640px) {
	.kk-liqpay-popup {
		align-items: flex-end;
		padding: 0;
	}

	.kk-liqpay-popup__dialog {
		max-width: 100%;
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
		opacity: 1;
		animation: kk-liqpay-slideup 0.28s ease forwards;
	}

	@keyframes kk-liqpay-slideup {
		to { transform: translateY(0); }
	}
}



/* ========== Сторінка доставки ========== */
.delivery-page { 
	color: var(--text-color);
	max-width: 1140px;
	margin: 0 auto;
}

.delivery-page__hero {
	padding: 64px 0px 56px;
	text-align: center;
}
.delivery-page__h1 {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 16px;
	color: #fff;
}
.delivery-page__lead {
	max-width: 540px;
	margin: 0 auto 28px;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
}
.delivery-page__cta {
	display: inline-block;
	padding: 14px 36px;
	background: #e31e24;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 8px;
	text-decoration: none;
	transition: background .2s;
}
.delivery-page__cta:hover { background: #c41a1f; }

.delivery-page__section-title {
	font-size: clamp(1.3rem, 3vw, 1.75rem);
	font-weight: 700;
	margin: 0 0 30px;
	color: #fff;
}
.delivery-page__section-sub {
	font-size: .95rem;
	color: rgba(255,255,255,0.55);
	margin: 0 0 32px;
	max-width: 600px;
}

/* ── Зони ── */
.delivery-page__zones { padding: 60px 0px; }
.delivery-page__zone-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 16px;
}
.delivery-page__zone-card {
	background: rgba(255,255,255,0.05);
	border: 2px solid var(--zone-color, #4caf50);
	border-radius: 14px;
	padding: 20px;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.delivery-page__zone-card:hover {
	background: rgba(255,255,255,0.09);
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.delivery-page__zone-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.delivery-page__zone-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--zone-color, #4caf50);
	flex-shrink: 0;
}
.delivery-page__zone-name {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: #fff;
}
.delivery-page__zone-dl { margin: 0; }
.delivery-page__zone-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	padding: 6px 0;
	border-top: 1px solid rgba(255,255,255,0.07);
}
.delivery-page__zone-row:first-child { border-top: none; }
.delivery-page__zone-dl dt {
	font-size: .82rem;
	color: rgba(255,255,255,0.45);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.delivery-page__zone-dl dd {
	font-size: .95rem;
	font-weight: 600;
	color: #fff;
	margin: 0;
}

/* ── Карта ── */
.delivery-page__map-section { padding: 0 0 60px; }
.delivery-page__map-section .container { padding-bottom: 20px; }
.delivery-page__map-outer { width: 100%; }
#delivery-info-map {
	width: 100%;
	height: 420px;
	display: block;
}
@media (max-width: 600px) { #delivery-info-map { height: 300px; } }

/* ── Кроки ── */
.delivery-page__steps { padding: 56px 0px; }
.delivery-page__step-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	counter-reset: steps;
}
.delivery-page__step {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.delivery-page__step-num {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e31e24;
	color: #fff;
	font-weight: 800;
	font-size: .9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.delivery-page__step-text strong { display: block; font-size: .95rem; margin-bottom: 4px; color: #fff; }
.delivery-page__step-text p { margin: 0; font-size: .87rem; line-height: 1.55; color: rgba(255,255,255,0.55); }

/* ── FAQ ── */
.delivery-page__faq { padding: 56px 0px;}
.delivery-page__faq-list { margin: 0; padding: 0; }
.delivery-page__faq-item {
	padding: 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.delivery-page__faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.delivery-page__faq-item dt {
	font-weight: 700;
	font-size: .97rem;
	color: #fff;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 18px 0;
	margin: 0;
	user-select: none;
	-webkit-user-select: none;
	transition: color 0.18s ease;
}
.delivery-page__faq-item dt:hover { color: rgba(255,255,255,.75); }
.delivery-page__faq-item dt::after {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform .25s ease;
}
.delivery-page__faq-item.is-open dt::after {
	transform: rotate(180deg);
}
.delivery-page__faq-item dd {
	margin: 0;
	overflow: hidden;
	max-height: 0;
	transition: max-height .3s ease, padding-bottom .3s ease;
	font-size: .92rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.65);
}
.delivery-page__faq-item.is-open dd {
	max-height: 500px;
	padding-bottom: 18px;
}
.delivery-page__faq-item dd ul {
	margin: 6px 0 0 18px;
	padding: 0;
}
.delivery-page__faq-item dd ul li {
	margin-bottom: 4px;
	color: rgba(255,255,255,0.65);
}

/* ── Bottom CTA ── */
.delivery-page__bottom-cta {
	padding: 56px 20px;
	text-align: center;
}
.delivery-page__bottom-cta p {
	font-size: 1.2rem;
	font-weight: 600;
	color: rgba(255,255,255,0.7);
	margin: 0 0 20px;
}

/* ========== Light mode (auto-theme: prefers-color-scheme) ========== */
@media (prefers-color-scheme: light) {
	/* ── CSS змінні: хедер + модалки ── */
	:root {
		--header-bg:         #ffffff;
		--header-text:       #1d1b20;
		--header-text-muted: #666666;
		--border-color:      rgba(0, 0, 0, 0.15);
		--text-color:           #1d1b20;
		--modal-bg:             #ffffff;
		--black:                #ffffff;
		--color-text-secondary: rgba(0, 0, 0, 0.55);
	}

	body { background-color: #ffffff; color: #1d1b20; }

	/* ── Хедер ── */
	.site-header { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
	.site-logo img { filter: none; }
	.header-search:focus-within { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.3); }
	.header-search:focus-within .header-search__icon { color: #1d1b20; }
	.header-search__input { color: #1d1b20; }
	.header-search__input::placeholder { color: #999; }
	.header-search__clear { color: rgba(0, 0, 0, 0.5); }
	.header-search__clear:hover { color: #1d1b20; background: rgba(0, 0, 0, 0.08); }
	.header-phone-dropdown { background: #fff; border-color: rgba(0, 0, 0, 0.12); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
	.header-phone-item + .header-phone-item { border-top-color: rgba(0, 0, 0, 0.08); }
	.header-phone-item__phone { color: #1d1b20; }
	.header-menu-toggle { border-color: rgba(0, 0, 0, 0.2); }
	.header-menu-toggle span,
	.header-menu-toggle span::before,
	.header-menu-toggle span::after { background: #1d1b20; }
	.header-search-toggle { border-color: rgba(0, 0, 0, 0.2); color: #1d1b20; }
	.header-search-toggle:hover { border-color: rgba(0, 0, 0, 0.4); color: #000; }
	.mobile-search-panel { background: #ffffff; border-bottom-color: rgba(0, 0, 0, 0.1); }
	.mobile-search-panel .header-search { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.12); }
	.mobile-search-panel .header-search:focus-within { background: rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.25); }
	.mobile-search-backdrop { background: rgba(0, 0, 0, 0.2); }
	.site-header__nav { border-bottom-color: rgba(0, 0, 0, 0.12); }
	.site-header__nav li { border-bottom-color: transparent; }

	/* ── Мобільне меню ── */
	.mobile-menu { background: #ffffff; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12); }
	.mobile-menu__close { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.12); color: #1d1b20; }
	.mobile-menu__close:hover { background: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.2); }
	.mobile-menu__item { border-bottom-color: rgba(0, 0, 0, 0.08); }
	.mobile-menu__link { color: #1d1b20; }
	.mobile-menu__link:hover { color: rgba(0, 0, 0, 0.6); }
	.mobile-menu__phones { border-top-color: rgba(0, 0, 0, 0.08); }
	.mobile-menu__phones-title { color: rgba(0, 0, 0, 0.45); }
	.mobile-menu__phones-name { color: rgba(0, 0, 0, 0.6); }
	.mobile-menu__phones-link { color: #1d1b20; }
	.mobile-menu__phones-link:hover { color: rgba(0, 0, 0, 0.6); }

	/* ── Нове та популярне ── */
	.featured-products { color: #1d1b20; }
	.featured-products__title { color: #1d1b20; }
	.featured-products__name { color: #1d1b20; }
	.featured-products__price { color: #1d1b20; }
	.featured-products__card { background: #f4f4f4; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); }

	/* ── Категорії меню ── */
	.home-menu-categories { color: #1d1b20; }
	.home-menu-category__title { color: #1d1b20; }
	.home-menu-category__link { color: #1d1b20; }
	.home-menu-category__desc { color: rgba(0, 0, 0, 0.55); }
	.home-menu-category__qty-val { color: #1d1b20; }
	.home-menu-category__add-btn:focus-visible,
	.home-menu-category__qty-btn:focus-visible { outline-color: #1d1b20; }
	.home-search-empty { color: #1d1b20; }

	/* ── Legal page ── */
	.legal-page__content { color: #1d1b20; }
	.legal-page__content p,
	.legal-page__content li { color: rgba(0, 0, 0, 0.75); }
	.legal-page__content a { color: #d40f0f; }

	/* ── Модаль продукту (uses --black → #ffffff) ── */
	.product-modal__footer { border-top-color: rgba(0, 0, 0, 0.08); }
	.product-modal__back,
	.product-modal__close { background: rgba(0, 0, 0, 0.06); }
	.product-modal__back:hover, .product-modal__back:focus-visible,
	.product-modal__close:hover, .product-modal__close:focus-visible {
		background: rgba(0, 0, 0, 0.1);
		outline-color: rgba(0, 0, 0, 0.2);
	}
	.pm-image-wrap { background: rgba(0, 0, 0, 0.04); }
	.pm-mod-group__items { border-top-color: rgba(0, 0, 0, 0.1); }
	.pm-mod-row { border-bottom-color: rgba(0, 0, 0, 0.1); }
	.pm-mod-row__label:hover { color: #1d1b20; }
	.pm-mod-row__input { border-color: rgba(0, 0, 0, 0.25); }
	.pm-mod-row__input:not(:checked):hover { border-color: rgba(0, 0, 0, 0.5); }
	.pm-qty__btn--minus { background: rgba(0, 0, 0, 0.08); color: #1d1b20; }
	.pm-qty__btn--minus:hover { background: rgba(0, 0, 0, 0.14); }
	.pm-loading__spinner { border-color: rgba(0, 0, 0, 0.1); border-top-color: var(--error, #df1b1b); }

	/* ── Кошик (uses --modal-bg → #ffffff) ── */
	.cart-modal__header { border-bottom-color: rgba(0, 0, 0, 0.08); }
	.cart-modal__close { background: rgba(0, 0, 0, 0.06); }
	.cart-modal__close:hover, .cart-modal__close:focus-visible { background: rgba(0, 0, 0, 0.1); }
	.cart-modal__row { border-bottom-color: rgba(0, 0, 0, 0.07); }
	.cart-modal__row-img-wrap { background: rgba(0, 0, 0, 0.05); }
	.cart-modal__row-img-wrap--empty { background: rgba(0, 0, 0, 0.03); }
	.cart-modal__row-options { color: rgba(0, 0, 0, 0.5); }
	.cart-modal__qty-btn { background: rgba(0, 0, 0, 0.08); color: #1d1b20; }
	.cart-modal__qty-btn:hover { background: rgba(0, 0, 0, 0.14); }
	.cart-modal__qty-val { color: #1d1b20; }
	.cart-modal__comment { background: #f4f4f4; border-color: rgba(0, 0, 0, 0.1); color: #1d1b20; }
	.cart-modal__comment::placeholder { color: rgba(0, 0, 0, 0.35); }
	.cart-modal__comment:focus { border-color: rgba(0, 0, 0, 0.25); }
	.cart-modal__footer { border-top-color: rgba(0, 0, 0, 0.08); }
	.cart-modal__footer-total { color: rgba(0, 0, 0, 0.6); }
	.cart-modal__footer-sum { color: #1d1b20; }
	.cart-upsell { border-top-color: rgba(0, 0, 0, 0.08); }
	.cart-upsell__title { color: rgba(0, 0, 0, 0.4); }
	.cart-upsell__group-title { color: rgba(0, 0, 0, 0.55); }
	.cart-upsell__name { color: rgba(0, 0, 0, 0.75); }

	/* ── Оформлення замовлення (uses --modal-bg → #ffffff) ── */
	.order-modal__header { border-bottom-color: rgba(0, 0, 0, 0.08); }
	.order-modal__close { background: rgba(0, 0, 0, 0.06); }
	.order-modal__close:hover, .order-modal__close:focus-visible { background: rgba(0, 0, 0, 0.1); }
	.order-modal__section-header { color: #1d1b20; }
	.order-modal__tabs { background: rgba(0, 0, 0, 0.06); }
	.order-modal__tab { color: rgba(0, 0, 0, 0.5); }
	.order-modal__tab:not(.is-active):hover { color: rgba(0,0,0,.8); background: rgba(0,0,0,.08); }
	.order-modal__input:not(:disabled):hover,
	.order-modal__select:not(:disabled):hover { border-color: rgba(0,0,0,.25); }
	.order-modal__field-icon { color: rgba(0, 0, 0, 0.4); }
	.order-modal__input,
	.order-modal__select {
		background: #f4f4f4;
		border-color: rgba(0, 0, 0, 0.12);
		color: #1d1b20;
		color-scheme: light;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.45)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 12px center;
		background-size: 16px 16px;
	}
	.order-modal__select option { background: #fff; color: #1d1b20; }
	.order-modal__input:focus,
	.order-modal__select:focus { border-color: rgba(0, 0, 0, 0.3); }
	.order-modal__input::placeholder { color: rgba(0, 0, 0, 0.35); }
	.kchk-saved-label { color: rgba(0, 0, 0, 0.45); }
	.kchk-saved-chip { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.12); color: rgba(0, 0, 0, 0.8); }
	.kchk-saved-chip__del { color: rgba(0, 0, 0, 0.3); }
	.order-modal__payment { border-top-color: rgba(0, 0, 0, 0.08); }
	.order-modal__summary { border-top-color: rgba(0, 0, 0, 0.08); }
	.order-modal__summary-row { color: rgba(0, 0, 0, 0.65); }
	.order-modal__summary-total-row { color: rgba(0, 0, 0, 0.85); }
	.order-modal__summary-label { color: rgba(0, 0, 0, 0.65); }
	.order-modal__summary-value { color: #1d1b20; }
	.order-modal__summary-total { color: #1d1b20; }
	.order-modal__promo { border-top-color: rgba(0, 0, 0, 0.08); }
	.order-modal__promo-apply { background: rgba(0, 0, 0, 0.07); border-color: rgba(0, 0, 0, 0.12); color: rgba(0, 0, 0, 0.75); }
	.order-modal__promo-apply:hover { background: rgba(0, 0, 0, 0.12); }
	.order-modal__note { background: rgba(0, 0, 0, 0.04); color: rgba(0, 0, 0, 0.8); }
	.order-modal__note.is-error { color: rgba(0, 0, 0, 0.85); }
	.order-modal__note.is-success { color: rgba(0, 0, 0, 0.85); }

	/* ── Екрани подяки / помилки / завантаження ── */
	.order-modal__thanks-title { color: #1d1b20; }
	.order-modal__loading-spinner { border-color: rgba(0, 0, 0, 0.1); border-top-color: var(--color-primary, #e31e24); }

	/* ── LiqPay popup (uses --modal-bg → #ffffff) ── */
	.kk-liqpay-spinner { border-color: rgba(0, 0, 0, 0.1); border-top-color: var(--color-primary, #e31e24); }
	.kk-liqpay-popup__text { color: rgba(0, 0, 0, 0.6); }
	.kk-liqpay-popup__btn:focus-visible { outline-color: rgba(0, 0, 0, 0.4); }

	/* ── Модаль точок (uses --header-bg → #ffffff) ── */
	.spots-modal__dialog { border-color: rgba(0, 0, 0, 0.1); }
	.spots-modal__header { border-bottom-color: rgba(0, 0, 0, 0.08); }
	.spots-modal__close:hover { background: rgba(0, 0, 0, 0.06); }
	.spots-modal__map { background: #e0e0e0; }
	.spots-modal__contacts-row { border-top-color: rgba(0, 0, 0, 0.07); }
	.spots-modal__socials { border-left-color: rgba(0, 0, 0, 0.07); border-top-color: rgba(0, 0, 0, 0.07); }
	.spots-modal__contact-link,
	.spots-modal__contact-link--phone { color: #1d1b20; }
	.spots-modal__spot { border-color: rgba(0, 0, 0, 0.1); }

	/* ── Футер ── */
	.site-footer { border-top-color: rgba(0, 0, 0, 0.08); }

	/* ── Скролбар ── */
	* { scrollbar-color: rgba(0, 0, 0, 0.2) transparent; }
	.product-modal ::-webkit-scrollbar-thumb,
	.order-modal ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); }
	.product-modal ::-webkit-scrollbar-thumb:hover,
	.order-modal ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.35); }

	/* ── Сторінка доставки (light) ── */
	.delivery-page__hero { background: #f4f1ee; }
	.delivery-page__h1 { color: #1d1b20; }
	.delivery-page__lead { color: rgba(0,0,0,0.6); }
	.delivery-page__zone-card { background: #fff; border-color: rgba(0,0,0,0.08); }
	.delivery-page__zone-card:hover { background: #f9f7f5; box-shadow: 0 8px 28px rgba(0,0,0,.1); }
	.delivery-page__zone-name { color: #1d1b20; }
	.delivery-page__zone-dl dt { color: rgba(0,0,0,0.5); }
	.delivery-page__zone-dl dd { color: #1d1b20; }
	.delivery-page__map-outer { background: #e8e8e8; }
	.delivery-page__steps { background: #fafafa; }
	.delivery-page__step-text strong { color: #1d1b20; }
	.delivery-page__step-text p { color: rgba(0,0,0,0.6); }
	.delivery-page__faq { background: #f4f1ee; }
	.delivery-page__faq-item { border-color: rgba(0,0,0,0.08); }
	.delivery-page__faq-item dt { color: #1d1b20; }
	.delivery-page__faq-item dt:hover { color: rgba(0,0,0,.6); }
	.delivery-page__faq-item dt::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(0,0,0,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
	.delivery-page__faq-item dd { color: rgba(0,0,0,0.65); }
	.delivery-page__faq-item dd ul li { color: rgba(0,0,0,0.65); }
	.delivery-page__bottom-cta { background: #1d1b20; }
	.delivery-page__bottom-cta p { color: rgba(255,255,255,0.7); }
	.delivery-page__section-title { color: #1d1b20; }
	.delivery-page__section-sub { color: rgba(0,0,0,0.55); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Scroll-reveal animations
   ══════════════════════════════════════════════════════════════════════════════ */

.will-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.will-reveal.is-revealed {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.will-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ── Hero animated gradient ─────────────────────────────────────────────────── */

@keyframes hero-gradient-shift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.delivery-page__hero {
	background: linear-gradient(135deg, #2a2730 0%, #1d1b20 40%, #252030 70%, #1d1b20 100%);
	background-size: 300% 300%;
	animation: hero-gradient-shift 12s ease infinite;
}

@media (prefers-color-scheme: light) {
	.delivery-page__hero {
		background: linear-gradient(135deg, #ede9e4 0%, #f4f1ee 40%, #eae5df 70%, #f4f1ee 100%);
		background-size: 300% 300%;
		animation: hero-gradient-shift 12s ease infinite;
	}
}

@media (prefers-reduced-motion: reduce) {
	.delivery-page__hero {
		animation: none;
		background-size: 100% 100%;
	}
}

/* ── Subtle floating orbs on body background ────────────────────────────────── */

@keyframes orb-drift-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33%       { transform: translate(30px, -20px) scale(1.05); }
	66%       { transform: translate(-15px, 15px) scale(0.97); }
}
@keyframes orb-drift-2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	40%       { transform: translate(-25px, 20px) scale(1.03); }
	70%       { transform: translate(20px, -10px) scale(0.98); }
}

body::before,
body::after {
	content: '';
	position: fixed;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	filter: blur(80px);
	opacity: 0.045;
}
body::before {
	width: 480px;
	height: 480px;
	top: -120px;
	left: -160px;
	background: radial-gradient(circle, #a855f7, transparent 70%);
	animation: orb-drift-1 18s ease-in-out infinite;
}
body::after {
	width: 400px;
	height: 400px;
	bottom: -100px;
	right: -120px;
	background: radial-gradient(circle, #6366f1, transparent 70%);
	animation: orb-drift-2 22s ease-in-out infinite;
}

@media (prefers-color-scheme: light) {
	body::before { opacity: 0.06; }
	body::after  { opacity: 0.06; }
}

@media (prefers-reduced-motion: reduce) {
	body::before,
	body::after { animation: none; }
}
