/*
 * Common Thread storefront. Direction: sportswear catalog.
 * Photography leads; type is condensed Archivo caps for headings (catalog/price-tag feel),
 * IBM Plex Sans for reading, Plex Mono for SKU-ish labels (shared with the lab UI).
 * White paper, near-black ink, one vermilion accent used only for sale prices and "from chat" spotlights.
 */
:root {
  --paper: #ffffff;
  --ink: #141414;
  --muted: #6d6b67;
  --line: #e3e1dc;
  --soft: #f2f1ee;
  --accent: #d4471f;
  --accent-soft: #fbe9e3;
  --chat-w: 420px;
  --rules: #1f7a4a;
  --llm: #5a4bd1;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-anchor: none; margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--sans); }
body.chat-docked { padding-right: var(--chat-w); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ── chrome ── */
.promo-bar { background: var(--ink); color: #fff; font: 12px/1.4 var(--mono); padding: 8px 16px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; text-align: center; }
.promo-event { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.promo-bar.flash { animation: flashBar 1.6s ease-out; }
.site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px; padding: 0 24px; height: 60px; }
.logo { font: 800 22px/1 var(--display); font-stretch: 125%; letter-spacing: 0.06em; text-decoration: none; }
.nav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.nav a { font: 600 13px/1 var(--display); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; padding: 22px 0 19px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a[aria-current] { border-color: var(--ink); }
.nav .nav-sale { color: var(--accent); }
.search { margin-left: auto; }
.search input { width: 220px; border: 1px solid var(--line); background: var(--soft); padding: 8px 12px; border-radius: 2px; }
.head-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 2px; }
.lang button { border: 0; background: none; padding: 6px 9px; font: 500 12px/1 var(--mono); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cart-btn { border: 0; background: none; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cart-count { background: var(--ink); color: #fff; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; font: 500 11px/1 var(--mono); padding: 0 6px; }

.page { max-width: 1320px; margin: 0 auto; padding: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--paper); padding: 12px 20px; font: 600 13px/1 var(--display); font-stretch: 100%; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; cursor: pointer; border-radius: 2px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.icon-btn { border: 0; background: none; font-size: 20px; line-height: 1; width: 32px; height: 32px; cursor: pointer; border-radius: 2px; }
.icon-btn:hover { background: var(--soft); }
.link { border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; font-size: 13px; color: var(--muted); }
.eyebrow { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 8px; }
.credit { font: 11px/1.3 var(--mono); color: var(--muted); }
.empty { color: var(--muted); padding: 48px 0; text-align: center; }

/* ── home ── */
.hero { position: relative; margin: 0 0 24px; height: min(62vh, 560px); background: var(--soft); overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { position: absolute; left: 24px; bottom: 24px; background: var(--paper); padding: 24px 28px; max-width: 420px; }
.hero-panel h1, .sale-banner h1 { font: 800 56px/0.92 var(--display); font-stretch: 75%; text-transform: uppercase; margin: 0 0 8px; letter-spacing: -0.01em; }
.hero-sub { margin: 0 0 20px; color: var(--muted); }
.hero .credit { position: absolute; right: 12px; bottom: 8px; margin: 0; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); }
.hero.flash .hero-panel, .sale-banner.flash { animation: flashPanel 1.8s ease-out; }
.hero, .sale-banner, .shelf { scroll-margin-top: 84px; }
.sale-banner { border: 1px solid var(--ink); padding: 32px; margin-bottom: 24px; }
.sale-banner p:last-child { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
.tile { position: relative; text-decoration: none; background: var(--soft); aspect-ratio: 1; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 8px 12px; font: 700 14px/1 var(--display); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── listing ── */
.listing { margin-bottom: 48px; }
.listing-head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; margin-bottom: 20px; }
.listing-head h2 { font: 800 28px/1 var(--display); font-stretch: 75%; text-transform: uppercase; margin: 0; }
.listing-head .count { font: 12px var(--mono); color: var(--muted); }
.listing-head select { margin-left: auto; border: 1px solid var(--line); background: var(--paper); padding: 6px 8px; border-radius: 2px; font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 16px; }
.tile-p { display: flex; flex-direction: column; gap: 3px; text-decoration: none; position: relative; }
.tile-img { position: relative; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; margin-bottom: 8px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.2s; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tile-p:hover .tile-img img { transform: scale(1.03); }
.tile-p.picked .tile-img { outline-color: var(--accent); }
.tile-badge { position: absolute; left: 8px; top: 8px; background: var(--paper); font: 500 11px/1 var(--mono); padding: 5px 7px; }
.tile-flag { position: absolute; right: 8px; top: 8px; }
.chip-accent { background: var(--accent); color: #fff; font: 500 11px/1 var(--mono); padding: 5px 7px; text-transform: uppercase; letter-spacing: 0.03em; }
.tile-cat { font: 11px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.tile-name { font-weight: 600; }
.price { margin: 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price .now { font-weight: 600; font-variant-numeric: tabular-nums; }
.price .sale { color: var(--accent); }
.price s { color: var(--muted); font-size: 13px; }
.price .off { font: 500 11px var(--mono); color: var(--accent); }
.price-big .now { font: 700 26px/1 var(--display); font-stretch: 87.5%; }

.more { display: flex; justify-content: center; margin-top: 32px; }
.shelf .chat-link { display: inline-block; margin-top: 12px; }
.shelf { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 14px 16px 18px; margin-bottom: 28px; }
.shelf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.shelf-label { font-size: 13px; color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.shelf .tile-p.picked .tile-img { outline-color: transparent; }
.shelf .tile-flag { display: none; }

/* ── product page ── */
.crumbs { font: 12px var(--mono); color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; margin-bottom: 56px; }
.pdp-img { margin: 0; }
.pdp-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.pdp-img figcaption { margin-top: 6px; }
.pdp-info h1 { font: 800 48px/0.95 var(--display); font-stretch: 75%; text-transform: uppercase; margin: 4px 0 14px; }
.pdp.flash .pdp-info { animation: flashPanel 1.8s ease-out; }
.pdp.picked .pdp-img img { outline: 2px solid var(--accent); outline-offset: 4px; }
.event-note { display: inline-block; margin: 10px 0 0; font: 12px var(--mono); border: 1px dashed var(--accent); color: var(--accent); padding: 5px 8px; }
.pdp-desc { margin: 18px 0 22px; max-width: 46ch; }
.field-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.03em; margin: 16px 0 8px; }
.swatches, .sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--sw); cursor: pointer; position: relative; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.swatch[data-out]::after { content: ""; position: absolute; inset: 15px -3px; border-top: 1.5px solid var(--muted); transform: rotate(-45deg); }
.size { min-width: 52px; padding: 10px 8px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; border-radius: 2px; font-variant-numeric: tabular-nums; }
.size[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.size:disabled { color: #b9b7b2; text-decoration: line-through; cursor: not-allowed; }
.stock-note { min-height: 20px; margin: 10px 0 0; font: 12px var(--mono); color: var(--accent); }
.pdp-actions { display: flex; gap: 10px; margin: 12px 0 24px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1 1 200px; }
.specs { border-top: 1px solid var(--line); padding-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.site-foot { border-top: 1px solid var(--line); padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }

/* ── cart ── */
.cart { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--paper); border-left: 1px solid var(--ink); display: flex; flex-direction: column; box-shadow: -20px 0 40px rgb(0 0 0 / 0.08); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font: 800 22px/1 var(--display); font-stretch: 75%; text-transform: uppercase; margin: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 64px; height: 80px; object-fit: cover; }
.cart-line p { margin: 2px 0; font-size: 13px; }
.cart-line a { font-weight: 600; text-decoration: none; }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-foot p { margin: 0; font-size: 13px; }
.ship-meter { height: 4px; background: var(--soft); }
.ship-meter span { display: block; height: 100%; background: var(--ink); }
.cart-total { display: flex; justify-content: space-between; font-size: 15px !important; }

/* ── chat ── */
.chat-launch { position: fixed; z-index: 30; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 24px; padding: 13px 20px 13px 16px; font: 600 14px/1 var(--sans); cursor: pointer; box-shadow: 0 6px 20px rgb(0 0 0 / 0.18); }
.chat-launch-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fbf6a; }
body.chat-docked .chat-launch, .chat:not([hidden]) ~ .chat-launch { display: none; }
.chat { position: fixed; z-index: 35; right: 20px; bottom: 20px; width: var(--chat-w); height: min(640px, calc(100vh - 40px)); background: var(--paper); border: 1px solid var(--ink); display: flex; flex-direction: column; box-shadow: 0 16px 48px rgb(0 0 0 / 0.16); }
body.chat-docked .chat { top: 0; right: 0; bottom: 0; height: auto; border-width: 0 0 0 1px; border-color: var(--line); box-shadow: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 34px; height: 34px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 16px/1 var(--display); font-stretch: 125%; }
.chat-who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.chat-who span { font: 11px var(--mono); color: var(--muted); }
.chat-context { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--soft); font-size: 12px; border-bottom: 1px solid var(--line); }
.chat-context img { width: 28px; height: 35px; object-fit: cover; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; font-size: 14px; line-height: 1.45; }
.msg p { margin: 0; white-space: pre-line; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; padding: 9px 13px; border-radius: 14px 14px 2px 14px; }
.msg.bot { align-self: flex-start; display: grid; gap: 8px; }
.msg.bot .msg-text { background: var(--soft); padding: 9px 13px; border-radius: 14px 14px 14px 2px; }
.msg.error .msg-text { color: var(--accent); }
.typing { display: flex !important; gap: 4px; background: var(--soft); padding: 12px 14px; border-radius: 14px 14px 14px 2px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.chat-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); padding: 6px; text-decoration: none; background: var(--paper); border-radius: 2px; }
a.chat-card:hover { border-color: var(--ink); }
.chat-card img { width: 52px; height: 65px; object-fit: cover; background: var(--soft); }
.chat-card.wide { grid-template-columns: 1fr; padding: 10px 12px; }
.cc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.cc-sub { font-variant-numeric: tabular-nums; }
.cc-go { padding: 0 6px; color: var(--muted); }
.cc-table { overflow-x: auto; margin-top: 6px; }
.cc-table table { border-collapse: collapse; font: 11px var(--mono); }
.cc-table th, .cc-table td { border: 1px solid var(--line); padding: 3px 6px; text-align: center; }
.timeline { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.timeline li { display: flex; justify-content: space-between; gap: 10px; padding-left: 14px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--muted); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.chat-link { font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); justify-self: start; }
.viz { display: grid; gap: 4px; }
.viz-canvas { display: none; width: 100%; aspect-ratio: 16 / 10; background: #161514; border-radius: 2px; }
.viz.live .viz-canvas { display: block; }
.viz-cap { font: 11px/1.4 var(--mono); color: var(--muted); }
.viz .link { justify-self: start; font-size: 12px; }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.qr { border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.qr:hover { border-color: var(--ink); }
.chat-compose { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-compose input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 10px 12px; border-radius: 2px; }
.chat-compose input:focus { border-color: var(--ink); outline: none; }
.chat-compose button { border: 0; background: var(--ink); color: #fff; padding: 0 16px; font-weight: 600; cursor: pointer; border-radius: 2px; }
body.chat-docked #chatClose { display: none; }

/* Demo tools under the chat header. */
.chat-tools { display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tool-btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; padding: 5px 10px; font: 500 12px/1 var(--mono); cursor: pointer; }
.tool-btn:hover { border-color: var(--ink); }
.switch { width: 22px; height: 12px; border-radius: 6px; background: var(--line); position: relative; transition: background 0.15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); transition: transform 0.15s; }
.tool-btn[aria-pressed="true"] .switch { background: var(--ink); }
.tool-btn[aria-pressed="true"] .switch::after { transform: translateX(10px); }

/* Example questions. */
.examples { border: 1px solid var(--line); padding: 12px; display: grid; gap: 10px; background: var(--paper); }
.examples-title { margin: 0; font: 600 12px/1 var(--display); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: 0.06em; }
.ex-group { display: grid; gap: 5px; }
.ex-title { font: 11px/1.3 var(--mono); color: var(--muted); }
.ex-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-row .qr { text-align: left; }

/* "How it understood" strip under each bot reply. */
.why { display: none; flex-wrap: wrap; align-items: center; gap: 4px 6px; font: 11px/1.4 var(--mono); color: var(--muted); padding: 2px 2px 0; }
body.why-on .why { display: flex; }
.why-via { font-weight: 500; color: #fff; background: var(--muted); padding: 1px 6px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.why-rules { background: var(--rules); }
.why-llm { background: var(--llm); }
.why-search { background: #2f5fa7; }
.why-offtopic, .why-none { background: var(--muted); }
.why-intent { color: var(--ink); font: inherit; font-weight: 500; }
.why-slot { display: inline-flex; gap: 4px; border: 1px solid var(--line); padding: 0 5px; border-radius: 2px; color: var(--ink); }
.why-slot .k { color: var(--muted); }
.why-slot.carried { border-style: dashed; color: var(--muted); }
.why-slot.carried::before { content: "↩"; }
.why-unknown { color: var(--accent); }
.why-weak { text-decoration: line-through; text-decoration-color: var(--accent); }
.why-meta { margin-left: auto; }

/* Narrow screens: jump from the chat to the store it just changed. */
.chat-peek { margin: 0 12px 10px; border: 1px solid var(--ink); background: var(--paper); padding: 10px; font: 600 13px/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; border-radius: 2px; }

/* Results the chat found, shown as their own page. */
.listing-chat .eyebrow { margin-bottom: 10px; }
.listing-chat .listing-head h2 { font: 600 22px/1.25 var(--sans); text-transform: none; font-stretch: 100%; }
.listing-chat.flash .listing-head { animation: flashPanel 1.6s ease-out; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px; border-radius: 2px; }
body.chat-docked .toast { left: calc((100% - var(--chat-w)) / 2); }

@keyframes flashPanel { 0%, 30% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 3px transparent; } }
@keyframes flashBar { 0%, 30% { background: var(--accent); } 100% { background: var(--ink); } }
@keyframes dot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── narrow ── */
@media (max-width: 900px) {
  .site-head { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px 16px; }
  .nav { order: 3; width: 100%; gap: 16px; }
  .nav a { padding: 8px 0; }
  .search { order: 2; margin-left: auto; }
  .search input { width: 140px; }
  .head-tools { order: 1; margin-left: auto; }
  .page { padding: 16px; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .hero-panel { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
  .hero-panel h1, .sale-banner h1 { font-size: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
/* Docked chat leaves the store less room: wrap the header and stack the product page earlier. */
@media (min-width: 900px) and (max-width: 1320px) {
  body.chat-docked .site-head { flex-wrap: wrap; height: auto; padding: 10px 20px; gap: 8px 16px; }
  body.chat-docked .nav { order: 3; width: 100%; }
  body.chat-docked .nav a { padding: 8px 0; }
  body.chat-docked .search input { width: 160px; }
  body.chat-docked .pdp { grid-template-columns: 1fr; gap: 24px; }
  body.chat-docked .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .chat { inset: 0; width: auto; height: auto; border: 0; }
}
@media (max-width: 560px) {
  .logo { font-size: 18px; }
  .search { order: 4; width: 100%; }
  .search input { width: 100%; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .chat { inset: 0; width: auto; height: auto; border: 0; }
  .chat-launch { right: 16px; bottom: 16px; }
}

/* Ratings, gender filter, reviews */
.stars { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.tile-rating { font-size: 12px; }
.pdp-rating { display: inline-block; font-size: 14px; color: inherit; text-decoration: none; margin: -4px 0 10px; }
.pdp-rating:hover .muted { text-decoration: underline; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: -8px 0 18px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; color: inherit; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.reviews { margin-top: 48px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review p { margin: 0; }
.review-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 4px !important; font-size: 14px; }
:lang(ja) .listing-head h2, :lang(ja) .hero h1 { text-transform: none; }

/* live voice (voice.css) in the store's colours */
:root { --call-ink: var(--ink); --call-accent: var(--accent); --call-bg: var(--soft); }
.call-btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
