.akstore-bottom-nav { display: none; }
.akstore-categories { border: 0; padding: 0; color: #222; background: #fff; border-radius: 22px 22px 0 0; width: min(100%, 600px); max-width: 100%; max-height: 75vh; max-height: 75dvh; margin: auto auto 0; box-shadow: 0 -8px 40px #0002; }
.akstore-categories:not([open]) { display: none; }
.akstore-categories::backdrop { background: #0007; }
.akstore-category-heading { position: sticky; top: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #eee; }
.akstore-category-heading h2 { margin: 0; font-size: 20px; }
.akstore-category-close { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f5f5f5; color: #222; font-size: 28px; cursor: pointer; }
.akstore-categories ul { list-style: none; margin: 0; padding: 8px 20px max(20px, env(safe-area-inset-bottom)); }
.akstore-categories li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; min-height: 48px; color: #222; border-bottom: 1px solid #eee; }
.akstore-categories a:focus-visible, .akstore-category-close:focus-visible, .akstore-nav-item:focus-visible { outline: 2px solid #222; outline-offset: -3px; }
html.akstore-category-open { overflow: hidden; }
@media (max-width: 1199px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    .site-header .header-mobile { flex-wrap: nowrap; align-items: center; min-height: 72px; padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
    .site-header .header-items-mobile--left { flex: 1; min-width: 0; }
    .site-header .header-items-mobile--left > * { margin: 0; }
    .site-header .header-items-mobile--center { display: none; }
    .site-header .header-items-mobile--right { flex: 0 0 auto; gap: 8px; }
    .site-header .header-items-mobile--right > * { margin: 0; }
    .header-mobile .site-branding img { max-width: min(180px, 45vw); max-height: 44px; width: auto; object-fit: contain; }
    .header-mobile .header-element > a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
    .akstore-bottom-nav { position: fixed; inset: auto 0 0; z-index: 990; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px env(safe-area-inset-right, 0px) calc(6px + env(safe-area-inset-bottom, 0px)) env(safe-area-inset-left, 0px); background: #fff; border-top: 1px solid #eee; box-shadow: 0 -4px 20px #0000000a; }
    .akstore-nav-item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 60px; color: #686868; font-size: 11px; font-weight: 600; line-height: 1.3; text-decoration: none; -webkit-tap-highlight-color: transparent; }
    .akstore-nav-item svg { box-sizing: content-box; padding: 4px 16px; border-radius: 16px; }
    .akstore-nav-item.is-active, .akstore-nav-item:hover, .akstore-nav-item[aria-expanded="true"] { color: #222; }
    .akstore-nav-item.is-active svg, .akstore-nav-item[aria-expanded="true"] svg { background: var(--fm-background-color-primary, #f5c34b); }
    #scroll-top { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
    .sticky-product-info-wapper { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 1199px) { .site-header .header-mobile .header-element--wishlist { display: block; } }
/* Keep header content comfortably inset on phones and desktops. */
@media (max-width:1199px) {
    .site-header .header-mobile { padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); gap: 12px; }
    .site-header .header-items-mobile--right { gap: 10px; }
}
@media (max-width:359px) {
    .site-header .header-mobile { padding-left: 16px; padding-right: 16px; gap: 8px; }
    .site-header .header-items-mobile--right { gap: 6px; }
}
@media (min-width:1200px) {
    .site-header .header-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 32px; }
}
