/* ===================== ФОТОКЕРАМИКА НА ПАМЯТНИК =====================
   /oformlenie-pamyatnikov/fotokeramika-na-pamyatnik. Подключается через ViewData["CssPage"]
   последним, после бандлов, поэтому мобильные правила здесь же, в конце файла.
   Остальные блоки страницы — общие (svc-memorial-*, svc-oform-*, svc-stekla-*, how2, quiz, seo).
   Префикс своих классов — fk-. */

/* — промо и заявки в одной секции: промо идёт первым (блок 4), заявки — после (блок 5) — */
.fk-requests .svc-memorial-promo__title { margin: 0; }
.fk-requests .svc-memorial-steps { margin-top: 14px; }
.fk-requests .svc-memorial-steps [data-lucide] { width: 15px; height: 15px; color: var(--green-600); vertical-align: -2px; }
.fk-requests__head { margin-top: 44px; }

/* — формы: маленький значок овала/прямоугольника — */
.fk-shape-ico {
  display: inline-block;
  width: 12px;
  height: 16px;
  border: 2px solid var(--green-600);
  vertical-align: -3px;
}
.fk-shape-ico--oval { border-radius: 50%; }
.fk-shape-ico--rect { border-radius: 2px; }

/* — портрет-заглушка внутри фотокерамики: голова и плечи — */
.fk-ph--oval { border-radius: 50%; }
.fk-ph--rect { border-radius: 3px; }
.fk-ph {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  color: #8a7a68;
  background: radial-gradient(90% 80% at 50% 35%, #f4ede3 0%, #d9ccbb 100%);
}
.fk-ph::before,
.fk-ph::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}
.fk-ph::before { top: 20%; width: 36%; aspect-ratio: 3 / 4; border-radius: 50%; }
.fk-ph::after { bottom: -6%; width: 84%; height: 36%; border-radius: 50% 50% 0 0 / 80% 80% 0 0; }

/* ===== 6. Каталог размеров с масштабом ===== */
.fk-scale {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.fk-scale__view {
  position: sticky;
  top: 90px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
}
.fk-scale__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3; /* сцена 100 × 150 см */
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(to bottom, #eef2ea 0%, #eef2ea 86%, #dfe5d8 86%, #dfe5d8 100%);
}
.fk-scale__stele {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 6px 6px 2px 2px;
  background:
    radial-gradient(120% 70% at 30% 15%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%),
    linear-gradient(160deg, #2c3032 0%, #17191b 100%);
  box-shadow: 0 10px 22px rgba(20,24,26,.22);
  transition: width .25s ease, height .25s ease;
}
.fk-scale__base {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #3a3f42, #25292b);
  transition: width .25s ease;
}
.fk-scale__photo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px rgba(214,196,160,.55), 0 3px 8px rgba(0,0,0,.35);
  transition: width .25s ease, height .25s ease, top .25s ease, border-radius .25s ease;
}
.fk-scale__photo .fk-ph { border-radius: inherit; }
.fk-scale__text {
  position: absolute;
  left: 18%;
  right: 18%;
  display: grid;
  justify-items: center;
  gap: 6px;
  transition: top .25s ease;
}
.fk-scale__text span { display: block; height: 5px; border-radius: 3px; background: rgba(236,232,223,.55); }
.fk-scale__text span:nth-child(1) { width: 100%; height: 7px; }
.fk-scale__text span:nth-child(2) { width: 80%; }
.fk-scale__text span:nth-child(3) { width: 55%; }
.fk-scale__dim {
  position: absolute;
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(255,255,255,.85);
  padding: 2px 6px;
  border-radius: 6px;
}
.fk-scale__dim--h { left: 8px; top: 10px; }
.fk-scale__dim--w { right: 8px; top: 10px; }
.fk-scale__dim--h::before { content: "↕ "; }
.fk-scale__dim--w::before { content: "↔ "; }
.fk-scale__caption {
  margin: 14px 0 12px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-3);
}
.fk-scale__caption strong { display: block; font-size: 18px; color: var(--ink); }
.fk-scale__steles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fk-scale__steles-label { font-size: 13.5px; color: var(--muted); margin-right: 2px; }
.fk-scale__steles .svc-oform-filters__btn { padding: 7px 14px; font-size: 13.5px; }
.fk-scale__note {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.fk-scale__note [data-lucide] { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }

.fk-scale__catalog { display: grid; gap: 28px; min-width: 0; }
.fk-scale__group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--ink);
}
.fk-scale__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fk-size {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--card, #fff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.fk-size:hover { border-color: var(--green-500); transform: translateY(-2px); }
.fk-size.is-on { border-color: var(--green-600); background: var(--green-50); }
.fk-size__tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--green-600);
}
.fk-size__shape { font-size: 12.5px; color: var(--muted); }
.fk-size__label { font-size: 20px; font-weight: 700; line-height: 1.15; color: var(--ink); }
.fk-size__fits { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.fk-size__price { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--green-700); }

/* мини-стела 50 × 100 см в карточке и в квизе */
.fk-mini { display: block; align-self: center; margin: 8px 0 6px; }
.fk-mini__stele {
  position: relative;
  display: block;
  width: 50px;
  height: 100px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(160deg, #2c3032 0%, #17191b 100%);
  box-shadow: 0 4px 10px rgba(20,24,26,.18);
}
.fk-mini__ph {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(90% 80% at 50% 35%, #f4ede3 0%, #cdbfae 100%);
  box-shadow: 0 0 0 1px rgba(214,196,160,.6);
}
.fk-mini__txt {
  position: absolute;
  left: 22%;
  right: 22%;
  height: 10px;
  background:
    linear-gradient(rgba(236,232,223,.5), rgba(236,232,223,.5)) top / 100% 3px no-repeat,
    linear-gradient(rgba(236,232,223,.4), rgba(236,232,223,.4)) 50% 100% / 70% 2px no-repeat;
}

/* линейка: все размеры формы рядом в одном масштабе */
.fk-ruler {
  --u: 3px; /* 1 см */
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px 10px;
  border-radius: 14px;
  background: #EEF2EA;
  overflow-x: auto;
}
.fk-ruler__item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.fk-ruler__shape {
  display: block;
  width: calc(var(--u) * var(--w));
  height: calc(var(--u) * var(--h));
  border: 2px solid rgba(44,122,63,.45);
  background: #fff;
  transition: background .18s ease, border-color .18s ease;
}
.fk-ruler__item.is-on .fk-ruler__shape { border-color: var(--green-600); background: var(--green-600); }
.fk-ruler__label { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.fk-ruler__item.is-on .fk-ruler__label { color: var(--green-700); font-weight: 700; }

/* ===== 7. Какой размер выбрать ===== */
.fk-choose .svc-memorial-compose__cta { margin-top: 8px; }

/* ===== 9. Пары до/после: четыре пары — две в ряд (сетка из общей секции) ===== */
.fk-pairs__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.fk-pairs__list li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.fk-pairs__list strong { color: var(--ink); font-size: 16px; }
.fk-pairs__ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--green-600);
  background: var(--green-50);
}
.fk-pairs__ico [data-lucide] { width: 20px; height: 20px; }
.fk-pairs .svc-oform-pairs__grid { margin-bottom: 24px; }

/* ===== 11. Долговечность: пять карточек без кадра выглядят ровно ===== */
.fk-durable .svc-stekla-benefits__card { display: flex; flex-direction: column; }

/* ===== 12. Сравнение технологий ===== */
.fk-tech { display: flex; flex-direction: column; }
.fk-tech--current { border-color: var(--green-500); box-shadow: 0 0 0 2px rgba(46,140,75,.18); }
.fk-traits { margin: 0; padding: 4px 18px 6px; }
.fk-traits__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  line-height: 1.4;
}
.fk-traits dt { color: var(--muted); }
.fk-traits dd { margin: 0; color: var(--ink-2); }
.fk-tech__link,
.fk-tech__here { margin: auto 18px 16px; padding-top: 6px; }
.fk-tech__here {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-700);
}
.fk-tech__here [data-lucide] { width: 15px; height: 15px; }

/* ===== 13. Цена по размеру ===== */
.fk-price {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}
.fk-price__table.svc-oform-pricelist { max-width: none; margin: 0; }
.fk-price__table th:not(:first-child),
.fk-price__table td:not(:first-child) { text-align: right; padding-left: 16px; white-space: nowrap; }
.fk-price__table td:not(:first-child) { font-weight: 600; color: var(--ink); }
.fk-price__table th .fk-shape-ico { width: 9px; height: 12px; border-width: 1.5px; vertical-align: -1px; }
.fk-price__none { color: var(--muted); font-weight: 400; }
.fk-price__included { display: grid; gap: 14px; }
.fk-price__box {
  padding: 20px 22px;
  border-radius: 18px;
  background: #EEF2EA;
  border: 1px solid rgba(46,140,75,.12);
}
.fk-price__box--extra { background: var(--card, #fff); border-color: var(--line); }
.fk-price__box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--ink);
}
.fk-price__box-title [data-lucide] { width: 18px; height: 18px; color: var(--green-600); }
.fk-price__box ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fk-price__box li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.fk-price__box li [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--green-600); }
.fk-price__box--extra li [data-lucide] { color: var(--muted); }

/* ===== 15. Установка ===== */
.fk-install__ico {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--green-600);
  background: var(--green-50);
}
.fk-install__ico [data-lucide] { width: 38px; height: 38px; stroke-width: 1.5; }
.fk-scenarios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}
.fk-scenario {
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
}
.fk-scenario__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fk-scenario__ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--green-600);
  background: var(--green-50);
}
.fk-scenario__ico [data-lucide] { width: 21px; height: 21px; }
.fk-scenario__title { margin: 0; font-size: 19px; color: var(--ink); }
.fk-scenario__text { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fk-scenario__points { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fk-scenario__points li { display: flex; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.fk-scenario__points [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--green-600); }

/* ===== 16. Срок изготовления ===== */
.fk-time__card {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: #EEF2EA;
  border: 1px solid rgba(46,140,75,.12);
}
.fk-time__title { margin: 6px 0 8px; font-size: 32px; line-height: 1.2; color: var(--ink); }
.fk-time__sub { margin: 0 0 18px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.fk-time__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
}
.fk-time__badge-num { font-size: 26px; font-weight: 700; color: var(--green-700); white-space: nowrap; }
.fk-time__badge-text { font-size: 13.5px; color: var(--muted); }
.fk-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fk-timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(46,140,75,.3);
}
.fk-timeline__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fk-timeline__dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green-600);
  background: #fff;
  border: 2px solid rgba(46,140,75,.3);
}
.fk-timeline__item:last-child .fk-timeline__dot { color: #fff; background: var(--green-600); border-color: var(--green-600); }
.fk-timeline__dot [data-lucide] { width: 22px; height: 22px; }
.fk-timeline__title { font-size: 15px; font-weight: 600; color: var(--ink); }
.fk-timeline__when { font-size: 13px; line-height: 1.35; color: var(--muted); }

/* ===== 17. Как мы работаем: 4 шага без кадров ===== */
.fk-steps .how-step { align-self: stretch; }

/* ===== 19. Квиз: размер картинками ===== */
.fk-qsize {
  display: grid !important;
  place-items: center;
  background: #EEF2EA !important;
}
.fk-qsize__stele { width: 40px; height: 80px; }
.fk-qsize__unknown { color: var(--green-600); }
.fk-qsize__unknown [data-lucide] { width: 34px; height: 34px; stroke-width: 1.5; }

/* ===================== мобильные ===================== */

