/* ================================================================
   Solook Mobile Menu — clean slide-in drawer
   ================================================================ */

/* Burger (toggle) button in the header — visible on all screen sizes */
.slk-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    margin-left: 8px;
    background: #fff;
    border: 1px solid #e8e0e8;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.slk-menu-toggle:hover {
    background: #f7f2f7;
    border-color: #800080;
}

.slk-menu-toggle__line {
    display: block;
    width: 100%;
    height: 2.5px;
    border-radius: 3px;
    background: #800080;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.slk-menu-open .slk-menu-toggle__line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

body.slk-menu-open .slk-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

body.slk-menu-open .slk-menu-toggle__line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ------------------------------------------------------------------
   Header right/left controls: keep the toggle and phone side by side
   ------------------------------------------------------------------ */
.search_header_menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto !important;
    float: none;
}

.phone-wrapper {
    order: -1;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .search_header_menu {
        gap: 6px;
    }

    .phone-wrapper {
        padding: 6px 10px;
        gap: 6px;
    }

    .phone-number {
        font-size: 12.5px;
    }
}

/* ------------------------------------------------------------------
   Drawer
   ------------------------------------------------------------------ */
.slk-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    width: min(380px, 92vw);
    height: 100%;
    background: #ffffff;
    box-shadow: -14px 0 50px rgba(33, 22, 38, 0.25);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
                visibility 0.4s ease;
    overflow: hidden;
}

body.slk-menu-open .slk-mobile-menu {
    transform: translateX(0);
    visibility: visible;
}

/* Header of the drawer: logo + close */
.slk-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #800080 0%, #5a005a 100%);
}

.slk-mobile-menu__logo img {
    display: block;
    height: 46px;
    width: auto;
    background: #fff;
    padding: 6px 12px;
    border-radius: 10px;
}

.slk-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slk-mobile-menu__close:hover {
    background: #ffffff;
    color: #800080;
    transform: rotate(90deg);
}

/* Nav list */
.slk-mobile-menu__nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.slk-mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slk-mobile-menu__item {
    border-bottom: 1px solid #f2ecf2;
}

.slk-mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, padding-right 0.2s ease;
}

.slk-mobile-menu__link:hover,
.slk-mobile-menu__link:focus-visible {
    background: #f7f2f7;
    color: #800080;
    padding-right: 30px;
}

.slk-mobile-menu__chevron {
    font-size: 14px;
    color: #800080;
    transition: transform 0.3s ease;
}

.slk-mobile-menu__submenu-toggle[aria-expanded="true"] .slk-mobile-menu__chevron {
    transform: rotate(180deg);
}

/* Sub list (accordion) */
.slk-mobile-menu__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.slk-mobile-menu__submenu-toggle[aria-expanded="true"] + .slk-mobile-menu__sublist {
    max-height: 400px;
}

.slk-mobile-menu__sublist li {
    border-top: 1px dashed #efe7ef;
}

.slk-mobile-menu__sublink {
    display: block;
    padding: 12px 38px;
    color: #555;
    font-size: 14.5px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.slk-mobile-menu__sublink:hover {
    background: #fbf8fb;
    color: #800080;
}

/* Footer of the drawer */
.slk-mobile-menu__footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #f2ecf2;
    background: #fdfbfd;
    text-align: center;
}

.slk-mobile-menu__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #800080;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 22px;
    border: 1.5px solid #800080;
    border-radius: 30px;
    transition: background 0.2s ease, color 0.2s ease;
}

.slk-mobile-menu__phone:hover {
    background: #800080;
    color: #fff;
}

.slk-mobile-menu__copyright {
    margin: 12px 0 0;
    color: #aaa;
    font-size: 12.5px;
}

/* Overlay */
.slk-mobile-menu__overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(33, 22, 38, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.slk-menu-open .slk-mobile-menu__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Scroll lock while menu is open */
body.slk-menu-open {
    overflow: hidden;
}