@import url("ui/tokens.css");
@import url("ui/reset.css");
@import url("ui/motion.css");
@import url("ui/liquid-glass.css");
@import url("ui/components/dock.css");
@import url("ui/components/nav.css");
@import url("ui/components/segment.css");
@import url("ui/background.css");
@import url("ui/components/button.css");

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--label-2);
  white-space: nowrap;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 16px;
  height: 16px;
}

.section { padding: 20px 16px 8px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.section-title {
  display: inline-block;
  font-size: var(--font-title2);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--label);
  padding: 7px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 2px 10px rgba(26, 61, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  flex-shrink: 1;
  min-width: 0;
  line-height: 1.25;
}

body.has-custom-bg .section-title {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    0 2px 14px rgba(26, 61, 46, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 16px 8px;
  -webkit-overflow-scrolling: touch;
}

.hero-scroll::-webkit-scrollbar { display: none; }

.hero-card {
  flex: 0 0 calc(100% - 32px);
  scroll-snap-align: center;
  border-radius: var(--glass-radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.hero-img-wrap {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 180px;
  max-height: 220px;
  background: var(--glass-img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 0.5px solid var(--glass-edge-subtle);
}

.hero-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-info {
  padding: 16px 18px 18px;
  background: transparent;
  color: var(--label);
}

.hero-tag {
  display: inline-block;
  background: rgba(184, 148, 31, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.hero-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hero-slogan {
  font-size: 13px;
  color: var(--label-2);
  margin-bottom: 8px;
}

.pick-price {
  margin-top: 4px;
}

.hero-price {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: var(--promo);
  padding: 5px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.85);
  border: 0.5px solid rgba(184, 148, 31, 0.32);
  box-shadow: 0 1px 5px rgba(26, 61, 46, 0.08);
  line-height: 1.2;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--label-3);
  transition: all 0.3s;
}

.hero-dot.active {
  width: 18px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(42, 99, 73, 0.35);
}

.pick-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  margin-left: -16px;
  margin-right: -16px;
  padding: 0 16px 8px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  width: auto;
  max-width: none;
}

.pick-scroll::-webkit-scrollbar { display: none; }

.pick-scroll .empty {
  min-width: 100%;
  padding: 24px 16px;
}

.pick-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.pick-card:active { transform: scale(0.97); }

.pick-card .pick-img-wrap {
  aspect-ratio: 1;
  padding: 8px;
}

.pick-body { padding: 8px 10px 10px; }

.pick-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.pick-price {
  margin-top: 4px;
}

#audienceSection .audience-wrap {
  padding: 0 0 12px;
}

#audienceScroll .empty,
#pickScroll .empty {
  min-width: 100%;
  padding: 24px 16px;
}

.series-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.series-card {
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.15s, box-shadow 0.15s;
}

.series-card.active {
  box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(42, 99, 73, 0.15);
}

.series-card:active { transform: scale(0.98); }

.series-img-wrap,
.product-card .img-wrap,
.pick-card .pick-img-wrap {
  flex-shrink: 0;
  background: var(--glass-img-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.series-img-wrap {
  aspect-ratio: 4 / 3;
  min-height: 96px;
}

.series-img-wrap img,
.product-card .img-wrap img,
.pick-card .pick-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.series-img-wrap .img-fallback,
.product-card .img-wrap .img-fallback,
.pick-card .pick-img-wrap .img-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.series-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 10px 10px 12px;
  border-top: 0.5px solid var(--glass-edge-subtle);
  background: rgba(255, 255, 255, 0.88);
}

body.has-custom-bg .series-label {
  background: rgba(255, 255, 255, 0.92);
}

.series-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--label);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  word-break: break-word;
}

.series-card .count {
  font-size: 11px;
  color: var(--label-2);
  margin-top: 4px;
  flex-shrink: 0;
}

.category-product-list {
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}

.category-product-list .grouped-list {
  margin: 0 12px 8px;
}

.category-product-item {
  min-height: 56px;
  padding: 10px 14px !important;
}

.category-product-item .cell-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-product-item .cell-sub {
  font-size: 13px;
  color: var(--promo);
  font-weight: 600;
  margin-top: 3px;
}

.category-product-item img,
.category-product-item .cell-thumb-placeholder {
  width: 52px;
  height: 52px;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 10px;
}

.products-header span {
  font-size: var(--font-footnote);
  color: var(--label-2);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px calc(var(--dock-tab-h) + 32px);
  align-items: stretch;
}

.product-card {
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.78);
}

body.has-custom-bg .product-card {
  background: rgba(255, 255, 255, 0.85);
}

body.has-custom-bg .product-card .info {
  background: rgba(255, 255, 255, 0.5);
}

.product-card:active { transform: scale(0.98); }

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  padding: 2px 7px;
  border-radius: 5px;
}

.badge-featured { background: var(--promo); }
.badge-hot { background: var(--danger); }
.badge-new { background: var(--accent-secondary); }

.product-card .img-wrap {
  aspect-ratio: 4 / 5;
  padding: 12px;
}

.product-card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  min-height: 0;
}

.product-card .info-text {
  flex: 1;
  min-height: 72px;
}

.product-card .name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.card-slogan {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-deep);
  line-height: 1.35;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .card-slogan {
  margin-bottom: 2px;
}

.pick-card .card-slogan {
  -webkit-line-clamp: 1;
  margin: 2px 0 4px;
}

.product-card .spec {
  font-size: 11px;
  color: var(--label-2);
  margin-top: 2px;
}

.product-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  flex-shrink: 0;
}

.product-card .price,
.pick-card .pick-price {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  color: var(--promo);
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 0.5px solid rgba(184, 148, 31, 0.32);
  box-shadow: 0 1px 5px rgba(26, 61, 46, 0.08);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.pick-card .pick-price {
  font-size: 16px;
  margin-top: 4px;
}

.add-circle {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  box-shadow:
    0 2px 8px rgba(42, 99, 73, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--accent-deep);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.add-circle.added {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(42, 99, 73, 0.28);
}

#pageProducts .segment-wrap {
  padding-top: var(--space-3);
}

.sheet-overlay {
  position: fixed;
  left: 50%;
  bottom: 0;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-w);
  z-index: 400;
  display: none;
  align-items: flex-end;
}

.sheet-overlay.open { display: flex; }

.sheet {
  width: 100%;
  max-height: 92vh;
  border-radius: var(--glass-radius-md) var(--glass-radius-md) 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: sheetUp 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  border-top: 0.5px solid var(--glass-edge);
}

.sheet-category {
  min-height: 45vh;
  max-height: 82vh;
}

.sheet-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px 14px 16px;
  border-bottom: 0.5px solid var(--glass-edge-subtle);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 2;
}

.sheet-header-cover {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--glass-img-bg);
  border: 0.5px solid var(--glass-edge-subtle);
}

.sheet-header-cover:empty,
.sheet-header-cover:not(:has(img)) {
  display: none;
}

.sheet-header-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-header-text {
  flex: 1;
  min-width: 0;
}

.sheet-header-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--label);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sheet-header-sub {
  font-size: 13px;
  color: var(--label-2);
  margin-top: 2px;
  font-weight: 500;
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-handle {
  width: 36px;
  height: 5px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  margin: 8px auto 0;
  opacity: 0.7;
}

.sheet-scroll {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.sheet-gallery {
  background: var(--glass-img-bg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sheet-gallery img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sheet-body { padding: 16px; }

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sheet-en {
  font-size: 13px;
  color: var(--label-2);
  margin-top: 4px;
}

.sheet-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--label);
  margin: 12px 0;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pill {
  font-size: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 4px 10px;
  border-radius: 8px;
}

.accordion {
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  border: 0.5px solid var(--sep);
}

.accordion-head {
  width: 100%;
  border: none;
  background: var(--card);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-body {
  display: none;
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--label-2);
  white-space: pre-line;
  line-height: 1.55;
}

.accordion.open .accordion-body { display: block; }
.accordion.open .accordion-head::after { transform: rotate(180deg); }

.accordion-head::after {
  content: "⌄";
  color: var(--label-3);
  transition: transform 0.2s;
}

.sheet-footer {
  padding: 12px 16px calc(12px + var(--safe-bottom));
  border-top: 0.5px solid var(--glass-edge-subtle);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-shrink: 0;
}

.sheet-footer button {
  width: 100%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 15px;
  border-radius: 14px;
  cursor: pointer;
}

.sheet-footer button.added { background: var(--danger); }

/* ── iOS Grouped List ── */
.grouped-list {
  margin: 0 16px 24px;
  border-radius: var(--glass-radius-sm);
  border: 0.5px solid var(--glass-edge-subtle);
  overflow: hidden;
}

.grouped-section {
  display: flex;
  flex-direction: column;
}

.grouped-cell {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--label);
  border-bottom: 0.5px solid var(--glass-edge-subtle);
}

.grouped-cell:last-child {
  border-bottom: none;
}

.grouped-cell:active {
  background: rgba(255, 255, 255, 0.22);
}

.grouped-cell.active {
  color: var(--accent-deep);
  font-weight: 600;
}

.grouped-cell .cell-body {
  flex: 1;
  min-width: 0;
}

.grouped-cell .cell-title {
  font-size: 16px;
  font-weight: inherit;
  line-height: 1.3;
}

.grouped-cell .cell-sub {
  font-size: 13px;
  color: var(--label-2);
  margin-top: 2px;
}

.grouped-cell .cell-check {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.grouped-cell .cell-chevron {
  color: var(--label-3);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.grouped-cell img,
.cell-thumb-placeholder {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--img-bg);
  border-radius: 8px;
  flex-shrink: 0;
}

.cell-thumb-placeholder {
  display: block;
}

.filter-grouped {
  margin-top: 8px;
}

.filter-grouped .grouped-cell {
  padding: 16px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--label-2);
}

.empty-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--label-3);
}

.empty-icon svg {
  width: 48px;
  height: 48px;
}

.empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--label);
}

.empty-hint {
  font-size: 13px;
  color: var(--label-3);
  margin-top: 6px;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(28, 28, 30, 0.88);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.toast.show { opacity: 1; }

/* ── Product detail page — 阅读层：实底不透底 ── */
.detail-page {
  position: fixed;
  inset: 0;
  z-index: 500;
  width: 100%;
  max-width: var(--app-max-w);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  display: none;
  flex-direction: column;
}

.detail-page.open { display: flex; }

.detail-page .detail-nav.glass-premium,
.detail-page .detail-footer.glass-premium {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.detail-page .detail-nav.glass-premium::before,
.detail-page .detail-footer.glass-premium::before {
  display: none;
}

.detail-nav {
  flex-shrink: 0;
  padding: 10px 12px;
  border-bottom: 0.5px solid var(--sep);
}


.detail-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
}

.detail-gallery-wrap {
  border-bottom: 0.5px solid var(--sep);
  background: #f8f6f2;
}

.detail-gallery {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f6f2;
}

.detail-gallery.multi {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.detail-gallery.multi::-webkit-scrollbar { display: none; }

.detail-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  scroll-snap-align: start;
}

.detail-gallery:not(.multi) .detail-gallery-slide {
  position: absolute;
  inset: 0;
}

.detail-gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-gallery-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--label-3);
}

.detail-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 12px;
  background: #f8f6f2;
}

.detail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ios-gray);
}

.detail-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

.detail-body {
  padding: 16px 16px 24px;
  background: var(--card);
}

.detail-series {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.detail-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--label);
}

.detail-en {
  font-size: 14px;
  color: var(--label-2);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.detail-slogan {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-deep);
  margin-top: 10px;
  line-height: 1.45;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
}

.detail-price {
  font-size: 30px;
  font-weight: 700;
  color: var(--promo);
}

.detail-spec {
  font-size: 14px;
  color: var(--label-2);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.detail-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 500;
}

.tag-female { background: #fce8ef; color: #9b3d5c; }
.tag-male { background: #e8eef8; color: #2c4a7c; }
.tag-unisex { background: var(--accent-soft); color: var(--accent-deep); }
.tag-group { background: var(--ios-gray); color: var(--label-2); }

.detail-block {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--sep);
  overflow: hidden;
  background: var(--card);
}

.detail-page .detail-block {
  background: #fafaf8;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 0.5px solid var(--sep);
}

.detail-block-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--label-3);
  padding: 12px 16px 0;
  margin-bottom: 0;
}

.detail-points,
.detail-specs {
  padding: 8px 16px 14px;
}

.detail-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-points li {
  font-size: 14px;
  color: var(--label-2);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.detail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-points li.muted { color: var(--label-3); }
.detail-points li.muted::before { background: var(--label-3); }

.detail-specs {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 12px;
  font-size: 14px;
}

.detail-specs dt {
  color: var(--label-3);
  font-weight: 500;
}

.detail-specs dd {
  color: var(--label-2);
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}

.detail-specs dd.muted { color: var(--label-3); grid-column: 1 / -1; }

.detail-ean {
  margin-top: 16px;
  font-size: 12px;
  color: var(--label-3);
  text-align: center;
  overflow-wrap: anywhere;
}

.img-fallback {
  width: 100%;
  height: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--img-bg);
  color: var(--label-3);
  font-size: 24px;
}

.product-card .img-wrap .img-fallback {
  aspect-ratio: 4 / 5;
  font-size: 32px;
}

.detail-footer {
  flex-shrink: 0;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  border-top: 0.5px solid var(--sep);
  background: rgba(255, 255, 255, 0.97);
}

.detail-footer button {
  width: 100%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
}

.detail-footer button.added { background: var(--danger); }

/* ── Liquid glass surfaces on product modules ── */
.pick-card,
.product-card,
.series-card {
  backdrop-filter: blur(var(--glass-blur-standard)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur-standard)) saturate(var(--glass-saturate));
  border: 0.5px solid var(--glass-edge-subtle);
  box-shadow: 0 2px 12px var(--glass-shadow-sm);
}

.pick-card {
  background: rgba(255, 255, 255, 0.78);
}

body.has-custom-bg .pick-card {
  background: rgba(255, 255, 255, 0.85);
}

.hero-card.glass-premium {
  box-shadow:
    inset 0 1px 0 var(--glass-specular),
    0 8px 28px var(--glass-shadow);
}

body.glass-off .section-title {
  background: var(--accent-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow: none;
}

body.glass-off .product-card,
body.glass-off .series-card,
body.glass-off .hero-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--card);
  border-color: var(--sep);
  box-shadow: var(--shadow-sm);
}
