:root {
  /* Near-black dark theme (aligned with typical sample-shop UIs) */
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --surface: #141414;
  --surface-hover: #1a1a1a;
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  /* Accent — same green family as “Add to cart” (#22c55e / #16a34a) */
  --accent: #4ade80;
  --accent-hover: #86efac;
  /* Solid fills for CTAs / badges (matches .btn-cart) */
  --accent-fill: #22c55e;
  --accent-fill-hover: #16a34a;
  --accent-dim: rgba(34, 197, 94, 0.35);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.55);
  --radius: 10px;
  --font: "DM Sans", system-ui, sans-serif;
  --header-h: 64px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent-fill);
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  position: relative;
  /* Balanced columns so the logo is truly centered on small screens */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  justify-self: start;
}

@media (min-width: 960px) {
  .header-inner {
    display: flex;
    gap: 1rem;
  }

  .nav-toggle {
    justify-self: auto;
  }
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  justify-self: center;
  text-align: center;
}

@media (min-width: 960px) {
  .logo {
    justify-self: auto;
    text-align: left;
  }
}

.logo:hover {
  color: #fff;
}

.logo .logo-sound,
.logo .logo-zone {
  color: #fff;
}

.logo:hover .logo-sound {
  color: #fff;
}

.logo:hover .logo-zone {
  color: #a3a3a3;
}

.footer-logo .logo-sound,
.footer-logo .logo-zone {
  color: #fff;
}

.nav-main {
  display: none;
  flex: 1;
}

@media (min-width: 960px) {
  .nav-main {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-caret::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dropdown li.sep {
  height: 1px;
  margin: 0.4rem 0;
  background: var(--border);
  padding: 0;
}

.dropdown a {
  display: block;
  padding: 0.45rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.dropdown a:hover {
  background: var(--surface-hover);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
  justify-self: end;
}

@media (min-width: 960px) {
  .header-actions {
    margin-left: auto;
    justify-self: auto;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
}

.icon-btn:hover {
  background: var(--surface-hover);
}

.region-wrap {
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .region-wrap {
    display: block;
  }
}

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 220px;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.region-btn .flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.1rem 0.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

.region-btn #region-label {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.region-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 300;
  min-width: 220px;
  max-height: min(70vh, 360px);
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.region-menu-sep {
  height: 1px;
  margin: 0.35rem 0.5rem;
  background: var(--border);
  list-style: none;
}

.region-menu-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.45rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.region-menu-item:hover,
.region-menu-item:focus-visible {
  background: var(--surface-hover);
  outline: none;
}

.region-menu-flag {
  flex-shrink: 0;
}

.header-subscribe-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid #16a34a;
  border-radius: 8px;
  background: #22c55e;
  color: #141414;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.header-subscribe-link:hover {
  filter: brightness(1.06);
  color: #141414;
}

.cart-btn {
  position: relative;
  text-decoration: none;
}

button.cart-btn {
  color: inherit;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  background: var(--accent-fill);
  color: #0a0a0a;
  border-radius: 9px;
}

.cart-count.bump {
  animation: bump 0.3s ease;
}

@keyframes bump {
  50% {
    transform: scale(1.15);
  }
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 3rem 1.25rem 1.5rem;
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.6);
}

.drawer-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav li {
  margin-bottom: 0.35rem;
}

.drawer-nav strong {
  display: block;
  margin-top: 1rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.drawer-nav a {
  color: var(--text);
  text-decoration: none;
}

.drawer-nav a:hover {
  color: var(--accent);
}

body.drawer-open,
body.cart-open {
  overflow: hidden;
}

/* Toolbar */
.collection-toolbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.toolbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-text {
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  padding: 0.35rem 0;
}

.btn-text:hover {
  color: var(--accent);
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.chip-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.sort-select option {
  background: var(--bg-elevated);
  color: var(--text);
}

/* Breadcrumb */
.breadcrumb-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.5;
}

/* Hero */
.collection-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.collection-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.sub {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.browse-types {
  text-align: center;
}

.browse-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.browse-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.browse-chips a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
}

.browse-chips a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.view-all {
  display: inline-block;
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.view-all:hover {
  text-decoration: underline;
}

/* Filter panel (simple) */
.filter-panel {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

.filter-panel-inner {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.filter-panel fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.filter-panel legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.filter-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 14px;
}

.btn-secondary {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

/* Grid */
.collection-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.result-count {
  margin: 0 0 1rem;
  font-size: 14px;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  min-width: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    hsl(var(--hue, 200), 45%, 22%) 0%,
    hsl(calc(var(--hue, 200) + 25), 35%, 12%) 100%
  );
}

/* Same square frame as gradient cards — grid stays even; image fills cell cleanly */
.card-media--has-image {
  background: var(--surface);
}

.card-media-img {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  /* Show full artwork; square frame may letterbox (bars) vs cover which always crops */
  object-fit: contain;
  object-position: center center;
}

.card-media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.play-fake {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.play-fake:hover {
  transform: scale(1.05);
}

.card-body {
  padding: 1rem 1rem 1.15rem;
}

.card-tag {
  margin: 0 0 0.35rem;
  font-size: 12px;
  color: var(--text-muted);
}

.card-title {
  margin: 0 0 0.65rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
}

.card-title a {
  color: var(--text);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.85rem;
}

.sale-price {
  font-weight: 700;
  font-size: 15px;
}

.reg-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.badge-pct {
  font-size: 12px;
  color: #4ade80;
  font-weight: 600;
}

.btn-cart {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #22c55e;
  color: #141414;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

a.btn-cart:hover,
a.btn-cart:focus-visible {
  text-decoration: none;
  color: #141414;
}

.btn-cart:hover {
  background: #16a34a;
  color: #0a0a0a;
}

/* Footer */
.site-footer {
  background: #000000;
  color: #c8c8c8;
  padding: 3rem 1.25rem 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer-logo {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #fff;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-pay {
  margin: 0;
  font-size: 13px;
  color: #6a6a6a;
}

.footer-bottom {
  max-width: 1320px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* Toast */
.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  box-shadow: var(--shadow-card-hover);
  max-width: 90vw;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 450;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.35s;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  max-width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-panel-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.cart-close-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.cart-close-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0 1rem;
}

.cart-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
}

.cart-empty p {
  margin: 0 0 1rem;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0 1rem;
}

.cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-line-thumb {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    hsl(var(--hue, 200), 45%, 22%) 0%,
    hsl(calc(var(--hue, 200) + 25), 35%, 12%) 100%
  );
}

.cart-line-thumb.cart-line-thumb--image {
  background: var(--surface);
}

.cart-line-thumb--image img {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.cart-line-center {
  flex: 1;
  min-width: 0;
}

.cart-line-title {
  margin: 0 0 0.2rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.cart-line-unit {
  margin: 0 0 0.5rem;
  font-size: 12px;
  color: var(--text-muted);
}

.cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.15rem;
  background: var(--surface);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--surface-hover);
}

.qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.cart-line-end {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.cart-line-total {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.cart-line-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cart-line-remove:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

@media (max-width: 400px) {
  .cart-line-end {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
    padding-left: calc(52px + 0.75rem);
  }
}

.cart-panel-footer {
  flex-shrink: 0;
  padding: 1rem 1.15rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 15px;
}

.cart-subtotal-row strong {
  font-size: 1.15rem;
}

.btn-checkout {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent-fill);
  color: #141414;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-checkout:hover {
  background: var(--accent-fill-hover);
}

.btn-checkout:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.btn-checkout[aria-busy="true"] {
  cursor: wait;
}

.checkout-success-main {
  min-height: 50vh;
  padding: 3rem 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-success-inner {
  max-width: 32rem;
  text-align: center;
}

.checkout-success-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.checkout-success-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.55;
}

a.checkout-success-btn {
  display: inline-block;
  width: auto;
  text-decoration: none;
  margin-top: 0.5rem;
}

.support-success-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.support-success-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.cart-note {
  margin: 0.75rem 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Product detail page */
.product-breadcrumb-wrap {
  padding-bottom: 0;
}

.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.product-page-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .product-page-inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
}

.product-gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    145deg,
    hsl(var(--hue, 200), 45%, 22%) 0%,
    hsl(calc(var(--hue, 200) + 25), 35%, 12%) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-main--has-image {
  display: block;
  background: var(--surface);
}

.product-gallery-img {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.product-gallery-main--has-image .product-gallery-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.product-gallery-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.product-summary {
  padding-top: 0.25rem;
}

.product-tag {
  margin: 0 0 0.5rem;
  font-size: 13px;
  color: var(--text-muted);
}

.product-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.product-subtitle {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.product-price-row {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.product-bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  font-size: 14px;
  line-height: 1.5;
}

.product-highlight {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.product-actions {
  margin-top: 0.25rem;
}

.btn-cart-lg {
  width: 100%;
  max-width: 320px;
  padding: 0.85rem 1.5rem;
  font-size: 15px;
}

.product-trust {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.product-trust li {
  margin-bottom: 0.35rem;
}

.product-coins {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-coins-label {
  margin: 0 0 0.35rem;
  font-size: 14px;
}

.product-coins-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.product-prose-wrap {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 0 1.25rem 2rem;
}

.product-prose p {
  margin: 0 0 1rem;
  font-size: 15px;
  line-height: 1.65;
  color: #c8c8c8;
}

.product-inside {
  margin-top: 2rem;
}

.product-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.product-inside-intro {
  margin: 0 0 0.5rem;
  font-size: 14px;
}

.product-inside-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 14px;
  line-height: 1.55;
}

.product-not-found {
  max-width: 560px;
  margin: 3rem auto;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
}

.product-not-found a {
  color: var(--accent);
}

/* Support page */
.support-main {
  padding-bottom: 3rem;
}

.support-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.support-hero {
  margin-bottom: 2rem;
}

.support-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.support-lead {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 1rem;
}

.support-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .support-cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

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

.support-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.support-card-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.support-card-action {
  margin: 1rem 0 0;
}

.support-link-strong {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.support-link-strong:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.support-card-btn {
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
}

.support-section-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.support-faq {
  margin-bottom: 2.5rem;
}

.support-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
}

.support-details summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

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

.support-details summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
  font-weight: 400;
}

.support-details[open] summary::after {
  content: "−";
}

.support-details p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.support-topics {
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.support-topic-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.support-topic-list li {
  margin-bottom: 0.65rem;
}

.support-topic-list li:last-child {
  margin-bottom: 0;
}

.support-topic-list strong {
  color: var(--text);
  font-weight: 600;
}

/* Account (login / signup) */
.accounts-main {
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-bottom: 3rem;
}

.accounts-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.accounts-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.accounts-card--plan {
  border-color: var(--border-strong);
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--surface) 100%);
}

.accounts-subheading {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.accounts-lead--tight {
  margin-bottom: 1rem;
}

.accounts-plan-status {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.accounts-plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.accounts-plan-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  border: 0;
  box-sizing: border-box;
}

.accounts-plan-hint {
  margin: 0.75rem 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.accounts-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.accounts-lead {
  margin: 0 0 0.75rem;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.accounts-lead strong {
  color: var(--text);
  font-weight: 600;
}

.accounts-demo-note {
  margin: 0 0 1.25rem;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.accounts-demo-note code {
  font-size: 0.92em;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
}

.accounts-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.accounts-tab {
  flex: 1;
  padding: 0.65rem 0.5rem;
  margin: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
}

.accounts-tab:hover {
  color: var(--text);
}

.accounts-tab--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.accounts-panel {
  padding-top: 0.25rem;
}

.accounts-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accounts-label {
  display: block;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.accounts-label:first-of-type {
  margin-top: 0;
}

.accounts-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.accounts-input:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.accounts-hint {
  margin: 0.35rem 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.accounts-submit {
  width: 100%;
  margin-top: 1.25rem;
  justify-content: center;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.accounts-wrap > .accounts-message {
  margin: 0;
}

.accounts-message {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.accounts-message--error {
  border-color: #5c3d3d;
  background: rgba(80, 40, 40, 0.25);
  color: #e8c4c4;
}

.accounts-signed-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.accounts-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.accounts-logout {
  width: 100%;
}

