/*
 * PizzaBox — стилі теми.
 *
 * Медіа-запити — всередині розділу свого компонента.
 * Правила, що перекривають одне одного (той самий елемент, властивість і специфічність),
 * стоять у потрібному для каскаду порядку — переставляючи правила між розділами, це враховуйте.
 *
 * Зміст:
 *   1. Основа: скидання стилів, змінні, типографіка, утиліти
 *   2. Загальні компоненти, повідомлення WooCommerce, утиліти
 *   3. Шапка
 *   4. Мобільне бокове меню
 *   5. Попап вибору локації
 *   6. Банер-слайдер
 *   7. Каталог і меню категорій
 *   8. Картка товару
 *   9. Попап товару
 *  10. Конструктор піци (модалка добавок)
 *  11. Міні-кошик
 *  12. Модалки, вхід і реєстрація
 *  13. Оформлення замовлення
 *  14. Особистий кабінет
 *  15. Підвал
 */

/* ==========================================================================
   1. Основа: скидання стилів, змінні, типографіка, утиліти
   ========================================================================== */

.no-scroll {
	overflow: hidden;
}

/*
 Скидання стилів браузера (на основі Tailwind Preflight).
 */
::before,
::after {
	--tw-content: '';
}

html,
:host {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
	-webkit-tap-highlight-color: transparent;
}

body {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	font-size: 16px;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0;
	background-color: var(--neutral-white-secondary);
	overflow-x: clip; /* без горизонтального скролу сторінки від full-bleed сайдбару */
}

* {
	box-sizing: border-box;
	text-underline-offset: 0.134em;
}

hr {
	height: 0;
	color: inherit;
	border-top-width: 1px;
}

abbr:where([title]) {
	text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

a {
	color: inherit;
	text-decoration: inherit;
}

b,
strong {
	/* stylelint-disable-next-line font-weight-notation -- bolder відносний (до батька), числом не замінити без зміни вигляду. */
	font-weight: bolder;
}

code,
kbd,
samp,
pre {
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

table {
	text-indent: 0;
	border-color: inherit;
	border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
	font-family: Montserrat, sans-serif;
	font-feature-settings: inherit;
	font-variation-settings: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
	border: 0;
}

button,
select {
	text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
	background-color: transparent;
	background-image: none;
}

:-moz-focusring {
	outline: auto;
}

:-moz-ui-invalid {
	box-shadow: none;
}

progress {
	vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

[type='search'] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

summary {
	display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
	margin: 0;
}

fieldset {
	margin: 0;
	padding: 0;
}

legend {
	padding: 0;
}

ol,
ul,
menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

dialog {
	padding: 0;
}

textarea {
	resize: vertical;
}

button,
[role="button"] {
	cursor: pointer;
}

:disabled {
	cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block;
	vertical-align: middle;
}

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

[hidden] {
	display: none;
}

:root {

	/* Змінні кольорів */
	--neutral-white-primary: #fff;
	--neutral-white-secondary: #fafafa;
	--neutral-gray-100: #f4f4f4;
	--neutral-gray-200: #ececec;
	--neutral-gray-300: #d9d9d9;
	--neutral-gray-400: #9a9a9a;
	--neutral-gray-500: #707070;
	--neutral-gray-600: #515151;
	--neutral-black-primary: #090909;
	--primary-blue: #0096d3;
	--primary-blue-dark: #0077a7;
	--primary-yellow-strong: #ffca00;
	--primary-yellow-soft: #fbe9b6;
	--semantic-error: #ea314d;
	--semantic-warning: #f46608;
	--semantic-success: #008923;
	--izi-green: #bfe552;
	--gray-200-500: rgba(217, 217, 217, 0.5);
	--white-primary-600: rgba(255, 255, 255, 0.6);
	--black-primary-200: rgba(9, 9, 9, 0.2);
	--black-primary-400: rgba(9, 9, 9, 0.4);
	--black-primary-50: rgba(9, 9, 9, 0.05);
	--black-primary-500: rgba(9, 9, 9, 0.5);
	--gray-400-500: rgba(154, 154, 154, 0.5);
	--blue-100: rgba(0, 150, 211, 0.1);
	--blue-50: rgba(0, 150, 211, 0.05);
	--blue-500: rgba(0, 150, 211, 0.5);
	--success-100: rgba(0, 137, 35, 0.1);
	--warning-100: rgba(244, 102, 8, 0.1);
	--error-100: rgba(234, 49, 77, 0.1);
	--error-50: rgba(234, 49, 77, 0.05);
	--hower-state: #ade552;
	--black-primary-700: rgba(9, 9, 9, 0.7);
	--gray-200-200: rgba(217, 217, 217, 0.2);
}

html {
	height: 100%;
	font-size: 16px;
	scroll-behavior: smooth;
}

h5 {
	font-weight: 600;
	font-size: 24px;
	line-height: 100%;
	vertical-align: middle;
}

h4 {
	font-weight: 600;
	font-size: 28px;
	line-height: 100%;
	vertical-align: middle;
}

button.show-password-input {
	position: absolute;
}

.clear {
	position: absolute;
}

html.lock {
	overflow: hidden;
}

.container {
	width: 100%;
	max-width: 1304px;
	padding: 0 12px;
	margin: 0 auto;
}

/* ==========================================================================
   2. Загальні компоненти, повідомлення WooCommerce, утиліти
   ========================================================================== */

.woocommerce-error {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 0;
}

.woocommerce-error:focus-visible {
	outline: unset;
	font-weight: 500;
	font-size: 14px;
	color: var(--neutral-gray-500, #a5a5a5);
}

.filters {
	display: flex;
	gap: 8px;
}

.icon {
	opacity: 0.6;
	font-size: 14px;
}

.btn {
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.icon-phone {
	padding: 6px;
	border-radius: 100px;
	width: 28px;
	height: 28px;
	display: flex;
	border: 1px solid #0909090D;
}

.title {
	font-weight: 600;
	font-size: 15px;
}

.subtitle {
	font-size: 14px;
	opacity: 0.9;
	font-weight: 500;
}

.close {
	margin-left: auto;
	cursor: pointer;
	font-size: 16px;
	opacity: 0.8;
}

.close:hover {
	opacity: 1;
}

.woocommerce-product-details__short-description {
	font-size: 16px;
	font-weight: 400;
	color: var(--neutral-gray-500);
	line-height: 130%;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.btn-edit-small {
	background: none;
	border: 1px solid var(--neutral-gray-200);
	border-radius: 50px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-edit-small:hover {
	background-color: var(--neutral-gray-100);
	border-color: var(--neutral-gray-300);
}

/* Іконка (object) не перехоплює кліки. */
.btn-edit-small object,
.btn-edit-small svg {
	pointer-events: none;
}

.input {
	width: 100%;
	background-color: transparent;
	border: 1px solid var(--neutral-gray-300);
	border-radius: 50px;
	padding: 16px 20px;
	font-size: 16px;
	outline: none;
	box-sizing: border-box;
}

.input::placeholder {
	color: var(--neutral-gray-500);
}

@media (max-width: 768px) {

	.input::placeholder {
		color: var(--neutral-gray-400);
	}
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.pizzabox-auth-notices .woocommerce-error {
	list-style: none;
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #fde8ec;
	border: 1px solid #ea314d;
	border-radius: 12px;
	color: #ea314d;
	font-size: 14px;
	font-weight: 500;
}

.pizzabox-auth-notices .woocommerce-error li {
	margin: 0;
}

/* Кнопка конструктора поверх інших шарів картки; без затримки тапу на мобільних. */
.open-constructor {
	position: relative;
	z-index: 10;
	touch-action: manipulation;
	cursor: pointer;
}

/* Іконка всередині кнопки не перехоплює клік/тап. */
.open-constructor img {
	pointer-events: none;
}

/* ==========================================================================
   3. Шапка
   ========================================================================== */

.header-desk {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--neutral-white-secondary);
	padding: 24px 80px;
	border-bottom: 1px solid var(--neutral-gray-200);
	position: sticky;
	top: 0;
	z-index: 1000;

	/* Тінь відділяє липку шапку від контенту під час прокрутки. */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.header-nav {
	display: flex;
	gap: 32px;
	flex: 1; /* Рівна частка ширини зліва й справа — логотип рівно по центру. */
}

.header-link {
	text-decoration: none;
	color: var(--neutral-black-primary);
	font-size: 16px;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 100px;
	background-color: transparent;
	transition: all 0.3s ease;
}

.header-link:hover {
	background-color: var(--primary-blue-200);
	transition: all 0.3s ease;
	padding: 6px 12px;
	border-radius: 100px;
}

.header-logo-link {
	display: flex;
	justify-content: center;
	flex-shrink: 0;
}

.header-logotype {
	height: 67px;
	width: auto;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
	justify-content: flex-end;
}

.header-location-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	text-align: right;
}

.icon-circle {
	width: 56px;
	height: 56px;
	background-color: var(--neutral-gray-100);
	border: 1px solid var(--neutral-gray-300);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.icon-circle:hover {
	border-color: var(--primary-blue);
	background-color: var(--neutral-white-primary);
}

.header-icon {
	width: 32px;
	height: 32px;
}

.header-divider {
	width: 2px;
	height: 20px;
	background-color: var(--neutral-gray-300);
	margin: 0 8px;
}

.mobile-header {
	display: none;
}

@media (max-width: 1200px) {

	.header-desk {
		padding: 20px 40px;
		gap: 20px;
	}

	.header-nav {
		gap: 16px;
	}

	.header-logotype {
		height: 48px;
	}
}

@media (max-width: 1024px) {

	.header-desk {
		display: none;
	}

	.mobile-header {
		position: sticky;
		top: 0;
		z-index: 1000;
		display: flex;
		padding: 12px 16px;
		height: 80px;
		justify-content: space-between;
		gap: 20px;
		background: var(--neutral-white-secondary);
	}

	.icon-circle {
		width: 44px;
		height: 44px;
	}

	.header-icon {
		width: 24px;
		height: 24px;
	}

	.mobile-burger-btn {
		background: none;
		border: none;
		padding: 0;
		cursor: pointer;
	}

	/* Іконка бургера змінюється на хрестик, коли меню відкрите. */
	.mobile-burger-btn.is-active .icon-burger {
		display: none;
	}

	.mobile-burger-btn.is-active .icon-close {
		display: block !important;
	}
}

@media (max-width: 768px) {

	.header-nav,
	.header-location-btn,
	.header-divider {
		display: none !important;
	}

	.header-logotype {
		height: 38px;
	}

	.header-logo-link {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}

.header__checkout-title {
	display: flex;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	color: var(--primary-blue);
	padding: 20px;
	border: 1px solid var(--primary-blue);
	border-radius: 12px;
	background: var(--blue-50);
	margin-bottom: 10px;
}

@media (min-width: 768px) {

	.header__checkout-title {
		padding: 24px;
	}
}

#burgerBtn .icon-close {
	display: none;
}

/* ==========================================================================
   4. Мобільне бокове меню
   ========================================================================== */

.mobile-side-menu {
	display: none;
}

@media (max-width: 1024px) {

	.mobile-side-menu {
		position: fixed;
		top: 0; /* На весь екран, включно з хедером */
		left: 0;
		height: 100vh;
		background: var(--neutral-white-secondary);
		transform: translateX(-100%);
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		padding: 24px;
		z-index: 10000;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}

	/*
	 Адмінбар WP фіксований і перекриває верх панелі (z-index: 99999) —
	 відсуваємо панель нижче його висоти, інакше хрестик закриття ховається під ним.
	 */
	body.admin-bar .mobile-side-menu {
		top: 32px; /* висота адмінбару на екранах > 782px */
		height: calc(100vh - 32px);
	}
}

@media (max-width: 1024px) {

	@media screen and (max-width: 782px) {

		body.admin-bar .mobile-side-menu {
			top: 46px; /* адмінбар переходить у мобільну версію (46px) */
			height: calc(100vh - 46px);
		}
	}
}

@media (max-width: 1024px) {

	.side-menu-content {
		display: flex;
		flex-direction: column;
		gap: 22px;
		margin-top: auto; /* "Powered by" залишається внизу панелі */
	}

	.mobile-side-menu.active {
		transform: translateX(0);
	}

	.side-menu-close {
		position: absolute;
		top: 16px;
		right: 16px;
		padding: 0;
		cursor: pointer;
		color: var(--neutral-black-primary);
	}

	.mobile-location-block {
		display: flex;
		flex-direction: column;
		cursor: pointer;
	}

	.mobile-nav-links {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.mobile-nav-links .header-link {
		font-size: 18px; /* Більші посилання — під дотик. */
		font-weight: 500;
	}
}

.line-divider {
	height: 1px;
	background-color: var(--neutral-gray-300);
	margin: 24px 0;
	width: 100%;
}

#sideMenu .powered-by__label {
	color: var(--neutral-gray-300);
}

/* ==========================================================================
   5. Попап вибору локації
   ========================================================================== */

.loc-title {
	margin-left: 20px;
	margin-bottom: 12px;
}

.location-btn {
	display: flex;
	gap: 8px;
}

.location-text {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.location-label {
	color: var(--semantic-success);
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 8px;
}

.location-phone {
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: var(--neutral-black-primary);
	margin-bottom: 16px;
}

.location-dropdown {

	/*
	 Позиціюється відносно вікна: попап лежить поза шапками, тож однаково працює на десктопі й мобільному.
	 */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--neutral-white-secondary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-height: 0;
	overflow: auto;
	opacity: 0;
	transform: translateY(-20px);

	/*
	 Анімуємо лише opacity і transform: перехід height/max-height до повної висоти не інтерполюється коректно, і вміст попапу зависав зсунутим.
	 */
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;

	/*
	 Вище за .mobile-side-menu (z-index 10000 на мобільному), інакше відкритий попап ховається під бургер-меню.
	 */
	z-index: 10100;
}

.location-dropdown.active {

	/*
	 Саме height, а не лише max-height: попап завжди займає весь екран, навіть коли локацій мало.
	 */
	height: 100vh;
	max-height: 100vh;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.location-dropdown__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	padding: 0;
	cursor: pointer;
	color: var(--neutral-black-primary);
}

.location-dropdown__content {
	padding: 24px;
	max-width: 1200px;
	margin: 0 auto;

	/*
	 Колонкою на всю висоту попапу: заголовок + рядок пошуку залишаються
	 зверху, а .location-list (нижче) розтягується на весь залишок
	 висоти і сам скролиться.
	 */
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.loc-title,
.location-top-bar {
	flex: none;
}

.location-list {

	/*
	 Займає весь залишок висоти попапу й сама скролиться, замість
	 того щоб мати довільний фіксований розмір.
	 */
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;

	/*
	 Рядки гріда — за висотою вмісту й притиснуті до верху; інакше грід розтягує картки на всю висоту контейнера.
	 */
	align-content: start;
	align-items: start;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	padding: 20px;
	background-color: #f8f9fa;
}

.location-card {
	background: var(--neutral-white-primary);
	position: relative;
	border-radius: 16px;
	padding: 24px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.location-top-bar {
	display: flex;
	gap: 12px;
	padding: 20px;
	align-items: center;
	justify-content: space-between;
}

.search-icon {
	color: #888;
	font-size: 18px;
	margin-right: 4px;
}

.search-actions {
	display: flex;
	gap: 8px;
}

.chip {
	border: none;
	display: flex;
	align-items: center;
	background: var(--primary-blue-200);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	gap: 8px;
}

.chip.active {
	background: var(--primary-blue-200);
}

.chip.dropdown {
	background: var(--primary-blue-200);
}

.dropdown-wrapper {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 110%;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	width: 180px;
	display: none;
	z-index: 1000;
}

.dropdown-item {
	font-weight: 500;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
}

.dropdown-item:hover {
	background-color: #f0f4ff;
}

.search-container {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.search-bar {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--neutral-white-primary);
	border: 1px solid var(--neutral-gray-200);
	border-radius: 14px;
	padding: 8px 16px;
	overflow: hidden;
}

.search-input {
	flex: 1;
	border: none;
	background: transparent;
	outline: none;
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-gray-400);
}

.sort {
	display: flex;
	align-items: center;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	user-select: none;
	gap: 8px;
	background: var(--neutral-white-primary);
	border: 1px solid var(--neutral-gray-200);
}

.location-card.active {
	background: var(--primary-blue-200);
}

.location-card.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.location-card:hover {
	background: var(--primary-blue-200);
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.location-address {
	font-weight: 600;
	font-size: 16px;
	color: var(--neutral-black-primary);
	margin-bottom: 12px;
}

.location-hours-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	border-top: 1px solid #0909090D;
}

.hours-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--neutral-black-primary);
}

.hours-value {
	font-size: 14px;
	font-weight: 400;
	color: var(--neutral-black-primary);
}

.location-arrow {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 40px;
	height: 32px;
	background: var(--primary-blue);
	color: var(--neutral-white-primary);
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* Стрілка — лише на активній картці чи під курсором. */
.location-card:hover .location-arrow {
	opacity: 1;
}

@media (max-width: 1024px) {

	.search-container {
		flex-direction: column;
	}

	/* Відступ зверху, щоб заголовок не прилипав до краю екрана */
	.location-dropdown__content {
		padding: 24px 0 0;
	}

	.search-bar {
		width: 100%;
	}

	.location-hours-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.location-list {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		background-color: transparent;
	}

	.location-card {
		border: 1px solid var(--neutral-gray-200);
	}

	.location-phone {
		font-size: 14px;
	}

	.chip {
		font-size: 14px;
	}

	.loc-title {
		font-weight: 600;
		font-size: 20px;
	}

	.sort {
		font-size: 14px;
	}

	.search-actions {
		align-items: center;
	}
}

@media (max-width: 768px) {

	.location-text {
		display: none;
	}

	.location-hours-row {
		flex-direction: row;
		align-items: flex-start;
		gap: 4px;
	}

	.search-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	/* Центрований заголовок; однакові поля зліва й справа не дають тексту зайти під хрестик. */
	.loc-title {
		margin-left: 64px;
		margin-right: 64px;
		text-align: center;
	}
}

/* ==========================================================================
   6. Банер-слайдер
   ========================================================================== */
.banner-section {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	padding: 24px 0;
}

.banner-track {
	display: flex;
	gap: 20px;
	width: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 0 7.5%;
	scroll-behavior: smooth;
}

.banner-item {
	flex: 0 0 85%;
	scroll-snap-align: center;
	border-radius: 24px;
	overflow: hidden;
}

.banner-track::-webkit-scrollbar {
	display: none;
}

.banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none; /* Зображення не перетягується мишею під час прокрутки. */
}

/* ==========================================================================
   7. Каталог і меню категорій
   ========================================================================== */

.category-title {
	font-size: 28px;
	font-weight: 600;
	color: var(--neutral-black-primary);
	margin-bottom: 32px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 24px;
	padding-top: 20px;
}

@media (min-width: 768px) {

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*
 Три колонки — з 1100px: вужче частину ширини забирає кошик, і в картці шириною ~200px
 ціна з кнопкою не вміщається в рядок.
 */
@media (min-width: 1100px) {

	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.section-products {

	/*
	 Фон сайдбару (::after, 50vw) доходить до краю екрана й обрізається по краю секції:
	 інакше він розширює сторінку, і на планшетах вона зменшується або прокручується вбік.
	 clip, а не hidden, — щоб не ламати липкий кошик.
	 */
	overflow-x: clip;
	overflow-y: visible;
	padding-bottom: 100px;
}

@media (min-width: 1240px) {

	.section-products {
		padding-bottom: 150px;
	}
}

.section-products__body {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.full-menu {
	flex: 1 1 auto;
	min-width: 0; /* дозволяє стискатися і запобігає горизонтальному скролу сторінки */
}

.menu-category {
	scroll-margin-top: 120px;
}

.full-menu-scroll {
	display: flex;
	flex-direction: column;
	gap: 64px;
	margin-top: 32px;
}

/* Розділи «Улюблене», «Салати» й «Закуски» на головній поки приховані. */
#myproducts,
#salat_products,
#zakuski {
	display: none;
}

/* ==========================================================================
   8. Картка товару
   ========================================================================== */

.product-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.product-popup.active {
	display: flex;
	padding: 25px;
	justify-content: center;
	align-items: center;
}

.product-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.6);
}

.product-popup-content {
	position: relative;
	background: #fff;
	max-width: 600px;
	margin: 5vh auto;
	padding: 24px;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 12px;
}

.product-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	font-size: 28px;
	border: none;
	cursor: pointer;
}

.product-card {
	background: var(--neutral-white-primary);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--neutral-gray-200);
	overflow: hidden;
	position: relative;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-top {
	position: relative;
	width: 100%;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Позначка для адміністрації: картку без фото клієнти не бачать. */
.product-card__admin-note {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 3;
	width: fit-content;
	padding: 6px 12px;
	border-radius: 100px;
	background: var(--semantic-warning);
	color: var(--neutral-white-primary);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
}

.card-bg {
	position: absolute;
	width: 100%;
	height: 122px;
	top: 0;
	background: var(--neutral-gray-100);
	z-index: 1;
}

.product-img {
	position: relative;
	z-index: 2;
	max-width: 180px;
	object-fit: contain;
}

.card-info {
	padding: 20px 24px;
	flex-grow: 1;
}

/* Назва переноситься й показується повністю (зазвичай 1–2 рядки). */
.product-name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 12px;
	color: var(--neutral-black-primary);
	overflow-wrap: anywhere;
}

/* Опис — повністю, без обрізання. */
.product-ingredients {
	font-size: 16px;
	font-weight: 400;
	color: var(--neutral-gray-500);
	line-height: 1.4em;
}

.line-a {
	height: 1px;
	background: var(--neutral-gray-200);
	margin: 0 24px;
}

.card-footer {
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/*
 Сітка з кількох колонок: картка — subgrid із рядами «фото / назва / опис / лінія / ціна»,
 тож у всіх картках ряду назва, опис і ціна починаються на одній висоті — висоту ряду
 задає найдовша назва чи опис. Проміжок між рядами карток — margin картки
 (row-gap гріду потрапив би всередину subgrid).
 */
@media (min-width: 768px) {

	.products-grid {
		row-gap: 0;
		margin-bottom: -24px;
	}

	.product-card {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 5;
		row-gap: 0;
		margin-bottom: 24px;
	}

	.card-info {
		display: contents;
	}

	.card-top {
		grid-row: 1;
	}

	.product-name {
		grid-row: 2;
		margin: 0;
		padding: 20px 24px 12px;
	}

	.product-ingredients {
		grid-row: 3;
		padding: 0 24px;
	}

	.line-a {
		grid-row: 4;
		margin-top: 20px;
	}

	.card-footer {
		grid-row: 5;
	}
}

.price {
	font-size: 20px;
	font-weight: 700;
	color: var(--neutral-black-primary);
	white-space: nowrap;
}

.btn-add-to-cart {
	background: var(--primary-yellow-soft);
	border: 1px solid var(--primary-yellow-strong);
	border-radius: 50px;
	cursor: pointer;
	width: 44px;
	height: 44px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
	transform: rotate(90deg) scale(1.1);
	background-color: var(--primary-yellow-strong);
}

.btn-add-to-cart--disabled,
.btn-add-to-cart:disabled {
	background: var(--neutral-gray-200, #e5e5e5);
	border-color: var(--neutral-gray-300, #d4d4d4);
	cursor: not-allowed;
	pointer-events: none;
	opacity: 0.6;
}

.btn-add-to-cart--disabled:hover,
.btn-add-to-cart:disabled:hover {
	transform: none;
	background: var(--neutral-gray-200, #e5e5e5);
}

.expand-on-hover object,
.btn-add-to-cart object {
	width: 20px;
	height: 20px;
	pointer-events: none;
	flex-shrink: 0;
}

@media (max-width: 768px) {

	.card-order-sidebar[data-open="true"] .sidebar-title {
		display: block;
	}

	.card-order-sidebar[data-open="true"] .sidebar-head__summary {
		display: none;
	}

	/* У розгорнутому стані кнопку з бару ховаємо (є основна в тілі кошика) */
	.card-order-sidebar[data-open="true"] .btn-checkout-bar {
		display: none;
	}

	/* Розгорнутий кошик: заголовок зверху, кнопка знизу, прокручується лише середина. */
	.card-order-sidebar {
		display: flex;
		flex-direction: column;
		min-height: 0;
		flex: 1 1 auto;
		max-height: 100%;
	}

	.card-order-sidebar[data-open="true"] .sidebar-head {
		position: sticky;
		top: 0;
		z-index: 2;
		background: var(--neutral-gray-200);
		padding-bottom: 8px;
		flex-shrink: 0;
	}

	.card-order-sidebar[data-open="true"] .sidebar-body {
		flex: 1 1 auto;
		min-height: 0;
		max-height: none !important;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.card-order-sidebar[data-open="true"] .sidebar-body.smooth-content,
	.card-order-sidebar[data-open="true"] .sidebar-body.smooth-content.open {

		/* smooth-block.js задає max-height інлайном — перекриваємо, щоб працював flex. */
		max-height: none !important;
	}

	/*
	 Прокручується лише список товарів: «Всього», промокод, сума й «Оформити» стоять на місці.
	 overflow-y: auto — запас для дуже низьких екранів.
	 */
	.card-order-sidebar[data-open="true"] .sidebar-body__inner {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		margin-top: 12px;
		padding-top: 12px;
		padding-bottom: 8px;
	}

	.card-order-sidebar[data-open="true"] .sidebar-body__inner > * {
		flex-shrink: 0;
	}

	.card-order-sidebar[data-open="true"] .btn-checkout-main {
		margin-top: 12px;
		margin-bottom: 0;
	}

	/* Список товарів забирає решту висоти й прокручується сам; мінімум — приблизно одна позиція */
	.card-order-sidebar[data-open="true"] .sidebar-body__inner > .order-items-card {
		flex: 0 1 auto;
		min-height: min(120px, 100%);
		max-height: none;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
}

.card-order-sidebar {
	display: flex;
	flex-direction: column;
}

.woocommerce-form-coupon-toggle,
.section-checkout__left .validate-state,
.section-checkout__left .validate-postcode,
.section-checkout__right .product-quantity {
	display: none !important;
}

.section-checkout__right td.product-total {
	display: flex;
	justify-content: flex-end;
}

.section-checkout .product-name {
	white-space: wrap;
}

/* ==========================================================================
   9. Попап товару
   ========================================================================== */

.popup-product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.popup-product-info h2 {
	margin-bottom: 10px;
}

.popup-product-image img {
	width: 100%;
	height: auto;
	display: block;
}

.popup-product-image {
	aspect-ratio: 1;
	max-width: 450px;
	margin: 0 auto;
}

/* ==========================================================================
   10. Конструктор піци (модалка добавок)
   ========================================================================== */

.mini-cart-qty .qty-value {
	min-width: 14px;
	text-align: center;
}

.add-ingredients {
	width: 630px;
	margin: 60px auto 40px;
	max-height: calc(100vh - 100px);
	max-height: calc(100dvh - 100px);
	background: var(--neutral-white-primary);
	border-radius: 20px;
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.add-ingredients__option-left {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	color: var(--neutral-black-primary);
	flex: 1 1 auto;
	min-width: 0;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.add-ingredients__option input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	aspect-ratio: 1/1;
	border-radius: 4px;
	border: 1px solid var(--neutral-gray-300);
}

.add-ingredients__option input[type="checkbox"]:checked {
	background: var(--primary-blue);
	background-color: var(--primary-blue);
}

.add-ingredients__option input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 5px;
	width: 4px;
	height: 9px;
	border: solid var(--neutral-white-primary);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.add-ingredients__header {
	display: flex;
	gap: 15px;
	padding-left: 200px;
	padding-right: 100px;
	padding-top: 32px;
	padding-bottom: 32px;
}

.add-ingredients_body {
	width: 100%;
	height: 416px;
	overflow-y: scroll;
	padding-bottom: 24px;
	padding-top: 4px;
	padding-left: 100px;
	padding-right: 100px;
	background-color: var(--neutral-gray-100);
}

.add-ingredients__img {
	width: 200px;
	position: absolute;
	left: -30px;
	top: -30px;
}

.add-ingredients__title {
	font-size: 28px;
	font-weight: 700;
}

.add-ingredients__desc {
	color: var(--neutral-gray-500);
	font-size: 18px;
	margin-top: 16px;
	font-weight: 400;
}

.add-ingredients__section-title {
	margin-top: 20px;
	margin-bottom: 20px;
	color: var(--neutral-black-primary);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.32px;
}

/* Рядок добавки: назва, лічильник і ціна рівними стовпчиками. */
.add-ingredients__option {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.add-ingredients__option-left span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}

.add-ingredients__price {
	background: var(--primary-blue-200);
	padding: 8px 12px;
	border-radius: 15px;
	color: var(--primary-blue-dark);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	flex-shrink: 0;
	white-space: nowrap;
	min-width: 90px;
	text-align: center;
}

/* Лічильник фіксованої ширини — усі в один стовпчик. */
.add-ingredients__counter {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 96px;
	min-width: 96px;
	flex-shrink: 0;
	padding: 8px 12px;
	justify-content: space-between;
	border-radius: 100px;
	border: 1px solid var(--neutral-gray-300);
	font-size: 16px;
	font-weight: 500;
}

.add-ingredients__counter button {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
}

.add-ingredients__counter_mob {
	display: none;
	gap: 10px;
	width: 110px;
	flex-shrink: 0;
	padding: 8px 12px;
	justify-content: space-between;
	align-items: center;
	border-radius: 100px;
	border: 1px solid var(--neutral-gray-300);
	font-size: 16px;
	font-weight: 500;
	margin: 12px 0;
}

.add-ingredients__counter_mob button {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
}

.add-ingredients__btn {
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 16px 126px;
	border-radius: 25px;
	border: none;
	background: var(--primary-blue);
	color: var(--neutral-white-primary);
	cursor: pointer;
	transition: all 0.3s ease;
}

.add-ingredients__btn:hover {
	background: var(--primary-blue-dark);
	transition: all 0.3s ease;
}

@media (max-width: 768px) {

	.add-ingredients {

		/*
		 Картка стоїть на 100px нижче верху підкладки, тож її висота на 100px менша за екран —
	 інакше кнопка «Додати в кошик» виходить за нижній край.
		 */
		height: calc(100% - 100px);
		height: calc(100dvh - 100px);
		max-height: calc(100% - 100px);
		max-height: calc(100dvh - 100px);
		top: 100px;
		width: 100%;
		border-radius: 0;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.add-ingredients__title {
		font-size: 18px;
	}

	.add-ingredients__desc {
		font-size: 14px;
	}

	.add-ingredients__header {
		padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 90px;
		padding-right: 60px;
		flex-shrink: 0;
	}

	.add-ingredients__img {
		width: 120px;
		left: -50px;
		top: -10px;
	}

	.add-ingredients_body {
		padding-left: 16px;
		padding-right: 16px;

		/*
		 Прокручується лише цей список — шапка й кнопка завжди видимі.
		 */
		height: auto;
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
	}

	.add-ingredients__btn {
		width: 95%;
		padding: 16px 0;
		flex-shrink: 0;
	}

	.add-ingredients__counter_mob {
		display: flex;
		margin: 0;
	}

	.add-ingredients__counter {
		display: none;
	}

	.add-ingredients__option {
		justify-content: flex-start;
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 6px 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid var(--neutral-gray-200);
	}

	.add-ingredients__option-left {

		/*
		 Довга назва завжди займає весь рядок і переносить степер+ціну
		 на наступний рядок - виключає будь-яке накладання елементів.
		 */
		flex: 1 1 100%;
		min-width: 0;
	}
}

#pizza-modal {
	display: none !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	background: rgba(0, 0, 0, 0.7) !important;
	z-index: 999999 !important;
	margin: 0 !important;
	padding: 0 !important;
}

#pizza-modal.active {
	display: block !important;
}

.add-ingredients,
#pizza-modal .add-ingredients {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 100% !important;
	max-width: 600px !important;
	height: 90vh !important;
	height: 90dvh !important;
	max-height: 800px !important;
	margin: 0 !important;
	padding: 50px 0 16px 0 !important;
	background: #fff !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
	z-index: 1000000 !important;
	border-radius: 16px !important;
}

@media (max-width: 768px) {

	.add-ingredients,
	#pizza-modal .add-ingredients {
		top: 0 !important;
		left: 0 !important;
		transform: none !important;
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-width: none !important;
		max-height: none !important;
		border-radius: 0 !important;
	}
}

.add-ingredients_body,
#pizza-modal .add-ingredients_body {
	display: block !important;
	width: 100% !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
	margin: 0 !important;
	padding-left: 16px !important;
	padding-right: 20px !important;
	box-sizing: border-box !important;
}

.add-ingredients .close,
.add-ingredients_body .close,
#pizza-modal .close-modal,
#pizza-modal .add-ingredients__close,
#pizza-modal [data-dismiss],
#pizza-modal .close {
	position: absolute !important;
	top: 12px !important;
	right: 16px !important;
	left: auto !important;
	bottom: auto !important;
	width: 36px !important;
	height: 36px !important;
	z-index: 1000010 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #f5f5f5 !important;
	border-radius: 50% !important;
	margin: 0 !important;
}

#add-to-cart-final,
#pizza-modal .add-to-cart-btn,
#pizza-modal #add-to-cart-final {
	position: relative !important;
	flex-shrink: 0 !important;
	width: calc(100% - 32px) !important;
	height: 48px !important;
	margin: 12px 16px 16px 16px !important;
	z-index: 1000005 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 0 !important;
}

#add-to-cart-final *,
#pizza-modal .add-to-cart-btn *,
#pizza-modal #add-to-cart-final * {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

#pizza-modal-image {
	margin-bottom: 15px;
}

#pizza-modal-image img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   11. Міні-кошик
   ========================================================================== */

.variation {
	font-size: 12px;
}

.notification {
	margin-top: 20px !important;
	color: #fff;
	box-shadow: unset;
	z-index: 1;
	transition: all 0.4s ease;
	border: 1px solid var(--gray-400-500);
	border-radius: 12px;
	padding: 20px;
	overflow-y: auto;
	background: var(--neutral-white-primary);

	/* Потрібно як опорна точка для абсолютного позиціювання кнопки закриття */
	position: relative;
	transform: none;
	min-width: 100%;
}

.notification.show {
	opacity: 1;
	transform: none;
}

.notification-content h3 {
	padding-bottom: 12px;
}

.notification-content p {
	padding-bottom: 12px;
}

.notification-content {
	padding: 10px;
}

.cart-item-group:not(:last-child) {
	border-bottom: 1px solid var(--neutral-gray-200);
}

.cart-item-group:not(:first-child) {
	padding-top: 20px;
}

.item-footer-row,
.cart-item-group__row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.item-footer-row {
	align-items: center;
	margin-top: 20px;
	padding-bottom: 20px;
}

.variation__title {
	font-weight: 600;
	font-size: 14px;
	color: var(--neutral-gray-500);
	margin-top: 14px;
}

.variation__body {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.variation__row {
	display: flex;
	gap: 4px;
	font-weight: 500;
	font-size: 14px;
	color: var(--neutral-black-primary);
}

.sidebar-head {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: space-between;
}

.sidebar-head__arrow {
	display: flex;
	transition: transform .25s ease;
}

.sidebar-head.smooth-btn.active .sidebar-head__arrow {
	transform: rotate(180deg);
}

.sidebar-head__icon {
	margin-left: auto !important;
	display: flex !important;
	align-items: center !important;
	order: 2 !important;
}

.sidebar-body__inner {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--neutral-gray-300);
}

/* Підсумок і кнопка «Оформити» у мобільному барі кошика — на десктопі приховані */
.sidebar-head__summary,
.btn-checkout-bar {
	display: none;
}

@media (max-width: 768px) {

	.sidebar-body {
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s linear;
	}

	.sidebar-head__icon {
		display: flex;
		align-items: center;
		gap: 5px;
		border: 1px solid var(--primary-blue);
		border-radius: 100px;
		padding: 10px 14px;
		flex-shrink: 0;
	}

	/*
	 Згорнутий стан - компактна панель-підсумок (кількість, сума);
	 заголовок "Кошик" показуємо лише коли кошик розгорнутий.
	 */
	.sidebar-head {
		flex-wrap: nowrap;
		gap: 8px;
		align-items: center;
	}

	.sidebar-title {
		display: none;
	}

	.sidebar-head__summary {
		display: flex;
		flex-direction: column;
		gap: 2px;
		font-size: 12px;
		font-weight: 600;
		color: var(--neutral-black-primary);
		margin-right: auto;
		min-width: 0;
		overflow: hidden;
	}

	.sidebar-head__summary-count,
	.sidebar-head__summary-total {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.sidebar-head__summary-count {
		color: var(--neutral-gray-500);
		font-weight: 400;
	}

	/* Сіра / активна кнопка «Оформити» в згорнутому мобільному барі */
	.btn-checkout-bar {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-right: auto;
		padding: 12px 28px;
		border-radius: 100px;
		font-weight: 700;
		font-size: 16px;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
		flex-shrink: 0;
		border: none;
		background: var(--primary-blue);
		color: var(--neutral-white-primary);
		cursor: pointer;
		transition: opacity 0.2s ease, background 0.2s ease;
	}

	.btn-checkout-bar--disabled {
		background: var(--neutral-gray-300, #e0e0e0);
		color: var(--neutral-gray-500, #9e9e9e);
		cursor: not-allowed;
		pointer-events: none;
	}

	/*
	 Згорнутий кошик за макетом (Cart-Field_360px): біла смуга внизу, два рядки —
	 «N позицій • сума» по центру, під ним «Оформити» на всю ширину і кнопка кошика.
	 */
	.js-mini-cart:has(.card-order-sidebar:not([data-open="true"])) {
		background: var(--neutral-white-primary);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
	}

	.card-order-sidebar:not([data-open="true"]) .sidebar-head {
		flex-wrap: wrap;
		gap: 12px;
	}

	.card-order-sidebar:not([data-open="true"]) .sidebar-head__summary {
		flex: 1 0 100%;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 8px;
		margin-right: 0;
		font-size: 14px;
	}

	.card-order-sidebar:not([data-open="true"]) .sidebar-head__summary-total {
		font-weight: 700;
	}

	.card-order-sidebar:not([data-open="true"]) .sidebar-head__summary-total::before {
		content: "•";
		margin-right: 8px;
		color: var(--neutral-gray-300);
		font-weight: 400;
	}

	.card-order-sidebar:not([data-open="true"]) .btn-checkout-bar {
		flex: 1 1 auto;
		margin-right: 0;
	}
}

.sidebar-order {
	width: 300px;
	min-width: 300px;
	max-width: 300px;
	flex-shrink: 0;
	background: var(--neutral-gray-200);
	position: relative;
	border-radius: 20px 0 0 20px;

	/* overflow-x НЕ hidden — інакше ::after (фон до краю екрану) обрізається */
	box-sizing: border-box;
}

/* Full-bleed фон до правого краю екрану (заповнює щілину між сайдбаром і краєм вікна) */
.sidebar-order::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 50vw; /* лише вправо — без горизонтального скролу сторінки */
	background: var(--neutral-gray-200);
	pointer-events: none;
	z-index: -1;
}

.sidebar-order__body {
	padding: 32px 16px 32px 20px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden; /* скрол контенту всередині, без обрізання ::after */
}

@media (min-width: 769px) {

	/*
	 Липкий кошик: липким є сам .sidebar-order (у флекс-колонці з align-items: flex-start).
	 Картка не вища за вікно: стискається й прокручується лише список позицій, а промокод,
	 сума й «Оформити» лишаються внизу. Прилипає під липкою шапкою сайту (80px до 1024px,
	 до 154px ширше) з відступом 20px.
	 */
	.sidebar-order {
		position: sticky;
		top: 100px;
		max-height: calc(100vh - 120px);
		display: flex;
		flex-direction: column;
	}

	.sidebar-order__body {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;

		/* Запас для дуже низьких вікон: якщо навіть без позицій не вміщається — прокрутка всієї картки */
		overflow-y: auto;
	}

	.sidebar-order .card-order-sidebar,
	.sidebar-order .sidebar-body__inner {
		flex: 1 1 auto;
		min-height: 0;
	}

	/* smooth-block.js ставить інлайн max-height для мобільного розгортання — на десктопі не потрібен */
	.sidebar-order .sidebar-body {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		max-height: none !important;
	}

	.sidebar-order .sidebar-body__inner {
		display: flex;
		flex-direction: column;
	}

	.sidebar-order .sidebar-body__inner > * {
		flex-shrink: 0;
	}

	.sidebar-order .sidebar-body__inner > .order-items-card {
		flex: 0 1 auto;
		min-height: 0;
		max-height: none;
	}
}

@media (min-width: 1025px) {

	.sidebar-order {
		top: 174px;
		max-height: calc(100vh - 194px);
	}
}

@media (max-width: 768px) {

	.sidebar-order {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: 100%;

		/* Над контентом сторінки, під модалками. */
		z-index: 1100;

		/*
		 Місце для панелей браузера й домашнього індикатора. 100vh — лише запасний варіант:
		 на телефоні він більший за видиму область.
		 */
		max-height: calc(100vh - env(safe-area-inset-top, 0px) - 8px);
		max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 8px);
		border-radius: 20px 20px 0 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.sidebar-order::after {
		display: none;
	}

	.sidebar-order__body {
		padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
		max-height: none;
		height: 100%;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		box-sizing: border-box;
	}
}

.btn-checkout-main {
	width: 100%;
	background: var(--primary-blue);
	color: var(--neutral-white-primary);
	padding: 16px;
	border-radius: 50px;
	border: none;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: 0.3s;
}

.sidebar-order .btn-checkout-main {
	margin-top: 24px;
}

/* Біла картка з товарами — висота за контентом, скрол лише коли товарів багато */
.order-items-card {
	border: 1px solid var(--gray-400-500);
	border-radius: 12px;
	padding: 20px;
	height: auto;
	max-height: min(300px, 40vh);
	overflow-y: auto;
	background: var(--neutral-white-primary);
}

@media (min-width: 1024px) {

	.order-items-card {
		max-height: min(420px, 45vh);
	}
}

.order-items-card::-webkit-scrollbar {
	width: 6px;
}

.order-items-card::-webkit-scrollbar-track {
	background: #efefef;

	/* Смуга не заходить на заокруглені кути картки */
	margin-block: 12px;
}

.order-items-card::-webkit-scrollbar-thumb {
	background: var(--blue-500);
	border-radius: 100px;
}

.notification h3 {
	font-weight: 500;
	font-size: 22px;
	color: var(--neutral-black-primary);

	/* Щоб довгий заголовок не заходив під кнопку закриття */
	padding-right: 28px;
}

.notification p {
	margin-top: 15px;
	font-weight: 600;
	font-size: 14px;
	color: var(--neutral-gray-500);
}

/*
 Власний колір: від .notification успадковується білий, і на білому тлі кнопка була б невидимою.
 */
.notification__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--neutral-gray-500);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.notification__close:hover {
	color: var(--neutral-black-primary);
}

.notification--cancelled .notification__close {
	color: #fff;
}

.items-scroll-area {

	/* Скрол лише на .order-items-card — тут без окремого overflow, щоб не було подвійного скролу */
	overflow-x: hidden;
	overflow-y: visible;
	min-height: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-blue) transparent;
}

.items-scroll-area::-webkit-scrollbar {
	width: 6px;
}

.items-scroll-area::-webkit-scrollbar-track {
	background: transparent;
}

.items-scroll-area::-webkit-scrollbar-thumb {
	background-color: var(--primary-blue);
	border-radius: 10px;
}

.items-scroll-area::-webkit-scrollbar-thumb:hover {
	background-color: var(--primary-blue);
}

.order-table {
	width: 100%;
	border-collapse: collapse;
}

.order-table td {
	width: 50%;
}

.item-name {
	text-align: left;
	font-weight: 700;
	font-size: 18px;
	color: var(--neutral-black-primary);
	text-transform: uppercase;
	line-height: 1;
}

.order-items-card,
.items-scroll-area {
	width: 100%;
}

.item-footer-row td {
	padding-top: 16px;
}

.item-price {
	font-weight: 600;
	font-size: 18px;
	text-align: left;
	white-space: nowrap;
	color: var(--neutral-black-primary);
}

.sidebar-total,
.sidebar-total.woocommerce-mini-cart__total {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	width: 100% !important;
	gap: 12px;
	margin-top: 16px;
}

.sidebar-total .total-label {
	font-weight: 700;
	font-size: 18px;
	flex-shrink: 0;
}

.sidebar-total .total-amount {
	font-size: 18px;
	font-weight: 700;
	color: var(--neutral-black-primary);
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

@media (min-width: 1024px) {

	.btn-checkout-main {
		font-size: 18px;
	}
}

.btn-checkout-main:hover {
	background: rgba(0, 119, 167, 1);
}

.btn-checkout-main:disabled {
	background: rgba(217, 217, 217, 1);
	cursor: not-allowed;
}

.btn-checkout-main.warning {
	background: rgba(234, 49, 77, 0.1);
	color: var(--semantic-error);
	cursor: default;
}

.sidebar-stats {
	margin-bottom: 16px;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	font-size: 14px;
	color: var(--neutral-gray-500);
}

.mini-cart-comment {
	margin-top: 10px;
}

.mini-cart-comment__label {
	display: block;
	font-size: 13px;
	color: var(--neutral-gray-500);
	margin-bottom: 4px;
}

.mini-cart-comment__value {
	border: 1px solid var(--neutral-gray-200);
	border-radius: 12px;
	padding: 8px 12px;
	font-size: 14px;
	color: var(--neutral-black-primary);
}

.mini-cart-qty {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px;
	border-radius: 100px;
	border: 1px solid var(--neutral-gray-300);
	font-size: 14px;
	font-weight: 500;
}

.mini-cart-qty button {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: var(--neutral-gray-100);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.promo-code-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--neutral-gray-300);
	border-radius: 100px;
	padding: 6px 6px 6px 16px;
	margin-top: 20px;
}

.promo-input {
	flex: 1 1 auto;
	background: transparent;
	width: 100%;
	background-color: transparent;
	border: 1px solid var(--neutral-gray-300);
	border-radius: 50px;
	padding: 16px 20px;
	font-size: 16px;
	outline: none;
	box-sizing: border-box;
}

.promo-apply {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: none;
	background: var(--primary-blue-200, #e6f4fa);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.promo-error {
	color: var(--semantic-error);
	font-size: 13px;
	margin-top: 6px;
}

.sidebar-discount {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 12px;
	font-size: 14px;
	color: var(--semantic-error, #ea314d);
}

.sidebar-discount .remove-coupon {
	margin-left: 8px;
	color: var(--neutral-gray-500);
	text-decoration: none;
}

.promo-section {
	margin-top: 24px;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 16px;
	color: var(--neutral-black-primary);
}

.promo-section p {
	margin-bottom: 16px;
}

.promo-input::placeholder {
	color: var(--neutral-gray-500);
}

.sidebar-title {
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: var(--neutral-black-primary);
	margin: 0 !important;
	order: 1 !important;
}

@media (max-width: 768px) {

	.promo-input {
		background-color: var(--neutral-white-primary);
	}

	.promo-input::placeholder {
		color: var(--neutral-gray-400);
	}
}

.sidebar-stats .count-label {
	white-space: nowrap;
}

.section-checkout__form .btn-checkout-main {
	margin-top: 24px;
}

@media (min-width: 768px) {

	.section-checkout__form .btn-checkout-main {
		margin-top: 32px;
	}
}

@media (min-width: 1440px) {

	.section-checkout__form .btn-checkout-main {
		margin-top: 48px;
	}
}

.notification--cancelled {
	background: #e53935;
	color: #8a0000;
}

.notification--cancelled h3 {
	color: #fff;
}

.notification--cancelled p {
	color: #fff;
}

.sidebar-head.smooth-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-direction: row !important;
}

/* Показується з JS через jQuery .show() (інлайн display перемагає). */
.sidebar-order .promo-error {
	display: none;
}

.sidebar-body .woocommerce-mini-cart__buttons {
	display: none;
}

.sidebar-body .btn-checkout-main.btn-checkout-main--sidebar {
	display: block;
	font-size: 14px;
	text-align: center;
}

/* Показується з JS через jQuery .show(). */
#order-eta {
	display: none;
}

/*
 Десктопний кошик: компактніший список — менші шрифти й відступи, щоб у картці
 вміщалось більше позицій (розмір самої картки не змінюється).
 */
@media (min-width: 769px) {

	.sidebar-order .sidebar-body__inner {
		margin-top: 16px;
		padding-top: 16px;
	}

	.sidebar-order .sidebar-stats {
		margin-bottom: 12px;
	}

	.sidebar-order .order-items-card {
		padding: 12px 16px;
	}

	.sidebar-order .cart-item-group:not(:first-child) {
		padding-top: 12px;
	}

	.sidebar-order .cart-item-group__row {
		gap: 12px;
		align-items: center;
	}

	.sidebar-order .item-name {
		font-size: 15px;
		line-height: 1.2;
	}

	.sidebar-order .btn-edit-small {
		width: 28px;
		height: 28px;
		flex-shrink: 0;
	}

	.sidebar-order .item-footer-row {
		margin-top: 8px;
		padding-bottom: 12px;
		gap: 12px;
		align-items: center;
	}

	.sidebar-order .item-price {
		font-size: 15px;
	}

	.sidebar-order .mini-cart-qty {
		gap: 8px;
		padding: 3px 8px;
	}

	.sidebar-order .mini-cart-qty button {
		width: 20px;
		height: 20px;
	}

	.sidebar-order .line-divider {
		margin: 16px 0;
	}

	.sidebar-order .promo-code-wrap {
		margin-top: 0;
	}
}

/* ==========================================================================
   12. Модалки, вхід і реєстрація
   ========================================================================== */

/* Чекбокс «Створити акаунт?» прихований: реєстрація на checkout обов'язкова. */
.woocommerce-form__label-for-checkbox.checkbox {
	display: none;
}

.password_wrapper {
	position: relative;
	display: block;
	width: 100%;
}

.password_toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	user-select: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	color: #090909;
	opacity: 0.55;
	transition: opacity 0.2s;
	z-index: 2;
}

.password_toggle:hover,
.password_toggle:focus-visible {
	opacity: 1;
	outline: none;
}

.password_toggle__icon {
	display: block;
	pointer-events: none;
}

.password_toggle__icon[hidden] {
	display: none !important;
}

.password-field {
	padding-right: 48px !important;
	width: 100%;
	box-sizing: border-box;
}

.woocommerce-form-row__head {
	display: flex;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 10px;
	justify-content: space-between;
}

.primary-btn {
	background: var(--primary-yellow-soft);
	border: 1px solid var(--primary-yellow-strong);
	border-radius: 50px;
	cursor: pointer;
	width: 44px;
	height: 44px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.primary-btn:hover {
	background: #fbe9b6c9;
}

.reg__link,
.checkout-login .popup-link {
	color: var(--primary-blue);
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.reg__link {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
	color: var(--primary-blue-dark);
	transition: color 0.3s linear;
	cursor: pointer;
}

.reg__link:hover,
.checkout-login .popup-link:hover {
	color: var(--primary-blue-dark);
}

/*
 Власний чекбокс «Залишатись авторизованим»: нативний input прихований, квадрат малює .checkbox__span.
 */
.reg__checkbox.checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	cursor: pointer;
	width: fit-content;
}

.checkbox__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.checkbox__span {
	position: relative;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border: 2px solid var(--neutral-gray-300);
	border-radius: 6px;
	background: #fff;
	transition: all 0.2s ease;
}

.checkbox__input:checked + .checkbox__span {
	background: var(--primary-blue);
	border-color: var(--primary-blue);
}

.checkbox__input:checked + .checkbox__span::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.checkbox__input:focus-visible + .checkbox__span {
	outline: 2px solid var(--primary-blue);
	outline-offset: 2px;
}

.checkbox__label {
	font-size: 14px;
	color: var(--neutral-gray-500);
}

@media (max-width: 767px) {

	/* Модалка на весь екран: шапка зверху, тіло прокручується, кнопка знизу з урахуванням safe-area. */
	.popup-wrapper__container {
		padding: 0;
		min-height: 100dvh;
		align-items: stretch;
	}

	.modal__content {
		max-width: 100%;
		min-height: 100dvh;
		border-radius: 0;
		padding: 20px 16px;
		display: flex;
		flex-direction: column;
	}

	.modal__header {
		flex: 0 0 auto;
	}

	.modal__body {
		flex: 1 1 auto;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		margin-top: 16px;
		padding-bottom: 16px;
	}

	.modal__btn {
		flex: 0 0 auto;
		margin-top: auto;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
	}

	.reg__btn {
		margin-top: 0;
	}
}

/* Помилки входу й реєстрації — всередині форми. */
.modal--reg .woocommerce-error,
.modal--reg ul.woocommerce-error,
.modal--reg .woocommerce-notices-wrapper .woocommerce-error {
	list-style: none;
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #fde8ec;
	border: 1px solid #ea314d;
	border-radius: 12px;
	color: #ea314d;
	font-size: 14px;
	font-weight: 500;
}

.modal--reg .woocommerce-error li {
	margin: 0;
}

/* Повідомлення про успіх у модалках входу й відновлення пароля. */
.modal--reg .woocommerce-message,
.modal--reg .woocommerce-info,
.pizzabox-auth-notices .woocommerce-message,
.pizzabox-auth-notices .woocommerce-info,
.modal--reg .woocommerce-notices-wrapper .woocommerce-message,
.modal--reg .woocommerce-notices-wrapper .woocommerce-info {
	list-style: none;
	margin: 0 0 16px;
	padding: 14px 16px;
	background: #e8f6ef;
	border: 1px solid #1a9f5c;
	border-radius: 12px;
	color: #0d6b3c;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.modal--reg .woocommerce-message li,
.modal--reg .woocommerce-info li,
.pizzabox-auth-notices .woocommerce-message li,
.pizzabox-auth-notices .woocommerce-info li {
	margin: 0;
}

/* Сторінка /my-account/lost-password/?reset-link-sent=true — картка в дизайні модалок */
.pizzabox-lost-password-sent {
	max-width: 520px;
	margin: 40px auto 60px;
	padding: 32px 24px 24px;
	background: var(--neutral-white-primary);
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: center;
}

.pizzabox-lost-password-sent .pizzabox-auth-notices .woocommerce-message {
	margin: 0;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

@media (max-width: 768px) {

	.pizzabox-lost-password-sent {
		margin: 24px 0 40px;
		padding: 24px 16px 20px;
	}
}

.popup-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s linear;
	overflow-y: auto;
}

.popup-wrapper::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--black-primary-400);
	z-index: -1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s linear;
}

.popup-wrapper.open {
	opacity: 1;
	visibility: visible;
}

.popup-wrapper.open::after {
	opacity: 1;
	visibility: visible;
}

.popup-wrapper__container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin: 0 auto;
	padding: 16px;
}

.modal__content {
	border-radius: 20px;
	padding: 42px 20px;
	background: var(--neutral-white-primary);
	width: 100%;
	max-width: 524px;
	position: relative;
}

.modal__header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.modal__title {
	font-weight: 600;
	font-size: 20px;
	text-align: center;
	color: var(--neutral-black-primary);
}

.modal__subtitle {
	margin-top: 12px;
	font-weight: 400;
	font-size: 16px;
	text-align: center;
	color: var(--neutral-gray-500);
}

.modal__body {
	margin-top: 32px;
}

.modal__btn {
	display: flex;
	justify-content: center;
	max-width: 100%;
	margin-top: 32px;
	text-align: center;
}

.modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 100px;
	transition: background 0.3s linear, border 0.3s linear;
	cursor: pointer;
	border: 1px solid var(--neutral-gray-300);
	padding: 3px;
	min-width: 32px;
	max-width: 32px;
	height: 32px;
	position: absolute;
	right: 12px;
	top: 12px;
}

.modal--logout .modal__header,
.modal--logout .modal__body,
.modal--order-success .modal__header,
.modal--order-success .modal__body {
	max-width: 414px;
	margin: 0 auto;
}

/*
 Вхід, реєстрація, відновлення пароля на мобільному: картка на весь екран
 з урахуванням відступів контейнера (16px зверху й знизу).
 */
@media (max-width: 767px) {

	.modal--reg .modal__content {
		min-height: calc(100vh - 32px);
		min-height: calc(100dvh - 32px);
	}
}

/* Низькі екрани (iPhone SE тощо): щільніші відступи, щоб форма входу вмістилась без скролу */
@media (max-width: 767px) and (max-height: 640px) {

	.modal--reg .modal__content {
		padding: 24px 16px 20px;
	}

	.modal--reg .modal__body {
		margin-top: 20px;
	}

	.modal--reg .reg__btn {
		margin-top: 20px;
	}
}

/*
 Короткі модалки-підтвердження (вихід з акаунта, замовлення прийнято): на мобільному
 не на весь екран, як форми входу/реєстрації, а картка за висотою вмісту по центру.
 */
@media (max-width: 767px) {

	.modal--logout .popup-wrapper__container,
	.modal--order-success .popup-wrapper__container {
		align-items: center;
		padding: 16px;
	}

	.modal--logout .modal__content,
	.modal--order-success .modal__content {
		min-height: 0;
		border-radius: 20px;
		padding: 48px 20px 32px;
	}

	.modal--logout .modal__body,
	.modal--order-success .modal__body {
		flex: 0 0 auto;
		width: 100%;
	}

	/* Кнопка на всю ширину картки, як на десктопі */
	.modal--logout .modal__btn .btn-checkout-main {
		display: block;
		flex: 1 1 auto;
		width: 100%;
	}
}

/* «Ваше замовлення прийнято!»: під основною кнопкою — текстове посилання «На головну сторінку» */
.modal--order-success .modal__body {
	width: 100%;
}

.modal--order-success .modal__btn .btn-checkout-main {
	display: block;
	flex: 1 1 auto;
	width: 100%;
}

.modal__link-row {
	margin-top: 16px;
	text-align: center;
}

.modal__link {
	font-weight: 500;
	font-size: 16px;
	color: var(--neutral-black-primary);
	transition: color 0.2s;
}

.modal__link:hover,
.modal__link:focus-visible {
	color: var(--primary-blue);
}

.reg__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 12px;
}

.reg__wrapper {
	display: grid;
	column-gap: 20px;
	row-gap: 24px;
}

.reg__label {
	font-weight: 500;
	font-size: 16px;
	color: var(--neutral-black-primary);
}

.reg__input input {
	border: 1px solid var(--neutral-gray-300);
	border-radius: 100px;
	padding: 14px 20px;
	background: var(--neutral-white-secondary);
	width: 100%;
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-black-primary);
}

.reg__repeat {
	font-weight: 600;
	font-size: 16px;
	color: var(--primary-blue-dark);
	transition: color 0.3s linear;
}

.reg__btn {
	margin-top: 32px;
	max-width: 100%;
	width: 100%;
	padding: 15px;
}

.reg__text {
	margin-top: 16px;
	display: flex;
	justify-content: center;
	text-align: center;
	gap: 5px;
	font-weight: 500;
	font-size: 16px;
	color: var(--neutral-black-primary);
}

.reg__repeat:hover,
.reg__link:hover {
	color: var(--primary-blue);
}

.tab-block {
	display: none;
}

.tab-block.tab-active {
	display: block;
}

@media (min-width: 768px) {

	.modal__close {
		min-width: 44px;
		max-width: 44px;
		height: 44px;
	}
}

/* ==========================================================================
   13. Оформлення замовлення
   ========================================================================== */

/* Місце самовивозу на checkout — лише на мобільному, після блоку із замовленням. */
.checkout-pickup {
	display: none;
}

@media (max-width: 768px) {

	.checkout-pickup {
		display: flex;
		flex-direction: column;
		gap: 4px;
		margin-top: 16px;
		padding: 16px;
		border: 1px solid var(--blue-500);
		border-radius: 12px;
		background: var(--blue-50);
	}

	.checkout-pickup__title {
		font-weight: 600;
		font-size: 16px;
		color: var(--primary-blue-dark);
	}

	.checkout-pickup__text,
	.checkout-pickup__name {
		font-weight: 400;
		font-size: 14px;
		color: var(--neutral-gray-500);
	}

	.checkout-pickup__address {
		font-weight: 700;
		font-size: 16px;
		color: var(--neutral-black-primary);
	}
}

#billing_country_field {
	display: none;
}

#billing_address_1_field {
	display: none !important;
}

#billing_address_2_field {
	display: none !important;
}

#billing_address_1 {
	display: none;
}

.wc-block-components-address-form__address_1,
.wc-block-components-address-form__address_2-toggle,
.wc-block-components-address-form__city,
.wc-block-components-address-form__state,
.wc-block-components-address-form__postcode,
.wc-block-components-address-form__country {
	display: none !important;
}

.wc-block-components-checkout-step__title {
	display: none !important;
}

.order_summary {
	position: sticky;
	top: 20px;
	background: var(--neutral-white-secondary);
	border-radius: 12px;
	padding: 20px;
}

.status_label {
	font-size: 14px;
	color: var(--primary-blue);
	background: var(--primary-blue-200);
	padding: 8px 16px;
	border-radius: 100px;
	font-weight: 600;
}

.order_title {
	margin-bottom: 48px;
}

.order_item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.order_total {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	font-size: 18px;
}

/*
 Посилання «Увійти» (checkout і форма реєстрації) — кольором посилання.
 */
.checkout-login {
	margin: 20px 0;
}

.section-checkout {
	overflow: hidden;
	padding-bottom: 70px;
}

.section-checkout h3 {
	font-weight: 600;
	font-size: 20px;
	color: var(--neutral-black-primary);
	margin-bottom: 24px;
}

.section-checkout__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* «Замовити без реєстрації» — підзаголовок форми для гостя, менший за заголовки розділів. */
.section-checkout .checkout-guest-title {
	font-weight: 500;
	font-size: 16px;
	color: var(--neutral-gray-500);
	margin-bottom: 20px;
}

@media (min-width: 768px) {

	.section-checkout .checkout-guest-title {
		font-size: 18px;
		margin-bottom: 24px;
	}
}

.section-checkout__left {
	border: 1px solid var(--neutral-gray-300);
	border-radius: 20px;
	padding: 32px 20px;
	background: var(--neutral-white-primary);
}

.section-checkout__left .woocommerce-billing-fields__field-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.section-checkout__left .form-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.section-checkout__left .woocommerce-input-wrapper input {
	border: 1px solid var(--neutral-gray-300);
	border-radius: 100px;
	padding: 14px 20px;
	background: var(--neutral-white-secondary);
	width: 100%;
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-black-primary);
}

.section-checkout__left .woocommerce-input-wrapper input:focus {
	border: 1px solid var(--primary-blue);
}

.section-checkout__left .woocommerce-input-wrapper input:focus-visible {
	outline: unset;
}

.section-checkout__left .woocommerce-input-wrapper input::placeholder {
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-gray-400);
}

.section-checkout__left .woocommerce-input-wrapper textarea {
	border: 1px solid var(--neutral-gray-300);
	border-radius: 40px;
	padding: 14px 20px;
	background: var(--neutral-white-secondary);
	width: 100%;
	resize: none;
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-black-primary);
}

.section-checkout__left .woocommerce-input-wrapper textarea::placeholder {
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-gray-400);
}

.section-checkout .order__wrapper {
	padding: 16px;
	border: 1px solid var(--gray-400-500);
	border-radius: 12px;
}

.section-checkout .order__body {
	height: 267px;
	overflow-y: auto;
}

.section-checkout .cart_item {
	display: flex;
	justify-content: space-between;
	padding-right: 10px;
}

.section-checkout .order__body::-webkit-scrollbar {
	width: 6px;
}

.section-checkout .order__body::-webkit-scrollbar-track {
	background: #efefef;
}

.section-checkout .order__body::-webkit-scrollbar-thumb {
	background: var(--primary-blue);
	border-radius: 0;
}

.section-checkout .order-total {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--neutral-gray-300);
	display: flex;
	justify-content: space-between;
	font-weight: 700;
	font-size: 16px;
	color: var(--neutral-black-primary);
}

/*
 Загальні помилки checkout (наприклад, «акаунт з цим email уже існує») показуються тут;
 помилки полів (li[data-id]) — лише під полями.
 */
/* stylelint-disable-next-line no-descending-specificity -- .modal--reg … .woocommerce-error (модалка входу) і форма checkout — різні місця сторінки. */
.woocommerce-NoticeGroup-checkout .woocommerce-error {
	list-style: none;
	margin: 0 0 16px;
	padding: 12px 16px;
	gap: 4px;
	background: #fde8ec;
	border: 1px solid #ea314d;
	border-radius: 12px;
	color: #ea314d;
	font-size: 14px;
	font-weight: 500;
}

.woocommerce-NoticeGroup-checkout .woocommerce-error li[data-id] {
	display: none;
}

.woocommerce-NoticeGroup-checkout .woocommerce-error:not(:has(li:not([data-id]))) {
	display: none;
}

.checkout-inline-error-message {
	color: #f00;
}

@media (min-width: 768px) {

	.section-checkout__form {
		flex-direction: row;
		justify-content: space-between;
		gap: 16px;
	}

	.section-checkout__left {
		width: 100%;
		padding: 42px 32px;
	}

	.section-checkout__left .woocommerce-billing-fields__field-wrapper {
		gap: 24px;
	}

	.section-checkout h3 {
		font-size: 24px;
		margin-bottom: 32px;
	}

	.section-checkout__left .form-row {
		gap: 16px;
	}

	.section-checkout__right {
		width: 100%;
		min-width: 285px;
		max-width: 285px;
		border-left: 1px solid var(--neutral-gray-300);
		padding: 32px 20px;
	}

	.section-checkout__right h3 {
		border-bottom: 1px solid var(--gray-200-500);
	}

	.section-checkout .woocommerce-checkout-review-order-table tbody {
		padding: 20px;
	}

	.section-checkout .order-total {
		font-size: 18px;
		margin-top: 24px;
		padding-top: 24px;
	}
}

@media (min-width: 1024px) {

	.section-checkout__right {
		min-width: 425px;
		max-width: 425px;
		padding: 42px 20px;
	}

	.section-checkout .order-total {
		font-size: 20px;
	}
}

@media (min-width: 1440px) {

	.section-checkout__right {
		min-width: 520px;
		max-width: 520px;
		padding: 78px 20px;
	}

	.section-checkout h3 {
		font-size: 28px;
		margin-bottom: 48px;
	}

	.section-checkout__left {
		padding: 78px 64px;
	}

	.section-checkout__left .form-row {
		gap: 20px;
	}

	.section-checkout__left .woocommerce-billing-fields__field-wrapper {
		gap: 32px;
	}

	.section-checkout {
		padding-bottom: 90px;
	}

	.section-checkout .order-total {
		font-size: 24px;
		margin-top: 32px;
		padding-top: 32px;
	}
}

/* ==========================================================================
   14. Особистий кабінет
   ========================================================================== */

#burgerBtn ~ .account-btn {
	margin-left: auto;
}

.account-order-card__meta.smooth-btn {
	cursor: pointer;
}

.account-order-card__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 9px;
	margin-left: auto;
	border: 0;
	background: transparent;
	color: var(--neutral-graphitic, #333);
	cursor: pointer;
	transition: transform .2s linear, color .2s linear;
}

.account-order-card__toggle:hover {
	color: var(--primary-blue, #049bd8);
}

.account-order-card__meta.smooth-btn.active .account-order-card__toggle {
	transform: rotate(180deg);
}

.woocommerce-account .woocommerce-form-row {
	margin-bottom: 0;
}

.my-account-panel__body .woocommerce-form-row label {
	font-weight: 500;
	font-size: 16px;
	line-height: 122%;
	letter-spacing: -0.01em;
	color: var(--neutral-graphitic);
	margin-bottom: 12px;
}

.woocommerce-account .my-account-panel .woocommerce-form-row label {
	display: block;
	margin-bottom: 8px;
}

.woocommerce-account .my-account-panel--password .woocommerce-form-row label {
	font-weight: 500;
}

@media (min-width: 768px) {

	.my-account-panel__body .woocommerce-form-row label {
		margin-bottom: 16px;
		font-size: 18px;
	}
}

@media (min-width: 1024px) {

	.woocommerce-account .woocommerce-form-row.form-row-last {
		grid-column: 1 / 3;
	}
}

/* Меню кабінету */
.woocommerce-MyAccount-navigation {
	width: 100%;
	overflow: hidden;
	padding-right: 0;
	border-right: none;
}

.woocommerce-MyAccount-content {
	width: 100%;
}

.my-account__title {
	font-weight: 600;
	font-size: 20px;
	color: var(--neutral-black-primary);
	margin-bottom: 8px;
}

/* Меню кабінету видно завжди, зокрема на мобільному. */
.my-account__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}

.account-nav__group {
	padding: 16px 0;
	border-bottom: 1px solid var(--neutral-gray-300);
}

.account-nav__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.account-nav__text {
	font-weight: 600;
	font-size: 16px;
	color: var(--neutral-black-primary);
	transition: color .3s linear;
}

.account-nav__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--neutral-gray-300);
	border-radius: 100px;
	padding: 3px;
	min-width: 40px;
	max-width: 40px;
	height: 40px;
	transition: border .3s linear;
	flex-shrink: 0;
}

.account-nav__item.is-active .account-nav__icon {
	border: 1px solid var(--primary-blue-dark);
	background: var(--blue-100);
}

.account-nav__item:hover .account-nav__icon {
	border: 1px solid var(--primary-blue-dark);
}

.account-nav__item:hover .account-nav__text {
	color: var(--primary-blue-dark);
}

.account-nav__item.account-nav__item--logout .account-nav__text {
	color: var(--semantic-error);
}

.account-nav__item.account-nav__item--logout:hover .account-nav__icon {
	border: 1px solid var(--semantic-error);
}

.account-nav__sub {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-left: 56px;
}

.account-nav__sub-link {
	font-weight: 500;
	font-size: 15px;
	color: var(--neutral-black-primary);
}

.account-nav__icon svg {
	width: 22px;
	height: 22px;
}

@media (min-width: 768px) {

	.woocommerce-MyAccount-navigation {
		min-width: 250px;
		max-width: 250px;
		border-right: 1px solid var(--neutral-gray-300);
		padding-right: 32px;
	}

	.account-nav__group {
		padding: 28px 0;
	}

	.account-nav__item {
		gap: 16px;
	}

	.account-nav__text {
		font-size: 20px;
	}

	.account-nav__sub {
		margin-top: 32px;
		gap: 20px;
		padding-left: 0;
	}

	.account-nav__sub-link {
		font-size: 18px;
	}

	.account-nav__icon {
		min-width: 44px;
		max-width: 44px;
		height: 44px;
	}

	.account-nav__icon svg {
		width: 24px;
		height: 24px;
	}
}

@media (min-width: 1024px) {

	.woocommerce-MyAccount-navigation {
		min-width: 380px;
		max-width: 380px;
	}
}

@media (min-width: 1240px) {

	.woocommerce-MyAccount-navigation {
		min-width: 520px;
		max-width: 520px;
	}

	.account-nav__icon {
		min-width: 56px;
		max-width: 56px;
		height: 56px;
	}

	.account-nav__icon svg {
		width: 32px;
		height: 32px;
	}
}

/* Історія замовлень */
.account-orders {
	width: 100%;
}

.account-orders__header {
	margin-bottom: 24px;
}

.account-orders__title {
	font-family: var(--second-family);
	font-weight: 600;
	font-size: 28px;
	line-height: 114%;
	letter-spacing: -0.01em;
	color: var(--neutral-graphitic, #1b1b1b);
	margin-bottom: 24px;
}

.account-orders__filters {
	display: flex;
	flex-wrap: nowrap;
	overflow-y: auto;
	gap: 10px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.account-orders__filter {
	min-height: 44px;
	border: 1px solid var(--neutral-gray-300, #e0e0e0);
	border-radius: 999px;
	background: var(--neutral-white-primary, #fff);
	padding: 0 18px;
	font-weight: 600;
	font-size: 14px;
	color: var(--neutral-graphitic, #333);
	cursor: pointer;
	transition: color .2s linear, background .2s linear, border-color .2s linear;
}

.account-orders__filter:hover,
.account-orders__filter.is-active {
	border-color: var(--primary-blue, #049bd8);
	background: var(--primary-blue, #049bd8);
	color: var(--neutral-white, #fff);
}

.account-orders__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.account-order-card {
	border: 1px solid var(--neutral-gray-300, #e0e0e0);
	border-radius: 20px;
	background: var(--neutral-white-primary, #fff);
	padding: 24px;
	transition: border-color .2s linear, box-shadow .2s linear;
}

.account-order-card:hover,
.account-order-card[data-open="true"] {
	border-color: var(--primary-blue, #049bd8);
	box-shadow: 0 14px 35px rgba(27, 27, 27, 0.06);
}

.account-order-card__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--neutral-gray-300, #e0e0e0);
}

@media (min-width: 768px) {

	.account-order-card__top {
		flex-direction: row;
	}
}

.woocommerce-account .my-account-panel .input-text {
	border: 1px solid var(--neutral-gray-300);
	border-radius: 100px;
	background: var(--neutral-white-secondary);
	min-height: 52px;
	padding: 16px;
	width: 100%;
	font-weight: 600;
	font-size: 16px;
	color: var(--neutral-black-primary);
	transition: all .3s linear;
}

.woocommerce-account .my-account-panel .input-text:focus {
	outline: 1px solid var(--primary-blue);
	border: 1px solid var(--primary-blue);
}

.account-order-card__title {
	font-weight: 700;
	font-size: 16px;
	line-height: 125%;
	color: var(--neutral-black-primary, #1b1b1b);
	margin-bottom: 10px;
}

.account-order-card__date {
	display: block;
	font-weight: 500;
	font-size: 14px;
	color: var(--neutral-gray-500, #a5a5a5);
}

.account-order-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 10px 14px;
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
}

.account-order-card__badge::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentcolor;
}

.account-order-card__badge--new {
	background: #fff0e8;
	color: #ff6b00;
}

.account-order-card__badge--completed {
	background: #e9f8ed;
	color: #26a84a;
}

.account-order-card__badge--cancelled {
	background: #ffeaf1;
	color: #ff5373;
}

.account-order-card__badge--other {
	background: var(--neutral-gray-100, #f5f5f5);
	color: var(--neutral-gray-600, #777);
}

.account-order-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 18px;
	font-weight: 600;
	font-size: 15px;
	color: var(--neutral-graphitic, #333);
}

.account-order-card__meta-separator {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--neutral-gray-300, #e0e0e0);
}

.account-order-card__total {
	font-weight: 700;
	color: var(--neutral-black-primary, #1b1b1b);
}

.account-order-card__bonus {
	color: var(--neutral-gray-600, #666);
}

/* stylelint-disable-next-line no-descending-specificity -- .modal--reg … .woocommerce-error (модалка входу) і .woocommerce-account .woocommerce-error (кабінет) — різні місця сторінки. */
.woocommerce-account .woocommerce-error {
	padding-top: 0;
}

/* Повідомлення кабінету (збереження даних / пароля): як у модалках — червоний і зелений блоки */
/* stylelint-disable-next-line no-descending-specificity -- помилки checkout (.woocommerce-NoticeGroup-checkout) і кабінету — різні сторінки. */
.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-info {
	list-style: none;
	margin: 0 0 16px;
	padding: 12px 16px;
	gap: 4px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	outline: none;
}

/* stylelint-disable-next-line no-descending-specificity -- помилки checkout (.woocommerce-NoticeGroup-checkout) і кабінету — різні сторінки. */
.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-error {
	background: #fde8ec;
	border: 1px solid #ea314d;
	color: #ea314d;
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-info {
	background: #e8f6ef;
	border: 1px solid #1a9f5c;
	color: #0d6b3c;
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-error li {
	margin: 0;
}

.account-order-card__details {
	max-height: 0;
	overflow: hidden;
	transition: max-height .25s ease;
}

.account-order-card__details.open {
	overflow: hidden;
}

.account-order-card__items {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 18px;
	margin-top: 18px;
	border-top: 1px solid var(--neutral-gray-300, #e0e0e0);
}

.account-order-card__product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	column-gap: 14px;
	color: var(--neutral-graphitic, #333);
}

.account-order-card__product-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.account-order-card__product-name {
	font-weight: 700;
	font-size: 16px;
	line-height: 125%;
	color: var(--neutral-black-primary, #1b1b1b);
}

.account-order-card__product-addons {
	font-weight: 500;
	font-size: 13px;
	line-height: 130%;
	color: var(--neutral-gray-500, #a5a5a5);
}

.account-order-card__product-qty,
.account-order-card__product-price {
	font-weight: 700;
	font-size: 15px;
	line-height: 120%;
	color: var(--neutral-black-primary, #1b1b1b);
	white-space: nowrap;
}

.account-order-card__info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--neutral-gray-300, #e0e0e0);
}

.account-order-card__info-row {
	display: grid;
	grid-template-columns: minmax(120px, 0.45fr) 1fr;
	gap: 16px;
	font-size: 14px;
	line-height: 135%;
}

.account-order-card__info-row dt {
	font-weight: 700;
	color: var(--neutral-graphitic, #333);
}

.account-order-card__info-row dd {
	margin: 0;
	font-weight: 500;
	color: var(--neutral-gray-500, #a5a5a5);
}

.account-order-card__actions {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--neutral-gray-300, #e0e0e0);
}

.account-order-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border-radius: 999px;
	padding: 0 24px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	text-decoration: none;
}

.account-order-card__action--cancel {
	background: #ffe7ed;
	color: #ff5373;
}

.account-order-card__action--repeat {
	background: var(--primary-blue, #049bd8);
	color: var(--neutral-white, #fff);
}

.account-orders__empty {
	border: 1px solid var(--neutral-gray-300, #e0e0e0);
	border-radius: 20px;
	background: var(--neutral-white-primary, #fff);
	padding: 24px;
	font-weight: 600;
	color: var(--neutral-gray-600, #777);
}

.account-orders__pagination {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

@media (min-width: 768px) {

	.account-orders__filters {
		display: flex;
		gap: 10px;
	}

	.account-orders__filter {
		min-width: 120px;
	}

	.account-order-card {
		border-radius: 24px;
		padding: 28px 32px;
	}

	.account-orders__title {
		font-size: 32px;
		margin-bottom: 32px;
	}
}

.woocommerce-account .woocommerce {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 32px;
	padding-bottom: 100px;
}

.woocommerce-account .woocommerce-EditAccountForm.edit-account {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.woocommerce-account .my-account-panel {
	border: 1px solid var(--neutral-gray-300);
	border-radius: 30px;
	background: var(--neutral-white-primary);
	scroll-margin-top: 25px;
	padding: 30px 20px;
}

.woocommerce-account .my-account-panel__head {
	margin-bottom: 40px;
}

.woocommerce-account .my-account-panel__title {
	font-family: var(--second-family);
	font-weight: 600;
	font-size: 28px;
	line-height: 114%;
	letter-spacing: -0.01em;
	color: var(--neutral-graphitic);
}

.woocommerce-account .my-account-panel__text {
	margin-top: 16px;
	font-weight: 400;
	font-size: 16px;
	color: var(--neutral-gray-500);
}

.woocommerce-account .my-account-panel .input-text:focus-visible {
	outline: unset;
}

.woocommerce-account #account_display_name_description {
	display: block;
	margin-top: 8px;
	color: var(--neutral-gray-04);
}

.woocommerce-account .my-account-panel__actions {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

.woocommerce-account .my-account-panel__submit {
	border-radius: 100px;
	min-height: 52px;
	min-width: 220px;
	padding: 0 24px;
	font-weight: 600;
}

.my-account-panel__body {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	row-gap: 24px;
	width: 100%;
}

.my-account-panel--password .my-account-panel__body {
	grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {

	.woocommerce-account .woocommerce {
		flex-direction: row;
	}

	.woocommerce-account .my-account-panel .input-text {
		padding: 15px 20px;
		width: 100%;
	}

	.woocommerce-account .my-account-panel__actions {
		margin-top: 32px;
	}

	.woocommerce-account .my-account-panel {
		padding: 38px 32px;
	}

	.woocommerce-account .my-account-panel__title {
		font-size: 28px;
	}

	.woocommerce-account .my-account-panel__text {
		font-size: 20px;
	}
}

@media (min-width: 1024px) {

	.my-account-panel__body {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 20px;
	}
}

@media (min-width: 1240px) {

	.woocommerce-account .my-account-panel__actions {
		margin-top: 32px;
	}

	.woocommerce-account .my-account-panel {
		padding: 52px;
		border-radius: 40px;
	}

	.woocommerce-account .my-account-panel__title {
		font-size: 32px;
	}

	.my-account-panel--password .my-account-panel--password .my-account-panel__body {
		width: 100%;
	}

	.woocommerce-account .woocommerce {
		padding-bottom: 120px;
	}
}
/* stylelint-disable-next-line no-duplicate-selectors -- злиття з першим правилом змінило б порядок каскаду. */
.woocommerce-MyAccount-navigation {
	border-right: 1px solid var(--neutral-gray-300);
}

/* ==========================================================================
   15. Підвал
   ========================================================================== */

.footer {
	padding: 52px 0;
	border-top: 1px solid var(--neutral-gray-200);
	background-color: var(--neutral-black-primary);
}

.footer-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
	gap: 20%;
	display: flex;
	justify-content: space-around;
}

.powered-by {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	flex-direction: column;
	color: var(--neutral-white-primary);
	font-weight: 500;
	font-size: 20px;
}

.footer-links {
	display: flex;
	margin-top: 48px;
	gap: 24px;
}

.footer-links a {
	font-weight: 400;
	font-size: 14px;
	color: var(--neutral-gray-400);
	transition: color 0.3s;
}

.footer-links a:hover {
	color: var(--neutral-white-primary);
	background-color: var(--n);
}

.cta-text {
	color: var(--neutral-white-primary);
	font-weight: 500;
	font-size: 18px;
	text-align: right;
}

.footer-btn {
	padding: 16px 48px;
	border-radius: 50px;
	background: var(--izi-green);
	color: var(--neutral-black-primary);
	cursor: pointer;
	transition: 0.3s;
}

.footer-btn:hover {
	background-color: #cdff45;
}

.footer-right {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

@media (max-width: 540px) {

	.footer-container {
		flex-direction: column-reverse;
		gap: 48px;
	}

	.footer-right {
		gap: 16px;
	}

	.footer-btn {
		padding: 12px 0;
		width: 100%;
	}

	.cta-text {
		text-align: left;
	}
}
