/* SHOP ENGINE — SHARED NAVIGATION CSS
   FILE: /shop/assets/navigation.css
   Used by all Shop Engine websites; colors may be overridden by site CSS.
 */
/* Shop Engine: responsive sticky navigation, 2026-11-03.
   Site CSS loads after this file and may override any of these styles. */
.shop-catalog-v13 .shop-v9-header {
  position: sticky;
  top: 0;
  z-index: 900;
  isolation: isolate;
  width: 100%;
}
.shop-catalog-v13 .shop-v9-header .shop-v9-top {
  position: relative;
}
.shop-catalog-v13 .shop-nav-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  color: #183256;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.shop-catalog-v13 .shop-nav-toggle-lines {
  display: flex;
  width: 19px;
  flex-direction: column;
  gap: 4px;
}
.shop-catalog-v13 .shop-nav-toggle-lines span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
}
.shop-catalog-v13 .shop-nav-toggle:focus-visible,
.shop-catalog-v13 .shop-back-to-top:focus-visible,
.shop-catalog-v13 .shop-v9-categories a:focus-visible {
  outline: 3px solid #6495ed;
  outline-offset: 2px;
}
/* Keep existing full navigation at the top on desktop; collapse only on scroll. */
.shop-catalog-v13 .shop-v9-header.is-compact .shop-v9-top {
  height: 58px;
}
.shop-catalog-v13 .shop-v9-header.is-compact .shop-v9-logo {
  font-size: clamp(15px, 1.8vw, 20px);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-catalog-v13 .shop-v9-header.is-compact .shop-v11-top-actions {
  display: none;
}
.shop-catalog-v13 .shop-v9-header.is-compact .shop-nav-toggle {
  display: inline-flex;
  margin-left: auto;
}
.shop-catalog-v13 .shop-v9-header.is-compact .shop-v11-nav-area {
  display: none;
}
.shop-catalog-v13 .shop-v9-header.is-compact.is-menu-open .shop-v11-nav-area {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-height: min(72vh, 560px);
  max-height: min(72dvh, 560px);
  overflow-y: auto;
  background: #fff;
  border-top: 1px solid #e3e9f4;
  box-shadow: 0 14px 26px #12264b24;
  padding: 14px max(20px, calc((100vw - 1280px) / 2));
  gap: 12px;
}
.shop-catalog-v13 .shop-v9-header.is-menu-open .shop-v9-categories {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  width: 100%;
}
.shop-catalog-v13 .shop-v9-header.is-menu-open .shop-v9-search {
  flex: none;
  width: 100%;
  max-width: 620px;
}
.shop-catalog-v13 .shop-v9-logo {
  min-width: 0;
  overflow-wrap: anywhere;
}
.shop-catalog-v13 .shop-back-to-top[hidden] {
  display: none !important;
}
.shop-catalog-v13 .shop-back-to-top {
  font-size: 27px;
  font-weight: 700;
  background: #fff;
  color: var(--shop-primary, #315bd9);
  border: 1px solid #d9e2ef;
}
/* Prevent image elements from forcing horizontal overflow. */
.shop-catalog-v13 .shop-v9-banners,
.shop-catalog-v13 .shop-v11-slider,
.shop-catalog-v13 .shop-v11-square,
.shop-catalog-v13 .shop-v9-grid {
  min-width: 0;
}
.shop-catalog-v13 .shop-v11-slide-copy {
  max-width: min(100%, 640px);
}
.shop-catalog-v13 .shop-v11-slide-copy h1,
.shop-catalog-v13 .shop-v11-slide-copy h2 {
  overflow-wrap: anywhere;
}
.shop-catalog-v13 .shop-v11-slider,
.shop-catalog-v13 .shop-v11-square {
  background-repeat: no-repeat;
}
@media (max-width: 800px) {
  .shop-catalog-v13 .shop-v9-header .shop-v9-top,
  .shop-catalog-v13 .shop-v9-header.is-compact .shop-v9-top {
    height: 60px;
    gap: 10px;
  }
  .shop-catalog-v13 .shop-v9-header .shop-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .shop-catalog-v13 .shop-v9-header .shop-v11-nav-area {
    display: none;
  }
  .shop-catalog-v13 .shop-v9-header.is-menu-open .shop-v11-nav-area,
  .shop-catalog-v13 .shop-v9-header.is-compact.is-menu-open .shop-v11-nav-area {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(76vh, 620px);
    max-height: min(76dvh, 620px);
    overflow-y: auto;
    padding: 13px 16px 18px;
    gap: 12px;
    background: #fff;
    box-shadow: 0 14px 26px #12264b24;
    border-top: 1px solid #e3e9f4;
  }
  .shop-catalog-v13 .shop-v9-header .shop-v11-top-actions {
    display: none;
  }
  .shop-catalog-v13 .shop-v9-header.is-menu-open .shop-v9-categories {
    width: 100%;
    flex: none;
    gap: 8px;
  }
  .shop-catalog-v13 .shop-v9-header.is-menu-open .shop-v9-search {
    width: 100%;
    max-width: none;
  }
  .shop-catalog-v13 .shop-v9-logo,
  .shop-catalog-v13 .shop-v9-header.is-compact .shop-v9-logo {
    font-size: clamp(14px, 3.8vw, 19px);
    line-height: 1.25;
  }
  .shop-catalog-v13 .shop-v9-banners {
    grid-template-columns: 1fr;
  }
  .shop-catalog-v13 .shop-v11-slider {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .shop-catalog-v13 .shop-v11-square {
    width: 100%;
    max-height: none;
    aspect-ratio: 1;
  }
}
@media (max-width: 520px) {
  .shop-catalog-v13 .shop-v9-header .shop-v9-top,
  .shop-catalog-v13 .shop-v9-header.is-compact .shop-v9-top {
    height: 58px;
  }
  .shop-catalog-v13 .shop-nav-toggle {
    padding: 6px 10px;
  }
  .shop-catalog-v13 .shop-nav-toggle-label {
    display: none;
  }
  .shop-catalog-v13 .shop-v11-slider {
    aspect-ratio: 4 / 3;
    min-height: 230px;
  }
  .shop-catalog-v13 .shop-v11-slide-copy {
    padding: 20px 7%;
  }
  .shop-catalog-v13 .shop-v11-slide-copy h1,
  .shop-catalog-v13 .shop-v11-slide-copy h2 {
    font-size: clamp(20px, 5.8vw, 28px);
    line-height: 1.25;
    margin: 8px 0;
  }
  .shop-catalog-v13 .shop-v11-slide-copy p {
    margin: 4px 0;
    font-size: 12px;
  }
  .shop-catalog-v13 .shop-v11-slide-controls {
    bottom: 12px;
  }
  .shop-catalog-v13 .shop-v9-float {
    bottom: max(14px, env(safe-area-inset-bottom));
    right: 12px;
  }
  .shop-catalog-v13 .shop-v9-contact-panel {
    max-height: 70vh;
    overflow-y: auto;
  }
}
@media (max-width: 380px) {
  .shop-catalog-v13 .shop-v11-slider {
    min-height: 225px;
  }
  .shop-catalog-v13 .shop-v11-slide-copy p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-catalog-v13 .shop-v11-slide,
  .shop-catalog-v13 .shop-v9-card {
    transition: none;
  }
}

/* Shared cart action: match header text links, but open the existing popup. */
.shop-catalog-v13 .shop-v11-top-actions .shop-header-cart{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  padding:0;margin:0;border:0;background:transparent;
  color:inherit;font:inherit;line-height:inherit;cursor:pointer;
  white-space:nowrap;
}
.shop-catalog-v13 .shop-v11-top-actions .shop-header-cart:hover{text-decoration:underline}
.shop-catalog-v13 .shop-v11-top-actions .shop-header-cart [data-cart-count]{font-weight:800}
