:root {
  --paper: #f7f5ef;
  --ink: #171512;
  --muted: #6f6a61;
  --line: rgba(23, 21, 18, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --surface: #ffffff;
  --surface-warm: #ede7da;
  --market: #1f7a5a;
  --market-dark: #14543f;
  --gold: #be9652;
  --charcoal: #24211d;
  --max: 1180px;
}

/* Product-led homepage reset: cinematic hero first, uniform product wall second */
.home-page {
  background:
    linear-gradient(180deg, #f3f1ea 0%, #f8f7f2 42%, #ece7dc 100%);
}

.home-page::before {
  opacity: 0.42;
}

.demo-order-note {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 16px;
  background: rgba(31, 122, 90, 0.08);
}

.demo-order-note strong {
  color: var(--market-dark);
}

.demo-order-note span {
  color: var(--muted);
  line-height: 1.5;
}

.order-lookup-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 84, 63, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.order-lookup-summary strong {
  color: var(--market-dark);
  font-size: 16px;
}

.order-lookup-summary span,
.order-lookup-summary small {
  color: var(--muted);
  line-height: 1.45;
}

.home-page .market-header {
  width: min(calc(100% - 32px), 1480px);
  min-height: 72px;
}

.home-page .market-nav {
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.language-switcher button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: #fff;
  background: var(--ink);
}

.home-page .nav-pill {
  padding-inline: 18px;
  border-radius: 14px;
  background: #151614 !important;
}

.home-page .electro-hero {
  width: min(calc(100% - 32px), 1480px);
  min-height: clamp(650px, calc(100dvh - 86px), 900px);
  margin-top: 12px;
  border: 0;
  border-radius: 22px;
  background: #171817;
  box-shadow: 0 34px 90px rgba(22, 24, 22, 0.22);
}

.home-page .electro-hero-media {
  transform: scale(1.02);
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.04);
  animation: heroSlowZoom 12s ease-in-out infinite alternate;
}

.home-page .electro-hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.82) 0%, rgba(12, 13, 12, 0.58) 31%, rgba(12, 13, 12, 0.08) 65%, rgba(12, 13, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 13, 12, 0.08) 0%, rgba(12, 13, 12, 0.74) 100%);
}

.home-page .electro-hero-content {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  min-height: 100%;
  padding: clamp(30px, 5.2vw, 78px);
}

.home-page .electro-hero .hero-copy {
  align-content: center;
  padding-top: 0;
}

.home-page .electro-hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.home-page .electro-hero h1 {
  max-width: 680px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(56px, 8.2vw, 122px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.home-page .hero-meaning-badge {
  display: inline-grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  max-width: min(100%, 560px);
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.home-page .hero-meaning-badge span,
.home-page .hero-meaning-badge strong,
.home-page .hero-meaning-badge small {
  min-width: 0;
  line-height: 1.15;
}

.home-page .hero-meaning-badge span {
  font-size: 15px;
  font-weight: 900;
}

.home-page .hero-meaning-badge strong {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
}

.home-page .hero-meaning-badge small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .electro-hero .hero-lead {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
}

.home-page .hero-actions {
  margin-top: 26px;
}

.home-page .electro-hero .button {
  min-height: 52px;
  border-radius: 14px;
  background: #f1eee6;
  color: #161715;
  box-shadow: none;
}

.home-page .electro-hero .button:hover {
  background: #ffffff;
}

.home-page .hero-deal-panel {
  align-self: center;
  width: min(300px, 100%);
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(20, 22, 20, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.home-page .hero-deal-panel strong {
  font-size: clamp(22px, 2.1vw, 32px);
}

.home-page .hero-deal-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.home-page .hero-hot-row {
  left: clamp(14px, 2.6vw, 38px);
  right: clamp(14px, 2.6vw, 38px);
  bottom: clamp(14px, 2.4vw, 34px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-page .hero-hot-row article {
  min-height: 106px;
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(245, 243, 235, 0.82);
  box-shadow: none;
}

.home-page .hero-hot-row article.is-active {
  background: #ffffff;
  transform: translateY(-4px);
}

.home-page .hero-hot-row img {
  width: 84px;
  height: 78px;
  border-radius: 12px;
  object-fit: contain;
  background: #f1f1ee;
}

.home-page .hero-hot-row span {
  color: #8d4c2d;
}

.home-page .product-area {
  width: min(calc(100% - 32px), 1480px);
  padding-top: clamp(38px, 5vw, 72px);
}

.home-page .product-area .section-title {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  max-width: none;
  margin-bottom: 20px;
}

.home-page .product-area .section-title h2 {
  font-size: clamp(34px, 4.5vw, 68px);
}

.home-page .product-area .section-title p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  font-size: 14px;
}

.home-page .commerce-layout {
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.home-page .system-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(156px, 1fr);
  gap: 10px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

.home-page .system-rail button {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 25, 23, 0.08);
  border-radius: 14px;
  color: #161714;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
  text-align: left;
}

.home-page .system-rail button:hover,
.home-page .system-rail button:focus-visible {
  border-color: rgba(24, 25, 23, 0.2);
  background: #ffffff;
  outline: none;
  transform: translateY(-2px);
}

.home-page .system-rail strong {
  font-size: 14px;
  line-height: 1.1;
}

.home-page .system-rail span {
  overflow: hidden;
  color: #777067;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .catalog-panel,
.home-page .product-toolbar {
  border: 1px solid rgba(24, 25, 23, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.home-page .product-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  margin-bottom: 12px;
}

.home-page .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 348px;
  padding: 9px;
  overflow: hidden;
  border-color: rgba(24, 25, 23, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.home-page .product-card:hover {
  border-color: rgba(24, 25, 23, 0.18);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(33, 35, 31, 0.1);
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 11px;
  background:
    linear-gradient(180deg, #fbfbf8 0%, #ebe9e1 100%);
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px;
  object-fit: contain;
  background: transparent;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: grid;
  grid-template-rows: 17px 42px 0 28px auto;
  min-height: 144px;
  padding: 9px 1px 0;
}

.home-page .product-copy small,
.home-page .product-copy h3,
.home-page .product-copy p {
  overflow: hidden;
}

.home-page .product-copy small {
  color: #7f6944;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box;
  min-height: 42px;
  margin: 2px 0 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #191a18;
  font-size: 15px;
  line-height: 1.28;
}

.home-page .product-copy p {
  display: none;
}

.home-page .product-meta {
  align-items: start;
  min-height: 28px;
  margin-top: 0;
  overflow: hidden;
}

.home-page .product-meta span {
  max-width: 100%;
  padding: 4px 7px;
  overflow: hidden;
  color: #777067;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .product-meta span:nth-child(n + 2) {
  display: none;
}

.home-page .product-meta .price-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.home-page .price-row {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.home-page .price-row strong {
  min-height: 22px;
  color: #151614;
  font-size: 16px;
  line-height: 1.2;
}

.home-page .product-actions {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 6px;
  width: 100%;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}

@keyframes heroSlowZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.075);
  }
}

@media (max-width: 1320px) {
  .home-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .showroom-sku-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .home-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-page .electro-hero {
    min-height: 760px;
  }

  .home-page .electro-hero-content,
  .home-page .product-area .section-title,
  .home-page .commerce-layout,
  .home-page .product-toolbar,
  .showroom-sku-board-head {
    grid-template-columns: 1fr;
  }

  .home-page .hero-deal-panel {
    display: none;
  }

  .home-page .hero-hot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .catalog-panel {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
  }

  .home-page .category-button {
    flex: 0 0 auto;
  }

  .home-page .system-rail {
    grid-auto-columns: minmax(142px, 168px);
  }
}

@media (max-width: 620px) {
  .home-page .market-header,
  .home-page .electro-hero,
  .home-page .product-area,
  .home-page .last-order-panel {
    width: min(calc(100% - 20px), 1480px);
  }

  .home-page .market-header {
    min-height: auto;
  }

  .home-page .electro-hero {
    min-height: 690px;
    border-radius: 18px;
  }

  .home-page .electro-hero-content {
    padding: 24px;
  }

  .home-page .electro-hero h1 {
    font-size: clamp(50px, 17vw, 76px);
  }

  .home-page .hero-meaning-badge {
    grid-template-columns: auto auto;
    max-width: 310px;
    border-radius: 16px;
  }

  .home-page .hero-meaning-badge small {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .home-page .hero-lead {
    max-width: 310px;
  }

  .home-page .hero-hot-row {
    grid-template-columns: 1fr;
  }

  .home-page .hero-hot-row article:nth-child(n + 4) {
    display: none;
  }

  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .order-visibility-rule,
  .order-demo-actions {
    grid-template-columns: 1fr;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 305px;
    padding: 7px;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 38px 0 24px auto;
    min-height: 132px;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 38px;
    font-size: 13px;
  }

  .home-page .product-meta span {
    font-size: 9px;
  }

.home-page .product-actions {
  grid-template-columns: 1fr;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  align-items: center;
}

  .pricing-readiness {
    grid-template-columns: 1fr;
  }

  .pricing-readiness-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* 20260715 product-card anti-overlap guard.
   Keep this at the end: earlier homepage experiments use several competing
   card layouts, so this rule owns the final customer-facing shelf geometry. */
.home-page .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 236px), 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(174px, auto) !important;
  min-width: 0 !important;
  min-height: 428px !important;
  height: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-card-media img,
.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

.product-image-placeholder {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 220px;
  place-items: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: #1d2c2e;
  border: 1px solid rgba(29, 44, 46, 0.12);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(232,237,233,0.9)),
    radial-gradient(circle at 50% 0%, rgba(220,68,42,0.16), transparent 44%);
}

.product-image-placeholder span,
.product-image-placeholder em {
  display: block;
  color: #667276;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.product-image-placeholder strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.25;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 17px 43px 24px minmax(82px, auto) !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 174px !important;
  padding: 10px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-copy small {
  display: block !important;
  min-width: 0 !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 11px !important;
  line-height: 17px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  min-width: 0 !important;
  height: 43px !important;
  min-height: 43px !important;
  max-height: 43px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-copy p {
  display: none !important;
}

.home-page .product-meta {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .price-row {
  align-self: end !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 82px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .price-row strong {
  display: block !important;
  min-width: 0 !important;
  height: 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr) !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(202px, auto) !important;
    min-height: 386px !important;
    padding: 8px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 40px 23px minmax(112px, auto) !important;
    gap: 6px !important;
    min-height: 202px !important;
    padding-top: 9px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .home-page .price-row {
    min-height: 112px !important;
  }

  .home-page .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 390px) {
  .home-page .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 424px !important;
  }
}

/* Mobile product details: keep every specification readable without sideways scrolling. */
@media (max-width: 640px) {
  .product-dialog .product-spec-table-wrap,
  .showroom-dialog .product-spec-table-wrap {
    overflow-x: hidden;
  }

  .product-dialog .product-spec-table,
  .showroom-dialog .product-spec-table {
    display: block;
    min-width: 0;
  }

  .product-dialog .product-spec-table thead,
  .showroom-dialog .product-spec-table thead {
    display: none;
  }

  .product-dialog .product-spec-table tbody,
  .product-dialog .product-spec-table tr,
  .product-dialog .product-spec-table th,
  .product-dialog .product-spec-table td,
  .showroom-dialog .product-spec-table tbody,
  .showroom-dialog .product-spec-table tr,
  .showroom-dialog .product-spec-table th,
  .showroom-dialog .product-spec-table td {
    box-sizing: border-box;
    display: block;
    width: 100%;
  }

  .product-dialog .product-spec-table tr,
  .showroom-dialog .product-spec-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(31, 122, 90, 0.1);
  }

  .product-dialog .product-spec-table tbody tr:last-child,
  .showroom-dialog .product-spec-table tbody tr:last-child {
    border-bottom: 0;
  }

  .product-dialog .product-spec-table th,
  .product-dialog .product-spec-table td,
  .showroom-dialog .product-spec-table th,
  .showroom-dialog .product-spec-table td {
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .product-dialog .product-spec-table tbody th,
  .showroom-dialog .product-spec-table tbody th {
    margin-bottom: 5px;
    color: rgba(29, 64, 53, 0.68);
    font-size: 11px;
    line-height: 1.35;
  }

  .product-dialog .product-spec-table td,
  .showroom-dialog .product-spec-table td {
    color: #1d4035;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.5;
  }
}

/* 2026-07-17 compact official-model showroom */
.showroom-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.showroom-model-card {
  display: grid;
  grid-template-rows: auto minmax(44px, auto);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.showroom-model-card:hover,
.showroom-model-card:focus-visible {
  border-color: rgba(31, 122, 90, 0.45);
  box-shadow: 0 14px 34px rgba(23, 21, 18, 0.1);
  transform: translateY(-3px);
}

.showroom-model-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
  background: #f7f7f5;
}

.showroom-model-card strong {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .showroom-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .showroom-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .showroom-model-card img {
    padding: 10px;
  }

  .showroom-model-card strong {
    min-height: 54px;
    padding: 10px;
    font-size: 11px;
  }
}

/* 20260716 key-spec-summary-a: keep horizontal system rail inside its own scroller on mobile. */
.home-page .product-area,
.home-page .commerce-layout,
.home-page .catalog-panel {
  min-width: 0 !important;
}

.home-page .system-rail {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  overscroll-behavior-inline: contain !important;
}

@media (max-width: 620px) {
  html {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.home-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-page {
    overflow-x: hidden;
  }

  .home-page .system-rail {
    contain: inline-size;
  }
}

/* 20260716 model-only catalog cards: show models as clean product tiles. */
.home-page .customer-contact-dock {
  display: none !important;
}

.home-page .product-card--model .product-copy,
.home-page .product-card--model:nth-child(1) .product-copy,
.home-page .product-card--model:nth-child(8n + 1) .product-copy {
  min-height: 158px !important;
  gap: 6px !important;
}

.home-page .product-card--model .product-copy h3,
.home-page .product-card--model:nth-child(1) h3,
.home-page .product-card--model:nth-child(8n + 1) h3 {
  min-height: 40px !important;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

.home-page .product-card--model .product-meta {
  min-height: 24px !important;
}

.home-page .product-card--model .product-meta span:first-child {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  color: rgba(23, 21, 18, 0.68) !important;
  background: rgba(23, 21, 18, 0.06) !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-card--model .product-spec-pills {
  min-height: 22px !important;
  overflow: hidden !important;
}

.home-page .product-card--model .price-row {
  min-height: 72px !important;
}

@media (max-width: 760px) {
  .home-page .product-card--model,
  .home-page .product-card--model:nth-child(1),
  .home-page .product-card--model:nth-child(8n + 1) {
    min-height: 356px !important;
  }

  .home-page .product-card--model .product-copy,
  .home-page .product-card--model:nth-child(1) .product-copy,
  .home-page .product-card--model:nth-child(8n + 1) .product-copy {
    min-height: 180px !important;
  }

  .home-page .product-card--model .price-row {
    min-height: 92px !important;
  }
}

@media (max-width: 620px) {
  .order-progress-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 20260715 selected-card overlap fix: final live override for product shelf cards. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  align-items: stretch !important;
}

.home-page .product-grid[data-product-grid] > .product-card,
.home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 430px !important;
  height: auto !important;
  padding: 10px !important;
}

.home-page .product-grid[data-product-grid] .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  grid-template-rows: none !important;
  min-width: 0 !important;
  min-height: 184px !important;
  padding: 12px 2px 0 !important;
  gap: 7px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-copy small,
.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-meta,
.home-page .product-grid[data-product-grid] .price-row,
.home-page .product-grid[data-product-grid] .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy small {
  flex: 0 0 auto !important;
  height: 16px !important;
  line-height: 16px !important;
}

.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
  flex: 0 0 auto !important;
  min-height: 42px !important;
  max-height: 42px !important;
  line-height: 1.5 !important;
}

.home-page .product-grid[data-product-grid] .product-meta {
  flex: 0 0 auto !important;
  min-height: 24px !important;
}

.home-page .product-grid[data-product-grid] .price-row {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 82px !important;
  padding-top: 8px !important;
}

.home-page .product-grid[data-product-grid] .product-actions {
  flex: 0 0 auto !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .product-grid[data-product-grid] > .product-card,
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
    min-height: 398px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
    min-height: 204px !important;
  }

  .home-page .product-grid[data-product-grid] .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 final EOF guard: prevent product-card text and action overlap on live homepage. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important;
  align-items: stretch !important;
}

.home-page .product-grid[data-product-grid] > .product-card,
.home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 438px !important;
  height: 100% !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.home-page .product-grid[data-product-grid] .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}

.home-page .product-grid[data-product-grid] .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 188px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-copy small,
.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-meta,
.home-page .product-grid[data-product-grid] .price-row,
.home-page .product-grid[data-product-grid] .product-actions {
  position: static !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
  flex: 0 0 auto !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 1.55 !important;
}

.home-page .product-grid[data-product-grid] .product-meta {
  flex: 0 0 auto !important;
  min-height: 24px !important;
  margin-top: 1px !important;
}

.home-page .product-grid[data-product-grid] .price-row {
  flex: 1 0 auto !important;
  justify-content: flex-end !important;
  min-height: 84px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
}

.home-page .product-grid[data-product-grid] .product-actions {
  flex: 0 0 auto !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .product-grid[data-product-grid] > .product-card,
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
    min-height: 400px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
    min-height: 208px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
  }

  .home-page .product-grid[data-product-grid] .price-row {
    min-height: 112px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 live card text collision fix. Keep this at EOF after all legacy product rules. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important;
  align-items: stretch !important;
}

.home-page .product-grid[data-product-grid] > .product-card,
.home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 438px !important;
  height: 100% !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.home-page .product-grid[data-product-grid] .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}

.home-page .product-grid[data-product-grid] .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 188px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-copy small,
.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-meta,
.home-page .product-grid[data-product-grid] .price-row,
.home-page .product-grid[data-product-grid] .product-actions {
  position: static !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
  flex: 0 0 auto !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 1.55 !important;
}

.home-page .product-grid[data-product-grid] .product-meta {
  flex: 0 0 auto !important;
  min-height: 24px !important;
  margin-top: 1px !important;
}

.home-page .product-grid[data-product-grid] .price-row {
  flex: 1 0 auto !important;
  justify-content: flex-end !important;
  min-height: 84px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
}

.home-page .product-grid[data-product-grid] .product-actions {
  flex: 0 0 auto !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .product-grid[data-product-grid] > .product-card,
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
    min-height: 400px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
    min-height: 208px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
  }

  .home-page .product-grid[data-product-grid] .price-row {
    min-height: 112px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 card text collision fix. This must remain after older homepage overrides. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important;
  align-items: stretch !important;
}

.home-page .product-grid[data-product-grid] > .product-card,
.home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 438px !important;
  height: 100% !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.home-page .product-grid[data-product-grid] .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}

.home-page .product-grid[data-product-grid] .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 188px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-copy small,
.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-meta,
.home-page .product-grid[data-product-grid] .price-row,
.home-page .product-grid[data-product-grid] .product-actions {
  position: static !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
  flex: 0 0 auto !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 1.55 !important;
}

.home-page .product-grid[data-product-grid] .product-meta {
  flex: 0 0 auto !important;
  min-height: 24px !important;
  margin-top: 1px !important;
}

.home-page .product-grid[data-product-grid] .price-row {
  flex: 1 0 auto !important;
  justify-content: flex-end !important;
  min-height: 84px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
}

.home-page .product-grid[data-product-grid] .product-actions {
  flex: 0 0 auto !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .product-grid[data-product-grid] > .product-card,
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
    min-height: 400px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
    min-height: 208px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
  }

  .home-page .product-grid[data-product-grid] .price-row {
    min-height: 112px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 final EOF card reset: this must stay last so live product text cannot overlap. */
.home-page .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 176px !important;
  padding: 12px 2px 0 !important;
  gap: 7px !important;
  overflow: visible !important;
}

.home-page .product-copy small {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #66746f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-copy p {
  display: none !important;
}

.home-page .product-meta {
  display: flex !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 22px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  align-items: center !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .price-row {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  min-height: 82px !important;
  margin: 0 !important;
  gap: 8px !important;
  overflow: visible !important;
}

.home-page .price-row strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #121a1d !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  gap: 7px !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    padding: 8px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    min-height: 190px !important;
    padding-top: 9px !important;
    gap: 6px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 38px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .home-page .price-row {
    min-height: 108px !important;
  }

  .home-page .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 390px) {
  .home-page .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 card reset: remove fixed text rows that caused CJK labels to collide in live browsers. */
.home-page .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 176px !important;
  padding: 12px 2px 0 !important;
  gap: 7px !important;
  overflow: visible !important;
}

.home-page .product-copy small {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #66746f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 42px !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-copy p {
  display: none !important;
}

.home-page .product-meta {
  display: flex !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 22px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  align-items: center !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .price-row {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  min-height: 82px !important;
  margin: 0 !important;
  gap: 8px !important;
  overflow: visible !important;
}

.home-page .price-row strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #121a1d !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  gap: 7px !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    padding: 8px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    min-height: 190px !important;
    padding-top: 9px !important;
    gap: 6px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 38px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .home-page .price-row {
    min-height: 108px !important;
  }

  .home-page .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 390px) {
  .home-page .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Slim product-showcase finish: one cinematic opener, then uniform product tiles. */
.home-page {
  background: #f5f6f3;
}

.home-page .market-header,
.home-page .electro-hero,
.home-page .product-area,
.home-page .last-order-panel {
  width: min(calc(100% - 24px), 1560px);
}

.home-page .market-header {
  min-height: 64px;
}

.home-page .electro-hero {
  min-height: clamp(620px, calc(100dvh - 78px), 860px);
  margin-top: 6px;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(13, 15, 14, 0.2);
}

.home-page .electro-hero-media {
  object-position: 58% center;
}

.home-page .electro-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 7, 0.76) 0%, rgba(6, 8, 7, 0.42) 34%, rgba(6, 8, 7, 0.04) 68%),
    linear-gradient(180deg, rgba(6, 8, 7, 0.02) 0%, rgba(6, 8, 7, 0.62) 100%);
}

.home-page .electro-hero-content {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(28px, 5vw, 76px);
}

.home-page .electro-hero h1 {
  max-width: 820px;
  font-size: clamp(60px, 9vw, 136px);
  line-height: 0.9;
  letter-spacing: 0;
}

.home-page .electro-hero .hero-lead {
  max-width: 470px;
}

.home-page .hero-deal-panel {
  position: absolute;
  right: clamp(24px, 4vw, 62px);
  bottom: clamp(150px, 14vw, 190px);
  width: min(320px, calc(100% - 48px));
}

.home-page .hero-hot-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  bottom: clamp(18px, 2vw, 30px);
}

.home-page .hero-hot-row article {
  min-height: 118px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.home-page .hero-hot-row img {
  width: 92px;
  height: 86px;
  object-fit: contain;
}

.home-page .product-area {
  padding-top: clamp(28px, 4vw, 54px);
}

.home-page .product-area .section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.home-page .product-area .section-title h2 {
  font-size: clamp(30px, 3.4vw, 54px);
  letter-spacing: 0;
}

.home-page .product-area .section-title p:last-child {
  max-width: 390px;
}

.home-page .catalog-panel,
.home-page .product-toolbar {
  background: rgba(255, 255, 255, 0.74);
}

.home-page .product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  min-height: 320px;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 9px;
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  grid-template-rows: 16px 40px 0 24px auto;
  min-height: 128px;
}

.home-page .price-row strong {
  font-size: 15px;
}

@media (max-width: 1480px) {
  .home-page .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .home-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-page .hero-deal-panel {
    display: none;
  }

  .home-page .product-area .section-title {
    display: block;
  }

  .home-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-page .market-header,
  .home-page .electro-hero,
  .home-page .product-area,
  .home-page .last-order-panel {
    width: min(calc(100% - 16px), 1560px);
  }

  .home-page .electro-hero {
    min-height: 650px;
    border-radius: 16px;
  }

  .home-page .electro-hero h1 {
    font-size: clamp(52px, 16vw, 78px);
  }

  .home-page .hero-hot-row {
    grid-template-columns: 1fr;
  }

  .home-page .hero-hot-row article:nth-child(n + 4) {
    display: none;
  }

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

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 292px;
  }
}

@media (max-width: 680px) {
  .order-followup-card ol {
    grid-template-columns: 1fr;
  }

  .order-followup-head {
    grid-template-columns: 1fr;
  }

  .order-followup-head button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .order-followup-card .next-actions {
    display: grid;
  }

  .order-followup-card .next-actions .button,
  .order-followup-card .next-actions button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 360px),
    var(--paper);
  font-family: "Avenir Next", "SF Pro Display", "Phetsarath OT", "Lao Sangam MN", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 21, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 18, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 76%);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button.button {
  border: 0;
  cursor: pointer;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.market-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.market-brand img {
  width: 132px;
  height: auto;
}

.market-brand span {
  color: var(--market-dark);
  letter-spacing: 0;
}

.market-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.market-nav a:hover {
  color: var(--ink);
}

.market-nav [data-cart-link] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.market-nav [data-cart-count] {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.nav-pill {
  padding: 9px 15px;
  color: #fff;
  border-radius: 999px;
  background: var(--ink);
}

.market-hero,
.market-section,
.market-strip,
.market-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.market-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  min-height: min(760px, calc(100dvh - 76px));
  padding: 42px 0 32px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--market);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.chat-actions [aria-disabled="true"] {
  display: none;
  pointer-events: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease;
}

.button:hover {
  background: var(--market);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button.secondary {
  color: var(--ink);
  background: rgba(23, 21, 18, 0.08);
}

.hero-showcase {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 34px;
  background: var(--charcoal);
  box-shadow: 0 34px 90px rgba(71, 57, 35, 0.2);
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.62));
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-showcase-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff;
}

.hero-showcase-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-showcase-caption strong {
  max-width: 620px;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.03;
}

.promo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 36px;
}

.promo-tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 30px;
  color: #fff;
  background: var(--charcoal);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.promo-tile:hover,
.promo-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(52, 45, 33, 0.22);
  outline: none;
}

.promo-tile:focus-visible {
  box-shadow: 0 0 0 4px rgba(31, 122, 90, 0.24), 0 28px 70px rgba(52, 45, 33, 0.22);
}

.promo-tile.is-wide {
  grid-column: 1 / -1;
  min-height: 520px;
}

.promo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.02));
}

.promo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-tile:hover img,
.promo-tile:focus-visible img {
  transform: scale(1.025);
}

.promo-tile > div {
  position: absolute;
  inset: auto auto 28px 28px;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 500px;
}

.promo-tile .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.promo-tile h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
}

.promo-tile:not(.is-wide) h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.market-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0 26px;
  scrollbar-width: none;
}

.market-strip::-webkit-scrollbar {
  display: none;
}

.market-strip span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

.last-order-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 18px;
  padding: 16px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 22px;
  background: rgba(31, 122, 90, 0.08);
}

.last-order-panel[hidden] {
  display: none;
}

.last-order-panel span,
.last-order-panel small {
  display: block;
  color: var(--muted);
}

.last-order-panel strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.last-order-next {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
}

.last-order-next span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.last-order-next small {
  margin-top: 4px;
  line-height: 1.45;
}

.last-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.last-order-actions .button {
  min-height: 42px;
  padding-inline: 16px;
}

.last-order-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(23, 21, 18, 0.08);
  cursor: pointer;
}

.market-section {
  padding: 92px 0;
  scroll-margin-top: 96px;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title h2,
.board-copy h2,
.chat-card h2,
.order-card h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-title p:last-child,
.board-copy p {
  color: var(--muted);
}

.commerce-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: start;
}

.catalog-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
}

.category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
  text-align: left;
  cursor: pointer;
}

.category-button span {
  font-size: 12px;
  opacity: 0.72;
}

.category-button.is-active {
  color: #fff;
  border-color: var(--market-dark);
  background: var(--market-dark);
}

.product-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
}

select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 122, 90, 0.62);
  box-shadow: 0 0 0 4px rgba(31, 122, 90, 0.12);
}

.sync-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 54px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  white-space: nowrap;
}

.sync-badge small {
  flex-basis: 100%;
  margin-top: -8px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 11px;
}

.sync-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  animation: pulse 1.7s ease-in-out infinite;
}

.pricing-readiness {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(134, 106, 58, 0.2);
  border-radius: 16px;
  color: #4f4638;
  background: rgba(255, 249, 237, 0.7);
}

.pricing-readiness.is-confirmed {
  border-color: rgba(31, 122, 90, 0.18);
  color: #234636;
  background: rgba(236, 250, 244, 0.74);
}

.pricing-readiness:empty {
  display: none;
}

.model-search-hint {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 18px;
  background: rgba(236, 250, 244, 0.68);
}

.model-search-hint[hidden] {
  display: none;
}

.model-search-hint-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(23, 21, 18, 0.72);
  font-size: 13px;
}

.model-search-hint-head strong {
  color: var(--market-dark);
  font-size: 12px;
  white-space: nowrap;
}

.model-search-hint-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.model-search-chip {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 8px;
  border: 1px solid rgba(31, 122, 90, 0.14);
  border-radius: 14px;
  color: inherit;
  background: rgba(255, 255, 255, 0.86);
  text-align: left;
  cursor: pointer;
}

.model-search-chip:hover,
.model-search-chip:focus-visible {
  border-color: rgba(31, 122, 90, 0.42);
  box-shadow: 0 10px 24px rgba(31, 122, 90, 0.1);
}

.model-search-chip-media {
  display: block;
  width: 58px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(23, 21, 18, 0.06);
}

.model-search-chip-media img,
.model-search-chip-media .product-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-search-chip-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.model-search-chip-copy strong,
.model-search-chip-copy small,
.model-search-chip-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-search-chip-copy strong {
  color: var(--market-dark);
  font-size: 13px;
  font-weight: 900;
}

.model-search-chip-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.model-search-chip-copy em {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--market);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.product-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}

.product-spec-pills span {
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  color: rgba(23, 21, 18, 0.72);
  background: rgba(31, 122, 90, 0.09);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricing-readiness-main {
  display: grid;
  gap: 4px;
}

.pricing-readiness-main span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #875424;
  background: rgba(194, 137, 59, 0.16);
  font-size: 11px;
  font-weight: 800;
}

.pricing-readiness.is-confirmed .pricing-readiness-main span {
  color: #1d6f52;
  background: rgba(31, 122, 90, 0.14);
}

.pricing-readiness-main strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.pricing-readiness-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.pricing-readiness-meta a {
  color: #141613;
  font-weight: 800;
  text-decoration: none;
}

.pricing-readiness-section {
  padding-top: 0;
  padding-bottom: 0;
}

.contact-readiness {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 16px;
  color: #244437;
  background: rgba(238, 249, 244, 0.72);
}

.contact-readiness:empty {
  display: none;
}

.contact-readiness-copy {
  display: grid;
  gap: 5px;
}

.contact-readiness-copy span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #1d6f52;
  background: rgba(31, 122, 90, 0.14);
  font-size: 11px;
  font-weight: 800;
}

.contact-readiness-copy strong {
  font-size: 13px;
  line-height: 1.45;
}

.contact-readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-readiness-list small {
  padding: 5px 8px;
  border-radius: 999px;
  color: #596158;
  background: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 800;
}

.contact-readiness-list small.is-ready {
  color: #1d6f52;
}

.contact-readiness-list small.is-pending {
  color: #875424;
  background: rgba(255, 249, 237, 0.9);
}

.payment-readiness {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(134, 106, 58, 0.22);
  border-radius: 16px;
  color: #564635;
  background: rgba(255, 249, 237, 0.72);
}

.payment-readiness.is-ready {
  border-color: rgba(31, 122, 90, 0.16);
  color: #244437;
  background: rgba(238, 249, 244, 0.72);
}

.payment-readiness:empty {
  display: none;
}

.payment-readiness-copy {
  display: grid;
  gap: 5px;
}

.payment-readiness-copy span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #875424;
  background: rgba(194, 137, 59, 0.16);
  font-size: 11px;
  font-weight: 800;
}

.payment-readiness.is-ready .payment-readiness-copy span {
  color: #1d6f52;
  background: rgba(31, 122, 90, 0.14);
}

.payment-readiness-copy strong {
  font-size: 13px;
  line-height: 1.45;
}

.payment-readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-readiness-list small {
  padding: 5px 8px;
  border-radius: 999px;
  color: #596158;
  background: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 800;
}

.payment-readiness-list small.is-active {
  color: #875424;
  background: rgba(255, 255, 255, 0.72);
}

.payment-readiness.is-ready .payment-readiness-list small.is-active {
  color: #1d6f52;
}

.fulfillment-readiness {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(65, 89, 122, 0.16);
  border-radius: 16px;
  color: #273d52;
  background: rgba(238, 244, 249, 0.72);
}

.fulfillment-readiness:empty {
  display: none;
}

.fulfillment-readiness-copy {
  display: grid;
  gap: 5px;
}

.fulfillment-readiness-copy span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #27587a;
  background: rgba(65, 116, 154, 0.14);
  font-size: 11px;
  font-weight: 800;
}

.fulfillment-readiness-copy strong {
  font-size: 13px;
  line-height: 1.45;
}

.fulfillment-readiness-copy small {
  color: rgba(39, 61, 82, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.fulfillment-readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fulfillment-readiness-list small {
  padding: 5px 8px;
  border-radius: 999px;
  color: #27587a;
  background: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 18px;
  min-height: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.product-card:hover {
  border-color: rgba(31, 122, 90, 0.32);
  background: #fff;
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 18px;
}

.product-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px 4px 5px 0;
}

.product-copy small {
  color: var(--market);
  font-weight: 800;
}

.product-copy h3 {
  margin: 7px 0 8px;
  font-size: 21px;
  line-height: 1.18;
}

.product-copy p {
  color: var(--muted);
  font-size: 14px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.product-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(23, 21, 18, 0.07);
  font-size: 12px;
}

.product-meta .price-status.is-confirmed {
  color: #0d6b45;
  background: rgba(31, 122, 90, 0.13);
}

.product-meta .price-status.needs-confirmation {
  color: #815a13;
  background: rgba(203, 142, 35, 0.16);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price-row strong {
  font-size: 22px;
}

.price-row button,
.price-row .chat-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.price-row .secondary-action,
.price-row .chat-action {
  color: var(--ink);
  background: rgba(23, 21, 18, 0.08);
}

.price-row .chat-action {
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.1);
}

.product-dialog {
  width: min(calc(100% - 36px), 1060px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  color: var(--ink);
  background: #fbfaf7;
  box-shadow: 0 40px 120px rgba(23, 21, 18, 0.28);
}

.product-dialog::backdrop {
  background: rgba(23, 21, 18, 0.46);
  backdrop-filter: blur(8px);
}

.product-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 0;
  min-height: 560px;
}

.product-dialog.product-dialog--no-image {
  width: min(calc(100% - 36px), 760px);
  border-radius: 24px;
}

.product-dialog-shell--no-image {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.product-dialog-shell--no-image .dialog-copy {
  align-content: start;
  padding: 74px 54px 48px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dialog-language-switcher {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(22, 24, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(18, 22, 20, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dialog-language-switcher button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.dialog-language-switcher button.is-active {
  background: var(--ink);
  color: #fff;
}

.dialog-media {
  min-height: 560px;
  background: var(--charcoal);
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-dialog-media {
  background: #f4f1ea;
}

.showroom-dialog-media img {
  object-fit: contain;
  padding: 26px;
}

.showroom-sku-media img {
  object-position: center;
}

.dialog-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px;
}

.dialog-copy small {
  color: var(--market);
  font-weight: 800;
}

.dialog-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.dialog-copy p {
  margin: 0;
  color: var(--muted);
}

.dialog-contact {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.dialog-contact > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dialog-contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dialog-contact .button {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 14px;
}

.contact-unavailable {
  color: #8a5d2b;
  font-size: 14px;
}

.product-detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.product-detail-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.product-detail-list dt,
.product-detail-list dd {
  margin: 0;
}

.product-detail-list dt {
  color: var(--muted);
  font-size: 12px;
}

.product-detail-list dd {
  margin-top: 5px;
  font-weight: 800;
}

.product-detail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.product-detail-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--market-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.product-detail-summary-status[data-official-status="verified_official"] {
  border-color: rgba(31, 126, 86, 0.24);
  color: #176341;
  background: rgba(226, 246, 235, 0.86);
}

.product-detail-summary-status[data-official-status="pending"],
.product-detail-summary-status[data-official-status="not_found"],
.product-detail-summary-status[data-official-status="blocked"] {
  border-color: rgba(154, 105, 30, 0.24);
  color: #755019;
  background: rgba(255, 246, 222, 0.88);
}

.dialog-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dialog-flow span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(23, 21, 18, 0.07);
  font-size: 12px;
}

.showroom-dialog-copy {
  align-content: start;
  overflow-y: auto;
  max-height: min(760px, calc(100dvh - 72px));
}

.showroom-sku-dialog h2,
.showroom-sku-dialog .showroom-detail-meta dd {
  overflow-wrap: anywhere;
}

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

.showroom-intro-note {
  padding: 14px 16px;
  border: 1px solid rgba(141, 76, 45, 0.16);
  border-radius: 16px;
  color: #3d352d;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 232, 0.72));
  font-size: 14px;
  font-weight: 750;
  line-height: 1.62;
}

.showroom-detail-block {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.showroom-detail-block > span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-enhanced {
  align-content: start;
}

.product-detail-enhanced h2,
.product-detail-enhanced .product-detail-list dd {
  overflow-wrap: anywhere;
}

.product-model-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dialog-copy h2.product-model-title.is-long {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.dialog-copy h2.product-model-title.is-extra-long {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
}

.product-intro-note {
  border-color: rgba(31, 122, 90, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 247, 239, 0.72));
}

.product-official-note {
  padding: 10px 12px;
  border-left: 3px solid var(--market);
  border-radius: 12px;
  color: rgba(23, 21, 18, 0.72);
  background: rgba(31, 122, 90, 0.08);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.5;
}

.product-key-specs {
  border-color: rgba(31, 122, 90, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 242, 0.72));
}

.product-key-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-key-spec {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.product-key-spec small {
  min-width: 0;
  overflow: hidden;
  color: rgba(23, 21, 18, 0.58);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-key-spec strong {
  display: -webkit-box;
  min-width: 0;
  margin-top: 5px;
  overflow: hidden;
  color: var(--market-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showroom-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.showroom-detail-list li {
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(23, 21, 18, 0.76);
  background: rgba(23, 21, 18, 0.07);
  font-size: 12px;
  font-weight: 750;
}

.showroom-spec-block {
  border-color: rgba(31, 122, 90, 0.18);
  background: rgba(31, 122, 90, 0.07);
}

.showroom-spec-block .showroom-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showroom-spec-block .showroom-detail-list li {
  min-width: 0;
  border: 1px solid rgba(31, 122, 90, 0.12);
  border-radius: 12px;
  color: #1d4035;
  background: rgba(255, 255, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-spec-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(31, 122, 90, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.product-spec-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  color: #1d4035;
  font-size: 12px;
  line-height: 1.45;
}

.product-spec-table th,
.product-spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(31, 122, 90, 0.1);
  text-align: left;
  vertical-align: top;
}

.product-spec-table thead th {
  color: rgba(29, 64, 53, 0.72);
  background: rgba(31, 122, 90, 0.08);
  font-size: 11px;
  text-transform: uppercase;
}

.product-spec-table tbody th {
  width: 34%;
  color: #1d4035;
  font-weight: 900;
}

.product-spec-table tbody tr:last-child th,
.product-spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.product-spec-table td {
  overflow-wrap: anywhere;
}

.showroom-demo-block {
  border-color: rgba(28, 98, 168, 0.18);
  background: rgba(28, 98, 168, 0.07);
}

.showroom-demo-block .showroom-detail-list li {
  color: #183d67;
  background: rgba(255, 255, 255, 0.76);
}

.showroom-install-block {
  border-color: rgba(141, 76, 45, 0.18);
  background: rgba(141, 76, 45, 0.07);
}

.showroom-install-block .showroom-detail-list li {
  color: #5c321f;
  background: rgba(255, 255, 255, 0.78);
}

.showroom-sku-board {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 242, 238, 0.62)),
    #f7f3ea;
}

.showroom-intro-band,
.showroom-product-guide {
  display: none;
}

.showroom-sku-board-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.64fr);
  gap: 18px;
  align-items: end;
}

.showroom-sku-board-head span {
  color: var(--market);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showroom-sku-board-head h3 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

.showroom-sku-board-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.showroom-sku-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.showroom-sku-grid button {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto minmax(42px, auto) auto auto;
  gap: 9px;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 18px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.showroom-sku-grid button.is-official {
  border-color: rgba(31, 122, 90, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

.showroom-sku-grid button:hover,
.showroom-sku-grid button:focus-visible {
  border-color: rgba(31, 122, 90, 0.32);
  background: #fff;
  transform: translateY(-2px);
}

.showroom-sku-grid span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.1);
  font-size: 11px;
  font-weight: 900;
}

.showroom-sku-grid strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.showroom-sku-grid small {
  display: block;
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  color: #1d4035;
  background: rgba(31, 122, 90, 0.08);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.showroom-sku-grid em {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showroom-sku-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f5ef;
}

.showroom-sku-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.showroom-sku-thumb .product-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
}

.showroom-card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.showroom-card-points li {
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid rgba(31, 122, 90, 0.13);
  border-radius: 999px;
  color: #1d4035;
  background: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflow {
  border-top: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.92fr;
  gap: 14px;
}

.workflow-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
}

.workflow-grid article:nth-child(2),
.workflow-grid article:nth-child(3) {
  transform: translateY(28px);
}

.workflow-grid span {
  color: var(--gold);
  font-weight: 900;
}

.workflow-grid h3 {
  margin: 24px 0 10px;
  font-size: 25px;
}

.workflow-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.checkout-grid,
.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 0.82fr);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.checkout-copy h2,
.payment-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.checkout-copy p,
.payment-grid p {
  color: var(--muted);
}

.checkout-contact-details {
  min-width: 0;
}

.checkout-contact-details > summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.checkout-contact-details > summary::-webkit-details-marker {
  display: none;
}

.checkout-contact-details > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.checkout-contact-details[open] > summary::after {
  content: "−";
}

.checkout-contact-details > .market-form {
  margin-top: 12px;
}

.checkout-submit-guard {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(12, 35, 44, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(12, 35, 44, 0.08);
}

.checkout-submit-guard:empty {
  display: none;
}

.checkout-submit-guard-head {
  display: grid;
  gap: 5px;
}

.checkout-submit-guard-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.checkout-submit-guard-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.checkout-submit-guard-head small {
  color: var(--muted);
  line-height: 1.45;
}

.selected-product {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
}

.selected-product span {
  color: var(--muted);
  font-size: 13px;
}

.cart-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.cart-price-note {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(190, 150, 82, 0.28);
  border-radius: 18px;
  background: rgba(190, 150, 82, 0.1);
}

.cart-price-note:empty {
  display: none;
}

.cart-price-note.is-confirmed {
  border-color: rgba(31, 122, 90, 0.24);
  background: rgba(31, 122, 90, 0.08);
}

.cart-price-note div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-price-note span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #815a13;
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
}

.cart-price-note.is-confirmed span {
  color: #0d6b45;
}

.cart-price-note strong {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.cart-price-note p,
.cart-price-note small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-empty,
.cart-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.cart-empty {
  padding: 14px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.cart-item--no-image {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cart-item-media {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f6f7;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: var(--muted);
  font-size: 13px;
}

.cart-item-detail-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cart-item-detail-link:hover {
  text-decoration: underline;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-controls button {
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.cart-controls [data-cart-remove] {
  padding: 0 12px;
  color: var(--ink);
  background: rgba(23, 21, 18, 0.08);
}

.market-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
}

.market-form.compact {
  align-self: start;
}

.payment-instructions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.payment-safety-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(179, 74, 60, 0.2);
  border-radius: 18px;
  color: #6d372d;
  background: rgba(255, 247, 244, 0.82);
}

.payment-safety-card.is-ready {
  border-color: rgba(31, 122, 90, 0.18);
  color: #214939;
  background: rgba(239, 250, 244, 0.84);
}

.payment-safety-head {
  display: grid;
  gap: 5px;
}

.payment-safety-head span {
  justify-self: start;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 900;
}

.payment-safety-head strong {
  font-size: 16px;
  line-height: 1.35;
}

.payment-safety-card p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.payment-safety-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-safety-checks small {
  padding: 6px 8px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.payment-safety-card .button {
  justify-self: start;
}

.payment-account {
  display: grid;
  gap: 8px;
}

.payment-account.is-warning span {
  border-color: rgba(179, 74, 60, 0.22);
  color: #7d332b;
  background: rgba(179, 74, 60, 0.08);
}

.payment-account.is-warning a {
  justify-self: start;
  margin-top: 4px;
}

.payment-instructions span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 14px;
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.08);
  font-weight: 800;
}

.payment-account button {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-weight: 800;
  cursor: pointer;
}

.payment-confirm-check {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(190, 150, 82, 0.24);
  border-radius: 14px;
  background: rgba(190, 150, 82, 0.08);
}

.payment-confirm-check.is-required {
  border-color: rgba(179, 74, 60, 0.34);
  background: rgba(179, 74, 60, 0.09);
}

.payment-confirm-check.is-required::after {
  content: attr(data-required-label);
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #7d332b;
  background: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 900;
}

.payment-confirm-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.payment-confirm-check span {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.payment-steps {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.payment-steps li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.payment-steps strong {
  color: var(--ink);
}

.payment-steps span {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 500;
}

.bcel-qr-image {
  width: min(220px, 100%);
  padding: 10px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 18px;
  background: #fff;
}

.form-result {
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(23, 21, 18, 0.06);
}

.form-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.next-actions .button {
  min-height: 42px;
  padding-inline: 16px;
}

.next-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(23, 21, 18, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.order-followup-card {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(31, 122, 90, 0.2);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.order-followup-card h3,
.order-followup-card p {
  margin: 0;
}

.order-followup-card h3 {
  font-size: 20px;
  line-height: 1.2;
}

.order-followup-card p {
  color: var(--muted);
}

.order-followup-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(31, 122, 90, 0.08);
}

.order-followup-head span,
.order-followup-head strong {
  display: block;
}

.order-followup-head span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.order-followup-head strong {
  grid-column: 1;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.order-followup-head button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-weight: 800;
  cursor: pointer;
}

.order-followup-card ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-followup-card li {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.order-followup-card li b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-size: 13px;
}

.order-followup-card li span,
.order-followup-card li strong {
  display: block;
}

.order-followup-card li span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.order-followup-card li strong {
  margin-bottom: 2px;
  color: var(--ink);
}

.quote-handoff-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(20, 56, 62, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(20, 56, 62, 0.08);
}

.quote-handoff-head {
  display: grid;
  gap: 4px;
}

.quote-handoff-head span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
}

.quote-handoff-head strong {
  font-size: 20px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.quote-handoff-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-handoff-items li {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(241, 244, 240, 0.9);
  font-size: 13px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.quote-handoff-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-handoff-checks span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--market-dark);
  background: rgba(20, 56, 62, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.quote-handoff-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
  cursor: pointer;
}

.operation-board {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: start;
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 122, 90, 0.24), transparent 48%),
    var(--charcoal);
}

.board-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.ops-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.ops-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.ops-list span {
  color: var(--gold);
  font-weight: 900;
}

.ops-list small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.62);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.7fr);
  gap: 18px;
}

.chat-card,
.order-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
}

.chat-card {
  display: grid;
  gap: 18px;
}

.chat-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.support-message-form.market-form {
  margin-top: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.support-link-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.support-link-summary span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.support-price-warning {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(188, 131, 44, 0.2);
  border-radius: 14px;
  color: #6b470b;
  background: rgba(255, 248, 226, 0.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.support-reply-packet {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.support-reply-packet span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
}

.support-reply-packet p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.support-reply-packet button {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-weight: 900;
  cursor: pointer;
}

.order-card {
  display: grid;
  gap: 18px;
}

.order-result {
  min-height: 78px;
  padding: 16px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(23, 21, 18, 0.06);
}

.order-result:empty {
  display: none;
}

.order-result:not(:empty) {
  min-height: 0;
}

.order-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.order-visibility-rule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.order-visibility-rule > div {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.order-visibility-rule span,
.order-demo-actions span {
  color: var(--market-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-visibility-rule strong {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.order-visibility-rule small {
  color: var(--muted);
  line-height: 1.45;
}

.order-demo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

[data-order-demo-only][hidden] {
  display: none !important;
}

.order-demo-actions .button {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 10px 14px;
  text-align: left;
}

.order-demo-actions strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.tracking-card {
  display: grid;
  gap: 10px;
}

.tracking-card + .tracking-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tracking-card p,
.tracking-card small {
  margin: 0;
}

.tracking-card small {
  color: var(--muted);
}

.tracking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.tracking-actions .button {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 14px;
}

.tracking-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracking-badges span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.order-progress-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0;
  padding: 0;
  list-style: none;
}

.order-progress-rail li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 12px;
  background: rgba(23, 21, 18, 0.04);
}

.order-progress-rail li span {
  width: 18px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.18);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.68);
}

.order-progress-rail li strong {
  min-width: 0;
  color: rgba(23, 21, 18, 0.68);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-progress-rail li.done {
  border-color: rgba(31, 122, 90, 0.18);
  background: rgba(31, 122, 90, 0.09);
}

.order-progress-rail li.done span {
  background: #1f7a5a;
}

.order-progress-rail li.done strong {
  color: #1f4d3d;
}

.order-progress-rail li.current {
  border-color: rgba(209, 91, 54, 0.28);
  background: rgba(209, 91, 54, 0.1);
}

.order-progress-rail li.current span {
  background: #d15b36;
}

.order-progress-rail li.current strong {
  color: #7c3b24;
}

.tracking-timeline {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracking-timeline li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.tracking-timeline li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(23, 21, 18, 0.22);
  border-radius: 999px;
  background: #fff;
}

.tracking-timeline li.done,
.tracking-timeline li.current {
  color: var(--ink);
}

.tracking-timeline li.done::before {
  border-color: var(--market);
  background: var(--market);
}

.tracking-timeline li.current::before {
  border-color: var(--gold);
  background: var(--gold);
}

.payment-proof-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 14px;
  background: rgba(31, 122, 90, 0.07);
}

.payment-proof-summary strong,
.payment-proof-summary span,
.payment-proof-summary p {
  margin: 0;
}

.payment-proof-summary span,
.payment-proof-summary p {
  color: var(--muted);
}

.payment-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-evidence-grid label {
  min-width: 0;
}

.payment-note-details,
.payment-precheck-details {
  border-top: 1px solid var(--line);
}

.payment-note-details > summary,
.payment-precheck-details > summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.payment-note-details[open],
.payment-precheck-details[open] {
  padding-bottom: 8px;
}

.payment-note-details label,
.payment-precheck-details .payment-precheck-actions {
  margin-top: 8px;
}

.payment-precheck-panel {
  display: grid;
  gap: 10px;
}

.payment-precheck-panel:empty {
  display: none;
}

.payment-precheck-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.payment-precheck-actions button {
  min-height: 40px;
}

.payment-precheck-actions small {
  flex: 1 1 180px;
  color: var(--muted);
  line-height: 1.45;
}

.payment-precheck-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 16px;
  background: rgba(31, 122, 90, 0.07);
  color: var(--market-dark);
}

.payment-precheck-card.is-blocked {
  border-color: rgba(200, 68, 46, 0.26);
  background: rgba(200, 68, 46, 0.08);
  color: #743224;
}

.payment-precheck-card.is-loading {
  border-color: rgba(190, 150, 82, 0.28);
  background: rgba(190, 150, 82, 0.1);
  color: #6c5014;
}

.payment-precheck-head {
  display: grid;
  gap: 3px;
}

.payment-precheck-head span,
.payment-precheck-card > span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-precheck-head strong,
.payment-precheck-card > strong {
  color: var(--ink);
  line-height: 1.35;
}

.payment-precheck-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.payment-precheck-checks small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.07);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.payment-precheck-checks small.is-active {
  background: rgba(31, 122, 90, 0.13);
  color: var(--market-dark);
}

.payment-precheck-checks small.is-blocked {
  background: rgba(200, 68, 46, 0.14);
  color: #743224;
}

.payment-precheck-card p,
.payment-precheck-card em {
  margin: 0;
  color: inherit;
  line-height: 1.55;
}

.payment-precheck-card em {
  font-style: normal;
  color: var(--muted);
}

.payment-action-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(190, 150, 82, 0.26);
  border-radius: 14px;
  color: #6c5014;
  background: rgba(190, 150, 82, 0.11);
}

.payment-review-status {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(31, 122, 90, 0.22);
  border-radius: 18px;
  background: rgba(31, 122, 90, 0.08);
}

.payment-review-status > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0d6b45;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
}

.payment-review-status strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.payment-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-review-actions span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.payment-action-prompt a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-size: 13px;
  font-weight: 800;
}

.customer-journey-summary {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(31, 122, 90, 0.22);
  border-radius: 14px;
  background: rgba(31, 122, 90, 0.08);
}

.customer-journey-summary div:first-child {
  display: grid;
  gap: 4px;
}

.customer-journey-summary span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-journey-summary strong {
  color: var(--ink);
  line-height: 1.35;
}

.customer-journey-summary p {
  color: var(--muted);
  line-height: 1.45;
}

.customer-journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-journey-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--market-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.customer-progress-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(18, 22, 20, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 243, 235, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.customer-progress-head {
  display: grid;
  gap: 5px;
}

.customer-progress-head span,
.customer-progress-action {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-progress-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.customer-progress-head small {
  color: var(--muted);
  line-height: 1.45;
}

.customer-progress-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-progress-steps li {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 12px 10px 10px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
}

.customer-progress-steps li::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid rgba(23, 21, 18, 0.22);
  border-radius: 999px;
  background: #fff;
}

.customer-progress-steps li.done::before {
  border-color: var(--market);
  background: var(--market);
}

.customer-progress-steps li.current {
  border-color: rgba(31, 122, 90, 0.28);
  background: rgba(31, 122, 90, 0.08);
}

.customer-progress-steps li.current::before {
  border-color: var(--gold);
  background: var(--gold);
}

.customer-progress-steps li.locked {
  color: rgba(23, 21, 18, 0.58);
  background: rgba(190, 150, 82, 0.08);
}

.customer-progress-steps li.locked::before {
  border-color: rgba(190, 150, 82, 0.42);
  background: rgba(190, 150, 82, 0.18);
}

.customer-progress-steps span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.customer-progress-steps small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.customer-progress-action {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 122, 90, 0.1);
}

.customer-price-confirmation {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(31, 122, 90, 0.2);
  border-radius: 15px;
  background: rgba(31, 122, 90, 0.08);
}

.customer-price-confirmation.needs-confirmation {
  border-color: rgba(190, 150, 82, 0.32);
  background: rgba(190, 150, 82, 0.12);
}

.customer-price-confirmation span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-price-confirmation strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.32;
}

.customer-price-confirmation p,
.customer-price-confirmation small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.customer-share-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(234, 244, 240, 0.64)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    0 18px 46px rgba(18, 22, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.customer-share-head {
  display: grid;
  gap: 4px;
}

.customer-share-head span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-share-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.customer-share-head small {
  color: var(--muted);
  line-height: 1.45;
}

.customer-share-preview {
  max-height: 132px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 14px;
  color: rgba(23, 21, 18, 0.78);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.58;
  white-space: pre-line;
}

.customer-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.customer-share-actions .button {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 13px;
}

.customer-safety-gates {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 83, 67, 0.14);
  border-radius: 14px;
  background: rgba(20, 83, 67, 0.055);
}

.customer-safety-gates-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-safety-gates-head span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-safety-gates-head strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.customer-safety-gates ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-safety-gates li {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(20, 83, 67, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.customer-safety-gates li.current {
  border-color: rgba(209, 91, 54, 0.24);
  background: rgba(209, 91, 54, 0.08);
}

.customer-safety-gates li.locked {
  opacity: 0.72;
}

.customer-safety-gates li > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.customer-safety-gates li span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-safety-gates li strong,
.customer-safety-gates li small {
  color: var(--ink);
  line-height: 1.35;
}

.customer-safety-gates li small {
  color: var(--muted);
}

.fulfillment-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.fulfillment-visible-fields,
.fulfillment-visibility {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 14px;
  background: rgba(31, 122, 90, 0.06);
}

.fulfillment-gate-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(190, 150, 82, 0.28);
  border-radius: 14px;
  background: rgba(190, 150, 82, 0.1);
}

.fulfillment-gate-card span {
  color: #6c5014;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fulfillment-gate-card strong,
.fulfillment-gate-card p,
.fulfillment-gate-card small {
  margin: 0;
  color: #563f0f;
  line-height: 1.42;
}

.fulfillment-gate-card p,
.fulfillment-gate-card small {
  color: rgba(86, 63, 15, 0.82);
}

.fulfillment-gate-card.is-unlocked {
  border-color: rgba(31, 122, 90, 0.22);
  background: rgba(31, 122, 90, 0.07);
}

.fulfillment-gate-card.is-unlocked span,
.fulfillment-gate-card.is-unlocked strong {
  color: var(--market-dark);
}

.fulfillment-gate-card.is-unlocked p,
.fulfillment-gate-card.is-unlocked small {
  color: var(--muted);
}

.fulfillment-visible-fields span,
.fulfillment-visibility span {
  color: var(--market-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fulfillment-visible-fields ul,
.fulfillment-visibility ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fulfillment-visible-fields li,
.fulfillment-visibility li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(31, 122, 90, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.fulfillment-visibility strong,
.fulfillment-visibility p,
.fulfillment-visibility b {
  margin: 0;
  color: var(--ink);
  line-height: 1.42;
}

.fulfillment-visibility p,
.fulfillment-visibility b {
  color: var(--muted);
}

.fulfillment-visibility.is-locked {
  border-color: rgba(190, 150, 82, 0.26);
  background: rgba(190, 150, 82, 0.09);
}

.fulfillment-visibility.is-locked span {
  color: #6c5014;
}

.fulfillment-visibility li.shown b {
  color: var(--market-dark);
}

.commerce-status-section {
  padding-top: 0;
}

.commerce-status-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(190, 150, 82, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 238, 224, 0.74)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(34, 30, 24, 0.1);
}

.commerce-status-panel.is-ready {
  border-color: rgba(31, 122, 90, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 244, 237, 0.78)),
    rgba(255, 255, 255, 0.78);
}

.commerce-status-head {
  display: grid;
  gap: 6px;
}

.commerce-status-head span,
.commerce-status-panel > div > span {
  color: #6c5014;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.commerce-status-panel.is-ready .commerce-status-head span {
  color: var(--market-dark);
}

.commerce-status-head strong,
.commerce-status-panel > div > strong {
  color: var(--ink);
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.08;
}

.commerce-status-head small,
.commerce-status-panel > div > small,
.commerce-status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.commerce-status-metrics,
.commerce-status-gates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.commerce-status-metrics div,
.commerce-status-gates div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.commerce-status-metrics span,
.commerce-status-gates span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.commerce-status-metrics strong,
.commerce-status-gates strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.28;
}

.commerce-status-gates .is-pass span {
  color: var(--market-dark);
}

.commerce-status-gates .is-partial span {
  color: #6c5014;
}

.commerce-status-gates .is-blocked span {
  color: #9a3412;
}

.commerce-status-customer-warning,
.commerce-status-next-actions,
.commerce-status-pilot-next {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(154, 52, 18, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(154, 52, 18, 0.06);
}

.commerce-status-customer-warning strong,
.commerce-status-next-actions > span,
.commerce-status-pilot-next > span {
  color: #7c2d12;
  font-size: 12px;
  font-weight: 900;
}

.commerce-status-customer-warning span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.commerce-status-next-actions ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commerce-status-next-actions li {
  display: grid;
  gap: 2px;
}

.commerce-status-next-actions li strong {
  color: var(--ink);
  font-size: 13px;
}

.commerce-status-next-actions li small {
  color: var(--muted);
  line-height: 1.45;
}

.commerce-status-pilot-next strong,
.commerce-status-pilot-next small {
  display: block;
}

.commerce-status-pilot-next strong {
  color: var(--ink);
  font-size: 14px;
}

.commerce-status-pilot-next small {
  color: var(--muted);
  line-height: 1.45;
}

.commerce-status-pilot-next div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.commerce-status-pilot-next a {
  padding: 8px 10px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 999px;
  color: var(--market-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.commerce-status-command-card {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.commerce-status-command-card > div:first-child {
  display: grid;
  gap: 3px;
}

.commerce-status-command-card > div:first-child span,
.commerce-status-command-copy span {
  color: #6c5014;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-status-command-card pre {
  max-width: 100%;
  margin: 0;
  padding: 10px;
  overflow-x: auto;
  border-radius: 8px;
  background: #1d2524;
  color: #f6f0e5;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.commerce-status-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.commerce-status-command-actions button,
.commerce-status-command-copy button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--market-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.commerce-status-command-copy {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.commerce-status-command-copy p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.commerce-status-command-copy button {
  justify-self: start;
}

.commerce-status-command-acceptance {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.commerce-status-panel > a {
  justify-self: start;
  color: var(--market-dark);
  font-weight: 850;
}

@media (max-width: 780px) {
  .commerce-status-metrics,
  .commerce-status-gates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .commerce-status-metrics,
  .commerce-status-gates {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fulfillment-locked {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(190, 150, 82, 0.28);
  border-radius: 14px;
  color: #6c5014;
  background: rgba(190, 150, 82, 0.1);
}

.fulfillment-locked strong,
.fulfillment-locked p {
  margin: 0;
}

.fulfillment-locked p {
  color: rgba(108, 80, 20, 0.82);
}

.fulfillment-details div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.fulfillment-details dt,
.fulfillment-details dd {
  margin: 0;
}

.fulfillment-details dt {
  color: var(--muted);
  font-size: 12px;
}

.fulfillment-details dd {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 800;
}

.fulfillment-details .pending dd {
  color: var(--muted);
  font-weight: 700;
}

.fulfillment-next-step {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(31, 122, 90, 0.22);
  border-radius: 14px;
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.08);
}

.fulfillment-next-step span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fulfillment-next-step strong {
  color: var(--ink);
  line-height: 1.42;
}

.latest-fulfillment-event {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(31, 122, 90, 0.24);
  border-radius: 14px;
  color: var(--market-dark);
  background: rgba(31, 122, 90, 0.09);
}

.latest-fulfillment-event span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-fulfillment-event strong {
  color: var(--ink);
}

.latest-fulfillment-event small {
  color: var(--muted);
}

.progress-events {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.progress-events > strong {
  color: var(--ink);
}

.progress-events ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-events li {
  display: grid;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid rgba(31, 122, 90, 0.28);
}

.progress-events span {
  color: var(--muted);
  font-size: 12px;
}

.progress-events p {
  color: var(--ink);
}

.fulfillment-history {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 14px;
  background: rgba(31, 122, 90, 0.06);
}

.fulfillment-history > strong {
  color: var(--ink);
}

.fulfillment-history ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fulfillment-history li {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.fulfillment-history span {
  color: var(--muted);
  font-size: 12px;
}

.fulfillment-history b {
  color: var(--market-dark);
}

.fulfillment-history p {
  color: var(--ink);
}

.order-items {
  margin: 8px 0 10px;
  padding-left: 18px;
  color: var(--muted);
}

.order-items li {
  margin: 4px 0;
}

.order-items li a {
  display: inline-flex;
  margin-left: 8px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.order-items li a:hover {
  text-decoration: underline;
}

.market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.market-footer strong {
  color: var(--ink);
}

.market-footer p {
  margin-bottom: 0;
}

.market-footer a {
  color: var(--market-dark);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 38px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .market-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .market-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .market-hero,
  .section-title,
  .commerce-layout,
  .checkout-grid,
  .payment-grid,
  .operation-board,
  .support-grid,
  .promo-gallery,
  .product-dialog-shell {
    grid-template-columns: 1fr;
  }

  .market-hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-showcase {
    min-height: 420px;
  }

  .promo-tile,
  .promo-tile.is-wide {
    min-height: 380px;
  }

  .catalog-panel {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .category-button {
    flex: 0 0 auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    min-height: 360px;
  }

  .product-dialog-shell {
    min-height: 0;
  }

  .product-detail-list {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .fulfillment-details {
    grid-template-columns: 1fr;
  }

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

  .tracking-actions .button {
    width: 100%;
  }

  .workflow-grid article:nth-child(2),
  .workflow-grid article:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .market-header,
  .market-hero,
  .market-section,
  .market-strip,
  .last-order-panel,
  .market-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .market-brand img {
    width: 116px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-showcase,
  .promo-tile,
  .operation-board,
  .chat-card,
  .order-card {
    border-radius: 24px;
  }

  .hero-showcase {
    min-height: 320px;
  }

  .hero-showcase-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .promo-tile,
  .promo-tile.is-wide {
    min-height: 320px;
  }

  .promo-tile > div {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .promo-tile::after {
    background: linear-gradient(180deg, transparent 26%, rgba(0, 0, 0, 0.7));
  }

  .product-toolbar {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-actions,
  .dialog-actions {
    justify-content: flex-start;
  }

  .product-dialog {
    width: min(calc(100% - 20px), 560px);
    max-height: calc(100dvh - 20px);
    overflow: auto;
    border-radius: 24px;
  }

  .dialog-copy {
    padding: 28px;
  }

  .dialog-copy h2.product-model-title.is-long {
    font-size: 24px;
    line-height: 1.15;
  }

  .dialog-copy h2.product-model-title.is-extra-long {
    font-size: 20px;
    line-height: 1.18;
  }

  .operation-board,
  .chat-card,
  .order-card {
    padding: 24px;
  }

  .cart-item,
  .cart-controls {
    align-items: stretch;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .cart-item--no-image {
    grid-template-columns: 1fr;
  }

  .cart-item-media {
    width: 58px;
    height: 58px;
  }

  .cart-controls {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }

  .ops-list div {
    grid-template-columns: 1fr;
  }

  .ops-list small {
    grid-column: 1;
  }

  .market-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .last-order-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .last-order-actions {
    justify-content: flex-start;
  }

  .customer-progress-panel {
    padding: 12px;
  }

  .customer-progress-steps {
    grid-template-columns: 1fr;
  }

  .customer-progress-steps li {
    min-height: 0;
  }
}

/* EOF override: standalone BYDALA marketplace theme */
body {
  color: #161717;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 245, 241, 0.92) 360px),
    #f4f5f1;
  font-family: "Satoshi", "Avenir Next", "SF Pro Display", "Phetsarath OT", "Lao Sangam MN", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.market-header {
  width: 100%;
  min-height: 78px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(22, 23, 23, 0.1);
  background: rgba(244, 245, 241, 0.84);
}

.market-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.market-brand img,
.market-brand > span:not(.brand-mark):not(.brand-text) {
  display: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: #161717;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand-text small {
  color: #66706b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.market-nav {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(22, 23, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.market-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #454b47;
  font-weight: 750;
}

.market-nav a:hover {
  color: #161717;
  background: rgba(22, 23, 23, 0.06);
}

.nav-pill {
  color: #fff !important;
  background: #161717 !important;
}

.market-hero,
.market-section,
.market-strip,
.market-footer {
  width: min(calc(100% - 40px), 1240px);
}

.market-hero {
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.12fr);
  gap: 44px;
  min-height: min(820px, calc(100dvh - 78px));
  padding: 64px 0 34px;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 560px;
}

.eyebrow {
  color: #1e5d49;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(46px, 6.5vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  color: #5d665f;
}

.button {
  border-radius: 14px;
  background: #161717;
  box-shadow: none;
}

.button:hover {
  background: #1e5d49;
}

.button.secondary {
  border: 1px solid rgba(22, 23, 23, 0.1);
  color: #161717;
  background: rgba(255, 255, 255, 0.78);
}

.hero-market-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  max-width: 610px;
}

.hero-market-metrics div {
  padding: 14px;
  border-top: 1px solid rgba(22, 23, 23, 0.14);
}

.hero-market-metrics strong,
.hero-market-metrics span {
  display: block;
}

.hero-market-metrics strong {
  margin-bottom: 3px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-market-metrics span {
  color: #66706b;
  font-size: 13px;
}

.commerce-window {
  min-height: 610px;
  border: 1px solid rgba(22, 23, 23, 0.1);
  border-radius: 28px;
  background: #fdfcf8;
  box-shadow: 0 28px 80px rgba(46, 52, 47, 0.16);
}

.commerce-window::after {
  background:
    linear-gradient(180deg, transparent 48%, rgba(14, 16, 15, 0.72)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 42%);
}

.commerce-window-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(22, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.commerce-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9c8c2;
}

.commerce-window-bar span:first-child {
  background: #c46c55;
}

.commerce-window-bar span:nth-child(2) {
  background: #d1a449;
}

.commerce-window-bar span:nth-child(3) {
  background: #4d9b72;
}

.commerce-window-bar strong {
  margin-left: auto;
  color: #66706b;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.market-float-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  width: min(260px, calc(100% - 40px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: #161717;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 52px rgba(20, 25, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
}

.market-float-card small {
  color: #1e5d49;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.market-float-card strong {
  font-size: 21px;
}

.market-float-card span {
  color: #66706b;
  font-size: 13px;
}

.float-card-products {
  left: 22px;
  bottom: 26px;
}

.float-card-payment {
  right: 22px;
  bottom: 96px;
}

.hero-showcase-caption {
  display: none;
}

.market-strip {
  border-block: 1px solid rgba(22, 23, 23, 0.1);
  padding: 13px 0;
}

.market-strip span {
  border: 0;
  background: transparent;
  color: #525a55;
  font-weight: 800;
}

.promo-gallery {
  grid-template-columns: 1.35fr 0.65fr;
  align-items: stretch;
  padding-top: 56px;
}

.promo-tile {
  border-radius: 22px;
  min-height: 330px;
  background: #202321;
}

.promo-tile.is-wide {
  grid-column: auto;
  grid-row: span 2;
  min-height: 680px;
}

.promo-tile::after {
  background:
    linear-gradient(180deg, transparent 28%, rgba(14, 16, 15, 0.78)),
    linear-gradient(90deg, rgba(14, 16, 15, 0.38), transparent 56%);
}

.promo-tile > div {
  inset: auto 24px 24px 24px;
}

.promo-tile h2,
.promo-tile:not(.is-wide) h2 {
  max-width: 640px;
  font-size: clamp(25px, 3.6vw, 48px);
  letter-spacing: 0;
}

.commerce-layout {
  grid-template-columns: 210px 1fr;
}

.catalog-panel {
  padding: 8px;
  border: 1px solid rgba(22, 23, 23, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.category-button {
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.category-button.is-active {
  background: #161717;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 10px;
  border-color: rgba(22, 23, 23, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.product-card img {
  aspect-ratio: 1.18 / 1;
  min-height: 0;
  border-radius: 15px;
}

.product-copy {
  padding: 8px 4px 4px;
}

.product-copy h3 {
  min-height: 50px;
  font-size: 19px;
}

.product-copy p {
  min-height: 66px;
}

.price-row {
  align-items: flex-start;
  margin-top: 14px;
}

.price-row strong {
  font-size: 20px;
}

.price-row button,
.price-row .chat-action {
  border-radius: 12px;
}

@media (max-width: 1050px) {
  .market-header {
    padding: 12px 14px;
  }

  .market-header-inner,
  .market-nav {
    flex-wrap: wrap;
  }

  .market-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .market-hero,
  .commerce-layout,
  .section-title,
  .checkout-grid,
  .payment-grid,
  .support-grid,
  .operation-board {
    grid-template-columns: 1fr;
  }

  .market-hero {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-copy {
    min-height: auto;
  }

  .commerce-window {
    min-height: 520px;
  }

  .promo-gallery {
    grid-template-columns: 1fr;
  }

  .promo-tile.is-wide {
    min-height: 430px;
  }

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

  .catalog-panel {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .category-button {
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  .market-hero,
  .market-section,
  .market-strip,
  .market-footer,
  .last-order-panel {
    width: min(calc(100% - 28px), 1240px);
  }

  .brand-text small {
    max-width: 180px;
    white-space: normal;
  }

  .market-nav {
    border-radius: 18px;
  }

  .market-nav a {
    padding: 8px 10px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-market-metrics,
  .product-toolbar,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .commerce-window {
    min-height: 430px;
    border-radius: 22px;
  }

  .market-float-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 10px;
  }

  .float-card-products {
    margin-top: -118px;
  }

  .float-card-payment {
    display: none;
  }

  .promo-tile,
  .promo-tile.is-wide {
    min-height: 360px;
  }

  .product-copy h3,
  .product-copy p {
    min-height: auto;
  }
}

/* Premium product-home update: BYDALA as an electronics marketplace */
:root {
  --paper: #eef1f3;
  --ink: #101315;
  --muted: #687177;
  --line: rgba(16, 19, 21, 0.11);
  --surface: #fbfcfc;
  --surface-warm: #e5e9ec;
  --market: #2f6f89;
  --market-dark: #12313d;
  --gold: #a17443;
  --charcoal: #151a1d;
  --max: 1320px;
}

body {
  background:
    radial-gradient(circle at 78% 7%, rgba(47, 111, 137, 0.18), transparent 30vw),
    linear-gradient(180deg, #f8fafb 0, #eef1f3 520px, #e9edf0 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(16, 19, 21, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 21, 0.032) 1px, transparent 1px);
  background-size: 68px 68px;
}

.market-header {
  background: rgba(244, 247, 248, 0.82);
}

.brand-mark {
  border-radius: 10px;
  background: #101315;
}

.market-nav {
  overflow: visible;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  list-style: none;
  padding: 9px 12px;
  border-radius: 999px;
  color: #454b47;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

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

.nav-menu[open] summary,
.nav-menu summary:hover {
  color: #101315;
  background: rgba(16, 19, 21, 0.06);
}

.nav-menu div {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 12;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(16, 19, 21, 0.11);
  border-radius: 18px;
  background: rgba(251, 252, 252, 0.95);
  box-shadow: 0 24px 60px rgba(16, 19, 21, 0.14);
  backdrop-filter: blur(16px);
}

.nav-menu div a {
  display: flex;
  justify-content: space-between;
}

.premium-hero {
  grid-template-columns: minmax(340px, 0.68fr) minmax(560px, 1.18fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  min-height: min(820px, calc(100dvh - 78px));
  padding-top: 56px;
}

.premium-hero h1 {
  max-width: 620px;
  font-size: clamp(48px, 7vw, 92px);
}

.premium-hero .hero-lead {
  max-width: 620px;
}

.hero-product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.58fr);
  gap: 16px;
  min-height: 610px;
}

.hero-product-main,
.hero-product-stack article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 21, 0.1);
  background: rgba(251, 252, 252, 0.82);
  box-shadow: 0 28px 80px rgba(23, 30, 34, 0.12);
}

.hero-product-main {
  display: grid;
  align-content: space-between;
  padding: 18px;
  border-radius: 32px;
}

.hero-product-main > span {
  justify-self: start;
  padding: 8px 11px;
  border-radius: 999px;
  color: #f7fbfc;
  background: #101315;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-product-main img {
  align-self: center;
  width: min(92%, 560px);
  max-height: 430px;
  margin: 8px auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(16, 19, 21, 0.15));
}

.hero-product-main div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 19, 21, 0.1);
}

.hero-product-main p,
.hero-product-main strong {
  margin: 0;
}

.hero-product-main p {
  max-width: 280px;
  color: #20272b;
  font-size: clamp(23px, 3vw, 38px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-product-main strong {
  flex: 0 0 auto;
  color: #12313d;
  font-size: 22px;
}

.hero-product-stack {
  display: grid;
  gap: 16px;
}

.hero-product-stack article {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 14px;
  border-radius: 24px;
}

.hero-product-stack img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(16, 19, 21, 0.12));
}

.hero-product-stack span {
  justify-self: start;
  color: #273036;
  font-weight: 850;
}

.premium-systems {
  padding-top: 74px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.system-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(16, 19, 21, 0.1);
  border-radius: 24px;
  color: #f7fbfc;
  background: #182025;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.system-card.is-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 534px;
}

.system-card:hover,
.system-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(16, 19, 21, 0.2);
  outline: none;
}

.system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 32%, rgba(10, 13, 15, 0.84)),
    linear-gradient(90deg, rgba(10, 13, 15, 0.18), transparent 62%);
}

.system-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.system-card:hover img,
.system-card:focus-visible img {
  transform: scale(1.035);
}

.system-card div {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 1;
}

.system-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(247, 251, 252, 0.66);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.system-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 36px);
  line-height: 1.02;
  letter-spacing: 0;
}

.system-card p {
  max-width: 440px;
  margin: 12px 0 0;
  color: rgba(247, 251, 252, 0.72);
}

.promo-gallery {
  padding-top: 28px;
}

.product-area {
  padding-top: 78px;
}

.catalog-panel {
  background: rgba(251, 252, 252, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-button.is-active {
  background: #12313d;
}

.product-card {
  background: rgba(251, 252, 252, 0.86);
}

.product-card img {
  background: #f4f6f7;
  object-fit: contain;
  padding: 14px;
}

.product-copy small {
  color: #2f6f89;
}

.product-meta span {
  border: 1px solid rgba(16, 19, 21, 0.07);
  background: rgba(16, 19, 21, 0.045);
}

.utility-section {
  width: min(calc(100% - 40px), 1120px);
  opacity: 0.92;
}

.utility-section.workflow {
  margin-top: 20px;
  border-top: 1px solid rgba(16, 19, 21, 0.1);
}

@media (max-width: 1120px) {
  .premium-hero,
  .hero-product-stage {
    grid-template-columns: 1fr;
  }

  .hero-product-stage {
    min-height: auto;
  }

  .hero-product-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .market-nav {
    align-items: center;
    overflow-x: auto;
  }

  .nav-menu {
    position: static;
  }

  .nav-menu div {
    left: 0;
    right: auto;
  }

  .premium-hero {
    gap: 24px;
    padding-top: 28px;
  }

  .premium-hero h1 {
    margin-bottom: 18px;
    font-size: 40px;
    line-height: 1.02;
    letter-spacing: 0;
  }

  .premium-hero .hero-lead {
    font-size: 16px;
  }

  .premium-hero .hero-actions {
    margin-top: 22px;
  }

  .premium-hero .hero-market-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 24px;
  }

  .premium-hero .hero-market-metrics div {
    padding: 12px 8px;
  }

  .premium-hero .hero-market-metrics strong {
    font-size: 18px;
  }

  .premium-hero .hero-market-metrics span {
    font-size: 11px;
  }

  .hero-product-main {
    min-height: 360px;
    border-radius: 24px;
  }

  .hero-product-main img {
    max-height: 230px;
  }

  .hero-product-main div {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-product-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-product-stack article {
    min-height: 128px;
    padding: 8px;
    border-radius: 16px;
  }

  .hero-product-stack img {
    height: 82px;
  }

  .hero-product-stack span {
    font-size: 12px;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .system-card,
  .system-card.is-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .utility-section {
    width: min(calc(100% - 28px), 1120px);
  }
}

/* Electro showcase v2: stronger e-commerce hero and product energy */
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(207, 75, 49, 0.18), transparent 22vw),
    radial-gradient(circle at 86% 14%, rgba(47, 111, 137, 0.24), transparent 34vw),
    linear-gradient(180deg, #eef3f5 0, #f6f7f5 620px, #e9edf0 100%);
}

.market-header {
  border-bottom: 0;
  background: rgba(238, 243, 245, 0.72);
  box-shadow: 0 1px 0 rgba(16, 19, 21, 0.08);
}

.brand-mark {
  background: #cf4b31;
  box-shadow: 0 12px 28px rgba(207, 75, 49, 0.22);
}

.nav-pill {
  background: #cf4b31 !important;
}

.electro-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: min(calc(100% - 40px), 1460px);
  min-height: min(850px, calc(100dvh - 84px));
  margin-top: 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 21, 0.08);
  border-radius: 42px;
  background: #dfe6ea;
  box-shadow: 0 38px 110px rgba(22, 32, 38, 0.18);
}

.electro-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.electro-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(240, 245, 247, 0.94) 0%, rgba(240, 245, 247, 0.78) 32%, rgba(240, 245, 247, 0.22) 58%, rgba(9, 13, 15, 0.12) 100%),
    linear-gradient(180deg, transparent 58%, rgba(9, 13, 15, 0.28) 100%);
}

.electro-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(280px, 0.28fr);
  gap: 24px;
  align-items: start;
  padding: clamp(34px, 5vw, 74px);
}

.electro-hero .hero-copy {
  display: grid;
  align-content: start;
  min-height: 0;
  padding-top: clamp(18px, 4vh, 54px);
}

.electro-hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(58px, 8.6vw, 132px);
  line-height: 0.86;
  letter-spacing: 0;
  color: #101315;
}

.electro-hero .hero-lead {
  max-width: 560px;
  color: #3f494f;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 650;
}

.electro-hero .button {
  min-height: 54px;
  border-radius: 16px;
  font-weight: 850;
}

.electro-hero .button:not(.secondary) {
  background: #cf4b31;
}

.electro-hero .button:not(.secondary):hover {
  background: #a83c28;
}

.hero-deal-panel {
  justify-self: end;
  display: grid;
  gap: 12px;
  width: min(330px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  color: #f7fbfc;
  background: rgba(16, 19, 21, 0.72);
  box-shadow: 0 26px 70px rgba(16, 19, 21, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.hero-deal-panel span {
  color: rgba(247, 251, 252, 0.68);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-deal-panel strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-deal-panel p {
  margin: 0;
  color: rgba(247, 251, 252, 0.72);
}

.hero-deal-panel a {
  justify-self: start;
  padding: 10px 13px;
  border-radius: 999px;
  color: #101315;
  background: #f7fbfc;
  font-size: 13px;
  font-weight: 850;
}

.hero-hot-row {
  position: absolute;
  left: clamp(18px, 4vw, 58px);
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(18px, 3vw, 42px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-hot-row article {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 58px rgba(16, 19, 21, 0.16);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease;
}

.hero-hot-row article:hover,
.hero-hot-row article:focus-visible {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.94);
  outline: none;
}

.hero-hot-row img {
  width: 94px;
  height: 86px;
  object-fit: contain;
  border-radius: 18px;
  background: #eef2f3;
}

.hero-hot-row span,
.hero-hot-row strong {
  display: block;
}

.hero-hot-row span {
  color: #cf4b31;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-hot-row strong {
  margin-top: 5px;
  color: #101315;
  font-size: 20px;
  line-height: 1.05;
}

.market-strip {
  width: min(calc(100% - 40px), 1460px);
  margin-top: 18px;
  border: 0;
}

.premium-systems {
  width: min(calc(100% - 40px), 1460px);
}

.systems-grid {
  grid-template-columns: 1.35fr 0.75fr 0.9fr 0.9fr;
  gap: 16px;
}

.system-card {
  border-radius: 30px;
}

.system-card.is-large {
  grid-column: span 2;
}

.product-area {
  width: min(calc(100% - 40px), 1460px);
}

.commerce-layout {
  grid-template-columns: 230px 1fr;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #fdfefe;
  box-shadow: 0 18px 46px rgba(22, 32, 38, 0.08);
}

.product-card:hover {
  border-color: rgba(207, 75, 49, 0.2);
  box-shadow: 0 28px 70px rgba(22, 32, 38, 0.13);
}

.product-card img {
  aspect-ratio: 1 / 0.86;
  border-radius: 20px;
  background:
    radial-gradient(circle at 60% 35%, rgba(47, 111, 137, 0.14), transparent 38%),
    #f1f4f5;
}

.product-copy h3 {
  font-size: 20px;
}

.product-copy small {
  color: #cf4b31;
}

.price-row strong {
  color: #101315;
}

.price-row button:not(.secondary-action) {
  background: #cf4b31;
}

.price-row .secondary-action,
.price-row .chat-action {
  background: rgba(16, 19, 21, 0.07);
}

.price-row .chat-action {
  color: #12313d;
  background: rgba(47, 111, 137, 0.12);
}

@media (min-width: 1121px) {
  .product-card:nth-child(1),
  .product-card:nth-child(8n + 1) {
    grid-column: span 2;
    grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.96fr);
    align-items: stretch;
  }

  .product-card:nth-child(1) img,
  .product-card:nth-child(8n + 1) img {
    height: 100%;
    min-height: 310px;
    aspect-ratio: auto;
  }

  .product-card:nth-child(1) .product-copy,
  .product-card:nth-child(8n + 1) .product-copy {
    padding: 22px 16px 14px 0;
  }

  .product-card:nth-child(1) h3,
  .product-card:nth-child(8n + 1) h3 {
    font-size: 30px;
    min-height: auto;
  }
}

@media (max-width: 1220px) {
  .electro-hero-content {
    grid-template-columns: 1fr;
  }

  .hero-deal-panel {
    justify-self: start;
  }

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

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

@media (max-width: 820px) {
  .electro-hero {
    width: min(calc(100% - 26px), 1460px);
    min-height: 900px;
    border-radius: 30px;
  }

  .electro-hero-media {
    object-position: 64% center;
  }

  .electro-hero-overlay {
    background:
      linear-gradient(180deg, rgba(240, 245, 247, 0.96) 0%, rgba(240, 245, 247, 0.84) 44%, rgba(240, 245, 247, 0.26) 68%, rgba(9, 13, 15, 0.2) 100%);
  }

  .electro-hero-content {
    padding: 24px;
  }

  .electro-hero h1 {
    font-size: clamp(46px, 14vw, 70px);
    line-height: 0.92;
  }

  .electro-hero .hero-lead {
    font-size: 16px;
  }

  .hero-deal-panel {
    width: 100%;
    max-width: 360px;
    padding: 18px;
    border-radius: 22px;
  }

  .hero-deal-panel strong {
    font-size: 24px;
  }

  .hero-hot-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-hot-row article {
    grid-template-columns: 74px 1fr;
    min-height: 88px;
    border-radius: 18px;
  }

  .hero-hot-row img {
    width: 74px;
    height: 64px;
  }

  .hero-hot-row strong {
    font-size: 17px;
  }

  .systems-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .commerce-layout {
    grid-template-columns: 1fr;
  }
}

/* Clean hero + products pass: keep homepage sharp, not bulky */
.market-strip,
.premium-systems,
.promo-gallery {
  display: none;
}

.home-page .utility-section {
  display: none;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) auto;
  gap: 24px;
  align-items: end;
  padding-top: 72px;
  border-bottom: 1px solid rgba(16, 19, 21, 0.1);
}

.service-hero h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(50px, 8vw, 112px);
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.service-action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 0;
  padding-bottom: 0;
}

.service-action-strip a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(31, 122, 90, 0.16);
  border-radius: 18px;
  color: var(--market-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 249, 243, 0.76));
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(23, 21, 18, 0.07);
}

.service-action-strip a:nth-child(2) {
  border-color: rgba(134, 106, 58, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 233, 0.8));
}

.service-action-strip span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--market-dark);
  font-size: 11px;
  font-weight: 900;
}

.service-action-strip strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
}

.service-action-strip small {
  color: rgba(23, 21, 18, 0.66);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.service-action-strip a:hover,
.service-action-strip a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 90, 0.36);
  box-shadow: 0 24px 56px rgba(23, 21, 18, 0.1);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 20px;
}

.service-flow article {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(16, 19, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.service-flow span {
  color: #7a8f6a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-flow strong {
  font-size: 18px;
}

.service-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
}

@media (max-width: 900px) {
  .service-action-strip {
    grid-template-columns: 1fr;
  }

  .service-action-strip a {
    min-height: 104px;
  }

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

@media (max-width: 560px) {
  .service-flow {
    grid-template-columns: 1fr;
  }
}

.cart-float {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), 520px);
  padding: 12px 12px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  color: #fff;
  background: rgba(16, 19, 21, 0.88);
  box-shadow: 0 24px 70px rgba(16, 19, 21, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.cart-float[hidden] {
  display: none;
}

.cart-float span,
.cart-float strong {
  display: block;
}

.cart-float span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.cart-float strong {
  font-size: 18px;
}

.cart-float-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.cart-float-actions a,
.cart-float-actions button {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #fff;
  background: #cf4b31;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.cart-float-actions a.is-primary,
.cart-float-actions button.is-primary {
  background: #1f7a5a;
}

.cart-share-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 90, 0.14);
  border-radius: 18px;
  color: #17211d;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
}

.cart-share-actions:empty {
  display: none;
}

.cart-share-actions.is-compact {
  grid-template-columns: 1fr;
  padding: 10px;
}

.cart-share-actions > div {
  display: grid;
  align-content: center;
  gap: 6px;
}

.cart-share-actions span,
.cart-share-actions small {
  color: #68746f;
  font-size: 12px;
  line-height: 1.45;
}

.cart-share-actions strong {
  font-size: 16px;
  line-height: 1.25;
}

.cart-share-actions > div:last-child {
  grid-template-columns: 1fr;
}

.cart-share-actions .button {
  width: 100%;
  min-height: 42px;
  justify-content: center;
}

.customer-contact-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 19;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 22px;
  color: #17211d;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 24px 72px rgba(17, 24, 20, 0.18);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  transform: translate3d(0, 0, 0);
}

.customer-contact-dock[hidden] {
  display: none;
}

.has-cart-float .customer-contact-dock {
  bottom: 96px;
}

.customer-contact-copy {
  display: grid;
  gap: 3px;
}

.customer-contact-copy span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #34624f;
  background: rgba(31, 122, 90, 0.12);
  font-size: 11px;
  font-weight: 850;
}

.customer-contact-copy strong {
  font-size: 15px;
  line-height: 1.25;
}

.customer-contact-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
}

.customer-contact-actions a {
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(31, 122, 90, 0.13);
  border-radius: 14px;
  color: #273d34;
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.customer-contact-actions a:hover {
  background: #fff;
  transform: translateY(-1px);
}

.customer-contact-actions a:active {
  transform: translateY(1px) scale(0.99);
}

.customer-contact-actions a.is-primary {
  color: #fff;
  background: #1f7a5a;
}

@media (max-width: 640px) {
  .cart-float {
    bottom: 10px;
    align-items: stretch;
    border-radius: 18px;
  }

  .cart-float-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 58%;
  }

  .cart-float-actions a {
    padding-inline: 11px;
    font-size: 13px;
  }

  .cart-share-actions {
    grid-template-columns: 1fr;
  }

  .customer-contact-dock {
    right: 10px;
    bottom: 10px;
    width: min(300px, calc(100vw - 20px));
    padding: 10px;
    border-radius: 18px;
  }

  .has-cart-float .customer-contact-dock {
    bottom: 86px;
  }

  .customer-contact-copy strong {
    font-size: 13px;
  }

  .customer-contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .customer-contact-actions a {
    min-height: 36px;
    padding: 8px 7px;
    font-size: 12px;
  }
}

.electro-hero {
  min-height: min(760px, calc(100dvh - 92px));
}

.hero-deal-panel {
  min-height: 218px;
}

.hero-hot-row article {
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-hot-row article.is-active {
  border-color: rgba(207, 75, 49, 0.42);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(207, 75, 49, 0.18);
}

.product-area {
  padding-top: 54px;
}

.product-area .section-title {
  grid-template-columns: minmax(0, 0.6fr) minmax(280px, 0.4fr);
}

.commerce-layout {
  grid-template-columns: 220px 1fr;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.product-card,
.product-card:nth-child(1),
.product-card:nth-child(8n + 1) {
  display: grid;
  grid-column: auto;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 430px;
  padding: 12px;
}

.product-card img,
.product-card:nth-child(1) img,
.product-card:nth-child(8n + 1) img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  padding: 16px;
}

.product-card:nth-child(1) .product-copy,
.product-card:nth-child(8n + 1) .product-copy,
.product-copy {
  display: grid;
  grid-template-rows: auto auto minmax(44px, auto) auto auto;
  padding: 10px 4px 4px;
}

.product-card:nth-child(1) h3,
.product-card:nth-child(8n + 1) h3,
.product-copy h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 7px 0 8px;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.24;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-copy p {
  display: -webkit-box;
  min-height: 44px;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta span:nth-child(3) {
  display: none;
}

.price-row {
  align-self: end;
}

@media (max-width: 1220px) {
  .electro-hero {
    min-height: 860px;
  }

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

@media (max-width: 820px) {
  .electro-hero {
    min-height: 760px;
  }

  .hero-deal-panel {
    display: none;
  }

  .hero-hot-row {
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .hero-hot-row article {
    min-height: 74px;
  }

  .hero-hot-row article:nth-child(n + 3) {
    display: none;
  }

  .product-area .section-title,
  .commerce-layout,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }
}

/* Slim storefront pass: large hero first, products second */
.home-page {
  background:
    linear-gradient(180deg, #f4f5f2 0, #eef1f2 56vh, #f7f7f4 100%);
}

.home-page::before {
  opacity: 0.34;
}

.home-page .market-header {
  width: min(calc(100% - 32px), 1480px);
  min-height: 68px;
  margin-top: 10px;
  border: 1px solid rgba(16, 19, 21, 0.08);
  border-radius: 22px;
  background: rgba(248, 249, 246, 0.82);
}

.home-page .market-nav {
  gap: 10px;
}

.home-page .market-nav > a,
.home-page .market-nav summary {
  padding: 9px 11px;
  border-radius: 999px;
}

.home-page .market-nav > a:not(.nav-pill):hover,
.home-page .market-nav summary:hover {
  background: rgba(16, 19, 21, 0.06);
}

.home-page .electro-hero {
  width: min(calc(100% - 32px), 1480px);
  min-height: min(780px, calc(100dvh - 92px));
  margin-top: 16px;
  border-radius: 30px;
  background: #eef2f3;
  box-shadow: 0 30px 92px rgba(20, 30, 34, 0.16);
}

.home-page .electro-hero-media {
  z-index: 0;
  object-position: 64% center;
  transform: scale(1.012);
  transition: opacity 0.26s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .electro-hero-video {
  z-index: 1;
}

.home-page .electro-hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(246, 247, 244, 0.96) 0%, rgba(246, 247, 244, 0.78) 27%, rgba(246, 247, 244, 0.24) 49%, rgba(14, 18, 19, 0.06) 100%),
    linear-gradient(180deg, rgba(14, 18, 19, 0.02) 0%, rgba(14, 18, 19, 0.18) 100%);
}

.home-page .electro-hero-content {
  z-index: 3;
  grid-template-columns: minmax(320px, 0.44fr) minmax(240px, 0.22fr);
  justify-content: space-between;
  align-items: start;
  padding: clamp(28px, 4.6vw, 66px);
}

.home-page .electro-hero .hero-copy {
  max-width: 530px;
  padding-top: clamp(8px, 4vh, 42px);
}

.home-page .electro-hero h1 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(58px, 8.2vw, 118px);
  letter-spacing: 0;
}

.home-page .electro-hero .hero-lead {
  max-width: 440px;
  margin-bottom: 24px;
  color: rgba(16, 19, 21, 0.72);
  font-size: clamp(16px, 1.42vw, 20px);
  font-weight: 700;
}

.home-page .hero-actions {
  gap: 9px;
}

.home-page .electro-hero .button {
  min-height: 48px;
  padding: 13px 17px;
  border-radius: 14px;
}

.home-page .hero-deal-panel {
  width: min(292px, 100%);
  min-height: 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(15, 19, 21, 0.64);
}

.home-page .hero-deal-panel strong {
  font-size: 24px;
  letter-spacing: 0;
}

.home-page .hero-deal-panel p {
  font-size: 14px;
  line-height: 1.45;
}

.home-page .hero-hot-row {
  z-index: 3;
  left: clamp(16px, 3vw, 42px);
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 2.6vw, 34px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-page .hero-hot-row article {
  grid-template-columns: 84px 1fr;
  min-height: 100px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.home-page .hero-hot-row article.is-active {
  border-color: rgba(207, 75, 49, 0.5);
  background: rgba(255, 255, 255, 0.95);
}

.home-page .hero-hot-row img {
  width: 84px;
  height: 78px;
  padding: 8px;
  border-radius: 16px;
  object-fit: contain;
}

.home-page .hero-hot-row strong {
  font-size: 18px;
}

.home-page .product-area {
  width: min(calc(100% - 32px), 1480px);
  padding-top: 38px;
}

.home-page .product-area .section-title {
  display: block;
  max-width: 820px;
  margin-bottom: 22px;
}

.home-page .product-area .section-title h2 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-page .product-area .section-title p:last-child {
  max-width: 660px;
  margin: 0;
}

.home-page .commerce-layout {
  grid-template-columns: 190px 1fr;
  gap: 18px;
}

.home-page .catalog-panel {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100dvh - 118px);
  overflow: auto;
}

.home-page .product-toolbar {
  margin-bottom: 16px;
}

.home-page .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: grid;
  grid-column: auto;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 404px;
  padding: 10px;
  border-radius: 20px;
  background: #ffffff;
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 0.82;
  padding: 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 58% 32%, rgba(47, 111, 137, 0.1), transparent 36%),
    #f4f6f6;
  object-fit: contain;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: grid;
  grid-template-rows: auto auto minmax(42px, auto) auto auto;
  padding: 10px 2px 2px;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  min-height: 44px;
  margin: 6px 0 7px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0;
}

.home-page .product-copy p {
  min-height: 42px;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.home-page .product-meta {
  gap: 5px;
}

.home-page .product-meta span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .price-row {
  align-self: end;
  gap: 9px;
}

.home-page .price-row strong {
  font-size: 19px;
}

.home-page .product-actions {
  gap: 6px;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .home-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-page .electro-hero {
    min-height: 790px;
  }

  .home-page .electro-hero-content {
    grid-template-columns: 1fr;
  }

  .home-page .hero-deal-panel {
    display: none;
  }

  .home-page .hero-hot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .commerce-layout {
    grid-template-columns: 1fr;
  }

  .home-page .catalog-panel {
    position: static;
    max-height: none;
  }

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

@media (max-width: 620px) {
  .home-page .market-header,
  .home-page .electro-hero,
  .home-page .product-area {
    width: min(calc(100% - 20px), 1480px);
  }

  .home-page .market-header {
    margin-top: 6px;
    border-radius: 18px;
  }

  .home-page .market-nav a:not(.nav-pill),
  .home-page .market-nav .nav-menu {
    display: none;
  }

  .home-page .electro-hero {
    min-height: 740px;
    margin-top: 10px;
    border-radius: 24px;
  }

  .home-page .electro-hero-overlay {
    background:
      linear-gradient(180deg, rgba(246, 247, 244, 0.98) 0%, rgba(246, 247, 244, 0.84) 36%, rgba(246, 247, 244, 0.18) 70%, rgba(14, 18, 19, 0.16) 100%);
  }

  .home-page .electro-hero-content {
    padding: 22px;
  }

  .home-page .electro-hero h1 {
    max-width: 340px;
    font-size: clamp(48px, 16vw, 68px);
    line-height: 0.94;
  }

  .home-page .electro-hero .hero-lead {
    max-width: 330px;
    font-size: 15px;
  }

  .home-page .hero-actions {
    align-items: stretch;
  }

  .home-page .electro-hero .button {
    justify-content: center;
    width: 100%;
  }

  .home-page .hero-hot-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .home-page .hero-hot-row article {
    grid-template-columns: 64px 1fr;
    min-height: 72px;
    padding: 7px;
    border-radius: 16px;
  }

  .home-page .hero-hot-row article:nth-child(n + 4) {
    display: none;
  }

  .home-page .hero-hot-row img {
    width: 64px;
    height: 58px;
    border-radius: 12px;
  }

  .home-page .hero-hot-row span {
    font-size: 10px;
  }

  .home-page .hero-hot-row strong {
    font-size: 16px;
  }

  .home-page .product-area {
    padding-top: 28px;
  }

  .home-page .product-toolbar {
    gap: 10px;
  }

  .home-page .product-grid {
    grid-template-columns: 1fr;
  }

  .home-page .product-card {
    min-height: 0;
  }
}

/* Final homepage storefront override: video hero, compact 14 systems, uniform product cards */
.home-page .electro-hero {
  isolation: isolate;
  min-height: min(820px, calc(100dvh - 92px));
  overflow: hidden;
  border-radius: 28px;
  background: #edf1f2;
}

.home-page .electro-hero-video,
.home-page .electro-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .electro-hero-video {
  z-index: 1;
  opacity: 0.92;
}

.home-page .electro-hero-video[hidden] {
  display: none;
}

.home-page .electro-hero-media {
  z-index: 0;
}

.home-page .electro-hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(246, 247, 244, 0.97) 0%, rgba(246, 247, 244, 0.8) 28%, rgba(246, 247, 244, 0.18) 56%, rgba(14, 18, 19, 0.18) 100%),
    linear-gradient(180deg, rgba(14, 18, 19, 0.02) 0%, rgba(14, 18, 19, 0.24) 100%);
}

.home-page .hero-hot-row {
  z-index: 3;
  align-items: stretch;
}

.home-page .hero-hot-row article {
  min-width: 0;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(16, 19, 21, 0.14);
}

.home-page .premium-systems {
  display: block;
  width: min(calc(100% - 32px), 1480px);
  padding: 24px 0 4px;
}

.home-page .premium-systems .section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.home-page .premium-systems .section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.home-page .premium-systems .section-title p:last-child {
  max-width: 480px;
  margin: 0;
  font-size: 14px;
}

.home-page .systems-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(172px, 208px);
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}

.home-page .systems-grid::-webkit-scrollbar {
  display: none;
}

.home-page .system-card,
.home-page .system-card.is-large {
  grid-column: auto;
  min-height: 128px;
  border-radius: 18px;
}

.home-page .system-card img {
  filter: saturate(0.96) contrast(1.03);
}

.home-page .system-card::after {
  background: linear-gradient(180deg, transparent 12%, rgba(13, 17, 18, 0.68));
}

.home-page .system-card div {
  inset: auto 12px 12px 12px;
  gap: 4px;
}

.home-page .system-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.08;
}

.home-page .system-card p {
  display: none;
}

.home-page .product-area {
  padding-top: 44px;
}

.home-page .product-grid {
  align-items: stretch;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  grid-template-rows: auto 1fr;
  min-height: 386px;
  padding: 12px;
  border-color: rgba(16, 19, 21, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(20, 30, 34, 0.07);
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.76;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 32%, rgba(207, 75, 49, 0.08), transparent 34%),
    linear-gradient(180deg, #f8faf9, #eef2f2);
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 14px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  grid-template-rows: auto 46px 40px auto auto;
  padding: 10px 0 0;
}

.home-page .product-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-page .premium-systems .section-title {
    display: block;
  }
}

@media (max-width: 620px) {
  .home-page .electro-hero {
    min-height: 760px;
  }

  .home-page .premium-systems {
    width: min(calc(100% - 20px), 1480px);
    padding-top: 18px;
  }

  .home-page .systems-grid {
    grid-auto-columns: minmax(148px, 172px);
  }

  .home-page .system-card,
  .home-page .system-card.is-large {
    min-height: 112px;
  }

  .home-page .product-actions {
    grid-template-columns: 1fr;
  }
}
/* Final homepage product-card override: keep the short price status visible. */
.home-page .product-meta .price-status {
  display: inline-flex !important;
  align-items: center;
}

/* Final homepage product-card readability fix: prevent Chinese titles and actions from overlapping. */
.home-page .product-grid {
  align-items: stretch;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: grid !important;
  grid-template-rows: minmax(150px, auto) 1fr !important;
  min-height: 390px !important;
  height: 100%;
  padding: 10px !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: grid !important;
  grid-template-rows: 18px minmax(44px, auto) minmax(24px, auto) auto !important;
  align-content: start;
  gap: 7px;
  min-height: 160px !important;
  padding: 11px 2px 0 !important;
}

.home-page .product-copy small {
  display: block;
  min-width: 0;
  line-height: 18px;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  min-height: 44px !important;
  max-height: 44px;
  margin: 0 !important;
  overflow: hidden;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.45 !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .product-copy p {
  display: none !important;
}

.home-page .product-meta {
  display: flex !important;
  align-items: flex-start !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden;
}

.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  max-width: 100%;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1.15;
  white-space: normal;
}

.home-page .price-row {
  display: grid !important;
  grid-template-rows: minmax(24px, auto) auto;
  align-self: end;
  gap: 8px;
  margin: 0 !important;
}

.home-page .price-row strong {
  display: block;
  min-height: 24px;
  margin: 0;
  overflow: hidden;
  font-size: 14px !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 7px;
  width: 100%;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 0 8px !important;
  overflow: hidden;
  font-size: 12px !important;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    grid-template-rows: minmax(132px, auto) 1fr !important;
    min-height: 342px !important;
    padding: 8px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 17px minmax(40px, auto) minmax(24px, auto) auto !important;
    gap: 6px;
    min-height: 170px !important;
    padding-top: 9px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 40px !important;
    max-height: 40px;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .home-page .price-row strong {
    font-size: 12px !important;
  }

  .home-page .product-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 34px;
    font-size: 11px !important;
  }
}

/* Product card readability hotfix: prevent title, price status and buttons from overlapping. */
.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  grid-template-rows: auto minmax(178px, 1fr) !important;
  min-height: 386px !important;
  overflow: hidden !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  min-height: 0 !important;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: flex !important;
  flex-direction: column !important;
  min-height: 178px !important;
  padding: 11px 1px 0 !important;
  gap: 7px !important;
}

.home-page .product-copy small {
  flex: 0 0 auto !important;
  min-height: 14px !important;
  line-height: 1.25 !important;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  flex: 0 0 auto !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  word-break: break-word !important;
}

.home-page .product-meta {
  display: flex !important;
  flex: 0 0 auto !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  max-width: 100% !important;
  min-height: 22px !important;
  padding: 4px 7px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.home-page .price-row {
  display: flex !important;
  flex: 1 0 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  min-height: 70px !important;
  margin-top: auto !important;
}

.home-page .price-row strong {
  display: block !important;
  min-height: 20px !important;
  overflow: hidden !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
  gap: 7px !important;
  margin-top: 0 !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  width: 100% !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1040px) {
  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 404px !important;
  }
}

@media (max-width: 620px) {
  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 348px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    min-height: 168px !important;
    gap: 6px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .home-page .product-actions {
    grid-template-columns: 1fr !important;
  }

  .fulfillment-visible-fields ul,
  .fulfillment-visibility ul,
  .customer-safety-gates ol,
  .fulfillment-details {
    grid-template-columns: 1fr;
  }
}

/* Premium 14-system guide: stable product-system cards above the catalog. */
.home-page .system-rail {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(174px, 1fr) !important;
  gap: 10px !important;
  overflow-x: auto !important;
  margin: 0 0 18px !important;
  padding: 2px 2px 12px !important;
  scroll-snap-type: x proximity !important;
  scrollbar-width: thin !important;
}

.home-page .system-rail-card,
.home-page .system-rail button {
  position: relative !important;
  display: grid !important;
  grid-template-rows: 18px 24px 18px 20px !important;
  align-content: start !important;
  min-height: 116px !important;
  padding: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(24, 25, 23, 0.09) !important;
  border-radius: 14px !important;
  color: #151614 !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 237, 226, 0.72)) !important;
  box-shadow: 0 12px 28px rgba(24, 25, 23, 0.06) !important;
  text-align: left !important;
  scroll-snap-align: start !important;
  cursor: pointer !important;
}

.home-page .system-rail-card::after,
.home-page .system-rail button::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 12px 12px auto !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 35% 35%, rgba(224, 73, 45, 0.34), transparent 58%),
    rgba(24, 25, 23, 0.06) !important;
  pointer-events: none !important;
}

.home-page .system-rail-card:hover,
.home-page .system-rail-card:focus-visible,
.home-page .system-rail button:hover,
.home-page .system-rail button:focus-visible {
  border-color: rgba(224, 73, 45, 0.32) !important;
  background: #ffffff !important;
  outline: none !important;
  transform: translateY(-2px) !important;
}

.home-page .system-rail-card.is-active,
.home-page .system-rail button.is-active {
  border-color: rgba(224, 73, 45, 0.46) !important;
  background: #151614 !important;
  color: #ffffff !important;
}

.home-page .system-index {
  color: #a16b49 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
}

.home-page .system-rail-card.is-active .system-index,
.home-page .system-rail button.is-active .system-index {
  color: #f1b38e !important;
}

.home-page .system-rail strong {
  min-width: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.home-page .system-subtitle,
.home-page .system-count {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #766f63 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.home-page .system-count {
  color: #8d4c2d !important;
  font-weight: 850 !important;
}

.home-page .system-rail-card.is-active .system-subtitle,
.home-page .system-rail-card.is-active .system-count,
.home-page .system-rail button.is-active .system-subtitle,
.home-page .system-rail button.is-active .system-count {
  color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 1040px) {
  .home-page .system-rail {
    grid-auto-columns: minmax(164px, 188px) !important;
  }
}

@media (max-width: 620px) {
  .home-page .system-rail {
    grid-auto-columns: minmax(152px, 168px) !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .home-page .system-rail-card,
  .home-page .system-rail button {
    min-height: 108px !important;
    padding: 12px !important;
  }

  .home-page .system-rail strong {
    font-size: 14px !important;
  }
}

@media (max-width: 620px) {
  .pricing-readiness {
    grid-template-columns: 1fr;
  }

  .pricing-readiness-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Home product-focus pass: one strong hero, then a disciplined product wall */
.home-page .market-strip,
.home-page .premium-systems,
.home-page .promo-gallery {
  display: none;
}

.home-page .electro-hero {
  min-height: clamp(620px, calc(100dvh - 92px), 860px);
  margin-bottom: 0;
  box-shadow: 0 32px 90px rgba(18, 27, 31, 0.17);
}

.home-page .electro-hero-media {
  object-position: 62% center;
  filter: saturate(1.03) contrast(1.02);
}

.home-page .electro-hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 247, 244, 0.98) 0%, rgba(246, 247, 244, 0.82) 30%, rgba(246, 247, 244, 0.2) 58%, rgba(14, 18, 19, 0.14) 100%),
    linear-gradient(180deg, rgba(14, 18, 19, 0.02) 0%, rgba(14, 18, 19, 0.22) 100%);
}

.home-page .electro-hero h1 {
  font-size: clamp(62px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

.home-page .hero-deal-panel {
  margin-top: clamp(8px, 3vw, 34px);
}

.home-page .hero-hot-row {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.home-page .hero-hot-row article {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease;
}

.home-page .hero-hot-row article:active {
  transform: translateY(1px) scale(0.992);
}

.home-page .last-order-panel {
  width: min(calc(100% - 32px), 1480px);
  margin-top: 18px;
}

.home-page .product-area {
  padding-top: clamp(34px, 5vw, 64px);
}

.home-page .product-area .section-title {
  max-width: 1040px;
}

.home-page .product-area .section-title h2 {
  font-size: clamp(36px, 4.6vw, 72px);
}

.home-page .commerce-layout {
  align-items: start;
}

.home-page .catalog-panel {
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(16, 19, 21, 0.06);
}

.home-page .category-button {
  min-height: 42px;
}

.home-page .product-toolbar {
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(16, 19, 21, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.home-page .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  min-height: 382px;
  padding: 10px;
  border-radius: 16px;
  box-shadow: none;
}

.home-page .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(20, 30, 34, 0.09);
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  aspect-ratio: 1 / 0.84;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 34%, rgba(31, 122, 90, 0.08), transparent 36%),
    linear-gradient(180deg, #f8faf9, #eef2f2);
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  padding: 12px;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  grid-template-rows: 18px 44px 38px 44px auto;
  min-height: 190px;
  padding-top: 9px;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 3px 0 5px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
  line-height: 1.26;
}

.home-page .product-copy p {
  display: -webkit-box;
  min-height: 38px;
  margin-bottom: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.45;
}

.home-page .product-meta {
  align-content: start;
  min-height: 44px;
}

.home-page .product-meta span {
  font-size: 10px;
}

.home-page .price-row {
  display: grid;
  gap: 8px;
}

.home-page .price-row strong {
  min-height: 23px;
  font-size: 17px;
}

@media (max-width: 1320px) {
  .home-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .home-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-page .electro-hero {
    min-height: 780px;
  }

  .home-page .hero-hot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-page .electro-hero {
    min-height: 720px;
  }

  .home-page .electro-hero h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .home-page .hero-hot-row {
    grid-template-columns: 1fr;
  }

  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 338px;
    padding: 8px;
  }

  .home-page .product-card img,
  .home-page .product-card:nth-child(1) img,
  .home-page .product-card:nth-child(8n + 1) img {
    padding: 9px;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 40px 34px 38px auto;
    min-height: 174px;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 40px;
    font-size: 14px;
  }

  .home-page .product-copy p {
    min-height: 34px;
    font-size: 11px;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }
}

/* Final product-led homepage override. Keep this last so older homepage passes do not win. */
.home-page {
  background:
    linear-gradient(180deg, #f3f1ea 0%, #f8f7f2 42%, #ece7dc 100%);
}

.home-page .market-header,
.home-page .electro-hero,
.home-page .product-area,
.home-page .last-order-panel {
  width: min(calc(100% - 32px), 1480px);
}

.home-page .market-header {
  min-height: 72px;
}

.home-page .market-nav {
  gap: 18px;
}

.home-page .nav-pill {
  padding-inline: 18px;
  border-radius: 14px;
  background: #151614 !important;
}

.home-page .electro-hero {
  min-height: clamp(650px, calc(100dvh - 86px), 900px);
  margin-top: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #171817;
  box-shadow: 0 34px 90px rgba(22, 24, 22, 0.22);
}

.home-page .electro-hero-media {
  transform: scale(1.02);
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.04);
  animation: homeHeroSlowZoom 12s ease-in-out infinite alternate;
}

.home-page .electro-hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.82) 0%, rgba(12, 13, 12, 0.58) 31%, rgba(12, 13, 12, 0.08) 65%, rgba(12, 13, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 13, 12, 0.08) 0%, rgba(12, 13, 12, 0.74) 100%);
}

.home-page .electro-hero-content {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  min-height: 100%;
  padding: clamp(30px, 5.2vw, 78px);
}

.home-page .electro-hero .hero-copy {
  align-content: center;
  padding-top: 0;
}

.home-page .electro-hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.home-page .electro-hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(56px, 8.2vw, 122px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.home-page .electro-hero .hero-lead {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
}

.home-page .hero-actions {
  margin-top: 26px;
}

.home-page .electro-hero .button {
  min-height: 52px;
  border-radius: 14px;
  color: #161715;
  background: #f1eee6;
  box-shadow: none;
}

.home-page .electro-hero .button:hover {
  background: #ffffff;
}

.home-page .hero-deal-panel {
  align-self: center;
  width: min(300px, 100%);
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(20, 22, 20, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.home-page .hero-deal-panel strong {
  font-size: clamp(22px, 2.1vw, 32px);
}

.home-page .hero-deal-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.home-page .hero-hot-row {
  left: clamp(14px, 2.6vw, 38px);
  right: clamp(14px, 2.6vw, 38px);
  bottom: clamp(14px, 2.4vw, 34px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-page .hero-hot-row article {
  min-height: 106px;
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(245, 243, 235, 0.82);
  box-shadow: none;
}

.home-page .hero-hot-row article.is-active {
  background: #ffffff;
  transform: translateY(-4px);
}

.home-page .hero-hot-row img {
  width: 84px;
  height: 78px;
  border-radius: 12px;
  object-fit: contain;
  background: #f1f1ee;
}

.home-page .hero-hot-row span {
  color: #8d4c2d;
}

.home-page .product-area {
  padding-top: clamp(38px, 5vw, 72px);
}

.home-page .product-area .section-title {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  max-width: none;
  margin-bottom: 20px;
}

.home-page .product-area .section-title h2 {
  font-size: clamp(34px, 4.5vw, 68px);
}

.home-page .product-area .section-title p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  font-size: 14px;
}

.home-page .commerce-layout {
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.home-page .catalog-panel,
.home-page .product-toolbar {
  border: 1px solid rgba(24, 25, 23, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.home-page .product-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  margin-bottom: 12px;
}

.home-page .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 348px;
  padding: 9px;
  overflow: hidden;
  border-color: rgba(24, 25, 23, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.home-page .product-card:hover {
  border-color: rgba(24, 25, 23, 0.18);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(33, 35, 31, 0.1);
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 11px;
  background:
    linear-gradient(180deg, #fbfbf8 0%, #ebe9e1 100%);
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px;
  object-fit: contain;
  background: transparent;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: grid;
  grid-template-rows: 17px 42px 0 28px auto;
  min-height: 144px;
  padding: 9px 1px 0;
}

.home-page .product-copy small {
  overflow: hidden;
  color: #7f6944;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box;
  min-height: 42px;
  margin: 2px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #191a18;
  font-size: 15px;
  line-height: 1.28;
}

.home-page .product-copy p {
  display: none;
}

.home-page .product-meta {
  align-items: start;
  min-height: 28px;
  margin-top: 0;
  overflow: hidden;
}

.home-page .product-meta span {
  max-width: 100%;
  padding: 4px 7px;
  overflow: hidden;
  color: #777067;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .product-meta span:nth-child(n + 2) {
  display: none;
}

.home-page .price-row {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.home-page .price-row strong {
  min-height: 22px;
  color: #151614;
  font-size: 16px;
  line-height: 1.2;
}

.home-page .product-actions {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 6px;
  width: 100%;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}

@keyframes homeHeroSlowZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.075);
  }
}

@media (max-width: 1320px) {
  .home-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .home-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-page .electro-hero {
    min-height: 760px;
  }

  .home-page .electro-hero-content,
  .home-page .product-area .section-title,
  .home-page .commerce-layout,
  .home-page .product-toolbar {
    grid-template-columns: 1fr;
  }

  .home-page .hero-deal-panel {
    display: none;
  }

  .home-page .hero-hot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .catalog-panel {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
  }

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

  .home-page .category-button {
    flex: 0 0 auto;
  }
}

@media (max-width: 620px) {
  .home-page .market-header,
  .home-page .electro-hero,
  .home-page .product-area,
  .home-page .last-order-panel {
    width: min(calc(100% - 20px), 1480px);
  }

  .home-page .electro-hero {
    min-height: 690px;
    border-radius: 18px;
  }

  .home-page .electro-hero-content {
    padding: 24px;
  }

  .home-page .electro-hero h1 {
    font-size: clamp(50px, 17vw, 76px);
  }

  .home-page .hero-lead {
    max-width: 310px;
  }

  .home-page .hero-hot-row {
    grid-template-columns: 1fr;
  }

  .home-page .hero-hot-row article:nth-child(n + 4) {
    display: none;
  }

  .showroom-sku-board {
    padding: 16px;
    border-radius: 18px;
  }

  .showroom-sku-grid {
    grid-template-columns: 1fr;
  }

  .showroom-sku-grid button {
    min-height: 0;
  }

  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 305px;
    padding: 7px;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 38px 0 24px auto;
    min-height: 132px;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 38px;
    font-size: 13px;
  }

  .home-page .product-meta span {
    font-size: 9px;
  }

  .home-page .product-actions {
    grid-template-columns: 1fr;
  }
}

/* Final homepage product-card override: keep the short price status visible. */
.home-page .product-meta .price-status {
  display: inline-flex !important;
  align-items: center;
}

/* Final live product-card layout guard. Keep this as the last homepage product rule. */
.home-page .product-grid {
  align-items: stretch;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto minmax(178px, 1fr) !important;
  min-height: 390px !important;
  height: 100%;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-height: 178px !important;
  padding: 11px 2px 0 !important;
}

.home-page .product-copy small {
  display: block;
  flex: 0 0 auto !important;
  min-width: 0;
  min-height: 16px !important;
  overflow: hidden;
  line-height: 16px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  flex: 0 0 auto !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1.5 !important;
  word-break: break-word !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .product-copy p {
  display: none !important;
}

.home-page .product-meta {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: flex-start !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  max-width: 100% !important;
  min-height: 22px !important;
  padding: 4px 7px !important;
  overflow: hidden !important;
  border-radius: 999px;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .price-row {
  display: flex !important;
  flex: 1 0 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  min-height: 70px !important;
  margin: auto 0 0 !important;
}

.home-page .price-row strong {
  display: block !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
  gap: 7px !important;
  width: 100%;
  margin-top: 0 !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1 !important;
  text-align: center;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 620px) {
  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(170px, 1fr) !important;
    min-height: 352px !important;
    padding: 8px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    gap: 6px !important;
    min-height: 170px !important;
    padding-top: 9px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .home-page .product-actions {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 34px !important;
    font-size: 11px !important;
  }
}

/* Keep the catalog entrance compact so products appear sooner. */
.home-page .product-area {
  padding-top: 24px !important;
}

.home-page .product-area .section-title {
  margin-bottom: 14px !important;
}

.home-page .product-area .section-title h2 {
  margin-bottom: 4px !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  .home-page .product-area {
    padding-top: 18px !important;
  }

  .home-page .product-area .section-title {
    margin-bottom: 12px !important;
  }

  .home-page .product-area .section-title h2 {
    font-size: 34px !important;
  }
}

/* 20260715 final live guard: product cards must never overlap text, price, or actions. */
.home-page .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-card img,
.home-page .product-card:nth-child(1) img,
.home-page .product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 176px !important;
  padding: 12px 2px 0 !important;
  overflow: visible !important;
}

.home-page .product-copy small {
  display: block !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 42px !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-copy p,
.home-page .product-meta span {
  display: none !important;
}

.home-page .product-meta {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 22px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .price-row {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 82px !important;
  margin: 0 !important;
  overflow: visible !important;
}

.home-page .price-row strong {
  display: block !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(202px, auto) !important;
    min-height: 386px !important;
    padding: 8px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 40px 23px minmax(112px, auto) !important;
    gap: 6px !important;
    min-height: 202px !important;
    padding-top: 9px !important;
  }

  .home-page .product-copy h3,
  .home-page .product-card:nth-child(1) h3,
  .home-page .product-card:nth-child(8n + 1) h3 {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .home-page .price-row {
    min-height: 112px !important;
  }

  .home-page .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-actions button,
  .home-page .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 390px) {
  .home-page .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    min-height: 424px !important;
  }
}
