.ridan-mobile-header { position: sticky; top: 0; z-index: 390; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 15px; min-height: 60px; padding: 4px 15px; border-bottom: 1px solid #eee; background: #fff; }
.ridan-mobile-header-button { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; color: #333; background: transparent; box-shadow: none; }
.ridan-mobile-header-button > i { font-size: 22px; line-height: 1; }
.ridan-mobile-cart .ridan-mobile-header-button > i { font-size: 25px; }
.ridan-mobile-header-button:hover { color: #28348a; background: transparent; }
.ridan-mobile-header-button[data-mobile-menu-open] { color: #888; }
.ridan-mobile-logo { display: block; justify-self: center; width: 105px; max-width: 100%; }
.ridan-mobile-logo img { display: block; width: 100%; height: auto; }
.ridan-mobile-cart-count { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; color: #fff; background: #28348a; font-size: 11px; line-height: 1; }
.ridan-mobile-menu { position: fixed; inset: 0 auto 0 0; width: 320px; max-width: calc(100% - 48px); height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; color: #333; background: #fff; box-shadow: 5px 0 25px rgb(0 0 0 / .15); transform: translateX(-100%); transition: transform .32s cubic-bezier(.22, .61, .36, 1); }
.ridan-mobile-menu[open] { display: flex; flex-direction: column; }
.ridan-mobile-menu.is-visible { transform: translateX(0); }
.ridan-mobile-menu::backdrop { background: rgb(0 0 0 / .65); opacity: 0; transition: opacity .32s ease; }
.ridan-mobile-menu.is-visible::backdrop { opacity: 1; }
body.ridan-mobile-menu-open { overflow: hidden; }
.ridan-mobile-menu [hidden] { display: none !important; }
.ridan-mobile-search-row { position: relative; z-index: 2; display: flex; flex: 0 0 auto; align-items: center; min-height: 70px; padding: 10px 12px 10px 20px; background: #fff; box-shadow: 0 3px 8px rgb(0 0 0 / .08); }
.ridan-mobile-search { position: static; flex: 1; min-width: 0; }
.ridan-mobile-search form { display: flex; align-items: center; width: 100%; margin: 0; }
.ridan-mobile-search input[type="search"] { width: 0; min-width: 0; flex: 1; height: 48px; padding: 0 5px 0 0; border: 0; border-radius: 0; outline-offset: 2px; color: #333; background: #fff; font-family: inherit; font-size: 15px; font-weight: 600; }
.ridan-mobile-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ridan-mobile-search-submit, .ridan-mobile-menu-close, .ridan-mobile-search .wd-clear-search { position: static; display: flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; color: #888; background: transparent; box-shadow: none; cursor: pointer; }
.ridan-mobile-search-submit { font-size: 22px; }
.ridan-mobile-menu-close { font-size: 24px; font-weight: 300; text-transform: none; }
.ridan-mobile-search .wd-clear-search { flex-basis: 24px; width: 24px; font-size: 22px; }
.ridan-mobile-search .wd-clear-search::before { content: none; }
.ridan-mobile-search .wd-search-results-wrapper { position: absolute; inset: 100% 0 auto; }
.ridan-mobile-search .wd-dropdown-results { position: relative; inset: auto; width: 100%; border-radius: 0; background: #fff; box-shadow: 0 6px 12px rgb(0 0 0 / .12); opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.ridan-mobile-search .wd-dropdown-results .wd-scroll-content { max-height: min(60dvh, 500px); overflow-y: auto; }
.ridan-mobile-search .wd-suggestions-group { grid-template-columns: minmax(0, 1fr); }
.ridan-mobile-menu-tabs { display: flex; flex: 0 0 auto; background: #f5f5f5; }
.ridan-mobile-menu-tabs > button { flex: 1; min-width: 0; min-height: 54px; margin: 0; padding: 15px 8px; border: 0; border-bottom: 2px solid #e5e5e5; border-radius: 0; color: #999; background: transparent; box-shadow: none; font-family: inherit; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.ridan-mobile-menu-tabs > button[aria-selected="true"] { border-bottom-color: #28348a; color: #333; background: #ededed; }
.ridan-mobile-menu-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.ridan-mobile-menu-list, .ridan-mobile-submenu { margin: 0; padding: 0; list-style: none; }
.ridan-mobile-menu-list > li, .ridan-mobile-submenu > li { margin: 0; border-bottom: 1px solid #e5e5e5; }
.ridan-mobile-menu-list a { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 16px 20px; color: #333; font-size: 14px; font-weight: 600; line-height: 1.45; text-decoration: none; text-transform: uppercase; overflow-wrap: anywhere; }
.ridan-mobile-menu-list a:hover, .ridan-mobile-menu-list a[aria-current="page"] { color: #28348a; }
.ridan-mobile-menu-list a > i { width: 18px; flex: 0 0 18px; font-size: 17px; text-align: center; }
.ridan-mobile-menu-count { min-width: 18px; margin-left: auto; padding-left: 4px; color: #888; font-size: 12px; text-align: right; }
.ridan-mobile-menu-count:empty { display: none; }
.ridan-mobile-menu-parent { display: flex; }
.ridan-mobile-menu-parent > a { flex: 1; min-width: 0; }
.ridan-mobile-menu-parent > button { display: flex; flex: 0 0 52px; align-items: center; justify-content: center; min-height: 52px; padding: 0; border: 0; border-left: 1px solid #e5e5e5; border-radius: 0; color: #777; background: #fff; box-shadow: none; font-size: 14px; }
.ridan-mobile-menu-parent > button[aria-expanded="true"] { color: #fff; background: #28348a; }
.ridan-mobile-menu-parent > button i { transition: transform .2s ease; }
.ridan-mobile-menu-parent > button[aria-expanded="true"] i { transform: rotate(180deg); }
.ridan-mobile-submenu { border-top: 1px solid #e5e5e5; }
.ridan-mobile-submenu > li:last-child { border-bottom: 0; }
.ridan-mobile-submenu a { color: #888; font-size: 15px; font-weight: 400; text-transform: none; }
.ridan-mobile-menu button:focus-visible, .ridan-mobile-menu a:focus-visible, .ridan-mobile-header-button:focus-visible { outline: 2px solid #28348a; outline-offset: -3px; }
.ridan-mobile-toolbar { position: fixed; inset: auto 0 0; z-index: 400; display: flex; align-items: stretch; min-height: calc(var(--ridan-toolbar-height) + env(safe-area-inset-bottom, 0px)); padding: 0 max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left)); border-top: 1px solid #eee; background: #fff; box-shadow: 0 -2px 12px rgb(0 0 0 / .05); }
.ridan-mobile-toolbar > a, .ridan-mobile-toolbar > button { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: var(--ridan-toolbar-height); margin: 0; padding: 4px 2px; border: 0; border-radius: 0; color: #333; background: transparent; box-shadow: none; font-family: inherit; line-height: 1.2; text-decoration: none; text-transform: none; }
.ridan-mobile-toolbar > :is(a, button):is(:hover, [aria-current="page"], [aria-expanded="true"]) { color: #28348a; background: transparent; }
.ridan-mobile-toolbar > :is(a, button):focus-visible { outline: 2px solid #28348a; outline-offset: -3px; }
.ridan-mobile-toolbar-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 25px; }
.ridan-mobile-toolbar-icon > i { font-size: 23px; line-height: 1; }
.ridan-mobile-toolbar-icon .ridan-mobile-cart-count { top: -4px; right: -7px; min-width: 16px; height: 16px; font-size: 10px; }
.ridan-mobile-toolbar-label { display: block; width: 100%; overflow: hidden; font-size: 11px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .ridan-mobile-menu, .ridan-mobile-menu::backdrop, .ridan-mobile-menu-parent > button i { transition: none; }
}
