/* Mobile catalog drawer — reference-style category list */
@media (max-width: 1200px) {
    .tkb-hdr-menu-wrap {
        --tkb-mobile-menu-line-inset: 20px;
        width: 100vw !important;
        max-width: 100vw !important;
        background: #ffffff !important;
        box-shadow: none !important;
        border-top: 0;
        position: relative;
    }

    .tkb-hdr-menu-wrap::before {
        content: "";
        position: absolute;
        top: 0;
        left: var(--tkb-mobile-menu-line-inset);
        right: var(--tkb-mobile-menu-line-inset);
        height: 1px;
        background: #ececec;
    }

    .tkb-hdr-menu-wrap.is-open .menu-wrapper.tkb-mobile-drawer {
        display: flex !important;
        flex-direction: column;
        flex: 1 1 auto;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        width: 100%;
        background: #ffffff;
        overflow: hidden;
    }

    .tkb-mobile-drawer-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        overscroll-behavior-y: contain;
        padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
        -webkit-overflow-scrolling: touch;
        background: #ffffff;
    }

    .tkb-mobile-catalog-nav {
        width: 100% !important;
    }

    .tkb-mobile-catalog {
        margin: 0;
        padding: 0;
        list-style: none;
        background: #ffffff;
    }

    .tkb-mobile-drawer .menu-item {
        border-bottom: 0;
        background: #ffffff;
        position: relative;
    }

    .tkb-mobile-drawer .menu-item::after {
        content: "";
        position: absolute;
        left: var(--tkb-mobile-menu-line-inset, 20px);
        right: var(--tkb-mobile-menu-line-inset, 20px);
        bottom: 0;
        height: 1px;
        background: #ececec;
    }

    .tkb-mobile-drawer .menu-item:last-child::after {
        display: none;
    }

    .tkb-mobile-drawer .menu-item > a.menu-item-link {
        display: flex !important;
        align-items: center;
        gap: 16px;
        min-height: 72px;
        padding: 12px 20px !important;
        color: var(--site-menu-text, #111827) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0.01em !important;
        text-transform: none !important;
        text-decoration: none !important;
        white-space: normal !important;
        background: #ffffff !important;
    }

    .tkb-mobile-drawer .menu-item > a.menu-item-link:hover,
    .tkb-mobile-drawer .menu-item > a.menu-item-link:focus-visible {
        color: var(--site-menu-text-hover, #111827) !important;
        background: #ffffff !important;
    }

    .tkb-mobile-drawer .menu-item-label {
        flex: 1 1 auto;
        min-width: 0;
        line-height: 1.35;
        text-transform: none;
        display: inline-flex;
        align-items: center;
    }

    .tkb-mobile-drawer .menu-item.has-dropdown .menu-item-label::after {
        content: "+";
        flex: 0 0 auto;
        margin-left: 6px;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0;
        line-height: 1;
    }

    .tkb-mobile-drawer .menu-item-icon,
    .tkb-mobile-drawer .category-item-icon {
        display: block !important;
        width: auto;
        max-width: var(--tkb-mobile-menu-icon-width, 50px);
        height: auto;
        max-height: var(--tkb-mobile-menu-icon-height, 50px);
        object-fit: contain;
        border-radius: 6px;
        flex: 0 0 auto;
        background: transparent !important;
        border: 0 !important;
    }

    .tkb-mobile-drawer .menu-item.has-dropdown > a.menu-item-link {
        padding-right: 20px !important;
    }

    .tkb-mobile-drawer .menu-item.has-dropdown > a.menu-item-link::after {
        display: none !important;
    }

    .tkb-mobile-drawer .menu-item.has-dropdown > .submenu-toggle {
        display: none !important;
    }

    .tkb-mobile-drawer .menu-item.submenu-open > a.menu-item-link {
        background: #ffffff !important;
        color: var(--site-menu-text-hover, var(--site-menu-text, #111827)) !important;
    }

    .tkb-mobile-drawer .menu-item .dropdown-menu {
        display: none !important;
        position: static;
        margin: 0;
        padding: 0 0 8px !important;
        border: 0;
        box-shadow: none;
        background: #ffffff !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .tkb-mobile-drawer .menu-item.submenu-open > .dropdown-menu {
        display: block !important;
    }

    .tkb-mobile-drawer .menu-item .dropdown-item {
        display: block;
        min-height: 44px;
        padding: 10px 20px 10px 36px !important;
        border: 0;
        background: #ffffff !important;
        color: var(--site-menu-text, #374151) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-transform: none;
        text-decoration: none;
        position: relative;
    }

    .tkb-mobile-drawer .menu-item .dropdown-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: var(--tkb-mobile-menu-line-inset, 20px);
        right: var(--tkb-mobile-menu-line-inset, 20px);
        height: 1px;
        background: #f3f3f3;
    }

    .tkb-mobile-drawer .menu-item .dropdown-item.menu-item-link--with-icon,
    .tkb-mobile-drawer .menu-item .dropdown-item.dropdown-parent-link {
        padding-left: 36px !important;
    }

    .tkb-mobile-drawer .menu-item .dropdown-item:hover,
    .tkb-mobile-drawer .menu-item .dropdown-item:focus-visible {
        background: #fafafa !important;
        color: var(--site-menu-text-hover, #111827) !important;
    }

    .tkb-hdr-backdrop.is-open {
        background: rgba(15, 23, 42, 0.35);
    }

    body.mobile-nav-demo2-open .floating-whatsapp-trigger,
    body.mobile-nav-demo2-open .floating-cart-trigger {
        z-index: 2800 !important;
        pointer-events: none !important;
    }

    .tkb-hdr-bar.menu-open .tkb-hdr-mobile-toggle {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .tkb-mobile-drawer .all-categories-wrapper {
        width: 100%;
        border-top: 0;
        position: relative;
    }

    .tkb-mobile-drawer .all-categories-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: var(--tkb-mobile-menu-line-inset, 20px);
        right: var(--tkb-mobile-menu-line-inset, 20px);
        height: 1px;
        background: #ececec;
    }

    .tkb-mobile-drawer .all-categories-btn {
        display: flex !important;
        align-items: center;
        gap: 16px;
        width: 100%;
        min-height: 72px;
        padding: 12px 20px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        color: var(--site-menu-text, #111827) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: left !important;
        cursor: pointer;
        position: relative;
    }

    .tkb-mobile-drawer .all-categories-wrapper.open .all-categories-btn {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .tkb-mobile-drawer .all-categories-btn::before {
        content: "";
        position: absolute;
        left: var(--tkb-mobile-menu-line-inset, 20px);
        right: var(--tkb-mobile-menu-line-inset, 20px);
        bottom: 0;
        height: 1px;
        background: #ececec;
    }

    .tkb-mobile-drawer .all-categories-btn-label {
        flex: 1 1 auto;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em;
        line-height: 1.35;
    }

    .tkb-mobile-drawer .all-categories-btn::after {
        content: "";
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        margin-right: 4px;
        border: 0;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .tkb-mobile-drawer .all-categories-wrapper.open .all-categories-btn::after {
        transform: rotate(-135deg);
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item {
        padding: 0 !important;
        background: #ffffff !important;
        border-bottom: 0;
        position: relative;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item::after {
        content: "";
        position: absolute;
        left: var(--tkb-mobile-menu-line-inset, 20px);
        right: var(--tkb-mobile-menu-line-inset, 20px);
        bottom: 0;
        height: 1px;
        background: #ececec;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item a {
        display: flex !important;
        align-items: center;
        gap: 16px;
        min-height: 72px;
        padding: 12px 20px !important;
        color: var(--site-menu-text, #111827) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        text-transform: none;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item-label {
        flex: 1 1 auto;
        min-width: 0;
        line-height: 1.35;
        display: inline-flex;
        align-items: center;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item.has-mobile-submenu {
        padding-right: 0 !important;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item.has-mobile-submenu .category-item-label::after {
        content: "+";
        flex: 0 0 auto;
        margin-left: 6px;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0;
        line-height: 1;
    }

    .tkb-mobile-drawer .all-categories-dropdown .mobile-category-toggle {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .tkb-mobile-drawer .all-categories-dropdown .mobile-category-toggle::before {
        display: none !important;
        content: none !important;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item a:hover,
    .tkb-mobile-drawer .all-categories-dropdown .category-item a:focus-visible {
        color: var(--site-menu-text-hover, #111827) !important;
        background: #ffffff !important;
    }

    .tkb-mobile-drawer .all-categories-dropdown .category-item-icon {
        border-radius: 6px;
        border: 0 !important;
        background: transparent !important;
    }

    .tkb-mobile-drawer .all-categories-dropdown .mobile-subcategory-link {
        text-transform: none;
        color: var(--site-menu-text, #374151) !important;
        background: #ffffff !important;
        border-top: 0;
        position: relative;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .tkb-mobile-drawer .all-categories-dropdown .mobile-subcategory-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: var(--tkb-mobile-menu-line-inset, 20px);
        right: var(--tkb-mobile-menu-line-inset, 20px);
        height: 1px;
        background: #f3f3f3;
    }

    .tkb-mobile-drawer .all-categories-dropdown .mobile-subcategory-link:hover,
    .tkb-mobile-drawer .all-categories-dropdown .mobile-subcategory-link:focus-visible {
        color: var(--site-menu-text-hover, #111827) !important;
        background: #fafafa !important;
    }
}

@media (max-width: 480px) {
    .tkb-hdr-menu-wrap {
        --tkb-mobile-menu-line-inset: 16px;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .tkb-mobile-drawer .menu-item > a.menu-item-link {
        min-height: 68px;
        padding: 10px 16px !important;
    }
}
