:root {
  --ink: #10202a;
  --muted: #66747c;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --line: rgba(16, 32, 42, 0.12);
  --accent: #22d3c5;
  --accent-dark: #087d76;
  --accent-soft: #dffaf7;
  --hero-ink: #f7ffff;
  --success: #168464;
  --warning: #b56718;
  --shadow: 0 24px 70px rgba(7, 20, 27, 0.18);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
}

button, select { font: inherit; }
button { color: inherit; }
button, a, select, [role="button"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, select:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, white);
  outline-offset: 3px;
}

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

.demo-rail {
  min-height: 38px;
  padding: 7px clamp(16px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0b1118;
  color: #cbd5da;
  font-size: 12px;
  letter-spacing: .01em;
}

.demo-rail p { margin: 0; }
.demo-pill {
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 9px;
}
.rail-link {
  border: 0;
  background: transparent;
  color: white;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-header {
  height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.search-box {
  width: min(460px, 36vw);
  height: 44px;
  margin: 0 auto;
  padding-left: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f7f9f8;
}
.search-box svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: #899599; }
.search-box button { height: 34px; margin-right: 4px; padding: 0 13px; border: 0; border-radius: 10px; background: white; color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; box-shadow: 0 1px 4px rgba(16,32,42,.08); }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  padding: 6px;
  margin-left: -6px;
  cursor: pointer;
  text-align: left;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(3, 6px);
  place-content: center;
  gap: 3px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.brand-mark i { display: block; width: 6px; background: var(--accent); border-radius: 6px; }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 8px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -.03em; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.shop-hub-button {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.shop-hub-button b { font-size: 15px; }
.cart-button {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  cursor: pointer;
}
.cart-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-button b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
}

main { min-height: calc(100vh - 114px); }
.storefront { padding-bottom: 90px; }

.shop-hub {
  min-height: 100dvh;
  padding: clamp(10px, 1.2vw, 18px);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: #eef1f0;
}
.shop-hub-grid { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(185px, 1fr)); gap: 12px; }
.shop-hub-card {
  min-width: 0;
  min-height: 185px;
  padding: clamp(18px, 2vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background-color: #122029;
  background-position: center;
  background-size: cover;
  color: white;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}
.shop-hub-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(255,255,255,.15); border-radius: inherit; box-shadow: inset 0 -90px 100px rgba(0,0,0,.12); }
.shop-hub-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(7,20,27,.24); }
.hub-card-number { justify-self: end; padding: 5px 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.hub-card-copy { align-self: end; grid-column: 1 / -1; }
.hub-card-copy small, .hub-card-copy strong, .hub-card-copy em { display: block; }
.hub-card-copy small { margin-bottom: 7px; color: var(--hub-accent); font-size: 11px; font-style: normal; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hub-card-copy strong { max-width: 16ch; font-size: clamp(26px, 3vw, 42px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hub-card-copy em { max-width: 55ch; margin-top: 7px; color: rgba(255,255,255,.78); font-size: 12px; font-style: normal; line-height: 1.45; }
.hub-card-action { align-self: end; margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.hub-card-action b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--hub-accent); color: #081317; font-size: 14px; }
body.shop-hub-open .search-box,
body.shop-hub-open .shop-hub-button,
body.shop-hub-open .cart-button,
body.shop-hub-open .chat-launcher,
body.shop-hub-open .demo-rail,
body.shop-hub-open .site-header { display: none; }

.store-nav {
  width: min(1240px, calc(100% - 36px));
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.store-nav::-webkit-scrollbar { display: none; }
.store-nav span { flex: 1; }
.store-nav button { min-height: 38px; padding: 0 12px; flex: 0 0 auto; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.store-nav button:hover, .store-nav button.active { color: var(--ink); background: var(--accent-soft); }
.store-nav .nav-highlight { color: var(--accent-dark); }

.hero {
  width: min(1440px, calc(100% - 28px));
  min-height: clamp(360px, 48vh, 500px);
  margin: 14px auto 0;
  padding: clamp(26px, 5vw, 64px);
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 30px;
  color: var(--hero-ink);
  background: #17252c center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,14,20,.88) 0%, rgba(4,14,20,.54) 42%, rgba(4,14,20,.06) 76%), linear-gradient(0deg, rgba(4,14,20,.35), transparent 45%);
}
.hero-copy { max-width: 670px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 800;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: .95;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hero p { max-width: 570px; margin: 24px 0 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: rgba(255,255,255,.8); }
.hero-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.primary-button, .secondary-button, .small-button {
  min-height: 46px;
  border-radius: 14px;
  padding: 0 17px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.primary-button { background: var(--accent); color: #071719; }
.primary-button:hover, .small-button:hover { transform: translateY(-1px); }
.secondary-button { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.3); backdrop-filter: blur(12px); }
.trust-row { margin-top: 25px; display: flex; gap: 22px; flex-wrap: wrap; color: rgba(255,255,255,.68); font-size: 12px; }
.trust-row span { display: flex; gap: 7px; align-items: center; }
.trust-row i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.section { width: min(1240px, calc(100% - 36px)); margin: 48px auto 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.055em; line-height: 1; }
.section-head p { margin: 0; max-width: 42ch; color: var(--muted); line-height: 1.5; }
.category-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.category-chip { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 12px; font-weight: 700; color: var(--muted); }
.category-chip.active { color: var(--ink); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 40%, white); }
.category-chip { cursor: pointer; }
.catalog-toolbar { min-height: 48px; margin-bottom: 12px; padding: 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.catalog-toolbar label { display: flex; align-items: center; gap: 7px; }
.catalog-toolbar select { min-height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.no-results { grid-column: 1 / -1; min-height: 220px; display: grid; place-content: center; gap: 6px; text-align: center; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.no-results b { color: var(--ink); font-size: 18px; }
.product-tile {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(16,32,42,.045);
}
.product-clickable { cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product-clickable:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 14px 34px rgba(16,32,42,.09); transform: translateY(-2px); }
.product-clickable:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
.product-art {
  min-height: 190px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-soft), #f7faf9);
  font-size: 64px;
}
.product-art::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); transform: translate(45px,-38px); }
.product-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-art::after { z-index: 1; background: rgba(255,255,255,.08); }
.product-tile:hover .product-art img { transform: scale(1.045); }
.product-info { padding: 15px 3px 4px; }
.product-info small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; }
.product-info h3 { margin: 5px 0 8px; font-size: 15px; min-height: 38px; line-height: 1.25; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-weight: 850; font-size: 16px; }
.mini-add { width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--ink); color: white; font-size: 20px; cursor: pointer; }
.mini-add.sold-out { background: #e1e5e3; color: #899492; cursor: not-allowed; }

.product-detail-page { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 90px; }
.breadcrumbs { min-height: 38px; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumbs button { padding: 6px 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.product-detail-layout { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(360px, 1.05fr); gap: clamp(28px, 6vw, 78px); align-items: center; padding: clamp(20px, 4vw, 50px); border: 1px solid var(--line); border-radius: 28px; background: white; }
.product-detail-art { min-height: 470px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, var(--accent-soft), #f7faf9); }
.product-detail-art::before, .product-detail-art::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 50%; }
.product-detail-art::before { width: 310px; height: 310px; transform: translate(125px,-115px); }
.product-detail-art::after { width: 180px; height: 180px; transform: translate(-145px,155px); }
.product-detail-art span { position: relative; z-index: 1; font-size: clamp(100px, 14vw, 170px); filter: drop-shadow(0 24px 30px rgba(16,32,42,.13)); }
.product-detail-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-detail-art::before { inset: 0; width: auto; height: auto; z-index: 1; border: 0; border-radius: 0; transform: none; background: linear-gradient(180deg, transparent 64%, rgba(8,18,22,.38)); }
.product-detail-art::after { display: none; }
.product-detail-art small { position: absolute; right: 12px; bottom: 10px; z-index: 2; color: white; font-size: 9px; font-weight: 750; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.detail-tag { color: var(--accent-dark); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.product-detail-copy h1 { max-width: 14ch; margin: 10px 0 13px; font-size: clamp(36px, 5vw, 62px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.detail-stock { width: fit-content; padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.detail-stock.available { color: var(--success); background: #e9f7ef; }
.detail-stock.unavailable { color: var(--warning); background: #fff4e5; }
.product-detail-copy > p { max-width: 54ch; margin: 21px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.detail-price { margin-bottom: 18px; font-size: 29px; font-weight: 900; letter-spacing: -.035em; }
.detail-add { min-width: min(100%, 320px); min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--ink); color: white; font-weight: 850; cursor: pointer; }
.detail-add:hover { background: color-mix(in srgb, var(--ink) 87%, var(--accent)); }
.detail-add.added { background: var(--success); }
.detail-add:disabled { background: #dfe4e2; color: #7f8b89; cursor: not-allowed; }
.detail-benefits { margin-top: 24px; display: grid; gap: 11px; color: var(--muted); font-size: 12px; }
.detail-benefits span { display: flex; align-items: center; gap: 9px; }
.detail-benefits b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); }
.related-products { margin-top: 52px; }

.service-bar {
  width: min(1240px, calc(100% - 36px));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.service-bar span { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 9px; border-right: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.service-bar span:last-child { border-right: 0; }
.service-bar b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); }

.value-strip {
  width: min(1240px, calc(100% - 36px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: white;
}
.value-strip article { padding: 22px; display: flex; gap: 12px; align-items: center; border-right: 1px solid var(--line); }
.value-strip article:last-child { border-right: 0; }
.value-strip b { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 12px; color: var(--accent-dark); }
.value-strip strong, .value-strip small { display: block; }
.value-strip strong { font-size: 13px; }
.value-strip small { margin-top: 3px; color: var(--muted); }

.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 70;
  min-height: 62px;
  padding: 9px 14px 9px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 19px;
  background: #0b1118;
  color: white;
  box-shadow: 0 16px 50px rgba(7,18,25,.3);
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: translateY(8px); }
.launcher-icon, .assistant-avatar { display: grid; place-items: center; color: #09201f; background: var(--accent); }
.launcher-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 19px; }
.launcher-copy { text-align: left; }
.launcher-copy strong, .launcher-copy small { display: block; }
.launcher-copy strong { font-size: 13px; line-height: 1.15; }
.launcher-copy small { margin-top: 2px; color: #9dafb8; font-size: 11px; }
.launcher-dot { width: 7px; height: 7px; margin-left: 5px; align-self: start; border-radius: 50%; background: #51e4a7; box-shadow: 0 0 0 4px rgba(81,228,167,.12); }

.assistant {
  width: min(430px, calc(100vw - 24px));
  height: min(720px, calc(100dvh - 32px));
  display: grid;
  grid-template-rows: auto 3px minmax(0,1fr) auto;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 25px;
  background: #eef2f1;
  box-shadow: var(--shadow);
  transform: translateY(22px) scale(.98);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform .34s cubic-bezier(.2,.75,.25,1), opacity .25s ease;
}
.assistant.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.assistant-header {
  min-height: 72px;
  padding: 12px 12px 12px 15px;
  display: grid;
  grid-template-columns: 42px 1fr 42px 42px;
  gap: 7px;
  align-items: center;
  background: #0b1118;
  color: white;
}
.assistant-avatar { width: 42px; height: 42px; border-radius: 14px; }
.assistant-header strong, .assistant-header span { display: block; }
.assistant-header strong { font-size: 14px; }
.assistant-header span { margin-top: 3px; color: #aab8bd; font-size: 11px; }
.assistant-header span i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #51e4a7; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #d7e1e5; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.08); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assistant-progress { background: rgba(255,255,255,.12); }
.assistant-progress span { display: block; width: 10%; height: 3px; background: var(--accent); transition: width .35s ease; }
.messages { padding: 18px 14px 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.message { max-width: 88%; margin: 0 0 11px; animation: message-in .28s ease both; }
.message.assistant-message { margin-right: auto; }
.message.user-message { margin-left: auto; }
.bubble { padding: 12px 14px; border-radius: 17px 17px 17px 5px; background: white; box-shadow: 0 3px 12px rgba(16,32,42,.06); font-size: 13px; line-height: 1.5; }
.user-message .bubble { border-radius: 17px 17px 5px 17px; background: var(--ink); color: white; }
.bubble strong { font-weight: 850; }
.pasted-list { margin: 8px 0 0; padding-left: 20px; }
.pasted-list li { margin-top: 3px; line-height: 1.35; }
.message-meta { margin: 5px 4px 0; color: #8b999e; font-size: 9px; }
.user-message .message-meta { text-align: right; }
.choices { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 14px; animation: message-in .28s ease both; }
.choice-button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, #cad4d2);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.choice-button:hover { background: var(--accent-soft); }
.thinking { display: flex; gap: 5px; width: fit-content; padding: 13px 16px; margin-bottom: 12px; border-radius: 17px 17px 17px 5px; background: white; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: #8e9b9f; animation: thinking 1s infinite ease-in-out; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
.strip-heading {
  margin: 14px 2px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.strip-heading strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.strip-heading span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.chat-products {
  display: flex;
  gap: 9px;
  margin: 2px -3px 14px;
  padding: 2px 3px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 55%, #c9d2d0) transparent;
}
.chat-products::-webkit-scrollbar { height: 4px; }
.chat-products::-webkit-scrollbar-track { background: transparent; }
.chat-products::-webkit-scrollbar-thumb { border-radius: 4px; background: color-mix(in srgb, var(--accent) 55%, #c9d2d0); }
.chat-product {
  flex: 0 0 172px;
  min-height: 270px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  scroll-snap-align: start;
  animation: message-in .28s ease both;
}
.chat-product.product-clickable:hover { transform: translateY(-1px); }
.upsell-strip-wrap { margin-top: 2px; }
.chat-product.replacement { border-color: color-mix(in srgb, var(--accent) 68%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 45%, white); }
.product-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); font-size: 28px; }
.product-icon { overflow: hidden; }
.product-icon img { width: 100%; height: 100%; object-fit: cover; }
.chat-product > .product-icon { width: 100%; height: 118px; flex: 0 0 118px; border-radius: 12px; font-size: 48px; }
.chat-product-copy { min-width: 0; flex: 1; padding: 10px 2px 2px; }
.chat-product small, .chat-product strong, .chat-product span { display: block; }
.chat-product small { margin-bottom: 3px; color: var(--success); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.chat-product.replacement small { color: var(--accent-dark); }
.chat-product strong { font-size: 12px; line-height: 1.2; }
.chat-product span { margin-top: 9px; padding-right: 46px; font-size: 14px; font-weight: 850; }
.replacement-for { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.35; }
.other-options-button { display: block; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--accent-dark); font-size: 9px; font-weight: 850; text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.chat-product .product-add { position: absolute; right: 10px; bottom: 10px; }
.product-add { width: 38px; height: 38px; border: 0; border-radius: 11px; background: var(--ink); color: white; font-size: 18px; cursor: pointer; }
.product-add.added { background: var(--success); }
.chat-result-summary {
  padding: 13px;
  margin: 2px 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.chat-result-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.chat-result-total > span { display: grid; gap: 2px; }
.chat-result-total > span > strong { font-size: 14px; }
.chat-result-total small { color: var(--muted); font-size: 10px; }
.chat-result-total > strong { font-size: 17px; white-space: nowrap; }
.chat-result-status { display: flex; align-items: center; gap: 6px; margin-top: 9px; color: var(--success); font-size: 11px; font-weight: 800; }
.chat-result-status span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #e3f5ec; font-size: 10px; }
.chat-result-actions { margin-top: 11px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
.summary-row.total { padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 850; font-size: 14px; }
.full-add { width: 100%; min-height: 42px; border: 0; border-radius: 12px; font-size: 11px; font-weight: 850; cursor: pointer; }
.full-add { background: var(--accent); color: #08201e; }
.full-add:disabled { background: #d8dfdd; color: #71807f; }
.other-alternatives { margin: -1px 0 10px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: #f8faf9; animation: message-in .22s ease both; }
.other-alternatives > strong { display: block; margin-bottom: 8px; font-size: 11px; }
.other-alternatives-list { display: grid; gap: 6px; }
.alternative-option { width: 100%; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.alternative-option-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); font-size: 19px; }
.alternative-option-icon { overflow: hidden; }
.alternative-option-icon img { width: 100%; height: 100%; object-fit: cover; }
.alternative-option > span:not(.alternative-option-icon) { min-width: 0; display: grid; gap: 2px; }
.alternative-option > span:last-child { text-align: right; }
.alternative-option b { overflow: hidden; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; }
.alternative-option small { color: var(--muted); font-size: 8px; }
.upsell-title { margin: 16px 3px 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 850; }
.composer { padding: 11px 12px max(11px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.95); }
.fake-input { min-height: 48px; padding: 6px 6px 6px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: #f8faf9; color: #879397; font-size: 12px; cursor: pointer; }
.fake-input button { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 0; border-radius: 11px; background: var(--ink); color: white; cursor: pointer; }
.fake-input svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.composer > small { display: block; margin-top: 7px; text-align: center; color: #95a1a4; font-size: 9px; }

.cart-page { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 46px 0 100px; }
.cart-top { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.back-button { min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.cart-top h1 { margin: 5px 0 0; font-size: clamp(40px,7vw,78px); line-height: .95; letter-spacing: -.065em; }
.stepper { display: flex; gap: 6px; }
.stepper span { width: 48px; height: 4px; border-radius: 6px; background: #dce2e0; }
.stepper span.active { background: var(--accent); }
.cart-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.72fr); gap: 22px; align-items: start; }
.cart-panel, .summary-panel { border: 1px solid var(--line); border-radius: 22px; background: white; }
.cart-panel { padding: 10px 20px; }
.cart-line { padding: 16px 0; display: grid; grid-template-columns: 72px minmax(0,1fr) auto auto; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .product-icon { width: 72px; height: 72px; font-size: 34px; }
.cart-line h3 { margin: 0; font-size: 15px; }
.cart-line p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.quantity { height: 38px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.quantity button { width: 34px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.quantity span { min-width: 25px; text-align: center; font-size: 12px; font-weight: 800; }
.line-price { min-width: 80px; text-align: right; font-weight: 850; font-size: 14px; }
.remove-button { border: 0; background: transparent; color: #8a9699; padding: 5px 0; font-size: 10px; text-decoration: underline; cursor: pointer; }
.summary-panel { padding: 22px; position: sticky; top: 92px; }
.summary-panel h2 { margin: 0 0 20px; font-size: 21px; letter-spacing: -.03em; }
.summary-panel .summary-row { margin-bottom: 12px; }
.summary-panel .summary-row.total { margin-top: 15px; padding-top: 15px; font-size: 18px; }
.checkout-button { width: 100%; min-height: 52px; margin-top: 12px; border: 0; border-radius: 14px; background: var(--ink); color: white; font-weight: 850; cursor: pointer; }
.checkout-button:hover { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.payment-note { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: 10px; }
.empty-cart { padding: 60px 20px; text-align: center; }
.empty-cart b { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 24px; background: var(--accent-soft); font-size: 34px; }
.empty-cart h2 { margin: 0; }
.empty-cart p { color: var(--muted); }
.cart-recs { margin-top: 28px; }
.cart-recs h2 { margin: 0 0 15px; font-size: 22px; letter-spacing: -.035em; }
.rec-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rec-card { min-width: 0; padding: 12px; display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 16px; }
.rec-card .product-icon { width: 52px; height: 52px; }
.rec-card strong { display: block; font-size: 12px; }
.rec-card span { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; }

.toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; padding: 11px 16px; border-radius: 12px; background: #0b1118; color: white; box-shadow: var(--shadow); font-size: 12px; font-weight: 750; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@keyframes message-in { from { opacity: 0; transform: translateY(7px); } }
@keyframes thinking { 0%,70%,100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }
@keyframes upsell-pop { from { opacity: 0; transform: translateY(8px) scale(.88); } 72% { transform: translateY(-2px) scale(1.025); } to { opacity: 1; transform: translateY(0) scale(1); } }
.upsell-products .chat-product { animation: upsell-pop .38s cubic-bezier(.2,.8,.2,1) both; transform-origin: center bottom; }
.upsell-products .chat-product:nth-child(2) { animation-delay: 80ms; }
.upsell-products .chat-product:nth-child(3) { animation-delay: 160ms; }

@media (max-width: 960px) {
  .search-box { width: min(320px, 32vw); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .product-detail-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-detail-art { min-height: 380px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .rec-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .demo-rail { min-height: 34px; padding: 6px 12px; justify-content: space-between; }
  .demo-rail p { display: none; }
  .site-header { height: 64px; padding: 0 12px; }
  .search-box { display: none; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand small { display: none; }
  .brand strong { font-size: 16px; }
  .shop-hub-button { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .shop-hub-button span { display: none; }
  .cart-button { width: 44px; height: 44px; padding: 0; justify-content: center; position: relative; }
  .cart-button span { display: none; }
  .cart-button b { min-width: 17px; height: 17px; padding: 0 4px; position: absolute; right: -4px; top: -4px; font-size: 9px; }
  .shop-hub { min-height: 100dvh; padding: 10px; display: block; }
  .shop-hub-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .shop-hub-card { min-height: 245px; padding: 22px; border-radius: 20px; }
  .hub-card-copy strong { font-size: 32px; }
  .hub-card-copy em { max-width: 42ch; }
  .store-nav { width: 100%; min-height: 46px; padding: 0 10px; }
  .store-nav span { display: none; }
  .hero { width: calc(100% - 16px); min-height: 430px; margin-top: 4px; padding: 27px 20px; border-radius: 22px; background-position: center; }
  .hero::before { background: linear-gradient(0deg, rgba(4,14,20,.92) 0%, rgba(4,14,20,.48) 58%, rgba(4,14,20,.06) 100%); }
  .hero h1 { font-size: clamp(40px,13vw,58px); }
  .hero p { margin-top: 18px; font-size: 15px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions button { flex: 0 1 180px; }
  .trust-row { gap: 12px; margin-top: 19px; }
  .service-bar { width: calc(100% - 24px); grid-template-columns: 1fr; padding: 5px 15px; }
  .service-bar span { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-bar span:last-child { border-bottom: 0; }
  .section { width: calc(100% - 24px); margin-top: 42px; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .section-head h2 { font-size: 36px; }
  .catalog-toolbar { align-items: flex-start; }
  .catalog-toolbar label { font-size: 0; }
  .catalog-toolbar select { font-size: 11px; }
  .product-grid { gap: 9px; }
  .product-tile { padding: 9px; border-radius: 16px; }
  .product-art { min-height: 132px; font-size: 48px; }
  .product-info { padding-top: 11px; }
  .product-info h3 { font-size: 13px; }
  .product-price { font-size: 14px; }
  .product-detail-page { width: calc(100% - 24px); padding-top: 18px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 24px; padding: 14px 14px 28px; border-radius: 22px; }
  .product-detail-art { min-height: 300px; border-radius: 17px; }
  .product-detail-art span { font-size: 105px; }
  .product-detail-copy { padding: 0 5px; }
  .product-detail-copy h1 { margin-top: 8px; font-size: clamp(34px, 10vw, 48px); }
  .product-detail-copy > p { margin: 17px 0; font-size: 14px; }
  .detail-add { width: 100%; }
  .related-products { margin-top: 40px; }
  .value-strip { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .value-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip article:last-child { border-bottom: 0; }
  .assistant {
    width: auto;
    height: 80dvh;
    max-height: 80dvh;
    left: 6px;
    right: 6px;
    bottom: max(6px, env(safe-area-inset-bottom));
    border-radius: 22px;
  }
  .assistant-header { min-height: 66px; grid-template-columns: 40px 1fr 40px 40px; padding: 9px 9px 9px 12px; }
  .assistant-avatar, .icon-button { width: 40px; height: 40px; }
  .messages { padding: 14px 11px 20px; }
  .bubble { font-size: 12.5px; }
  .chat-product { flex-basis: 168px; }
  .chat-launcher { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 58px; }
  .cart-page { width: calc(100% - 24px); padding-top: 28px; }
  .cart-top { align-items: start; flex-direction: column; }
  .cart-line { grid-template-columns: 60px minmax(0,1fr) auto; gap: 10px; }
  .cart-line .product-icon { width: 60px; height: 60px; }
  .cart-line .line-price { grid-column: 2; text-align: left; }
  .cart-line .quantity { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 390px) {
  .brand strong { font-size: 14px; }
  .product-art { min-height: 115px; }
  .launcher-copy { display: none; }
  .chat-launcher { padding-right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
