:root {
  --font-family: Inter, system-ui, sans-serif;
  --max-width: 1280px;
  --listing-gutter: clamp(0.75rem, 2.5vw, 1.75rem);
  --primary: #1a1a2e;
  --accent: #c9a962;
  --spacing: 8px;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html.ui-scroll-locked {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.block-shell {
  width: 100%;
}

.block-shell--full {
  max-width: none;
}

.block-shell--container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.block-shell--custom {
  width: min(100% - 2rem, var(--block-max-w, var(--max-width)));
  margin-inline: auto;
}

/* Nested .container inside block-shell must follow shell width, not global --max-width */
.block-shell--full .container,
.block-shell--full > section.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.block-shell--full .hero--center,
.block-shell--full .hero--center .hero-center {
  width: 100%;
  max-width: none;
}

.block-shell--container > .container,
.block-shell--container > section.container,
.block-shell--container section.shop-block > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.block-shell--custom .container,
.block-shell--custom > section.container,
.block-shell--custom section.shop-block > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}

.main-nav { position: relative; }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  color: var(--primary);
  align-items: center;
  justify-content: center;
}

.nav-toggle-label .icon { width: 1.375rem; height: 1.375rem; }

.nav-list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-icon { display: inline-flex; color: var(--muted); }
.nav-icon .icon { width: 1rem; height: 1rem; }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--primary);
}

.cart-link .icon { width: 1.25rem; height: 1.25rem; }

button.cart-link {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.cart-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -0.125rem;
  right: -0.375rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
}

.search-toggle .icon { width: 1.25rem; height: 1.25rem; }

.search-toggle:hover,
.search-toggle:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (min-width: 768px) {
  .cart-label { display: inline; }
}

.icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon-lg { width: 4rem; height: 4rem; color: #16a34a; }

.icon-illustration {
  width: 7rem;
  height: 7rem;
  color: var(--muted);
  margin: 0 auto 1rem;
  display: block;
}

.heading-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 0.375rem;
  color: var(--accent);
}

.heading-icon .icon { width: 1.5rem; height: 1.5rem; }

.footer-line {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0.5rem 0 0;
}

.footer-icon {
  display: inline-flex;
  margin-top: 0.125rem;
  opacity: 0.85;
}

.footer-icon .icon { width: 1rem; height: 1rem; }

.footer-block a { color: rgba(255,255,255,0.92); }
.footer-block a:hover { color: var(--accent); }

.empty-state-illustrated {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
}

.checkout-form {
  max-width: 32rem;
  display: grid;
  gap: 1rem;
}

.field-with-icon {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 1.25rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
}

.field-icon .icon { width: 1.125rem; height: 1.125rem; }

.field-body {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.field-body input,
.field-body textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}

.field-body.full { grid-column: 1 / -1; margin-left: 3.25rem; }

.checkout-form .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-left: 3.25rem;
}

.checkout-total { font-size: 1.125rem; margin-bottom: 1.5rem; }

.success-panel {
  text-align: center;
  max-width: 28rem;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  animation: pop-in 0.4s ease;
}

.success-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.success-panel .btn-primary,
.success-panel .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.order-lookup-page,
.order-view-page {
  padding: 2rem 0 4rem;
  max-width: 720px;
}

.order-lookup-lead { color: var(--muted); margin-bottom: 1.5rem; }

.order-lookup-form { max-width: 420px; }

.order-view-hero h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.order-view-hero h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--primary);
  margin-top: 0.75rem;
}

.order-view-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.order-view-banner {
  background: #f3f4f6;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.order-view-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-view-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.order-view-item-img-btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 6px;
  line-height: 0;
}

.order-view-item-img-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.order-view-item-img {
  border-radius: 6px;
  object-fit: cover;
  width: 72px;
  height: 72px;
  background: #f3f4f6;
  pointer-events: none;
}

.order-view-item-img--empty {
  display: block;
}

.order-item-lightbox .gallery-lightbox-nav {
  display: none;
}

.order-item-lightbox .gallery-lightbox-inner {
  max-width: min(92vw, 720px);
}

.order-view-item-title { font-weight: 600; line-height: 1.35; }

.order-view-promo-tag {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 999px;
}

.variant-spec-list,
.order-view-variant-spec {
  margin: 0.5rem 0 0;
  padding: 0;
}

.variant-spec-row,
.order-view-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}

.variant-spec-row dt,
.order-view-spec-row dt {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.variant-spec-row dd,
.order-view-spec-row dd {
  margin: 0;
  color: var(--muted);
}

.checkout-line-details .variant-spec-list {
  margin-top: 0.35rem;
}

.cart-line-body .variant-spec-list {
  margin: 0.35rem 0;
}

.order-view-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
}

.order-view-item-qty { font-weight: 500; }

.order-view-item-unit,
.order-view-item-line-total {
  color: var(--muted);
}

.order-view-item-line-total {
  font-weight: 600;
  color: var(--text);
}

.order-view-totals {
  background: #f3f4f6;
  padding: 1rem 1.25rem 1.25rem;
  margin: 0;
}

.order-view-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  padding: 0.25rem 0;
}

.order-view-total-final {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.order-view-status { color: var(--muted); font-size: 0.9375rem; }

.order-view-customer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.order-view-customer h2 { font-size: 1.125rem; margin-bottom: 1rem; }

.order-view-customer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .order-view-customer-grid { grid-template-columns: 1fr 1fr; }
}

.order-view-address { white-space: pre-line; }

@keyframes pop-in {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--blk-bg, transparent);
  color: var(--blk-text, #111111);
}

.hero--center { padding: 0; width: 100%; }

.hero--center .hero-center {
  display: grid;
  grid-template: 1fr / 1fr;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-center-media {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  min-width: 0;
}

.hero--center .hero-center-copy {
  grid-area: 1 / 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  min-height: 100%;
  padding: 2rem 1.5rem;
  pointer-events: none;
}

.hero--center .hero-center-copy.hero-valign--top { justify-content: flex-start; }
.hero--center .hero-center-copy.hero-valign--center { justify-content: center; }
.hero--center .hero-center-copy.hero-valign--bottom {
  justify-content: flex-end;
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

/* contain：图片自然高度撑开，全宽无留白 */
.hero--fit-contain.hero--center .hero-center-media .img-media {
  position: relative;
  width: 100%;
  height: auto;
}

.hero--fit-contain.hero--center.hero--carousel .hero-center {
  min-height: 0;
}

.hero--fit-contain.hero--center.hero--carousel .hero-center-media .banner-carousel-slides {
  position: relative;
  inset: auto;
  height: auto;
  display: grid;
  grid-template: 1fr / 1fr;
}

.hero--fit-contain.hero--center .hero-center-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero--fit-contain.hero--center.hero--carousel .hero-center-media .banner-slide {
  grid-area: 1 / 1;
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}

.hero--fit-contain.hero--center.hero--carousel .hero-center-media .banner-slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.hero--carousel .hero-center-copy {
  grid-area: 1 / 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* cover / 固定高度：铺满裁剪 */
.hero--fit-cover.hero--center .hero-center,
.hero--has-height.hero--center .hero-center,
.hero--carousel.hero--fit-cover.hero--center .hero-center,
.hero--carousel.hero--has-height.hero--center .hero-center {
  min-height: var(--hero-min-h, clamp(320px, 50vw, 520px));
}

.hero--fit-cover.hero--center .hero-center-media,
.hero--has-height.hero--center .hero-center-media {
  min-height: inherit;
  height: 100%;
}

.hero--fit-cover.hero--center .hero-center-media .img-media,
.hero--fit-cover.hero--center .hero-center-media .banner-carousel-slides,
.hero--has-height.hero--center .hero-center-media .img-media,
.hero--has-height.hero--center .hero-center-media .banner-carousel-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero--fit-cover.hero--center .hero-center-media img,
.hero--has-height.hero--center .hero-center-media img,
.hero--carousel.hero--fit-cover.hero--center .hero-center-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero--carousel.hero--fit-cover.hero--center .hero-center-media .banner-carousel-slides,
.hero--carousel.hero--has-height.hero--center .hero-center-media .banner-carousel-slides {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-center {
  position: relative;
  overflow: hidden;
}

.hero--center .hero-center-copy > * {
  pointer-events: auto;
  width: 100%;
  max-width: 42rem;
}

.hero--center .hero-center-copy.hero-copy--left {
  align-items: flex-start;
  text-align: left;
}

.hero--center .hero-center-copy.hero-copy--center {
  align-items: center;
  text-align: center;
}

.hero--center .hero-center-copy.hero-copy--right {
  align-items: flex-end;
  text-align: right;
}

.hero--center .hero-center-copy.hero-copy--left > * { margin-inline: 0; }
.hero--center .hero-center-copy.hero-copy--center > * { margin-inline: auto; }
.hero--center .hero-center-copy.hero-copy--right > * { margin-inline: 0 0 0 auto; }

.hero--center .hero-center-copy .btn-blk { width: auto; }

.hero--center .hero-center-copy.hero-copy--left .btn-blk { align-self: flex-start; }
.hero--center .hero-center-copy.hero-copy--center .btn-blk { align-self: center; }
.hero--center .hero-center-copy.hero-copy--right .btn-blk { align-self: flex-end; }

.hero-copy--left { text-align: left; }
.hero-copy--center { text-align: center; }
.hero-copy--right { text-align: right; }

.hero--align-center .hero-inner .hero-copy { text-align: center; }
.hero--align-right .hero-inner .hero-copy { text-align: right; }

.hero--align-center .hero-inner .btn-blk { margin-inline: auto; }
.hero--align-right .hero-inner .btn-blk { margin-left: auto; margin-right: 0; }

.hero--fit-contain.hero--center .hero-center-media .img-media--contain {
  position: relative;
  height: auto;
}

.hero-center-copy h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-weight: 500;
}

.hero--center .hero-center-copy h1 {
  color: var(--blk-title, #ffffff);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.hero--center .hero-center-copy .section-eyebrow.light {
  color: var(--blk-subtitle, rgba(255, 255, 255, 0.9));
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-inner .img-media {
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0 0 1.5rem;
}

.hero-inner .img-media img {
  display: block;
  width: 100%;
}

/* Banner carousel (Hero / SplitBanner) */
.banner-carousel { position: relative; }

.banner-carousel-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.banner-slide-placeholder,
.split-banner-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d2d2d, #555);
}

.banner-slide-copy {
  display: none;
}

.banner-slide-copy.is-active {
  display: block;
  animation: banner-copy-in 0.45s ease;
}

@keyframes banner-copy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.split-banner-inner--overlay .split-banner-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-carousel-media,
.split-banner-carousel-media {
  position: relative;
  min-height: clamp(240px, 40vw, 420px);
}

.hero-carousel-media .banner-slide,
.split-banner-carousel-media .banner-slide {
  border-radius: 0;
  overflow: hidden;
}

.split-banner-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--split-min-h, clamp(320px, 50vw, 520px));
}

.split-banner-carousel-wrap .split-banner-bg {
  position: absolute;
  inset: 0;
}

.banner-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.hero--center .banner-carousel-controls,
.split-banner-inner--overlay .banner-carousel-controls {
  bottom: 1.5rem;
}

.banner-carousel-prev,
.banner-carousel-next,
.banner-dot {
  pointer-events: auto;
  border: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
  padding: 0;
}

.banner-carousel-prev,
.banner-carousel-next {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.banner-carousel-prev:hover,
.banner-carousel-next:hover {
  background: rgba(255, 255, 255, 0.32);
}

.banner-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.banner-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero--split.hero--carousel .banner-carousel-controls,
.split-banner-inner.banner-carousel .banner-carousel-controls,
.split-banner--split-left .banner-carousel-controls,
.split-banner--split-right .banner-carousel-controls {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 1.25rem;
  grid-column: 1 / -1;
}

.hero--split.hero--carousel .banner-carousel-prev,
.hero--split.hero--carousel .banner-carousel-next,
.split-banner--split-left .banner-carousel-prev,
.split-banner--split-right .banner-carousel-prev,
.split-banner--split-left .banner-carousel-next,
.split-banner--split-right .banner-carousel-next {
  background: rgba(17, 17, 17, 0.08);
  color: #111;
}

.hero--split.hero--carousel .banner-dot,
.split-banner--split-left .banner-dot,
.split-banner--split-right .banner-dot {
  background: rgba(17, 17, 17, 0.25);
}

.hero--split.hero--carousel .banner-dot.is-active,
.split-banner--split-left .banner-dot.is-active,
.split-banner--split-right .banner-dot.is-active {
  background: #111;
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide { transition: none; }
  .banner-slide-copy.is-active { animation: none; }
}

/* Unified image media (crop, height, overlay) */
.img-media {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.img-media img {
  display: block;
  width: 100%;
}

.img-media--contain {
  height: auto;
}

.img-media--contain img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.img-media--cover {
  height: var(--img-h, auto);
}

.img-media--cover:not([style*="--img-h"]) {
  min-height: 0;
}

.img-media--cover img {
  height: 100%;
  min-height: var(--img-h, 100%);
  object-fit: cover;
  object-position: center;
}

.img-media--cover:not([style*="--img-h"]) img {
  min-height: 100%;
}

.img-media--fill {
  height: var(--img-h, auto);
}

.img-media--fill img {
  height: 100%;
  min-height: var(--img-h, 100%);
  object-fit: fill;
}

.img-media.has-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--img-overlay-color, #000);
  opacity: var(--img-overlay-opacity, 0.4);
}

/* Novrla-style blocks */
.announcement-bar {
  width: 100%;
  overflow: hidden;
  font-weight: 500;
  letter-spacing: 0.02em;
  height: var(--ann-h, 40px);
  font-size: var(--ann-fs, 13px);
  display: flex;
  align-items: center;
}

.announcement-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.announcement-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  align-items: center;
  animation: announcement-marquee var(--ann-speed, 35s) linear infinite;
  will-change: transform;
}

.announcement-group {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--ann-gap, 48px);
  min-width: 100vw;
  padding-right: var(--ann-gap, 48px);
}

.announcement-item {
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes announcement-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track { animation: none; }
  .announcement-viewport { overflow-x: auto; }
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blk-subtitle, var(--muted));
  margin: 0 0 0.5rem;
}

.section-eyebrow.light { color: var(--blk-subtitle, rgba(255,255,255,0.85)); }

.section-header { padding: 2.75rem 0 1.5rem; }

.section-header-inner--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header-inner--center,
.section-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 2.5vw, 1.75rem);
  width: 100%;
}

.section-title-line {
  flex: 1 1 0;
  height: 1px;
  background: currentColor;
  opacity: 0.9;
  min-width: 1.5rem;
}

.section-heading {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading--divider {
  flex: 0 1 auto;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.375rem, 3.2vw, 2rem);
  letter-spacing: 0.05em;
  line-height: 1.15;
  white-space: nowrap;
}

.section-header--center_lines,
.category-tiles-head.section-title-block {
  color: var(--blk-title, #111111);
}

.section-subtitle {
  color: var(--blk-subtitle, var(--muted));
  margin: 0;
  max-width: 36rem;
}

.section-link {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.section-link--below {
  letter-spacing: 0.01em;
  text-transform: none;
  margin-top: 0.125rem;
}

.section-header-inner--split .section-link {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.category-tiles-section { padding: 2.5rem 0 3.5rem; }

.category-tiles-head {
  margin-bottom: 1.75rem;
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(var(--cols-lg, 3), 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-tiles[style*="--tile-rows"] {
  grid-template-rows: repeat(var(--tile-rows, 1), 1fr);
}

@media (max-width: 1023px) {
  .category-tiles { grid-template-columns: repeat(var(--cols-md, 2), 1fr); }
}
@media (max-width: 767px) {
  .category-tiles { grid-template-columns: repeat(var(--cols-sm, 1), 1fr); }
}

.category-tile {
  display: block;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/5;
  color: #fff;
}

.category-tiles-section.has-tile-height .category-tile {
  aspect-ratio: unset;
  height: var(--tile-h);
}

.category-tile .img-media,
.category-tile .category-tile-media,
.category-tile-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile-media picture {
  position: relative;
  display: block;
}

.category-tile-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.category-tile-media.img-media--cover .category-tile-visual,
.category-tile-media.img-media--fill .category-tile-visual {
  position: absolute;
  inset: 0;
}

.category-tile-media.img-media--cover picture,
.category-tile-media.img-media--cover img,
.category-tile-media.img-media--fill picture,
.category-tile-media.img-media--fill img {
  width: 100%;
  height: 100%;
}

.category-tile-media.img-media--cover img { object-fit: cover; }
.category-tile-media.img-media--fill img { object-fit: fill; }

/* contain：图片与蒙版同尺寸居中 */
.category-tile-media.img-media--contain {
  display: grid;
  place-items: center;
}

.category-tile-media.img-media--contain .category-tile-visual {
  position: relative;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.category-tile-media.img-media--contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  vertical-align: top;
  display: block;
}

.category-tile-media.img-media--contain.has-overlay .category-tile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: var(--img-overlay-color, #000);
  opacity: var(--img-overlay-opacity, 0.4);
}

.category-tile-media.img-media--contain.has-overlay::after {
  display: none;
}

.tile-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.category-tile-placeholder {
  background: linear-gradient(135deg, #2d2d2d, #555);
}

.category-tile-label {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  font-weight: 600;
  font-size: 1rem;
}

.split-banner {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
}

.split-banner--background {
  padding: 0;
  color: var(--blk-text, #ffffff);
  min-height: var(--split-min-h, clamp(320px, 50vw, 520px));
  display: block;
  position: relative;
}

.split-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.split-banner-bg .img-media,
.split-banner-bg-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.split-banner-bg .img-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split-banner-bg-placeholder {
  background: linear-gradient(135deg, #2d2d2d, #555);
}

.split-banner--background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.split-banner-inner--overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  pointer-events: none;
}

.split-banner-inner--overlay > * {
  pointer-events: auto;
}

.split-banner-valign--top .split-banner-copy { justify-content: flex-start; }
.split-banner-valign--center .split-banner-copy { justify-content: center; }
.split-banner-valign--bottom .split-banner-copy {
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.split-banner-carousel-wrap .split-banner-inner--overlay {
  position: absolute;
  inset: 0;
}

.split-banner-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 768px) {
  .split-banner-inner:not(.split-banner-inner--overlay) {
    grid-template-columns: 1fr 1fr;
  }
  .split-banner--split-left .split-banner-media { order: -1; }
}

.split-banner-copy--left { text-align: left; }
.split-banner-copy--center { text-align: center; }
.split-banner-copy--right { text-align: right; }

.split-banner-copy--center .btn-blk { margin-inline: auto; }
.split-banner-copy--right .btn-blk { margin-left: auto; margin-right: 0; }

.split-banner-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.split-banner-subtitle {
  color: var(--blk-subtitle, var(--muted));
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 36rem;
}

.split-banner-copy--center .split-banner-subtitle { margin-inline: auto; }
.split-banner-copy--right .split-banner-subtitle { margin-left: auto; margin-right: 0; }

.split-banner-media .img-media {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.split-banner--has-height .split-banner-media .img-media--cover,
.split-banner--has-height .split-banner-media .img-media--fill {
  height: var(--img-h);
}

.promo-strip {
  padding: clamp(3rem, 7vw, 5rem) 0;
  color: var(--blk-text, #ffffff);
}

.promo-strip-inner {
  display: flex;
  justify-content: center;
}

.promo-strip-copy {
  max-width: 40rem;
}

.promo-strip-copy--left { text-align: left; margin-right: auto; }
.promo-strip-copy--center { text-align: center; margin-inline: auto; }
.promo-strip-copy--right { text-align: right; margin-left: auto; }

.promo-strip-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.promo-strip-subtitle {
  margin: 0.75rem 0 0;
  opacity: 0.92;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.promo-strip-copy .btn-blk {
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  padding: 0.875rem 2rem;
  border-radius: 0;
}

.promo-strip-copy--center .btn-blk { margin-inline: auto; display: inline-flex; }
.promo-strip-copy--right .btn-blk { margin-left: auto; margin-right: 0; display: inline-flex; }
.promo-strip-copy--left .btn-blk { display: inline-flex; }

.btn-light {
  background: #fff;
  color: var(--primary);
}

.newsletter-block {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.newsletter-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .newsletter-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.newsletter-title {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.newsletter-subtitle { margin: 0.5rem 0 0; color: var(--blk-subtitle, var(--muted)); }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.prose-block {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.prose-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
}

.prose-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}

.prose-block th,
.prose-block td {
  border: 1px solid var(--border, #e5e7eb);
  padding: 0.625rem 0.75rem;
  text-align: left;
}

.prose-block th {
  background: var(--surface-muted, #f9fafb);
  font-weight: 600;
}

/* Size guide — uses main.container width like other policy pages */
.size-guide-page .size-guide-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.size-guide-intro p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text, #111);
  margin: 0 0 1rem;
}

.size-guide-section {
  margin-top: 2.5rem;
}

.size-guide-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-align: center;
}

.size-guide-section > p {
  font-size: 0.9375rem;
  text-align: center;
  margin: 0 0 1.25rem;
  color: var(--muted, #6b7280);
}

.size-guide-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin: 0;
}

.size-guide-page .size-guide-table th,
.size-guide-page .size-guide-table td {
  border: none;
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 0.75rem 0.5rem;
  text-align: center;
  vertical-align: middle;
  background: transparent;
}

.size-guide-page .size-guide-table thead th {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: var(--muted, #6b7280);
  border-bottom-width: 2px;
}

.size-guide-table--conversion tbody th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: var(--muted, #6b7280);
}

.size-guide-heading--left {
  text-align: left;
}

.size-guide-measure-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .size-guide-measure-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    gap: 2.5rem 3rem;
  }
}

.size-guide-measure-copy .size-guide-measure-lead {
  text-align: left;
  font-size: 0.9375rem;
  margin: 0 0 1.75rem;
  color: var(--text, #111);
}

.size-guide-measure-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.size-guide-measure-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.size-guide-measure-letter {
  font-weight: 700;
}

.size-guide-measure-item p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted, #6b7280);
}

.size-guide-measure-figure {
  margin: 0;
  max-width: 420px;
  margin-inline: auto;
}

.size-guide-measure-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.size-guide-models-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.size-guide-models-head .size-guide-heading {
  margin: 0;
}

.size-guide-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .size-guide-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .size-guide-model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.size-guide-model-card {
  text-align: center;
}

.size-guide-model-name {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-guide-model-wearing {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted, #6b7280);
}

.size-guide-model-photo {
  padding: 0 0.75rem 1.5rem;
}

.size-guide-model-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.size-guide-zoomable {
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}

.size-guide-zoomable:hover,
.size-guide-zoomable:focus-visible {
  opacity: 0.92;
  outline: 2px solid rgba(17, 17, 17, 0.2);
  outline-offset: 2px;
}

.size-guide-measure-figure .size-guide-zoomable {
  border-radius: 4px;
}

.size-guide-model-error {
  text-align: center;
  color: var(--muted, #6b7280);
  font-size: 0.875rem;
}

.size-guide-unit-toggle {
  display: inline-flex;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 2px;
  overflow: hidden;
}

.size-guide-unit {
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border: none;
  background: #fff;
  color: var(--text, #111);
  cursor: pointer;
}

.size-guide-unit.is-active {
  background: var(--text, #111);
  color: #fff;
}

.section-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
}

.product-section { padding: 2rem 0 4rem; }

/* 商品网格 / 分类列表：全宽 + 左右留白（Novrla 风格） */
.product-section-inner,
.collection-section {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--listing-gutter);
  box-sizing: border-box;
}

.block-shell--full > .product-section--grid.shop-block,
.block-shell--container > .product-section--grid.shop-block {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.block-shell--full > .product-section--grid .product-section-inner,
.block-shell--container > .product-section--grid .product-section-inner {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--listing-gutter);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-sm, 2), 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(var(--cols-md, 3), 1fr); gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(var(--cols-lg, 4), 1fr); gap: 1.5rem; }
}

.product-card {
  background: var(--surface);
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.2s;
}

.product-card:hover { opacity: 0.92; }

.product-card-link { display: block; color: inherit; }

.product-card-media {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f3f4f6;
}

.product-card-media[style*="--img-h"] {
  aspect-ratio: unset;
  height: var(--img-h);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.product-card-media.img-media--cover img {
  object-fit: cover;
}

.product-card-media.img-media--contain img {
  object-fit: contain;
  object-position: center;
}

.product-card-media.img-media--fill img {
  object-fit: fill;
}

.product-card-media.img-media--cover img,
.product-card-media.img-media--fill img {
  height: 100%;
}

.product-card-media.img-media--contain {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-media.img-media--contain img {
  height: auto;
  max-height: 100%;
  width: auto;
  max-width: 100%;
}

.product-card:hover .product-card-media img { transform: scale(1.03); }

.product-card-body { padding: 0.875rem 0 0; }

.product-card h3 {
  font-size: 0.875rem;
  margin: 0 0 0.375rem;
  font-weight: 500;
  line-height: 1.4;
}

.product-card .price {
  margin: 0;
  color: var(--blk-price, var(--blk-text, #111111));
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Per-component scoped styles (isolated from global theme tokens) */
.shop-block {
  color: var(--blk-text, #111111);
  background: var(--blk-bg, transparent);
}

.shop-block .blk-title,
.shop-block .section-heading,
.shop-block .section-title,
.shop-block .split-banner-title,
.shop-block .promo-strip-title,
.shop-block .newsletter-title,
.shop-block h1,
.shop-block h2,
.shop-block h3.blk-title {
  color: var(--blk-title, inherit);
}

.shop-block .blk-subtitle,
.shop-block .hero-subtitle,
.shop-block .section-subtitle,
.shop-block .split-banner-subtitle,
.shop-block .promo-strip-subtitle,
.shop-block .newsletter-subtitle {
  color: var(--blk-subtitle, #6b7280);
}

.shop-block .blk-link,
.shop-block .section-link {
  color: var(--blk-link, inherit);
}

.shop-block .blk-price,
.shop-block .price.blk-price {
  color: var(--blk-price, inherit);
}

.shop-block .btn-blk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--blk-btn-bg, #111111);
  color: var(--blk-btn-text, #ffffff);
}

.product-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #eee, #ddd);
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.site-footer {
  background: var(--primary);
  color: #fff;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1rem 0 1.5rem;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .nav-toggle-label { display: inline-flex; }
  /* 旧版顶栏下拉：勿作用于侧滑抽屉 .nav-list--drawer 及其嵌套 .nav-list--sub */
  .nav-list:not(.nav-list--drawer):not(.nav-list--sub) {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    min-width: 12rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-toggle:checked ~ .nav-list:not(.nav-list--drawer):not(.nav-list--sub) { display: flex; }
}

.install-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, #1a1a2e, #0f3460);
}

.install-card {
  width: min(100%, 520px);
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}

.install-card h1 { margin-top: 0; color: var(--primary); }

.install-form fieldset {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.install-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.install-form input,
.install-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Configurable header — separate desktop / mobile bars */
.site-header-block {
  position: relative;
  z-index: 200;
}

.site-header-block.is-sticky {
  position: sticky;
  top: 0;
}

.header-desktop,
.header-mobile {
  min-height: var(--hdr-h, 64px);
}

.header-desktop {
  display: block;
  width: 100%;
}
.header-mobile { display: none; }

@media (max-width: 768px) {
  .header-desktop { display: none !important; }
  .header-mobile { display: block !important; }
}

/* ——— Desktop layouts ——— */
.header-desktop .header-inner {
  min-height: var(--hdr-h, 64px);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-desktop--spread .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-desktop--spread .header-slot--logo { justify-self: start; }
.header-desktop--spread .header-slot--nav { justify-self: center; }
.header-desktop--spread .header-slot--actions { justify-self: end; }

.header-desktop--logo-left .header-inner { justify-content: flex-start; }
.header-desktop--logo-left .header-slot--nav { flex: 1; display: flex; justify-content: center; }
.header-desktop--logo-left .header-slot--actions { margin-left: auto; }

.header-desktop--logo-center .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-desktop--logo-center .header-slot--logo { grid-column: 2; justify-self: center; }
.header-desktop--logo-center .header-slot--nav { grid-column: 1; justify-self: start; }
.header-desktop--logo-center .header-slot--actions { grid-column: 3; justify-self: end; }

.header-desktop .nav-list--inline {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-desktop .nav-list--inline a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

/* Desktop mega menu (multi-column dropdown) */
.header-desktop {
  position: relative;
  z-index: 200;
}
.header-desktop .main-nav {
  position: static;
}
.header-desktop .nav-list--mega {
  gap: clamp(1rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: center;
}
.header-desktop .nav-mega-root {
  position: static;
}
.header-desktop .nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--primary, #111);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: default;
  line-height: 1.2;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.header-desktop a.nav-mega-trigger {
  cursor: pointer;
}
.header-desktop .nav-mega-root:hover > .nav-mega-trigger,
.header-desktop .nav-mega-root:focus-within > .nav-mega-trigger,
.header-desktop .nav-mega-root.is-mega-open > .nav-mega-trigger {
  border-bottom-color: currentColor;
}
.header-desktop .nav-mega-backdrop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  min-height: 100vh;
  background: rgba(55, 65, 81, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
  z-index: 170;
}
.header-desktop.nav-mega-active .nav-mega-backdrop {
  opacity: 1;
  visibility: visible;
}
.header-desktop .nav-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  transition-delay: 0.08s;
  z-index: 185;
  background: #fff;
}
.header-desktop .nav-mega-root.is-mega-open > .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition-delay: 0s;
}
.header-desktop .nav-mega-panel-inner {
  background: transparent;
  pointer-events: auto;
  padding: 2rem 0 2.25rem;
  margin-top: 0;
}
.header-desktop .nav-mega-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-desktop .nav-mega-column {
  flex: 0 1 11rem;
  min-width: 9.5rem;
  max-width: 14rem;
}
.header-desktop .nav-mega-col-title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.3;
}
.header-desktop a.nav-mega-col-title--link {
  display: inline-block;
  text-decoration: none;
  color: #111;
}
.header-desktop a.nav-mega-col-title--link:hover {
  text-decoration: underline;
}
.header-desktop .nav-mega-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-desktop .nav-mega-col-link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #374151;
  line-height: 1.45;
}
.header-desktop .nav-mega-col-link:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .header-desktop .nav-mega-columns {
    gap: 1.5rem 2rem;
  }
  .header-desktop .nav-mega-column {
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: none;
  }
}

/* Mobile nested nav */
.nav-list--drawer .nav-drawer-row {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
}
.nav-list--drawer .nav-drawer-row > .nav-tree-link,
.nav-list--drawer .nav-drawer-row > a.nav-tree-link {
  flex: 1;
  min-width: 0;
}
.nav-list--drawer .nav-drawer-toggle {
  flex: 0 0 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--blk-link, #374151);
}
.nav-list--drawer .nav-drawer-toggle-icon {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.nav-list--drawer .nav-tree-item.is-drawer-open > .nav-drawer-row .nav-drawer-toggle-icon {
  transform: rotate(45deg);
}
.nav-list--drawer .nav-list--sub {
  list-style: none;
  margin: 0;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  margin-left: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.nav-list--drawer .nav-list--sub[hidden] {
  display: none !important;
}
/* Top-level drawer rows: link and group label share one typography */
.nav-list--drawer > .nav-tree-item > .nav-drawer-row .nav-tree-link,
.nav-list--drawer > .nav-tree-item > .nav-drawer-row .nav-folder-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--blk-link, #111);
}
.nav-list--drawer > .nav-tree-item > .nav-drawer-row .nav-folder-label {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.625rem;
  border-radius: 8px;
}
.nav-list--drawer .nav-list--sub .nav-folder-label {
  display: block;
  padding: 0.5rem 0.625rem;
  font-weight: 600;
  color: #6b7280;
  font-size: 0.875rem;
}
.nav-mega-col-link--text {
  display: block;
  padding: 0.25rem 0;
  color: #6b7280;
  font-size: 0.875rem;
  cursor: default;
}

/* ——— Mobile layouts ——— */
.header-mobile .header-inner-mobile {
  min-height: var(--hdr-h, 56px);
  display: grid;
  align-items: center;
  gap: 0.5rem;
}

.header-mobile--logo-center .header-inner-mobile {
  grid-template-columns: 2.75rem 1fr auto;
}

.header-mobile--logo-center .header-slot--menu { grid-column: 1; justify-self: start; }
.header-mobile--logo-center .header-slot--logo { grid-column: 2; justify-self: center; text-align: center; }
.header-mobile--logo-center .header-slot--actions { grid-column: 3; justify-self: end; }

.header-mobile--logo-left .header-inner-mobile {
  grid-template-columns: 2.75rem 1fr auto;
}

.header-mobile--logo-left .header-slot--logo { grid-column: 2; justify-self: start; }
.header-mobile--logo-left .header-slot--actions { grid-column: 3; justify-self: end; }

.header-mobile--menu-right .header-inner-mobile {
  grid-template-columns: 1fr auto 2.75rem;
}

.header-mobile--menu-right .header-slot--logo { grid-column: 1; justify-self: start; }
.header-mobile--menu-right .header-slot--actions { grid-column: 2; justify-self: end; margin-right: 0.25rem; }
.header-mobile--menu-right .header-slot--menu { grid-column: 3; justify-self: end; }

.header-mobile .nav-toggle--mobile { display: none; }

.header-mobile .nav-toggle-label {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blk-link, inherit);
}

.header-mobile .nav-toggle-label .icon { width: 1.375rem; height: 1.375rem; }

.header-mobile .search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  color: var(--blk-link, inherit);
}

.header-mobile .search-toggle .icon { width: 1.375rem; height: 1.375rem; }

.header-mobile .cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--blk-link, inherit);
}

.header-mobile .cart-link .icon { width: 1.375rem; height: 1.375rem; }

.header-mobile .cart-label { font-size: 0; width: 0; overflow: hidden; }
.header-mobile .cart-link:has(.cart-label:not(:empty)) .cart-label {
  font-size: inherit;
  width: auto;
  margin-left: 0.25rem;
}

/* Mobile drawer */
.header-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  visibility: hidden;
}

.nav-toggle--mobile:checked ~ .header-mobile-drawer {
  pointer-events: auto;
  visibility: visible;
}

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

.header-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(18rem, 88vw);
  height: 100%;
  background: var(--blk-bg, #fff);
  color: var(--blk-text, #111);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.nav-toggle--mobile:checked ~ .header-mobile-drawer .header-drawer-panel {
  transform: translateX(0);
}

.header-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-drawer-close {
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: var(--blk-link, inherit);
}

.nav-list--drawer {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: static;
  top: auto;
  right: auto;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.nav-list--drawer a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.625rem;
  border-radius: 8px;
  font-weight: 500;
}

.nav-list--drawer a:hover { background: rgba(0, 0, 0, 0.04); }

.logo-image img {
  max-height: calc(var(--hdr-h, 64px) - 18px);
  width: auto;
  display: block;
  margin-inline: auto;
}

.header-mobile--logo-center .logo-image img { margin-inline: auto; }

/* Store search overlay */

.store-search {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.store-search.is-open {
  display: flex;
}

.store-search-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(17, 17, 17, 0.55);
  cursor: pointer;
  pointer-events: auto;
}

.store-search-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 44rem);
  max-height: min(92vh, 44rem);
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 24px 64px rgba(17, 17, 17, 0.16);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .store-search.is-open {
    align-items: flex-start;
    padding-top: 4.5vh;
    padding-inline: 1rem;
  }

  .store-search-panel {
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .store-search-panel {
    width: 100%;
    min-height: 100%;
    max-height: none;
    border-radius: 0;
    border: none;
  }
}

.store-search-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
  background: #fff;
}

.store-search-tabs {
  display: flex;
  gap: 0;
  margin: 1rem 1.25rem 0;
  padding: 0.25rem;
  background: #f3f4f6;
  border-radius: 10px;
}

.store-search-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  padding: 0.5rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #6b7280);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.store-search-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.store-search-tab-icon .icon {
  width: 1.3125rem;
  height: 1.3125rem;
}

.store-search-tab.is-active {
  background: #fff;
  color: var(--primary, #111);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.store-search-tab.is-active .store-search-tab-icon {
  color: var(--accent, #c9a962);
}

.store-search-tab:hover,
.store-search-tab:focus-visible {
  color: var(--primary, #111);
  outline: none;
}

.store-search-tab:hover .store-search-tab-icon,
.store-search-tab:focus-visible .store-search-tab-icon {
  color: var(--accent, #c9a962);
}

.store-search-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem 1.125rem;
}

.store-search-combo {
  flex: 1 1 12rem;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.store-search-combo:focus-within {
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.22);
}

.store-search-mode {
  display: none;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.store-search-mode.is-active {
  display: flex;
}

.store-search-submit {
  flex-shrink: 0;
  padding: 0.5625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
}

.store-search-intent-input,
.store-search-like-input {
  flex: 1;
  min-width: 0;
  padding: 0.375rem 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary, #111);
  outline: none;
}

.store-search-intent-input::placeholder,
.store-search-like-input::placeholder {
  color: #9ca3af;
}

.store-search-image-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  background: #f9fafb;
  color: var(--muted, #6b7280);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.store-search-image-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
}

.store-search-image-preview.is-visible {
  display: block;
}

.store-search-image-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
}

.store-search-image-icon.is-hidden {
  display: none !important;
}

.store-search-image-btn.has-preview {
  border-color: var(--primary, #111);
  background: #fff;
}

.store-search-image-btn:hover,
.store-search-image-btn:focus-visible {
  color: var(--primary, #111);
  background: #f3f4f6;
  outline: none;
}

.store-search-image-btn.has-preview:hover,
.store-search-image-btn.has-preview:focus-visible {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.12);
}

.store-search-image-status {
  margin: 0;
  padding: 0 1.25rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted, #6b7280);
}

.store-search-icon {
  display: inline-flex;
  color: #9ca3af;
  flex-shrink: 0;
}

.store-search-combo:focus-within .store-search-icon {
  color: var(--accent, #c9a962);
}

.store-search-icon .icon { width: 1.125rem; height: 1.125rem; }

.store-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary, #111);
  outline: none;
}

.store-search-input::placeholder { color: #9ca3af; }

.store-search-close {
  flex-shrink: 0;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted, #6b7280);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.store-search-close:hover,
.store-search-close:focus-visible {
  color: var(--primary, #111);
  background: #f3f4f6;
  border-color: #e5e7eb;
  outline: none;
}

.store-search-results {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.store-search-results-count {
  margin: 0;
  padding: 0.625rem 1.25rem 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted, #6b7280);
  flex-shrink: 0;
}

.store-search-results-foot {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem 1rem;
}

.store-search-load-more {
  width: 100%;
}

.store-search-results-empty,
.store-search-results-error {
  margin: 0;
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted, #6b7280);
  font-size: 0.9375rem;
}

.store-search-results-error {
  color: #b45309;
}

.store-search-suggest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-search-scroll-sentinel {
  flex-shrink: 0;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.store-search-scroll-sentinel[hidden] {
  display: none;
}

.store-search-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1.25rem;
  color: inherit;
  text-decoration: none;
}

.store-search-suggest-item:hover,
.store-search-suggest-item:focus-visible {
  background: #f9fafb;
  outline: none;
}

.store-search-suggest-thumb {
  width: 3rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 4px;
  background: #f3f4f6;
  flex-shrink: 0;
}

.store-search-suggest-thumb--empty { display: block; }

.store-search-suggest-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.store-search-suggest-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-search-suggest-price {
  font-size: 0.875rem;
  color: var(--muted, #6b7280);
}

/* Store cart drawer — Novrla-style */

.store-cart {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 520;
}

.store-cart.is-open { display: block; }

.store-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  cursor: pointer;
}

.store-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 24rem);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

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

.store-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.store-cart-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.store-cart-close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
}

.store-cart-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.25rem;
}

.store-cart-empty {
  text-align: center;
  padding: 2rem 0.5rem;
  color: #6b7280;
}

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

.store-cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-cart-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.store-cart-line-image {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f4f6;
}

.store-cart-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-cart-line-image--empty {
  display: block;
  aspect-ratio: 3 / 4;
  background: #f3f4f6;
}

.store-cart-line-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: #111;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.store-cart-line-title:hover { opacity: 0.85; }

.store-cart-line-options {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.store-cart-line-option + .store-cart-line-option { margin-left: 0.5rem; }

.store-cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 0.125rem;
  margin-bottom: 0.375rem;
}

.store-cart-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: #111;
}

.store-cart-qty-val {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
}

.store-cart-remove {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.75rem;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.store-cart-line-price {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.store-cart-foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.store-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}

.store-cart-foot .btn-block { margin-top: 0.5rem; }

/* Search results page */
.search-page-form {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  max-width: 36rem;
}

.search-page-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  font-size: 1rem;
}

.search-page-input:focus {
  outline: 2px solid var(--accent, #111);
  outline-offset: 1px;
}

.search-page-hint {
  color: var(--muted, #6b7280);
  margin-top: 0.5rem;
}

.search-page-form--extended {
  flex-direction: column;
  max-width: 42rem;
}

.search-page-main-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.search-filters-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  background: var(--surface, #fafafa);
}

.search-filters-panel label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.search-filters-panel input,
.search-filters-panel textarea {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
}

.search-filters-grid {
  gap: 0.75rem;
}

.search-filters-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.search-image-fieldset {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  border: 1px dashed var(--border, #e5e7eb);
  border-radius: 6px;
}

.search-image-upload-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.admin-fieldset {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--border, #ddd);
  border-radius: 8px;
}

.admin-fieldset legend {
  padding: 0 0.5rem;
  font-weight: 600;
}

.site-footer-block .footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

.footer-grid--2 { grid-template-columns: repeat(2, 1fr); }
.footer-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .footer-grid--2, .footer-grid--3 { grid-template-columns: 1fr; }
}

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

.footer-links li { margin: 0.375rem 0; }

.footer-heading, .footer-brand {
  display: block;
  margin-bottom: 0.5rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.footer-text { margin: 0.5rem 0 0; }

/* Product detail — Novrla-inspired */
.product-detail-page { background: #fff; }
.product-detail-page .site-header { background: #fff; }
.product-detail { padding: 1rem 0 3rem; }
.product-detail .container { width: min(100% - 1.5rem, 1200px); }

.breadcrumb-product {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumb-product a { color: inherit; text-decoration: none; }
.breadcrumb-product a:hover { color: #111; text-decoration: underline; }
.breadcrumb-sep { color: #9ca3af; }
.breadcrumb-current { color: #374151; }

.product-detail-grid {
  display: grid;
  gap: 2rem 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem 4rem;
  }
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.gallery-main-wrap { position: relative; }
.gallery-main,
.gallery-main-zoomable {
  background: #f3f4f6;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
}
.gallery-main-zoomable picture { width: 100%; height: 100%; display: block; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.92);
  color: #374151;
  font-size: 0.75rem;
  font-weight: 500;
}
.gallery-thumbs-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  --gallery-thumb-gap: 0.625rem;
  --gallery-thumb-visible: 4;
}
.gallery-thumbs-wrap > .gallery-nav:first-of-type { margin-right: 0.875rem; }
.gallery-thumbs-wrap > .gallery-nav:last-of-type { margin-left: 0.875rem; }
.gallery-thumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gallery-thumb-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 calc((100% - var(--gallery-thumb-gap) * (var(--gallery-thumb-visible) - 1)) / var(--gallery-thumb-visible));
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: #f3f4f6;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
}
.gallery-thumb.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-page .gallery-nav {
  flex-shrink: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: 1.625rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-detail-page .gallery-nav:hover { opacity: 0.65; }

@media (max-width: 767px) {
  .gallery-thumbs-wrap {
    --gallery-thumb-visible: 3;
    gap: 0.5rem;
    --gallery-thumb-gap: 0.5rem;
  }
  .product-detail-page .gallery-nav { font-size: 1.375rem; }
}

/* Gallery lightbox */
body.gallery-lightbox-open { /* marker for lightbox state */ }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}
.gallery-lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  color: #fff;
}
.gallery-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem 1rem;
  flex-shrink: 0;
}
.gallery-lightbox-count { font-size: 0.875rem; font-weight: 500; }
.gallery-lightbox-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}
.gallery-lightbox-close:hover { opacity: 1; }
.gallery-lightbox-body {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
}
.gallery-lightbox-nav {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.gallery-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  max-height: calc(92vh - 4rem);
}
.gallery-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery-lightbox-sidebar {
  width: 120px;
  max-height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.gallery-lightbox-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-height: calc(92vh - 5rem);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 2px;
}
.gallery-lightbox-thumbs::-webkit-scrollbar { display: none; }
.gallery-lightbox-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #222;
  aspect-ratio: 3 / 4;
}
.gallery-lightbox-thumb.is-active { border-color: #fff; }
.gallery-lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 767px) {
  .gallery-lightbox-body {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr auto;
  }
  .gallery-lightbox-sidebar {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 88px;
  }
  .gallery-lightbox-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    max-height: 88px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
  }
  .gallery-lightbox-thumb { flex: 0 0 56px; width: 56px; height: 74px; }
}

/* Buy panel */
.product-buy-panel { padding-top: 0.25rem; }
.product-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0 0 0.625rem;
  color: #111;
}
.product-social-proof {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.social-fire { font-size: 0.875rem; }

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin: 0 0 0.5rem;
}
.product-detail-page .price-lg {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.product-detail-page .price-compare {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 400;
}
.product-detail-page .stock-hint {
  color: #6b7280;
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
}
.product-promo {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
  line-height: 1.5;
}
.product-promo strong { display: block; color: #dc2626; font-weight: 600; margin-bottom: 0.125rem; }
.product-promo span { color: #374151; }

.buy-box { margin: 0; display: flex; flex-direction: column; gap: 1rem; max-width: 100%; }
.variant-picker { border: 0; margin: 0; padding: 0; }
.option-picker { border: 0; margin: 0; padding: 0; }
.variant-picker-label,
.option-picker-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: #111;
}
.variant-grid,
.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
}

.variant-pill,
.option-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 2.75rem;
  width: auto;
  max-width: 100%;
  padding: 0.5rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #111;
  white-space: nowrap;
  text-align: center;
  flex: 0 0 auto;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.variant-pill:hover { border-color: #111; }
.option-pill:hover:not(:disabled) { border-color: #111; }
.variant-pill.is-selected,
.option-pill.is-selected {
  border-color: #111;
  border-width: 2px;
  box-shadow: inset 0 0 0 1px #111;
  background: #fff;
  color: #111;
}
.option-pill.is-disabled,
.option-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}
.qty-label { font-size: 0.875rem; font-weight: 600; color: #111; min-width: 5rem; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1.125rem;
  color: #111;
}
.qty-btn:hover { background: #f9fafb; }
.qty-stepper input {
  width: 3rem;
  text-align: center;
  border: 0;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  background: transparent;
  font-size: 0.9375rem;
  height: 2.5rem;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.subtotal-line { margin: 0; font-size: 0.9375rem; color: #374151; }
.subtotal-line strong { color: #111; }

.buy-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.625rem;
  align-items: stretch;
}
.product-detail-page .btn-add-cart {
  width: 100%;
  justify-content: center;
  padding: 0.9375rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.product-detail-page .btn-add-cart:hover { background: #333; }
.product-detail-page .btn-share {
  padding: 0 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.product-detail-page .btn-share:hover { border-color: #111; }

.product-shipping-box {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #4b5563;
}
.shipping-box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 0.5rem;
}
.product-shipping-box p { margin: 0 0 0.25rem; }
.shipping-note { margin-top: 0.5rem !important; color: #6b7280; }

/* Description — full width below grid, bordered content frame */
.product-detail-page .product-detail-tabs-section {
  margin-top: 3rem;
  width: 100%;
}
.product-detail-page .product-detail-tabs-nav::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 1.25rem;
}
.product-detail-page .product-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem 2.75rem;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}
.product-detail-page .product-detail-tabs-section .product-detail-tab {
  display: inline-block;
  margin: 0;
  padding: 0 0 0.35rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  line-height: 1.2;
  text-align: center;
  user-select: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.product-detail-page .product-detail-tab:hover .product-detail-tab-label {
  color: #374151;
}
.product-detail-page .product-detail-tab:focus {
  outline: none;
}
.product-detail-page .product-detail-tab:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}
.product-detail-page .product-detail-tab-label {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.product-detail-page .product-detail-tab.is-active .product-detail-tab-label {
  color: #111;
}
.product-detail-page .product-detail-tab.is-active {
  border-bottom-color: #111;
}
.product-detail-page .product-detail-tab-panel[hidden] {
  display: none !important;
}
.product-detail-page .product-reviews-frame {
  min-height: 4rem;
}
.product-detail-page .product-reviews-loading {
  text-align: center;
  padding: 2rem 1rem;
  color: #6b7280;
  margin: 0;
}
.product-detail-page .product-reviews-is-loading .product-reviews-body {
  min-height: 0;
}
.product-reviews-loading,
.product-reviews-empty {
  color: var(--color-muted, #666);
  margin: 0 0 1rem;
}
.product-reviews-count {
  font-weight: 600;
  margin: 0 0 1rem;
}
.product-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-review-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border, #eee);
}
.product-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.product-review-stars {
  letter-spacing: 0.05em;
  color: #c9a227;
}
.product-review-author {
  font-weight: 600;
}
.product-review-date {
  color: var(--color-muted, #888);
}
.product-review-body {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
}
.product-detail-page .product-review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.875rem;
}
.product-detail-page .product-review-image-link {
  display: block;
  line-height: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-reviews-body {
  padding-top: 0.25rem;
  border-top: 1px solid #eee;
  margin-top: 0.5rem;
}
.product-reviews-body:empty {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.product-reviews-filter-note {
  margin: 0.75rem 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-muted, #888);
}
.product-reviews-scroll-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}
.product-reviews-tail-loading {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.75rem 0 0;
}
/* Review photo lightbox (3-column body — not product gallery grid) */
.review-image-lightbox .gallery-lightbox-inner {
  width: min(98vw, 1120px);
  height: min(96vh, 940px);
  pointer-events: none;
}
.review-image-lightbox .gallery-lightbox-toolbar,
.review-image-lightbox .gallery-lightbox-body,
.review-image-lightbox .gallery-lightbox-nav,
.review-image-lightbox .gallery-lightbox-close {
  pointer-events: auto;
}
.review-image-lightbox .gallery-lightbox-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  position: relative;
  padding: 0 3rem;
  grid-template-columns: unset;
}
.review-image-lightbox .gallery-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: calc(96vh - 4.5rem);
  min-height: 0;
}
.review-image-lightbox .gallery-lightbox-stage img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: min(calc(96vh - 5rem), 880px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}
.review-image-lightbox .gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}
.review-image-lightbox .gallery-lightbox-prev {
  left: 0.35rem;
}
.review-image-lightbox .gallery-lightbox-next {
  right: 0.35rem;
}
body.gallery-lightbox-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .review-image-lightbox .gallery-lightbox-body {
    padding: 0 2.75rem;
  }
  .review-image-lightbox .gallery-lightbox-stage img {
    max-height: min(calc(96vh - 4.5rem), 720px);
  }
  .review-image-lightbox .gallery-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}
.product-detail-page .product-review-image-link:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.product-detail-page .product-review-image {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .product-detail-page .product-review-image {
    width: 104px;
    height: 104px;
  }
}
.product-detail-page .product-review-date {
  font-variant-numeric: tabular-nums;
}
.product-card-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0.25rem 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: #6b7280;
}
.product-card-rating[hidden] {
  display: none !important;
}
.product-card-rating-stars {
  letter-spacing: 0.04em;
  color: #c9a227;
  font-size: 0.75rem;
}
.product-card-rating-value {
  font-weight: 600;
  color: #374151;
}
.product-card-rating-count {
  color: #9ca3af;
}
.product-reviews-more {
  margin-top: 1rem;
}
.product-review-compose-wrap {
  margin-bottom: 2rem;
}
.product-review-compose {
  padding: 1.25rem 1.125rem 1.375rem;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdfcfb 0%, #faf8f5 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.product-review-compose-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif, Georgia, "Times New Roman", serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1f2937;
}
.product-review-compose-lead {
  margin: 0 0 1.125rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #6b7280;
}
.product-review-compose-field {
  margin-bottom: 1rem;
}
.product-review-compose-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4b5563;
}
.product-review-star-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}
.product-review-star-input-btn {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.12s ease, transform 0.12s ease, background 0.12s ease;
}
.product-review-star-input-btn:hover,
.product-review-star-input-btn:focus-visible {
  color: #e4bc4a;
  background: rgba(201, 162, 39, 0.08);
  outline: none;
}
.product-review-star-input-btn.is-active {
  color: #c9a227;
}
.product-review-star-input-btn:active {
  transform: scale(0.94);
}
.product-review-compose-input,
.product-review-compose-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-review-compose-textarea {
  resize: vertical;
  min-height: 6.5rem;
}
.product-review-compose-input:focus,
.product-review-compose-textarea:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
  outline: none;
}
.product-review-compose-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #b45309;
}
.product-review-compose-actions {
  margin-top: 0.25rem;
}
.product-review-compose-submit {
  width: 100%;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
}
.product-review-compose-toast {
  margin-top: 1rem;
  animation: productReviewToastIn 0.35s ease;
}
.product-review-compose-toast[hidden] {
  display: none !important;
}
.product-review-compose-toast-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #14532d;
}
.product-review-compose-toast-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.product-review-compose-toast-title {
  margin: 0 0 0.2rem;
  font-weight: 600;
  font-size: 0.9375rem;
}
.product-review-compose-toast-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #166534;
}
@keyframes productReviewToastIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 640px) {
  .product-review-compose {
    padding: 1.5rem 1.5rem 1.625rem;
  }
  .product-review-compose-submit {
    width: auto;
    min-width: 11rem;
  }
}
@media (max-width: 479px) {
  .product-review-star-input-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
  .product-review-compose {
    padding: 1rem 0.875rem 1.125rem;
    border-radius: 10px;
  }
}
.product-description-section {
  margin-top: 3rem;
  width: 100%;
}
.description-heading {
  text-align: center;
  margin-bottom: 0;
}
.description-heading::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 1.25rem;
}
.description-heading h2 {
  display: inline-block;
  margin: 0 auto 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #111;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
}
.description-frame {
  border: 1px solid #e5e7eb;
  padding: 1.5rem 1.75rem;
  width: 100%;
  box-sizing: border-box;
}
.product-desc-body {
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #374151;
}
.product-desc-body ul { padding-left: 1.25rem; }
.product-desc-body li { margin-bottom: 0.375rem; }

/* Legacy product detail (other pages) */
.product-detail-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 768px) {
  .product-detail-page .product-detail-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.product-buy-panel { position: static; }
.vendor, .product-tags { color: var(--muted); margin: 0.25rem 0; font-size: 0.9375rem; }
.prose-block img { border-radius: 4px; margin: 1rem 0; }
.checkout-page, .checkout-page { padding: 2rem 0 4rem; }
.checkout-promo-row { display: flex; gap: 0.5rem; margin-bottom: 0.375rem; }
.checkout-promo-row input { flex: 1; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; font-size: 0.9375rem; }
.field-hint--success { color: #059669; }
.field-hint--error { color: #dc2626; }
.newsletter-result { margin-top: 0.75rem; font-size: 0.875rem; }
.newsletter-result--success { color: #059669; }
.newsletter-result--error { color: #dc2626; }
.breadcrumb { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.price-lg { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin: 0.75rem 0; }
.price-range { font-size: 1rem; font-weight: 500; color: var(--muted); }
.prose-block { line-height: 1.7; }
.page-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.cart-layout, .checkout-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
}
.cart-line { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-line-image img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.cart-line-title { font-size: 1rem; margin: 0 0 0.25rem; }
.cart-line-meta { margin: 0; color: var(--muted); font-size: 0.875rem; }
.cart-line-price { font-weight: 600; }
.cart-summary, .checkout-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; position: sticky; top: 1rem; }
.cart-summary h2, .checkout-summary h2 { font-size: 1.125rem; margin: 0 0 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; font-size: 0.9375rem; }
.summary-total { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; justify-content: center; margin-top: 0.75rem; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.checkout-items { list-style: none; margin: 0 0 1rem; padding: 0; }
.checkout-item { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; padding: 0.625rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.checkout-item img { border-radius: 6px; object-fit: cover; }

/* Checkout — Novrla / Shopify-style split layout */
.page-checkout { background: #fff; }
.page-checkout .site-footer { margin-top: 0; }
.checkout-alert-bar {
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid #fecaca;
}
.checkout-shell {
  width: 100%;
  min-height: calc(100vh - 120px);
}
.checkout-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width: 999px) {
  .checkout-order {
    order: -1;
    border-top: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .checkout-order-toggle {
    pointer-events: none;
    color: #111;
    font-weight: 600;
    font-size: 1.0625rem;
    padding-top: 0;
  }
  .checkout-order-toggle-label {
    text-decoration: none;
  }
  .checkout-order-toggle-total {
    display: none;
  }
  .checkout-order-panel,
  .checkout-order-panel.is-collapsed {
    display: block;
  }
}
@media (min-width: 1000px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 42%);
  }
}
.checkout-main {
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 3rem;
  max-width: 640px;
  margin-inline: auto;
}
@media (min-width: 1000px) {
  .checkout-main {
    margin-inline: 0;
    margin-left: auto;
    padding-right: 3rem;
  }
}
.checkout-shell .checkout-form {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.checkout-block {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.checkout-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
.checkout-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.checkout-block h2 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111;
}
.checkout-block-head h2 { margin-bottom: 0; }
.checkout-field { margin-bottom: 0.75rem; }
.checkout-field label {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.checkout-input,
.checkout-select,
.checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8125rem 0.875rem;
  font: inherit;
  font-size: 0.9375rem;
  color: #111;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.checkout-input::placeholder { color: #9ca3af; }
.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.checkout-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.checkout-combobox {
  position: relative;
}
.checkout-input--searchable {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.checkout-input--searchable:disabled {
  background-color: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}
.checkout-suggest-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  max-height: 14rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.checkout-suggest-item {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  cursor: pointer;
}
.checkout-suggest-item:hover,
.checkout-suggest-item.is-active {
  background: #f3f4f6;
}
.checkout-row-2 {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .checkout-row-2 { grid-template-columns: 1fr 1fr; }
}
.checkout-field--notes { margin-top: 0.25rem; }
.checkout-shipping-placeholder {
  padding: 1rem 1.125rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}
.checkout-shipping-options {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.checkout-shipping-card {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
}
.checkout-shipping-card:has(input:checked) {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.checkout-shipping-card input { margin-top: 0.25rem; accent-color: #111; }
.checkout-shipping-card-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
}
.checkout-shipping-card-price { font-weight: 500; }
.checkout-payment-note {
  margin: -0.5rem 0 1rem;
  font-size: 0.8125rem;
  color: #6b7280;
}
.checkout-payment-panel {
  padding: 1.25rem 1rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
}
.checkout-payment-panel p { margin: 0; }
.checkout-pay-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 1.5rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s;
}
.checkout-pay-btn:hover { background: #333; }
.checkout-pay-frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
.checkout-pay-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.checkout-pay-order { margin-bottom: 1rem; }
.checkout-pay-loading { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.checkout-pay-iframe {
  border: none;
  width: 100%;
  min-height: min(720px, 85vh);
  border-radius: 8px;
  background: #fafafa;
}
.checkout-pay-fallback { margin-top: 1rem; font-size: 0.8125rem; }
.checkout-order {
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
}
@media (min-width: 1000px) {
  .checkout-order {
    border-top: none;
    border-left: 1px solid #e5e7eb;
    min-height: calc(100vh - 80px);
    position: sticky;
    top: 0;
  }
}
.checkout-order-inner {
  padding: 1rem clamp(1rem, 4vw, 2rem) 2rem;
  max-width: 480px;
  margin-inline: auto;
}
@media (min-width: 1000px) {
  .checkout-order-inner {
    max-width: none;
    padding: 2.5rem 2.5rem 3rem;
  }
}
.checkout-order-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font: inherit;
  font-size: 0.9375rem;
  color: #2563eb;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1000px) {
  .checkout-order-toggle {
    pointer-events: none;
    color: #111;
    font-weight: 600;
    font-size: 1.0625rem;
    padding-top: 0;
  }
  .checkout-order-toggle-total { display: none; }
}
.checkout-order-toggle-label { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1000px) {
  .checkout-order-toggle-label { text-decoration: none; }
}
.checkout-order-toggle-total { font-weight: 600; color: #111; text-decoration: none; }
.checkout-order-panel.is-collapsed { display: none; }
@media (min-width: 1000px) {
  .checkout-order-panel.is-collapsed { display: block; }
}
.checkout-line-items {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.checkout-line-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.75rem 0;
}
.checkout-line-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.checkout-line-thumb img,
.checkout-line-thumb-fallback {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}
.checkout-line-thumb-fallback { background: #e5e7eb; }
.checkout-line-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.375rem;
  height: 1.375rem;
  padding: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  background: #6b7280;
  border-radius: 999px;
  border: 2px solid #fafafa;
}
.checkout-line-title {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: #111;
}
.checkout-line-variant {
  margin: 0 0 0.375rem;
  font-size: 0.8125rem;
  color: #6b7280;
}
.checkout-line-prices { margin: 0; }
.checkout-line-price {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111;
}
.checkout-discount { margin-bottom: 1.25rem; }
.checkout-discount-label {
  display: block;
  position: static;
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
}
.checkout-promo-apply {
  flex-shrink: 0;
  padding: 0 1.125rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  cursor: pointer;
}
.checkout-promo-apply:hover { background: #e5e7eb; }
.checkout-promo-msg { margin: 0.375rem 0 0; font-size: 0.8125rem; }
.checkout-totals { font-size: 0.875rem; color: #374151; }
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.625rem;
}
.checkout-total-row--grand {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  align-items: baseline;
  font-size: 1rem;
  color: #111;
}
.checkout-total-row--grand strong {
  font-size: 1.375rem;
  font-weight: 600;
}
.checkout-currency {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  margin-right: 0.25rem;
}
.checkout-free-shipping-hint {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}
.text-muted { color: var(--muted); }
.list-meta { color: var(--muted); font-size: 0.875rem; margin: 0 0 1rem; }
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.pagination-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
}
.pagination-link:hover { border-color: #111; }
.pagination-info { font-size: 0.875rem; color: var(--muted); }

/* Collection listing — Novrla-style */
.collection-page { background: #fff; }
.collection-section { padding-top: 1.5rem; padding-bottom: 3rem; }
.collection-section .product-grid--listing {
  padding-inline: 0;
}
.collection-header { text-align: center; margin-bottom: 1.5rem; }
.collection-header h1 {
  margin: 0 0 0.375rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.collection-desc {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.collection-result-count {
  margin: 0;
  font-size: 0.875rem;
  color: #374151;
}
.collection-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}
.collection-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #374151;
}
.collection-filter-label { white-space: nowrap; }
.collection-select {
  min-width: 9rem;
  padding: 0.375rem 1.75rem 0.375rem 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  appearance: none;
  font-size: 0.8125rem;
  color: #111;
  cursor: pointer;
}
.product-grid--listing { gap: 1.25rem; }
@media (min-width: 1024px) {
  .product-grid--listing { gap: 1.5rem 1.25rem; }
}
.product-card--listing .product-card-inner { position: relative; }
.product-card-media-wrap {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
}
.product-card--listing .product-card-media-link { display: block; }
.product-card-hover-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.product-card--listing:hover .product-card-hover-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.product-card-action {
  display: block;
  width: 100%;
  padding: 0.75rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.product-card-action:hover { background: #fff; }
.product-card-action.is-loading { opacity: 0.6; pointer-events: none; }
.product-card--listing .product-card-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
  text-align: center;
}
.product-card--listing .product-card-title-link:hover { opacity: 0.85; }
.product-card--listing .product-card-body {
  padding: 0.75rem 0.375rem 0;
  text-align: center;
}
.product-card--listing h3 {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 0.375rem;
  text-align: center;
}
.product-card--listing .price {
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.collection-pagination {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.collection-showing {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.pagination--numbered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.pagination-num {
  min-width: 2rem;
  text-align: center;
  padding: 0.375rem 0.5rem;
}
.pagination-current {
  min-width: 2rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111;
}
.pagination-ellipsis {
  min-width: 1.5rem;
  padding: 0.375rem 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  user-select: none;
}

/* Shop keyword live feed */
.collection-live-sentinel {
  height: 1px;
  width: 100%;
}
.collection-live-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.collection-live-loader[hidden] {
  display: none !important;
}
.collection-live-sentinel[hidden] {
  display: none !important;
}
.collection-live-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #e5e7eb;
  border-top-color: #111;
  border-radius: 50%;
  animation: collection-live-spin 0.7s linear infinite;
}
@keyframes collection-live-spin {
  to { transform: rotate(360deg); }
}
.collection-live-error {
  text-align: center;
  color: #b91c1c;
  font-size: 0.875rem;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.collection-live-error[hidden] {
  display: none !important;
}
.collection-live-retry {
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
}

html.collection-scroll-restore {
  overflow: hidden;
  scroll-behavior: auto !important;
}
html.collection-scroll-restore .collection-live {
  visibility: hidden;
}

.collection-skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: collection-skeleton-pulse 1.2s ease-in-out infinite;
}
.collection-skeleton-media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(90deg, #f3f4f6 25%, #eceff3 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  border-radius: 0.25rem;
}
.collection-skeleton-line {
  height: 0.875rem;
  border-radius: 0.25rem;
  background: #f3f4f6;
}
.collection-skeleton-line--title { width: 85%; }
.collection-skeleton-line--price { width: 40%; }
@keyframes collection-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.product-card--live .product-card-title-link h3::after {
  content: none;
}

.product-live-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.375rem;
  color: #0c4a6e;
  font-size: 0.875rem;
  line-height: 1.5;
}

.product-detail-page--pending .product-pending-root {
  min-height: 28rem;
}
.product-detail-skeleton {
  pointer-events: none;
}
.product-pending-gallery-main {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
.product-pending-thumb-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: center;
}
.product-pending-thumb {
  width: 4.5rem;
  aspect-ratio: 3 / 4;
}
.product-pending-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.product-pending-line-lg { width: 90%; height: 1.75rem; }
.product-pending-line-md { width: 40%; height: 1.25rem; }
.product-pending-line-sm { width: 60%; height: 1rem; }
.product-pending-line-btn {
  width: 100%;
  max-width: 18rem;
  height: 3rem;
  margin-top: 0.5rem;
}
.product-pending-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.product-pending-pill {
  width: 3.5rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #f3f4f6;
  animation: collection-skeleton-pulse 1.2s ease-in-out infinite;
}
.product-pending-error {
  text-align: center;
  color: #b91c1c;
  font-size: 0.875rem;
  margin: 1.5rem 0 0;
}

.gallery-thumb[hidden] { display: none; }
.shop-sync-keyword-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 240px; overflow: auto; padding: 0.5rem 0; }
.shop-sync-kw-item { align-items: flex-start; gap: 0.5rem; }
.admin-thumb-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.admin-thumb-list li a { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; }

/* ——— Mobile layout fixes ——— */
@media (max-width: 767px) {
  html {
    overflow-x: clip;
  }

  body {
    min-width: 0;
  }

  .container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
  }

  /* full 区块内恢复左右对称边距（Hero / 背景图文 / 促销条保持全宽） */
  .block-shell--full > .container,
  .block-shell--full section.shop-block > .container,
  .block-shell--full .section-header.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
    padding-inline: 0;
  }

  .block-shell--full > .hero--center,
  .block-shell--full > .split-banner--background,
  .block-shell--full > .promo-strip {
    width: 100%;
    max-width: none;
  }

  .hero--center .hero-center-copy {
    padding-inline: 1.25rem;
  }

  .section-title-row {
    gap: 0.625rem;
  }

  .section-heading--divider {
    white-space: normal;
    text-align: center;
    font-size: clamp(1.125rem, 5vw, 1.5rem);
  }

  .header-mobile .container,
  .header-desktop .container {
    width: min(100% - 1.5rem, var(--max-width));
    margin-inline: auto;
  }

  .product-section-inner,
  .collection-section {
    padding-inline: clamp(0.625rem, 3vw, 1rem);
  }

  .category-tiles {
    gap: 0.625rem;
  }

  .product-grid {
    gap: 0.75rem;
  }

  .split-banner-inner--overlay {
    padding-inline: 1rem;
  }

  /* 横幅轮播：移动端仅圆点，避免与文案/箭头拥挤 */
  .banner-carousel-controls {
    bottom: 0.75rem;
    gap: 0;
    padding-inline: 1rem;
  }

  .hero--center .banner-carousel-controls,
  .split-banner-inner--overlay .banner-carousel-controls {
    bottom: 0.875rem;
  }

  .banner-carousel-prev,
  .banner-carousel-next {
    display: none;
  }

  .banner-carousel-dots {
    gap: 0.375rem;
  }

  .banner-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: rgba(255, 255, 255, 0.5);
  }

  .banner-dot.is-active {
    width: 1.125rem;
    border-radius: 999px;
    background: #fff;
    transform: none;
  }

  .hero--split.hero--carousel .banner-carousel-controls,
  .split-banner-inner.banner-carousel .banner-carousel-controls,
  .split-banner--split-left .banner-carousel-controls,
  .split-banner--split-right .banner-carousel-controls {
    margin-top: 0.75rem;
  }

  .hero--center.hero--carousel .hero-valign--bottom .hero-center-copy {
    padding-bottom: clamp(2.5rem, 6vw, 3.25rem);
  }

  .collection-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .collection-toolbar-controls {
    justify-content: space-between;
    width: 100%;
  }

  .product-card-hover-actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .product-card-action {
    font-size: 0.6875rem;
    padding: 0.5rem 0.375rem;
  }
}
.admin-thumb-list img { border-radius: 4px; object-fit: cover; }
