.shop-bottom-nav { display: none; }
body.shop-connected .site-header { gap: 18px; }
body.shop-connected .site-header .brand { display: flex; flex: 0 1 auto; min-width: 0; width: auto; min-height: 0; gap: 8px; }
body.shop-connected .site-header .brand-image { width: 180px; height: 58px; object-fit: cover; }
body.shop-connected .site-header :is(.site-domain,.site-slogan) { display: none; }
body.shop-connected .site-header .nav-links { display: flex; width: auto; max-width: none; gap: 10px; flex-wrap: nowrap; align-items: center; }
body.shop-connected .site-header .nav-links > .nav-item { min-width: 104px; flex: 0 1 120px; background: #fff; color: #3e5950; border-color: #dce8e2; }
body.shop-connected .site-header .nav-links > .nav-support { min-width: 136px; }
body.shop-connected .site-header .nav-links > .nav-orders { min-width: 124px; }
body.shop-connected .site-header .nav-links > .nav-item :is(.nav-icon,.nav-copy strong,.nav-copy small) { color: inherit; }
body.shop-connected .site-header .nav-links > .nav-active { background: #0b7568; color: #fff; border-color: #07584f; }
body.shop-connected .site-header .nav-links > .nav-active :is(.nav-icon,.nav-copy small) { color: #fff; }
.shop-more { position: relative; flex-shrink: 0; }
.shop-more > summary { display: flex; align-items: center; white-space: nowrap; list-style: none; cursor: pointer; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 700; }
.shop-more > summary::-webkit-details-marker { display: none; }
.shop-more > summary::after { content: '⌄'; margin-left: 8px; }
.shop-more-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 25; display: grid; gap: 8px; min-width: 220px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px #17202a1a; }
.shop-more-menu .nav-item { width: 100%; min-height: 60px; }
body.shop-connected :is(a,button,summary):focus-visible { outline: 3px solid #87c9bc; outline-offset: 3px; }
@media (min-width: 861px) and (max-width: 1050px) {
  body.shop-connected .site-header { gap: 12px; }
  body.shop-connected .site-header .brand-image { width: 146px; height: 48px; }
  body.shop-connected .site-header .nav-links { gap: 7px; }
  body.shop-connected .site-header .nav-links > .nav-item { min-width: 90px; padding: 9px 8px; }
  body.shop-connected .site-header .nav-links > .nav-support { min-width: 124px; }
  body.shop-connected .site-header .nav-links > .nav-orders { min-width: 110px; }
  body.shop-connected .site-header .nav-copy strong { font-size: 13px; }
  body.shop-connected .shop-more > summary { padding: 12px; }
}
@media (max-width: 860px) {
  body.shop-connected { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.shop-connected .site-header { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 12px 14px; background: #f8fbfa; }
  body.shop-connected .site-header .brand { display: flex; width: fit-content; max-width: 100%; min-height: 0; gap: 0; margin: 0; padding: 0; }
  body.shop-connected .brand-image { width: 146px; height: 44px; object-fit: cover; object-position: center; }
  body.shop-connected .site-header :is(.site-domain,.site-slogan) { display: none; }
  body.shop-connected .site-account { grid-column: 2; grid-row: 1; margin: 0; padding: 0; }
  body.shop-connected .account-menu summary { max-width: 116px; min-height: 42px; padding: 10px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.shop-connected .site-header .nav-links { grid-column: 1/-1; display: flex; justify-content: flex-end; }
  body.shop-connected .site-header .nav-links > a { display: none; }
  body.shop-connected .site-header .nav-links > .nav-support { display: flex; flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: center; min-width: 0; min-height: 40px; width: auto; padding: 8px 12px; gap: 8px; border-radius: 12px; }
  body.shop-connected .site-header .nav-support .nav-copy { display: block; }
  body.shop-connected .site-header .nav-support .nav-copy strong { display: block; font-size: 12px; line-height: 18px; white-space: nowrap; }
  body.shop-connected .site-header .nav-support :is(.nav-copy small,.mobile-nav-label) { display: none; }
  body.shop-connected .site-header .nav-support .nav-icon { width: 16px; height: 16px; flex: 0 0 16px; }

  body.shop-connected .shop-more > summary { min-height: 36px; padding: 7px 12px; font-size: 12px; }
  body.shop-connected .shop-more-menu .nav-item { display: flex; width: 100%; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px; }
  body.shop-connected .shop-more-menu .mobile-nav-label { display: none; }
  body.shop-connected .shop-more-menu .nav-copy { display: grid; text-align: left; }
  body.shop-connected .shop-more-menu .nav-copy small { display: block; }
  body.shop-connected .shop-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: #fffffff5; backdrop-filter: blur(12px); border-top: 1px solid #dce8e2; box-shadow: 0 -4px 20px #17202a06; }
  .shop-bottom-nav a { display: grid; justify-items: center; gap: 2px; min-height: 48px; padding: 4px; border-radius: 12px; color: #63716c; font-size: 12px; font-weight: 650; }
  .shop-bottom-nav a span { font-size: 21px; line-height: 24px; }
  .shop-bottom-nav a.active { background: #e6f3ee; color: #07584f; font-weight: 800; }
  body.shop-connected .sticky-buy-bar { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
