/** Native dialogs retain their focus boundary until the shared motion completes. */
.aurome-storefront .aurome-cart-drawer[open] { animation: none; }
.aurome-storefront dialog[data-aurome-overlay-state] { will-change: opacity,transform; overscroll-behavior: contain; }
.aurome-storefront dialog[data-aurome-overlay-state="open"] { will-change: auto; }
.aurome-storefront .aurome-mobile-dialog { overflow-y: auto; }
.aurome-storefront #aurome-cart-drawer [data-aurome-cart-status] { display: block; min-height: 1.5em; margin: 14px 0; }
.aurome-storefront .aurome-quick-view { height: min(828px,calc(100dvh - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; }
.aurome-storefront .aurome-quick-loading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 22px; }
.aurome-storefront .aurome-quick-loading__image { aspect-ratio: 1; background: #edf0f1; border-radius: 8px; }
.aurome-storefront .aurome-quick-loading__copy { padding-top: 30px; }
.aurome-storefront .aurome-quick-loading__copy span { display: block; height: 18px; margin-bottom: 22px; background: #edf0f1; border-radius: 5px; }
.aurome-storefront .aurome-quick-loading__copy span:first-child { width: 80%; height: 36px; }
.aurome-storefront .aurome-quick-loading__copy span:last-child { width: 60%; }

.aurome-storefront .aurome-header [data-aurome-menu-open][hidden] { display: none!important; }

/* Closed native details uses the enhanced menu button's place from first paint. */
.aurome-storefront .aurome-mobile-fallback { flex: none; min-width: 44px; margin: 0; padding: 0; }
.aurome-storefront .aurome-mobile-fallback>summary { list-style: none; cursor: pointer; height: 44px; width: 44px; box-sizing: border-box; }
.aurome-storefront .aurome-mobile-fallback>summary::-webkit-details-marker { display: none; }
.aurome-storefront .aurome-mobile-fallback>summary svg { width: 22px; height: 22px; }
.aurome-storefront .aurome-mobile-fallback__panel { position: absolute; z-index: 6; top: 100%; right: 16px; left: 16px; max-height: min(620px,70dvh); overflow: auto; padding: 20px; background: #fff; border: 1px solid #e0e6eb; border-radius: 12px; box-shadow: 0 14px 36px #0f172a20; }
.aurome-storefront .aurome-header .aurome-mobile-fallback .aurome-menu a { color: var(--aurome-ink); display: inline-flex; align-items: center; min-height: 44px; }
.aurome-storefront .aurome-mobile-fallback .sub-menu { display: block; }
.aurome-storefront .aurome-mobile-search input[type="search"] { min-height: 44px; font-size: 16px; }
.aurome-storefront .aurome-header .aurome-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--aurome-ink); }
.aurome-storefront .aurome-header .aurome-submenu-toggle svg { width: 18px; height: 18px; transition: transform 220ms cubic-bezier(.22,1,.36,1); }
.aurome-storefront .aurome-header .aurome-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.aurome-storefront .aurome-header .aurome-submenu-toggle:hover,.aurome-storefront .aurome-header .aurome-submenu-toggle:focus-visible { color: var(--aurome-ink); background: #dfe6ed; }
.aurome-storefront .aurome-mobile-dialog .aurome-submenu-toggle { min-width: 44px; }
.aurome-storefront .aurome-primary-nav .sub-menu { min-width: 220px; padding: 12px; border: 1px solid #e3e8ed; border-radius: 10px; box-shadow: 0 14px 32px #0f172a16; }
.aurome-storefront .aurome-primary-nav .sub-menu a { min-height: 44px; padding: 8px 10px; border-radius: 6px; }
.aurome-storefront .aurome-primary-nav .sub-menu a:hover,.aurome-storefront .aurome-primary-nav .sub-menu a:focus-visible { background: #edf1f5; color: var(--aurome-ink); }
@media (min-width:1024px) {
 html.aurome-navigation-ready .aurome-storefront .aurome-primary-nav .sub-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity 220ms cubic-bezier(.22,1,.36,1),transform 220ms cubic-bezier(.22,1,.36,1),visibility 0s linear 220ms; }
 html.aurome-navigation-ready .aurome-storefront .aurome-primary-nav .aurome-submenu-open>.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
 .aurome-storefront .aurome-primary-nav .sub-menu .sub-menu { top: 0; left: calc(100% - 2px); }
}
@media (max-width:1023px) {
 html:not(.aurome-menu-ready) .aurome-storefront .aurome-mobile-fallback { display: block; }
 .aurome-storefront.home #aurome-header-search-form { display: none!important; }
}
@media (max-width:767px) {
 .aurome-storefront .aurome-quick-view { height: 90dvh; max-height: 90dvh; }
 .aurome-storefront .aurome-quick-loading { grid-template-columns: 1fr; gap: 20px; }
 .aurome-storefront .aurome-quick-loading__image { max-height: 280px; }
 .aurome-storefront .aurome-quick-loading__copy { padding-top: 0; }
}
@media (prefers-reduced-motion:reduce) {
 .aurome-storefront dialog[data-aurome-overlay-state] { will-change: auto; }
 html.aurome-navigation-ready .aurome-storefront .aurome-primary-nav .sub-menu { transition: none; }
 .aurome-storefront .aurome-header .aurome-submenu-toggle svg { transition: none; }
}
@media (max-width:1023px) {
 .aurome-storefront .aurome-header .aurome-menu-trigger { flex: none; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
}
