/* Spectrum US Store — UniFi-style layout, Spectrum brand */
:root,
html[data-shop-theme="light"] {
  --shop-navy: #0c4a6e;
  --shop-navy-hover: #075985;
  --shop-ink: #0b1220;
  --shop-muted: #6b7280;
  --shop-line: #e8eaed;
  --shop-bg: #ffffff;
  --shop-card: #f6f7f8;
  --shop-gold: #c9a227;
  --shop-header-h: 3.5rem;
  --shop-rail-h: 8.85rem;
  --shop-gutter: 1.25rem;
  --shop-max: 80rem;
  --shop-surface: #ffffff;
  --shop-hover: #f3f4f6;
  --shop-hover-strong: #e5e7eb;
  --shop-text: #111111;
  --shop-text-2: #4b5563;
  --shop-chip-bg: #ffffff;
  --shop-chip-line: #e5e7eb;
  --shop-chip-text: #374151;
  --shop-pill-on-bg: #111111;
  --shop-pill-on-text: #ffffff;
  --shop-btn-off-bg: #d1d5db;
  --shop-btn-off-text: #6b7280;
  --shop-ghost: #111111;
  --shop-ghost-hover: #000000;
  --shop-note-bg: #f8fafc;
  --shop-card-hover: #f1f2f4;
  --shop-media: #f6f7f8;
  --shop-on-navy: #ffffff;
  --shop-ed-bg: #111111;
  --shop-close-hover-bg: #eef2ff;
  --shop-close-hover: #2f6bff;
  --shop-search-dim: rgba(15, 23, 42, .28);
  --shop-hit-line: #f3f4f6;
  --shop-legal: #9ca3af;
  --shop-h-em: #9ca3af;
  --shop-seg-bg: #eef0f3;
  --shop-seg-on: #ffffff;
  --shop-pop-bg: #ffffff;
  --shop-pop-shadow: 0 12px 40px rgba(15, 23, 42, .16);
  --shop-input-bg: #ffffff;
  --shop-select-bg: #ffffff;
}
html[data-shop-theme="dark"] {
  color-scheme: dark;
  --shop-navy: #0369a1;
  --shop-navy-hover: #0284c7;
  --shop-ink: #f3f4f6;
  --shop-muted: #9ca3af;
  --shop-line: #2a3340;
  --shop-bg: #0b0f14;
  --shop-card: #151b24;
  --shop-gold: #d4af37;
  --shop-surface: #0b0f14;
  --shop-hover: #1c2430;
  --shop-hover-strong: #243042;
  --shop-text: #f5f6f8;
  --shop-text-2: #cbd5e1;
  --shop-chip-bg: #1c2430;
  --shop-chip-line: #334155;
  --shop-chip-text: #e5e7eb;
  --shop-pill-on-bg: #f5f6f8;
  --shop-pill-on-text: #0b0f14;
  --shop-btn-off-bg: #374151;
  --shop-btn-off-text: #9ca3af;
  --shop-ghost: #e5e7eb;
  --shop-ghost-hover: #ffffff;
  --shop-note-bg: #151b24;
  --shop-card-hover: #1c2430;
  --shop-media: #151b24;
  --shop-on-navy: #ffffff;
  --shop-ed-bg: #111111;
  --shop-close-hover-bg: #1e293b;
  --shop-close-hover: #7dd3fc;
  --shop-search-dim: rgba(0, 0, 0, .55);
  --shop-hit-line: #1f2937;
  --shop-legal: #6b7280;
  --shop-h-em: #6b7280;
  --shop-seg-bg: #0b0f14;
  --shop-seg-on: #243042;
  --shop-pop-bg: #1a222d;
  --shop-pop-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  --shop-input-bg: #151b24;
  --shop-select-bg: #151b24;
}
@media (min-width: 768px) {
  :root { --shop-gutter: 2rem; }
}
@media (min-width: 1280px) {
  :root { --shop-gutter: 2.5rem; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  scroll-behavior: smooth;
  background: var(--shop-bg);
  color-scheme: light;
}
html[data-shop-theme="dark"] { color-scheme: dark; }
body.shop-body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--shop-bg);
  color: var(--shop-ink);
  min-height: 100vh;
  padding-top: calc(var(--shop-header-h) + var(--shop-rail-h));
}
body.shop-body.shop-collection-mode {
  padding-top: calc(var(--shop-header-h) + 3.15rem);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
.shop-wrap {
  width: 100%;
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 0 var(--shop-gutter);
}

/* Header */
.shop-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--shop-header-h);
  background: var(--shop-bg);
}
.shop-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.shop-wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.shop-wordmark img {
  display: block;
  width: auto;
  height: 1.85rem;
}
.shop-wordmark .shop-logo-dark { display: none; }
html[data-shop-theme="dark"] .shop-wordmark .shop-logo-light { display: none; }
html[data-shop-theme="dark"] .shop-wordmark .shop-logo-dark { display: block; }
.shop-footer .shop-wordmark img {
  height: 2.4rem;
  margin-bottom: 0.75rem;
}
.shop-us {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--shop-muted);
  white-space: nowrap;
}
.shop-integrator {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--shop-hover);
  color: var(--shop-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.shop-integrator:hover { background: var(--shop-hover-strong); }
.shop-header-spacer { flex: 1; }
.shop-header-icons {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.shop-icon-btn {
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  background: transparent;
  color: var(--shop-text);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.shop-icon-btn:hover { background: var(--shop-hover); }
.shop-icon-btn[aria-expanded="true"] { background: var(--shop-hover); }
.shop-icon-btn svg { width: 1.2rem; height: 1.2rem; }
.shop-cart-count {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: var(--shop-navy);
  color: var(--shop-on-navy);
  font-size: 0.62rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.shop-cart-count.is-on { display: flex; }

.shop-settings { position: relative; }
.shop-settings-pop {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  width: 16.75rem;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 0.9rem;
  background: var(--shop-pop-bg);
  box-shadow: var(--shop-pop-shadow);
  border: 1px solid var(--shop-line);
  z-index: 70;
}
.shop-settings-label {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--shop-muted);
  margin: 0 0 0.45rem;
}
.shop-theme-seg {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.18rem;
  background: var(--shop-seg-bg);
  border-radius: 0.55rem;
  padding: 0.18rem;
  margin: 0 0 0.95rem;
}
.shop-theme-seg button {
  border: 0;
  background: transparent;
  color: var(--shop-text-2);
  font-size: 0.72rem;
  font-weight: 650;
  height: 1.85rem;
  border-radius: 0.42rem;
  cursor: pointer;
}
.shop-theme-seg button.is-on {
  background: var(--shop-seg-on);
  color: var(--shop-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.shop-settings-pop select {
  width: 100%;
  height: 2.2rem;
  border: 1px solid var(--shop-line);
  border-radius: 0.5rem;
  background: var(--shop-select-bg);
  color: var(--shop-text);
  padding: 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Category rail */
.shop-rail {
  position: fixed;
  top: var(--shop-header-h);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--shop-bg);
  height: var(--shop-rail-h);
}
.shop-rail-row {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-rail-row::-webkit-scrollbar { display: none; }
.shop-rail-item {
  flex: 0 0 auto;
  min-width: 6.4rem;
  padding: 0.45rem 0.65rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  text-decoration: none;
  color: var(--shop-text);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 0.85rem;
  margin: 0.35rem 0;
}
.shop-rail-item:hover,
.shop-rail-item.is-on {
  background: var(--shop-hover);
}
.shop-rail-item span {
  white-space: nowrap;
}
.shop-rail-icon {
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 0.95rem;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  max-width: none;
  display: block;
}
.shop-rail-icon svg { width: 100%; height: 100%; }
.shop-rail-icon-dark { display: none; }
html[data-shop-theme="dark"] .shop-rail-icon-light { display: none; }
html[data-shop-theme="dark"] .shop-rail-icon-dark { display: block; }

/* Collection text links (replaces rail) */
.shop-subnav {
  position: fixed;
  top: var(--shop-header-h);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--shop-bg);
  display: none;
  height: 3.15rem;
}
body.shop-collection-mode .shop-rail { display: none; }
body.shop-collection-mode .shop-subnav { display: block; }
.shop-subnav-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-subnav-row::-webkit-scrollbar { display: none; }
.shop-subnav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--shop-text-2);
  white-space: nowrap;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.shop-subnav a.is-on {
  color: var(--shop-text);
  font-weight: 650;
  border-bottom-color: var(--shop-text);
}

/* Home */
.shop-section { padding: 2.25rem 0 0.5rem; }
.shop-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.shop-h {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.shop-h em {
  font-style: normal;
  font-weight: 500;
  color: var(--shop-h-em);
}
.shop-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shop-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Editorial what's new */
.shop-editorial {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.shop-ed-card {
  flex: 0 0 16.5rem;
  width: 16.5rem;
  height: 24rem;
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  background: var(--shop-ed-bg);
  scroll-snap-align: start;
}
.shop-ed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-ed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.08) 42%, rgba(0,0,0,.35) 100%);
}
.shop-ed-copy {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  top: 1rem;
}
.shop-new {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shop-gold);
  margin-bottom: 0.35rem;
}
.shop-ed-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.shop-ed-copy p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255,255,255,.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Horizontal arrived */
.shop-hscroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}
.shop-hscroll .shop-card { flex: 0 0 16.5rem; }

/* Grids */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}

.shop-card {
  background: var(--shop-card);
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.shop-card:hover {
  background: var(--shop-card-hover);
}
.shop-card-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 0;
  pointer-events: auto;
}
.shop-card-cta {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  flex: 0 0 auto;
  margin-top: 0.35rem;
}
.shop-card-media {
  position: relative;
  aspect-ratio: 1;
  background: transparent;
  border-radius: 0;
  margin-bottom: 0.9rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card-media img,
.shop-pdp-photo img,
.shop-thumbs img,
.shop-cart-line img,
.shop-search-hits img,
.shop-ed-card img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.shop-card-media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.shop-card-media.is-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-caption {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--shop-navy);
  margin: 0 0 0.2rem;
}
.shop-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.shop-sku {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  color: var(--shop-muted);
}
.shop-card p {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  color: var(--shop-text-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}
.shop-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--shop-chip-text);
  background: var(--shop-chip-bg);
  border: 1px solid var(--shop-chip-line);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}
.shop-price {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}
.shop-lead {
  font-size: 0.75rem;
  color: var(--shop-muted);
  margin: 0 0 0.7rem;
}
.shop-card .shop-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.55rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--shop-navy);
  color: var(--shop-on-navy);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.shop-btn:hover { background: var(--shop-navy-hover); }
.shop-btn[disabled],
.shop-btn.is-off {
  background: var(--shop-btn-off-bg);
  color: var(--shop-btn-off-text);
  cursor: not-allowed;
}
.shop-btn-ghost {
  background: var(--shop-ghost);
  color: var(--shop-on-navy);
}
html[data-shop-theme="dark"] .shop-btn-ghost { color: #0b0f14; }
.shop-btn-ghost:hover { background: var(--shop-ghost-hover); }

.shop-design {
  margin: 2.5rem 0 1rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0b1220;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 16rem;
  text-decoration: none;
}
@media (min-width: 900px) {
  .shop-design { grid-template-columns: 1.1fr 0.9fr; }
}
.shop-design-copy { padding: 2rem 2.1rem; }
.shop-design-copy h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
}
.shop-design-copy p { margin: 0 0 1.1rem; color: #cbd5e1; max-width: 34rem; }
.shop-design-art {
  min-height: 12rem;
  background:
    radial-gradient(circle at 70% 40%, rgba(14,165,233,.35), transparent 45%),
    linear-gradient(135deg, #082f49, #0b1220);
}
.shop-quiet {
  margin: 1.5rem 0 2.5rem;
  font-size: 0.8rem;
  color: var(--shop-muted);
  line-height: 1.45;
}

/* Collection filters */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 1.35rem;
}
.shop-pill {
  height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--shop-chip-line);
  background: var(--shop-chip-bg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shop-chip-text);
  cursor: pointer;
}
.shop-pill.is-on {
  background: var(--shop-pill-on-bg);
  border-color: var(--shop-pill-on-bg);
  color: var(--shop-pill-on-text);
}

/* Product detail */
.shop-pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.5rem 0 2.5rem;
}
@media (min-width: 960px) {
  .shop-pdp { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}
.shop-pdp-photo {
  background: var(--shop-card);
  border-radius: 1.1rem;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.shop-pdp-photo img { max-height: 28rem; object-fit: contain; }
.shop-pdp-photo.is-fill {
  padding: 0;
  overflow: hidden;
}
.shop-pdp-photo.is-fill img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.shop-pdp h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: -0.03em;
}
.shop-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--shop-chip-line);
  border-radius: 0.7rem;
  overflow: hidden;
  margin: 0.9rem 0 0.8rem;
}
.shop-qty button {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: var(--shop-surface);
  color: var(--shop-text);
  font-size: 1.1rem;
  cursor: pointer;
}
.shop-qty span {
  min-width: 2rem;
  text-align: center;
  font-weight: 650;
}
.shop-note {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--shop-note-bg);
  border-radius: 0.8rem;
  font-size: 0.82rem;
  color: var(--shop-text-2);
  line-height: 1.45;
}
.shop-note strong { color: var(--shop-text); }
.shop-pdp-desc {
  color: var(--shop-text-2);
  line-height: 1.5;
}
.shop-thumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.shop-thumbs button {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--shop-chip-line);
  border-radius: 0.55rem;
  background: var(--shop-media);
  padding: 0.3rem;
  cursor: pointer;
}
.shop-thumbs button.is-on { border-color: var(--shop-navy); }

/* Cart drawer — same width as Company Add customer */
.shop-cart-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 58, 0.45);
  z-index: 90;
}
.shop-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42rem, 100%);
  background: var(--shop-surface);
  color: var(--shop-ink);
  z-index: 91;
  transform: translateX(105%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  overscroll-behavior: contain;
}
body.shop-cart-open { overflow: hidden; }
body.shop-cart-open .shop-cart-scrim { display: block; }
body.shop-cart-open .shop-cart-drawer {
  transform: none;
  box-shadow: -16px 0 40px rgba(7, 21, 58, 0.18);
}
.shop-cart-head,
.shop-cart-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--shop-line);
}
.shop-cart-foot {
  border-bottom: 0;
  border-top: 1px solid var(--shop-line);
  flex-direction: column;
  align-items: stretch;
}
.shop-cart-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.shop-cart-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--shop-muted);
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 0.45rem;
  cursor: pointer;
}
.shop-cart-close:hover { background: var(--shop-close-hover-bg); color: var(--shop-close-hover); }
.shop-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.35rem 1.25rem 1rem;
  overscroll-behavior: contain;
}
.shop-cart-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--shop-line);
  align-items: center;
}
.shop-cart-line img,
.shop-cart-line-ph {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  background: var(--shop-card);
  border-radius: 0.6rem;
}
.shop-cart-line strong { display: block; font-size: 0.95rem; }
.shop-cart-line .shop-sku { margin-top: 0.2rem; }
.shop-cart-line-price { font-weight: 700; text-align: right; }
.shop-cart-qty {
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  border: 1px solid var(--shop-line);
  border-radius: 0.55rem;
  overflow: hidden;
}
.shop-cart-qty button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: var(--shop-surface);
  color: var(--shop-text);
  font-size: 1.05rem;
  cursor: pointer;
}
.shop-cart-qty span {
  min-width: 1.6rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 650;
}
.shop-cart-foot .shop-quiet { margin: 0 0 0.75rem; padding: 0; }
.shop-cart-foot .shop-btn { width: 100%; }
.shop-empty { color: var(--shop-muted); padding: 2rem 0; }

/* Search overlay */
.shop-search {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--shop-search-dim);
}
.shop-search.is-on { display: block; }
.shop-search-panel {
  background: var(--shop-bg);
  padding: 1rem var(--shop-gutter) 1.25rem;
}
.shop-search-panel input {
  width: 100%;
  height: 2.8rem;
  border: 1px solid var(--shop-chip-line);
  border-radius: 0.7rem;
  padding: 0 0.9rem;
  font-size: 1rem;
  background: var(--shop-input-bg);
  color: var(--shop-text);
}
.shop-search-hits { max-width: var(--shop-max); margin: 0.6rem auto 0; }
.shop-search-hits a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--shop-text);
  border-bottom: 1px solid var(--shop-hit-line);
}
.shop-search-hits img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  background: var(--shop-card);
  border-radius: 0.4rem;
}

/* Policy */
.shop-page { padding: 1.6rem 0 3rem; max-width: 48rem; }
.shop-page h1 { margin: 0 0 0.4rem; letter-spacing: -0.03em; }
.shop-page .war-card, .shop-page article { color: var(--shop-text-2); line-height: 1.55; }
.shop-page h2 { color: var(--shop-text); margin-top: 1.6rem; }
.shop-page a { color: var(--shop-navy); }

/* Footer */
.shop-footer {
  padding: 2.2rem 0 2rem;
  margin-top: 1rem;
  color: var(--shop-text-2);
  font-size: 0.85rem;
}
.shop-footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .shop-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.shop-footer h4 {
  margin: 0 0 0.55rem;
  color: var(--shop-text);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shop-footer ul { list-style: none; margin: 0; padding: 0; }
.shop-footer li { margin: 0.28rem 0; }
.shop-footer a { text-decoration: none; color: var(--shop-text-2); }
.shop-footer a:hover { color: var(--shop-text); }
.shop-legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
  color: var(--shop-legal);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .shop-integrator { display: none; }
  .shop-ed-card { flex-basis: 14.5rem; width: 14.5rem; height: 21rem; }
}
