/* Shared AYK commerce-first navigation. Scoped to prevent inherited dock tiles. */
@media(max-width:1100px){
  body .bottomnav.ayk-mobile-dock,
  body .ayk-store-mobile-dock.ayk-unified-dock{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;
    position:fixed!important;
    left:0!important;right:0!important;bottom:0!important;
    z-index:100!important;
    min-height:68px!important;
    background:#fffefa!important;
    border-top:1px solid #e5e8e1!important;
    box-shadow:0 -2px 16px rgba(18,38,27,.07)!important;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;
    gap:0!important;
    transform:none!important;
  }
  body .bottomnav.ayk-mobile-dock>a,
  body .ayk-store-mobile-dock.ayk-unified-dock>a{
    position:relative!important;
    display:flex!important;flex-direction:column!important;
    justify-content:center!important;align-items:center!important;
    min-width:0!important;min-height:49px!important;
    width:auto!important;height:auto!important;
    margin:0 2px!important;padding:5px 1px!important;
    border:0!important;border-radius:10px!important;
    background:transparent!important;color:#46584b!important;
    box-shadow:none!important;transform:none!important;
    text-decoration:none!important;opacity:1!important;
  }
  body .bottomnav.ayk-mobile-dock>a svg,
  body .ayk-store-mobile-dock.ayk-unified-dock>a svg{
    display:block!important;width:23px!important;height:23px!important;
    stroke:currentColor!important;fill:none!important;opacity:1!important;
  }
  body .bottomnav.ayk-mobile-dock>a small,
  body .ayk-store-mobile-dock.ayk-unified-dock>a small{
    display:block!important;visibility:visible!important;
    font-size:10px!important;line-height:1.2!important;
    margin-top:4px!important;color:inherit!important;
    font-weight:500!important;white-space:nowrap!important;
  }
  body .bottomnav.ayk-mobile-dock>a.ayk-dock-store-featured,
  body .ayk-store-mobile-dock.ayk-unified-dock>a.ayk-dock-store-featured{
    background:#193d2c!important;color:#fff!important;
    border-radius:12px!important;box-shadow:0 3px 9px rgba(18,46,32,.17)!important;
    transform:none!important;
  }
  body .bottomnav.ayk-mobile-dock>a.ayk-dock-store-featured svg,
  body .ayk-store-mobile-dock.ayk-unified-dock>a.ayk-dock-store-featured svg{
    stroke:#fff!important;fill:none!important;
  }
  body .bottomnav.ayk-mobile-dock>a.ayk-dock-store-featured small,
  body .ayk-store-mobile-dock.ayk-unified-dock>a.ayk-dock-store-featured small{
    color:#fff!important;font-weight:750!important;
  }
  body .bottomnav.ayk-mobile-dock>a[aria-current="page"]:not(.ayk-dock-store-featured),
  body .ayk-store-mobile-dock.ayk-unified-dock>a[aria-current="page"]:not(.ayk-dock-store-featured){
    color:#173c29!important;font-weight:700!important;
  }
}
.ayk-unified-store-header .ayk-unified-brand{
  display:inline-flex!important;flex-direction:column;align-items:flex-start;
  gap:0;text-decoration:none;line-height:1;
}
.ayk-unified-store-header .ayk-unified-brand img{display:block;width:115px;height:66px;object-fit:contain;object-position:left center}
.ayk-unified-store-header .ayk-unified-brand small{font-family:Georgia,serif;font-size:9px;letter-spacing:.37em;color:#526054;padding-inline-start:4px}
.ayk-unified-store-header .ayk-cart-hero{flex-shrink:0}
@media(max-width:760px){.ayk-unified-store-header .ayk-unified-brand img{width:100px;height:59px}.ayk-unified-store-header .ayk-unified-brand small{font-size:8px}}

/* Reversible AYK store-first mode. UI-only: never disables endpoints or deletes data. */
body.ayk-store-first .ayk-signature-nav > a[href="/"],
body.ayk-store-first .bottomnav.ayk-mobile-dock > a[data-nav="home"],
body.ayk-store-first .ayk-store-mobile-dock.ayk-unified-dock > a[href="/"],
body.ayk-store-first .store-nav > a[href="/"],
body.ayk-store-first .ayk-header-menu-panel > a[href="/#features"],
body.ayk-store-first a[href="/community"],
body.ayk-store-first a[href="/community#new-post"],
body.ayk-store-first footer > a[href="/"] {
  display: none !important;
}
@media (max-width: 1100px) {
  body.ayk-store-first .bottomnav.ayk-mobile-dock,
  body.ayk-store-first .ayk-store-mobile-dock.ayk-unified-dock {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
body.ayk-store-first .create-dialog .action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
