/* Public storefront — separate from admin app.css */

:root {
  --store-navy: #1e3a5f;
  --store-brand-bar: #1e3a5f;
  --store-navy-soft: #2c5282;
  --store-accent: var(--store-navy-soft);
  --store-green: #2f9e44;
  --store-green-dark: #237032;
  --store-bg: #f7fafc;
  --store-surface: #ffffff;
  --store-border: #e2e8f0;
  --store-text: #1a202c;
  --store-muted: #64748b;
  --store-radius: 12px;
  --store-shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
  --store-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --store-product-media-bg: transparent;
  --store-product-media-placeholder-bg: linear-gradient(145deg, #edf2f7 0%, #e2e8f0 100%);
}

html {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.store-body {
  margin: 0;
  font-family: var(--store-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--store-text);
  background: var(--store-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
}

.store-body.store-nav-open {
  overflow: hidden;
}

.store-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.store-container--wide {
  width: min(1280px, calc(100% - 2rem));
}

.store-container--narrow {
  width: min(720px, calc(100% - 2rem));
}

img,
video {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Top bar + header (warehouse-style flow) --- */
.store-topbar {
  background: var(--store-brand-bar);
  color: #cbd5e0;
  font-size: 0.8rem;
}

.store-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}

.store-topbar__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.store-topbar a {
  color: #90cdf4;
  text-decoration: none;
}

.store-topbar a:hover {
  color: #fff;
}

.store-header {
  background: var(--store-surface);
  border-bottom: 1px solid var(--store-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
}

.store-header__top {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 0.65rem 0 0.5rem;
}

.store-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.store-brand__logo {
  height: 52px;
  width: auto;
  display: block;
}

.store-header-search {
  display: flex;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  overflow: hidden;
  background: #f8fafc;
}

.store-header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  min-width: 0;
}

.store-header-search input:focus {
  outline: none;
}

.store-header-search__btn {
  border: none;
  background: var(--store-green);
  color: #fff;
  padding: 0 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.store-header-search__btn:hover {
  background: var(--store-green-dark);
}

.store-header__tools {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.store-header__menu-btn,
.store-header__mobile-nav-shell {
  display: none;
}

.store-header__menu-btn {
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  color: var(--store-navy);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
}

.store-header__menu-icon {
  position: relative;
  display: inline-block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.store-header__menu-icon::before,
.store-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.store-header__menu-icon::before {
  top: -5px;
}

.store-header__menu-icon::after {
  top: 5px;
}

.store-header__menu-btn[aria-expanded="true"] .store-header__menu-icon {
  background: transparent;
}

.store-header__menu-btn[aria-expanded="true"] .store-header__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.store-header__menu-btn[aria-expanded="true"] .store-header__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.store-header__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--store-border);
}

.store-header__mobile-eyebrow {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--store-muted);
}

.store-header__mobile-title {
  color: var(--store-navy);
  font-size: 1.1rem;
}

.store-header__mobile-close {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  background: var(--store-surface);
  color: var(--store-navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.store-header__mobile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 0;
  padding: 1rem;
  overflow-y: auto;
}

.store-header__mobile-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-header__mobile-section-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--store-muted);
}

.store-header__mobile-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.store-header__mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--store-border);
  background: #f8fafc;
  color: var(--store-navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.store-header__mobile-link:hover {
  border-color: var(--store-green);
  color: var(--store-green-dark);
}

.store-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.store-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.store-social-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-social-link__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.store-social-links--topbar .store-social-link {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
}

.store-social-links--topbar .store-social-link:hover {
  color: #fff;
  border-color: rgba(144, 205, 244, 0.55);
  background: rgba(144, 205, 244, 0.16);
}

.store-header__tool {
  color: var(--store-navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.store-header__tool:hover {
  color: var(--store-green-dark);
}

.store-mega-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.5rem;
  padding: 0 0 0.75rem;
  border-top: 1px solid var(--store-border);
  padding-top: 0.65rem;
}

.store-mega-nav--centered {
  justify-content: center;
}

.store-mega-nav--mobile {
  display: none;
}

.store-mega-nav__link {
  color: var(--store-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
}

.store-mega-nav__link:hover {
  color: var(--store-green-dark);
}

.store-mega-nav__dropdown {
  position: relative;
}

.store-mega-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--store-navy);
  cursor: pointer;
  padding: 0.35rem 0;
}

.store-mega-nav__trigger:hover,
.store-mega-nav__dropdown.is-open .store-mega-nav__trigger {
  color: var(--store-green-dark);
}

.store-mega-nav__caret {
  font-size: 0.7rem;
}

.store-mega-nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
  padding: 0.5rem 0;
  z-index: 60;
}

.store-mega-nav__dropdown.is-open .store-mega-nav__panel,
.store-mega-nav__dropdown:hover .store-mega-nav__panel {
  display: block;
}

.store-mega-nav__panel-all {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 700;
  color: var(--store-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--store-border);
  margin-bottom: 0.35rem;
}

.store-mega-nav__panel-all:hover {
  background: #f0fff4;
  color: var(--store-green-dark);
}

.store-mega-nav__grid {
  display: grid;
  gap: 0.15rem;
}

.store-mega-nav__grid a {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--store-text);
  text-decoration: none;
  font-size: 0.9rem;
}

.store-mega-nav__grid a:hover {
  background: #ebf8ff;
  color: var(--store-navy-soft);
}

.store-main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.store-flashes {
  padding-top: 1rem;
}

.store-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--store-radius);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.store-alert--success {
  background: #e6ffed;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

.store-alert--error {
  background: #fff5f5;
  color: #9b2c2c;
  border: 1px solid #feb2b2;
}

.store-hero {
  background: linear-gradient(160deg, #edf2f7 0%, #f7fafc 45%, #e6fffa 100%);
  padding: 3.5rem 0 4rem;
}

.store-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--store-green-dark);
  margin: 0 0 0.75rem;
}

.store-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--store-navy);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.store-hero__lead {
  color: var(--store-muted);
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.store-btn--primary {
  background: var(--store-green);
  color: #fff;
  border-color: var(--store-green);
}

.store-btn--primary:hover {
  background: var(--store-green-dark);
  border-color: var(--store-green-dark);
}

.store-btn--ghost {
  background: transparent;
  color: var(--store-navy);
  border-color: var(--store-border);
}

.store-btn--ghost:hover {
  border-color: var(--store-navy-soft);
  color: var(--store-navy-soft);
}

.store-btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.store-btn--block {
  width: 100%;
}

.store-section {
  padding: 3rem 0;
}

.store-section--muted {
  background: var(--store-surface);
  border-block: 1px solid var(--store-border);
}

.store-section--compact {
  padding-top: 1.5rem;
}

.store-section__title {
  font-size: 1.5rem;
  color: var(--store-navy);
  margin: 0;
}

.store-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.store-link {
  color: var(--store-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.store-link:hover {
  text-decoration: underline;
}

.store-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.store-category-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--store-shadow);
  transition: transform 0.15s, border-color 0.15s;
}

.store-category-card:hover {
  transform: translateY(-2px);
  border-color: var(--store-green);
}

.store-category-card__title {
  margin: 0 0 0.35rem;
  color: var(--store-navy);
  font-size: 1.2rem;
}

.store-category-card__text {
  margin: 0 0 1rem;
  color: var(--store-muted);
  font-size: 0.9rem;
}

.store-category-card__cta {
  color: var(--store-green-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.store-product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--store-product-media-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.store-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  background: transparent;
}

.store-product-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--store-shadow);
  transition: border-color 0.15s, transform 0.15s;
}

.store-product-card:hover {
  border-color: var(--store-green);
  transform: translateY(-2px);
}

.store-product-card__top {
  position: relative;
}

.store-product-card__media-link,
.store-product-card__details-link {
  text-decoration: none;
  color: inherit;
}

.store-product-card__details-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-product-card__quick-cart {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--store-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

.store-product-card__quick-cart.is-active {
  padding: 0.15rem 0.2rem;
}

.store-product-card__quick-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--store-navy);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, color 0.12s;
}

.store-product-card__quick-btn:hover {
  background: #edf2f7;
}

.store-product-card__quick-btn--inc {
  background: var(--store-green);
  color: #fff;
}

.store-product-card__quick-btn--inc:hover {
  background: var(--store-green-dark);
  color: #fff;
}

.store-product-card__quick-qty {
  min-width: 1.35rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--store-navy);
  padding: 0 0.15rem;
  user-select: none;
}

.store-product-card__quick-cart:not(.is-active) .store-product-card__quick-qty {
  display: none;
}

.store-product-card__quick-cart:not(.is-active) .store-product-card__quick-btn--dec {
  display: none;
}

.store-product-card__quick-cart:not(.is-active) .store-product-card__quick-btn--inc {
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
}

.store-product-card__quick-cart.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.store-product-card__media--empty {
  min-height: 6rem;
}

.store-quick-cart-toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1200;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  border-radius: var(--store-radius);
  background: var(--store-navy);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.store-quick-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.store-quick-cart-toast.is-error {
  background: #b42318;
}

.store-product-card__body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
}

.store-product-card__dept {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--store-muted);
}

.store-product-card__name {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--store-navy);
  line-height: 1.3;
}

.store-product-card__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--store-muted);
}

.store-product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--store-border);
  background: #fafbfc;
}

.store-product-card__price {
  font-weight: 700;
  color: var(--store-green-dark);
  font-size: 1.05rem;
}

.store-product-card__price--contact {
  font-size: 0.85rem;
  color: var(--store-navy-soft);
}

.store-product-card__qty {
  font-size: 0.8rem;
  color: var(--store-muted);
}

.store-pagehead {
  padding: 2.5rem 0 0;
}

.store-pagehead__title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: var(--store-navy);
}

.store-pagehead__lead {
  margin: 0;
  color: var(--store-muted);
  font-size: 1.05rem;
}

.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.store-catalog-sort {
  flex: 0 0 auto;
}

.store-catalog-sort__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
}

.store-catalog-sort__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--store-muted);
}

.store-catalog-sort__select {
  min-width: 11.5rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: var(--store-surface);
  color: var(--store-navy);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.store-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  color: var(--store-navy);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.store-pill.is-active,
.store-pill:hover {
  background: var(--store-navy);
  color: #fff;
  border-color: var(--store-navy);
}

.store-search {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}

.store-search input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  font: inherit;
}

.store-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--store-muted);
}

.store-empty__lead {
  max-width: 44rem;
  margin: 0 auto 1rem;
}

.store-empty__request-form {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  text-align: left;
  padding: 1.25rem;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.store-empty__note {
  max-width: 36rem;
  margin: 1rem auto 0;
}

.store-empty__account-note {
  margin: 0 0 0.75rem;
}

.store-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.store-empty .store-btn {
  margin-top: 1rem;
}

.store-breadcrumb {
  font-size: 0.875rem;
  color: var(--store-muted);
  margin-bottom: 1.5rem;
}

.store-breadcrumb a {
  color: var(--store-navy-soft);
  text-decoration: none;
}

.store-breadcrumb a:hover {
  text-decoration: underline;
}

/* Product detail (PDP) */
.store-pdp-section {
  padding-top: 1.5rem;
}

.store-pdp__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.store-pdp__media {
  min-width: 0;
}

.store-pdp__info {
  min-width: 0;
}

.store-pdp__meta {
  font-size: 0.85rem;
  color: var(--store-muted);
  margin: 0 0 0.5rem;
}

.store-pdp__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--store-navy);
  line-height: 1.2;
}

.store-pdp__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--store-border);
}

.store-pdp__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--store-green-dark);
}

.store-pdp__price--contact {
  font-size: 1.25rem;
  color: var(--store-navy-soft);
}

.store-pdp__stock {
  color: var(--store-muted);
  font-size: 0.95rem;
}

/* Low inventory urgency (fewer than 5 on hand) */
.store-stock-urgency {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.store-stock-urgency__ring {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(234, 88, 12, 0.55);
  pointer-events: none;
  animation: store-stock-ring 2.2s ease-out infinite;
}

.store-stock-urgency__text {
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(
    100deg,
    #9a3412 0%,
    #ea580c 35%,
    #f59e0b 65%,
    #c2410c 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: store-stock-shimmer 4s linear infinite;
}

.store-stock-urgency--pdp {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 55%, #fef3c7 100%);
  border: 1px solid #fdba74;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.25);
  animation: store-stock-badge-pulse 2.4s ease-in-out infinite;
  max-width: 100%;
}

.store-stock-urgency--pdp .store-stock-urgency__text {
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
}

.store-stock-urgency--card {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  animation: store-stock-badge-pulse 2.8s ease-in-out infinite;
}

.store-stock-urgency--card .store-stock-urgency__text {
  font-size: 0.72rem;
  line-height: 1.15;
}

.store-stock-urgency--card .store-stock-urgency__ring {
  inset: -3px;
}

@keyframes store-stock-ring {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70%,
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

@keyframes store-stock-badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.28);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(234, 88, 12, 0);
  }
}

@keyframes store-stock-shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 220% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-stock-urgency__ring,
  .store-stock-urgency__text,
  .store-stock-urgency--pdp,
  .store-stock-urgency--card {
    animation: none;
  }

  .store-stock-urgency--pdp {
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.15);
  }

  .store-stock-urgency__text {
    color: #c2410c;
    background: none;
    -webkit-text-fill-color: #c2410c;
  }
}

.store-pdp__actions {
  margin-bottom: 1.5rem;
}

.store-pdp__buy-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-field--inline {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.store-field--inline .store-field__label {
  flex-shrink: 0;
}

.store-pdp__qty-input {
  width: 5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--store-border);
  border-radius: 6px;
  font-size: 1rem;
}

.store-pdp__btn-primary {
  margin-top: 0.25rem;
}

.store-pdp__btn-checkout {
  background: var(--store-navy);
  color: #fff;
  border-color: var(--store-navy);
}

.store-pdp__btn-checkout:hover {
  background: var(--store-navy-soft);
  border-color: var(--store-navy-soft);
}

.store-pdp__cart-link {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.store-pdp__description {
  margin-bottom: 1.5rem;
  padding-top: 0.25rem;
}

.store-pdp__description-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--store-navy);
  margin: 0 0 0.75rem;
}

.store-pdp__description-body {
  margin: 0;
  color: var(--store-text);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.store-pdp__description-body p {
  margin: 0 0 1rem;
}

.store-pdp__description-body p:last-child {
  margin-bottom: 0;
}

.store-pdp__description-body img,
.store-pdp__description-body video,
.store-pdp__description-body iframe,
.store-prose img,
.store-prose video,
.store-prose iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.store-pdp__description-body iframe,
.store-prose iframe {
  min-height: 220px;
  border: 0;
}

.store-desc-link {
  color: var(--store-green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-desc-link:hover {
  color: var(--store-navy);
}

body.store-modal-open {
  overflow: hidden;
}

.store-carousel[data-store-photo-lightbox] .store-carousel__slide img {
  cursor: zoom-in;
}

.store-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.store-photo-lightbox[hidden] {
  display: none;
}

.store-photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.store-photo-lightbox__dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 100%);
  max-height: min(92vh, 900px);
  margin: 0;
  padding: 0;
}

.store-photo-lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  max-height: min(92vh, 900px);
  margin: 0;
}

.store-photo-lightbox__img {
  display: block;
  max-width: min(100%, 1000px);
  max-height: min(82vh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--store-radius);
  background: transparent;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.store-photo-lightbox__caption {
  margin: 0;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.store-photo-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--store-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.store-photo-lightbox__close:hover {
  background: #fff;
}

.store-photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--store-navy);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.store-photo-lightbox__nav:hover {
  background: #fff;
}

.store-photo-lightbox__nav--prev {
  left: -0.25rem;
}

.store-photo-lightbox__nav--next {
  right: -0.25rem;
}

@media (max-width: 640px) {
  .store-photo-lightbox {
    padding: 0.75rem;
  }

  .store-photo-lightbox__nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.4rem;
  }

  .store-photo-lightbox__nav--prev {
    left: 0.15rem;
  }

  .store-photo-lightbox__nav--next {
    right: 0.15rem;
  }

  .store-photo-lightbox__close {
    top: 0.15rem;
    right: 0.15rem;
  }
}

.store-checklist-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.store-checklist-modal[hidden] {
  display: none;
}

.store-checklist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.store-checklist-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 820px);
  display: flex;
  flex-direction: column;
  background: var(--store-surface);
  border-radius: var(--store-radius);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.store-checklist-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--store-border);
  background: #fff;
}

.store-checklist-modal__title {
  margin: 0;
  font-size: 1rem;
  color: var(--store-navy);
}

.store-checklist-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-checklist-modal__external {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--store-green-dark);
  text-decoration: none;
}

.store-checklist-modal__external:hover {
  text-decoration: underline;
}

.store-checklist-modal__close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 6px;
  background: var(--store-surface);
  color: var(--store-navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.store-checklist-modal__close:hover {
  background: var(--store-border);
}

.store-checklist-modal__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  background: #f8fafc;
}

.store-checklist-modal__frame {
  width: 100%;
  flex: 1;
  min-height: min(70vh, 640px);
  border: none;
  background: #fff;
}

.store-checklist-modal__note {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  background: #fff;
  border-top: 1px solid var(--store-border);
}

.store-pdp__inquiry {
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  overflow: hidden;
}

.store-pdp__inquiry-summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--store-navy);
  cursor: pointer;
  list-style: none;
}

.store-pdp__inquiry-summary::-webkit-details-marker {
  display: none;
}

.store-pdp__inquiry[open] .store-pdp__inquiry-summary {
  border-bottom: 1px solid var(--store-border);
}

.store-pdp__inquiry-body {
  padding: 1rem 1rem 1.25rem;
}

.store-pdp__inquiry-email {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

.store-pdp__media-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--store-product-media-placeholder-bg);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  color: var(--store-muted);
  font-size: 0.95rem;
}

.store-pdp-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--store-border);
}

.store-pdp-related .store-section-heading {
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.store-product-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .store-pdp__layout {
    grid-template-columns: 1fr;
  }

  .store-product-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .store-product-grid--related {
    grid-template-columns: 1fr;
  }
}

.store-carousel {
  position: relative;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1rem;
  box-shadow: var(--store-shadow);
}

.store-carousel--pdp {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.store-carousel__stage {
  position: relative;
}

.store-carousel--pdp .store-carousel__viewport {
  aspect-ratio: 1;
  border-radius: var(--store-radius);
  border: 1px solid var(--store-border);
  background: var(--store-product-media-bg);
}

.store-carousel--fade .store-carousel__viewport {
  isolation: isolate;
}

.store-carousel--fade .store-carousel__slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.store-carousel--fade .store-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .store-carousel--fade .store-carousel__slide {
    transition: none;
  }
}

.store-carousel--pdp .store-carousel__slide img {
  padding: 1rem;
}

.store-carousel__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.store-carousel__thumb {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid var(--store-border);
  border-radius: 6px;
  background: var(--store-product-media-bg);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
}

.store-carousel__thumb:hover {
  border-color: var(--store-navy-soft);
}

.store-carousel__thumb.is-active {
  border-color: var(--store-green);
}

.store-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.25rem;
  background: transparent;
}

.store-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--store-product-media-bg);
  aspect-ratio: 4 / 3;
}

.store-carousel__slide {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.store-carousel__slide.is-active {
  display: flex;
}

.store-carousel--fade .store-carousel__slide,
.store-carousel--fade .store-carousel__slide.is-active {
  display: flex;
}

.store-carousel__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 0.75rem;
  background: transparent;
}

.store-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.85);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.store-carousel__btn:hover {
  background: var(--store-navy);
}

.store-carousel__btn--prev {
  left: 0.35rem;
}

.store-carousel__btn--next {
  right: 0.35rem;
}

.store-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.store-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--store-border);
  cursor: pointer;
}

.store-carousel__dot.is-active {
  background: var(--store-green);
  transform: scale(1.15);
}

.store-product-card__photo-count {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(30, 58, 95, 0.82);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.store-inquiry-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1.5rem;
  box-shadow: var(--store-shadow);
  position: sticky;
  top: 5.5rem;
}

.store-inquiry-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--store-navy);
}

.store-inquiry-card__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--store-muted);
}

.store-inquiry-card__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
}

.store-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.store-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.store-field__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--store-navy);
}

.store-field input,
.store-field textarea,
.store-field select {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: #fff;
}

.store-field--autocomplete {
  position: relative;
}

.store-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  z-index: 50;
  background: #fff;
  border: 1px solid var(--store-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-height: 280px;
  overflow: auto;
}

.store-autocomplete__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.store-autocomplete__item {
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.25;
  cursor: pointer;
  color: var(--store-text);
}

.store-autocomplete__item:hover,
.store-autocomplete__item.is-active {
  background: var(--store-surface);
}

.store-field input:focus,
.store-field textarea:focus,
.store-field select:focus {
  outline: 2px solid var(--store-green);
  outline-offset: 1px;
  border-color: var(--store-green);
}

.store-prose {
  color: var(--store-text);
}

.store-steps {
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
}

.store-steps li {
  margin-bottom: 0.75rem;
}

.muted {
  color: var(--store-muted);
}

.store-footer {
  background: var(--store-brand-bar);
  color: #e2e8f0;
  padding: 2rem 0;
  margin-top: auto;
}

.store-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.store-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.store-footer__tag {
  font-size: 0.85rem;
  opacity: 0.85;
}

.store-footer__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.store-footer__links a {
  color: #bee3f8;
  text-decoration: none;
}

.store-footer__links a:hover {
  color: #fff;
}

.store-social-links--footer {
  margin-top: 0.8rem;
}

.store-social-links--mobile .store-social-link {
  color: var(--store-navy);
  border-color: var(--store-border);
  background: #f8fafc;
}

.store-social-links--mobile .store-social-link:hover {
  color: var(--store-green-dark);
  border-color: rgba(47, 158, 68, 0.35);
  background: #fff;
}

.store-social-links--footer .store-social-link {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.75rem;
}

.store-social-links--footer .store-social-link:hover {
  color: #fff;
  border-color: rgba(190, 227, 248, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.store-about-socials {
  margin-top: 1.5rem;
}

.store-about-socials .store-social-link {
  color: var(--store-navy);
  border-color: var(--store-border);
  background: #fff;
}

.store-about-socials .store-social-link:hover {
  color: var(--store-navy);
  border-color: rgba(30, 58, 95, 0.3);
  background: #f8fafc;
}

.store-footer__admin {
  opacity: 0.65;
  font-size: 0.8rem;
}

/* --- Hero banner carousel --- */
.store-hero-banner {
  position: relative;
  background: var(--store-navy);
  min-height: clamp(360px, 45vw, 520px);
  overflow: hidden;
}

.store-hero-banner__viewport {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.store-hero-banner__slide {
  display: none;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.store-hero-banner__slide.is-active {
  display: block;
}

.store-hero-banner__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 58, 95, 0.88) 0%, rgba(30, 58, 95, 0.45) 55%, rgba(30, 58, 95, 0.2) 100%);
}

/* Showcase slide: wide photo + Ken Burns */
.hero-slide--showcase {
  background-color: var(--store-navy);
}

.hero-slide--showcase::after {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  animation: store-hero-ken-burns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-slide--showcase::before {
  background: linear-gradient(
    100deg,
    rgba(30, 58, 95, 0.94) 0%,
    rgba(30, 58, 95, 0.72) 38%,
    rgba(30, 58, 95, 0.35) 62%,
    rgba(30, 58, 95, 0.12) 100%
  );
  z-index: 1;
}

.hero-slide--showcase .store-hero-banner__content {
  z-index: 2;
}

@keyframes store-hero-ken-burns {
  0% {
    transform: scale(1.04) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

@media (max-width: 900px) {
  .hero-slide--showcase::after {
    background-position: 65% center;
  }
}

@media (max-width: 640px) {
  .hero-slide--showcase::after {
    background-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide--showcase::after {
    animation: none !important;
  }
}

.hero-slide--football::after {
  background-position: center 38%;
}

.hero-slide--pokemon::after {
  background-position: center 42%;
}

@media (max-width: 900px) {
  .hero-slide--football::after {
    background-position: 60% center;
  }

  .hero-slide--pokemon::after {
    background-position: center center;
  }
}

.store-hero-banner__content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  max-width: 36rem;
  color: #fff;
}

.store-hero-banner__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ae6b4;
  margin: 0 0 0.75rem;
}

.store-hero-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.store-hero-banner__text {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 42ch;
}

.store-btn--light {
  background: #fff;
  color: var(--store-navy);
  border-color: #fff;
}

.store-btn--light:hover {
  background: #edf2f7;
  border-color: #edf2f7;
}

.store-hero-banner__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.store-hero-banner__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.store-hero-banner__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.store-hero-banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.store-hero-banner__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}

.store-hero-banner__arrow--prev {
  left: 1rem;
}

.store-hero-banner__arrow--next {
  right: 1rem;
}

/* --- Category mosaic --- */
.store-mosaic-section {
  padding: 2.5rem 0;
  background: var(--store-bg);
}

.store-section-heading {
  font-size: 1.35rem;
  color: var(--store-navy);
  margin: 0 0 1.25rem;
}

.store-section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.store-section-heading-row .store-section-heading {
  margin: 0;
}

.store-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 420px;
}

.store-mosaic__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  border-radius: var(--store-radius);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 180px;
}

.store-mosaic__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 58, 95, 0.85) 0%, rgba(30, 58, 95, 0.25) 60%, transparent 100%);
  z-index: 0;
}

.store-mosaic__tile--has-img::before {
  background: linear-gradient(to top, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.35) 50%, transparent 100%);
}

.store-mosaic__tile--baseball {
  background-color: #2c5282;
}
.store-mosaic__tile--basketball {
  background-color: #d69e2e;
}
.store-mosaic__tile--football {
  background-color: #2f855a;
}
.store-mosaic__tile--soccer {
  background-color: #3182ce;
}
.store-mosaic__tile--pokemon {
  background-color: #e53e3e;
}

.store-mosaic__tile--logo-only {
  background-color: var(--store-navy-soft);
  background-image: none !important;
}

.store-mosaic__tile--logo-only::before {
  background: linear-gradient(
    to top,
    rgba(30, 58, 95, 0.82) 0%,
    rgba(30, 58, 95, 0.15) 55%,
    transparent 100%
  );
}

.store-mosaic__tile:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.store-mosaic__tile:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.store-mosaic__tile:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 100%;
}

.store-mosaic__tile:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.store-mosaic__tile:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.store-mosaic__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  z-index: 1;
  width: min(72%, 140px);
  max-height: 42%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.store-mosaic__tile--soccer .store-mosaic__logo {
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.store-mosaic__tile--has-logo .store-mosaic__label {
  margin-top: auto;
}

.store-mosaic__label {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 700;
}

.store-mosaic__cta {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  opacity: 0.9;
}

.store-mosaic__tile:hover {
  transform: scale(1.01);
  box-shadow: var(--store-shadow);
}

/* --- Promo strip --- */
.store-promo-strip {
  background: var(--store-surface);
  border-block: 1px solid var(--store-border);
  padding: 1.5rem 0;
}

.store-promo-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.store-promo-strip__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.store-promo-strip__item strong {
  color: var(--store-navy);
  font-size: 0.95rem;
}

.store-promo-strip__item span {
  color: var(--store-muted);
  font-size: 0.85rem;
}

/* --- Bestsellers horizontal carousel --- */
.store-bestsellers {
  padding: 2.5rem 0 3rem;
  background: var(--store-surface);
}

.store-bestsellers__wrap {
  position: relative;
  overflow: hidden;
}

.store-bestsellers__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.store-bestsellers__item {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
}

.store-bestsellers__item .store-product-card {
  height: 100%;
}

.store-bestsellers__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  background: var(--store-surface);
  color: var(--store-navy);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--store-shadow);
}

.store-bestsellers__nav:hover {
  border-color: var(--store-green);
  color: var(--store-green-dark);
}

.store-bestsellers__nav--prev {
  left: 0.25rem;
}

.store-bestsellers__nav--next {
  right: 0.25rem;
}

.store-pills--wrap {
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.store-pill--sub {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
}

.store-product-grid--catalog {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .store-header__top {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.65rem 1rem;
  }

  .store-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .store-header__tools {
    justify-self: end;
  }

  .store-mega-nav--centered {
    justify-content: center;
  }

  .store-header__tools {
    gap: 0.75rem;
  }

  .store-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .mosaic-tile--tall {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 220px;
  }

  .store-mosaic__tile:nth-child(4),
  .store-mosaic__tile:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .store-promo-strip__grid {
    grid-template-columns: 1fr;
  }

  .store-hero-banner__arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .store-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.55rem 0;
  }

  .store-topbar .store-social-links--topbar {
    display: none;
  }

  .store-header__top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 0.85rem;
    padding: 0.75rem 0;
  }

  .store-brand__logo {
    height: 44px;
  }

  .store-header__tools {
    gap: 0.6rem;
    justify-self: end;
  }

  .store-header__tool {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .store-header__tool--desktop,
  .store-mega-nav--desktop {
    display: none;
  }

  .store-header__menu-btn {
    display: inline-flex;
  }

  .store-header__mobile-nav-shell {
    position: fixed;
    inset: 0;
    z-index: 120;
  }

  .store-header__mobile-nav-shell:not([hidden]) {
    display: block;
  }

  .store-header__mobile-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .store-header__mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(24rem, 88vw);
    max-width: 100%;
    height: 100dvh;
    background: var(--store-surface);
    box-shadow: -12px 0 30px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  .store-header__mobile-nav-shell.is-open .store-header__mobile-backdrop {
    opacity: 1;
  }

  .store-header__mobile-nav-shell.is-open .store-header__mobile-panel {
    transform: translateX(0);
  }

  .store-mega-nav--mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: none;
    margin: 0;
  }

  .store-mega-nav--mobile .store-mega-nav__link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--store-border);
  }

  .store-social-links--mobile {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--store-border);
  }

  .store-section {
    padding: 2.25rem 0;
  }

  .store-pagehead {
    padding-top: 1.75rem;
  }

  .store-pagehead__title {
    font-size: 1.7rem;
  }

  .store-pagehead__lead,
  .store-hero-banner__text,
  .store-checkout__lead {
    font-size: 1rem;
  }

  .store-section__head,
  .store-section-heading-row,
  .store-toolbar,
  .store-account__head,
  .store-checkout-account__signed-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-toolbar,
  .store-section-heading-row {
    margin-bottom: 1.1rem;
  }

  .store-hero-banner {
    min-height: clamp(300px, 115vw, 420px);
  }

  .store-hero-banner__content {
    padding: 2rem 0 3.25rem;
    max-width: 24rem;
  }

  .store-hero-banner__dots {
    bottom: 0.9rem;
  }

  .store-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }

  .store-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .store-catalog-sort,
  .store-search {
    width: 100%;
    max-width: none;
  }

  .store-catalog-sort__select {
    width: 100%;
    min-width: 0;
  }

  .store-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .store-product-card__body {
    padding: 1rem 1rem 0.65rem;
  }

  .store-product-card__name {
    font-size: 1rem;
  }

  .store-product-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .store-product-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
  }

  .store-product-card__quick-btn {
    width: 2rem;
    height: 2rem;
  }

  .store-product-card__quick-cart:not(.is-active) .store-product-card__quick-btn--inc {
    width: 2.2rem;
    height: 2.2rem;
  }

  .store-pdp__pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .store-field--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-pdp__qty-input {
    width: min(9rem, 100%);
  }

  .store-carousel__thumbs,
  .store-account-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .store-carousel__thumb,
  .store-account-nav__link {
    flex: 0 0 auto;
  }

  .store-account-nav__link {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    background: var(--store-surface);
  }

  .store-buy-card,
  .store-checkout-account,
  .store-checkout__summary,
  .store-empty__request-form,
  .store-confirmation__order-id {
    padding: 1rem;
  }

  .store-checkout__grid {
    gap: 1.25rem;
  }

  .store-order-list__item {
    padding: 1rem;
    align-items: flex-start;
  }

  .store-order-list__meta {
    width: 100%;
    justify-content: space-between;
  }

  .store-confirmation__reference {
    font-size: 1.2rem;
    word-break: break-word;
  }

  .store-bestsellers__nav {
    display: none;
  }

  .store-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-footer__links {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 640px) {
  .store-product-grid {
    grid-template-columns: 1fr;
  }

  .store-stock-urgency--pdp .store-stock-urgency__text {
    white-space: normal;
    text-align: center;
  }

  .store-shipping-rates td {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .store-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-tile--tall {
    grid-column: 1;
  }
}

/* --- Cart & checkout --- */
.store-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1.25rem;
  color: var(--store-navy);
}

.store-header__cart {
  position: relative;
}

.store-header__cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--store-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}

.store-buy-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--store-shadow);
}

.store-buy-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.store-buy-card__lead {
  margin: 0 0 1rem;
  color: var(--store-muted);
  font-size: 0.9rem;
}

.store-buy-card__form .store-btn + .store-btn {
  margin-top: 0.5rem;
}

.store-buy-card__note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

.store-cart__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  overflow: hidden;
}

.store-cart__table th,
.store-cart__table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--store-border);
}

.store-cart__table th {
  background: #f8fafc;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--store-muted);
}

.store-cart__product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-cart__product a {
  color: var(--store-navy);
  font-weight: 600;
  text-decoration: none;
}

.store-cart__product a:hover {
  text-decoration: underline;
}

.store-cart__thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.store-cart__qty {
  width: 4rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--store-border);
  border-radius: 6px;
  font: inherit;
}

.store-cart__remove {
  border: none;
  background: none;
  color: #c53030;
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: underline;
}

.store-cart__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.store-cart__subtotal {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.store-empty-lead {
  color: var(--store-muted);
  margin-bottom: 1rem;
}

.store-dev-checkout-banner {
  background: #fff8e6;
  border: 1px solid #e6c200;
  border-radius: var(--store-radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.store-dev-checkout-banner code {
  font-size: 0.82em;
}

.store-btn--dev {
  background: #5c4d00;
  color: #fff;
  border: 1px solid #3d3300;
  margin-bottom: 0.75rem;
}

.store-btn--dev:hover {
  background: #3d3300;
  color: #fff;
}

.store-checkout-payments {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.store-checkout-payments__legend {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0;
}

.store-checkout-payments__options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.store-checkout-payments__option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  cursor: pointer;
}

.store-checkout-payments__option:has(input:checked) {
  border-color: var(--store-accent);
  box-shadow: 0 0 0 1px var(--store-accent);
}

.store-checkout-payments__option input {
  margin-top: 0.2rem;
  accent-color: var(--store-accent);
}

.store-checkout-payments__label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.store-checkout-account {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--store-shadow);
}

.store-checkout-account__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.store-checkout-account__signed-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.store-checkout-account__signed-in p {
  margin: 0;
}

.store-checkout-account__logout {
  margin: 0;
}

.store-checkout-account__guest {
  margin: 0;
  font-size: 0.9rem;
}

.store-account {
  max-width: 28rem;
}

.store-account--wide {
  max-width: 42rem;
}

.store-account--prose {
  max-width: 40rem;
}

.store-account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--store-border);
}

.store-account-nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--store-muted);
  text-decoration: none;
}

.store-account-nav__link:hover,
.store-account-nav__link.is-active {
  color: var(--store-accent);
}

.store-preferences__section {
  border: none;
  margin: 0 0 2rem;
  padding: 0;
}

.store-preferences__legend {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: 0.35rem;
}

.store-preferences__hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.store-preferences__group {
  margin-bottom: 1.25rem;
}

.store-preferences__group-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.store-preferences__choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-preferences__choices--stacked {
  flex-direction: column;
  align-items: stretch;
}

.store-preferences__choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  background: var(--store-surface);
  cursor: pointer;
  font-size: 0.9rem;
}

.store-preferences__choices--stacked .store-preferences__choice {
  border-radius: var(--store-radius);
}

.store-preferences__choice:has(input:checked) {
  border-color: var(--store-accent);
  background: color-mix(in srgb, var(--store-accent) 12%, var(--store-surface));
}

.store-preferences__choice input {
  accent-color: var(--store-accent);
}

.store-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-home-personalized {
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}

.store-home-personalized__banner {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--store-accent) 10%, var(--store-surface));
  border-radius: var(--store-radius);
  border: 1px solid var(--store-border);
}

.store-home-personalized__banner--prompt {
  background: var(--store-surface);
}

.store-home-personalized__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.store-home-personalized__chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.store-home-personalized__chip:hover {
  border-color: var(--store-accent);
  color: var(--store-accent);
}

.store-mosaic__tile--preferred {
  outline: 2px solid var(--store-accent);
  outline-offset: 2px;
}

.store-account__lead {
  color: var(--store-muted);
  margin: -0.25rem 0 1.25rem;
}

.store-account__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-account__form {
  margin-bottom: 1.5rem;
}

.store-account__footer {
  font-size: 0.9rem;
  color: var(--store-muted);
  margin: 0;
}

.store-account__footer a {
  color: var(--store-accent);
}

.store-field__hint {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.store-order-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  overflow: hidden;
}

.store-order-list__item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--store-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  align-items: center;
}

.store-order-list__item:last-child {
  border-bottom: none;
}

.store-order-list__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.store-order-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.store-order-list__status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  white-space: nowrap;
}

.store-order-list__status--open {
  color: #b7791f;
  background: #fffaf0;
  border-color: #f6e05e;
}

.store-order-list__status--contacted {
  color: var(--store-navy-soft);
  background: #ebf8ff;
  border-color: #bee3f8;
}

.store-order-list__status--closed {
  color: var(--store-muted);
  background: #f7fafc;
  border-color: var(--store-border);
}

.store-request-banner {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--store-radius);
  font-size: 0.92rem;
  line-height: 1.45;
}

.store-request-banner--closed {
  background: #f7fafc;
  border: 1px solid var(--store-border);
  color: var(--store-text);
}

.store-order-list__total {
  font-weight: 600;
}

.store-order-list__request {
  width: 100%;
}

.store-order-request {
  margin-top: 0.5rem;
  border-top: 1px solid var(--store-border);
  padding-top: 0.85rem;
}

.store-order-request__summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--store-accent);
  font-weight: 600;
}

.store-order-request__summary::-webkit-details-marker {
  display: none;
}

.store-order-request__summary::before {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.store-order-request[open] .store-order-request__summary::before {
  content: "−";
}

.store-order-request__form {
  margin-top: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: #fff;
}

.store-order-tracking {
  margin: 0 0 1rem;
}

.store-order-ship {
  margin-bottom: 1.5rem;
}

.store-order-ship h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.store-confirmation__order-id {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
}

.store-confirmation__reference {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0.25rem 0 0;
}

.store-confirmation__guest-tip {
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: var(--store-surface);
  border-radius: var(--store-radius);
  border-left: 3px solid var(--store-accent);
}

.store-checkout__grid {
  display: grid;
  grid-template-columns: 1fr min(320px, 100%);
  gap: 2rem;
  align-items: start;
}

.store-checkout__lead {
  color: var(--store-muted);
  margin: -0.5rem 0 1.5rem;
}

.store-checkout__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
}

.store-checkout__summary {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 1.25rem;
  box-shadow: var(--store-shadow);
}

.store-checkout__summary h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.store-checkout__lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.store-checkout__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--store-border);
  font-size: 0.9rem;
}

.store-checkout-line {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.store-checkout-line.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.store-checkout-line__main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.store-checkout-line__name {
  color: var(--store-navy);
  font-weight: 600;
  text-decoration: none;
}

.store-checkout-line__name:hover {
  text-decoration: underline;
}

.store-checkout-line__unit {
  font-size: 0.8rem;
}

.store-checkout-line__aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-checkout-line__total {
  font-weight: 600;
  white-space: nowrap;
}

.store-checkout-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--store-bg);
}

.store-checkout-qty__btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--store-navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.store-checkout-qty__btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.store-checkout-qty__value {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.store-checkout-promo {
  margin: 0 0 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--store-border);
}

.store-checkout-promo__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--store-navy);
}

.store-checkout-promo__row {
  display: flex;
  gap: 0.5rem;
}

.store-checkout-promo__input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  font: inherit;
}

.store-checkout-promo__msg {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
}

.store-checkout__cart-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.store-checkout__total {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.store-checkout__totals {
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.store-checkout__totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
}

.store-checkout__totals-row dt {
  margin: 0;
  font-weight: 500;
  color: var(--store-navy);
}

.store-checkout__totals-row dd {
  margin: 0;
  text-align: right;
}

.store-checkout__totals-row--total {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--store-border);
  font-size: 1.05rem;
}

.store-checkout__totals-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}

.store-checkout__totals--compact {
  margin-bottom: 0.75rem;
}

.store-checkout__rates {
  margin-top: 1rem;
}

.store-checkout__rates-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--store-border);
  border-bottom: 1px solid var(--store-border);
  font-size: 0.9rem;
  color: var(--store-navy);
}

.store-checkout__rates-summary::-webkit-details-marker {
  display: none;
}

.store-checkout__rates[open] .store-checkout__rates-summary {
  border-bottom: none;
}

.store-checkout__rates-body {
  padding-top: 0.35rem;
}

.store-shipping-rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.store-shipping-rates th,
.store-shipping-rates td {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--store-border);
  text-align: left;
  font-weight: 400;
}

.store-shipping-rates td {
  text-align: right;
  white-space: nowrap;
}

.store-checkout__ship-note,
.store-cart__ship-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.store-checkout__note {
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.store-confirmation__lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.store-confirmation__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .store-checkout__grid {
    grid-template-columns: 1fr;
  }

  .store-checkout__row {
    grid-template-columns: 1fr;
  }

  .store-cart__table {
    display: block;
    border: none;
    background: transparent;
  }

  .store-cart__table tbody {
    display: grid;
  }

  .store-cart__table thead {
    display: none;
  }

  .store-cart__table tr {
    display: block;
    padding: 1rem;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: var(--store-shadow);
    background: var(--store-surface);
  }

  .store-cart__table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    border: none;
    padding: 0.35rem 0;
  }

  .store-cart__table td::before {
    content: attr(data-label);
    color: var(--store-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .store-cart__table tbody {
    gap: 0.85rem;
  }

  .store-cart__product {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
  }

  .store-cart__product::before {
    display: none;
  }

  .store-cart__qty {
    width: 5rem;
  }

  .store-cart__actions {
    flex-direction: column;
  }

  .store-cart__actions .store-btn {
    width: 100%;
  }

  .store-shipping-rates th,
  .store-shipping-rates td {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .store-container,
  .store-container--wide,
  .store-container--narrow {
    width: min(100%, calc(100% - 1rem));
  }

  .store-header__mobile-tools {
    grid-template-columns: 1fr;
  }

  .store-product-grid {
    grid-template-columns: 1fr;
  }

  .store-cart__product {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
  }

  .store-footer__links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Account request conversation */
.store-request-chat {
  margin-top: 1.5rem;
}

.store-request-chat h2 {
  margin: 0 0 0.35rem;
}

.store-request-summary {
  margin-bottom: 1.25rem;
}

.request-thread__messages {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: min(480px, 60vh);
  overflow-y: auto;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: var(--store-surface);
}

.request-thread__message {
  display: flex;
  flex-direction: column;
  max-width: 90%;
}

.request-thread__message--customer {
  align-self: flex-end;
}

.request-thread__message--staff {
  align-self: flex-start;
}

.request-thread__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
  color: var(--store-muted);
}

.request-thread__message--customer .request-thread__meta {
  justify-content: flex-end;
}

.request-thread__meta strong {
  color: var(--store-navy);
  font-size: 0.82rem;
}

.request-thread__bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.95rem;
}

.request-thread__message--customer .request-thread__bubble {
  background: var(--store-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.request-thread__message--staff .request-thread__bubble {
  background: #fff;
  border: 1px solid var(--store-border);
  border-bottom-left-radius: 4px;
  color: var(--store-text);
}

.request-thread__closed-note {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
}

.request-thread__compose .store-field {
  margin-bottom: 0.75rem;
}

/* --- Theme toggle (storefront) --- */
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.toggle-switch__track {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  background: rgba(30, 58, 95, 0.08);
  display: inline-flex;
  align-items: center;
  padding: 2px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.toggle-switch__thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--store-surface);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 160ms ease;
}

.toggle-switch input:checked + .toggle-switch__track {
  border-color: rgba(47, 158, 68, 0.55);
  background: rgba(47, 158, 68, 0.22);
}

.toggle-switch input:checked + .toggle-switch__track .toggle-switch__thumb {
  transform: translateX(14px);
}

.toggle-switch input:focus-visible + .toggle-switch__track {
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.28);
}

.toggle-switch__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--store-muted);
  letter-spacing: 0.1px;
}

.store-theme-toggle {
  flex-shrink: 0;
}

.store-header__mobile-theme {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--store-border);
  background: #f8fafc;
}

html[data-store-theme="dark"] {
  --store-bg: #0f172a;
  --store-surface: #1e293b;
  --store-border: #334155;
  --store-text: #e2e8f0;
  --store-muted: #94a3b8;
  --store-navy: #e2e8f0;
  --store-brand-bar: #060d18;
  --store-navy-soft: #90cdf4;
  --store-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --store-product-media-placeholder-bg: linear-gradient(145deg, #1e293b 0%, #243044 100%);
}

html[data-store-theme="dark"] .store-topbar {
  color: #94a3b8;
  border-bottom: 1px solid #1e293b;
}

html[data-store-theme="dark"] .store-footer {
  border-top: 1px solid #1e293b;
}

html[data-store-theme="dark"] .store-footer__brand strong {
  color: #e2e8f0;
}

html[data-store-theme="dark"] .store-pill.is-active {
  background: #1e3a5f;
  border-color: #2c5282;
  color: #e2e8f0;
}

html[data-store-theme="dark"] .store-pill:hover {
  background: #243044;
  border-color: #475569;
  color: #e2e8f0;
}

html[data-store-theme="dark"] .store-pill.is-active:hover {
  background: #234063;
  border-color: #3b6ea5;
}

html[data-store-theme="dark"] .store-header {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html[data-store-theme="dark"] .store-header-search,
html[data-store-theme="dark"] .store-header__mobile-link,
html[data-store-theme="dark"] .store-header__mobile-theme {
  background: #1e293b;
}

html[data-store-theme="dark"] .store-header-search input {
  color: var(--store-text);
}

html[data-store-theme="dark"] .store-header-search input::placeholder {
  color: var(--store-muted);
}

html[data-store-theme="dark"] .store-header__menu-btn,
html[data-store-theme="dark"] .store-header__mobile-close,
html[data-store-theme="dark"] .store-header__mobile-panel {
  background: var(--store-surface);
  color: var(--store-text);
}

html[data-store-theme="dark"] .store-product-card__quick-cart {
  background: rgba(30, 41, 59, 0.96);
}

html[data-store-theme="dark"] .store-product-card__quick-btn:hover {
  background: #334155;
}

html[data-store-theme="dark"] .store-product-card__foot {
  background: #243044;
}

html[data-store-theme="dark"] .store-hero {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 45%, #134e4a 100%);
}

html[data-store-theme="dark"] .store-field input,
html[data-store-theme="dark"] .store-field select,
html[data-store-theme="dark"] .store-field textarea,
html[data-store-theme="dark"] .store-autocomplete,
html[data-store-theme="dark"] .store-checkout-account,
html[data-store-theme="dark"] .store-checkout__summary,
html[data-store-theme="dark"] .store-cart__table th,
html[data-store-theme="dark"] .store-carousel:not(.store-carousel--pdp) {
  background: var(--store-surface);
  color: var(--store-text);
}

html[data-store-theme="dark"] .store-carousel--pdp .store-carousel__viewport,
html[data-store-theme="dark"] .store-carousel__viewport,
html[data-store-theme="dark"] .store-product-card__media {
  background: transparent;
}

html[data-store-theme="dark"] .store-alert--success {
  background: #064e3b;
  border-color: #047857;
  color: #a7f3d0;
}

html[data-store-theme="dark"] .store-alert--error {
  background: #450a0a;
  border-color: #991b1b;
  color: #fecaca;
}

html[data-store-theme="dark"] .store-alert--info {
  background: #1e3a5f;
  border-color: #2c5282;
  color: #bee3f8;
}

html[data-store-theme="dark"] .store-photo-lightbox__dialog,
html[data-store-theme="dark"] .store-checklist-modal__dialog {
  background: var(--store-surface);
  color: var(--store-text);
}

html[data-store-theme="dark"] .request-thread__message--staff .request-thread__bubble {
  background: var(--store-surface);
}

html[data-store-theme="dark"] .store-social-links--mobile .store-social-link,
html[data-store-theme="dark"] .store-about-socials .store-social-link {
  background: var(--store-surface);
}

html[data-store-theme="dark"] .store-social-links--mobile .store-social-link:hover,
html[data-store-theme="dark"] .store-about-socials .store-social-link:hover {
  background: #334155;
}

html[data-store-theme="dark"] .toggle-switch__track {
  background: rgba(148, 163, 184, 0.12);
}

@media (max-width: 760px) {
  .store-theme-toggle .toggle-switch__label {
    display: none;
  }
}
