/* ========================================================================== 
   ГЛАВНАЯ 2026 — православная витрина мастерской
   Все правила изолированы префиксом home-, чтобы не менять 900+ внутренних
   страниц портала. Товарные фотографии остаются реальными; сгенерированные
   кадры используются только как атмосферные и ремесленные иллюстрации.
   ========================================================================== */
.topbar--home .topbar__inner { gap: 18px; }
.topbar--home .topbar__logo {
  position: relative;
  padding-left: 24px;
  padding-right: 12px;
  font-size: 21px;
}
.topbar--home .topbar__logo::before {
  content: "☦";
  position: absolute;
  left: 0;
  top: 50%;
  color: #8e743a;
  font-size: 17px;
  transform: translateY(-52%);
}
.topbar--home .topbar__nav li + li { margin-left: 15px; }
.topbar--home .topbar__nav a { font-size: 11.5px; letter-spacing: .015em; }
.topbar--home .topbar__nav .topbar__catalog {
  padding: 8px 12px;
  color: #fff;
  background: #254a40;
  border-radius: 999px;
}
.topbar--home .topbar__nav .topbar__catalog:hover { opacity: 1; background: #193a32; }
.mobilemenu__catalog { color: #d7b866 !important; }

.home-v2 {
  --home-forest: #183b33;
  --home-forest-2: #244b40;
  --home-gold: #b9974e;
  --home-gold-light: #e4d19e;
  --home-ivory: #fbf8f1;
  --home-paper: #f3eee3;
  --home-ink: #1b2925;
  --home-muted: #66736e;
  color: var(--home-ink);
  background: #fff;
  overflow: hidden;
}
.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.home-v2 p { overflow-wrap: break-word; }
.home-v2 h1,
.home-v2 h2,
.home-v2 h3 { text-wrap: balance; }
.home-v2 img { display: block; }

.home-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--home-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.home-kicker span { font-size: 17px; line-height: 1; }
.home-kicker--center { justify-content: center; text-align: center; }
.home-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 530;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.home-title--center { text-align: center; }
.home-subtitle {
  max-width: 680px;
  margin: 18px auto 44px;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
}
.home-center { margin-top: 40px; text-align: center; }
.home-btn {
  min-height: 56px;
  padding: 16px 32px;
  background: var(--home-gold);
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(103, 73, 17, .18);
}
.home-btn:hover { background: #9f7f3d; }
.home-textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  transition: gap .2s ease, border-color .2s ease;
}
.home-textlink:hover { gap: 14px; border-color: currentColor; }
.home-textlink--dark { color: var(--home-forest); border-color: rgba(24, 59, 51, .25); }

/* Первый экран: товар виден до любого справочного раздела. */
.home-hero {
  position: relative;
  min-height: 760px;
  padding: 120px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 13% 28%, rgba(205, 174, 103, .18), transparent 32%),
    linear-gradient(135deg, #173a32 0%, #21473d 55%, #112f29 100%);
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(227, 205, 149, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(227, 205, 149, .035), 0 0 0 144px rgba(227, 205, 149, .025);
  pointer-events: none;
}
.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 56px;
}
.home-hero__content { padding: 18px 0; }
.home-hero__content h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -.042em;
}
.home-hero__lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.65;
}
.home-hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.home-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 580px;
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.home-hero__facts li { padding-right: 14px; }
.home-hero__facts li + li { padding-left: 19px; border-left: 1px solid rgba(255, 255, 255, .14); }
.home-hero__facts strong { display: block; color: #f5e8c5; font-size: 17px; font-weight: 650; }
.home-hero__facts span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .56); font-size: 12px; }

.home-hero__visual {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}
.home-hero__church {
  position: absolute;
  z-index: -2;
  inset: 2% 0 1% 8%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 42, 36, .15), rgba(16, 42, 36, .78)),
    url('../assets/img/ChatGPT_Image_20__20.webp') center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 48% 48% 4px 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}
.home-hero__church::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 59, 51, .55), transparent 55%);
}
.home-hero__icon {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #f8f4ea;
  border: 7px solid #2f241b;
  border-radius: 4px;
  box-shadow: 0 28px 55px rgba(0, 0, 0, .42), 0 0 0 1px rgba(221, 194, 128, .5);
}
.home-hero__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 -30px 45px rgba(69, 35, 8, .12);
  pointer-events: none;
}
.home-hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__icon--main {
  z-index: 3;
  top: 8%;
  left: 33%;
  width: 39%;
  aspect-ratio: 3 / 4;
}
.home-hero__icon--left {
  z-index: 2;
  top: 27%;
  left: 8%;
  width: 34%;
  aspect-ratio: 3 / 4;
  transform: rotate(-5deg);
}
.home-hero__icon--right {
  z-index: 2;
  top: 25%;
  right: 1%;
  width: 34%;
  aspect-ratio: 3 / 4;
  transform: rotate(5deg);
}
.home-hero__seal {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 2%;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: #f7e7bb;
  text-align: center;
  background: #9b7634;
  border: 1px solid #ead18f;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28), inset 0 0 0 5px #9b7634, inset 0 0 0 6px rgba(247, 231, 187, .45);
  transform: rotate(7deg);
}
.home-hero__seal span { position: absolute; top: 13px; font-size: 17px; }
.home-hero__seal strong { padding-top: 19px; font-size: 13px; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }

.home-trust { color: #fff; background: #102d27; border-top: 1px solid rgba(255, 255, 255, .08); }
.home-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-trust__grid > div {
  position: relative;
  min-height: 116px;
  padding: 28px 22px 24px 42px;
}
.home-trust__grid > div + div { border-left: 1px solid rgba(255, 255, 255, .11); }
.home-trust__grid > div > span { position: absolute; top: 31px; left: 19px; color: var(--home-gold); font-size: 14px; }
.home-trust strong { display: block; font-size: 15px; font-weight: 650; }
.home-trust small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.4; }

.home-section { padding: 94px 0; }
.home-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 46px; margin-bottom: 44px; }
.home-section__head > div { max-width: 720px; }
.home-section__head h2,
.home-split__content h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 530;
  line-height: 1.08;
  letter-spacing: -.027em;
}
.home-section__head > div > p:last-child {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.6;
}
.home-section__head > .home-textlink { flex: 0 0 auto; margin-bottom: 7px; }

.home-catalog { background: var(--home-ivory); }
.home-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.home-product {
  min-width: 0;
  background: #fff;
  border: 1px solid #ece4d5;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(45, 37, 21, .055);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-product:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(45, 37, 21, .11); }
.home-product__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #eee9df;
  border-radius: 11px 11px 0 0;
}
.home-product__image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -50px 50px -50px rgba(0, 0, 0, .18); pointer-events: none; }
.home-product__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-product:hover .home-product__image img { transform: scale(1.025); }
.home-product__body { position: relative; min-height: 112px; padding: 17px 16px 18px; }
.home-product__body h3 { min-height: 39px; margin: 0; font-size: 16px; font-weight: 650; line-height: 1.25; }
.home-product__body p { margin: 8px 0 0; color: var(--home-gold); font-size: 15px; font-weight: 700; }
.home-product__about { position: absolute; right: 16px; bottom: 19px; color: #7b817e; font-size: 12px; border-bottom: 1px solid #d5d8d6; }
.home-product__about:hover { color: var(--home-forest); border-color: currentColor; }

.home-paths { background: #fff; }
.home-paths__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.home-paths__grid > a {
  position: relative;
  min-height: 270px;
  padding: 32px 28px;
  background: var(--home-paper);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.home-paths__grid > a:hover { color: #fff; background: var(--home-forest); transform: translateY(-4px); }
.home-paths__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--home-gold);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  border: 1px solid #cbb989;
  border-radius: 50%;
}
.home-paths__grid h3 { margin: 26px 0 0; font-size: 22px; font-weight: 650; }
.home-paths__grid p { margin: 10px 0 0; color: var(--home-muted); font-size: 14px; line-height: 1.55; }
.home-paths__grid b { position: absolute; left: 28px; bottom: 30px; color: var(--home-forest); font-size: 13px; font-weight: 650; }
.home-paths__grid > a:hover p { color: rgba(255, 255, 255, .68); }
.home-paths__grid > a:hover b { color: #f5dfaa; }

.home-craft { background: #f7f3ea; }
.home-split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 74px; }
.home-craft__image { margin: 0; }
.home-craft__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px 46px 4px 4px; box-shadow: 0 24px 55px rgba(44, 31, 17, .14); }
.home-craft__image figcaption { margin-top: 12px; color: #7b7468; font-size: 12px; line-height: 1.45; }
.home-split__lead { margin: 22px 0 0; color: var(--home-muted); font-size: 17px; line-height: 1.68; }
.home-checks { margin: 31px 0 30px; }
.home-checks li { display: flex; gap: 15px; padding: 16px 0; border-top: 1px solid #ddd3c0; }
.home-checks li:last-child { border-bottom: 1px solid #ddd3c0; }
.home-checks li > span { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; color: #fff; font-size: 12px; background: var(--home-forest); border-radius: 50%; }
.home-checks strong { display: block; font-size: 15px; font-weight: 680; }
.home-checks small { display: block; margin-top: 4px; color: var(--home-muted); font-size: 13px; line-height: 1.45; }

.home-sizes { background: #fff; }
.home-sizes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-sizes__grid > div {
  position: relative;
  min-height: 300px;
  padding: 36px 34px;
  background: var(--home-ivory);
  border: 1px solid #e8dfcf;
  border-radius: 12px;
}
.home-sizes__grid > .home-sizes__featured { color: #fff; background: var(--home-forest); border-color: var(--home-forest); }
.home-sizes__num { display: block; color: var(--home-gold); font-family: Georgia, serif; font-size: 46px; line-height: 1; }
.home-sizes__grid h3 { margin: 29px 0 0; font-size: 22px; font-weight: 650; }
.home-sizes__grid p { margin: 12px 0 48px; color: var(--home-muted); font-size: 14px; line-height: 1.58; }
.home-sizes__featured p { color: rgba(255, 255, 255, .65); }
.home-sizes__grid strong { position: absolute; left: 34px; bottom: 32px; color: var(--home-gold); font-size: 16px; }
.home-sizes__label { position: absolute; top: 24px; right: 24px; padding: 6px 10px; color: #4e3a0d; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; background: #ead59d; border-radius: 999px; }

.home-prayer { position: relative; min-height: 670px; color: #fff; background: #142d27; }
.home-prayer__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 27, .96) 0%, rgba(12, 31, 27, .78) 35%, rgba(12, 31, 27, .18) 72%, rgba(12, 31, 27, .12) 100%),
    url('../assets/img/home/home-orthodox-church-v2.webp') center / cover no-repeat;
}
.home-prayer__inner { position: relative; display: flex; align-items: center; min-height: 670px; }
.home-prayer__card { max-width: 545px; padding: 64px 0; }
.home-prayer__cross { display: block; margin-bottom: 24px; color: #efdba4; font-size: 38px; }
.home-prayer__card h2 { margin: 0; font-size: clamp(39px, 4.2vw, 58px); font-weight: 520; line-height: 1.06; letter-spacing: -.03em; }
.home-prayer__card > p:not(.home-kicker) { margin: 24px 0 31px; color: rgba(255, 255, 255, .76); font-size: 17px; line-height: 1.68; }

.home-resources { background: var(--home-ivory); }
.home-resources__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-resources__grid > a {
  position: relative;
  min-height: 224px;
  padding: 29px 28px;
  background: #fff;
  border: 1px solid #e7dece;
  border-radius: 11px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-resources__grid > a:hover { border-color: #cdbb8d; transform: translateY(-3px); box-shadow: 0 13px 28px rgba(56, 43, 18, .07); }
.home-resources__grid > a > span { color: var(--home-gold); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.home-resources__grid h3 { margin: 18px 0 0; font-size: 22px; font-weight: 650; }
.home-resources__grid p { margin: 10px 0 0; color: var(--home-muted); font-size: 14px; line-height: 1.55; }
.home-resources__grid b { position: absolute; left: 28px; bottom: 27px; color: var(--home-forest); font-size: 13px; font-weight: 650; }

.home-voice { padding: 62px 0; color: #fff; background: #102d27; }
.home-voice__grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 70px; }
.home-voice blockquote { margin: 0; color: #f1e5c7; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(25px, 3vw, 38px); font-style: italic; line-height: 1.35; }
.home-voice__author { display: flex; align-items: center; gap: 14px; }
.home-voice__author img { width: 64px; height: 64px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.home-voice__author strong { display: block; font-size: 15px; font-weight: 650; }
.home-voice__author span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .55); font-size: 12px; }

@media (max-width: 1200px) {
  .topbar--home .topbar__logo { font-size: 18px; }
  .topbar--home .topbar__nav li + li { margin-left: 10px; }
  .topbar--home .topbar__nav a { font-size: 10.5px; }
  .home-hero__grid { grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); gap: 28px; }
  .home-hero__content h1 { font-size: 54px; }
  .home-hero__visual { min-height: 540px; }
  .home-products { gap: 22px 14px; }
  .home-product__body { padding-left: 13px; padding-right: 13px; }
  .home-product__about { right: 13px; }
  .home-split { gap: 48px; }
}

@media (max-width: 960px) {
  .home-hero { min-height: auto; padding: 108px 0 58px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .home-hero__content { text-align: center; }
  .home-hero__content .home-kicker,
  .home-hero__actions { justify-content: center; }
  .home-hero__content h1,
  .home-hero__lead,
  .home-hero__facts { margin-left: auto; margin-right: auto; }
  .home-hero__visual { width: 100%; max-width: 620px; min-height: 590px; margin: 0 auto; }
  .home-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .home-trust__grid > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .11); }
  .home-trust__grid > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .11); }
  .home-section { padding: 76px 0; }
  .home-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .home-paths__grid { grid-template-columns: repeat(2, 1fr); }
  .home-split { grid-template-columns: 1fr; }
  .home-craft__image { order: 2; }
  .home-craft__image img { max-height: 560px; }
  .home-sizes__grid { grid-template-columns: 1fr; }
  .home-sizes__grid > div { min-height: 235px; }
  .home-resources__grid { grid-template-columns: repeat(2, 1fr); }
  .home-prayer,
  .home-prayer__inner { min-height: 620px; }
  .home-prayer__image { background-position: 58% center; }
  .home-voice__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .mobilebar__logo { position: relative; padding-left: 22px; font-size: 19px; }
  .mobilebar__logo::before { content: "☦"; position: absolute; left: 0; color: #d7b866; font-size: 16px; }
  .home-kicker { font-size: 10px; letter-spacing: .105em; }
  .home-hero { padding: 98px 0 40px; }
  .home-hero__content h1 { font-size: 39px; line-height: 1.05; }
  .home-hero__lead { margin-top: 21px; font-size: 15px; line-height: 1.55; }
  .home-hero__actions { flex-direction: column; gap: 20px; margin-top: 28px; }
  .home-hero__actions .btn { width: 100%; }
  .home-hero__facts { margin-top: 34px; padding-top: 19px; }
  .home-hero__facts strong { font-size: 13px; }
  .home-hero__facts span { font-size: 10px; }
  .home-hero__facts li { padding-right: 6px; }
  .home-hero__facts li + li { padding-left: 8px; }
  .home-hero__visual { min-height: 430px; }
  .home-hero__church { inset: 0 0 0 0; border-radius: 42% 42% 4px 4px; }
  .home-hero__icon { border-width: 4px; }
  .home-hero__icon--main { top: 7%; left: 30%; width: 42%; }
  .home-hero__icon--left { top: 29%; left: 3%; width: 37%; }
  .home-hero__icon--right { top: 27%; right: 1%; width: 37%; }
  .home-hero__seal { right: 1%; bottom: 0; width: 78px; height: 78px; }
  .home-hero__seal span { top: 8px; font-size: 12px; }
  .home-hero__seal strong { padding-top: 16px; font-size: 9px; }
  .home-trust__grid > div { min-height: 110px; padding: 24px 13px 20px 32px; }
  .home-trust__grid > div > span { top: 27px; left: 12px; font-size: 11px; }
  .home-trust strong { font-size: 13px; }
  .home-trust small { font-size: 10px; }
  .home-section { padding: 62px 0; }
  .home-section__head { display: block; margin-bottom: 32px; }
  .home-section__head h2,
  .home-split__content h2,
  .home-title { font-size: 34px; }
  .home-section__head > div > p:last-child,
  .home-subtitle,
  .home-split__lead { font-size: 15px; line-height: 1.55; }
  .home-section__head > .home-textlink { margin-top: 20px; }
  .home-products { gap: 14px 10px; }
  .home-product__body { min-height: 111px; padding: 13px 11px 15px; }
  .home-product__body h3 { min-height: 42px; font-size: 14px; }
  .home-product__body p { margin-top: 6px; font-size: 13px; }
  .home-product__about { right: auto; left: 11px; bottom: 13px; font-size: 10px; }
  .home-center .btn { width: 100%; }
  .home-subtitle { margin: 15px auto 31px; }
  .home-paths__grid { grid-template-columns: 1fr; }
  .home-paths__grid > a { min-height: 236px; padding: 27px 24px; }
  .home-paths__grid b { left: 24px; bottom: 26px; }
  .home-split { gap: 38px; }
  .home-craft__image img { aspect-ratio: 4 / 3; border-radius: 4px 30px 4px 4px; }
  .home-checks { margin-top: 24px; }
  .home-sizes__grid > div { min-height: 255px; padding: 30px 26px; }
  .home-sizes__num { font-size: 39px; }
  .home-sizes__grid strong { left: 26px; bottom: 26px; }
  .home-sizes__label { top: 20px; right: 18px; }
  .home-prayer,
  .home-prayer__inner { min-height: 610px; }
  .home-prayer__image {
    background:
      linear-gradient(180deg, rgba(12, 31, 27, .9) 0%, rgba(12, 31, 27, .78) 55%, rgba(12, 31, 27, .5) 100%),
      url('../assets/img/home/home-orthodox-church-v2.webp') 63% center / cover no-repeat;
  }
  .home-prayer__card { padding: 58px 0; }
  .home-prayer__cross { font-size: 32px; }
  .home-prayer__card h2 { font-size: 38px; }
  .home-prayer__card > p:not(.home-kicker) { font-size: 15px; line-height: 1.58; }
  .home-prayer__card .btn { width: 100%; }
  .home-resources__grid { grid-template-columns: 1fr; }
  .home-resources__grid > a { min-height: 205px; padding: 25px 24px; }
  .home-resources__grid b { left: 24px; bottom: 24px; }
  .home-voice { padding: 48px 0; }
  .home-voice blockquote { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 *, .home-v2 *::before, .home-v2 *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ========================================================================== 
   ГЛАВНАЯ v3 — дополнительная полировка: товарные микродетали, подарочный
   сценарий, путь заказа, отзывы и мягкое появление секций.
   ========================================================================== */
.home-js .home-v2 [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s cubic-bezier(.2, .7, .2, 1), transform .72s cubic-bezier(.2, .7, .2, 1);
}
.home-js .home-v2 [data-reveal].is-revealed { opacity: 1; transform: none; }

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image:
    radial-gradient(circle at 22% 37%, rgba(255, 255, 255, .13) 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 62%, rgba(255, 255, 255, .08) 0 1px, transparent 1.6px);
  background-size: 31px 31px, 47px 47px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
  pointer-events: none;
}
.home-hero__visual::before,
.home-hero__visual::after {
  content: "";
  position: absolute;
  z-index: 6;
  width: 42px;
  height: 42px;
  pointer-events: none;
}
.home-hero__visual::before { top: 0; left: 6%; border-top: 1px solid rgba(239, 219, 164, .7); border-left: 1px solid rgba(239, 219, 164, .7); }
.home-hero__visual::after { right: -1%; bottom: 0; border-right: 1px solid rgba(239, 219, 164, .7); border-bottom: 1px solid rgba(239, 219, 164, .7); }

.home-section__head h2::after,
.home-split__content h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 19px;
  background: linear-gradient(90deg, var(--home-gold), transparent);
}
.home-title--center::after {
  content: "☦";
  display: block;
  margin: 18px auto 0;
  color: #c2a45d;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.home-product__badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 7px 10px 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(22, 55, 47, .88);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  backdrop-filter: blur(5px);
}
.home-product__cta {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgba(20, 52, 44, .92);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.home-product:hover .home-product__cta { opacity: 1; transform: none; }
.home-product__body { min-height: 151px; }
.home-product__meta {
  display: flex;
  gap: 8px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #efe8dc;
}
.home-product__meta span {
  color: #7e837f;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}
.home-product__meta span + span::before { content: "·"; margin-right: 8px; color: #b69b5b; }
.home-product__about { bottom: 17px; }

.home-paths__grid > a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 58px;
  height: 58px;
  border-right: 1px solid rgba(185, 151, 78, .24);
  border-bottom: 1px solid rgba(185, 151, 78, .24);
  border-radius: 0 0 8px 0;
  transition: border-color .2s ease;
}
.home-paths__grid > a:hover::after { border-color: rgba(239, 219, 164, .42); }

.home-gift {
  position: relative;
  padding: 104px 0;
  color: var(--home-ink);
  background:
    radial-gradient(circle at 4% 8%, rgba(185, 151, 78, .13), transparent 28%),
    linear-gradient(135deg, #efe6d5 0%, #f8f3e9 56%, #eee4d1 100%);
}
.home-gift::before {
  content: "☦";
  position: absolute;
  top: 36px;
  left: 50%;
  color: rgba(153, 119, 55, .13);
  font-size: 220px;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.home-gift__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); align-items: center; gap: 80px; }
.home-gift__content h2 { margin: 0; font-size: clamp(38px, 4.2vw, 56px); font-weight: 530; line-height: 1.06; letter-spacing: -.03em; }
.home-gift__content > p:not(.home-kicker) { max-width: 570px; margin: 23px 0 0; color: var(--home-muted); font-size: 17px; line-height: 1.67; }
.home-gift__details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.home-gift__details > div { position: relative; min-height: 116px; padding: 22px 18px 18px 56px; background: rgba(255, 255, 255, .58); border: 1px solid rgba(185, 151, 78, .27); border-radius: 9px; }
.home-gift__details > div > span { position: absolute; top: 22px; left: 17px; color: #ad8d45; font-family: Georgia, serif; font-size: 18px; }
.home-gift__details strong { display: block; font-size: 14px; font-weight: 680; }
.home-gift__details small { display: block; margin-top: 7px; color: var(--home-muted); font-size: 12px; line-height: 1.42; }
.home-gift__actions { display: flex; align-items: center; gap: 26px; margin-top: 31px; }
.home-gift__visual {
  position: relative;
  margin: 0;
  overflow: visible;
  aspect-ratio: 4 / 3;
  border: 10px solid rgba(255, 255, 255, .72);
  border-radius: 4px 52px 4px 4px;
  box-shadow: 0 28px 68px rgba(67, 44, 15, .22), 0 0 0 1px rgba(126, 88, 31, .16);
}
.home-gift__visual::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255, 255, 255, .44); border-radius: 2px 38px 2px 2px; pointer-events: none; }
.home-gift__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; border-radius: 2px 42px 2px 2px; }
.home-gift__tag { position: absolute; z-index: 2; padding: 12px 17px; color: #fff; font-size: 11px; font-weight: 680; letter-spacing: .04em; background: var(--home-forest); border: 1px solid rgba(255, 255, 255, .24); box-shadow: 0 11px 24px rgba(24, 59, 51, .25); }
.home-gift__tag--top { top: 34px; left: -34px; border-radius: 4px 4px 4px 16px; }
.home-gift__tag--bottom { right: -24px; bottom: 32px; color: #493817; background: #e4c982; border-color: #f5e5b9; border-radius: 4px 16px 4px 4px; }

.home-steps { background: #fff; }
.home-steps__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.home-steps__grid::before { content: ""; position: absolute; top: 38px; right: 11%; left: 11%; height: 1px; background: linear-gradient(90deg, transparent, #cbb77f 12%, #cbb77f 88%, transparent); }
.home-steps__grid li { position: relative; min-height: 225px; padding: 0 24px 27px; text-align: center; background: linear-gradient(180deg, transparent 0 62px, var(--home-ivory) 62px); border: 1px solid transparent; border-radius: 12px; }
.home-steps__grid li > span { position: relative; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto; color: #5a451e; font-family: Georgia, serif; font-size: 20px; background: #ead9ae; border: 8px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #d7bd7b; }
.home-steps__grid h3 { margin: 24px 0 0; font-size: 19px; font-weight: 670; }
.home-steps__grid p { margin: 10px 0 0; color: var(--home-muted); font-size: 13px; line-height: 1.5; }

.home-reviews { position: relative; background: #fff; }
.home-reviews::before { content: "“"; position: absolute; top: 42px; right: 8%; color: rgba(185, 151, 78, .09); font-family: Georgia, serif; font-size: 280px; line-height: 1; pointer-events: none; }
.home-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-reviews blockquote { position: relative; min-height: 260px; margin: 0; padding: 32px 30px; background: var(--home-ivory); border: 1px solid #e9dfcc; border-radius: 12px; }
.home-reviews blockquote::after { content: "☦"; position: absolute; right: 25px; bottom: 25px; color: #c4a860; font-size: 19px; }
.home-stars { color: #bd9a4c; font-size: 13px; letter-spacing: .12em; }
.home-reviews blockquote p { margin: 24px 0 0; color: #34413d; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-style: italic; line-height: 1.55; }
.home-reviews blockquote footer { position: absolute; left: 30px; bottom: 28px; color: var(--home-muted); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 1200px) {
  .home-gift__grid { grid-template-columns: minmax(0, .95fr) minmax(410px, 1.05fr); gap: 46px; }
  .home-gift__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home-steps__grid { gap: 12px; }
  .home-steps__grid li { padding-right: 15px; padding-left: 15px; }
}

@media (max-width: 960px) {
  .home-gift { padding: 80px 0; }
  .home-gift__grid { grid-template-columns: 1fr; gap: 46px; }
  .home-gift__visual { width: 100%; max-width: 640px; margin: 0 auto; }
  .home-gift__actions { flex-direction: row; align-items: center; }
  .home-steps__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .home-steps__grid::before { display: none; }
  .home-reviews__grid { grid-template-columns: 1fr; }
  .home-reviews blockquote { min-height: 220px; }
}

@media (max-width: 640px) {
  .home-section__head h2::after,
  .home-split__content h2::after { margin-top: 15px; }
  .home-product__badge { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 6px 7px 5px; font-size: 7px; }
  .home-product__cta { display: none; }
  .home-product__body { min-height: 140px; }
  .home-product__meta { gap: 4px; margin-top: 8px; padding-top: 8px; }
  .home-product__meta span { font-size: 7px; letter-spacing: .03em; }
  .home-product__meta span + span::before { margin-right: 4px; }
  .home-product__about { bottom: 12px; }
  .home-gift { padding: 66px 0; }
  .home-gift::before { top: 28px; font-size: 150px; }
  .home-gift__content h2 { font-size: 37px; }
  .home-gift__content > p:not(.home-kicker) { font-size: 15px; line-height: 1.58; }
  .home-gift__details { grid-template-columns: 1fr; }
  .home-gift__details > div { min-height: 104px; }
  .home-gift__actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .home-gift__actions .btn { width: 100%; }
  .home-gift__actions .home-textlink { align-self: flex-start; }
  .home-gift__visual { aspect-ratio: 1 / 1; border-width: 7px; border-radius: 4px 34px 4px 4px; }
  .home-gift__visual img { object-position: 50% 50%; border-radius: 2px 27px 2px 2px; }
  .home-gift__tag { padding: 9px 11px; font-size: 9px; }
  .home-gift__tag--top { top: 22px; left: -6px; }
  .home-gift__tag--bottom { right: -6px; bottom: 20px; }
  .home-steps__grid { grid-template-columns: 1fr; gap: 13px; }
  .home-steps__grid li { display: grid; grid-template-columns: 66px 1fr; min-height: 138px; padding: 20px 20px 20px 14px; text-align: left; background: var(--home-ivory); border-color: #eadfca; }
  .home-steps__grid li > span { grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; align-self: center; font-size: 16px; border-width: 5px; }
  .home-steps__grid h3 { margin: 9px 0 0; font-size: 18px; }
  .home-steps__grid p { margin-top: 5px; }
  .home-reviews blockquote { min-height: 245px; padding: 28px 24px; }
  .home-reviews blockquote p { font-size: 19px; }
  .home-reviews blockquote footer { left: 24px; bottom: 25px; }
}

/* — Homepage v4: цельный первый кадр и два полностью видимых короба — */
.home-hero__visual {
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 0 32px 18px 54px;
}
.home-hero__scene {
  position: relative;
  width: min(88%, 486px);
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1122 / 1402;
  background: #5b3823;
  border: 9px solid #d8c192;
  border-radius: 230px 230px 12px 12px;
  box-shadow:
    0 35px 76px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(253, 239, 199, .52),
    0 0 0 17px rgba(13, 40, 34, .6);
}
.home-hero__scene::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 247, 221, .38);
  border-radius: 215px 215px 6px 6px;
  pointer-events: none;
}
.home-hero__scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero__scene figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 10px;
  color: #f7ebcc;
  text-align: left;
  background: rgba(17, 48, 41, .88);
  border: 1px solid rgba(239, 218, 164, .42);
  border-radius: 3px;
  backdrop-filter: blur(8px);
}
.home-hero__scene figcaption span { color: #d9ba6d; font-size: 18px; }
.home-hero__scene figcaption strong { font-size: 10px; font-weight: 690; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }
.home-hero__seal { right: 1%; bottom: 8%; }

@media (min-width: 1201px) {
  .home-gift .container { max-width: 1320px; padding-right: 24px; padding-left: 24px; }
}
.home-gift__grid {
  grid-template-columns: minmax(390px, .76fr) minmax(640px, 1.24fr);
  gap: 64px;
}
.home-gift__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
}
.home-gift__box {
  position: relative;
  margin: 0;
  padding: 10px 10px 0;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(129, 91, 36, .18);
  border-radius: 5px 44px 5px 5px;
  box-shadow: 0 26px 62px rgba(67, 44, 15, .2);
}
.home-gift__box--custom { transform: translateY(24px); }
.home-gift__box-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1086 / 1448;
  background: #6d4024;
  border-radius: 3px 35px 3px 3px;
}
.home-gift__box-image::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px 27px 2px 2px;
  pointer-events: none;
}
.home-gift__box-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-gift__box-image > span {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 10px 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .065em;
  text-transform: uppercase;
  background: rgba(20, 55, 47, .88);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 3px;
  backdrop-filter: blur(7px);
}
.home-gift__box--custom .home-gift__box-image > span { color: #493817; background: rgba(231, 205, 139, .92); border-color: rgba(255, 245, 211, .62); }
.home-gift__box figcaption {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 92px;
  padding: 18px 12px 16px 8px;
}
.home-gift__box figcaption b {
  grid-row: 1 / 3;
  color: #ae8b40;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}
.home-gift__box figcaption strong { align-self: end; font-size: 14px; font-weight: 700; }
.home-gift__box figcaption small { margin-top: 4px; color: var(--home-muted); font-size: 10px; line-height: 1.35; }

@media (max-width: 1200px) {
  .home-hero__visual { min-height: 560px; padding-right: 20px; padding-left: 38px; }
  .home-hero__scene { width: min(84%, 430px); }
  .home-gift__grid { grid-template-columns: minmax(320px, .8fr) minmax(520px, 1.2fr); gap: 32px; }
  .home-gift__gallery { gap: 14px; }
  .home-gift__box { padding: 8px 8px 0; }
}

@media (max-width: 960px) {
  .home-hero__visual { min-height: 650px; padding: 0 42px 16px; }
  .home-hero__scene { width: min(86%, 500px); }
  .home-hero__seal { right: 5%; bottom: 6%; }
  .home-gift__grid { grid-template-columns: 1fr; gap: 54px; }
  .home-gift__gallery { width: min(100%, 740px); margin: 0 auto 20px; gap: 22px; }
  .home-gift__box--custom { transform: translateY(22px); }
}

@media (max-width: 640px) {
  .home-hero__visual { min-height: 455px; padding: 0 16px 14px; }
  .home-hero__scene { width: min(88%, 336px); border-width: 6px; box-shadow: 0 24px 52px rgba(0, 0, 0, .35), 0 0 0 1px rgba(253, 239, 199, .5), 0 0 0 10px rgba(13, 40, 34, .62); }
  .home-hero__scene figcaption { right: 9px; bottom: 9px; padding: 8px 9px 7px; }
  .home-hero__scene figcaption span { font-size: 14px; }
  .home-hero__scene figcaption strong { font-size: 8px; }
  .home-hero__seal { right: 0; bottom: 2%; }
  .home-gift__grid { gap: 38px; }
  .home-gift__gallery { gap: 9px; margin-bottom: 14px; }
  .home-gift__box { padding: 5px 5px 0; border-radius: 4px 24px 4px 4px; }
  .home-gift__box--custom { transform: translateY(12px); }
  .home-gift__box-image { border-radius: 2px 19px 2px 2px; }
  .home-gift__box-image::after { inset: 4px; border-radius: 1px 14px 1px 1px; }
  .home-gift__box-image > span { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 6px 4px; font-size: 6px; }
  .home-gift__box figcaption { grid-template-columns: 24px 1fr; min-height: 78px; padding: 12px 6px 11px 5px; }
  .home-gift__box figcaption b { font-size: 13px; }
  .home-gift__box figcaption strong { font-size: 10px; line-height: 1.2; }
  .home-gift__box figcaption small { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-js .home-v2 [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* — «Подробнее о святых этого дня»: собственные жития сайта — */
.zhlist { margin: 0 0 26px; }
.zh {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.zh__name { font-size: 17px; font-weight: 500; }
.zh__name:hover { color: var(--gold); }
.zh__years { font-size: 14px; opacity: .55; margin-left: 8px; white-space: nowrap; }
.zh p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; font-weight: 300; opacity: .85; }

/* ========================================================================== 
   Внутренние страницы v5 — единый стиль главной, мастерская и помощь
   ========================================================================== */

.home-help-trigger {
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.portal-context {
  position: relative;
  margin: 30px 0 42px;
  overflow: hidden;
  background: #f5eddb;
  border: 1px solid #eadcc0;
  border-radius: 6px 42px 6px 6px;
  box-shadow: 0 18px 45px rgba(72, 50, 21, .08);
}
.portal-context::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(166, 132, 64, .22);
  border-radius: 3px 32px 3px 3px;
  pointer-events: none;
}
.portal-context img { display: block; width: 100%; height: auto; }
.portal-context figcaption {
  position: absolute;
  right: 17px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 8px;
  color: #f4e6c3;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgba(22, 55, 47, .9);
  border: 1px solid rgba(239, 218, 164, .4);
  border-radius: 3px;
}
.portal-context figcaption span { color: #d5b565; font-size: 14px; }

.shop--v5 {
  position: relative;
  padding: 104px 0 96px;
  color: #18332d;
  background:
    radial-gradient(circle at 92% 9%, rgba(185, 151, 78, .15), transparent 28%),
    linear-gradient(135deg, #eee5d3 0%, #faf6ed 52%, #eee3cf 100%);
}
.shop--v5::before {
  content: "☦";
  position: absolute;
  top: 20px;
  left: 5%;
  color: rgba(151, 118, 54, .08);
  font-size: 210px;
  line-height: 1;
  pointer-events: none;
}
.shop--v5 .shop__head[hidden],
.shop--v5 .shop__lead[hidden] { display: none; }
.shop-story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #173a32;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px 72px 5px 5px;
  box-shadow: 0 30px 70px rgba(44, 36, 22, .2);
}
.shop-story__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 54px 46px 50px 52px;
}
.shop-story__copy::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -92px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(232, 211, 157, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(232, 211, 157, .025), 0 0 0 84px rgba(232, 211, 157, .018);
  pointer-events: none;
}
.shop-story__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #d7b968;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.shop-story__kicker span { font-size: 14px; }
.shop-story h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(35px, 3.4vw, 50px);
  font-weight: 520;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.shop-story__copy > p:not(.shop-story__kicker) {
  max-width: 550px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.65;
}
.shop-story__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.shop-story__facts li { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .13); }
.shop-story__facts b { color: #d6b866; font-family: Georgia, serif; font-size: 11px; font-weight: 400; }
.shop-story__facts strong { display: block; color: #fff; font-size: 11px; font-weight: 680; }
.shop-story__facts small { display: block; margin-top: 3px; color: rgba(255, 255, 255, .5); font-size: 9px; line-height: 1.35; }
.shop-story__actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 23px; margin-top: 31px; }
.shop-story__actions .btn { min-width: 190px; padding: 16px 22px; text-align: center; }
.shop-story__help {
  padding: 5px 0;
  color: #f3e5c1;
  font-size: 12px;
  font-weight: 680;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(243, 229, 193, .4);
  cursor: pointer;
}
.shop-story__help span { margin-left: 8px; }
.shop-story__visual { position: relative; min-height: 100%; margin: 0; overflow: hidden; }
.shop-story__visual::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px 55px 3px 3px; pointer-events: none; }
.shop-story__visual img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 56% center; }
.shop-story__visual figcaption {
  position: absolute;
  right: 27px;
  bottom: 26px;
  padding: 11px 14px 10px;
  color: #4c3817;
  background: rgba(232, 207, 145, .94);
  border: 1px solid rgba(255, 246, 219, .72);
  border-radius: 3px 16px 3px 3px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}
.shop-story__visual figcaption span { display: block; font-size: 9px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.shop-story__visual figcaption strong { display: block; margin-top: 2px; font-size: 10px; font-weight: 520; }
.shop-selection {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 62px 0 26px;
}
.shop-selection p { margin: 0; color: #a9853a; font-size: 9px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.shop-selection p span { margin-right: 6px; }
.shop-selection h3 { margin: 8px 0 0; font-size: clamp(25px, 3vw, 36px); font-weight: 540; line-height: 1.15; letter-spacing: -.025em; }
.shop-selection > a { flex: 0 0 auto; padding-bottom: 5px; color: #173a32; font-size: 11px; font-weight: 700; border-bottom: 1px solid rgba(23, 58, 50, .3); }
.shop-selection > a span { margin-left: 7px; }
.shop--v5 .shop__grid { gap: 24px 18px; }
.shop--v5 .shop__imgwrap { background: #fff; border: 8px solid #fff; border-radius: 3px 32px 3px 3px; box-shadow: 0 14px 32px rgba(56, 41, 19, .12); }
.shop--v5 .shop__title { margin-top: 14px; color: #173a32; }
.shop--v5 .shop__more { margin-top: 34px; text-align: center; }
.shop--v5 .shop__more .btn { min-width: 300px; }
.shop--product-page .shop-story { min-height: 460px; }
.shop--product-page .shop-story__visual img { min-height: 460px; }
.shop--standalone .shop-story { margin-bottom: 0; }

.catalog-proof-v5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(180px, .85fr);
  margin: -4px 0 34px;
  overflow: hidden;
  color: #fff;
  background: #173a32;
  border: 1px solid rgba(215, 186, 108, .34);
  border-radius: 4px 24px 4px 4px;
}
.catalog-proof-v5 > span { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 13px 15px; border-right: 1px solid rgba(255, 255, 255, .11); }
.catalog-proof-v5 > span b { color: #d5b765; font-weight: 400; }
.catalog-proof-v5 > span strong { font-size: 10px; font-weight: 680; }
.catalog-proof-v5 > button { color: #4d3917; font-size: 10px; font-weight: 760; background: #dfc57f; border: 0; cursor: pointer; }
.catalog-proof-v5 > button b { margin-left: 7px; }

.msgband--v5 {
  position: relative;
  overflow: hidden;
  padding: 74px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 89% 20%, rgba(211, 181, 101, .14), transparent 30%),
    linear-gradient(135deg, #173a32 0%, #102f29 100%);
}
.msgband--v5::before { content: "☦"; position: absolute; top: 12px; right: 6%; color: rgba(224, 198, 128, .08); font-size: 220px; line-height: 1; pointer-events: none; }
.msgband--v5 .msgband__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: center; gap: 34px 80px; padding-bottom: 56px; }
.msgband--v5 .msgband__eyebrow { display: flex; align-items: center; gap: 8px; color: #d5b765; }
.msgband--v5 .msgband__title { max-width: 670px; color: #fff; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.msgband--v5 .msgband__lead { max-width: 650px; color: rgba(255, 255, 255, .68); }
.msgband--v5 .msgband__hours { color: rgba(255, 255, 255, .45); }
.msgband-v5__actions { display: grid; grid-template-columns: 1fr 112px; gap: 11px; align-self: center; }
.msgband-v5__primary,
.msgband-v5__telegram { display: flex; align-items: center; justify-content: center; min-height: 82px; color: #493817; background: #dfc57f; border: 1px solid #f0db9e; border-radius: 4px 20px 4px 4px; box-shadow: 0 16px 34px rgba(0, 0, 0, .2); cursor: pointer; }
.msgband-v5__primary { gap: 10px; padding: 12px 18px; text-align: left; }
.msgband-v5__primary > span { font-size: 18px; }
.msgband-v5__primary strong { display: block; font-size: 13px; }
.msgband-v5__primary small { display: block; margin-top: 3px; font-size: 9px; font-weight: 500; opacity: .7; }
.msgband-v5__telegram { flex-direction: column; gap: 5px; color: #fff; background: #2aabee; border-color: rgba(255, 255, 255, .25); border-radius: 4px 20px 4px 4px; }
.msgband-v5__telegram .msgbtn__icon { width: 25px; height: 25px; }
.msgband-v5__telegram strong { font-size: 10px; }
.msgband-v5__quick {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.msgband-v5__quick > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 680;
  background: rgba(255, 255, 255, .025);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
}
.msgband-v5__quick > *:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.msgband-v5__dot { width: 8px; height: 8px; border-radius: 50%; }

.modal__dialog--help { width: min(760px, calc(100% - 32px)); max-width: 760px; padding: 46px 48px 40px; }
.modal__dialog--qrall { width: min(680px, calc(100% - 32px)); max-width: 680px; padding: 46px 48px 42px; }
.helpchoice__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #a78339; font-size: 9px; font-weight: 760; letter-spacing: .105em; text-transform: uppercase; }
.helpchoice__kicker span { font-size: 14px; }
.helpchoice__lead { max-width: 620px; margin: 14px 0 0; color: #6c675e; font-size: 14px; line-height: 1.55; }
.helpchoice__group { margin-top: 27px; }
.helpchoice__label { margin-bottom: 10px; color: #938777; font-size: 9px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.helpchoice__messengers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.helpchoice__messengers .msgbtn { min-height: 66px; justify-content: center; border-radius: 4px 16px 4px 4px; }
.helpchoice__tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 11px; }
.helpchoice__tools > button {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 16px 18px;
  color: #173a32;
  text-align: left;
  background: #f5efe3;
  border: 1px solid #e4d8c2;
  border-radius: 4px 16px 4px 4px;
  cursor: pointer;
}
.helpchoice__tools > button > span { grid-row: 1 / 3; align-self: center; color: #b18b3d; font-size: 22px; }
.helpchoice__tools strong { font-size: 12px; }
.helpchoice__tools small { margin-top: 3px; color: #777064; font-size: 9px; }
.helpchoice__group--channels { padding-top: 20px; border-top: 1px solid #e8dfd0; }
.helpchoice__channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.helpchoice__channel { display: grid; grid-template-columns: 30px 1fr 18px; align-items: center; gap: 10px; min-height: 62px; padding: 12px 15px; color: #173a32; background: #fff; border: 1px solid #e5dccd; border-radius: 4px 15px 4px 4px; }
.helpchoice__channelicon { width: 25px; height: 25px; }
.helpchoice__channelicon svg { width: 100%; height: 100%; }
.helpchoice__channel strong { display: block; font-size: 11px; }
.helpchoice__channel small { display: block; margin-top: 2px; color: #827a6d; font-size: 9px; }
.helpchoice__channel b { color: #b18b3d; font-size: 15px; }
.helpchoice__note { margin: 22px 0 0; color: #8d8578; font-size: 10px; text-align: center; }
.qrall__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 25px; }
.qrall__card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 18px 18px; color: #173a32; background: #f8f3e9; border: 1px solid #e4d8c1; border-radius: 5px 24px 5px 5px; }
.qrall__badge { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 32px; height: 32px; color: #fff; border-radius: 50%; }
.qrall__badge svg { width: 19px; height: 19px; }
.qrall__card img { width: min(100%, 210px); height: auto; margin: 10px auto 12px; background: #fff; }
.qrall__card strong { font-size: 13px; }
.qrall__card small { margin-top: 3px; color: #7c756a; font-size: 10px; }

@media (max-width: 1200px) {
  .shop-story { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); }
  .shop-story__copy { padding: 46px 34px 44px 38px; }
  .msgband--v5 .msgband__inner { grid-template-columns: minmax(0, 1fr) 350px; gap: 46px; }
}

@media (max-width: 960px) {
  .shop--v5 { padding: 78px 0 74px; }
  .shop-story { grid-template-columns: 1fr; }
  .shop-story__visual { aspect-ratio: 3 / 2; }
  .shop-story__visual img { min-height: 0; }
  .shop-selection { margin-top: 48px; }
  .catalog-proof-v5 { grid-template-columns: repeat(3, 1fr); }
  .catalog-proof-v5 > button { grid-column: 1 / -1; min-height: 52px; }
  .msgband--v5 .msgband__inner { grid-template-columns: 1fr; gap: 30px; }
  .msgband-v5__actions { max-width: 430px; }
}

@media (max-width: 640px) {
  .portal-context { margin: 24px 0 33px; border-radius: 4px 28px 4px 4px; }
  .portal-context figcaption { right: 9px; bottom: 8px; padding: 6px 8px 5px; font-size: 7px; }
  .shop--v5 { padding: 62px 0 58px; }
  .shop--v5::before { top: 14px; left: 2%; font-size: 130px; }
  .shop-story { min-height: 0; border-radius: 4px 36px 4px 4px; }
  .shop-story__copy { padding: 35px 23px 34px; }
  .shop-story h2 { font-size: 34px; }
  .shop-story__copy > p:not(.shop-story__kicker) { margin-top: 18px; font-size: 14px; line-height: 1.55; }
  .shop-story__facts { gap: 10px 12px; margin-top: 23px; }
  .shop-story__facts li { grid-template-columns: 21px 1fr; }
  .shop-story__facts strong { font-size: 10px; }
  .shop-story__facts small { font-size: 8px; }
  .shop-story__actions { flex-direction: column; align-items: stretch; gap: 17px; margin-top: 25px; }
  .shop-story__actions .btn { width: 100%; }
  .shop-story__help { align-self: flex-start; }
  .shop-story__visual { border-radius: 0 0 3px 3px; }
  .shop-story__visual::after { inset: 7px; border-radius: 2px; }
  .shop-story__visual figcaption { right: 14px; bottom: 13px; }
  .shop-selection { align-items: flex-start; flex-direction: column; gap: 14px; margin: 39px 0 22px; }
  .shop-selection h3 { font-size: 27px; }
  .shop--v5 .shop__grid { gap: 22px 11px; }
  .shop--v5 .shop__imgwrap { border-width: 5px; border-radius: 3px 19px 3px 3px; }
  .shop--v5 .shop__title { font-size: 12px; }
  .shop--v5 .shop__price { font-size: 12px; }
  .shop--v5 .shop__more .btn { min-width: 0; width: 100%; }
  .catalog-proof-v5 { grid-template-columns: 1fr; margin-bottom: 27px; }
  .catalog-proof-v5 > span { min-height: 48px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .catalog__search,
  .catalog__select { min-width: 0; max-width: 100%; }
  #catalogPart { flex: 1 1 100%; width: 100%; }
  .msgband--v5 { padding-top: 59px; }
  .msgband--v5::before { font-size: 150px; }
  .msgband--v5 .msgband__inner { padding-bottom: 37px; }
  .msgband--v5 .msgband__title { font-size: 35px; }
  .msgband-v5__actions { grid-template-columns: 1fr 94px; }
  .msgband-v5__quick { grid-template-columns: repeat(2, 1fr); }
  .msgband-v5__quick > * { min-height: 52px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .modal__dialog--help,
  .modal__dialog--qrall { width: calc(100% - 20px); padding: 38px 19px 28px; }
  .helpchoice__messengers,
  .helpchoice__tools,
  .helpchoice__channels { grid-template-columns: 1fr; }
  .qrall__grid { gap: 8px; }
  .qrall__card { padding: 18px 8px 14px; }
  .qrall__badge { top: 8px; left: 8px; width: 27px; height: 27px; }
  .qrall__badge svg { width: 16px; height: 16px; }
  .qrall__card strong { font-size: 11px; }
  .qrall__card small { font-size: 8px; }
}

/* ========================================================================== 
   Внутренние страницы v6 — сильный верхний визуал и единая помощь
   ========================================================================== */

.msgdock__tab {
  font: inherit;
  border: 0;
}
.msgdock__panel { pointer-events: none; }
.msgdock.is-open .msgdock__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}
.msgdock:not(.is-open):hover .msgdock__tab { opacity: 1; }
.msgdock:not(.is-open):hover .msgdock__panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(16px, -50%);
}
.msgdock.is-open .msgdock__tab {
  opacity: 0;
  pointer-events: none;
}
.msgdock__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #766e62;
  font-size: 20px;
  line-height: 1;
  background: #f6f1e8;
  border: 1px solid #e5dccd;
  border-radius: 50%;
  cursor: pointer;
}
.msgdock__close:hover { color: #173a32; background: #fff; }

.modal__dialog--assist {
  width: min(430px, calc(100% - 24px));
  max-width: 430px;
  padding: 42px 34px 34px;
  border-radius: 6px 30px 6px 6px;
}
.assistmodal__buttons {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.assistmodal__buttons .msgbtn {
  justify-content: center;
  min-height: 60px;
  border-radius: 4px 18px 4px 4px;
}

.dechead--portal-v6 { display: none; }

.portal-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  width: min(1160px, calc(100vw - 40px));
  min-height: 548px;
  margin: 42px 0 64px 50%;
  overflow: hidden;
  color: #fff;
  background: #173a32;
  border: 1px solid rgba(185, 151, 78, .32);
  border-radius: 6px 68px 6px 6px;
  box-shadow: 0 30px 72px rgba(45, 34, 17, .2);
  transform: translateX(-50%);
}
.portal-showcase::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 241, 202, .17);
  border-radius: 3px 56px 3px 3px;
  pointer-events: none;
}
.portal-showcase__visual {
  position: relative;
  min-width: 0;
  min-height: 548px;
  margin: 0;
  overflow: hidden;
  background: #d9ccb4;
}
.portal-showcase__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(23, 58, 50, .2));
  pointer-events: none;
}
.portal-showcase__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 548px;
  object-fit: cover;
  object-position: center;
}
.portal-showcase--molitvy .portal-showcase__visual img,
.portal-showcase--akafisty .portal-showcase__visual img,
.portal-showcase--psaltyr .portal-showcase__visual img { object-position: 61% center; }
.portal-showcase__visual figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 48px);
  padding: 10px 13px 9px;
  color: #f2e3bd;
  background: rgba(18, 48, 41, .9);
  border: 1px solid rgba(235, 211, 151, .42);
  border-radius: 3px 15px 3px 3px;
  backdrop-filter: blur(7px);
}
.portal-showcase__visual figcaption span { color: #d4b665; font-size: 15px; }
.portal-showcase__visual figcaption strong { font-size: 9px; font-weight: 720; letter-spacing: .075em; text-transform: uppercase; }

.portal-showcase__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 46px 42px 42px;
}
.portal-showcase__copy::before {
  content: "☦";
  position: absolute;
  right: 14px;
  top: 7px;
  color: rgba(222, 194, 118, .08);
  font-size: 122px;
  line-height: 1;
  pointer-events: none;
}
.portal-showcase__kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: #d6b866;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.portal-showcase h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 2.65vw, 41px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.032em;
}
.portal-showcase__text {
  position: relative;
  z-index: 1;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.58;
}
.portal-showcase__products {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin-top: 22px;
}
.portal-showcase__product {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 6px 9px 6px 6px;
  color: #fff;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 3px 13px 3px 3px;
  transition: background .18s ease, transform .18s ease;
}
.portal-showcase__product:hover { color: #fff; background: rgba(255, 255, 255, .11); transform: translateX(3px); }
.portal-showcase__product img {
  display: block;
  width: 48px;
  height: 56px;
  object-fit: contain;
  background: #f5ecdb;
  border-radius: 2px 8px 2px 2px;
}
.portal-showcase__product span { min-width: 0; }
.portal-showcase__product strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-showcase__product small { display: block; margin-top: 3px; color: #d7b968; font-size: 9px; }
.portal-showcase__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 23px;
}
.portal-showcase__actions .btn { min-width: 156px; padding: 14px 17px; text-align: center; }
.portal-showcase__actions button {
  padding: 5px 0;
  color: #f3e5c1;
  font-size: 10px;
  font-weight: 690;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(243, 229, 193, .38);
  cursor: pointer;
}
.portal-showcase__actions button span { margin-left: 6px; }

@media (max-width: 1080px) {
  .portal-showcase { grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); }
  .portal-showcase__copy { padding: 40px 31px 37px; }
}

@media (max-width: 860px) {
  .portal-showcase {
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 32px));
    min-height: 0;
    border-radius: 5px 45px 5px 5px;
  }
  .portal-showcase::after { border-radius: 3px 36px 3px 3px; }
  .portal-showcase__visual { min-height: 0; aspect-ratio: 3 / 2; }
  .portal-showcase__visual img { min-height: 0; object-position: center; }
  .portal-showcase__copy { padding: 41px 38px 40px; }
  .portal-showcase__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-showcase__product {
    grid-template-columns: 58px 1fr;
    gap: 9px;
    padding: 6px;
  }
  .portal-showcase__product img { width: 58px; height: 68px; }
}

@media (max-width: 640px) {
  .portal-showcase {
    width: calc(100vw - 24px);
    margin-top: 30px;
    margin-bottom: 46px;
    border-radius: 4px 34px 4px 4px;
  }
  .portal-showcase::after { inset: 7px; border-radius: 2px 27px 2px 2px; }
  .portal-showcase__visual { aspect-ratio: 1.42 / 1; }
  .portal-showcase__visual figcaption { left: 13px; bottom: 12px; max-width: calc(100% - 26px); padding: 7px 9px 6px; }
  .portal-showcase__visual figcaption strong { font-size: 7px; }
  .portal-showcase__copy { padding: 33px 22px 31px; }
  .portal-showcase__copy::before { font-size: 90px; }
  .portal-showcase h2 { font-size: 30px; }
  .portal-showcase__text { font-size: 13px; }
  .portal-showcase__products { gap: 6px; margin-top: 20px; }
  .portal-showcase__product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 5px 5px 8px;
  }
  .portal-showcase__product img { width: 100%; height: auto; aspect-ratio: 1 / 1.13; }
  .portal-showcase__product strong { font-size: 8px; white-space: normal; }
  .portal-showcase__product small { font-size: 8px; }
  .portal-showcase__actions { flex-direction: column; align-items: stretch; gap: 15px; }
  .portal-showcase__actions .btn { width: 100%; }
  .portal-showcase__actions button { align-self: flex-start; }
  .modal__dialog--assist { padding: 39px 20px 27px; }
}
