:root {
    /* Toastify əsas rəngləri (adları ilə uyğun) */
    --toastify-color-light: #ffffff;
    --toastify-color-dark: #0d0d0d;
    --toastify-color-info: #3498db;
    --toastify-color-success: #07bc0c;
    --toastify-color-warning: #f1c40f;
    --toastify-color-error: #e74c3c;
    --toastify-color-transparent: #f7f7f7;

    --toastify-icon-color-info: var(--toastify-color-info);
    --toastify-icon-color-success: var(--toastify-color-success);
    --toastify-icon-color-warning: var(--toastify-color-warning);
    --toastify-icon-color-error: var(--toastify-color-error);

    --toastify-toast-width: 320px;
    --toastify-toast-background: #ffffff;
    --toastify-toast-min-height: 64px;
    --toastify-toast-max-height: 800px;
    --toastify-font-family: sans-serif;
    --toastify-z-index: 9999;

    --toastify-text-color-light: #4b5563; /* açıq fonda yazı */
    --toastify-text-color-dark: #f9fafb;  /* tünd fonda yazı */
    --toastify-text-color-info: #ffffff;
    --toastify-text-color-success: #ffffff;
    --toastify-text-color-warning: #ffffff;
    --toastify-text-color-error: #ffffff;

    --toastify-spinner-color: #616161;
    --toastify-spinner-color-empty-area: #e0e0e0;

    --toastify-color-progress-light: linear-gradient(
        90deg,
        #4cd964,
        #5ac8fa,
        #007aff,
        #34aadc,
        #5856d6,
        #ff2d55
    );
    --toastify-color-progress-dark: #bb86fc;
    --toastify-color-progress-info: var(--toastify-color-info);
    --toastify-color-progress-success: var(--toastify-color-success);
    --toastify-color-progress-warning: var(--toastify-color-warning);
    --toastify-color-progress-error: var(--toastify-color-error);

    /* ==========================
       THEME TOKENS – DEFAULT = DARK
       ========================== */

    /* FONLAR */
    --mt20-bg: #ffffff;           /* body fonu */
    --mt20-bg-soft: #181818;      /* kartlar / modallar */
    --mt20-bg-softer: #202020;    /* daha açıq tünd fon */

    /* ÇƏRÇIVƏLƏR */
    --mt20-border-subtle: rgba(255, 255, 255, 0.06);
    --mt20-border-strong: rgba(255, 255, 255, 0.16);

    /* YAZI RƏNGLƏRİ */
    --mt20-text: #f9fafb;         /* əsas yazı */
    --mt20-text-dark: #ffffff;    /* başlıqlar / daha kontrast yazı */
    --mt20-text-muted: #9ca3af;   /* ikinci dərəcəli yazı */
    --mt20-text-soft: #6b7280;    /* daha solğun yazı */

    /* AKSENT / STATUS RƏNGLƏRİ */
    --mt20-accent: var(--toastify-color-info);
    --mt20-accent-soft: rgba(52, 152, 219, 0.18);
    --mt20-accent-strong: #007aff;
    --mt20-danger: var(--toastify-color-error);
    --mt20-success: var(--toastify-color-success);

    /* KART / KATEQORIYA FONLARI */
    --mt20-card-bg: #181818;      /* bütün kartlar / bir çox modallar */
    --mt20-categories-bg: #111111;/* kateqoriya konteyneri + fullscreen modallar */

    /* OVERLAY / GÖLGƏLƏR */
    --mt20-overlay-dark: rgba(18, 18, 18, 0.96);
    --mt20-overlay-dark-soft: rgba(18, 18, 18, 0.60);

    /* TAB-LAR / BƏZƏK */
    --mt20-tab-active-bg: var(--toastify-color-warning);
    --mt20-tab-active-text: #121212;
    --mt20-tab-active-shadow: rgba(241, 196, 15, 0.4);

    /* BOTTOM NAV / TOAST */
    --mt20-bottom-nav-bg: #111111;
    --mt20-bottom-nav-border: rgba(18, 18, 18, 0.95);

    /* SUCCESS BACKDROP */
    --mt20-success-soft-bg: rgba(7, 188, 12, 0.12);
    --mt20-success-soft-border: rgba(7, 188, 12, 0.4);
    --mt20-success-soft-glow: rgba(7, 188, 12, 0.30);

    /* BAŞLIQLAR */
    --mt20-heading-color: #ffffff;

    /* RADIUS & ANIM */
    --mt20-radius-lg: 18px;
    --mt20-radius-xl: 22px;
    --mt20-radius-full: 999px;

    --mt20-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.45);
    --mt20-shadow-chip: 0 10px 30px rgba(0, 0, 0, 0.35);

    --mt20-header-height: 72px;
    --mt20-bottom-nav-height: 64px;

    --mt20-anim-fast: 0.18s;
    --mt20-anim-normal: 0.30s;
    --mt20-anim-slow: 0.45s;
}


body {
    background-color: var(--mt20-bg);
    color: var(--mt20-text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}



body.light-mode {
    /* Light modda body fonu qara qalsın */
    --mt20-bg: #000000;

    /* Light modda categories div və BÜTÜN fullscreen modallar ağ olsun */
    --mt20-categories-bg: #ffffff;
    --mt20-card-bg: #ffffff;

    /* Ağ fonda yazılar tünd olsun */
    --mt20-text: #111827;
    --mt20-text-dark: #111827;
    --mt20-text-muted: #4b5563;
    --mt20-text-soft: #6b7280;
    --mt20-heading-color: #111827;

    /* Overlay-lər bir az daha açıq – qaranlıq blur yerinə yüngül overlay */
    --mt20-overlay-dark: rgba(0, 0, 0, 0.06);
    --mt20-overlay-dark-soft: rgba(0, 0, 0, 0.03);
}



a {
    color: var(--mt20-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.restaurant-header {
    position: relative;
    z-index: 5;
    margin: 10px 10px 0 10px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}



.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1c1c1c;
    color: white;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.header-icon-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.header-waiter-btn {
    color: #121212;
    box-shadow: 0 0 0 1px rgba(52, 152, 219, 0.65), var(--mt20-shadow-soft);
}

.icon-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-label {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.home-search-section {
    position: relative;
    z-index: 3;
    margin-top: 30px;
    padding: 0 16px 0;
}

.home-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-search-field {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #1c1c1c;
    color: var(--mt20-text-muted);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    box-shadow: var(--mt20-shadow-chip);
    backdrop-filter: blur(18px);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.home-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 1);
    color: var(--mt20-accent-strong);
}

.home-search-placeholder {
    flex: 1;
    text-align: left;
}

.home-search-filter-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
    color: var(--mt20-text);
    box-shadow: var(--mt20-shadow-chip);
    backdrop-filter: blur(18px);
}

.categories {
    background-color: var(--mt20-categories-bg);
    border-radius: 20px;
    margin-top:20px;
}

.categories#menu {
    padding: 4px 0 80px;
}

.home-category-tabs-wrapper {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 8px 0 2px;
    margin: 0 12px;
}

.home-category-tabs-scroll {
    display: flex;
    gap: 8px;
    padding: 2px 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-category-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.home-category-tab {
    border: none;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--toastify-color-transparent);
    color: var(--mt20-text-muted);
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.home-category-tab.is-active {
    background: var(--mt20-tab-active-bg);
    color: var(--mt20-tab-active-text);
    transform: translateY(-1px);
}

#footer {
    margin-top: 16px;
}

.footer-bottom-section {
    padding: 10px 16px 18px;
    font-size: 12px;
    color: var(--mt20-text-soft);
}

.footer-bottom-section .color-white {
    color: var(--mt20-accent-strong);
}

.fullscreen-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--mt20-anim-slow) ease;
}

.fullscreen-modal.is-open {
    opacity: 0.98;
    pointer-events: auto;
}

.fullscreen-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
}

.fullscreen-modal.is-open .fullscreen-modal-content {
    transform: translateY(0);
}

.fullscreen-modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    max-height: 100%;
    border-radius: 22px 22px 0 0;
    background: var(--mt20-categories-bg);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.8);
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    transform: translateY(16px);
    transition: transform var(--mt20-anim-slow) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fullscreen-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fullscreen-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color:var(--mt20-text-dark);
}

.fullscreen-modal-body {
    font-size: 13px;
    color: var(--mt20-text-muted);
}

.fullscreen-close-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mt20-text-muted);
    transition: background 0.18s ease, color 0.18s ease;
}

.fullscreen-close-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    color: var(--mt20-text);
}

.dish-modal-content {
    border-radius: 22px 22px 0 0;
    padding: 10px 14px 16px;
}

.dish-modal-close-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 12px;
    color: var(--mt20-text-muted);
}

.dish-modal-image-wrapper {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 10px;
    max-height: 270px;
}

.dish-modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-modal-info {
    padding: 4px 2px 0;
}

.dish-modal-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dish-modal-description {
    font-size: 13px;
    color: var(--mt20-text-soft);
    margin-bottom: 6px;
}

.dish-modal-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--mt20-accent-strong);
}

.modal-help-text {
    font-size: 12px;
    color: var(--mt20-text-soft);
    margin-bottom: 10px;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lang-item {
    width: 100%;
    border-radius: 14px;
    padding: 8px 10px;
    border: 1px solid var(--mt20-border-subtle);
    background: rgba(15, 23, 42, 0.96);
    color: var(--mt20-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
}

.lang-item.is-current {
    border-color: rgba(249, 115, 22, 0.85);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
}

.lang-code {
    font-weight: 700;
    letter-spacing: 0.06em;
}

.lang-name {
    flex: 1;
    color: var(--mt20-text-muted);
}

.lang-current-label {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.search-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid var(--mt20-border-strong);
    background: rgba(15, 23, 42, 0.96);
    color: var(--mt20-text);
    padding: 7px 12px;
    font-size: 13px;
}

.search-input::placeholder {
    color: var(--mt20-text-soft);
}

.search-submit-btn {
    border-radius: 999px;
    border: none;
    padding: 7px 14px;
    background: var(--mt20-accent);
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.search-results {
    max-height: 260px;
    overflow-y: auto;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 4px 4px 4px;
}

.search-count {
    font-size: 12px;
    color: var(--mt20-text-soft);
    padding: 4px 6px 2px;
    border-bottom: 1px solid var(--mt20-border-subtle);
    margin-bottom: 4px;
}

.search-empty {
    font-size: 13px;
    color: var(--mt20-text-soft);
    padding: 6px 8px;
}

.search-result-item {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 6px 8px;
    border-radius: 12px;
    display: block;
    cursor: pointer;
    transition: background 0.18s ease;
}

.search-result-item:hover {
    background: rgba(15, 23, 42, 0.98);
}

.search-result-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.search-result-name {
    font-size: 13px;
    font-weight: 500;
}

.search-result-price {
    font-size: 12px;
    color: var(--mt20-accent-strong);
}

.search-result-desc {
    font-size: 12px;
    color: var(--mt20-text-soft);
    margin-top: 2px;
}

.sidebar-modal-content {
    border-radius: 22px 22px 0 0;
    padding: 12px 0 12px;
}

.sidebar-panel {
    padding: 0 16px 4px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-body > p {
    color:var(--mt20-text-dark);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-logo h4 {
    color:var(--mt20-text-dark);
}

.sidebar-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.98);
    overflow: hidden;
}

.sidebar-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-header h4 {
    font-size: 15px;
    font-weight: 600;
}

.sidebar-subtitle {
    font-size: 13px;
    color: var(--mt20-text-soft);
    margin-bottom: 6px;
}

.sidebar-contact {
    margin-top: 12px;
    color:var(--mt20-text-dark);
}

.sidebar-contact h5 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px dashed var(--mt20-border-subtle);
    gap: 6px;
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.contact-content a {
    color: var(--mt20-text-muted);
}

.sidebar-theme-toggle {
    margin-top: 14px;
}

.sidebar-theme-btn {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--mt20-border-subtle);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.98);
    cursor: pointer;
    font-size: 13px;
    color: #f5f5f5;
}

.theme-icon {
    font-size: 16px;
}

.call-waiter-modal-content {
    border-radius: 22px 22px 0 0;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.form-input,
.form-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--mt20-border-strong);
    background: rgba(15, 23, 42, 0.98);
    color: var(--mt20-text);
    font-size: 13px;
    padding: 7px 10px;
}

.form-textarea {
    resize: vertical;
}

.call-waiter-submit-btn {
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 9px 12px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #111827;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}

.call-waiter-message {
    margin-top: 8px;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.98);
    color: var(--mt20-text-soft);
}

.call-waiter-message.is-error {
    background: rgba(127, 29, 29, 0.85);
    color: #fee2e2;
}

.call-waiter-success {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    background: var(--mt20-success-soft-bg);
    border: 1px solid var(--mt20-success-soft-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cw-success-icon {
    position: relative;
    width: 34px;
    height: 34px;
}

.cw-success-circle {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--mt20-success-soft-glow);
}

.cw-success-check {
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    border: 2px solid var(--mt20-success);
    box-shadow: 0 0 0 3px var(--mt20-success-soft-border);
}

.cw-success-text {
    font-size: 13px;
}

.is-hidden {
    display: none !important;
}

.menu-category-section {
    padding: 8px 10px 16px;
}

.menu-category-titles {
    padding: 4px 2px 6px;
}

.menu-category-main-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mt20-text);
    width: max-content; /* lazım ola bilər */
    background-color: var(--mt20-card-bg);
    padding:5px 10px;
    border-radius:8px;
    border: 1px solid var(--mt20-text);
}
.menu-subcategory-block {
    margin-top: 8px;
}

.menu-subcategory-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--mt20-text);
    margin: 4px 4px 6px;
}

.menu-item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 2px 4px;
}

.menu-item-row {
    position: relative;
    display: block;
    width: 207px;
    height: 289px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--mt20-card-bg);
    border: none;
    padding: 0;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.menu-item-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
}

.menu-item-row.is-search-highlight {
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.7), 0 18px 50px rgba(249, 115, 22, 0.45);
}

.menu-item-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--mt20-card-bg);
}

.menu-item-image-wrapper img {
    width: 105%;
    height: 105%;
    object-fit: cover;
    display: block;
}

.menu-item-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px 10px;
    /* HƏR REJİMDƏ EYNİ AĞ BLUR */
    background: linear-gradient(0deg, #0009 27.47%, #0000 99.63%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 60px;
}

.menu-item-footer-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color:white;
}

.menu-item-name {
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
}

.menu-item-price {
    margin: 0;
    font-size: 12px;
    font-weight: 1000;
    color: White;
}

.menu-item-desc {
    margin: 2px 0 0;
    font-size: 11px;
    color: white;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.menu-item-qty-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-item-qty-minus-sm,
.qty-value {
    display: none;
}

.menu-item-add-btn.qty-plus {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mt20-tab-active-bg);
    color: #111827;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.menu-item-add-btn.qty-plus:hover {
    background: var(--mt20-tab-active-bg);
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95);
}

.menu-item-add-btn.qty-plus:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

@media (max-width: 480px) {
    .menu-item-row {
        width: calc(50% - 8px);
        height: auto;
        aspect-ratio: 289 / 289;
    }
}

.home-subcategory-tabs-scroll {
    margin-top: 6px;
    padding: 2px 4px 0;
    display: none;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    white-space: nowrap;
}

.home-subcategory-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.home-subcategory-tab {
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    background: var(--toastify-color-transparent);
    color: var(--mt20-text-muted);
    white-space: nowrap;
    cursor: pointer;
    margin-right: 6px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.home-subcategory-tab.is-active {
    background: rgb(255, 202, 64);
    color: var(--mt20-tab-active-text);
    border-color: rgba(249, 115, 22, 0.75);
}

.form-group-inline {
    display: flex;
    gap: 10px;
}

.form-group-half {
    flex: 1;
}

.scroll-to-top-btn {
    position: fixed;
    right: 16px;
    bottom: 140px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 200;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-to-top-btn.is-visible {
    display: flex;
    opacity: 0.98;
    transform: translateY(0);
}

.scroll-to-top-btn.is-hidden {
    opacity: 0;
    transform: translateY(8px);
}

body.light-mode .scroll-to-top-btn {
    background-color: rgba(255,255,255,0.95);
    color: #111;
}

body:not(.light-mode) .scroll-to-top-btn {
    background-color: rgba(0,0,0,0.85);
    color: #fff;
}

.filter-modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

body.light-mode .filter-modal-content {
    background: #ffffff;
    color: #111111;
}

body:not(.light-mode) .filter-modal-content {
    background: #181818;
    color: #ffffff;
}

.filter-modal-header {
    padding: 14px 18px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.filter-modal-body {
    padding: 8px 18px 16px;
    overflow-y: auto;
}

.filter-modal-section {
    margin-top: 16px;
}

.filter-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.filter-sort-group,
.filter-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    border: 1px solid rgba(0,0,0,0.14);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.light-mode .filter-chip {
    color: #111;
    border-color: #DDDDDD;
    background: #FFFFFF;
}

body:not(.light-mode) .filter-chip {
    color: #f5f5f5;
    border-color: #333;
    background: #222;
}

.filter-chip.is-active,
.filter-chip.is-selected {
    border-color: #111;
    background: #111;
    color: #fff;
}

body:not(.light-mode) .filter-chip.is-active,
body:not(.light-mode) .filter-chip.is-selected {
    background: #f5f5f5;
    color: #111;
    border-color: #f5f5f5;
}

.filter-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
}

.filter-price-range {
    position: relative;
    height: 32px;
    margin: 4px 0;
}

.filter-price-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    background: #333333;
}

body.light-mode .filter-price-track {
    background: #111111;
}

.filter-price-range input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.filter-price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #111;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

body:not(.light-mode) .filter-price-range input[type="range"]::-webkit-slider-thumb {
    background: #ffffff;
    box-shadow: 0 0 0 2px #ffffff;
}

.filter-price-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #111;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.filter-price-limits {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.filter-modal-footer {
    padding: 10px 18px 18px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: inherit;
}

.filter-footer-btn {
    flex: 1;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.filter-footer-secondary {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.16);
}

body.light-mode .filter-footer-secondary {
    color: #111;
    border-color: #DDDDDD;
    background: #FFFFFF;
}

body:not(.light-mode) .filter-footer-secondary {
    color: #f5f5f5;
    border-color: #333;
    background: #222;
}

.filter-footer-primary {
    background: #FFC531;
    color: #111111;
}

#filterResultsModal .search-results {
    max-height: calc(100vh - 140px);
    padding: 8px 12px 16px;
    background: transparent;
    border: none;
    box-shadow: none;
}

#filterResultsModal .search-count {
    margin-bottom: 10px;
    border-bottom: none;
}

.filter-result-card {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--mt20-card-bg);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease;
}

.filter-result-card:last-child {
    margin-bottom: 4px;
}

.filter-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
}

#searchModal.fullscreen-modal,
#filterResultsModal.fullscreen-modal,
#langModal.fullscreen-modal {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
}

#searchModal .fullscreen-modal-content,
#filterResultsModal .fullscreen-modal-content,
#langModal .fullscreen-modal-content {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

#searchModal .fullscreen-modal-backdrop,
#filterResultsModal .fullscreen-modal-backdrop,
#langModal .fullscreen-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

#searchModal .fullscreen-modal-header,
#filterResultsModal .fullscreen-modal-header,
#langModal .fullscreen-modal-header {
    flex: 0 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#searchModal .fullscreen-modal-body,
#filterResultsModal .fullscreen-modal-body,
#langModal .fullscreen-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 18px 20px;
}

.cart-bar {
    transform: translateX(0);
    opacity: 1;
    transition: transform var(--mt20-anim-slow) ease, opacity var(--mt20-anim-slow) ease;
}

.cart-bar.is-collapsed {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

#filterResultsModal .fullscreen-modal-body {
    scrollbar-width: none;
}

#filterResultsModal .fullscreen-modal-body::-webkit-scrollbar {
    display: none;
}

#cartBar.cart-bar {
    transform-origin: right center;
    transform: perspective(800px) rotateY(0deg) scaleX(1);
    opacity: 1;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s ease-out;
}

#cartBar.cart-bar.is-collapsed {
    transform: perspective(800px) rotateY(90deg) scaleX(0.2);
    opacity: 0;
    pointer-events: none;
}

#basketBar.basket-bar-floating {
    transform-origin: right center;
    transform: perspective(800px) rotateY(90deg) scaleX(0.2);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s ease-out;
}

#basketBar.basket-bar-floating.is-visible {
    transform: perspective(800px) rotateY(0deg) scaleX(1);
    opacity: 1;
}

.fullscreen-modal-dialog {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.order-modal-content {
    border-radius: 22px 22px 0 0;
    background: var(--mt20-bg-soft);
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.7);
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.order-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 4px 10px;
    border-bottom: 1px solid var(--mt20-border-subtle);
}

.order-modal-header h3 {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.order-modal-body {
    padding: 10px 2px 4px;
    margin: 0 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
}

.order-modal-body::-webkit-scrollbar {
    width: 4px;
}

.order-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.order-modal-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.order-modal-section {
    margin-bottom: 10px;
}

.order-modal-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--mt20-text-soft);
    margin-bottom: 4px;
}

.order-modal-input,
.order-modal-textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--mt20-border-strong);
    background: rgba(15, 23, 42, 0.96);
    color: var(--mt20-text);
    font-size: 13px;
    padding: 8px 10px;
}

.order-modal-input::placeholder,
.order-modal-textarea::placeholder {
    color: var(--mt20-text-soft);
}

.order-modal-textarea {
    resize: vertical;
    min-height: 70px;
}

.order-type-buttons {
    display: flex;
    gap: 6px;
}

.order-type-btn {
    flex: 1;
    border-radius: 999px;
    border: 1px solid var(--mt20-border-subtle);
    background: rgba(15, 23, 42, 0.96);
    color: var(--mt20-text-muted);
    font-size: 12px;
    padding: 7px 10px;
    cursor: pointer;
    font-weight: 500;
}

.order-type-btn.is-active {
    background: var(--mt20-tab-active-bg);
    color: var(--mt20-tab-active-text);
    box-shadow: 0 10px 30px var(--mt20-tab-active-shadow);
    border-color: transparent;
}

[data-order-table-row] {
    transition: opacity 0.18s ease, max-height 0.18s ease;
}

[data-order-table-row][style*="display: none"] {
    opacity: 0;
    max-height: 0;
}

.order-modal-footer {
    padding: 8px 4px 2px;
    border-top: 1px solid var(--mt20-border-subtle);
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.order-modal-btn {
    flex: 1;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.order-modal-btn-secondary {
    background: transparent;
    border-color: var(--mt20-border-strong);
    color: var(--mt20-text-muted);
}

.order-modal-btn-secondary:hover {
    background: rgba(15, 23, 42, 0.9);
}

.order-modal-btn-primary {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #052e16;
    border: none;
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.35);
}

.order-modal-btn-primary:hover {
    filter: brightness(1.05);
}

.order-modal-btn.is-loading {
    opacity: 0.7;
    cursor: default;
}

.order-modal-summary {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 8px 8px 6px;
    border: 1px solid var(--mt20-border-subtle);
}

.order-summary-list {
    max-height: 210px;
    overflow-y: auto;
    padding-right: 2px;
    margin-bottom: 6px;
}

.order-summary-empty {
    font-size: 12px;
    color: var(--mt20-text-soft);
    padding: 4px 6px;
}

.order-summary-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--mt20-border-subtle);
    padding-top: 4px;
    margin-top: 4px;
}

.order-summary-total-label {
    font-size: 13px;
    font-weight: 500;
}

.order-summary-total-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--mt20-accent-strong);
}

.order-cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 12px;
}

.order-cart-item + .order-cart-item {
    margin-top: 3px;
}

.order-cart-item-image {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.9);
}

.order-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-cart-item-image--placeholder {
    background: rgba(15, 23, 42, 0.5);
}

.order-cart-item-main {
    flex: 1;
    min-width: 0;
}

.order-cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
}

.order-cart-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--mt20-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-cart-item-line-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--mt20-accent-strong);
    white-space: nowrap;
}

.order-cart-item-unit {
    font-size: 11px;
    color: var(--mt20-text-soft);
    margin-top: 2px;
}

.order-cart-item-qty {
    align-self: stretch;
    display: flex;
    align-items: center;
}

.order-cart-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 2px 4px;
    background: rgba(15, 23, 42, 0.9);
}

.order-cart-qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--mt20-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.order-cart-qty-btn-plus {
    background: #facc15;
    color: #111827;
}

.order-cart-qty-number {
    min-width: 18px;
    text-align: center;
    font-size: 13px;
}

.cart-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 60px;
    padding: 0 10px;
    border-radius: 8px;
    background: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: var(--mt20-shadow-soft);
    z-index: 80;
    transform: translateY(0);
    transition: transform var(--mt20-anim-slow) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cart-bar.is-collapsed {
    transform: translateY(120%);
}

.cart-bar-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--mt20-text-soft);
}

.cart-bar-info span:first-child {
    font-weight: 500;
    color: var(--mt20-text);
}

.cart-bar-submit {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    min-width: 130px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--mt20-tab-active-bg);
    color: #052e16;
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.35);
}

.basket-bar-floating {
    position: fixed;
    right: 16px;
    bottom: 10px;
    z-index: 85;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.9);
    transition: opacity var(--mt20-anim-slow) ease, transform var(--mt20-anim-slow) ease;
}

.basket-bar-floating.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.basket-bar-btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--mt20-shadow-soft);
    position: relative;
    cursor: pointer;
}

.basket-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.basket-bar-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.order-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--mt20-bottom-nav-height) + 26px);
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    pointer-events: none;
    z-index: 90;
    min-width: 240px;
    max-width: 320px;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--mt20-shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.order-success-icon {
    position: relative;
    width: 34px;
    height: 34px;
}

.order-success-circle {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.2);
}

.order-success-check {
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    border: 2px solid var(--mt20-success);
    box-shadow: 0 0 0 3px var(--mt20-success-soft-border);
}

.order-toast-text {
    flex: 1;
    min-width: 0;
}

.order-success-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.order-success-text {
    font-size: 12px;
    color: var(--mt20-text-soft);
}

.scroll-to-top-btn {
    position: fixed;
    right: 0px;
    bottom: 75px;
    width: 60px;
    height: 40px;
    border-radius: 5px 0 0 5px;
    border: none;
    background: rgba(15, 23, 42, 0.96);
    color: var(--mt20-text);
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--mt20-shadow-soft);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--mt20-anim-normal) ease, transform var(--mt20-anim-normal) ease;
    transform: rotate(180deg);
}

.scroll-to-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
/* ===========================
   YEMƏK MODALI – FULLSCREEN
   =========================== */

/* Modal tam ekrana yayılsın */
/* ===========================
   YEMƏK MODALI – THEME-AWARE
   =========================== */

.dish-modal .dish-modal-content {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    background: var(--mt20-bg);      /* DARK-da qara, LIGHT-da açıq */
    display: flex;
    flex-direction: column;
}

/* Şəkil hissəsi – eyni qalır */
.dish-modal .dish-modal-image-wrapper {
    flex: 0 0 50vh;
    position: relative;
    overflow: hidden;
}

.dish-modal .dish-modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Aşağı hissə – məlumatlar (ad, təsvir, qiymət) */
.dish-modal .dish-modal-info {
    flex: 1 1 auto;
    background: var(--mt20-card-bg);   /* LIGHT: ağ, DARK: tünd kart fonu */
    color: var(--mt20-text);
    padding: 16px 16px 110px;
    border-radius: 24px 24px 0 0;
    margin-top: -16px;
    overflow-y: auto;
}

.dish-modal .dish-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.dish-modal .dish-modal-description {
    font-size: 14px;
    color: var(--mt20-text-soft);
    margin-bottom: 10px;
}

.dish-modal .dish-modal-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--mt20-accent-strong);
}

/* Close düyməsi – eyni qala bilər */
.dish-modal .dish-modal-close-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: none;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Aşağı bar – say və Əlavə et düyməsi */
.dish-modal-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px 18px;
    background: var(--mt20-card-bg);   /* LIGHT: ağ, DARK: tünd */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.25);
    z-index: 40;
}

/* Say qutusu */
.dish-modal-qty-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    border: 1px solid var(--mt20-border-subtle);
    padding: 6px 10px;
    background: var(--mt20-bg-softer);
}

.dish-modal-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: var(--mt20-card-bg);
    color: var(--mt20-text);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dish-modal-qty-value {
    min-width: 22px;
    text-align: center;
    font-weight: 500;
    color: var(--mt20-text);
}

/* Əlavə et düyməsi */
.dish-modal-add-btn {
    flex: 1 1 auto;
    border-radius: 999px;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--mt20-tab-active-bg);
    color: var(--mt20-tab-active-text);
}

.dish-modal-add-price {
    font-weight: 600;
}


/* KATEQORIYA / SUBKATEQORIYA "HAMISI" DÜYMƏLƏRİ */
.menu-category-titles,
.menu-subcategory-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.menu-category-all-btn,
.menu-subcategory-all-btn {
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    color: #084db5;
    background-color:#e7f0ff);
}

/* KATEQORIYA "HAMISI" MODALI */
.category-all-modal .category-all-modal-content {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    background: var(--mt20-bg);
    display: flex;
    flex-direction: column;
}

.category-all-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 8px;
    border-bottom: 1px solid var(--mt20-border-subtle);
}

.category-all-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

body.light-mode .category-all-back-btn {
    background: rgba(0,0,0,0.06);
    color: #111;
}

.category-all-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--mt20-heading-color);
}

.category-all-header-spacer {
    width: 32px;
    height: 32px;
}

.category-all-list {
    flex: 1;
    padding: 10px 12px 18px;
    overflow-y: auto;
    scrollbar-width: none;
}

.category-all-list::-webkit-scrollbar {
    display: none;
}

/* bu modal daxilində kartlar tam en olsun */
.category-all-modal .menu-item-row {
    width: 100%;
    height: 205px;
    margin-bottom: 10px;
}

#cartBarCount, #cartBarTotal {
    color:White;
} 
.img-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
}

/* COVER ŞƏKİLİ */
.img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LOGO + TITLE birlikdə hizalanan blok */
.header-logo-wrapper {
    position: absolute;
    left: 20px;     
    bottom: -100px;   /* LOGO-nun yarısı çöldə */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.header-subtitle {
    color: var(--mt20-categories-bg);
    margin:0 auto;
}

/* LOGO STATUS BUTTON */
.logo-status-btn {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: default;
    display: inline-flex;
    border-radius: 999px;
}

/* STATUS HALQASI – yalnız has-status olanda */
.header-logo-wrapper.has-status .logo-status-btn {
    cursor: pointer;
}

.header-logo-wrapper.has-status .logo-status-ring {
    position: relative;
    padding: 3px; /* halqa qalınlığı */
    border-radius: 999px;
    background: conic-gradient(#25D366, #ffdf6b, #25D366);
    animation: mt21StatusBounce 1.4s ease-in-out infinite;
}

/* LOGO şəkli */
.logo-image {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #000; /* iç halqa */
}

body.light-mode .logo-image {
    border-color: #fff;
}

/* TITLE */
.post-title {
    margin: 0;
    font-size: 22px;
    color: var(--mt20-categories-bg);
}

/* WhatsApp status kimi yüngül atlanma */
@keyframes mt21StatusBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}

/* STATUS MODAL – WhatsApp story stilində */
.status-modal .fullscreen-modal-content {
    padding: 0;
    background: #000;
}

.status-modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #000;
    color: #fff;
}

/* Progress bar-lar */
.status-progress-wrap {
    display: flex;
    gap: 4px;
    padding: 10px 8px 6px;
}

.status-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    overflow: hidden;
}

.status-progress-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: inherit;
    transition: width 0.08s linear;
}

/* Şəkil hissəsi */
.status-image-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0 16px;
}

.status-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Toxunma layer-i: tap/hold üçün */
.status-touch-layer {
    position: absolute;
    inset: 0;
    background: transparent;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Close düyməsi */
.status-close-btn {
    position: absolute;
    top: 10px;
    left:12px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* TOP BANNERS STRIP (dəyişmə) */
.theme20-banners-strip {
    display: flex;
    gap: 10px;
    padding: 10px 15px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.theme20-banners-strip::-webkit-scrollbar {
    display: none;
}

.theme20-banner-card {
    flex: 0 0 90px;
    height: 90px;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    transition: transform .2s, box-shadow .2s;
}
.theme20-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}

.theme20-banner-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}
.theme20-banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.theme20-banner-title {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

/* MODAL OVERLAY */
.theme20-banner-modal {
    position: fixed;
    inset: 0;
    padding: 20px; /* hər tərəfdən 20px boşluq */
    background: rgba(0,0,0,0.82);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10060;
    box-sizing: border-box;
}

/* MODAL CARD */
.theme20-banner-modal-inner {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 100%;
    background: #111;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
}

/* CLOSE BUTTON */
.theme20-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: rgba(0,0,0,0.9);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE */
.theme20-banner-modal-image-wrap {
    width: 100%;
    max-height: 230px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}
.theme20-banner-modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.theme20-banner-modal-content {
    padding: 14px 14px 16px;
    color: #fff;
    overflow-y: auto;
}

/* TITLE */
.theme20-banner-modal-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

/* BOX */
.theme20-banner-box {
    background: #181818;
    border-radius: 12px;
    padding: 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.08);
}

.theme20-banner-subtitle {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: #f5f5f5;
}

.theme20-banner-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #cccccc;
    text-align: left;
}

.theme20-banner-price {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
}

/* FILE LINK – BUTTON KİMİ, ALT XƏTSİZ */
.theme20-banner-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 6px;
    padding: 8px 12px;

    border-radius: 8px;
    border: 1px solid rgba(77,163,255,0.5);

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    background: rgba(77,163,255,0.08);
    color: #4da3ff !important;

    text-decoration: none !important;
    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,0.22);
    transition: all 0.2s ease;
}
.theme20-banner-file::before {
    content: "📎";
    font-size: 14px;
    line-height: 1;
}
.theme20-banner-file:hover {
    background: #4da3ff;
    color: #050816 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    transform: translateY(-1px);
}

/* DARK MODE */
body[dark="dark"] .theme20-banner-modal-inner {
    background: #111;
    color: #fff;
}
body[dark="dark"] .theme20-banner-box {
    background: #181818;
    border-color: rgba(255,255,255,0.12);
}
body[dark="dark"] .theme20-banner-desc { color:#ccc; }
body[dark="dark"] .theme20-banner-price { color:#fff; }
body[dark="dark"] .theme20-banner-file {
    background: rgba(77,163,255,0.07);
    border-color: rgba(77,163,255,0.55);
    color: #4da3ff !important;
}

/* LIGHT MODE */
body[dark="light"] .theme20-banner-modal-inner {
    background:#ffffff;
    color:#000;
}
body[dark="light"] .theme20-banner-box {
    background:#f7f7f7;
    border-color:#e3e3e3;
}
body[dark="light"] .theme20-banner-modal-title,
body[dark="light"] .theme20-banner-subtitle,
body[dark="light"] .theme20-banner-desc,
body[dark="light"] .theme20-banner-price {
    color:#000;
}
body[dark="light"] .theme20-banner-file {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,102,204,0.28);
    color: #0066cc !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
body[dark="light"] .theme20-banner-file:hover {
    background: #0066cc;
    color: #ffffff !important;
}

