/* ─── Каталог тканей, корзина, профиль (catalog.js) ─── */

.mk-screen {
  position: fixed; left: 0; right: 0; top: 0; bottom: var(--nav-h); z-index: 350;
  background: var(--bg); display: none; flex-direction: column;
  padding-top: var(--st);
}
.mk-screen.show { display: flex; }
.mk-head { flex-shrink: 0; padding: 12px 16px 0; background: var(--bg); }
.mk-title-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.mk-title-row h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.2px; }
.mk-demo {
  font-size: 11px; color: var(--muted); border: 1px solid var(--border);
  border-radius: 8px; padding: 2px 7px; white-space: nowrap;
}
.mk-body {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0 16px 24px; overscroll-behavior: contain;
}
.mk-btn {
  border-radius: 12px; padding: 13px 16px; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; border: 2px solid var(--accent);
  background: var(--accent-dark); color: #d4ecdd;
}
.mk-btn:active { background: var(--accent); }
.mk-btn.ghost { background: transparent; color: var(--accent-ink); }
.mk-btn.ghost:active { background: var(--accent-soft); }
.mk-btn.wide { width: 100%; }

/* ─── Плашка цвета (состояние 1 / 2 по ТЗ) ─── */
.cl-color { margin-bottom: 10px; }
.cl-color-btn {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--text);
  border: 2px dashed rgba(143,214,170,0.55); border-radius: 14px;
  padding: 14px 16px; font-size: 17px; font-weight: 700; font-family: inherit;
  text-align: left; cursor: pointer;
}
.cl-color-btn:active { background: var(--surface2); }
.cl-color-btn .plus {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(#e5484d, #f5a524, #f5e050, #46a758, #3e8ed0, #8e4ec6, #e5484d);
  color: #fff; font-size: 22px; font-weight: 700; line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.cl-color-hint { font-size: 12.5px; color: #7d7f86; line-height: 1.35; margin: 6px 2px 0; }
.cl-plate {
  display: flex; align-items: center; gap: 12px;
  border-radius: 14px; padding: 12px 8px 12px 16px; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  transition: background 0.25s;
}
.cl-plate-text { flex: 1; min-width: 0; }
.cl-plate-code { font-size: 21px; font-weight: 800; line-height: 1.15; }
.cl-plate-sub { font-size: 12.5px; opacity: 0.8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-plate-x {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.22); color: inherit;
  font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cl-plate-x:active { background: rgba(0,0,0,0.4); }

/* ─── Поиск ─── */
.mk-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 12px; margin-bottom: 10px; color: var(--muted);
}
.mk-search svg.ico { width: 20px; height: 20px; flex-shrink: 0; }
.mk-search input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  color: var(--text); font-size: 16px; font-family: inherit; padding: 12px 0;
  -webkit-user-select: text; user-select: text;
}
.mk-search input::placeholder { color: #75777e; }
.mk-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.mk-search .clr { border: none; background: none; color: var(--muted); font-size: 16px; padding: 6px; cursor: pointer; display: none; }
.mk-search.has .clr { display: block; }

/* ─── Категории и теги ─── */
.cl-cats, .cl-tags {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin: 0 -16px; padding: 0 16px;
}
.cl-cats::-webkit-scrollbar, .cl-tags::-webkit-scrollbar { display: none; }
.cl-cats { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cl-cat {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 12px; padding: 9px 13px; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.cl-cat.active { background: #f1f2f4; color: #17181a; border-color: #f1f2f4; }
.cl-tagsrow { display: flex; align-items: center; gap: 8px; margin: 12px -16px 0 0; }
.cl-tags { margin: 0; padding: 0 16px 0 0; flex: 1; min-width: 0; }
.cl-tag, .ff-chip {
  flex-shrink: 0; background: var(--surface2); color: var(--text); border: 1px solid transparent;
  border-radius: 18px; padding: 7px 13px; font-size: 13.5px; font-weight: 500;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.cl-tag.active, .ff-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.cl-filter-btn {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 18px; padding: 7px 12px; font-size: 13.5px; font-weight: 600;
  font-family: inherit; cursor: pointer;
}
.cl-filter-btn svg.ico { width: 18px; height: 18px; }
.cl-filter-btn b {
  background: var(--accent); color: #fff; font-size: 11px; border-radius: 9px;
  padding: 1px 6px; min-width: 18px; text-align: center;
}
.cl-filter-btn b:empty { display: none; }
.cl-count { font-size: 13px; color: var(--muted); margin: 14px 0 10px; }
.cl-count strong { color: var(--text); }
.cl-note {
  font-size: 12.5px; color: var(--warn); background: rgba(224,164,58,0.1);
  border-radius: 10px; padding: 8px 10px; margin: -2px 0 10px; line-height: 1.35;
}

/* ─── Сетка объявлений ─── */
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fc {
  background: var(--surface); border-radius: 14px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--border); display: flex; flex-direction: column;
}
.fc:active { transform: scale(0.985); }
.fc-sw { position: relative; aspect-ratio: 1 / 0.9; }
.fc-match {
  position: absolute; left: 8px; top: 8px;
  background: rgba(20,21,23,0.78); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 9px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.fc-match.m0 { color: #8fd6aa; }
.fc-incart {
  position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.fc-body { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; }
.fc-price { font-size: 16px; font-weight: 800; }
.fc-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.fc-title { font-size: 13.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-meta { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-seller { font-size: 11.5px; color: #b9bbc1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.fc-seller .priv { color: var(--warn); }
.cl-empty { text-align: center; color: var(--muted); padding: 40px 20px; font-size: 14px; line-height: 1.5; }
.cl-sentinel { height: 1px; }

/* Фактуры ткани — поверх цвета */
.tx { background-color: var(--c); }
.tx-velvet { background-image: radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,0.22), transparent 55%), radial-gradient(100% 80% at 80% 100%, rgba(0,0,0,0.3), transparent 60%); }
.tx-weave { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0 1px, transparent 1px 3px), linear-gradient(160deg, rgba(255,255,255,0.08), rgba(0,0,0,0.12)); }
.tx-boucle { background-image: radial-gradient(circle at 3px 3px, rgba(255,255,255,0.18) 1.2px, transparent 2px), radial-gradient(circle at 1px 5px, rgba(0,0,0,0.18) 1.2px, transparent 2px), linear-gradient(160deg, rgba(255,255,255,0.06), rgba(0,0,0,0.15)); background-size: 6px 6px, 7px 7px, auto; }
.tx-sheer { background-image: linear-gradient(90deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05) 20%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0.28) 80%, rgba(255,255,255,0.08)), repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 4px); }
.tx-satin { background-image: linear-gradient(115deg, rgba(0,0,0,0.12), rgba(255,255,255,0.28) 35%, rgba(0,0,0,0.05) 55%, rgba(255,255,255,0.18) 75%, rgba(0,0,0,0.12)); }
.tx-leather { background-image: radial-gradient(90% 70% at 35% 20%, rgba(255,255,255,0.25), transparent 50%), radial-gradient(circle at 2px 2px, rgba(0,0,0,0.12) 1px, transparent 1.5px); background-size: auto, 5px 5px; }
.tx-felt { background-image: radial-gradient(circle at 2px 3px, rgba(255,255,255,0.08) 1px, transparent 1.6px), radial-gradient(circle at 4px 1px, rgba(0,0,0,0.1) 1px, transparent 1.6px); background-size: 5px 5px, 6px 6px; }
.pt-geo::after, .pt-floral::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.pt-geo::after { background-image: linear-gradient(45deg, rgba(255,255,255,0.12) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.12) 75%), linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.1) 75%); background-size: 24px 24px; background-position: 0 0, 12px 12px; }
.pt-floral::after { background-image: radial-gradient(circle at 12px 12px, rgba(255,255,255,0.22) 3px, transparent 4px), radial-gradient(circle at 6px 18px, rgba(255,255,255,0.14) 2px, transparent 3px), radial-gradient(circle at 18px 6px, rgba(0,0,0,0.14) 2px, transparent 3px); background-size: 26px 26px; }

/* ─── Шторки ─── */
.mk-sheet {
  position: fixed; inset: 0; z-index: 650; display: none;
  background: rgba(0,0,0,0.6); align-items: flex-end;
}
.mk-sheet.show { display: flex; }
.mk-panel {
  /* % от .mk-sheet (fixed, inset 0) = видимая область; vh на телефоне больше неё */
  width: 100%; max-height: calc(100% - var(--st) - 16px); display: flex; flex-direction: column;
  background: var(--surface); border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  animation: mk-up 0.22s ease-out;
}
@keyframes mk-up { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.mk-panel.tall { height: calc(100% - var(--st) - 16px); }
.mk-panel-head { flex-shrink: 0; padding: 10px 16px 10px; }
.mk-grip { width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); margin: 0 auto 12px; }
.mk-panel-title { display: flex; align-items: center; gap: 10px; }
.mk-panel-title h3 { flex: 1; margin: 0; font-size: 18px; font-weight: 700; }
.mk-x {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--surface2); color: var(--text); cursor: pointer;
}
/* Крестик рисуем линиями: символ ✕ в разных шрифтах и с паддингом кнопки уезжает от центра */
.mk-x, .cl-plate-x {
  position: relative; flex-shrink: 0; padding: 0;
  font-size: 0; line-height: 0; color: inherit;
}
.mk-x { color: var(--text); }
.mk-x::before, .mk-x::after, .cl-plate-x::before, .cl-plate-x::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 1px;
  background: currentColor; transform: rotate(45deg);
}
.mk-x::after, .cl-plate-x::after { transform: rotate(-45deg); }
.mk-panel-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 16px; overscroll-behavior: contain; }
.mk-panel-foot { flex-shrink: 0; display: flex; gap: 10px; padding: 12px 16px calc(12px + var(--sb)); border-top: 1px solid var(--border); }
.mk-panel-foot .mk-btn { flex: 1; }

/* ─── Выбор цвета ─── */
.cp-search { margin: 12px 0 0; background: var(--surface2); }
.cp-tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 12px; margin: 12px 0 4px; }
.cp-tab {
  flex: 1; padding: 9px 4px; border: none; border-radius: 9px; background: none;
  color: var(--muted); font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.cp-tab.active { background: var(--accent); color: #fff; }
.cp-section-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin: 14px 0 8px; }
.cp-results { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.cp-row {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 8px 12px 8px 8px; color: var(--text); font-family: inherit; cursor: pointer;
}
.cp-row:active { background: var(--surface2); }
.cp-row i { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.cp-row b { font-size: 15px; display: block; }
.cp-row span { font-size: 12.5px; color: var(--muted); }
.cp-recent { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.cp-recent::-webkit-scrollbar { display: none; }
.cp-chip {
  flex-shrink: 0; display: flex; align-items: center; gap: 7px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px;
  padding: 5px 12px 5px 5px; font-size: 13px; font-weight: 700; color: var(--text);
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.cp-chip i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.cp-chip small { font-weight: 500; color: var(--muted); }

/* Веер: группы — горизонтальные ленты «полосок» */
.fan-group { margin-top: 14px; }
.fan-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.fan-label i { width: 12px; height: 12px; border-radius: 3px; }
.fan-strip {
  display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 6px;
  scroll-snap-type: x proximity;
}
.fan-strip::-webkit-scrollbar { display: none; }
.fan-card {
  flex-shrink: 0; width: 58px; height: 92px; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer; scroll-snap-align: start;
  border: none; padding: 0; background: #f4f4f2; font-family: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition: transform 0.12s;
}
.fan-card:active { transform: translateY(-4px) rotate(-2deg); }
.fan-card.sel { outline: 3px solid #fff; outline-offset: 2px; }
.fan-card i { flex: 1; display: block; }
.fan-card span {
  height: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #222; line-height: 1;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; padding: 0 2px; text-align: center;
}
.fan-card.ncs { width: 50px; height: 80px; }
.fan-card.ncs span { font-size: 8.5px; height: 22px; }
.cp-hex { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.cp-hex input[type=color] {
  width: 100%; height: 140px; border: none; border-radius: 14px; padding: 0;
  background: none; cursor: pointer;
}
.cp-hex input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.cp-hex input[type=color]::-webkit-color-swatch { border: none; border-radius: 14px; }
.cp-hex-near { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── Карточка ткани ─── */
.fd-sw { position: relative; height: 200px; border-radius: 14px; margin-bottom: 14px; }
.fd-price { font-size: 26px; font-weight: 800; }
.fd-price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.fd-title { font-size: 18px; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.fd-match { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.fd-match i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.fd-specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; margin: 6px 0 16px; }
.fd-specs dt { color: var(--muted); }
.fd-specs dd { margin: 0; text-align: right; }
.fd-seller {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border-radius: 14px; padding: 12px;
}
.fd-ava {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2); font-size: 19px; font-weight: 700;
}
.fd-seller b { display: block; font-size: 15px; }
.fd-seller span { font-size: 12.5px; color: var(--muted); }

/* ─── Фильтры ─── */
.ff-group { margin-top: 16px; }
.ff-group h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.ff-group h4 small { font-weight: 400; color: var(--muted); }
.ff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-sep { margin: 20px 0 0; padding-top: 4px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; padding-top: 14px; }

/* ─── Корзина ─── */
.ct-group { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.ct-seller { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--border); }
.ct-seller .fd-ava { width: 36px; height: 36px; font-size: 15px; }
.ct-seller b { display: block; font-size: 14.5px; }
.ct-seller span { font-size: 12px; color: var(--muted); }
.ct-item { display: flex; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border); }
.ct-sw { width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; position: relative; overflow: hidden; cursor: pointer; }
.ct-info { flex: 1; min-width: 0; }
.ct-title { font-size: 14px; line-height: 1.25; }
.ct-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ct-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.ct-qty { display: flex; align-items: center; background: var(--bg); border-radius: 10px; }
.ct-qty button { width: 34px; height: 32px; border: none; background: none; color: var(--text); font-size: 18px; cursor: pointer; }
.ct-qty span { min-width: 50px; text-align: center; font-size: 13.5px; font-weight: 700; }
.ct-sum { font-size: 15px; font-weight: 800; }
.ct-del { border: none; background: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 4px; align-self: flex-start; }
.ct-foot { display: flex; align-items: center; gap: 10px; padding: 12px; }
.ct-foot div { flex: 1; font-size: 13px; color: var(--muted); }
.ct-foot div b { display: block; color: var(--text); font-size: 16px; }
.ct-foot .mk-btn { padding: 10px 14px; font-size: 14px; }
.ct-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px 10px; font-size: 15px; }
.ct-total b { font-size: 20px; }
.mk-info { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 10px; }

/* ─── Профиль ─── */
.pf-roles { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pf-role {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; color: var(--text); font-family: inherit; cursor: pointer;
}
.pf-role:active { background: var(--surface2); }
.pf-role .em { font-size: 30px; }
.pf-role b { display: block; font-size: 16px; margin-bottom: 3px; }
.pf-role span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.pf-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.pf-card .fd-ava { width: 56px; height: 56px; font-size: 22px; background: var(--accent-dark); color: #d4ecdd; }
.pf-name { font-size: 18px; font-weight: 700; cursor: pointer; }
.pf-badge { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 8px; padding: 2px 8px; }
.pf-menu { background: var(--surface); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.pf-item {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  border: none; background: none; color: var(--text); font-family: inherit;
  font-size: 15px; padding: 15px 16px; cursor: pointer;
}
.pf-item + .pf-item { border-top: 1px solid var(--border); }
.pf-item:active { background: var(--surface2); }
.pf-item svg.ico { color: var(--muted); flex-shrink: 0; }
.pf-item span { flex: 1; }
.pf-item small { color: var(--muted); font-size: 13px; }
.pf-item::after { content: '›'; color: var(--muted); font-size: 20px; line-height: 1; }
.pf-h { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin: 4px 2px 8px; }

/* Кнопка «Ткани в цвете…» под палитрой результата */
.pl-fabrics {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 4px; padding: 12px; border-radius: 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.pl-fabrics i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.pl-fabrics:active { background: var(--surface2); }
