.added_to_cart.wc-forward {
    display: none !important;
}


/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

::before,
::after {
  --tw-content: '';
}


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

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

*{
	box-sizing: border-box;
}

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

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 {
  font-weight: bolder;
}

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

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; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}


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

button,
select {
  text-transform: none;
}

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

:-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; /* 1 */
  outline-offset: -2px; /* 2 */
}

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

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

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; /* 1 */
  vertical-align: middle; /* 2 */
}

img,
video {
	/* disable max-width solves bug img-export/propagation > nested-img-bigger */
	max-width:100%;
  height: auto;
}

[hidden] {
  display: none;
}

*{
	text-underline-offset: 0.134em;
}


:root {
	/* color variables */
	--neutral-white-secondary: #fafafa;
	--neutral-black-primary: #090909;
	--semantic-success: #008923;
	--neutral-gray-100: #f4f4f4;
	--neutral-gray-300: #d9d9d9;
	--primary-blue: #0096d3;
	--primary-blue-200: #0097d32b;
	--neutral-white-primary: #fff;
	--neutral-gray-200: #ececec;
	--neutral-gray-500: #707070;
	--primary-yellow-soft: #fbe9b6;
	--primary-yellow-strong: #ffca00;
	--semantic-error: #ea314d;
	--izi-green: #bfe552;
	--neutral-gray-400: #9a9a9a;
}


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

body {
	container: body / inline-size;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;
	font-size: 16px;
	font-family: 'Montserrat';
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0px;
	background-color: var(--neutral-white-secondary);

}

/*=====================HEADER=============================*/

.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);
    transition: color 0.3s ease;
	font-size: 16px;
	font-weight: 500;
}

.header-link:hover {
    color: var(--primary-blue);
}

/* Центрирование логотипа */
.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;
}

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

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

.location-address {
    color: var(--semantic-success);
	font-size: 14px;
	font-weight: 500;
}

/* Круглые кнопки с иконками */
.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;
}
.mobile-side-menu{
    display: none;
}
/* Адаптивность для средних экранов */
@media (max-width: 1200px) {
    .header-desk {
        padding: 20px 40px;
        gap: 20px;
    }
    
    .header-nav {
        gap: 16px;
    }
    .header-logotype{
        height: 48px;
    }
}

@media (max-width: 768px) {

    .location-text {
        display: none;
    }
}
@media (max-width: 540px) {

    .header-desk {
        display: none;
    }
    .mobile-header {
        display: block;
        padding: 12px 16px; /* Значительно уменьшаем отступы на мобилках */
        height: 80px; /* Фиксируем высоту для аккуратности */
        justify-content: space-between;
    }

    /* Скрываем ненужные элементы */
    .header-nav, 
    .header-location-btn, 
    .header-divider {
        display: none !important;
    }

    /* Логотип делаем чуть меньше, чтобы влез по центру */
    .header-logotype {
        height: 38px; 
    }

    /* Убеждаемся, что логотип стоит ровно по центру */
    .header-logo-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Уменьшаем кружки иконок для мобилок, чтобы не были громоздкими */
    .icon-circle {
        width: 44px;
        height: 44px;
    }

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

    /* Убираем фон у бургера, если нужно, или оставляем как у аккаунта */
    .mobile-burger-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    /* Чтобы кнопки не разъезжались, задаем им равную ширину как флекс-элементам */
    .mobile-header {
        display: flex;
        align-items: center;
        position: relative; /* Для абсолютного позиционирования логотипа */
    }

    .mobile-side-menu {
        position: fixed;
        top: 80px; /* Высота хедера */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--neutral-white-secondary);
        z-index: 999;
        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: space-between;
    }
    .side-menu-content{
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    /* Когда меню открыто */
    .mobile-side-menu.active {
        transform: translateX(0);
    }

    /* Логика смены иконок */
    .mobile-burger-btn.is-active .icon-burger {
        display: none;
    }
    .mobile-burger-btn.is-active .icon-close {
        display: block !important;
    }

    /* Стили контента внутри меню */
    .mobile-location-block {
        display: flex;
        flex-direction: column;
    }

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

    .mobile-nav-links .header-link {
        font-size: 18px; /* Делаем ссылки крупнее для тача */
        font-weight: 500;
    }
}
/*=====================BANNERS=============================*/
/* Внешняя секция — ограничитель */
.banner-section {
    width: 100%;
    margin: 0 auto;
    overflow: hidden; /* ГЛАВНЫЙ ЗАМОК: ничего не выйдет наружу */
    padding: 24px 0;
}

.banner-container {
    width: 100%;
    position: relative;
}
.banner-track {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    /* Оставляем snap для удобства пользователя */
    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; /* Чтобы мышка не цепляла картинку при скролле */
}
/*====================SHOP==============================*/

.categories-nav {
    z-index: 100;
    padding: 15px 0;
    width: 100%;
}

.categories-container {
    display: flex;
    gap: 12px;
    scrollbar-width: none; /* Убираем полосу прокрутки */
    padding-bottom: 5px;
	padding-top: 5px;

	overflow-x: auto;

}

.categories-container::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--neutral-gray-300);
    font-size: 18px;
	font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Эффект активной категории */
.cat-btn.active {
    background: var(--primary-blue); /* Твой фирменный красный */
    color: var(--neutral-white-primary);
}

.cat-btn:hover:not(.active) {
    background: var(--neutral-gray-100);
    transform: translateY(-2px);
}

.categories-underline {
    height: 1px;
    background: var(--neutral-gray-300);
    width: 100%;
    margin: 32px 0;
}

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

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

/* --- 3. БАЗОВАЯ КАРТОЧКА --- */
.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);
}

/* --- 4. ВЕРХНЯЯ ЧАСТЬ (Картинка и Слои) --- */
.card-top {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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;
    right: 24px;
}

/* --- КНОПКИ-ТРАНСФОРМЕРЫ (Справа вверху) --- */
.card-actions-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.expand-on-hover {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 40px;
    overflow: hidden;
    
    /* Фон прозрачный, но обводка ВСЕГДА есть */
    background-color: transparent; 
    box-sizing: border-box;
    
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.3s ease,
                box-shadow 0.3s ease;
                
    white-space: nowrap;
    cursor: pointer;
}

/* Эффект при наведении — только появление фона и тени */
.expand-on-hover:hover {
    background-color: var(--neutral-white-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Синяя обводка для Улюблене (всегда) */
.btn-favorite.expand-on-hover {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-favorite.expand-on-hover:hover {
    width: 135px;
}

/* Красная обводка для Гостре (всегда) */
.badge-status.hot.expand-on-hover {
    border: 1px solid var(--semantic-error);
    color: var(--semantic-error);
}

.badge-status.hot.expand-on-hover:hover {
    width: 110px;
}

/* --- Логика текста внутри --- */
.expand-text {
    max-width: 0;
    opacity: 0;
    font-size: 16px;
    font-weight: 600;
    margin-left: 0;
    transition: max-width 0.4s ease, opacity 0.2s ease, margin-left 0.4s ease;
}

.expand-on-hover:hover .expand-text {
    max-width: 100px;
    opacity: 1;
    margin-left: 8px;
}

.expand-on-hover object {
    min-width: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    pointer-events: none;
}
/* --- 6. ТЕКСТ (Инфо и обрезание) --- */
.card-info {
    padding: 20px 24px;
    flex-grow: 1;
}
.cart-item-group:not(:last-child) {
    border-bottom: 1px solid var(--neutral-gray-200);
}
.product-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neutral-black-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-ingredients {
    font-size: 16px;
    font-weight: 400;
    color: var(--neutral-gray-500);
    line-height: 1.4em;
    /* Тройное обрезание */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 4.2em; /* 1.4 * 3 */
}

/* --- 7. ФУТЕР КАРТОЧКИ --- */
.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;
}

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

.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);
}

/* Утилиты для иконок */
.expand-on-hover object, 
.btn-add-to-cart object {
    width: 20px;
    height: 20px;
    pointer-events: none;
    flex-shrink: 0;
}

/*========================КОРЗИНА==========================*/
/* 1. Общий макет */
.main-app-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
    position: relative;
}

/* 2. Сайдбар и Липкость */
.sidebar-order {
    position: sticky; 
    top: 120px; 
    z-index: 100;
    max-height: calc(100vh - 40px); 
    display: flex;
    flex-direction: column;
}

/* Контейнер всей корзины (серый блок) */
.card-order-sidebar {
    background-color: var(--neutral-gray-200); /* Цвет как на скрине */
    border-radius: 20px;
    padding: 32px 20px;
}

/* Белая карточка со скроллом */
.order-items-card {
    background: var(--neutral-white-primary);
    border-radius: 12px;
    border: 1px solid var(--neutral-gray-400); /* Исправил опечатку 1p -> 1px */
    padding: 10px 6px 10px 20px;
    margin: 24px 0;
    
    /* Теперь высота зависит от экрана */
    max-height: 32vh; 
    display: flex;
    flex-direction: column;
}

.items-scroll-area {
    /* Чтобы область скролла занимала всё доступное место внутри карточки */
    flex: 1;
    overflow-y: auto;
    padding-right: 20px;
    min-height: 100px; /* Чтобы не схлопывалась, если товаров мало */
    overflow-x: hidden; /* Защита от горизонтального дергания */
}

.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);
}

.items-scroll-area {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) transparent;
}

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

.item-name {
    padding-top: 24px;
    font-weight: 700;
    font-size: 18px;
    color: var(--neutral-black-primary);
}

.details-label {
    color: var(--neutral-gray-500);
    font-size: 14px;
	font-weight: 600;
    margin: 14px 0 8px 0;
}

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

.comment-bubble {
    display: inline-block;
    border: 1px solid var(--neutral-gray-300);
    border-radius: 50px;
    padding: 12px;
    font-size: 14px;
	font-weight: 500;
	width: 100%;
}

/* Футер товара: Цена и Кнопки */
.item-footer-row td {
    padding-top: 16px;
}

.item-price {
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 24px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--neutral-gray-300);
    border-radius: 50px;
    padding: 8px 12px;
    gap: 14px;
    margin-bottom: 24px;

}

.qty-btn {
    font-size: 16px;
    color: var(--neutral-gray-500);
    cursor: pointer;
	font-weight: 500;
}

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

/* 4. Итоговая часть и кнопка */
.sidebar-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0 24px;
}

.total-label { 
	font-weight: 700; 
	font-size: 18px; 
}

.total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-black-primary);
}

.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: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-checkout-main:hover { 
	background: rgba(0, 119, 167, 1); 
}
/* Если кнопка заблокирована (Disabled) — как 4-й вариант на макете */
.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;     
}


/* Разделитель */
.item-divider {
    height: 1px;
    background-color: var(--neutral-gray-200);
    margin: 15px 0;
}

.sidebar-stats {
    display: flex;            /* Включает гибкий контейнер */
    justify-content: space-between; /* Толкает элементы в разные стороны: один влево, другой вправо */
    align-items: center;      /* Выравнивает их по вертикальному центру */
    width: 100%;              /* Растягивает на всю ширину корзины */
    margin-bottom: 16px;      /* Отступ до белой карточки */
	font-weight: 500;
    font-size: 16px;
}

.line-divider {
    height: 1px;
    background-color: var(--neutral-gray-300);
    margin: 24px 0; /* Большие отступы сверху и снизу */
    width: 100%;
}

.btn-edit-small {
    margin-top: 24px;
    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 {
    pointer-events: 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 {
    width: 100%;
	background-color: var(--neutral-gray-200);
    border: 1px solid var(--neutral-gray-300);
    border-radius: 50px;
    padding: 16px 20px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

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

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

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

.full-menu {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.full-menu-menu {
	max-width: 1280px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.mobile-cart-bar {
    display: none;
}
.mobile-cart-overlay {
    display: none;
}
@media (max-width: 1024px) {
    /* Находим контейнер со списком категорий */
    .categories-container { 
        display: flex;
        flex-wrap: wrap; /* Вот это свойство перенесет лишние элементы на новую строку */
        gap: 8px;        /* Немного уменьшим расстояние, чтобы больше влезло */
        justify-content: flex-start;
    }
}


@media (max-width: 768px) {
    /* Находим контейнер со списком категорий */
    .sidebar-order { 
        display: none;
    }
    .main-app-layout{
        padding-top: 0px;
    }
    
    .sidebar-order { 
        display: none; 
    }

    .btn-open-cart-svg {
        padding: 12px 20px; /* Больше отступов по бокам для двух иконок */
        border-radius: 30px; /* Овальная форма */
        border: 2px solid var(--primary-blue); /* Фирменная синяя обводка */
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .svg-pair {
        display: flex;
        align-items: center;
        gap: 8px; /* Расстояние между двумя SVG */
        pointer-events: none; /* Чтобы клик пролетал сквозь object в кнопку */
    }

    .btn-open-cart-svg:active {
        transform: scale(0.95);
        background: rgba(0, 122, 255, 0.2);
    }
    .mobile-cart-bar {
        position: fixed;
        bottom: 0px;
        height: 98px;
        width: 100%;
        background: var(--neutral-white-primary);
        border-top: 1px solid var(--neutral-gray-300);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 2000;
    }
    .cart-bar-info {
        display: flex;
        flex-direction: row; /* Выстраиваем в строку */
        align-items: center; /* Центрируем по вертикали */
        gap: 8px; /* Расстояние между текстом и точкой */
    }

    .bar-count { 
        font-size: 18px; 
        font-weight: 500; 
        color: var(--neutral-black-primary); 
        white-space: nowrap;
    }

    .bar-total { 
        font-size: 18px; 
        font-weight: 700; 
        color: var(--neutral-black-primary); 
        white-space: nowrap;
    }
    .cart-bar-actions {
        display: flex;
        align-items: center;
        gap: 12px; /* Відстань між кнопками */
    }

    .btn-open-cart {
        background: var(--primary-blue);
        color: var(--neutral-white-primary);
        padding: 14px 32px;
        border-radius: 100px;
        font-weight: 700;
        font-size: 18px;
    }

    /* Оверлей и Панель (Этап 2) */
    .mobile-cart-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 2100;
        display: none; /* Скрыто по умолчанию */
        align-items: flex-end;
        transition: background 0.4s ease, visibility 0.4s;
    }

    .mobile-cart-sheet {
        width: 100%;
        background: var(--neutral-white-primary);
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* "Пружинистый" выезд */
        display: flex;
        flex-direction: column;
    }

    .mobile-cart-overlay.active { 
        display: flex; 
        background: rgba(0, 0, 0, 0.6); /* Плавное затемнение фона */
    }
    .mobile-cart-overlay.active .mobile-cart-sheet { 
        transform: translateY(0); 
    }

    .sheet-header { 
        display: flex;
        justify-content: space-between;
        position: relative;
        align-items: center;
    }
    .mobile-cart-content {
        opacity: 0;
        transition: opacity 0.3s ease 0.2s; /* Появление текста с задержкой */
    }
    .mobile-cart-overlay.active .mobile-cart-content {
        opacity: 1;
    }
    /* Адаптация вашей таблицы под мобильный экран */
    .mobile-cart-content .order-table {
         width: 100%; 
        }
    .mobile-cart-content .items-scroll-area { 
        max-height: 40vh;
         overflow-y: auto; 
        }
    .promo-input {
	background-color: var(--neutral-white-primary);
    }

    .promo-input::placeholder {
        color: var(--neutral-gray-400);
    }
}
@media (max-width: 540px) {
    .mobile-cart-bar{
        flex-direction: column;
        justify-content: space-evenly;
        height: 120px;
    }
}
/*===================FOOTER===============================*/

.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;
}

/* Левая часть */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.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-legal {
    display: flex;
    gap: 24px;
}

.footer-links {
	display: flex;
    flex-direction: wrap;
	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 0px;
        width: 100%;
    }
    .cta-text {
    text-align: left;
    }
}