/* Mobile navigation: expanded category tree, a scrollable menu and a pinned helpline. */
.modern-storefront .store-header:has(.store-mobile-overlay:not([style*="display: none"])) { z-index: 300; }
.modern-storefront:has(.store-mobile-overlay:not([style*="display: none"])) :is(.store-bottom-nav, .next-whatsapp) { visibility: hidden; }
.store-mobile-panel.store-mobile-panel--modern {
    width: min(92vw, 380px);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 0 18px 18px 0;
    box-shadow: 12px 0 38px #17120e1a;
}
/* A quiet brand header; menu and category item rules remain unchanged. */
.store-mobile-panel--modern > .mobile-menu-head {
    flex: 0 0 auto;
    padding: 22px 18px;
    margin: 0;
    border-top: 3px solid var(--store-green, #f28c28);
    border-bottom: 1px solid #eae7e3;
    background: #fcfbf9;
    gap: 8px;
}
.mobile-menu-brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
.mobile-menu-brand img { width: 40px; height: 44px; padding: 3px; object-fit: contain; flex-shrink: 0; border: 1px solid #eee9e2; border-radius: 10px; background: #fff; }
.mobile-menu-brand strong { display: block; font-size: 18px; line-height: 1.35; letter-spacing: -.45px; }
.mobile-menu-brand small { display: none; font-size: 10px; letter-spacing: .6px; color: #89776b; margin-top: 3px; }
.mobile-menu-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #000;
    padding: 7px;
    box-shadow: none;
    cursor: pointer;
}
.mobile-menu-close svg { width: 16px; height: 16px; stroke-width: 2; }
.mobile-menu-close:hover, .mobile-menu-close:focus-visible { background: #f1ece6; color: #000; }
.mobile-menu-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 13px 15px 20px; scrollbar-width: thin; }
.mobile-menu-links > .mobile-menu-link { display: flex; align-items: center; gap: 11px; min-height: 49px; padding: 8px 10px; margin: 3px 0; border: 1px solid transparent; border-radius: 11px; color: #29221d; font-size: 14px; font-weight: 600; text-decoration: none; }
.mobile-menu-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: transparent; color: #171717; flex-shrink: 0; }
.mobile-menu-link > svg, .mobile-category-list a > svg:last-child { margin-left: auto; flex-shrink: 0; color: #9e8a7b; }
.mobile-menu-links > .mobile-menu-link[aria-current="page"] { background: transparent; color: var(--store-green, #f28c28); }
.mobile-menu-links > .mobile-menu-link:hover { background: transparent; color: var(--store-green, #f28c28); }
.mobile-category-area { margin: 10px 0; border: 1px solid #ece4dc; border-radius: 14px; padding: 6px 10px 9px; background: #fdfbf8; }
.mobile-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 3px; border-bottom: 1px solid #ece4dc; color: #29221d; font-size: 14px; font-weight: 700; }
.mobile-category-heading > span { display: flex; align-items: center; gap: 10px; }
.mobile-category-list { list-style: none; margin: 5px 0 0; padding: 0; }
.mobile-category-list li { margin: 0; padding: 0; }
.mobile-category-list a { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 6px 4px; border: 1px solid transparent; border-radius: 8px; color: #29221d; font-size: 13px; line-height: 1.5; font-weight: 600; text-decoration: none; }
.mobile-category-list a:hover { background: transparent; color: var(--store-green, #f28c28); }
.mobile-category-image { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #eee6dd; border-radius: 8px; background: #fff; flex-shrink: 0; color: #171717; overflow: hidden; }
.mobile-category-image img { width: 100%; height: 100%; object-fit: cover; }
.mobile-category-list .mobile-category-list { margin: 0 0 5px 18px; padding-left: 13px; border-left: 1px solid #e7d9c9; }
.mobile-category-list .mobile-category-list a { font-weight: 400; font-size: 13px; min-height: 37px; }
.mobile-category-list .mobile-category-list .mobile-category-image { width: 23px; height: 23px; }
.mobile-menu-settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 15px 0 0; margin-top: 14px; border-top: 1px solid #eee7df; }
.mobile-menu-settings :is(.currency-switcher-mobile, .interface-language-switcher-mobile) { display: grid; gap: 7px; padding: 0; margin: 0; border: 0; font-size: 11px; font-weight: 600; }
.mobile-menu-settings select { width: 100%; max-width: none; min-height: 43px; font-size: 16px; padding: 8px; border: 1px solid #e8dfd6; border-radius: 9px; background: #fff; color: #29221d; }
.mobile-menu-help { flex-shrink: 0; padding: 15px 18px calc(15px + env(safe-area-inset-bottom)); border-top: 1px solid #eae7e3; background: #fcfbf9; }
.mobile-menu-help > a { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #29221d; text-decoration: none; }
.mobile-help-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--store-green, #f28c28); border-radius: 50%; background: transparent; color: var(--store-green, #f28c28); }
.mobile-menu-help small { display: block; font-size: 11px; font-weight: 400; line-height: 1.5; color: #776d64; }
.mobile-menu-help strong { display: block; font-size: 16px; line-height: 1.5; letter-spacing: .1px; }
.mobile-menu-help > a > svg:last-child { display: block; width: 16px; height: 16px; margin-left: auto; color: #82786e; }
.store-mobile-panel--modern :is(a, button, select):focus-visible { outline: none; box-shadow: none; border-color: var(--store-green, #f28c28); }

.mobile-menu-link .mobile-menu-icon,
.mobile-menu-links > .mobile-menu-link > svg,
.mobile-category-heading > svg,
.mobile-category-list a > svg:last-child {
    color: inherit;
}
.mobile-category-heading[aria-current="page"],
.mobile-category-list a[aria-current="page"] {
    color: var(--store-green, #f28c28);
    background: transparent;
}
.mobile-category-list a[aria-current="page"] .mobile-category-image {
    color: inherit;
}


.mobile-menu-brand .mobile-brand-helpline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    color: #776d64;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .1px;
    white-space: nowrap;
    text-decoration: none;
}
.mobile-brand-helpline svg { flex-shrink: 0; color: #d87c24; }
.mobile-menu-brand .mobile-brand-helpline:hover { color: #b86820; }

.mobile-menu-head-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.mobile-menu-head-actions .currency-switcher-mobile {
    padding: 0;
    border: 0;
    gap: 0;
    width: 76px;
    height: 34px;
    display: flex;
    align-items: center;
}
.mobile-menu-head-actions .currency-switcher-mobile > span {
    display: none;
}
.mobile-menu-head-actions .currency-switcher-mobile select {
    width: 90px;
    min-height: 38px;
    flex-shrink: 0;
    transform: scale(.84);
    transform-origin: left center;
    padding: 6px;
    font-size: 16px;
    border-radius: 9px;
}
@media (max-width: 359px) {
    .store-mobile-panel--modern > .mobile-menu-head { padding-left: 12px; padding-right: 12px; gap: 8px; }
    .mobile-menu-brand { gap: 7px; }
    .mobile-menu-brand img { width: 29px; height: 29px; }
    .mobile-menu-brand strong { font-size: 15px; }
    .mobile-menu-head-actions { gap: 6px; }
    .mobile-menu-head-actions .currency-switcher-mobile select { width: 90px; }
}

