/* Автономная витрина мастера имя.vitrinamastera.ru — вид «Твоего Каталога» (Р26, docs/17 §3; картинки 63b–63d, 64b–64c).
   Размеры, шрифты и цвета — замер их страниц 2026-10-30 (docs/research/tvoi-catalog-2026-10-30/, образец —
   docs/design/source/vitrinamastera_kopiya_2026-10-30.py, VITRINE_CSS). Цвета вида — переменные :root, их ставит
   страница (VitrinaLook). Ничего от «Моего Ремесла»: ни Rubik, ни красного. Шрифты — Google Fonts, лицензия OFL. */

@font-face { font-family: 'Manrope'; src: url(manrope.ttf) format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Comfortaa'; src: url(comfortaa.ttf) format('truetype'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Yeseva One'; src: url(yeseva.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url(playfair.ttf) format('truetype'); font-weight: 400 900; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font: 400 16px/24px var(--body), Manrope, sans-serif; padding-bottom: 104px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img { display: block; }
[hidden] { display: none !important; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.s { width: 16px; height: 16px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.muted { color: var(--mut); }
.err { margin-top: 6px; font-size: 13px; line-height: 18px; color: #B3261E; }
.err.top { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBE9E7; }
.note { margin-top: 8px; font-size: 13px; line-height: 19px; color: var(--mut); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 92px; z-index: 6; padding: 10px 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 14px; white-space: nowrap; }
.ph > a { display: block; width: 100%; height: 100%; }

/* ---------- шапка витрины: три раскладки их шаблонов ---------- */
.shop { position: relative; }
.cover { position: relative; height: 165px; overflow: hidden; background: var(--ph); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.slogo { width: 86px; height: 86px; border-radius: 999px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  font: var(--hw) 34px/1 var(--head), serif; }
.slogo img { width: 100%; height: 100%; object-fit: cover; }
.shop h1 { font: var(--hw) var(--hs)/1.1 var(--head), serif; letter-spacing: -0.01em; }
.bio { font-size: 15.2px; line-height: 22.8px; color: var(--mut); white-space: pre-line; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.lk { width: 40px; height: 40px; border-radius: 999px; background: var(--pill); display: flex; align-items: center; justify-content: center; }
.lk svg { width: 20px; height: 20px; }
.lp { height: 40px; padding: 0 13px; border-radius: 999px; background: var(--pill); border: 1px solid var(--line); display: flex;
  align-items: center; font: 600 12.48px/12.48px Manrope, sans-serif; }
/* «Ночь» (как ASTERI): обложка, логотип и название на ней слева */
.left .cover { background: #26211B; }
.left .cover img { filter: brightness(.42) saturate(.6); }
.left .slogo { position: absolute; left: 18px; top: 39px; background: #fff; border: 3px solid rgba(255,255,255,.65); color: var(--fg); }
.left h1 { position: absolute; left: 116px; right: 14px; top: 50%; transform: translateY(-50%); color: #fff; }
.left .bio { padding: 22px 14px 0; }
.left .links { padding: 20px 14px 0; }
/* «Классика» (как «Эпоха свечей»): без обложки, всё по центру, ссылки кнопками */
.center { text-align: center; padding-top: 32px; }
.center .slogo { margin: 0 auto; background: var(--pill); border: 1px solid var(--line); }
.center h1 { margin: 18px 14px 0; }
.center .bio { margin: 9px 30px 0; }
.center .links { justify-content: center; margin-top: 21px; }
/* «Нежная» (как Charlotte): обложка, логотип по центру на её краю */
.cover-c { text-align: center; }
.cover-c .slogo { margin: -45px auto 0; position: relative; background: #fff; border: 3px solid var(--bg); color: var(--acc); }
.cover-c h1 { margin: 18px 14px 0; }
.cover-c .bio { margin: 9px 14px 0; }
.cover-c .links { justify-content: center; margin-top: 21px; }

/* ---------- разделы и поиск ---------- */
.tabs { display: flex; align-items: center; height: 64px; margin: 16px 14px 0; gap: 8px; }
.tl { flex: 1; display: flex; overflow-x: auto; scrollbar-width: none; }
.tl::-webkit-scrollbar { display: none; }
.tl a { flex: none; height: 38px; padding: 0 10.4px; display: flex; align-items: center; font-size: 14.72px; color: var(--mut); white-space: nowrap; }
.tl a.on { color: var(--fg); }
.srch { flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: flex;
  align-items: center; justify-content: center; }
.sform { display: flex; gap: 8px; margin: 0 14px; }
.sform input { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); outline: none; }
.sform button { height: 44px; padding: 0 18px; border-radius: 999px; background: var(--fg); color: var(--bg); }
.found { margin: 14px 14px 0; font-size: 14px; color: var(--mut); }

/* ---------- карточки работ: три вида их шаблонов ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0 14px; }
.grid article { min-width: 0; }
.ph { position: relative; display: block; overflow: hidden; background: var(--ph); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .noph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--soft); }
.tag { position: absolute; left: 9px; top: 9px; height: 26px; padding: 0 9.5px; border-radius: 999px; background: rgba(255,255,255,.88);
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); display: flex; align-items: center; font-weight: 600; font-size: 10.88px; color: #26211B; }
.tag.st { top: auto; bottom: 8px; height: 29px; font-size: 11.52px; color: #6F6F6C; background: rgba(255,255,255,.84); }
.hrt { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--fg) 40%, transparent); }
.hrt.on, .like.on { color: var(--acc); }
.hrt.on .ico, .like.on .ico { fill: currentColor; }
.add { flex: none; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.nm { overflow-wrap: anywhere; }
/* «Ночь» */
.grid.ed { gap: 26px 16px; margin-top: 38px; }
.ed .ph { aspect-ratio: 166 / 207; border-radius: 2px; }
.ed .nr { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; }
.ed .nm { font-size: 15.68px; line-height: 20.384px; }
.ed .add { width: 27px; height: 27px; margin-top: 7px; border: 1px solid var(--soft); }
.ed .pr { margin-top: 4px; font-size: 14.4px; line-height: 21.6px; color: var(--mut); }
/* «Классика» */
.grid.wa { gap: 17px 16px; margin-top: 31px; }
.wa .ph { aspect-ratio: 166 / 166; border-radius: 18px; }
.wa .hrt { right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.wa .tx { position: relative; padding: 14px 44px 0 3px; }
.wa .nm { font-size: 15.36px; line-height: 19.968px; }
.wa .pr { margin-top: 3px; font-size: 14.08px; line-height: 21.12px; color: var(--mut); }
.wa .add { position: absolute; right: 4px; bottom: 0; width: 35px; height: 35px; background: var(--fg); color: var(--bg); }
/* «Нежная» */
.grid.ch { gap: 22px 13px; margin-top: 57px; }
.ch .ph { aspect-ratio: 168 / 209; border-radius: 14px; }
.ch .nm { display: block; margin-top: 11px; text-align: center; font-size: 14.4px; line-height: 18.72px; }
.ch .pr { margin-top: 7px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13.76px; color: var(--mut); }
.ch .add { width: 26px; height: 26px; border: 1px solid var(--soft); color: var(--fg); }
.old { margin-left: 6px; font-size: 12.16px; text-decoration: line-through; }
.empty { margin: 48px 24px; text-align: center; color: var(--mut); }
.empty h2 { font: var(--hw) 22px/1.2 var(--head), serif; color: var(--fg); }
.empty p { margin-top: 8px; }
.empty .buy { display: inline-flex; margin-top: 18px; padding: 0 28px; }

/* ---------- нижняя панель «Каталог · О мастере · Нравится · Корзина» ---------- */
.dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: min(347px, calc(100% - 28px)); height: 63px; padding: 6.4px;
  border-radius: 20px; background: rgba(255,255,255,.6); border: 1px solid rgba(40,38,34,.1); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); display: flex; align-items: center; justify-content: space-between; z-index: 5; color: #26211B; }
.dock a { position: relative; height: 48px; min-width: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.dock a span { display: none; font-size: 13.12px; letter-spacing: -0.1312px; }
.dock a.on { padding: 0 16.8px; gap: 8px; background: var(--plate); }
.dock a.on span { display: inline; }
.dock .n { position: absolute; right: 6px; top: 6px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--acc); color: #fff;
  font: 600 9px/15px Manrope, sans-serif; text-align: center; font-style: normal; }

/* ---------- страница работы ---------- */
.work { padding-bottom: 20px; }
.gal { position: relative; aspect-ratio: 1 / 1; max-height: 560px; background: var(--ph); overflow: hidden; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal .noph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--soft); }
.fab { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; z-index: 2; }
.thumbs { display: flex; gap: 10px; padding: 13px 14px 0; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 72px; height: 67px; border: 1px solid transparent; border-radius: 1.4px; overflow: hidden; padding: 0; }
.thumbs button.on { border-color: var(--fg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 0 14px; }
.iname { margin-top: 22px; font: 600 27.2px/29.376px var(--head), serif; letter-spacing: -0.408px; }
.iprice { margin-top: 14px; font: 400 20px/30px var(--head), serif; }
.iprice small { font: 400 15px var(--body), sans-serif; color: var(--mut); }
.avail { display: inline-flex; align-items: center; height: 24px; margin-top: 10px; padding: 0 10px; border-radius: 999px; background: var(--pill); font-size: 13px; }
.desc { margin-top: 22px; font-size: 16px; line-height: 24.8px; color: var(--mut); white-space: pre-line; }
.qs { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.qh { font: 600 19.2px/28.8px var(--head), serif; }
.qn { margin-top: 2px; font-size: 13.76px; line-height: 20.64px; color: var(--mut); }
.deliv { position: relative; margin-top: 22px; padding: 22px 0 0 23px; border-top: 1px solid var(--line); font-size: 14.4px; line-height: 20.88px; color: var(--mut); white-space: pre-line; }
.deliv b { display: block; font-size: 12.48px; color: var(--fg); }
.dvi { position: absolute; left: 0; top: 23px; color: var(--mut); }
.ctab { position: fixed; left: 0; right: 0; bottom: 0; padding: 15px 14px 15px; display: flex; gap: 11px; justify-content: center;
  background: color-mix(in srgb, var(--bg) 92%, transparent); z-index: 5; }
.like { flex: none; width: 139px; height: 53px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; gap: 8px; font-size: 15.2px; color: #26211B; }
.buy { flex: 1; max-width: 420px; height: 53px; border-radius: 999px; background: var(--fg); color: var(--bg); display: flex; align-items: center;
  justify-content: center; text-align: center; font-size: 15.2px; padding: 0 16px; }
.buy.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }

/* ---------- вопросы мастера: поля формы ---------- */
.q { margin-top: 16px; }
.lab { display: block; font-size: 13.76px; line-height: 20.64px; color: var(--mut); }
.lab i, .req i { font-style: normal; color: var(--acc); }
.inp { display: block; width: 100%; height: 46px; margin-top: 6px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font-size: 15.2px; color: #26211B; outline: none; }
.inp:focus { border-color: var(--fg); }
textarea.inp { height: 92px; padding-top: 12px; resize: vertical; }
.bad .inp, .bad .dc, .bad .pos { border-color: #B3261E; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.dc { position: relative; height: 38px; padding: 0 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: inline-flex;
  align-items: center; gap: 6px; font-size: 13.76px; color: #6F6F6C; cursor: pointer; }
.dc input { position: absolute; opacity: 0; pointer-events: none; }
.dc small { font-size: 11px; opacity: .8; }
.dc .ico { display: none; width: 15px; height: 15px; stroke-width: 2.4; }
.dc:has(input:checked) { background: var(--acc); color: #fff; font-weight: 700; border-color: var(--fg); }
.dc:has(input:checked) .ico { display: block; }
.sw { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--mut); cursor: pointer; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: block; }
.sw:has(input:checked) i { outline: 2px solid var(--fg); outline-offset: 2px; }
.sw:has(input:checked) { color: var(--fg); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.positions { margin-top: 6px; }
.pos { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pos label { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.pos input[type=checkbox], .pos input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.pos img, .pos .noph { flex: none; width: 52px; height: 52px; border-radius: 4px; object-fit: cover; background: var(--ph); }
.pos .pt { min-width: 0; }
.pos .pt b { display: block; font-weight: 400; font-size: 14.4px; line-height: 20px; }
.pos .pt small { font-size: 13px; color: var(--mut); }
.pos .pick { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; font-size: 12.5px; }
.pos .stp { display: none; }
.pos:has(input:checked) .pick { display: none; }
.pos:has(input:checked) .stp { display: inline-flex; }
.possum { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13.76px; color: var(--mut); }
.possum b { font-size: 17px; color: var(--fg); }
.stp { display: inline-flex; align-items: center; gap: 10px; margin-top: 7px; }
.pos .stp { margin-top: 0; }
.stp button { width: 29px; height: 29px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; color: #26211B; }
.stp button .ico { width: 15px; height: 15px; }
.stp input { width: 36px; text-align: center; border: 0; background: transparent; font-size: 16px; -moz-appearance: textfield; }
.stp input::-webkit-outer-spin-button, .stp input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.upl { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 6px; padding: 0 14px; border-radius: 10px; border: 1px dashed var(--soft);
  background: #fff; color: #6F6F6C; font-size: 14px; cursor: pointer; }
.upl input { display: none; }
.picked { display: block; margin-top: 6px; font-size: 13px; color: var(--fg); }
.ck { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin-top: 10px; font-size: 12.5px; line-height: 18px; color: var(--mut); cursor: pointer; }
.ck input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--fg); }
.ck a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- корзина, оформление, заказ — шторка во весь экран ---------- */
.sheet { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: 210px; background: var(--bg); }
.sh { position: relative; min-height: 77px; padding: 24px 27px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px; }
.sh .t { font: 600 19.2px/28.8px var(--head), serif; }
.sh .t i { font-style: normal; font-weight: 400; color: var(--mut); margin-left: 6px; }
.sh.c .t { flex: 1; text-align: center; }
.sh a { margin-top: 4px; }
.line { display: grid; grid-template-columns: 58px 1fr auto; gap: 0 15px; padding: 20px 25px 18px 27px; border-bottom: 1px solid var(--line); }
.line > img, .line > .noph { width: 58px; height: 70px; object-fit: cover; border-radius: 2px; background: var(--ph); }
.line .ln { font-size: 14.72px; line-height: 22.08px; }
.line .lp2 { font-size: 13.44px; line-height: 20.16px; color: var(--mut); }
.line .qty { display: flex; align-items: center; gap: 10px; align-self: start; margin-top: 21px; font-size: 16px; }
.line form { display: inline; }
.sb { width: 29px; height: 29px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; color: #26211B; }
.sb:disabled { opacity: .4; cursor: default; }
.line .rm { align-self: start; margin-top: 2px; color: var(--mut); }
.ans { grid-column: 2 / 4; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, #fff 55%, transparent);
  border: 1px solid var(--line); font-size: 13px; line-height: 19.5px; }
.ans div { display: flex; justify-content: space-between; gap: 10px; }
.ans span { color: var(--mut); }
.ans b { font-weight: 600; text-align: right; }
.ans a { display: inline-block; margin-top: 4px; color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.form { padding: 0 27px; }
.form h2 { margin-top: 26px; font: 600 19.2px/28.8px var(--head), serif; }
.form h2 + .note { margin-top: 2px; }
.foot { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(560px, 100%); padding: 20px 27px 22px; border-top: 1px solid var(--line);
  background: var(--bg); z-index: 5; }
.sum { display: flex; justify-content: space-between; align-items: center; min-height: 28px; gap: 12px; }
.sum b { font-size: 18.4px; font-weight: 700; white-space: nowrap; }
.co { display: flex; width: 100%; height: 56px; margin-top: 14px; border-radius: 999px; background: var(--fg); color: var(--bg); align-items: center;
  justify-content: center; font-size: 15.2px; }
.code { display: flex; gap: 12px; margin-top: 14px; }
.code input { width: 56px; height: 60px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: center; font-size: 24px; outline: none; color: #26211B; }
.demo { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--pill); font-size: 13px; line-height: 19px; }

/* ---------- заказ у клиента: этапы, цена, эскиз, переписка (картинка 64c) ---------- */
.steps { display: flex; justify-content: space-between; padding: 22px 20px 4px; }
.steps div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mut); position: relative; }
.steps div::before { content: ''; position: absolute; top: 11px; left: -50%; right: 50%; height: 1px; background: var(--line); z-index: 0; }
.steps div:first-child::before { display: none; }
.steps i { position: relative; z-index: 1; width: 23px; height: 23px; border-radius: 999px; border: 1px solid var(--soft); background: var(--bg);
  display: flex; align-items: center; justify-content: center; }
.steps .done i { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.steps .done i .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.steps .cur i { border: 6px solid var(--fg); }
.steps .done, .steps .cur { color: var(--fg); }
.box { margin: 16px 20px 0; padding: 16px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: #26211B; }
.box h3 { font: 600 18px/26px var(--head), serif; display: flex; justify-content: space-between; gap: 12px; }
.box p { margin-top: 6px; font-size: 13.5px; line-height: 19.5px; color: #6F6F6C; }
.box .acts { display: flex; gap: 10px; margin-top: 14px; }
.box .acts button, .box .acts a { flex: 1; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 14px;
  border: 1px solid var(--line); background: #fff; }
.box .acts .dark { background: #26211B; color: #fff; border-color: #26211B; }
.sketch { margin-top: 12px; border-radius: 10px; overflow: hidden; background: var(--ph); }
.sketch img { width: 100%; max-height: 420px; object-fit: contain; }
.badge { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--pill); font-size: 12.5px; color: #26211B; white-space: nowrap; }
.box p { white-space: pre-line; }
.aph { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.aph img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.msgs { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.msg { max-width: 84%; padding: 8px 12px; border-radius: 14px; background: var(--pill); font-size: 14px; line-height: 20px; white-space: pre-line; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: #26211B; color: #fff; }
.msg small { display: block; margin-top: 2px; font-size: 11px; opacity: .7; }
.send { display: flex; gap: 8px; margin-top: 12px; }
.send textarea { flex: 1; height: 46px; min-height: 46px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); resize: vertical; outline: none; }
.send button { flex: none; height: 46px; padding: 0 16px; border-radius: 999px; background: #26211B; color: #fff; }
.olist a { display: grid; grid-template-columns: 58px 1fr; gap: 0 14px; padding: 16px 25px 16px 27px; border-bottom: 1px solid var(--line); }
.olist img, .olist .noph { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; background: var(--ph); grid-row: span 2; }
.olist b { font-weight: 600; font-size: 14.5px; }
.olist small { font-size: 13px; color: var(--mut); }

/* ---------- «О мастере» ---------- */
.about { padding: 0 14px; }
.about h2 { margin-top: 28px; font: var(--hw) 22px/1.2 var(--head), serif; }
.about p { margin-top: 10px; font-size: 15.5px; line-height: 24px; color: var(--mut); white-space: pre-line; }
.about .rv { margin-top: 14px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, #fff 55%, transparent); border: 1px solid var(--line); }
.about .rv b { display: block; font-size: 14px; }
.about .rv p { margin-top: 4px; font-size: 14px; line-height: 20px; }
.about .rv small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mut); }
.rvph { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.rvph img { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }

/* docs/17 §12: «Сделать по вашей идее» — первая карточка; «Мастер в отпуске до …»; оценка и фото отзыва. */
.grid article.idea a { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; min-height: 220px; padding: 18px 14px;
  border: 1.5px dashed var(--soft); border-radius: 14px; background: var(--pill); color: var(--fg); text-decoration: none; }
.grid article.idea .ii { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); }
.grid article.idea b { font: var(--hw) 16px/20px var(--head), sans-serif; }
.grid article.idea span:last-child { font-size: 13px; line-height: 18px; color: var(--mut); }
.away { display: flex; align-items: center; gap: 8px; margin: 14px 14px 0; padding: 10px 12px; border-radius: 12px; background: var(--pill);
  font-size: 13.5px; line-height: 18px; color: var(--fg); }
.info .away { margin: 0 0 12px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin: 6px 0 10px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--acc); }
.stars input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 4px; }
.rphotos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.rphotos .rp img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.rphotos .upl { flex: 1; margin-top: 0; }
.ffoot { margin: 40px 14px 0; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--mut); }

/* ---------- шире телефона: та же витрина колонкой посередине, работы в 3 и 4 столбца ---------- */
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); margin-left: 24px; margin-right: 24px; }
  .tabs, .sform, .found { margin-left: 24px; margin-right: 24px; }
  .cover { height: 260px; }
  .left .slogo { top: 87px; left: 28px; }
  .left h1 { left: 128px; }
  .left .bio, .left .links { padding-left: 24px; padding-right: 24px; }
  .work { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px; }
  .work .gal { border-radius: 6px; }
  .work .thumbs { padding: 13px 0 0; }
  .work .info { padding: 0; }
  .work .iname { margin-top: 0; }
  .about { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .cover { height: 320px; }
  .left .slogo { top: 117px; }
}

/* ---------- конструктор: блоки сайта (VitrinaSections.kt) ---------- */
.vs { margin: 36px 14px 0; }
.vs-h { font: var(--hw) 24px/1.15 var(--head), serif; }
.vs p { margin-top: 10px; font-size: 15.5px; line-height: 24px; color: var(--mut); white-space: pre-line; }
.vs-gap { height: 40px; }
.vs-ph { overflow: hidden; border-radius: 14px; background: var(--line); }
.vs-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs-ph.round { width: 96px; height: 96px; border-radius: 999px; flex: none; }
.vs-tx { min-width: 0; }
.vs-feature .vs-ph, .vs-text .vs-ph { aspect-ratio: 4 / 3; }
.vs-feature .buy { display: inline-flex; margin-top: 14px; padding: 0 28px; }
.vs-price { color: var(--fg) !important; font-weight: 600; }
.vs-feature.v-top .vs-tx, .vs-text.v-top .vs-tx { margin-top: 14px; }
.vs-feature.v-left, .vs-text.v-left, .vs-text.v-right, .vs-about.v-left { display: flex; gap: 16px; align-items: flex-start; }
.vs-feature.v-left .vs-ph, .vs-text.v-left .vs-ph, .vs-text.v-right .vs-ph { width: 44%; flex: none; }
.vs-text.v-right { flex-direction: row-reverse; }
.vs-about.v-center { text-align: center; }
.vs-about.v-center .vs-ph { margin: 0 auto 14px; }
.vs-howto ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: st; }
.vs-howto li { position: relative; padding: 0 0 16px 44px; counter-increment: st; }
.vs-howto li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.vs-howto b { display: block; font-size: 15.5px; line-height: 22px; }
.vs-howto span { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--mut); }
.vs-howto.v-row ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.vs-howto.v-row li { padding: 42px 0 0; }
.vs-rl { display: grid; gap: 12px; margin-top: 14px; }
.vs-rl figure { margin: 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line); }
.vs-rl blockquote { margin: 0; font-size: 15px; line-height: 22px; white-space: pre-line; }
.vs-rl figcaption { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--mut); }
.vs-reviews.v-quote figure { border: 0; padding: 0 0 0 14px; border-left: 3px solid var(--acc); border-radius: 0; }
.vs-reviews.v-quote blockquote { font: var(--hw) 19px/1.3 var(--head), serif; }
.vs-faq details { margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.vs-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; line-height: 22px; }
.vs-contact .links { margin-top: 14px; }
.vs-pl { display: grid; gap: 8px; margin-top: 14px; }
.vs-pl img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.vs-port.v-grid2 .vs-pl { grid-template-columns: 1fr 1fr; }
.vs-port.v-grid3 .vs-pl { grid-template-columns: 1fr 1fr 1fr; }
.vs-port.v-strip .vs-pl { display: flex; overflow-x: auto; scrollbar-width: none; }
.vs-port.v-strip .vs-pl a { flex: none; width: 70%; max-width: 320px; }
.vs-delivery ul { margin: 12px 0 0; padding-left: 20px; font-size: 15px; line-height: 24px; }
.grid.vlist { grid-template-columns: 1fr !important; gap: 14px; }
.grid.vlist article { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-items: start; }
.grid.vlist article .ph { grid-row: 1 / span 3; aspect-ratio: 1; }
.grid.vlist article > :not(.ph) { grid-column: 2; }
.fdocs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.fdocs a { color: inherit; text-decoration: underline; }
.ffoot .fdocs { display: flex; }
@media (min-width: 720px) {
  .vs { margin-left: 24px; margin-right: 24px; }
  .vs-pl { gap: 12px; }
  .vs-port.v-grid2 .vs-pl { grid-template-columns: repeat(3, 1fr); }
  .vs-port.v-grid3 .vs-pl { grid-template-columns: repeat(4, 1fr); }
}
