:root {
  --bg: #ffffff;
  --surface: #f6f6f4;
  --line: #e6e4df;
  --ink: #14130f;
  --muted: #6f6b63;
  --accent: #14130f;
  --accent-soft: #f0eee8;
  --radius: 14px;
  --chat-w: 392px;
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: 40px; }

a { color: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- demo banner ---------- */
.demo-banner {
  background: #14130f;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.demo-banner a { color: #fff; opacity: 0.75; text-decoration: none; }
.demo-banner a:hover { opacity: 1; }
.demo-banner .dot { opacity: 0.4; margin: 0 8px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.16em; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--ink); }
.header-tools { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  font-size: 12px;
  cursor: default;
}

/* ---------- hero / controls ---------- */
.page-head { padding: 28px 0 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; line-height: 1.05; margin: 0 0 6px; letter-spacing: -0.03em; }
.page-head p { margin: 0; color: var(--muted); font-size: 14px; }

.controls { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0 8px; align-items: center; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--ink);
}
.chip:hover { border-color: #bbb; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.ghost { background: transparent; }
.spacer { flex: 1; }
.result-count { font-size: 13px; color: var(--muted); }

/* ---------- pinned rail ---------- */
.rail { margin: 18px 0 6px; border: 1px dashed #d9d5cc; border-radius: var(--radius); padding: 14px; background: #fcfbf8; }
.rail[hidden] { display: none; }
.rail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.rail-head strong { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.rail-head button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; }
.rail-items { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.rail-items .mini { width: 128px; flex: 0 0 auto; cursor: pointer; }
.mini img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: var(--surface); }
.mini span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.3; margin-top: 6px; }
.mini small { color: var(--muted); font-size: 11px; }

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 18px;
  padding: 18px 0 60px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { position: relative; cursor: pointer; transition: transform 0.18s ease; }
.card:hover { transform: translateY(-2px); }
.card-media { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--ink); color: #fff;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px;
}
.badge.sale { background: #b3261e; }
.badge.match { background: #0b6b3a; }
.card.hl .card-media { outline: 3px solid #0b6b3a; outline-offset: 3px; }
.card.hl::after {
  content: attr(data-match);
  position: absolute; top: -10px; right: 0;
  background: #0b6b3a; color: #fff; font-size: 10px; padding: 3px 7px; border-radius: 999px;
}
.card-body { padding: 10px 2px 0; }
.card-title { font-size: 13.5px; line-height: 1.35; margin: 0 0 4px; }
.card-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.card-price { font-size: 14px; font-weight: 600; margin-top: 5px; display: flex; gap: 8px; align-items: baseline; }
.card-price del { color: var(--muted); font-weight: 400; font-size: 12px; }
.sizes { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.sizes span { font-size: 10.5px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; color: var(--muted); }

.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- product page ---------- */
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 28px 0 80px; }
@media (max-width: 900px) { .product-page { grid-template-columns: 1fr; gap: 20px; } }
.product-page .gallery img { width: 100%; border-radius: var(--radius); background: var(--surface); }
.product-page h1 { font-size: 26px; margin: 6px 0 10px; letter-spacing: -0.02em; }
.product-page .price { font-size: 22px; font-weight: 600; margin: 14px 0; }
.product-page .desc { color: #3c3a34; line-height: 1.6; font-size: 14.5px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-decoration: none; cursor: pointer; }
.back:hover { color: var(--ink); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; font-size: 13.5px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* ---------- chat ---------- */
:root {
  --chat-w: 404px;
  --chat-radius: 18px;
  --chat-font: 15px;
  --chat-lh: 1.55;
}

/* тема A — светлая, докированная панель */
body[data-ui="a"] {
  --panel-bg: #ffffff;
  --panel-border: #ddd8cd;
  --head-bg: #14130f;
  --head-fg: #ffffff;
  --head-muted: rgba(255, 255, 255, 0.62);
  --log-bg: #f1efe9;
  --bubble-bg: #ffffff;
  --bubble-fg: #16150f;
  --bubble-border: #e3dfd6;
  --user-bg: #1b1a16;
  --user-fg: #ffffff;
  --muted-fg: #5c5850;
  --chip-bg: transparent;
  --chip-border: #d5d0c5;
  --chip-fg: #24221c;
  --act-bg: #14130f;
  --act-fg: #ffffff;
  --input-bg: #ffffff;
  --input-border: #d5d0c5;
  --accent: #0b6b3a;
}

/* тема B — тёмная, компактная плавающая панель */
body[data-ui="b"] {
  --chat-w: 384px;
  --chat-radius: 22px;
  --panel-bg: #17160f;
  --panel-border: #2a2820;
  --head-bg: #17160f;
  --head-fg: #faf8f3;
  --head-muted: rgba(250, 248, 243, 0.55);
  --log-bg: #17160f;
  --bubble-bg: #201f17;
  --bubble-fg: #f2efe6;
  --bubble-border: #2e2c23;
  --user-bg: #f2efe6;
  --user-fg: #17160f;
  --muted-fg: #b8b3a5;
  --chip-bg: #201f17;
  --chip-border: #35322a;
  --chip-fg: #efece3;
  --act-bg: #f2efe6;
  --act-fg: #17160f;
  --input-bg: #201f17;
  --input-border: #35322a;
  --accent: #7bdca4;
}

.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  height: 52px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 9px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.chat-fab:hover { transform: translateY(-1px); }
.chat-fab[hidden] { display: none; }

.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 61;
  width: var(--chat-w); max-width: calc(100vw - 24px);
  height: min(660px, calc(100vh - 44px));
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-panel, 20px);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 28px 70px rgba(16, 15, 11, 0.28);
}
.chat[hidden] { display: none; }
@media (max-width: 1279px) {
  .chat { right: 16px; bottom: 16px; height: min(620px, calc(100vh - 32px)); box-shadow: 0 24px 60px rgba(16, 15, 11, 0.22); }
}

/* --- тема A: докированная панель на широких экранах --- */
body[data-ui="a"] .chat { --radius-panel: 18px; }
@media (min-width: 1280px) {
  body[data-ui="a"].chat-open .chat {
    top: 0; right: 0; bottom: 0;
    height: auto; width: var(--chat-w);
    border-radius: 20px 0 0 0;
    border-right: 0; border-bottom: 0;
    box-shadow: -18px 0 50px rgba(16, 15, 11, 0.10);
    animation: slide-in 0.22s ease;
  }
  body[data-ui="a"].chat-open,
  body.cart-open {
    padding-right: var(--chat-w);
    transition: padding-right 0.22s ease;
  }
  body[data-ui="a"].chat-open .header,
  body[data-ui="a"].chat-open .demo-banner { padding-right: 0; }
  body[data-ui="a"].chat-open .chat-fab { display: none; }
}
@keyframes slide-in { from { transform: translateX(18px); opacity: 0; } }

.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--head-bg); color: var(--head-fg);
  border-bottom: 1px solid var(--bubble-border);
}
.chat-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: var(--head-fg);
  display: grid; place-items: center; font-size: 15px; flex: 0 0 auto;
}
body[data-ui="b"] .chat-head .avatar { background: #2a2820; }
.chat-head strong { font-size: 15px; font-weight: 600; display: block; line-height: 1.2; }
.chat-head small { color: var(--head-muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.chat-head .close {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  color: var(--head-muted); font-size: 22px; line-height: 1;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat-head .close:hover { background: rgba(255, 255, 255, 0.12); color: var(--head-fg); }

.chat-log {
  flex: 1; overflow-y: auto; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--log-bg); color: var(--bubble-fg);
  scrollbar-width: thin;
}

.msg {
  max-width: 88%; font-size: var(--chat-font); line-height: var(--chat-lh);
  padding: 12px 14px; border-radius: 16px;
  background: var(--bubble-bg); color: var(--bubble-fg);
  border: 1px solid var(--bubble-border);
  box-shadow: 0 1px 2px rgba(16, 15, 11, 0.04);
}
.msg.bot { align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.user {
  align-self: flex-end; border-bottom-right-radius: 6px;
  background: var(--user-bg); color: var(--user-fg); border-color: transparent;
  box-shadow: none;
}

.msg .thumb-row { display: flex; gap: 8px; margin-top: 12px; }
.msg .thumb {
  border: 0; padding: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; width: 72px; flex: 0 0 auto;
  font: inherit; color: inherit;
}
.msg .thumb img {
  width: 72px; height: 96px; object-fit: cover; border-radius: 8px;
  background: rgba(0, 0, 0, 0.06); transition: transform 0.15s ease;
}
.msg .thumb:hover img { transform: translateY(-2px); }
.msg .thumb span { font-size: 11.5px; font-weight: 500; color: var(--muted-fg); text-align: left; }

.suggests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.suggests button {
  font: inherit; font-size: 12.5px; line-height: 1.25; text-align: left;
  padding: 9px 11px; min-height: 38px;
  border-radius: 10px; border: 1px solid var(--chip-border);
  background: var(--chip-bg); color: var(--chip-fg);
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.suggests button:hover { border-color: var(--chip-fg); }

.msg.has-actions { width: 100%; max-width: 100%; }
.msg-actions { display: flex; gap: 6px; margin-top: 12px; flex-wrap: nowrap; }
.msg-actions button {
  font: inherit; font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--bubble-border);
  background: transparent; color: var(--bubble-fg); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.msg-actions button i { font-style: normal; opacity: 0.7; font-size: 13px; }
.msg-actions button:hover { background: var(--act-bg); color: var(--act-fg); border-color: var(--act-bg); }
.msg-actions button:hover i { opacity: 1; }

.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-fg); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
.typing-label { margin-left: 8px; font-size: 12.5px; color: var(--muted-fg); }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.chat-input {
  border-top: 1px solid var(--bubble-border);
  padding: 12px; display: flex; gap: 8px;
  background: var(--panel-bg);
}
.chat-input input {
  flex: 1; min-width: 0;
  border: 1px solid var(--input-border); background: var(--input-bg); color: var(--bubble-fg);
  border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 14px;
  outline: none; transition: border-color 0.15s ease;
}
.chat-input input::placeholder { color: var(--muted-fg); opacity: 0.85; }
.chat-input input:focus { border-color: var(--bubble-fg); }
.chat-input button {
  width: 42px; height: 42px; flex: 0 0 auto;
  border: 0; border-radius: 12px; cursor: pointer;
  background: var(--act-bg); color: var(--act-fg);
  font-size: 17px; line-height: 1; display: grid; place-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.chat-input button:hover { transform: translateY(-1px); }
.chat-input button:disabled { opacity: 0.35; cursor: default; transform: none; }

/* ---------- overlay drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(20, 19, 15, 0.35);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade 0.18s ease;
}
.overlay[hidden] { display: none; }
.overlay-panel {
  width: min(1080px, 100%); background: #fff; border-radius: 20px 20px 0 0;
  padding: 22px; animation: rise 0.22s ease; max-height: 78vh; overflow-y: auto;
}
.overlay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.overlay-head h3 { margin: 0; font-size: 16px; }
.overlay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .overlay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.overlay-grid .oc { cursor: pointer; }
.overlay-grid .oc img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: var(--surface); }
.overlay-grid .oc b { display: block; font-size: 12.5px; margin-top: 6px; font-weight: 500; }
.overlay-grid .oc small { color: var(--muted); font-size: 11.5px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); } }

/* ---------- hub ---------- */
.hub { padding: 40px 0 80px; }
.hub h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 10px; }
.hub .lead { color: var(--muted); max-width: 720px; line-height: 1.6; font-size: 15px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; display: flex; flex-direction: column; }
.hub-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--surface); }
.hub-card .body { padding: 16px; }
.hub-card b { font-size: 16px; }
.hub-card p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hub-card .go { margin-top: 12px; font-size: 13px; font-weight: 600; }
.hub-note { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------------------------------------------------------------- cart */

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 500;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.cart-btn[hidden] { display: none; }
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn b {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 12px; font-weight: 600;
}

.card-cart {
  margin-top: 10px; width: 100%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 10px; padding: 9px 10px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.card-cart:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-cart {
  margin: 16px 0 4px; width: 100%;
  border: 0; border-radius: 12px; padding: 14px 16px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-cart:hover { transform: translateY(-1px); }

.size-pick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.size-pick-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.size-chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 8px; min-width: 40px; padding: 7px 9px; cursor: pointer;
  font: inherit; font-size: 12.5px;
}
.size-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* тост */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 80; background: #14130f; color: #fff;
  border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 18px 40px rgba(16, 15, 11, 0.28);
  animation: rise 0.2s ease;
}
.toast[hidden] { display: none; }
@media (min-width: 1280px) {
  body[data-ui="a"].chat-open .toast { left: calc((100vw - var(--chat-w)) / 2); }
}
.toast-body { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.toast-body img { width: 40px; height: 52px; object-fit: cover; border-radius: 8px; }
.toast-open {
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff;
  border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: 12px;
}
.toast-open:hover { background: rgba(255, 255, 255, 0.12); }

/* дровер корзины */
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 75;
  width: min(420px, 100vw); background: #fff; border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(16, 15, 11, 0.18);
  animation: slide-in 0.2s ease;
}
.cart[hidden] { display: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-head strong { font-size: 17px; }
.cart-close {
  border: 0; background: none; cursor: pointer; font-size: 24px; line-height: 1;
  color: var(--muted); width: 32px; height: 32px; border-radius: 8px;
}
.cart-close:hover { background: var(--surface); color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { color: var(--muted); font-size: 14px; }
.cart-row { display: flex; gap: 12px; align-items: flex-start; }
.cart-row img { width: 64px; height: 85px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.cart-row-body { flex: 1; min-width: 0; }
.cart-row-body b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.cart-row-body small { color: var(--muted); font-size: 12px; }
.cart-remove {
  border: 0; background: none; cursor: pointer; color: var(--muted);
  font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 6px;
}
.cart-remove:hover { background: var(--surface); color: var(--ink); }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin-bottom: 12px; }
.cart-total-row b { font-size: 18px; }
.cart-checkout {
  width: 100%; border: 0; border-radius: 12px; padding: 13px 16px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
}
.cart-checkout:hover { opacity: 0.9; }

.msg-meta {
  margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--bubble-fg); opacity: 0.72; text-transform: none;
  padding-top: 8px; border-top: 1px solid var(--bubble-border);
}

/* ---------------------------------------------------------- образ/комплект */

.look {
  margin-top: 12px; padding: 12px;
  border: 1px solid var(--bubble-border); border-radius: 12px;
  background: rgba(0, 0, 0, 0.015);
}
.look-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted-fg); margin-bottom: 10px;
}
.look-head b { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--bubble-fg); }
.look-items { display: flex; gap: 8px; margin-bottom: 10px; }
.look-item {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px;
  border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit;
}
.look-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; background: rgba(0,0,0,.05); }
.look-item span { font-size: 11.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.look-item small { font-size: 11.5px; color: var(--muted-fg); }
.look-add {
  width: 100%; border: 0; border-radius: 10px; padding: 10px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-size: 12.5px; font-weight: 600;
}
.look-add:disabled { opacity: 0.55; cursor: default; }
