/**
 * Зеленое Яблоко - Main Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-body);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: #ffffff;
    min-height: 100vh;
}

/* Full-width layout - no container needed */

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
.h1, h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text-black);
}

.h2, h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text-black);
}

.h3, h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-price {
    font-size: var(--font-size-big-numbers);
    font-weight: var(--font-weight-bold);
}

.text-price-old {
    font-size: var(--font-size-body);
    color: var(--color-text-muted);
    text-decoration: line-through;
}

/* ===== LAYOUT ===== */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== THREE COLUMN LAYOUT ===== */
:root {
    --sidebar-left-width: 350px;
    --sidebar-right-width: 340px;
    --top-offset: calc(var(--promo-bar-height) + var(--header-height));
    --layout-gap: 0px;
}

:root {
    --site-max-width: 1700px;
}

.main-layout {
    display: flex;
    min-height: calc(100vh - var(--top-offset));
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.sidebar-left {
    width: var(--sidebar-left-width);
    flex-shrink: 0;
    background-color: transparent;
    position: sticky;
    top: var(--top-offset);
    height: calc(100vh - var(--top-offset));
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 16px 12px;
}

.sidebar-left::-webkit-scrollbar {
    display: none;
}

.sidebar-right {
    width: var(--sidebar-right-width);
    flex-shrink: 0;
    background-color: #ffffff;
    position: sticky;
    top: var(--top-offset);
    height: calc(100vh - var(--top-offset));
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 12px;
}

.sidebar-right::-webkit-scrollbar {
    display: none;
}

.sidebar__inner {
    padding: 16px 12px;
    height: 100%;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
}

.main-content__inner {
    padding: 16px 0px;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile Header Buttons */
.header__left-mobile {
    display: none;
}

/* Bootstrap responsive classes fallback */
.d-md-none {
    display: none !important;
}

.d-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
    
    .d-none.d-md-block {
        display: block !important;
    }
}

@media (max-width: 767.98px) {
    .d-md-none {
        display: block !important;
    }
    
    .header__left-mobile.d-md-none {
        display: flex !important;
    }
    
    .header__cart-btn.d-md-none {
        display: flex !important;
    }
    
    .catalog-sidebar__mobile-header.d-md-none {
        display: flex !important;
    }
    
    .d-none.d-md-block {
        display: none !important;
    }
}

.header__mobile-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.header__mobile-btn:hover {
    background-color: var(--color-bg-secondary);
}

.header__cart-btn {
    position: relative;
}

.header__cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PROMO BAR ===== */
.promo-bar {
    background: #5EB048 url('/img/background-sale.png') center/700px repeat;
    color: var(--color-text-white);
    height: var(--promo-bar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.promo-bar__btn {
    background-color: var(--color-bg-white);
    color: var(--color-text-primary);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-body-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.promo-bar__btn:hover {
    background-color: var(--color-bg-light);
    transform: scale(1.02);
}

/* ===== HEADER ===== */
.header {
    background-color: var(--color-bg-white);
    height: var(--header-height);
    border-bottom: 1px solid #E9EAEC;
    position: sticky;
    top: var(--promo-bar-height);
    z-index: var(--z-sticky);
    width: 100%;
}

.header__container {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.header__spacer {
    flex-shrink: 0;
}

.header__spacer--left {
    width: var(--sidebar-left-width);
}

.header__spacer--right {
    width: var(--sidebar-right-width);
}

.header__content {
    flex: 1;
    min-width: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
}

.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 48px;
    width: auto;
}

.header__search {
    flex: 1;
    max-width: none;
    min-width: 200px;
}

.header__search--compact {
    flex: 1;
    max-width: none;
    min-width: 200px;
}

/* Header Icon Buttons */
.header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #F4F5F6;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
}

.header__icon-btn:hover {
    background: #EAEBEC;
}

.header__icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Header Address Block */
.header__address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: #F4F5F6;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    max-width: 200px;
    height: 48px;
}

.header__address:hover {
    background: #EAEBEC;
}

.header__address-icon {
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.header__address-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.header__address-label {
    font-size: 14px;
    color: var(--color-text-primary);
    line-height: 18px;
}

.header__address-value {
    font-size: 14px;
    font-weight: 400;
    color: #6F7276;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

/* Header User Dropdown */
.header__user {
    position: relative;
}

.header__user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #F4F5F6;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-primary);
}

.header__user-btn:hover {
    background: #EAEBEC;
}

.header__user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.header__user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    color: #1A1A1A;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.header__user-dropdown-item:hover {
    background: #F5F5F5;
}

.header__user-dropdown-item svg {
    color: #666;
    flex-shrink: 0;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* Header Login Button (guest) */
.header__login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 20px;
    background: #F4F5F6;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-primary);
    font-size: 16px;
    font-weight: 470;
    line-height: 22px;
    white-space: nowrap;
    flex-shrink: 0;
}

.header__login-btn:hover {
    background: #EAEBEC;
}

/* ===== SEARCH BOX ===== */
.search-box {
    position: relative;
    width: 100%;
}

.search-box__input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    padding-right: 44px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 470;
    transition: all var(--transition-fast);
    background-color: #F4F5F6;
    color: var(--color-text-primary);
}

.search-box__input:focus {
    outline: none;
    background-color: #EAEBEC;
}

.search-box__input::placeholder {
    color: #929498;
    font-weight: 470;
}

.search-box__btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #929498;
    transition: color var(--transition-fast);
}

.search-box__btn:hover {
    color: var(--color-primary);
}

.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
}
.search-results--active { display: block; }

.search-results__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.search-results__item:hover { background: var(--color-bg-secondary); }

.search-results__img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--color-bg-secondary);
}

.search-results__info { flex: 1; min-width: 0; }

.search-results__name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-results__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 2px;
}

.search-results__empty {
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ===== SEARCHBOOSTER WIDGET OVERRIDES ===== */
/*
 * Стилизация виджета SearchBooster под дизайн «Зелёного Яблока».
 * Виджет рендерит: попап-оверлей с двумя колонками —
 *   левая: строка поиска, чипы-теги, категории, подсказки
 *   правая: карточки товаров с кнопкой «В корзину»
 * Снизу: кнопка «Все товары →»
 */

/* --- Контейнер в шапке --- */
#sb-widget-container {
    position: relative;
}

/* --- Строка поиска в шапке (до открытия попапа) --- */
#sb-widget-container input[type="text"],
#sb-widget-container .sb-search-input,
#sb-widget-container [class*="sb-input"],
#sb-widget-container [class*="SearchInput"] {
    width: 100% !important;
    height: 48px !important;
    padding: 0 44px 0 16px !important;
    border: none !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 470 !important;
    font-family: var(--font-family-primary) !important;
    background-color: #F4F5F6 !important;
    color: var(--color-text-primary) !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: background var(--transition-fast) !important;
}

#sb-widget-container input[type="text"]:focus,
#sb-widget-container [class*="sb-input"]:focus {
    background-color: #EAEBEC !important;
    outline: none !important;
    box-shadow: none !important;
}

#sb-widget-container input::placeholder {
    color: #929498 !important;
    font-weight: 470 !important;
}

/* --- Попап-оверлей (основной контейнер результатов) --- */
[class*="sb-popup"],
[class*="sb-dropdown"],
[class*="sb-results"],
[class*="sb-widget-popup"],
[class*="SearchBooster"][class*="popup"],
[class*="searchbooster"][class*="result"] {
    border-radius: 20px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    font-family: var(--font-family-primary) !important;
    z-index: 1100 !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* --- Строка поиска внутри попапа --- */

/* Дропдаун «Везде» — категория */
[class*="sb-category-select"],
[class*="sb-select"],
[class*="sb-filter-select"] {
    font-family: var(--font-family-primary) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--color-text-primary) !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
}

/* Зелёная кнопка поиска (лупа) */
[class*="sb-search-btn"],
[class*="sb-submit"],
[class*="sb-search-button"] {
    background: var(--color-primary) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #fff !important;
    min-width: 52px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

[class*="sb-search-btn"]:hover,
[class*="sb-submit"]:hover,
[class*="sb-search-button"]:hover {
    background: var(--color-primary-dark) !important;
}

[class*="sb-search-btn"] svg,
[class*="sb-submit"] svg,
[class*="sb-search-button"] svg {
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
}

/* Кнопка очистки (×) */
[class*="sb-clear"],
[class*="sb-reset"] {
    color: var(--color-gray3) !important;
    cursor: pointer !important;
    transition: color 0.15s !important;
}

[class*="sb-clear"]:hover,
[class*="sb-reset"]:hover {
    color: var(--color-text-primary) !important;
}

/* Иконка микрофона */
[class*="sb-voice"],
[class*="sb-mic"] {
    color: var(--color-gray3) !important;
    cursor: pointer !important;
}

/* --- Чипы-теги (быстрые поисковые фразы) --- */
[class*="sb-tag"],
[class*="sb-chip"],
[class*="sb-quick-search"] {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    background: var(--color-gray1) !important;
    border: 1px solid var(--color-gray2) !important;
    border-radius: 20px !important;
    font-family: var(--font-family-primary) !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: var(--color-text-primary) !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    white-space: nowrap !important;
}

[class*="sb-tag"]:hover,
[class*="sb-chip"]:hover,
[class*="sb-quick-search"]:hover {
    background: var(--color-gray2) !important;
    border-color: var(--color-gray3) !important;
}

/* --- Секция «Категории» --- */
[class*="sb-category-title"],
[class*="sb-section-title"] {
    font-family: var(--font-family-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--color-gray3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Элемент категории: название + хлебная крошка + счётчик */
[class*="sb-category-item"],
[class*="sb-category-link"] {
    font-family: var(--font-family-primary) !important;
    font-size: 15px !important;
    font-weight: 450 !important;
    color: var(--color-text-primary) !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--color-gray1) !important;
    transition: background 0.15s !important;
    cursor: pointer !important;
}

[class*="sb-category-item"]:hover,
[class*="sb-category-link"]:hover {
    background: var(--color-bg-secondary) !important;
}

/* Счётчик товаров в категории (серый бейдж) */
[class*="sb-category-count"],
[class*="sb-count-badge"] {
    background: var(--color-gray1) !important;
    color: var(--color-text-primary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    min-width: 32px !important;
    text-align: center !important;
}

/* Хлебные крошки под названием категории */
[class*="sb-category-path"],
[class*="sb-breadcrumb"] {
    font-size: 13px !important;
    color: var(--color-gray3) !important;
    font-weight: 400 !important;
}

/* --- Секция «Подсказки» --- */
[class*="sb-suggestion"],
[class*="sb-tip"],
[class*="sb-suggest"] {
    font-family: var(--font-family-primary) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--color-text-primary) !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

[class*="sb-suggestion"]:hover,
[class*="sb-tip"]:hover,
[class*="sb-suggest"]:hover {
    background: var(--color-bg-secondary) !important;
}

/* Иконка лупы рядом с подсказкой */
[class*="sb-suggestion"] svg,
[class*="sb-tip"] svg,
[class*="sb-suggest"] svg {
    color: var(--color-gray3) !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

/* --- Правая колонка: карточки товаров --- */
[class*="sb-offer"],
[class*="sb-product-item"],
[class*="sb-product-card"] {
    font-family: var(--font-family-primary) !important;
    padding: 16px !important;
    border-bottom: 1px solid var(--color-gray1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    transition: background 0.15s !important;
    cursor: pointer !important;
}

[class*="sb-offer"]:last-child,
[class*="sb-product-item"]:last-child,
[class*="sb-product-card"]:last-child {
    border-bottom: none !important;
}

[class*="sb-offer"]:hover,
[class*="sb-product-item"]:hover,
[class*="sb-product-card"]:hover {
    background: var(--color-bg-secondary) !important;
}

/* Картинка товара */
[class*="sb-offer"] img,
[class*="sb-product-item"] img,
[class*="sb-product-card"] img,
[class*="sb-offer-image"] img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    background: #fff !important;
}

/* Название товара */
[class*="sb-offer-name"],
[class*="sb-product-name"],
[class*="sb-offer-title"] {
    font-family: var(--font-family-primary) !important;
    font-size: 15px !important;
    font-weight: 450 !important;
    color: var(--color-text-primary) !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Цена товара */
[class*="sb-price"],
[class*="sb-offer-price"] {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Кнопка «В корзину» (иконка корзины в зелёной обводке) */
[class*="sb-cart-btn"],
[class*="sb-add-to-cart"],
[class*="sb-offer-cart"],
[class*="sb-offer"] button,
[class*="sb-product-item"] button,
[class*="sb-product-card"] button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 2px solid var(--color-primary) !important;
    border-radius: 12px !important;
    color: var(--color-primary) !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin-left: auto !important;
}

[class*="sb-cart-btn"]:hover,
[class*="sb-add-to-cart"]:hover,
[class*="sb-offer-cart"]:hover,
[class*="sb-offer"] button:hover,
[class*="sb-product-item"] button:hover,
[class*="sb-product-card"] button:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
}

[class*="sb-cart-btn"] svg,
[class*="sb-add-to-cart"] svg,
[class*="sb-offer-cart"] svg,
[class*="sb-offer"] button svg,
[class*="sb-product-item"] button svg,
[class*="sb-product-card"] button svg {
    width: 20px !important;
    height: 20px !important;
}

[class*="sb-cart-btn"]:hover svg,
[class*="sb-add-to-cart"]:hover svg,
[class*="sb-offer"] button:hover svg {
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
}

/* --- Кнопка «Все товары →» внизу --- */
[class*="sb-show-all"],
[class*="sb-view-all"],
[class*="sb-more-results"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 28px !important;
    margin: 16px auto !important;
    background: #fff !important;
    border: 1.5px solid var(--color-gray2) !important;
    border-radius: 28px !important;
    font-family: var(--font-family-primary) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--color-text-primary) !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

[class*="sb-show-all"]:hover,
[class*="sb-view-all"]:hover,
[class*="sb-more-results"]:hover {
    background: var(--color-bg-secondary) !important;
    border-color: var(--color-gray3) !important;
}

/* --- Скрываем лого / branding SearchBooster --- */
[class*="sb-logo"],
[class*="sb-brand"],
[class*="sb-powered"],
[class*="sb-watermark"] {
    display: none !important;
}

/* --- Фон-затемнение за попапом --- */
[class*="sb-overlay"],
[class*="sb-backdrop"] {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

/* --- Мобильные адаптации --- */
@media (max-width: 768px) {
    [class*="sb-popup"],
    [class*="sb-dropdown"],
    [class*="sb-results"],
    [class*="sb-widget-popup"] {
        border-radius: 0 0 16px 16px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    [class*="sb-offer"] img,
    [class*="sb-product-item"] img,
    [class*="sb-product-card"] img {
        width: 60px !important;
        height: 60px !important;
    }

    [class*="sb-tag"],
    [class*="sb-chip"],
    [class*="sb-quick-search"] {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff !important;
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn--secondary {
    background-color: var(--color-bg-white);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-primary);
}

.btn--ghost:hover {
    background-color: var(--color-primary-lighter);
}

.btn--danger {
    background-color: var(--color-accent-red);
    color: var(--color-text-white);
}

.btn--danger:hover {
    background-color: #E53935;
}

.btn--outline {
    background-color: transparent;
    color: #1A1A1A;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn--outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: white;
}

.btn--cart {
    width: 100%;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
}

/* Product Card Add Button (Pill with text) */
.product-card .btn--cart {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 16px;
    font-family: 'Geist', sans-serif;
    font-weight: 470;
    line-height: 22px;
    color: var(--color-gray5, #1F2124);
    background: var(--color-gray1, #F4F5F6);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card .btn--cart:hover {
    background: var(--color-gray2, #E9EAEC);
}

.btn--cart.btn--disabled,
.btn--cart.btn--disabled:hover {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    font-size: 12px;
}

.product-card--unavailable .product-card__img {
    opacity: 0.5;
    filter: grayscale(30%);
}

.product-detail__add-btn--disabled,
.product-detail__add-btn--disabled:hover {
    opacity: 0.45;
    cursor: not-allowed;
    background: #ccc !important;
    border-color: #ccc !important;
    color: #fff !important;
}

.btn--sm {
    padding: 10px 16px;
    font-size: 14px;
}

.btn--lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-label-lg);
}

.btn--full {
    width: 100%;
}

.btn--rounded {
    border-radius: var(--radius-full);
}

/* ===== CATALOG SIDEBAR ===== */
.catalog-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: transparent;
}

.catalog-sidebar__scroll {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0px;
    overflow-y: auto;
    flex: 1;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-user-select: none;
    user-select: none;
    max-height: calc(100vh - var(--header-height, 64px) - 40px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.catalog-sidebar__scroll::-webkit-scrollbar {
    display: none;
}

/* Mobile Sidebar Header */
.catalog-sidebar__mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.catalog-sidebar__mobile-title {
    font-weight: 600;
    font-size: 18px;
    color: #1a1a1a;
    margin: 0;
}

.catalog-sidebar__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f5f5f5;
    border-radius: 10px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.catalog-sidebar__close:hover {
    background: #e5e5e5;
    color: #1a1a1a;
}

.catalog-sidebar__title {
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 16px;
    color: #1F2124;
    padding: 0;
    line-height: 22px;
}

.catalog-menu {
    display: flex;
    flex-direction: column; 
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.catalog-menu > li {
    display: flex;
    flex-direction: column;
}

.catalog-menu__item {

    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    transition: all 0.2s 
ease;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
}

.catalog-menu__item:hover {
    opacity: 0.7;
    background: transparent;
}

.catalog-menu__item--active {
    background: transparent;
}

.catalog-menu__item--active .catalog-menu__name {
    color: #5EB048;
}

.catalog-menu__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F5F6;
    border-radius: 12px;
    overflow: hidden;
}

.catalog-menu__icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.catalog-menu__icon svg {
    width: 20px;
    height: 20px;
    stroke: #1F2124;
}

.catalog-menu__name {
    flex: 1;
    font-size: 16px;
    font-weight: 470;
    color: #1F2124;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-menu__arrow {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: #929498;
}

.catalog-menu__item--expanded {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 50px;
    padding: 8px 14px;
    gap: 12px;
}

.catalog-menu__item--expanded .catalog-menu__arrow {
    transform: rotate(180deg);
}

.catalog-submenu { 
    display: none;
    list-style: none;
    padding: 8px 0 8px 0;
    margin: 0 0 4px 0;
    flex-direction: column;
    gap: 6px;
}

.catalog-menu__item--expanded + .catalog-submenu {
    display: flex;
}

.catalog-submenu li {
    padding-left: 40px;
}

.catalog-submenu__item {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 50px;
    transition: all 0.2s 
ease;
    text-decoration: none;
}

.catalog-submenu__item:hover {
    opacity: 0.7;
    background: transparent;
    color: #1F2124;
}

.catalog-submenu__item--active {
    color: #5EB048;
    background: transparent;
}

/* ===== CART SIDEBAR ===== */
.cart-widget {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
}

.cart-widget__header {
    padding: 16px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-widget__title {
    font-weight: 600;
    margin-bottom: 0;
    color: #1A1A1A;
}

.cart-widget__clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-widget__clear:hover {
    color: #e53935;
    background: rgba(229, 57, 53, 0.08);
}

.cart-widget__empty {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    justify-content: center;
    flex: 1;
}

.cart-widget__empty-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
    opacity: 0.85;
}

.cart-widget__empty-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-widget__empty-text {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.cart-widget__bottom {
    padding: 12px 16px 16px;
    margin-top: auto;
}

.cart-widget__catalog-btn {
    display: flex;
    width: 100%;
    height: 50px;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 14px 16px;
    background: var(--color-gray1, #F4F5F6);
    color: var(--color-gray3, #929498);
    font-size: 16px;
    font-family: 'Geist', sans-serif;
    font-weight: 470;
    line-height: 22px;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cart-widget__catalog-btn:hover {
    background: var(--color-gray2, #E9EAEC);
    color: #666;
    text-decoration: none;
}

.cart-widget__catalog-btn--auth {
    color: var(--color-gray5, #1F2124);
}

.cart-widget__items-old {
    display: none; /* Replaced with new chip-style */
    overflow-y: auto;
}

.cart-widget__footer {
    border-top: 1px solid #f0f0f0;
    padding: 12px 16px 16px;
    margin-top: auto;
    background: #fff;
}

.cart-widget__min-order {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 12px;
    color: #e65100;
    line-height: 1.35;
}

.cart-widget__total {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* ===== CART WIDGET SIDEBAR ITEMS ===== */
.cart-widget .cart-widget__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px 12px;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
}

.cart-widget .cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}

.cart-widget .cart-item__image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #F7F8FA;
}

.cart-widget .cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-widget .cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-widget .cart-item__name {
    font-size: 14px;
    font-weight: 400;
    color: #1F2124;
    margin: 0 0 4px 0;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-widget .cart-item__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin: 0;
}

.cart-widget .cart-item__price {
    font-weight: 500;
    color: #1F2124;
    text-align: left;
    min-width: auto;
    font-size: 14px;
    line-height: 18px;
}

.cart-widget .cart-item__old-price {
    color: #999;
    text-decoration: line-through;
    margin-left: 0;
    font-size: 14px;
}

.cart-widget .cart-item__dot {
    width: 4px;
    height: 4px;
    background: #E9EAEC;
    border-radius: 9999px;
    font-size: 0;
    display: inline-block;
}

.cart-widget .cart-item__weight {
    color: #929498;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

/* Cart widget quantity control - pill style */
.cart-widget .cart-item__qty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #EFF7ED;
    border-radius: 9999px;
    width: 26px;
    height: 64px;
    min-height: 64px;
    padding: 4px;
    flex-shrink: 0;
}

.cart-widget .cart-item__qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #5EB048;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-widget .cart-item__qty-btn:hover {
    opacity: 0.7;
}

.cart-widget .cart-item__qty-btn svg {
    width: 16px;
    height: 16px;
}

.cart-widget .cart-item__qty-minus:has(svg):hover {
    color: #e53935;
}

.cart-widget .cart-item__qty-value {
    min-width: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #5EB048;
    line-height: 18px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.cart-widget .cart-item__qty-input {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #5EB048;
    line-height: 18px;
    border: 1.5px solid #5EB048;
    border-radius: 6px;
    outline: none;
    padding: 2px 4px;
    background: #fff;
    -moz-appearance: textfield;
}
.cart-widget .cart-item__qty-input::-webkit-outer-spin-button,
.cart-widget .cart-item__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart item animation */
.cart-item--adding {
    animation: cartItemSlideIn 0.3s ease forwards;
}

@keyframes cartItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item--removing {
    animation: cartItemSlideOut 0.3s ease forwards;
}

@keyframes cartItemSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

/* Quantity Control */
.qty-control {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

.qty-control__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.qty-control__btn:hover {
    color: var(--color-primary);
}

.qty-control__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-control__value {
    min-width: 32px;
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.qty-control--active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.qty-control--active .qty-control__btn,
.qty-control--active .qty-control__value {
    color: var(--color-text-white);
}

/* Product Card Quantity Control (Green Pill) */
.product-card .qty-control {
    flex: 1;
    width: 100%;
    height: 40px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 25px;
    justify-content: space-between;
    padding: 0 4px;
}

.product-card .qty-control__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.product-card .qty-control__btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.product-card .qty-control__btn svg {
    width: 20px;
    height: 20px; 
}

.product-card .qty-control__btn--minus:has(svg):hover {
    background: rgba(255, 100, 100, 0.5);
}

.product-card .qty-control__value {
    color: white;
    font-size: 16px;
    font-weight: 600;
    min-width: 30px;
}

/* ===== PRODUCT CARD (iOS 2025 Style) ===== */
.product-card {
    background-color: transparent;
    border-radius: 0px;
    border: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-card__link {
    display: block;
    border-radius: 28px;
    width: 100%;
}

.product-card__image-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 85%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
}

/* Skeleton inside product card (disabled) */
.product-card__skeleton {
    display: none !important;
}

.product-card__image-wrap.loaded .product-card__skeleton {
    display: none;
}

.product-card__img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-card__image-wrap.loaded .product-card__img {
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__img {
    transform: scale(1.08);
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    opacity: 0.4;
}

.product-card__badges {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    z-index: 2;
}

.product-card__badge {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
}

.product-card__badge--sale {
    background-color: var(--color-accent-red);
    color: var(--color-text-white);
}

.product-card__badge--new {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.product-card__badge--hit {
    background-color: var(--color-accent-yellow);
    color: var(--color-text-black);
}

.product-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #999;
    transition: all 0.2s ease;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.product-card__favorite:hover {
    color: #FF4757;
    transform: scale(1.1);
    background-color: white;
}

.product-card__favorite--active {
    color: #FF4757;
}

.product-card__discount-badge {
    position: absolute;
    bottom: 12px;
    left: 18px;
    padding: 4px 8px;
    background: var(--color-accent-red, #FF3B30);
    color: white;
    border-radius: 9999px;
    font-size: 12px;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 12px;
}

.product-card__old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}

.product-card__price--sale {
    color: var(--color-accent-red, #FF3B30);
}

.product-card__body {
    padding: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 130px;
    flex: 1;
}

.product-card__prices {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    height: 24px;
}

.product-card__price {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray5, #1F2124);
    line-height: 20px;
}

.product-card__price--sale {
    color: var(--color-accent-red, #FF3B30);
}

.product-card__price-old {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray4, #6F7276);
    text-decoration: line-through;
    line-height: 20px;
}

.product-card__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray5, #1F2124);
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}

.product-card__name a {
    color: inherit;
    text-decoration: none;
}

.product-card__name a:hover {
    color: var(--color-primary);
}

.product-card__weight {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray4, #6F7276);
    line-height: 18px;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
    font-weight: 500;
    color: var(--color-gray5, #1F2124);
    line-height: 18px;
    margin-bottom: 12px;
}

.product-card__rating-value {
    color: var(--color-gray5, #1F2124);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1px;
}

.product-card__rating-star {
    color: var(--color-orange, #FBB02E);
    font-size: 12px;
}

.product-card__reviews {
    color: var(--color-gray3, #929498);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}
}

.product-card__action {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.product-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card__info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    grid-auto-rows: 1fr;
}

.products-grid--carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.products-grid--carousel::-webkit-scrollbar {
    display: none;
}

.products-grid--carousel .product-card {
    flex: 0 0 calc(25% - 9px);
    min-width: calc(25% - 9px);
    scroll-snap-align: start;
}

/* ===== SECTION ===== */
.section {
    margin-bottom: var(--spacing-3xl);
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
}

.section__title {
    font-family: 'Core Sans C', var(--font-family-primary);
    font-size: 32px;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: -0.01em;
}

.section__description {
    font-size: 15px;
    color: #6b7280;
    margin: 4px 0 0;
    line-height: 1.4;
    font-weight: 400;
}

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

.section__nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #E0E0E0;
    border-radius: 50%;
    color: #666;
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.section__nav-btn:hover {
    border-color: #333;
    color: #333;
}

.section__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Section with side navigation */
.section--with-nav {
    position: relative;
}

/* Carousel wrapper with side arrows */
.carousel-wrapper {
    position: relative;
}

.carousel-side-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 9999px;
    box-shadow: none;
    outline: 4px white solid;
    color: var(--color-gray5, #1F2124);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.carousel-side-btn:hover {
    background: var(--color-gray2, #E9EAEC);
}

.carousel-side-btn--prev {
    left: -20px;
}

.carousel-side-btn--next {
    right: -20px;
}

@media (max-width: 1300px) {
    .carousel-side-btn--prev { left: 4px; }
    .carousel-side-btn--next { right: 4px; }
}

.section__side-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    color: #333;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.section__side-nav:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.section__side-nav--prev {
    left: -22px;
}

.section__side-nav--next {
    right: -22px;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
    position: relative;
    margin-bottom: 20px;
    min-height: 250px;
    overflow: visible;
    padding: 0 20px;
}

.banner-slider__viewport {
    overflow: hidden;
    border-radius: 30px;
}

.banner-slider__container {
    display: flex;
    gap: 12px;
    min-height: 250px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.banner-card {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
    height: 280px;
    border-radius: 30px;
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.banner-card {
    background: #f0f0f0;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.banner-card img.loaded {
    opacity: 1;
}

.banner-card:hover img.loaded {
    transform: scale(1.02);
}

.btn--white {
    background-color: white;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn--white:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
}

.banner-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 245, 246, 1);
    border-radius: 50%;
    box-shadow: none;
    color: #333;
    transition: all 0.2s ease;
    z-index: 10;
    border: 4px solid #fff;
    cursor: pointer;
    box-sizing: content-box;
}

.banner-slider__nav:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: var(--color-primary);
}

.banner-slider__nav--prev {
    left: 0;
}

.banner-slider__nav--next {
    right: 0;
}

.banner-slider__dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.banner-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: var(--color-border);
    transition: all var(--transition-fast);
}

.banner-slider__dot--active {
    width: 24px;
    background-color: var(--color-primary);
}

/* ===== CAROUSEL ===== */
.carousel {
    position: relative;
}

.carousel__container {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-xs) 0;
}

.carousel__container::-webkit-scrollbar {
    display: none;
}

.carousel__item {
    flex: 0 0 auto;
}

/* ===== RECIPE CARD ===== */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.recipes-grid--carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.recipes-grid--carousel::-webkit-scrollbar {
    display: none;
}

.recipes-grid--carousel .recipe-card {
    flex: 0 0 calc(25% - 9px);
    min-width: calc(25% - 9px);
    scroll-snap-align: start;
}

.recipe-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.recipe-card__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #f0f0f0;
}

.recipe-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal), opacity 0.3s ease;
    opacity: 1;
}

.recipe-card__image img.loaded {
    opacity: 1;
}

.recipe-card:hover .recipe-card__image img.loaded {
    transform: scale(1.05);
}

.recipe-card__overlay {
    position: absolute;
    inset: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%);
    color: var(--color-text-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 30px;
}

.recipe-card__title {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.recipe-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recipe-card__time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    opacity: 0.9;
}

.recipe-card__link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.recipe-card__link:hover {
    transform: scale(1.1);
    background-color: var(--color-primary);
    color: white;
}

/* ===== PROMO APP BLOCK ===== */
.promo-app {
    background-color: var(--color-primary-bg);
    border-radius: var(--radius-2xl);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
}

.promo-app__content {
    flex: 1;
}

.promo-app__title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.promo-app__text {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

.promo-app__stores {
    display: flex;
    gap: var(--spacing-md);
}

.promo-app__store {
    height: 48px;
}

.promo-app__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.promo-app__qr-box {
    width: 140px;
    height: 140px;
    padding: var(--spacing-sm);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.promo-app__qr img {
    width: 100%;
}

.promo-app__qr-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-align: center;
}

.promo-app__image {
    max-width: 300px;
    height: auto;
    line-height: 1.5;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.newsletter__title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.newsletter__text {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter__form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: var(--spacing-sm);
}

.newsletter__input {
    flex: 1;
    height: 48px;
    padding: 0 var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-body);
}

.newsletter__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.newsletter__disclaimer {
    font-size: var(--font-size-body-sm);
    color: var(--color-text-muted);
    margin-top: var(--spacing-md);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #EBEBEB;
}

.footer__container {
    display: flex;
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.footer__spacer {
    flex-shrink: 0;
}

.footer__spacer--left {
    width: var(--sidebar-left-width);
}

.footer__spacer--right {
    width: var(--sidebar-right-width);
}

.footer__content {
    flex: 1;
    min-width: 0;
    padding: 48px 20px 32px;
}

/* Newsletter */
.footer__newsletter {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #EBEBEB;
}

.footer__newsletter-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.footer__newsletter-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    max-width: 400px;
}

.footer__newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    max-width: 500px;
}

.footer__newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.footer__newsletter-input:focus {
    border-color: var(--color-primary);
}

.footer__newsletter-input::placeholder {
    color: #999;
}

.footer__newsletter-btn {
    padding: 14px 28px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.footer__newsletter-btn:hover {
    background-color: #F5F5F5;
}

.footer__newsletter-consent {
    font-size: 13px;
    color: #999;
    max-width: 500px;
}

/* Grid */
.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 15px;
    color: #666;
    transition: color 0.2s;
}

.footer__link:hover {
    color: var(--color-primary);
}

/* Contacts */
.footer__contacts {
    border-top: 1px solid #EBEBEB;
    padding-top: 32px;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
}

.footer__contact-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 4px;
    line-height: 1.4;
}

.footer__contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
}

.footer__bottom-links {
    border-top: 1px solid #EBEBEB;
    padding-top: 24px;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

.footer__bottom-links a {
    color: #666;
    text-decoration: none;
}

.footer__bottom-links a:hover {
    color: #4CAF50;
}

.footer__bottom-sep {
    color: #ccc;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    color: #666;
    transition: all 0.2s ease;
}

.footer__social:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== MODAL ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-backdrop--active {
    opacity: 1;
    visibility: visible;
}

/* ===== TABS ===== */
.tabs {
    display: inline-flex;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-full);
    padding: var(--spacing-xs);
}

.tabs__item {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.tabs__item:hover {
    color: var(--color-text-primary);
}

.tabs__item--active {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-body);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(123, 184, 56, 0.15);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    min-height: 100px;
    padding: var(--spacing-md) var(--spacing-lg);
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.form-checkbox__input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin: 0;
    background: #fff;
    transition: background-color .15s, border-color .15s;
}

.form-checkbox__input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-checkbox__input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox__label {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    cursor: pointer;
    user-select: none;
    line-height: 20px;
}

/* ===== UTILITIES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.text-center { text-align: center; }

/* ===== RESPONSIVE ===== */

@media (max-width: 1400px) {
    :root {
        --sidebar-left-width: 260px;
        --sidebar-right-width: 300px;
    }
    
    .products-grid,
    .products-grid--carousel,
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1300px) {
    :root {
        --sidebar-right-width: 0px;
    }

    .sidebar-right {
        display: none;
    }

    .sidebar-right.active {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 340px;
        height: 100vh;
        z-index: 1000;
        background: #ffffff;
        box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid--carousel .product-card {
        flex: 0 0 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
    }
    
    .recipes-grid--carousel .recipe-card {
        flex: 0 0 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
    }

    /* Показываем кнопку корзины в хедере когда сайдбар скрыт */
    .header__cart-btn.d-md-none {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    /* Tablet: оптимизация промежуточных размеров */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid--carousel .product-card {
        flex: 0 0 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
    }

    .recipes-grid--carousel .recipe-card {
        flex: 0 0 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
    }

    .header__address-text .header__address-value {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 992px) {
    :root {
        --sidebar-left-width: 0px;
    }
    
    .sidebar-left {
        display: none;
    }
    
    .sidebar-left.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        background: #ffffff;
        box-shadow: 2px 0 20px rgba(0,0,0,0.15);
        padding-top: 0;
        overflow-y: auto;
    }
    
    .sidebar-left.active .sidebar__inner {
        padding: 0;
    }
    
    .sidebar-left.active .catalog-sidebar__mobile-header {
        display: flex;
    }
    
    .sidebar-left.active .catalog-sidebar__scroll {
        padding: 16px;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-content__inner {
        padding: var(--spacing-lg);
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-app {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-app__stores {
        justify-content: center;
    }
    
    .products-grid,
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid--carousel .product-card {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
    
    .recipes-grid--carousel .recipe-card {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
}

@media (max-width: 768px) {
    /* Promo bar mobile */
    .promo-bar {
        height: auto;
        min-height: 36px;
        padding: 8px 12px;
        font-size: 13px;
        text-align: center;
        gap: 8px;
    }
    
    .promo-bar__btn {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Header mobile layout: menu left, logo center, buttons right */
    .header__spacer {
        display: none;
    }
    
    .header__content {
        padding: 0 12px;
        justify-content: space-between;
        position: relative;
    }
    
    .header__search {
        display: none;
    }
    
    .header__address {
        display: none;
    }
    
    .header__left-mobile {
        display: flex;
        align-items: center;
        z-index: 2;
    }
    
    .header__logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
    
    .header__logo-img {
        max-height: 32px;
    }
    
    .header__actions {
        z-index: 2;
        gap: 4px;
    }
    
    .header__user-dropdown {
        right: -10px;
    }
    
    /* Hide favorites on mobile */
    .header__actions > a[title="Избранное"] {
        display: none;
    }
    
    /* Show cart toggle on mobile */
    .header__cart-btn.d-md-none {
        display: flex !important;
    }
    
    /* Banner slider mobile - horizontal slider with 1 item */
    .banner-slider {
        margin-bottom: 16px;
        overflow: hidden;
        min-height: auto;
    }
    
    .banner-slider__container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        transition: transform 0.3s ease;
        min-height: auto;
    }
    
    .banner-card {
        flex: 0 0 100%;
        min-width: 100%;
        height: auto;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .banner-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 2/1;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .banner-slider__nav {
        display: none;
    }
    
    .banner-slider {
        padding: 0;
    }
    
    .banner-slider__dots {
        margin-top: 12px;
    }
    
    /* Products grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid--carousel .product-card {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
    
    .recipes-grid--carousel .recipe-card {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
    
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer__contacts {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .newsletter__form {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .newsletter {
        padding: 24px 16px;
    }
    
    .newsletter__title {
        font-size: 20px;
    }
    
    .newsletter__text {
        font-size: 14px;
        padding: 0 8px;
    }
    
    /* Promo app section mobile */
    .promo-app {
        padding-top: 32px;
        margin-top: 24px;
    }
    
    .promo-app__title {
        font-size: 20px;
    }
    
    .promo-app__stores {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .promo-app__store img {
        height: 36px;
    }
    
    .promo-app__image {
        max-width: 220px;
        margin: 0 auto;
    }
    
    /* Footer newsletter mobile */
    .footer__newsletter {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .footer__newsletter-title {
        font-size: 18px;
    }
    
    .footer__newsletter-text {
        font-size: 14px;
    }
    
    .footer__newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .footer__newsletter-input {
        width: 100%;
    }
    
    .footer__newsletter-consent {
        font-size: 12px;
    }
    
    /* Footer content mobile */
    .footer__content {
        padding: 0 16px;
    }
    
    .footer__spacer {
        display: none;
    }

    /* Main content padding */
    .main-content__inner {
        padding: 12px;
    }
    
    /* Section title mobile */
    .section__header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .section__title {
        font-size: 18px;
    }

    .section__description {
        font-size: 13px;
        margin-top: 2px;
    }

    .carousel-side-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-side-btn--prev {
        left: 4px;
    }

    .carousel-side-btn--next {
        right: 4px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid--carousel .product-card {
        flex: 0 0 calc(100% - 40px);
        min-width: calc(100% - 40px);
    }
    
    .recipes-grid--carousel .recipe-card {
        flex: 0 0 calc(100% - 40px);
        min-width: calc(100% - 40px);
    }
}

/* ===== SKELETON LOADING (disabled) ===== */
.skeleton,
.skeleton-card,
.skeleton-banner,
.skeleton-category,
.skeleton-recipe,
.product-card__skeleton,
.skeleton-grid {
    display: none !important;
}

.skeleton-wrapper .skeleton-content,
.skeleton-wrapper .skeleton-content--flex,
.skeleton-wrapper .skeleton-content--grid {
    display: revert !important;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Skeleton card for products */
.skeleton-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    min-height: 340px;
}

.skeleton-card__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 12px;
}

.skeleton-card__price {
    height: 24px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-card__title {
    height: 18px;
    width: 90%;
    margin-bottom: 6px;
}

.skeleton-card__subtitle {
    height: 14px;
    width: 40%;
    margin-bottom: 8px;
}

.skeleton-card__rating {
    height: 14px;
    width: 50%;
    margin-bottom: 12px;
}

.skeleton-card__button {
    height: 44px;
    width: 100%;
    border-radius: 50px;
    margin-top: auto;
}

/* Skeleton banner */
.skeleton-banner {
    width: 100%;
    height: 280px;
    border-radius: 30px;
}

/* Skeleton text lines */
.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text--sm { height: 12px; }
.skeleton-text--lg { height: 24px; }
.skeleton-text--xl { height: 32px; }

.skeleton-text--w25 { width: 25%; }
.skeleton-text--w50 { width: 50%; }
.skeleton-text--w75 { width: 75%; }
.skeleton-text--w100 { width: 100%; }

/* Skeleton circle (for avatars, icons) */
.skeleton-circle {
    border-radius: 50%;
}

.skeleton-circle--sm { width: 32px; height: 32px; }
.skeleton-circle--md { width: 48px; height: 48px; }
.skeleton-circle--lg { width: 64px; height: 64px; }

/* Skeleton category item */
.skeleton-category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 50px;
    background: #fff;
}

.skeleton-category__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-category__text {
    height: 14px;
    flex: 1;
    border-radius: 4px;
}

/* Skeleton recipe card */
.skeleton-recipe {
    border-radius: 16px;
    aspect-ratio: 16/9;
}

/* Grid of skeleton cards */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1200px) {
    .skeleton-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .skeleton-grid { grid-template-columns: 1fr; }
}

/* Hide skeleton when content loaded */
.skeleton-wrapper.loaded .skeleton,
.skeleton-wrapper.loaded .skeleton-card,
.skeleton-wrapper.loaded .skeleton-banner,
.skeleton-wrapper.loaded .skeleton-category,
.skeleton-wrapper.loaded .skeleton-recipe {
    display: none;
}

.skeleton-wrapper .skeleton-content {
    display: none;
}

.skeleton-wrapper.loaded .skeleton-content {
    display: block;
}

/* For flex containers */
.skeleton-wrapper.loaded .skeleton-content--flex {
    display: flex;
}

/* For grid containers */
.skeleton-wrapper.loaded .skeleton-content--grid {
    display: grid;
}

/* ===== PLACEHOLDERS / MOCKUPS ===== */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    border: 2px dashed var(--color-border);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: placeholder-shimmer 2s infinite;
}

@keyframes placeholder-shimmer {
    100% {
        left: 100%;
    }
}

.placeholder__icon {
    font-size: 48px;
    opacity: 0.6;
    z-index: 1;
}

.placeholder--banner {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    border-radius: var(--border-radius-lg);
}

.placeholder--product {
    width: 100%;
    height: 180px;
    border-radius: var(--border-radius-md);
}

.placeholder--recipe {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, #f5f0e6 0%, #e8dcc8 100%);
}

.placeholder--qr {
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius-sm);
}

/* Placeholder text */
.placeholder__text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.breadcrumbs__link {
    color: var(--color-gray4, #6F7276);
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
    transition: color 0.2s;
    text-decoration: none;
}

.breadcrumbs__link:hover {
    color: var(--color-primary);
}

.breadcrumbs__sep {
    color: var(--color-gray3, #929498);
    display: flex;
    align-items: center;
}

.breadcrumbs__current {
    color: var(--color-gray5, #1F2124);
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    margin-bottom: 12px;
}

.page-header__title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-gray5, #1F2124);
    font-family: 'Core Sans C', 'Geist', sans-serif;
    line-height: 36px;
    margin-bottom: 0;
}

.page-header__subtitle {
    font-size: 15px;
    color: #666;
}

.page-header__count {
    font-size: 15px;
    color: #999;
    margin-left: 12px;
}

/* ===== CATALOG FILTERS ===== */
.catalog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.catalog-filters__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-filters__label {
    font-size: 14px;
    color: #666;
}

.catalog-filters__select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    outline: none;
}

.catalog-filters__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-filters__tag,
.recipe-filters__tag {
    padding: 8px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.catalog-filters__tag:hover,
.recipe-filters__tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.catalog-filters__tag--active,
.recipe-filters__tag--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff !important;
}

.catalog-filters__tag--active:hover,
.recipe-filters__tag--active:hover {
    background: var(--color-primary-dark, #5a9a2a);
    color: #fff !important;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__pages {
    display: flex;
    gap: 4px;
}

.pagination__page {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination__page:hover {
    background: #F5F5F5;
}

.pagination__page--active {
    background: var(--color-primary);
    color: #fff;
}

.pagination__dots {
    padding: 0 8px;
    color: #999;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-detail__gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail__main-image {
    position: relative;
    aspect-ratio: 1;
    background: #F7F7F7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail__main-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-detail__favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.product-detail__favorite:hover {
    transform: scale(1.1);
}

.product-detail__thumbs {
    display: flex;
    gap: 12px;
}

.product-detail__thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #F7F7F7;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.product-detail__thumb--active {
    border-color: var(--color-primary);
}

.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail__info {
    display: flex;
    flex-direction: column;
}

.product-detail__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-detail__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.product-detail__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.product-detail__reviews-link {
    color: #666;
    text-decoration: underline;
}

.product-detail__weight {
    color: #999;
    font-size: 14px;
}

.product-detail__prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.product-detail__price {
    font-size: 32px;
    font-weight: 700;
}

.product-detail__old-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.product-detail__discount {
    padding: 4px 8px;
    background: #FF4D4D;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.product-detail__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.product-detail__quantity {
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-btn:hover {
    background: #F5F5F5;
}

.quantity-input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.product-detail__add-btn {
    flex: 1;
}

.product-detail__delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #F7F7F7;
    border-radius: 12px;
    font-size: 14px;
    color: #666;
}

/* ===== PRODUCT TABS ===== */
.product-tabs {
    margin-bottom: 40px;
}

.product-tabs__nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 24px;
}

.product-tabs__btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.product-tabs__btn:hover {
    color: #1A1A1A;
}

.product-tabs__btn--active {
    color: var(--color-primary);
}

.product-tabs__btn--active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

.product-tabs__pane {
    display: none;
}

.product-tabs__pane--active {
    display: block;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.product-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-info-item__label {
    font-size: 13px;
    color: #999;
}

.product-info-item__value {
    font-size: 15px;
    color: #1A1A1A;
}

.nutrition-table {
    max-width: 400px;
}

.nutrition-table__row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.nutrition-table__label {
    color: #666;
}

.nutrition-table__value {
    font-weight: 600;
}

/* ===== REVIEWS ===== */
.reviews-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #F7F7F7;
    border-radius: 16px;
    margin-bottom: 24px;
}

.reviews-summary__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-summary__score {
    font-size: 32px;
    font-weight: 700;
}

.reviews-summary__stars {
    display: flex;
    gap: 2px;
}

.reviews-summary__count {
    color: #666;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 16px;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.review-card__author {
    font-weight: 600;
}

.review-card__date {
    color: #999;
    font-size: 13px;
}

.review-card__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-card__text {
    color: #333;
    line-height: 1.5;
}

/* ===== CART PAGE ===== */
.cart-page {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.cart-page__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-page__select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cart-page__clear {
    color: #999;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-page__clear:hover {
    color: #FF4D4D;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 16px;
    margin-bottom: 12px;
}

.cart-item__checkbox {
    cursor: pointer;
}

.cart-item__image {
    width: 80px;
    height: 80px;
    background: #F7F7F7;
    border-radius: 12px;
    overflow: hidden;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item__info {
    flex: 1;
}

.cart-item__name {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.cart-item__weight {
    font-size: 13px;
    color: #999;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
}

.cart-item__price {
    text-align: right;
    min-width: 100px;
}

.cart-item__total {
    font-size: 18px;
    font-weight: 600;
    display: block;
}

.cart-item__unit {
    font-size: 13px;
    color: #999;
}

.cart-item__remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-item__remove:hover {
    color: #FF4D4D;
}

/* ===== CART SUMMARY ===== */
.cart-summary {
    position: sticky;
    top: calc(var(--top-offset) + 20px);
    padding: 24px;
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 20px;
}

.cart-summary__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-summary__free {
    color: var(--color-primary);
}

.cart-summary__promo {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.cart-summary__promo-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-size: 14px;
}

.cart-summary__promo-btn {
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.cart-summary__note {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 12px;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.checkout-section {
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.checkout-section__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.checkout-tabs__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkout-tabs__btn--active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.checkout-tab-content {
    display: none;
}

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

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.time-slot:has(input:checked) {
    border-color: var(--color-primary);
}

.time-slot__content {
    display: flex;
    flex-direction: column;
}

.time-slot__title {
    font-weight: 500;
}

.time-slot__subtitle {
    font-size: 13px;
    color: #999;
}

.pickup-stores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pickup-store {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    cursor: pointer;
}

.pickup-store:has(input:checked) {
    border-color: var(--color-primary);
}

.pickup-store__content {
    display: flex;
    flex-direction: column;
}

.pickup-store__name {
    font-weight: 500;
}

.pickup-store__address {
    font-size: 14px;
    color: #666;
}

.pickup-store__time {
    font-size: 13px;
    color: var(--color-primary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    cursor: pointer;
}

.payment-method:has(input:checked) {
    border-color: var(--color-primary);
}

.payment-method__content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== CHECKOUT SUMMARY ===== */
.checkout-summary {
    padding: 24px;
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 20px;
    height: fit-content;
}

.checkout-summary__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-summary__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.checkout-summary__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-summary__item-img {
    width: 48px;
    height: 48px;
    background: #F7F7F7;
    border-radius: 8px;
    object-fit: contain;
}

.checkout-summary__item-info {
    flex: 1;
}

.checkout-summary__item-name {
    font-size: 14px;
    display: block;
}

.checkout-summary__item-qty {
    font-size: 13px;
    color: #999;
}

.checkout-summary__item-price {
    font-weight: 600;
}

.checkout-summary__totals {
    margin-bottom: 20px;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.checkout-summary__row--total {
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
    font-size: 18px;
    font-weight: 700;
}

.checkout-summary__agreement {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

.checkout-summary__agreement a {
    color: var(--color-primary);
}

/* ===== PROFILE PAGE ===== */
.profile-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.profile-sidebar {
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 20px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--top-offset) + 20px);
}

.profile-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 20px;
}

.profile-user__avatar {
    width: 56px;
    height: 56px;
    background: #F5F5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.profile-user__name {
    font-weight: 600;
    display: block;
}

.profile-user__phone {
    font-size: 14px;
    color: #666;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.2s;
}

.profile-nav__item:hover {
    background: #F5F5F5;
}

.profile-nav__item--active {
    background: var(--color-primary-bg);
    color: var(--color-primary);
}

.profile-nav__item--logout {
    color: #FF4D4D;
    margin-top: 12px;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}

.profile-content {
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 20px;
    padding: 32px;
}

.profile-content__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* ===== ORDERS LIST ===== */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    border: 1px solid #F0F0F0;
    border-radius: 16px;
    padding: 20px;
}

.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.order-card__number {
    font-weight: 600;
}

.order-card__date {
    font-size: 14px;
    color: #999;
    margin-left: 12px;
}

.order-card__status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.order-card__status--delivered {
    background: #E8F5E9;
    color: #2E7D32;
}

.order-card__status--cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.order-card__status--processing {
    background: #FFF3E0;
    color: #EF6C00;
}

.order-card__items {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.order-card__item {
    position: relative;
    width: 56px;
    height: 56px;
    background: #F7F7F7;
    border-radius: 10px;
    overflow: hidden;
}

.order-card__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-card__item-qty {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-card__total {
    font-size: 18px;
    font-weight: 600;
}

.order-card__actions {
    display: flex;
    gap: 8px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    color: #CCC;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-state p {
    color: #666;
    margin-bottom: 24px;
}

/* ===== STATIC PAGES ===== */
.static-page {
    max-width: 100%;
    padding-bottom: 60px;
}

.static-page__hero {
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #fff 100%);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.static-page__hero::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    opacity: 0.1;
    border-radius: 50%;
}

.static-page__hero-content {
    position: relative;
    z-index: 1;
}

.static-page__title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.static-page__hero .static-page__title {
    font-size: 42px;
}

.static-page__lead {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 32px;
    max-width: 600px;
}

.static-page__hero .static-page__lead {
    margin-bottom: 0;
}

.static-page__section {
    margin-bottom: 48px;
}

.static-page__section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.static-page__section h2 svg {
    color: var(--color-primary);
}

.static-page__section p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.static-page__section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.static-page__section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.static-page__section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Info Card */
.info-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(123, 184, 56, 0.12);
}

.info-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.info-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.info-card__text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.info-card__value {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 12px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

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

.features-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(123, 184, 56, 0.15);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feature-card__text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #fff 100%);
    border-radius: 20px;
    border: 1px solid rgba(123, 184, 56, 0.2);
}

.stat-card__value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* FAQ Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(123, 184, 56, 0.1);
}

.faq-item__question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1a1a1a;
    transition: color 0.2s;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center no-repeat;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(180deg);
}

.faq-item[open] .faq-item__question {
    color: var(--color-primary);
}

.faq-item__answer {
    padding: 0 24px 20px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Vacancy Cards */
.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vacancy-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(123, 184, 56, 0.12);
}

.vacancy-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.vacancy-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.vacancy-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.vacancy-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vacancy-card__tag {
    padding: 6px 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 12px;
    font-size: 13px;
}

.vacancy-card__salary {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-item__number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-item__content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-item__content p {
    color: #666;
    line-height: 1.6;
}

/* Price Cards */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.price-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card--featured {
    border-color: var(--color-primary);
    box-shadow: 0 8px 40px rgba(123, 184, 56, 0.2);
    transform: scale(1.02);
}

.price-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-card__price {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.price-card__price span {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

.price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.price-card__features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-card__features li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a9a1a 100%);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    color: #fff;
    margin-top: 48px;
}

.cta-block__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-block__text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block .btn {
    background: #fff;
    color: var(--color-primary);
}

.cta-block .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-primary-bg);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.timeline-item__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.timeline-item__text {
    color: #666;
    line-height: 1.6;
}

/* Benefits Icons */
.benefits-row {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-item svg {
    color: var(--color-primary);
}

.benefit-item span {
    font-weight: 500;
    color: #1a1a1a;
}

@media (max-width: 1024px) {
    .features-grid--3,
    .features-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card--featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .static-page__hero {
        padding: 32px 24px;
    }
    
    .static-page__hero .static-page__title,
    .static-page__title {
        font-size: 28px;
    }
    
    .features-grid,
    .features-grid--3,
    .features-grid--4 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===== CONTACTS PAGE ===== */
.contacts-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card-small {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.contact-card-small:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(123, 184, 56, 0.1);
}

.contact-card-small--clickable {
    cursor: pointer;
}

.contact-card-small--clickable:hover {
    transform: translateY(-2px);
}

.contact-card-small__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-card-small__content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.contact-card-small__content p {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.contact-card-small__content a,
.contact-card-small__content span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-card-small__content a:hover {
    text-decoration: underline;
}

/* Map and Form Grid */
.contacts-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.contacts-map {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
}

.contacts-map__container {
    width: 100%;
    height: 550px;
    background: #f0f0f0;
}

.contacts-map__info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts-map__address strong {
    font-size: 14px;
    color: #1a1a1a;
    display: block;
    margin-bottom: 4px;
}

.contacts-map__address p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.contacts-map__social {
    display: flex;
    gap: 8px;
}

.contacts-form {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 28px;
}

.contacts-form h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.contact-socials {
    display: flex;
    gap: 10px;
}

.contact-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 50%;
    color: #666;
    transition: all 0.2s;
}

.contact-social:hover {
    background: var(--color-primary);
    color: #fff;
}

.contact-social--whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-social--whatsapp:hover {
    background: #128C7E;
}

.contact-social--phone {
    background: var(--color-primary);
    color: #fff;
}

.contact-social--phone:hover {
    background: #5a9a2a;
}

.contacts-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
}

.contacts-social-block h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contacts-social-icons {
    display: flex;
    gap: 12px;
}

.contact-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
    color: #666;
    transition: all 0.2s ease;
}

.contact-social-icon:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.contacts-chat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contacts-chat-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-bg);
}

.contacts-chat-btn svg {
    color: var(--color-primary);
}

.contacts-legal {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 20px 24px;
}

.contacts-legal h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contacts-legal p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .contacts-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contacts-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== FORM ELEMENTS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.address-select__btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px dashed #E0E0E0;
    border-radius: 12px;
    background: #FAFAFA;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.address-select__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== RECIPES GRID ===== */
.recipe-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Keep homepage recipes as horizontal carousel (do not fallback to grid) */
.recipes-grid.recipes-grid--carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.recipes-grid.recipes-grid--carousel::-webkit-scrollbar {
    display: none;
}

/* Recipes Page Grid */
.recipes-grid--page {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.recipes-grid--page .recipe-card {
    aspect-ratio: 3/4;
}

@media (max-width: 1024px) {
    .recipes-grid--page {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .recipes-grid--page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .recipes-grid--page {
        grid-template-columns: 1fr;
    }
}

.load-more {
    text-align: center;
    margin-top: 32px;
}

/* ===== RESPONSIVE FOR NEW PAGES ===== */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .cart-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-page {
        grid-template-columns: 1fr;
    }
    
    .profile-page {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CATALOG SUBCATEGORIES ===== */
.catalog-subcats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.catalog-subcats__item {
    padding: 7px 12px;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 33px;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.catalog-subcats__item:hover {
    background: var(--color-gray2, #E9EAEC);
}

.catalog-subcats__item--active {
    background: var(--color-gray5, #1F2124);
    color: #fff;
}

/* ===== CATALOG FILTERS BAR ===== */
.catalog-filters-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.catalog-filters-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.catalog-sort {
    position: relative;
}

.catalog-sort__btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 33px;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.catalog-sort__btn:hover {
    background: var(--color-gray2, #E9EAEC);
}

.catalog-sort__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 172px;
    background: var(--color-white, #fff);
    border-radius: 16px;
    box-shadow: 0px 0px 4px rgba(64, 64, 64, 0.02), 0px 4px 12px rgba(64, 64, 64, 0.10);
    padding: 8px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.catalog-sort__dropdown--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.catalog-sort__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    padding: 6px 14px;
    border: none;
    background: none;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.catalog-sort__option:hover {
    background: var(--color-gray1, #F4F5F6);
}

.catalog-sort__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--color-primary, #5EB048);
    border-radius: 16px;
    padding: 4px;
    flex-shrink: 0;
}

.catalog-filters-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 33px;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.catalog-filters-btn:hover {
    background: var(--color-gray2, #E9EAEC);
}


/* ===== CATALOG SECTIONS ===== */
.catalog-section {
    margin-bottom: 48px;
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal--open {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.modal__container {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.3s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    /* Modern scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

.modal__container::-webkit-scrollbar {
    width: 6px;
}

.modal__container::-webkit-scrollbar-track {
    background: transparent;
    margin: 40px 0;
}

.modal__container::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
}

.modal__container::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

.modal--open .modal__container {
    transform: scale(1);
}

.modal__container--md {
    width: 560px;
    max-width: 92vw;
}

.modal__container--lg {
    width: 928px;
    max-width: 92vw;
    border-radius: 32px;
}

.modal__container--sm {
    width: 420px;
    max-width: 92vw;
    padding: 40px;
}

.modal__container--cart {
    width: 900px;
    max-width: 95vw;
    max-height: 85vh;
}

.modal__container--address {
    width: 1209px;
    max-width: 95vw;
    height: 816px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border-radius: 32px;
    padding: 0;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 50%;
    color: #666;
    z-index: 10;
    transition: all 0.2s;
}

.modal__close:hover {
    background: #E8E8E8;
    color: #333;
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #F0F0F0;
}

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

.modal__body {
    padding: 24px;
}

.modal__footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #F0F0F0;
}

.modal__footer .btn {
    flex: 1;
}

/* ===== PRODUCT MODAL ===== */
.product-modal__top-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.product-modal__page-link {
    width: 40px;
    height: 40px;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray4, #6F7276);
    text-decoration: none;
    transition: background 0.2s;
}

.product-modal__page-link:hover {
    background: var(--color-gray2, #E9EAEC);
    color: var(--color-gray5, #1F2124);
}

.product-modal__close-btn {
    width: 40px;
    height: 40px;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 9999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-gray5, #1F2124);
    transition: background 0.2s;
}

.product-modal__close-btn:hover {
    background: var(--color-gray2, #E9EAEC);
}

.product-modal {
    padding: 29px 24px 24px;
}

.product-modal__title {
    font-size: 32px;
    font-family: var(--font-family-secondary, 'Core Sans C', sans-serif);
    font-weight: 600;
    line-height: 36px;
    color: var(--color-gray5, #1F2124);
    margin-bottom: 8px;
}

.product-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.product-modal__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--color-primary, #5eb048);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.product-modal__weight {
    color: var(--color-gray3, #929498);
    font-weight: 600;
}

.product-modal__content {
    display: grid;
    grid-template-columns: 416px 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.product-modal__gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-modal__main-image {
    aspect-ratio: 1.15;
    background: var(--color-gray1, #F7F8FA);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal__main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-modal__thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.product-modal__thumb {
    width: 54px;
    height: 72px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--color-gray1, #F7F8FA);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.product-modal__thumb--active {
    border-color: var(--color-primary);
    outline: none;
}

.product-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-modal__info {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
    gap: 18px;
}

.product-modal__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-modal__price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-modal__prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-modal__price {
    font-size: 24px;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-gray5, #1F2124);
}

.product-modal__old-price {
    font-size: 16px;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    color: var(--color-gray4, #6F7276);
    text-decoration: line-through;
    line-height: 20px;
}

.product-modal__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.product-modal__rating-score {
    display: flex;
    align-items: center;
    gap: 1px;
}

.product-modal__rating-value {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: black;
}

.product-modal__rating-star {
    flex-shrink: 0;
}

.product-modal__reviews-count {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray3, #929498);
}

.product-modal__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-modal__cart-btn {
    height: 50px;
    padding: 14px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 100%), #5EB048;
    border: none;
    border-radius: 16px;
    color: white;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 470;
    line-height: 22px;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.product-modal__cart-btn:hover {
    opacity: 0.9;
}

.product-modal__qty-control {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #EFF7ED;
    border-radius: 16px;
    padding: 0 4px;
    height: 50px;
    min-width: 130px;
}

.product-modal__qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    color: #5EB048;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.product-modal__qty-btn:hover {
    opacity: 0.7;
}

.product-modal__qty-minus:has(svg):hover {
    opacity: 0.7;
}

.product-modal__qty-btn svg {
    width: 20px;
    height: 20px;
}

.product-modal__qty-value {
    color: #5EB048;
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 500;
    min-width: 30px;
    text-align: center;
    line-height: 18px;
}

.product-modal__divider {
    height: 1px;
    background: var(--color-gray2, #E9EAEC);
    align-self: stretch;
}

.product-modal__nutrition {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-modal__nutrition-label {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-gray3, #929498);
    display: block;
}

.product-modal__nutrition-grid {
    display: flex;
    gap: 18px;
}

.product-modal__nutrition-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.product-modal__nutrition-value {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    color: black;
}

.product-modal__nutrition-name {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray3, #929498);
}

.product-modal__tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-modal__tabs-nav {
    display: flex;
    gap: 8px;
}

.product-modal__tab-btn {
    padding: 7px 12px;
    border: none;
    border-radius: 33px;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    background: var(--color-gray1, #F4F5F6);
    cursor: pointer;
    transition: all 0.2s;
}

.product-modal__tab-btn:hover {
    background: var(--color-gray2, #E9EAEC);
}

.product-modal__tab-btn--active {
    background: var(--color-gray5, #1F2124);
    color: var(--color-gray1, #F4F5F6);
}

.product-modal__tab-btn--active:hover {
    background: var(--color-gray5, #1F2124);
}

.product-modal__tab-pane {
    display: none;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
}

.product-modal__tab-pane--active {
    display: block;
}

.product-modal__specs {
    display: flex;
    flex-direction: column;
}

.product-modal__spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray2, #E9EAEC);
}

.product-modal__spec-row span:first-child {
    color: var(--color-gray3, #929498);
}

.product-modal__reviews {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-modal__reviews-loading {
    color: var(--color-gray3, #929498);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
}

.product-modal__review {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-modal__review-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-modal__review-author {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
}

.product-modal__review-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-modal__review-rating {
    display: flex;
    gap: 2px;
    align-items: center;
}

.product-modal__review-date {
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--color-gray3, #929498);
}

.product-modal__review-text {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
}

.product-modal__reviews-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: var(--color-gray1, #F4F5F6);
    border: none;
    border-radius: 99999px;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0;
}

.product-modal__reviews-more:hover {
    background: var(--color-gray2, #E9EAEC);
}

.product-modal__similar {
    padding-top: 0;
    border-top: none;
}

.product-modal__similar-title {
    font-family: var(--font-family-secondary, 'Core Sans C', sans-serif);
    font-size: 32px;
    font-weight: 600;
    line-height: 36px;
    color: var(--color-gray5, #1F2124);
    margin-bottom: 17px;
}

.product-modal__similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-modal__similar-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.product-modal__similar-card:hover {
    transform: translateY(-2px);
}

.product-modal__similar-img {
    position: relative;
    aspect-ratio: 1.17 / 1;
    background: var(--color-gray1, #F4F5F6);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal__similar-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-modal__similar-discount {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 8px;
    background: var(--color-accent-red, #FF3B30);
    color: #fff;
    border-radius: 9999px;
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
}

.product-modal__similar-img-wrap {
    position: relative;
}

.similar-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
    z-index: 2;
    padding: 0;
}

.similar-favorite:hover {
    color: #ef4444;
    background: #fff;
}

.similar-favorite--active {
    color: #ef4444;
    background: #fff;
}

.similar-favorite--active svg {
    fill: currentColor;
}

.product-modal__similar-info {
    padding: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-modal__similar-prices {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-modal__similar-price {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    color: var(--color-accent-red, #FF3B30);
}

.product-modal__similar-old-price {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray4, #6F7276);
    text-decoration: line-through;
    line-height: 20px;
}

.product-modal__similar-name {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray5, #1F2124);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-modal__similar-weight {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray4, #6F7276);
    display: block;
}

.product-modal__similar-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.product-modal__similar-reviews {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-gray3, #929498);
}

.product-modal__similar-card .btn--sm,
.product-modal__similar-card .similar-qty-control {
    width: 100%;
    margin-top: auto;
}

.product-modal__similar-card .btn--sm {
    height: 40px;
    padding: 8px 12px;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 470;
    line-height: 22px;
    background: var(--color-gray1, #F4F5F6);
    color: var(--color-gray5, #1F2124);
    border: none;
    border-radius: 9999px;
}

.similar-qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-primary, #5EB048);
    border-radius: 9999px;
    height: 40px;
    padding: 0 4px;
}

.similar-qty-control__btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.similar-qty-control__btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.similar-qty-control__btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.similar-qty-control__value {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}


/* ===== REVIEWS MODAL ===== */

#reviews-modal {
    z-index: 10001;
}

#reviews-modal .modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.reviews-modal__container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 480px;
    max-width: 95vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}

#reviews-modal.modal--open .reviews-modal__container {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.reviews-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    flex-shrink: 0;
    position: relative;
}

.reviews-modal__title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-gray5, #1F2124);
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
}

.reviews-modal__back-btn,
.reviews-modal__close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray1, #F4F5F6);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.reviews-modal__back-btn:hover,
.reviews-modal__close-btn:hover {
    background: var(--color-gray2, #E9EAEC);
}

.reviews-modal__list {
    flex: 1;
    overflow-y: auto;
    padding: 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews-modal__loading {
    text-align: center;
    padding: 40px 0;
    color: var(--color-gray3, #929498);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
}

.reviews-modal__empty {
    text-align: center;
    padding: 40px 0;
    color: var(--color-gray3, #929498);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
}

.reviews-modal__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviews-modal__item-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviews-modal__author {
    color: var(--color-gray5, #1F2124);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.reviews-modal__meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.reviews-modal__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.reviews-modal__date {
    color: var(--color-gray3, #929498);
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.reviews-modal__text {
    color: var(--color-gray5, #1F2124);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}


/* ===== IMAGE LIGHTBOX ===== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox--open {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox--has-nav .lightbox__nav {
    display: flex;
}

.lightbox__body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    cursor: zoom-out;
}

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.lightbox--has-nav .lightbox__counter {
    display: block;
}

@media (max-width: 768px) {
    .lightbox__body { padding: 50px 16px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__nav { width: 40px; height: 40px; }
}

/* ===== FILTERS MODAL ===== */
#filters-modal .modal__container {
    padding: 0;
}

#filters-modal .modal__header {
    padding: 24px 28px;
    border-bottom: 1px solid #f0f0f0;
}

#filters-modal .modal__body {
    padding: 24px 28px;
    max-height: 60vh;
    overflow-y: auto;
}

#filters-modal .modal__footer {
    padding: 20px 28px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
}

#filters-modal .modal__footer .btn {
    flex: 1;
    padding: 14px 24px;
}

.filters-modal__section {
    margin-bottom: 28px;
}

.filters-modal__section:last-child {
    margin-bottom: 0;
}

.filters-modal__section-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.filters-modal__price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.filters-modal__price-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.2s;
}

.filters-modal__price-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.filters-modal__price-input::placeholder {
    color: #999;
}

.filters-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filters-modal__tag {
    cursor: pointer;
}

.filters-modal__tag input {
    display: none;
}

.filters-modal__tag span {
    display: block;
    padding: 10px 18px;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.filters-modal__tag:hover span {
    border-color: #ccc;
}

.filters-modal__tag input:checked + span {
    background: #1A1A1A;
    border-color: #1A1A1A;
    color: #fff;
}

.filters-modal__tag-more {
    padding: 10px 18px;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    font-size: 14px;
    color: #666;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.filters-modal__tag-more:hover {
    border-color: #ccc;
    color: #333;
}

.filters-modal__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
}

.filters-modal__toggle span:first-child {
    font-size: 15px;
    color: #1A1A1A;
}

/* Toggle Switch */
.toggle-input {
    display: none;
}

.toggle-slider {
    width: 48px;
    height: 28px;
    background: #E0E0E0;
    border-radius: 14px;
    position: relative;
    transition: background 0.2s;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-input:checked + .toggle-slider {
    background: var(--color-primary);
}

.toggle-input:checked + .toggle-slider::after {
    transform: translateX(20px);
}

/* ===== CART MODAL ===== */
.cart-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.cart-modal__items {
    padding: 24px;
    border-right: 1px solid #F0F0F0;
    overflow-y: auto;
}

.cart-modal__checkout {
    padding: 24px;
    overflow-y: auto;
}

.cart-modal__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-modal__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.cart-modal__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.cart-modal__item-img {
    width: 56px;
    height: 56px;
    background: #F7F7F7;
    border-radius: 10px;
    object-fit: contain;
}

.cart-modal__item-info {
    flex: 1;
}

.cart-modal__item-name {
    font-size: 14px;
    line-height: 1.3;
    display: block;
    margin-bottom: 4px;
}

.cart-modal__item-price {
    font-size: 14px;
    font-weight: 600;
}

.cart-modal__item-weight {
    color: #999;
    font-weight: 400;
}

.cart-modal__item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: #F5F5F5;
    border-radius: 8px;
}

.cart-modal__qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
}

.cart-modal__recs-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cart-modal__recs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cart-modal__section {
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
}

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

.cart-modal__section-title {
    font-size: 14px;
    font-weight: 500;
}

.cart-modal__section-btn {
    font-size: 14px;
    color: #666;
    padding: 8px 16px;
    background: #F5F5F5;
    border-radius: 20px;
}

.cart-modal__section-note {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.cart-modal__section-note--warning {
    color: #FF6B00;
}

/* Cart Promo Input */
.cart-promo {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.cart-promo__input {
    flex: 1;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.cart-promo__input:focus {
    border-color: #7dc95e;
}
.cart-promo__apply {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    background: #5EB048;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.cart-promo__apply:hover {
    background: #4e9a3c;
}
.cart-promo__apply:disabled {
    background: #ccc;
    cursor: default;
}
.cart-promo__result {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}
.cart-promo__result--success {
    color: #5EB048;
}
.cart-promo__result--error {
    color: #E53935;
}

.cart-modal__section-value {
    font-size: 14px;
    margin-top: 4px;
}

.cart-modal__delivery-types {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.cart-modal__delivery-type {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cart-modal__delivery-type input {
    display: none;
}

.cart-modal__delivery-type:has(input:checked) {
    border-color: var(--color-primary);
}

.cart-modal__delivery-type-content {
    flex: 1;
}

.cart-modal__delivery-type-name {
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.cart-modal__delivery-type-price {
    font-size: 13px;
    color: #666;
}

.cart-modal__toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.cart-modal__total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 700;
}

.cart-modal__submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
}

.cart-modal__submit-note {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

/* ===== ADDRESS MODAL ===== */
.address-modal {
    display: grid;
    grid-template-columns: 340px 1fr;
    height: 100%;
}

.address-modal__panel {
    padding: 24px;
    overflow-y: auto;
}

.address-modal__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.address-modal__tabs {
    display: flex;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.address-modal__tab {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
}

.address-modal__tab--active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.address-modal__content {
    display: none;
}

.address-modal__content--active {
    display: block;
}

.address-modal__subtitle {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.address-modal__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.address-modal__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.address-modal__item input {
    display: none;
}

.address-modal__item:has(input:checked),
.address-modal__item--active {
    border-color: var(--color-primary);
}

.address-modal__item-indicator {
    width: 24px;
    height: 24px;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-modal__item:has(input:checked) .address-modal__item-indicator,
.address-modal__item--active .address-modal__item-indicator {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.address-modal__item-info {
    flex: 1;
}

.address-modal__item-address {
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.address-modal__item-details {
    font-size: 13px;
    color: #666;
}

.address-modal__item-arrow {
    color: #CCC;
}

.address-modal__add-btn {
    border-radius: 16px;
}

.address-modal__back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.address-modal__form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.address-modal__map {
    background: #F0F0F0;
    position: relative;
}

.address-modal__map-placeholder {
    width: 100%;
    height: 100%;
}

.address-modal__map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ORDERS MODAL ===== */
.orders-modal__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.orders-modal__item {
    padding: 16px;
    border: 1px solid #F0F0F0;
    border-radius: 16px;
}

.orders-modal__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.orders-modal__item-date {
    font-weight: 500;
}

.orders-modal__item-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.orders-modal__item-status--delivering {
    background: #FFF3E0;
    color: #EF6C00;
}

.orders-modal__item-status--delivered {
    background: #E8F5E9;
    color: #2E7D32;
}

.orders-modal__item-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.orders-modal__item-price {
    font-weight: 600;
    color: #333;
}

.orders-modal__item-products {
    display: flex;
    gap: 8px;
}

.orders-modal__item-img {
    width: 48px;
    height: 48px;
    background: #F7F7F7;
    border-radius: 8px;
    object-fit: contain;
}

.orders-modal__empty {
    text-align: center;
    padding: 40px;
    color: #999;
}

.orders-modal__empty svg {
    margin-bottom: 16px;
}

/* ===== RESPONSIVE FOR MODALS ===== */
@media (max-width: 768px) {
    .modal__container--cart,
    .modal__container--address {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .cart-modal,
    .address-modal {
        grid-template-columns: 1fr;
    }
    
    .cart-modal__items {
        border-right: none;
        border-bottom: 1px solid #F0F0F0;
    }
    
    .address-modal__map {
        display: none;
    }
    
    .product-modal__content {
        grid-template-columns: 1fr;
    }
    
    .product-modal__similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-modal {
        padding: 20px 16px 16px;
    }
    
    .product-modal__title {
        font-size: 22px;
        line-height: 28px;
    }
    
    .product-modal__similar-title {
        font-size: 22px;
        line-height: 28px;
    }
    
    .product-modal__top-actions {
        top: 12px;
        right: 12px;
    }
}

/* ===== CHAT SUPPORT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: inherit;
}

.chat-widget__button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a9a2a 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(123, 184, 56, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-widget__button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(123, 184, 56, 0.5);
}

.chat-widget__icon {
    color: #fff;
    transition: all 0.3s ease;
}

.chat-widget__icon--close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.chat-widget--open .chat-widget__icon--chat {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.chat-widget--open .chat-widget__icon--close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.chat-widget__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget--open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-window__header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a9a2a 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-window__header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-window__avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.chat-window__title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.chat-window__status {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-window__status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-window__close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.chat-window__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chat Messages */
.chat-window__messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fa;
}

.chat-window__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    gap: 12px;
}

.chat-window__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Chat Message */
.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message--user {
    align-self: flex-end;
}

.chat-message--bot,
.chat-message--support {
    align-self: flex-start;
}

.chat-message__bubble {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.chat-message--user .chat-message__bubble {
    background: var(--color-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-message--bot .chat-message__bubble,
.chat-message--support .chat-message__bubble {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chat-message__text {
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message__time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
    text-align: right;
}

/* Chat Actions */
.chat-message__actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.chat-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.chat-action-btn--cart {
    background: var(--color-primary);
    color: #fff;
}

.chat-action-btn--cart:hover {
    background: var(--color-primary-dark, #3a8f3a);
    transform: scale(1.02);
}

.chat-action-btn--operator {
    background: #f0f0f0;
    color: #333;
}

.chat-action-btn--operator:hover {
    background: #e0e0e0;
}

.chat-ingredients-list {
    margin-top: 8px;
    font-size: 13px;
}

.chat-ingredient {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    margin: 4px 0;
    background: #f8f8f8;
    border-radius: 8px;
}

.chat-ingredient--not-found {
    opacity: 0.6;
    text-decoration: line-through;
}

.chat-ingredient__price {
    color: var(--color-primary);
    font-weight: 500;
}

.chat-ingredient__status {
    color: #999;
    font-style: italic;
}

.chat-emoji {
    font-size: 16px;
}

/* Chat Chips (Quick Answer Options) */
.chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chat-chip {
    padding: 8px 16px;
    background: #f0f7f0;
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.chat-chip:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Inline Input in Chat */
.chat-input-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px;
    background: #f8f8f8;
    border-radius: 12px;
}

.chat-input-inline label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.chat-inline-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    min-width: 100px;
}

.chat-input-inline button {
    padding: 8px 12px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* Number Selector */
.chat-number-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 12px;
}

.chat-number-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-number-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.chat-number-input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.chat-number-input::-webkit-inner-spin-button,
.chat-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.chat-number-submit {
    padding: 8px 16px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    margin-left: 8px;
}

.chat-number-submit:hover {
    background: var(--color-primary-dark, #3a8f3a);
}

/* Typing Indicator */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: #bbb;
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Quick Responses */
.chat-window__quick {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.chat-window__quick-title {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.chat-window__quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-quick-btn {
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-quick-btn:hover {
    background: var(--color-primary-bg);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Chat Input */
.chat-window__input-area {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.chat-window__form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-window__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-window__input:focus {
    border-color: var(--color-primary);
}

.chat-window__input::placeholder {
    color: #aaa;
}

.chat-window__send {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-window__send:hover {
    background: #5a9a2a;
    transform: scale(1.05);
}

.chat-window__send:active {
    transform: scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
    
    .chat-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 140px);
        max-height: 600px;
        bottom: 70px;
        left: 0;
        right: 0;
    }
    
    .chat-widget__button {
        width: 54px;
        height: 54px;
    }
}

/* ===== Combo Page ===== */
.combo-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 0 120px;
}
.combo-page__header {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}
.combo-page__image {
    width: 200px;
    min-width: 200px;
    border-radius: 16px;
    overflow: hidden;
}
.combo-page__image img {
    width: 100%;
    display: block;
}
.combo-page__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}
.combo-page__description {
    color: #666;
    margin: 0 0 16px;
    line-height: 1.5;
}
.combo-page__price-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.combo-page__old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}
.combo-page__final-price {
    font-size: 28px;
    font-weight: 700;
    color: #5EB048;
}
.combo-page__discount {
    background: #e8f5e3;
    color: #5EB048;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
}
.combo-slot {
    margin-bottom: 28px;
}
.combo-slot__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.combo-slot__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #5EB048;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.combo-slot__selected-name {
    font-weight: 400;
    color: #5EB048;
    font-size: 15px;
}
.combo-slot__products {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.combo-product-card {
    min-width: 140px;
    max-width: 160px;
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    flex-shrink: 0;
    background: #fff;
}
.combo-product-card:hover {
    border-color: #c5e1bb;
}
.combo-product-card--selected {
    border-color: #5EB048;
    box-shadow: 0 0 0 2px rgba(94, 176, 72, 0.2);
}
.combo-product-card__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #f5f5f5;
}
.combo-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.combo-product-card__name {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.combo-product-card__weight {
    font-size: 12px;
    color: #999;
}
.combo-product-card__check {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #ddd;
    transition: color 0.2s;
}
.combo-product-card__check-mark {
    opacity: 0;
    transition: opacity 0.2s;
}
.combo-product-card--selected .combo-product-card__check {
    color: #5EB048;
}
.combo-product-card--selected .combo-product-card__check-mark {
    opacity: 1;
}
.combo-page__footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.combo-page__footer-label {
    color: #666;
    font-size: 15px;
}
.combo-page__footer-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}
.combo-page__add-btn {
    min-width: 220px;
}
.combo-page__add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== COMBO IN CART SIDEBAR ===== */
.cart-combo {
    margin: 4px 0;
    border: 2px solid #5EB048;
    border-radius: 16px;
    overflow: hidden;
}
/* Заголовок: бейдж + название + скидка + цена */
.cart-combo__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: #EFF7ED;
}
.cart-combo__header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
}
.cart-combo__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: #5EB048;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    line-height: 16px;
    flex-shrink: 0;
    text-transform: uppercase;
}
.cart-combo__title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2124;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-combo__price {
    font-weight: 700;
    color: #1F2124;
    font-size: 15px;
    line-height: 18px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cart-combo__item-discount {
    background: #E53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 16px;
    white-space: nowrap;
}
/* Товары комбо — переиспользуют стили cart-item, без кол-ва */
.cart-combo__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}
/* Управление количеством комбо */
.cart-combo__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px 8px;
    border-top: 1px solid #f0f0f0;
}
.cart-combo__qty {
    display: flex;
    align-items: center;
    gap: 0;
    background: #EFF7ED;
    border-radius: 9999px;
}
.cart-combo__qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #5EB048;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.cart-combo__qty-btn:hover {
    opacity: 0.7;
}
.cart-combo__qty-btn svg {
    width: 16px;
    height: 16px;
}
.cart-combo__qty-value {
    min-width: 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #5EB048;
    line-height: 18px;
    padding: 0 2px;
}

@media (max-width: 640px) {
    .combo-page__header {
        flex-direction: column;
    }
    .combo-page__image {
        width: 100%;
        min-width: unset;
        max-height: 200px;
    }
    .combo-page__title {
        font-size: 22px;
    }
    .combo-product-card {
        min-width: 120px;
        max-width: 140px;
    }
}

/* ===== Combo Cards (Home page) ===== */
/* ===== Combo Cards (Samokat-style) ===== */
.combos-grid--carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.combos-grid--carousel::-webkit-scrollbar { display: none; }

/* ========== Combo Cards ========== */
.combo-card {
    flex: 0 0 calc(25% - 12px);
    min-width: 220px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #F8F8F8;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.combo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.combo-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.3;
    overflow: hidden;
    background: linear-gradient(145deg, #F7F7F7, #EFEFEF);
}
.combo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.combo-card:hover .combo-card__image img {
    transform: scale(1.06);
}
.combo-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    opacity: 0.4;
}
.combo-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    background: #FF4444;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.combo-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.combo-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 4px;
}
.combo-card__desc {
    font-size: 13px;
    color: #9E9E9E;
    margin-bottom: 12px;
}
.combo-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8F5D9;
    color: #5A9A1A;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: fit-content;
    font-family: inherit;
}
.combo-card__btn:hover {
    background: #5EB048;
    color: #fff;
}

/* ===== Combo Modal (Samokat-style) ===== */
.combo-modal-container {
    width: 920px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.combo-modal-container::-webkit-scrollbar { width: 6px; }
.combo-modal-container::-webkit-scrollbar-track { background: transparent; margin: 40px 0; }
.combo-modal-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 10px; }

.combo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 50%;
    color: #666;
    z-index: 10;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.combo-modal-close:hover { background: #E8E8E8; color: #333; }

.combo-modal {
    padding: 0 !important;
}
.combo-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 24px;
    color: #888;
    font-size: 15px;
}
.combo-modal__spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: #5EB048;
    border-radius: 50%;
    animation: combo-spin 0.7s linear infinite;
}
@keyframes combo-spin { to { transform: rotate(360deg); } }

.combo-modal__content {
    display: flex;
    flex-direction: column;
}
.combo-modal__header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid #F0F0F0;
}
.combo-modal__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1A1A1A;
}
.combo-modal__subtitle {
    font-size: 14px;
    color: #666;
}
.combo-modal__savings {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFF0F0;
    color: #FF4444;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 10px;
}

.combo-modal__body {
    padding: 24px 32px 32px;
}

/* Combo Slots */
.combo-slot {
    margin-bottom: 28px;
}
.combo-slot:last-child {
    margin-bottom: 0;
}
.combo-slot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.combo-slot__title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1A1A1A;
}
.combo-slot__number {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5EB048;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s;
}
.combo-slot__number--done {
    background: #5EB048;
}
.combo-slot__hint {
    font-size: 13px;
    color: #9E9E9E;
}

.combo-slot__items {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.combo-slot__items::-webkit-scrollbar { display: none; }

/* Slot Items */
.slot-item {
    flex: 0 0 140px;
    min-width: 140px;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 10px;
    transition: all 0.2s;
    cursor: pointer;
    text-align: center;
    background: #F8F8F8;
}
.slot-item:hover {
    border-color: #ddd;
    background: #fff;
}
.slot-item--selected {
    border-color: #5EB048;
    background: #E8F5D9;
}
.slot-item__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #fff;
}
.slot-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slot-item__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}
.slot-item__name {
    font-size: 12px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    min-height: 32px;
}
.slot-item__weight {
    font-size: 11px;
    color: #9E9E9E;
    margin-bottom: 2px;
}
.slot-item__price {
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
}
.slot-item__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #5EB048;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 4px auto 0;
}
.slot-item--selected .slot-item__check {
    display: flex;
}

/* Combo Modal Footer */
.combo-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-top: 1px solid #F0F0F0;
    background: #FAFAFA;
    border-radius: 0 0 16px 16px;
    position: sticky;
    bottom: 0;
}
.combo-modal__total {
    display: flex;
    flex-direction: column;
}
.combo-modal__total-label {
    font-size: 13px;
    color: #9E9E9E;
}
.combo-modal__total-price {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
}
.combo-modal__total-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}
.combo-modal__add-btn {
    background: #5EB048;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.combo-modal__add-btn:hover {
    background: #4E9A38;
}
.combo-modal__add-btn:disabled {
    background: #E0E0E0;
    color: #999;
    cursor: not-allowed;
}

/* Success Animation */
@keyframes comboPopIn { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.combo-modal__success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 32px;
    text-align: center;
    gap: 16px;
}
.combo-modal__success--show {
    display: flex;
    animation: comboPopIn 0.3s ease;
}
.combo-modal__success-icon {
    width: 64px;
    height: 64px;
    background: #E8F5D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5EB048;
}
.combo-modal__success h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.combo-modal__success p {
    font-size: 14px;
    color: #666;
    max-width: 300px;
    margin: 0;
}

/* Combo responsive */
@media (max-width: 1024px) {
    .combo-card {
        flex: 0 0 calc(33.333% - 11px);
        min-width: 200px;
    }
}
@media (max-width: 768px) {
    .combo-card {
        flex: 0 0 75%;
        min-width: 200px;
    }
    .combo-modal-container {
        max-width: 100vw;
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
        margin-top: auto;
    }
    .combo-modal__header,
    .combo-modal__body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .combo-modal__footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }
    .combo-modal__add-btn {
        width: 100%;
        text-align: center;
    }
    .slot-item {
        flex: 0 0 120px;
        min-width: 120px;
    }
}
@media (max-width: 480px) {
    .combo-card {
        flex: 0 0 75%;
        min-width: 180px;
    }
}
