/* Product visual recomposition — editorial, minimal, full-width */

.mp-store-wide.container {
  width: min(1480px, calc(100% - clamp(1.5rem, 5vw, 4rem)));
  max-width: 1480px;
}

.mp-visual {
  --pd-section-y: clamp(1.75rem, 3vw, 3.25rem);
  --pd-text-max: 46rem;
  --store-sticky-top: var(--header-height);
  --st-radius-lg: 18px;
  --st-radius-xl: 22px;
  --st-surface: var(--glass-l2-bg);
  --st-surface-hover: color-mix(in srgb, var(--glass-l2-bg) 72%, rgb(255 255 255 / 0.55));
  --st-shadow: 0 10px 36px rgb(0 0 0 / 0.07);
  color: var(--color-text);
}

[data-theme="dark"] .mp-visual {
  --st-surface: var(--glass-l2-bg);
  --st-surface-hover: color-mix(in srgb, var(--glass-l2-bg) 70%, rgb(255 255 255 / 0.08));
  --st-shadow: 0 14px 40px rgb(0 0 0 / 0.35);
}

.store-page .site-main {
  position: relative;
}

.product-detail-page.mp-visual {
  overflow-x: visible;
}

.mp-visual:not(.store-index-page) .glass-interactive:not(.st-featured__item--lead),
.mp-visual:not(.store-index-page) .liquid-panel:not(.pd-buy):not(.st-drawer) {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

/* —— Store listing —— */
.st-header {
  display: grid;
  gap: var(--space-4);
  padding-block: clamp(1.25rem, 3vw, 2rem) var(--space-4);
  margin-bottom: var(--space-2);
}

.st-header__copy h1 {
  margin: var(--space-2) 0;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 22ch;
}

.st-kicker,
.pd-kicker,
.st-header .st-kicker {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-brand-400);
}

.st-header__lead {
  margin: 0;
  max-width: 38rem;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}

.st-header__search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 36rem;
  padding: 0.35rem 0.35rem 0.35rem var(--space-3);
  border: 1px solid var(--glass-l2-border);
  border-radius: 14px;
  background: var(--glass-l2-bg);
  box-shadow: var(--glass-l2-shadow);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.st-header__search:focus-within {
  border-color: color-mix(in srgb, var(--color-brand-400) 45%, var(--glass-l2-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-400) 14%, transparent);
}

.st-header__search input {
  flex: 1;
  min-height: 2.6rem;
  border: none;
  background: transparent;
}

.st-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: var(--space-5);
}

.st-pill {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  background: color-mix(in srgb, var(--color-bg) 40%, transparent);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

button.st-pill {
  margin: 0;
  appearance: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.st-pill.is-active,
.st-pill:hover {
  color: var(--color-text);
  border-color: var(--color-brand-400);
  background: color-mix(in srgb, var(--color-brand-400) 10%, var(--color-bg));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-brand-400) 18%, transparent);
}

.st-sticky-bar__anchor {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  pointer-events: none;
  visibility: hidden;
}

.st-sticky-bar {
  position: sticky;
  top: calc(var(--store-sticky-top, var(--header-height)) + 0.5rem);
  z-index: 40;
  margin-bottom: var(--space-4);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.st-sticky-bar::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-brand-400) 15%, transparent),
    var(--color-brand-400),
    color-mix(in srgb, var(--color-brand-400) 15%, transparent)
  );
  opacity: 0.85;
}

.st-sticky-bar.is-stuck {
  border-color: color-mix(in srgb, var(--color-brand-400) 22%, var(--glass-l2-border));
  box-shadow:
    var(--glass-l2-shadow),
    0 16px 40px rgb(0 0 0 / 0.08);
  transform: translateY(-1px);
}

[data-theme="dark"] .st-sticky-bar.is-stuck {
  box-shadow:
    var(--glass-l2-shadow),
    0 18px 48px rgb(0 0 0 / 0.42);
}

.st-sticky-bar__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(0.85rem, 2.5vw, 1.25rem);
}

.st-sticky-bar__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.st-sticky-bar__kicker {
  margin: 0 0 0.2rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-brand-400);
}

.st-sticky-bar__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.st-sticky-bar__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-brand-400) 28%, var(--color-border-subtle));
  background: color-mix(in srgb, var(--color-brand-400) 10%, var(--color-bg));
  font-size: var(--text-sm);
  line-height: 1.2;
  white-space: nowrap;
}

.st-sticky-bar__stat-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
}

.st-sticky-bar__stat-label {
  color: var(--color-text-muted);
  font-weight: 600;
}

.st-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.st-toolbar__filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
  padding-block: 0.15rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-subtle) transparent;
}

.st-toolbar__filters::-webkit-scrollbar {
  height: 4px;
}

.st-toolbar__filters::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--color-border-subtle);
}

.st-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 0 0 auto;
  min-width: min(100%, 7.5rem);
}

.st-toolbar__field label {
  padding-inline: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-text-subtle);
}

.st-toolbar__field select {
  min-height: 2.5rem;
  min-width: 7rem;
  padding-inline: 0.65rem 1.85rem;
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid var(--color-border-subtle);
  background-color: color-mix(in srgb, var(--color-bg) 78%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.55rem center;
  background-size: 0.75rem;
  color: var(--color-text);
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  appearance: none;
}

.st-toolbar__field select:hover {
  border-color: color-mix(in srgb, var(--color-brand-400) 35%, var(--color-border-subtle));
}

.st-toolbar__field select:focus-visible {
  outline: none;
  border-color: var(--color-brand-400);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-400) 16%, transparent);
}

.st-toolbar__field--sort select {
  min-width: 8.5rem;
}

.st-toolbar__aside {
  display: flex;
  justify-content: flex-start;
}

.st-toolbar__advanced {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--color-brand-400) 40%, var(--color-border-subtle));
  background: color-mix(in srgb, var(--color-brand-400) 6%, transparent);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.st-toolbar__advanced:hover {
  border-style: solid;
  background: color-mix(in srgb, var(--color-brand-400) 12%, transparent);
}

.st-toolbar__advanced.is-active {
  border-style: solid;
  border-color: color-mix(in srgb, var(--color-brand-400) 45%, var(--color-border-subtle));
  background: color-mix(in srgb, var(--color-brand-400) 14%, var(--color-bg));
}

.st-toolbar__advanced:focus-visible {
  outline: 2px solid var(--color-brand-400);
  outline-offset: 2px;
}

.st-toolbar__advanced-dot {
  position: absolute;
  top: 0.35rem;
  inset-inline-end: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--color-brand-400);
  box-shadow: 0 0 0 2px var(--color-bg);
}

@media (min-width: 960px) {
  .st-sticky-bar__inner {
    display: grid;
    grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: var(--space-4);
    row-gap: var(--space-2);
  }

  .st-sticky-bar__head {
    grid-column: 1;
    grid-row: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
  }

  .st-sticky-bar__stat {
    align-self: flex-start;
  }

  .st-toolbar {
    grid-column: 2;
    grid-row: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
    gap: var(--space-2);
  }

  .st-toolbar__filters {
    flex: 1;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .st-toolbar__aside {
    flex-shrink: 0;
    align-self: flex-end;
  }
}

@media (max-width: 959px) {
  .st-sticky-bar__head {
    padding-bottom: 0.15rem;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border-subtle) 65%, transparent);
  }
}

.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-4);
}

.st-chips a {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  font-size: var(--text-xs);
  text-decoration: none;
  color: var(--color-text);
}

.st-chips__clear {
  color: var(--color-brand-400) !important;
  border-color: transparent !important;
}

.st-drawer {
  position: fixed;
  z-index: 130;
  inset: auto 1rem 1rem;
  max-width: 22rem;
  margin-inline: auto;
  left: 0;
  right: 0;
  padding: var(--space-4);
  border-radius: 18px;
  box-shadow: var(--st-shadow);
}

@media (max-width: 767px) {
  .st-drawer {
    inset: auto 0 0;
    max-width: none;
    margin: 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  }

  .product-detail-page .st-compare-tray {
    bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }
}

.st-drawer__form {
  display: grid;
  gap: var(--space-3);
}

.st-drawer__actions {
  display: flex;
  gap: var(--space-2);
}

.st-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.st-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  transition:
    border-color 0.22s,
    transform 0.22s,
    box-shadow 0.22s,
    background 0.22s;
}

.st-product:hover {
  border-color: color-mix(in srgb, var(--color-brand-400) 45%, var(--glass-l2-border));
  background: var(--st-surface-hover);
  transform: translateY(-3px);
  box-shadow: var(--glass-l2-shadow-hover), var(--st-shadow);
}

.st-product__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
}

.st-product__media .st-product-visual {
  display: block;
  height: 100%;
  min-height: 100%;
}

.st-product__badge {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
  background: var(--color-success);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.12);
}

.st-product__badge--muted {
  background: color-mix(in srgb, var(--color-text-muted) 88%, #000);
}

.st-product.is-unavailable {
  opacity: 0.88;
}

.st-product.is-unavailable .st-product__foot .btn-primary {
  pointer-events: none;
  opacity: 0.55;
}

.st-product__icon-actions {
  position: absolute;
  top: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 3;
  display: flex;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.st-product:hover .st-product__icon-actions,
.st-product:focus-within .st-product__icon-actions {
  opacity: 1;
}

.st-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.45rem;
  padding: var(--space-4);
}

.st-product__meta {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.st-product__title {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.35;
}

.st-product__title a {
  color: inherit;
  text-decoration: none;
}

.st-product__title a:hover {
  color: var(--color-brand-400);
}

.st-product__desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.st-product__feats {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.st-product__feats li {
  padding-inline-start: 0.75rem;
  position: relative;
}

.st-product__feats li::before {
  content: "·";
  position: absolute;
  inset-inline-start: 0;
}

.st-product__tech {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.st-product__tech span {
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

.st-product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
}

.st-product__price {
  font-size: var(--text-base);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Product visual (featured image or default) */
.st-product-visual {
  position: relative;
  display: block;
  min-height: 9.5rem;
  overflow: hidden;
  text-decoration: none;
  background: rgb(255 255 255 / 0.15);
}

.st-product-visual__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.st-product-visual__img.is-default {
  object-fit: cover;
}

[data-theme="dark"] .st-product-visual__img.is-default {
  opacity: 0.96;
}

.st-product__art,
.st-featured__art {
  min-height: 10.5rem;
  border-radius: 0;
}

.st-featured__art.st-product-visual {
  min-height: 11rem;
}

.pd-hero-art.st-product-visual {
  min-height: 100%;
  height: 100%;
  border-radius: 16px;
}

.pd-hero-art .st-product-visual__img {
  min-height: 16rem;
  max-height: 32rem;
}

.pd-section--first {
  padding-top: var(--space-4);
}

.st-art__canvas {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(67 149 255 / 0.14), rgb(83 216 232 / 0.1));
}

.st-art--search .st-art__canvas {
  background: linear-gradient(145deg, rgb(67 149 255 / 0.2), rgb(240 248 255 / 0.9));
}

.st-art--divar .st-art__canvas {
  background: linear-gradient(145deg, rgb(61 214 163 / 0.18), rgb(236 252 245 / 0.92));
}

.st-art--khanoumi .st-art__canvas {
  background: linear-gradient(145deg, rgb(255 160 200 / 0.2), rgb(252 244 255 / 0.92));
}

[data-theme="dark"] .st-art__canvas {
  background: linear-gradient(135deg, rgb(67 149 255 / 0.12), rgb(12 18 30 / 0.85));
}

.st-art__scene {
  position: absolute;
  inset: 1rem 1.1rem;
}

.st-art__search-bar {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgb(67 149 255 / 0.25);
  background: rgb(255 255 255 / 0.75);
  font-size: 0.62rem;
  color: var(--color-text-muted);
}

.st-art__serp-line {
  display: block;
  height: 0.32rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: rgb(67 149 255 / 0.35);
}

.st-art__serp-line--short { width: 72%; }
.st-art__serp-line--muted { width: 48%; opacity: 0.45; }

.st-art__map-dot {
  position: absolute;
  top: 0.2rem;
  right: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgb(61 214 163 / 0.2);
}

.st-art__listing-card {
  display: block;
  margin-top: 1.4rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  background: rgb(255 255 255 / 0.65);
}

.st-art__listing-card i {
  display: block;
  height: 0.28rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.12);
}

.st-art__product-tile {
  display: inline-block;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(255 180 210 / 0.55), rgb(180 160 255 / 0.35));
}

.st-art__product-tile--sm {
  width: 2rem;
  height: 2rem;
  margin-inline-start: 0.35rem;
  vertical-align: top;
  opacity: 0.7;
}

.st-art__discount {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  background: rgb(255 90 120 / 0.9);
  color: #fff;
}

.st-art__scene--bot i {
  display: block;
  width: 70%;
  height: 0.3rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: rgb(67 149 255 / 0.3);
}

/* Featured */
.st-featured {
  margin-bottom: var(--space-4);
}

.st-catalog {
  margin-top: 0;
}

.st-featured__item--lead .st-featured__copy h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
}

.st-featured__item--side .st-featured__copy h3 {
  font-size: var(--text-base);
}

.st-featured__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.st-featured__head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.st-featured__layout {
  display: grid;
  gap: var(--space-3);
}

.st-featured__item {
  display: grid;
  overflow: hidden;
  border-radius: var(--st-radius-xl);
  transition:
    border-color 0.22s,
    transform 0.22s,
    box-shadow 0.22s;
}

.st-featured__item:hover {
  border-color: color-mix(in srgb, var(--color-brand-400) 40%, var(--color-border-subtle));
  transform: translateY(-2px);
  box-shadow: var(--st-shadow);
}

.st-featured__item--lead {
  border-radius: 22px;
}

.st-featured__copy h3 a:hover {
  color: var(--color-brand-400);
}

.st-featured__art {
  min-height: 11rem;
  pointer-events: none;
}

.st-featured__copy {
  padding: var(--space-4);
}

.st-featured__copy h3 {
  margin: 0.35rem 0;
  font-size: var(--text-lg);
}

.st-featured__copy h3 a {
  color: inherit;
  text-decoration: none;
}

.st-featured__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.st-inline-cta,
.st-empty,
.st-faq {
  padding-block: var(--pd-section-y);
  border-top: 1px solid var(--color-border-subtle);
}

.st-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-2);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--st-radius-lg);
  background: color-mix(in srgb, var(--color-brand-400) 5%, var(--st-surface));
}

.st-inline-cta h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.st-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  font-size: var(--text-sm);
}

.st-pagination a {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.st-pagination a:hover {
  border-color: var(--color-brand-400);
  color: var(--color-brand-400);
}

.st-pagination span {
  color: var(--color-text-muted);
  font-weight: 600;
}

.st-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) var(--space-4);
  border: 1px dashed var(--color-border-subtle);
  border-radius: 20px;
  background: color-mix(in srgb, var(--color-bg) 40%, transparent);
}

.st-empty h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-lg);
}

.st-empty p {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
}

.st-faq .pd-h2 {
  margin-bottom: var(--space-3);
}

.st-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: var(--space-5);
}

.st-page-head h1 {
  margin: var(--space-2) 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.st-page-head__lead {
  margin: var(--space-2) 0 0;
  max-width: 40rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.st-compare-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  background: color-mix(in srgb, var(--color-bg) 55%, transparent);
}

.st-compare-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.st-compare-table th,
.st-compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: top;
  text-align: start;
}

.st-compare-table thead th {
  font-weight: 700;
  background: color-mix(in srgb, var(--color-brand-400) 5%, transparent);
}

.st-compare-table tbody th[scope="row"] {
  width: 9rem;
  color: var(--color-text-subtle);
  font-weight: 650;
}

.st-compare-table thead th a {
  color: inherit;
  text-decoration: none;
}

.st-compare-table thead th a:hover {
  color: var(--color-brand-400);
}

.st-compare-features {
  margin: 0;
  padding-inline-start: 1rem;
  line-height: 1.6;
}

.pd-final-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  background: color-mix(in srgb, var(--color-brand-400) 4%, transparent);
}

.pd-final-cta p {
  margin: 0;
  font-weight: 650;
  color: var(--color-text);
}

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

.st-compare-tray {
  position: fixed;
  z-index: 85;
  inset: auto 1rem calc(0.75rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: min(24rem, calc(100% - 2rem));
  max-width: 24rem;
  margin-inline: auto;
  left: 0;
  right: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--glass-l2-border);
  border-radius: 14px;
  background: var(--glass-l2-bg);
  box-shadow: var(--glass-l2-shadow);
  font-size: var(--text-sm);
  animation: st-tray-in 0.32s ease;
}

@keyframes st-tray-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.st-compare-tray[hidden] {
  display: none !important;
}

.st-compare-tray__close {
  margin-inline-start: auto;
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-text-muted);
}

/* —— Product detail —— */
.pd-page {
  min-width: 0;
  width: 100%;
  padding-bottom: var(--space-6);
}

.pd-hero {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  max-height: none;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}

.pd-hero__visual {
  min-height: 16rem;
  max-height: 28rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.pd-hero__visual .st-product-visual {
  display: block;
  height: 100%;
  min-height: inherit;
}

.pd-hero__visual .st-product-visual__img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.pd-hero__type {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pd-hero__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 18ch;
}

.pd-hero__lead {
  margin: 0 0 var(--space-4);
  max-width: var(--pd-text-max);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.pd-hero__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 var(--space-4);
}

.pd-hero__tech span {
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  font-size: var(--text-xs);
}

.pd-buy {
  padding: var(--space-4);
  border-radius: 18px;
  margin-bottom: var(--space-3);
}

.pd-buy__amount {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
}

.pd-buy__was {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
}

.pd-buy__off {
  margin-inline-start: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-success);
  font-weight: 700;
}

.pd-buy__trust {
  margin: var(--space-3) 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pd-buy__trust li {
  position: relative;
  padding-block: 0.15rem;
  padding-inline-start: 1.1rem;
}

.pd-buy__trust li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 700;
}

.pd-buy .btn-block {
  width: 100%;
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.pd-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.pd-icon-action:hover {
  color: var(--color-text);
  border-color: color-mix(in srgb, var(--color-brand-400) 35%, var(--color-border-subtle));
  background: color-mix(in srgb, var(--color-brand-400) 6%, transparent);
}

.pd-icon-action.is-compare-active {
  color: var(--color-brand-400);
  border-color: var(--color-brand-400);
}

.pd-icon-action[aria-pressed="true"],
.pd-icon-action.is-saved {
  color: var(--color-brand-400);
  border-color: var(--color-brand-400);
}

.pd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.pd-facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--text-sm);
}

.pd-facts dt {
  color: var(--color-text-subtle);
}

.pd-facts dd {
  margin: 0;
  text-align: end;
}

.pd-subnav {
  position: sticky;
  top: 4.25rem;
  z-index: 35;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(8px);
}

.pd-tabs {
  display: block;
  width: 100%;
  margin-top: var(--space-3);
  scroll-margin-top: calc(var(--header-height) + 4rem);
}

.pd-tabs__head {
  position: sticky;
  top: var(--store-sticky-top, var(--header-height));
  z-index: 35;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-subtle) transparent;
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-bg);
  box-shadow: 0 1px 0 var(--color-border-subtle);
}

.pd-tabs__head::-webkit-scrollbar {
  height: 5px;
}

.pd-tabs__head::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--color-border-subtle);
}

.pd-tabs__tab {
  appearance: none;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3rem;
  margin: 0;
  padding: 0.85rem 1.15rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
  margin-bottom: -1px;
}

.pd-tabs__tab:hover {
  color: var(--color-text);
}

.pd-tabs__tab.is-active {
  color: var(--color-text);
  font-weight: 700;
  border-bottom-color: var(--color-brand-400);
}

.pd-tabs__tab:focus-visible {
  outline: 2px solid var(--color-brand-400);
  outline-offset: -2px;
}

.pd-tabs__panels {
  overflow-anchor: none;
  min-height: 12rem;
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
  padding-bottom: var(--space-3);
}

.pd-tabs .pd-tab-panel:not(.is-active) {
  display: none !important;
}

.pd-tabs .pd-tab-panel.is-active {
  display: block;
}

.pd-tabs.pd-tabs--enhanced .pd-tab-panel {
  margin: 0;
  border-bottom: none;
  animation: pd-tab-in 0.28s ease;
}

.pd-tabs.pd-tabs--enhanced .pd-tab-panel:not(.is-active) {
  display: none !important;
}

.pd-tabs.pd-tabs--enhanced .pd-tab-panel.is-active {
  display: block;
}

@keyframes pd-tab-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-tabs.pd-tabs--enhanced .pd-tab-panel {
    animation: none;
  }
}

.pd-subnav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.pd-subnav a.is-active,
.pd-subnav a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-brand-400);
}

.pd-section {
  padding-block: var(--pd-section-y);
  border-bottom: 1px solid var(--color-border-subtle);
}

.pd-h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.pd-h3 {
  margin: var(--space-4) 0 var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
}

.pd-lead,
.pd-body {
  max-width: var(--pd-text-max);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.pd-meta-line {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pd-editorial-cols {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.pd-callout {
  padding-inline-start: var(--space-4);
  border-inline-start: 3px solid var(--color-border);
}

.pd-callout--accent {
  border-inline-start-color: var(--color-brand-400);
}

.pd-callout p {
  margin: 0.35rem 0 0;
  line-height: 1.65;
}

.pd-split {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

.pd-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.pd-feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}

.pd-feature-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.pd-feature-list p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pd-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
}

.pd-flow__num {
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-brand-400);
}

.pd-flow p {
  margin: 0.2rem 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pd-io {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}

.pd-io__panel {
  padding: var(--space-4);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.12);
}

[data-theme="dark"] .pd-io__panel {
  background: rgb(255 255 255 / 0.03);
}

.pd-io__panel h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-base);
}

.pd-io__panel ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  font-size: var(--text-sm);
  line-height: 1.65;
}

.pd-io__arrow {
  text-align: center;
  font-size: 1.25rem;
  color: var(--color-text-subtle);
}

.pd-sample {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

.pd-label {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-brand-400);
}

.pd-code {
  margin: 0;
  padding: var(--space-4);
  border-radius: 14px;
  background: #060a12;
  color: #b8e8ff;
  font-size: 0.78rem;
  line-height: 1.55;
  overflow: auto;
  max-height: 22rem;
}

.pd-prose,
.pd-bullet-list {
  max-width: var(--pd-text-max);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.pd-bullet-list {
  padding-inline-start: 1.1rem;
}

.pd-dual {
  display: grid;
  gap: var(--space-6);
}

.pd-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.pd-spec th,
.pd-spec td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: top;
  text-align: start;
}

.pd-spec th {
  width: 38%;
  padding-inline-end: var(--space-4);
  color: var(--color-text-subtle);
  font-weight: 600;
}

.pd-spec td {
  color: var(--color-text);
  line-height: 1.55;
}

.pd-trust-inline {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.pd-compat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-3);
}

.pd-compat span {
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  font-size: var(--text-xs);
}

.pd-faq__item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.pd-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-4);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.pd-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-subtle);
}

.pd-faq__item[open] summary::after {
  content: "−";
}

.pd-faq__item p {
  margin: 0 0 var(--space-4);
  max-width: var(--pd-text-max);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.pd-related {
  padding-block: var(--pd-section-y);
  border-top: 1px solid var(--color-border-subtle);
}

.pd-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.pd-resource-links {
  display: grid;
  gap: var(--space-2);
}

.pd-resource-links a {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.pd-resource-links a:hover {
  border-color: var(--color-border-subtle);
  background: var(--st-surface);
}

.pd-resource-links span {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.pd-mobile-buy {
  position: fixed;
  z-index: 90;
  inset: auto 0 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.55rem clamp(1rem, 4vw, 2rem) calc(0.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border-subtle);
  background: color-mix(in srgb, var(--color-bg) 94%, transparent);
  backdrop-filter: blur(10px);
}

.product-detail-page .site-footer {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .st-header {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
  }

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

  .st-featured__layout {
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: auto auto;
  }

  .st-featured__item--lead {
    grid-row: span 2;
    grid-template-columns: 1fr 1.05fr;
  }

  .st-featured__item--side {
    grid-template-columns: 5.5rem 1fr;
    align-items: center;
  }

  .st-featured__item--side .st-featured__art {
    min-height: 5.5rem;
  }

  .pd-facts {
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: var(--space-3);
    padding-block: var(--space-5);
  }

  .pd-editorial-cols,
  .pd-split,
  .pd-dual,
  .pd-sample {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .pd-io {
    grid-template-columns: 1fr auto 1fr;
  }

  .pd-flow {
    display: flex;
    gap: 0;
    align-items: stretch;
    border-bottom: none;
  }

  .pd-flow li {
    flex: 1;
    grid-template-columns: 1fr;
    border: none;
    margin: 0;
    padding: var(--space-3) var(--space-3) 0 0;
    border-top: 2px solid var(--color-brand-400);
  }

  .pd-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: -0.35rem;
    inset-inline-end: 0;
    width: 1px;
    height: calc(100% + 0.35rem);
    background: var(--color-border-subtle);
  }

  .pd-facts div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: var(--space-3);
    border: 1px solid var(--color-border-subtle);
    border-radius: 14px;
    background: var(--st-surface);
  }

  .pd-facts dd {
    text-align: start;
    font-weight: 650;
    color: var(--color-text);
  }
}

@media (min-width: 1024px) {
  .st-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pd-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    min-height: 0;
    max-height: 36rem;
    align-items: start;
  }

  .pd-hero__visual {
    min-height: 18rem;
    max-height: 28rem;
  }

  .pd-hero__title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
  }
}

@media (min-width: 1280px) {
  .st-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pd-mobile-buy {
    display: flex;
  }

  .product-detail-page .site-footer {
    padding-bottom: 4.5rem;
  }

  .st-product__icon-actions {
    opacity: 1;
  }

  .st-product__media .st-product-visual {
    min-height: 7.5rem;
  }
}

.home-product-visual {
  display: block;
  min-height: 11rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.home-product-visual .st-product-visual__img {
  min-height: 11rem;
}

.utility-result-product {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.utility-result-product__thumb {
  flex: 0 0 3.5rem;
  width: 3.5rem;
  min-height: 3.5rem !important;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.utility-result-product__thumb .st-product-visual__img {
  min-height: 3.5rem;
  height: 3.5rem;
}

.utility-result-product a {
  flex: 1;
}

.st-filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 125;
  border: none;
  padding: 0;
  margin: 0;
  background: rgb(6 10 18 / 0.42);
  backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.st-filter-backdrop:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.st-faq {
  max-width: 52rem;
}

.st-catalog {
  scroll-margin-top: calc(var(--header-height) + 4rem);
}

.product-detail-page .st-compare-tray {
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .product-detail-page .st-compare-tray {
    inset-inline-end: 1.5rem;
    inset-inline-start: auto;
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-product,
  .st-pill,
  .st-featured__item,
  .st-compare-tray,
  .st-sticky-bar {
    transition: none;
    animation: none;
  }
}
