:root {
    /* Ana renk */
    --site-primary: #ff0e6a;

    /* Koyu tonlar */
    --site-primary-700: #d90052;
    --site-primary-800: #b30043;
    --site-primary-900: #800030;

    /* Açık tonlar */
    --site-primary-600: #ff367f;
    --site-primary-500: #ff5e95;
    --site-primary-400: #ff86aa;
    --site-primary-300: #ffafc5;
    --site-primary-200: #ffd7e2;
    --site-primary-100: #ffebf1;
    --site-primary-50: #fff5f8;

    /* Kolay kullanım isimleri */
    --site-primary-dark: #d90052;
    --site-primary-darker: #b30043;
    --site-primary-light: #ffebf1;
    --site-primary-soft: #ffd7e2;

    --site-dark: #333333;
    --site-muted: #666666;
    --site-border: #e6e6e6;
    --site-background: #ffffff;
    --site-search-background: #f5f5f5;
    --site-header-container: 1720px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: var(--site-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

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

button,
input {
    font: inherit;
}

.header-container {
    width: 100%;
    max-width: var(--site-header-container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Üst bağlantılar */

.header-topbar {
    height: 30px;
    background-color: #ffffff;
}

.header-topbar .header-container {
    height: 100%;
}

.header-topbar .d-flex {
    height: 100%;
}

.header-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666666;
    font-size: 11px;
    transition: color 0.2s ease;
}

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

/* Logo, arama ve kullanıcı alanı */

.header-main {
    padding: 12px 0 17px;
    background-color: #ffffff;
}

.header-logo {
    display: inline-flex;
    align-items: baseline;
    min-width: 205px;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1;
    white-space: nowrap;
}

.header-logo-main {
    color: #111111;
}

.header-logo-plus {
    margin-left: 2px;
    color: var(--site-secondary);
    font-weight: 600;
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--site-search-background);
    transition:
            border-color 0.2s ease,
            background-color 0.2s ease,
            box-shadow 0.2s ease;
}

.header-search-form:focus-within {
    border-color: var(--site-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.08);
}

.header-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 100%;
    flex: 0 0 52px;
    padding: 0;
    border: 0;
    background-color: transparent;
    color: var(--site-primary);
    font-size: 21px;
}

.header-search-input {
    width: 100%;
    height: 100%;
    padding: 0 20px 0 0;
    border: 0;
    outline: none;
    background-color: transparent;
    color: #333333;
    font-size: 13px;
}

.header-search-input::placeholder {
    color: #777777;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 12px;
    white-space: nowrap;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.header-action:hover {
    color: var(--site-primary);
}

.header-action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 400;
}

.header-action-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    background-color: var(--site-primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

/* Navigasyon */

.header-navigation {
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #d8d8d8;
    background-color: #ffffff;
}

.header-navigation-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 47px;
    flex-wrap: nowrap;
}

.header-all-categories {
    flex: 0 0 auto;
}

.header-category-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
    width: auto;
    height: 47px;

    gap: 6px;
    padding: 0 10px;

    border: 0;
    background-color: transparent;
    color: #333333;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;

    cursor: pointer;
    transition: color 0.2s ease;
}
.header-category-list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;

    flex: 1 1 auto;
    width: auto;
    min-width: 0;

    gap: 0;
    overflow: hidden;
}

.header-category-item {
    position: static;
    display: flex;
    align-items: stretch;
}
.header-category-list > .header-category-item {
    display: flex;
    align-items: stretch;

    flex: 0 0 auto;
    width: auto;
    min-width: auto;
}

.header-category-link::after {
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 2px;
    background-color: var(--site-primary);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transition:
            opacity 0.2s ease,
            transform 0.2s ease;
}

.header-category-item:hover > .header-category-link {
    color: var(--site-primary);
}

.header-category-item:hover > .header-category-link::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-all-categories > .header-category-link {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 18px;
}

.header-all-categories > .header-category-link::after {
    right: 24px;
    left: 0;
}

.header-all-categories > .header-category-link .bi-list {
    font-size: 24px;
    font-weight: 400;
}

.header-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 5px;
    border-radius: 5px;
    background-color: #e5242a;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
}

/* Mega menü ana alanı */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    z-index: 1001;

    width: calc(100% - 80px);
    max-width: 1600px;
    max-height: calc(100vh - 140px);

    overflow-y: auto;

    border: 1px solid #eeeeee;
    border-top: 0;
    border-radius: 0 0 10px 10px;

    background-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);

    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -5px);
    pointer-events: none;

    transition:
            opacity 0.18s ease,
            transform 0.18s ease,
            visibility 0.18s ease;
}

.header-category-item:hover > .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.category-mega-menu {
    padding: 18px 20px 26px;
}

.mega-menu-layout {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    min-height: 480px;
}

.mega-menu-sidebar {
    padding: 10px 8px;
    border-right: 1px solid var(--site-border);
    background-color: #ffffff;
}

.mega-menu-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 47px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background-color: transparent;
    color: #333333;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
            color 0.2s ease,
            background-color 0.2s ease;
}

.mega-menu-sidebar-item i {
    color: var(--site-primary);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mega-menu-sidebar-item:hover,
.mega-menu-sidebar-item.active {
    background-color: #fff4eb;
    color: var(--site-primary);
}

.mega-menu-sidebar-item:hover i,
.mega-menu-sidebar-item.active i {
    opacity: 1;
}

.mega-menu-content {
    min-width: 0;
    padding: 16px 17px 28px;
}

.mega-menu-panel {
    display: none;
}

.mega-menu-panel.active {
    display: block;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    gap: 25px 34px;
    align-items: start;
}

.mega-menu-group {
    min-width: 0;
}

.mega-menu-group-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--site-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.mega-menu-group-title:hover {
    color: var(--site-primary-dark);
}

.mega-menu-group-title i {
    font-size: 11px;
}

.mega-menu-group-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.mega-menu-group-links > a {
    color: #333333;
    font-size: 12px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.mega-menu-group-links > a:hover {
    color: var(--site-primary);
}



/* İlk 5 kategoriden sonrakileri gizle */
.mega-menu-subcategory-hidden {
    display: none !important;
}

/* Açıldığında gizli kategorileri göster */
.mega-menu-group-links.is-expanded .mega-menu-subcategory-hidden {
    display: block !important;
}

/* Daha fazla göster butonu */
.mega-menu-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 28px;
    margin-top: 5px;
    padding: 5px 10px;

    border: 1px solid var(--site-primary-soft);
    border-radius: 6px;

    background-color: var(--site-primary-50);
    color: var(--site-primary);

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    white-space: nowrap;

    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.mega-menu-more:hover {
    border-color: var(--site-primary);
    background-color: var(--site-primary-light);
    color: var(--site-primary-dark);
}

.mega-menu-more:active {
    transform: scale(0.97);
}

.mega-menu-more:focus {
    outline: none;
}

.mega-menu-more:focus-visible {
    outline: 2px solid var(--site-primary);
    outline-offset: 2px;
}

.mega-menu-more i {
    font-size: 10px;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Açıldığında oku yukarı çevir */
.mega-menu-group-links.is-expanded .mega-menu-more i {
    transform: rotate(180deg);
}


.mega-menu-empty {
    padding: 30px;
    color: #777777;
    text-align: center;
}

/*
|--------------------------------------------------------------------------
| Sadece masaüstü
|--------------------------------------------------------------------------
|
| Bootstrap d-none d-lg-block zaten 992px altında gizler.
| Burada ayrıca güvenlik amacıyla tamamen kaldırıyoruz.
|
*/

@media (max-width: 1199.98px) {
    .header-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-logo {
        min-width: auto;
        font-size: 25px;
    }

    .header-actions {
        gap: 13px;
    }

    .header-action {
        gap: 5px;
        font-size: 11px;
    }

    .header-category-link {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 10px;
    }

    .mega-menu-columns {
        grid-template-columns: repeat(4, minmax(130px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .desktop-header {
        display: none !important;
    }
}




/* =====================================================
   MOBİL ALT MENÜ
===================================================== */

.mobile-bottom-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;

    height: 74px;
    padding: 6px 4px max(6px, env(safe-area-inset-bottom));

    border-top: 1px solid #eeeeee;
    border-radius: 0 0 20px 20px;

    background-color: #ffffff;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
}

.mobile-menu-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;
    min-width: 0;
    padding: 3px 2px;

    border: 0;
    background-color: transparent;
    color: #222222;

    text-align: center;
    cursor: pointer;

    transition:
            color 0.2s ease,
            transform 0.2s ease;
}

.mobile-menu-item:hover,
.mobile-menu-item:focus {
    color: var(--site-primary);
}

.mobile-menu-item:active {
    transform: scale(0.96);
}

.mobile-menu-item.active {
    color: var(--site-primary);
}

.mobile-menu-icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    font-size: 23px;
    line-height: 1;
}

.mobile-menu-title {
    display: block;

    max-width: 100%;

    overflow: hidden;
    color: inherit;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-item.active .mobile-menu-title {
    font-weight: 500;
}

.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -9px;

    display: none;
    align-items: center;
    justify-content: center;

    min-width: 17px;
    height: 17px;
    padding: 0 4px;

    border: 2px solid #ffffff;
    border-radius: 20px;

    background-color: var(--site-primary);
    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
}

/* Sepet adedi 0 değilse JS ile gösterilebilir */
.mobile-cart-badge.has-item {
    display: flex;
}

/* Sayfa içeriği alt menünün arkasında kalmasın */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 82px;
    }
}

/* =====================================================
   TAM EKRAN MOBİL KATEGORİ MENÜSÜ
===================================================== */

.mobile-category-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;

    display: flex;
    flex-direction: column;

    background-color: #f7f7f7;

    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);

    pointer-events: none;

    transition:
            opacity 0.25s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
}

.mobile-category-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-category-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 72px;
    padding: max(14px, env(safe-area-inset-top)) 18px 14px;

    border-bottom: 1px solid #eeeeee;
    background-color: #ffffff;
}

.mobile-category-header-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-category-header-title strong {
    color: #222222;
    font-size: 20px;
    font-weight: 700;
}

.mobile-category-header-title span {
    color: #777777;
    font-size: 12px;
}

.mobile-category-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: var(--site-primary-50);
    color: var(--site-primary);

    font-size: 20px;
}

.mobile-category-search {
    position: relative;

    display: flex;
    align-items: center;

    margin: 14px 16px 8px;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    background-color: #ffffff;
}

.mobile-category-search > i {
    margin-left: 15px;
    color: var(--site-primary);
    font-size: 18px;
}

.mobile-category-search input {
    width: 100%;
    height: 46px;
    padding: 0 15px 0 11px;

    border: 0;
    outline: none;

    background-color: transparent;
    color: #333333;

    font-size: 13px;
}

.mobile-category-body {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.mobile-category-main-view,
.mobile-category-detail-view {
    display: none;
    padding: 10px 16px 28px;
}

.mobile-category-main-view.active,
.mobile-category-detail-view.active {
    display: block;
}

.mobile-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mobile-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 0;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    background-color: #ffffff;
    color: #333333;

    text-align: left;
    cursor: pointer;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.mobile-category-card-image {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 1.6 / 1;

    overflow: hidden;
    background-color: var(--site-primary-50);
}

.mobile-category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-category-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: var(--site-primary);
    font-size: 30px;
}

.mobile-category-card-name {
    display: flex;
    align-items: center;

    min-height: 44px;
    padding: 10px 12px;

    font-size: 13px;
    font-weight: 600;
}

.mobile-category-card:active {
    transform: scale(0.98);
}

.mobile-category-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;
    padding: 8px 0;

    border: 0;
    background-color: transparent;
    color: var(--site-primary);

    font-size: 13px;
    font-weight: 600;
}

.mobile-category-detail-panel {
    display: none;
}

.mobile-category-detail-panel.active {
    display: block;
}

.mobile-category-detail-hero {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 14px;
    padding: 12px;

    border-radius: 14px;

    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.mobile-category-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    flex: 0 0 64px;

    overflow: hidden;
    border-radius: 12px;

    background-color: var(--site-primary-50);
    color: var(--site-primary);
    font-size: 25px;
}

.mobile-category-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-category-detail-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-category-detail-title strong {
    color: #222222;
    font-size: 17px;
}

.mobile-category-detail-title span {
    color: #777777;
    font-size: 12px;
}

.mobile-subcategory-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-subcategory-group {
    overflow: hidden;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    background-color: #ffffff;
}

.mobile-subcategory-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 48px;
    padding: 11px 14px;

    color: #222222;

    font-size: 14px;
    font-weight: 700;
}

.mobile-subcategory-title i {
    color: var(--site-primary);
    font-size: 12px;
}

.mobile-subcategory-children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;

    padding: 0 12px 12px;
}

.mobile-subcategory-children a {
    display: block;

    min-width: 0;
    padding: 8px 8px;

    border-radius: 7px;

    color: #555555;
    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-subcategory-children a:hover {
    background-color: var(--site-primary-50);
    color: var(--site-primary);
}

.mobile-category-empty {
    padding: 30px 15px;
    color: #777777;
    text-align: center;
}

body.mobile-category-opened {
    overflow: hidden;
}
/* =====================================================
   MOBİL / TABLET GÖRÜNÜRLÜK KESİN DÜZELTME
   991px ve altında mobil menü görünür.
   992px ve üzerinde yalnızca desktop header görünür.
===================================================== */

.mobile-bottom-menu,
.mobile-category-overlay {
    display: none;
}

@media (min-width: 992px) {
    .desktop-header {
        display: block !important;
    }

    .mobile-bottom-menu,
    .mobile-category-overlay {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 991px) {
    .desktop-header {
        display: none !important;
    }

    .mobile-bottom-menu {
        display: grid !important;
    }

    .mobile-category-overlay {
        display: flex !important;
    }

    body {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }
}

/* Alt menü görünümü */
.mobile-bottom-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5000;

    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;

    min-height: 72px;
    padding: 7px 4px max(7px, env(safe-area-inset-bottom));

    border-top: 1px solid #e9e9e9;
    border-radius: 20px 20px 0 0;

    background: #ffffff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.10);
}

.mobile-menu-item {
    appearance: none;
    -webkit-appearance: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 3px 2px;

    border: 0;
    outline: 0;
    background: transparent;
    color: #222222;

    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.mobile-menu-item.active {
    color: var(--site-primary);
}

.mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    font-size: 23px;
    line-height: 1;
}

.mobile-menu-title {
    display: block;
    width: 100%;

    overflow: hidden;
    color: inherit;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tam ekran kategori paneli */
.mobile-category-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;

    flex-direction: column;

    background: #f7f7f7;

    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;

    transition:
            opacity 0.25s ease,
            transform 0.30s ease,
            visibility 0.30s ease;
}

.mobile-category-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =====================================================
   MOBİL / TABLET KATEGORİ TASARIMI
   991px ve altında çalışır
===================================================== */

.mobile-bottom-menu,
.mobile-category-overlay {
    display: none;
}

@media (min-width: 992px) {
    .mobile-bottom-menu,
    .mobile-category-overlay {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .desktop-header {
        display: none !important;
    }

    body {
        padding-bottom: 78px;
    }

    .mobile-bottom-menu {
        display: grid !important;
    }

    .mobile-category-overlay {
        display: flex !important;
    }
}

/* alt menü */
.mobile-bottom-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;

    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;

    min-height: 72px;
    padding: 7px 4px max(7px, env(safe-area-inset-bottom));

    border-top: 1px solid #e9e9e9;
    border-radius: 20px 20px 0 0;

    background: #ffffff;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.08);
}

.mobile-menu-item {
    appearance: none;
    -webkit-appearance: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 3px 2px;

    border: 0;
    background: transparent;
    color: #222222;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.mobile-menu-item.active {
    color: var(--site-primary);
}

.mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    font-size: 23px;
    line-height: 1;
}

.mobile-menu-title {
    display: block;
    width: 100%;

    overflow: hidden;
    color: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* overlay */
.mobile-category-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;

    flex-direction: column;

    background: #f7f7f7;

    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;

    transition:
            opacity 0.25s ease,
            transform 0.30s ease,
            visibility 0.30s ease;
}

.mobile-category-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-category-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 56px;
    padding: 0 14px;

    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
}

.mobile-category-brand {
    display: flex;
    align-items: center;
}

.mobile-category-brand-main {
    color: #111111;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.mobile-category-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    padding: 0;

    border: 0;
    background: transparent;
    color: #333333;
    font-size: 23px;
    cursor: pointer;
}

.mobile-category-main-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;

    overflow-x: auto;
    overflow-y: hidden;

    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;

    scrollbar-width: none;
}

.mobile-category-main-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-main-tab {
    position: relative;
    flex: 0 0 auto;

    min-height: 44px;
    padding: 0 16px;

    border: 0;
    background: transparent;
    color: #333333;

    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.mobile-main-tab.active {
    color: var(--site-primary);
}

.mobile-main-tab.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: var(--site-primary);
    border-radius: 10px;
}

.mobile-category-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.mobile-main-panel {
    display: none;
    height: 100%;
}

.mobile-main-panel.active {
    display: block;
    height: 100%;
}

.mobile-main-layout {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    height: calc(100vh - 56px - 45px - 78px);
    min-height: 420px;
}

.mobile-subcategory-sidebar {
    overflow-y: auto;
    border-right: 1px solid #ececec;
    background: #f2f2f2;
}

.mobile-subcategory-tab {
    display: block;
    width: 100%;
    min-height: 64px;
    padding: 10px 12px;

    border: 0;
    border-bottom: 1px solid #ececec;
    background: transparent;
    color: #444444;

    text-align: left;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
}

.mobile-subcategory-tab.active {
    background: #ffffff;
    color: var(--site-primary);
    font-weight: 700;
}

.mobile-thirdlevel-area {
    overflow-y: auto;
    background: #ffffff;
    padding: 14px 12px 24px;
}

.mobile-thirdlevel-panel {
    display: none;
}

.mobile-thirdlevel-panel.active {
    display: block;
}

.mobile-thirdlevel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
}

.mobile-thirdlevel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #333333;
    text-align: center;
    text-decoration: none;
}

.mobile-thirdlevel-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 72px;
    overflow: hidden;

    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
}

.mobile-thirdlevel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-thirdlevel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    color: #d9d9d9;
    font-size: 24px;
}

.mobile-thirdlevel-title {
    display: -webkit-box;
    overflow: hidden;

    max-width: 100%;
    color: #333333;

    font-size: 12px;
    line-height: 1.25;
    text-align: center;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mobile-thirdlevel-empty {
    padding: 30px 10px;
    color: #777777;
    font-size: 13px;
}

body.mobile-category-opened {
    overflow: hidden;
}

@media (max-width: 420px) {
    .mobile-main-layout {
        grid-template-columns: 98px minmax(0, 1fr);
    }

    .mobile-thirdlevel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 10px;
    }

    .mobile-thirdlevel-image {
        width: 58px;
        height: 70px;
    }

    .mobile-main-tab {
        font-size: 12px;
        padding: 0 14px;
    }
}

.mobile-search-header {
    display: none;
}

@media (max-width: 991px) {
    .mobile-search-header {
        position: sticky;
        top: 0;
        z-index: 2500;

        display: block;
        padding: 10px 12px;

        border-bottom: 1px solid #eeeeee;
        background-color: #ffffff;
    }
}

.mobile-search-form {
    display: flex;
    align-items: center;

    width: 100%;
    height: 44px;

    overflow: hidden;
    border: 1px solid #eeeeee;
    border-radius: 10px;

    background-color: #f5f5f5;
}

.mobile-search-form:focus-within {
    border-color: var(--site-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 14, 106, 0.10);
}

.mobile-search-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 100%;
    flex: 0 0 46px;

    padding: 0;
    border: 0;
    background: transparent;

    color: var(--site-primary);
    font-size: 19px;
}

.mobile-search-input {
    width: 100%;
    height: 100%;

    padding: 0 14px 0 0;

    border: 0;
    outline: none;
    background: transparent;

    color: #333333;
    font-size: 13px;
}

.mobile-search-input::placeholder {
    color: #777777;
}