/* ================= Sweet Vibes — стили в духе therundown.ai ================= */
:root {
  --ink: #171717;
  --ink-2: #262626;
  --line: #e7e5e4;
  --line-dark: #333;
  --text: #171717;
  --muted: #6b6b6b;
  --soft: #faf8f7;
  --white: #fff;
  --accent: #b9449a;
  /* фирменный градиент: малина → орхидея → лаванда */
  --grad: linear-gradient(45deg, #ff4f9a, #c94fd0 50%, #8b5cff);
  --radius: 16px;
  --radius-lg: 28px;
  --font: "Manrope", ui-sans-serif, system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700; font-size: 15px;
  white-space: nowrap;
  transition: transform .15s ease, background .2s, opacity .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--dark { background: linear-gradient(91.69deg, #000 0.85%, #4c4c4c 96.98%); color: var(--white); }
.btn--outline { background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.btn--outline:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.btn--grad { background: var(--grad); color: var(--white); }
.btn--grad:hover { opacity: .92; }
.btn--ghost { border: 1px solid #555; color: var(--white); }
.btn--ghost:hover { border-color: #888; }

/* ================= HEADER ================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s;
  color: var(--white);
}
.header.is-light {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.header.is-light .header__cta { background: var(--ink); color: var(--white); }
.header.is-light .logo__mark { background: var(--ink); color: var(--white); }
.header.is-light .burger span { background: var(--ink); }
.header__inner {
  max-width: 1280px; margin: 0 auto;
  height: 68px; padding: 0 20px;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.4px; }
.logo__mark {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--white); color: var(--ink);
  font-size: 13px; font-weight: 800; letter-spacing: -.5px;
  transition: background .3s, color .3s;
}
.logo__mark--dark { background: var(--ink); color: var(--white); }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { font-size: 15px; font-weight: 600; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header__cta { margin-left: auto; padding: 10px 16px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .25s, top .25s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  text-align: center;
  color: var(--white);
  padding: 112px 20px 72px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201,79,208,.12), transparent 70%),
    var(--ink);
}
.hero__title {
  font-size: clamp(44px, 7.4vw, 80px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero__sub {
  margin: 28px auto 0;
  max-width: 620px;
  text-wrap: balance;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.6;
}
/* белая «пилюля» с оффером бота — на месте email-формы оригинала */
.promo-pill {
  margin: 40px auto 0;
  max-width: 540px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white);
  padding: 6px 6px 6px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px; text-align: left;
}
.promo-pill b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__alt { margin-top: 16px; font-size: 14px; color: #a3a3a3; }
.hero__alt a { color: #e5e5e5; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #555; }
.hero__alt a:hover { text-decoration-color: #e5e5e5; }
.hero__proof { margin-top: 56px; font-size: 14px; color: #bdbdbd; }
.hero__proof b { color: var(--white); }
.occasions {
  list-style: none;
  margin: 22px auto 0;
  max-width: 1120px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px 38px;
}
.occasions li {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 18px; letter-spacing: -.3px;
  color: #f5f5f5;
  opacity: .92;
}
.occasions svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ================= WHITE SHEET ================= */
.sheet {
  background: var(--white);
  margin: 0 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.section { padding: 88px 24px; }
.section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section + .section { border-top: 1px solid var(--line); }
.section--soft { background: var(--soft); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section__head p { margin-top: 16px; color: #3a3a3a; font-size: 18px; line-height: 1.6; }
.center { text-align: center; margin-top: 48px; }
.muted { color: var(--muted); }
.meta { color: #8a8a8a; font-size: 13px; margin-top: 8px; }

.img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f1eeec;
}
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .img-wrap img, .card:hover .img-wrap img { transform: scale(1.04); }
.img-wrap--big { aspect-ratio: 16 / 10; }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- Featured ---------- */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; }
.featured__main h3 { margin-top: 20px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.featured__main .muted { margin-top: 10px; font-size: 15px; }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini h4 { margin-top: 12px; font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; max-width: 900px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: #bbb; }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 18px;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, opacity .3s;
}
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.07); transform: translateY(-2px); }
.card.is-hidden { display: none; }
.card__body { padding: 14px 6px 0; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin-top: 6px; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.card p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 800; font-size: 16px; white-space: nowrap; }
.card__btn { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); transition: background .2s, color .2s; }
.card__btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}
.step__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 22px;
}
.step__num { position: absolute; top: 24px; right: 24px; font-weight: 800; color: #d6d3d1; font-size: 15px; }
.step h3 { margin-top: 18px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- Reviews ---------- */
.pill-row { margin-top: 24px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.stars { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 18px; letter-spacing: 2px; }
.review blockquote { margin-top: 14px; font-size: 16px; line-height: 1.6; flex: 1; }
.review figcaption { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.review figcaption small { display: block; color: var(--muted); font-size: 13px; }
.avatar {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: var(--white); font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 0;
  font-size: 18px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* ================= DARK CTA ================= */
.cta {
  text-align: center;
  color: var(--white);
  padding: 112px 20px 120px;
  background: linear-gradient(180deg, #171717 0%, #2b2b2b 100%);
}
.cta__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.cta__logo .logo__mark { background: var(--white); color: var(--ink); }
.cta__title {
  margin: 28px auto 0; max-width: 900px;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.08; font-weight: 800; letter-spacing: -.035em;
}
.cta__sub { margin: 22px auto 0; max-width: 640px; color: #cfcfcf; font-size: 18px; line-height: 1.6; }
.cta__btns { margin-top: 36px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta__cards {
  margin: 72px auto 0; max-width: 1000px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  text-align: center;
}
.gcard {
  position: relative;
  border-radius: 22px;
  padding: 16px 16px 28px;
  background: #1f1f1f;
}
.gcard::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255,79,154,.7), rgba(139,92,255,.15) 45%, rgba(255,255,255,.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.gcard__img { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; }
.gcard h3 { margin-top: 22px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.gcard p { margin: 10px auto 0; max-width: 400px; color: #bdbdbd; font-size: 15px; }

/* ================= FOOTER ================= */
.footer { background: linear-gradient(180deg, #2b2b2b 0, #2b2b2b 60px, var(--white) 60px); padding: 0 8px 8px; }
.footer__card {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 64px 32px 28px;
  max-width: 1280px; margin: 0 auto;
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1120px; margin: 0 auto; }
.footer__brand p { margin-top: 18px; color: #3a3a3a; font-size: 15px; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.footer__col a { color: #555; font-size: 15px; transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  max-width: 1120px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: #777;
}
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--ink); color: var(--white); }
.socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer__bot { margin-top: 22px; }
.footer__city { color: #888; font-size: 15px; }

/* ---------- Бот-баннер ---------- */
.botband {
  margin-top: 40px;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 40px;
  border-radius: 22px;
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.botband::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--grad); opacity: .25; filter: blur(70px);
  pointer-events: none;
}
.botband__text { position: relative; z-index: 1; }
.botband .btn { position: relative; z-index: 1; }
.botband__tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
.botband h3 { margin-top: 8px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.botband ul { list-style: none; margin-top: 16px; display: grid; gap: 6px; color: #d4d4d4; font-size: 15px; }

/* ---------- Карточки-ссылки (блог) ---------- */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card--link .meta { margin-top: auto; padding-top: 12px; }
.card--link h3 { transition: color .2s; }
.card--link:hover h3 { color: var(--accent); }

/* ================= BLOG / ARTICLE ================= */
.hero--page { padding: 88px 20px 64px; }
.hero--page .hero__title { font-size: clamp(36px, 5.6vw, 60px); max-width: 920px; margin: 0 auto; }
.hero--page .hero__sub { max-width: 680px; }
.crumbs { font-size: 14px; color: #a3a3a3; margin-bottom: 22px; }
.crumbs a { color: #d4d4d4; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 8px; opacity: .6; }
.post-meta { margin-top: 22px; font-size: 14px; color: #a3a3a3; }
.post-cat { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.post { max-width: 760px !important; }
.post__cover { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; margin-bottom: 40px; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.tldr {
  position: relative;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  margin-bottom: 40px;
}
.tldr::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: var(--grad); }
.tldr__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tldr p { margin-top: 8px; font-size: 17px; line-height: 1.6; }
.prose { font-size: 18px; line-height: 1.75; color: #262626; }
.prose h2 { margin: 48px 0 14px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.prose h3 { margin: 32px 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft); font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }
.post .faq { margin-top: 8px; }
.post .botband { margin-top: 56px; }
.post-author { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.post-author b { color: var(--ink); display: block; }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .cards, .steps { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 16px; }
  .header__cta { font-size: 13px; padding: 9px 12px; }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--ink); color: var(--white);
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line-dark);
    margin: 0;
  }
  .header.is-light .nav.is-open { background: var(--white); color: var(--ink); border-color: var(--line); }
  .nav.is-open a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(128,128,128,.2); }
  .featured { grid-template-columns: 1fr; }
  .cards, .steps, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .botband { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .reviews { grid-template-columns: 1fr; max-width: 640px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { padding: 72px 16px 56px; }
  .hero__sub { font-size: 16px; }
  .promo-pill { flex-direction: column; align-items: stretch; padding: 14px; text-align: center; }
  .promo-pill .btn { justify-content: center; }
  .hero--page { padding: 64px 16px 48px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 25px; }
  .tldr { padding: 20px 20px 20px 24px; }
  .occasions { gap: 14px 22px; }
  .occasions li { font-size: 15px; }
  .sheet { margin: 0 8px; border-radius: 22px; }
  .section { padding: 64px 16px; }
  .section__head p { font-size: 16px; }
  .featured__main h3 { font-size: 24px; }
  .featured__grid { gap: 16px; }
  .mini h4 { font-size: 14px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 8px 8px 14px; }
  .card__body { padding: 10px 4px 0; }
  .card h3 { font-size: 15px; }
  .card p { display: none; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--3 .card p { display: -webkit-box; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 80px 16px 88px; }
  .cta__sub { font-size: 16px; }
  .cta__cards { grid-template-columns: 1fr; }
  .footer__card { padding: 48px 20px 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* блог: футер без тёмного CTA над ним, 2 карточки «Читайте также» */
.footer--plain { background: linear-gradient(180deg, var(--ink) 0, var(--ink) 60px, var(--white) 60px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
@media (max-width: 640px) {
  .cards--2 { grid-template-columns: 1fr; }
  .prose table { font-size: 15px; }
  .prose th, .prose td { padding: 10px 10px; }
}

/* ---------- Карточка «Свой дизайн» (Pinterest / ChatGPT) ---------- */
.ref-art {
  display: grid; place-items: center;
  padding: 14px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139,92,255,.55), transparent 60%),
    radial-gradient(120% 90% at 0% 100%, rgba(255,79,154,.55), transparent 60%),
    var(--ink);
}
.ref-art__frame {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed rgba(255,255,255,.45);
  border-radius: 10px;
  color: var(--white); text-align: center;
}
.ref-art__icon { font-size: 30px; line-height: 1; }
.ref-art__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ref-art__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 8px; }
.ref-art__chips span {
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  font-size: 12px; font-weight: 700;
}
.card--ref { border-color: #e9c9e0; }
.card--ref .card__btn { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 640px) {
  .card--ref { grid-column: 1 / -1; }
  .card--ref .ref-art { aspect-ratio: 16 / 11; }
  .card--ref p { display: -webkit-box; }
  .card--ref .card__foot { flex-direction: row; align-items: center; }
}

/* ---------- Анонс Sweet Vibes Wedding на главной ---------- */
.section--tight { padding-top: 0; }
.section--soft + .section--tight { padding-top: 88px; }
.wteaser {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  max-width: 1180px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #171717 0%, #2b2b2b 100%);
  color: var(--white);
}
.wteaser__text { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.wteaser__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.wteaser__logo .logo__mark { background: var(--white); color: var(--ink); }
.wteaser h2 { text-wrap: balance; margin-top: 20px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.wteaser__chips { list-style: none; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.wteaser__chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid #444; font-size: 14px; font-weight: 600; color: #e5e5e5; }
.wteaser__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
/* фото не задаёт высоту блока: высоту даёт текст, фото заполняет оставшееся место */
.wteaser__img { display: block; position: relative; min-height: 340px; overflow: hidden; }
.wteaser__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .6s ease; }
.wteaser__img:hover img { transform: scale(1.04); }
@media (max-width: 960px) {
  .wteaser { grid-template-columns: 1fr; }
  .wteaser__img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .section--soft + .section--tight { padding-top: 64px; }
  .wteaser__text { padding: 28px 22px 30px; }
  .wteaser__btns .btn { width: 100%; justify-content: center; }
}

/* ================= WEDDING PAGE ================= */
.hero .cta__logo { margin-bottom: 26px; }
.hero .crumbs { margin-bottom: 26px; }
.hero .cta__btns { margin-top: 36px; }
.occasions--facts { margin-top: 56px; gap: 14px 36px; }
.occasions--facts li { font-weight: 500; font-size: 16px; color: #bdbdbd; }
.occasions--facts b { color: var(--white); font-weight: 800; font-size: 18px; }
.img-wrap--tall { aspect-ratio: 4 / 5; }

/* --- Калькулятор --- */
.calc {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px;
  max-width: 1000px;
}
.calc__controls {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
}
.calc__label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.calc__guests { display: flex; align-items: center; gap: 20px; }
.calc__guests input[type=range] { flex: 1; accent-color: #c94fd0; height: 6px; cursor: pointer; }
.calc__guests output {
  min-width: 76px; text-align: center;
  font-size: 30px; font-weight: 800; letter-spacing: -.02em;
}
.calc__group { border: 0; margin-top: 28px; }
.opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; margin-top: 8px;
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.opt:hover { border-color: #ccc; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.opt input { margin-top: 4px; accent-color: var(--ink); }
.opt b { display: block; font-size: 16px; }
.opt small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.calc__result {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column;
  align-self: start; position: sticky; top: 88px;
}
.calc__result::after {
  content: ""; position: absolute; right: -90px; top: -110px;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--grad); opacity: .28; filter: blur(70px); pointer-events: none;
}
.calc__result > * { position: relative; z-index: 1; }
.calc__tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
.calc__rows { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__rows div, .calc__price { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.calc__result small { display: block; color: #a3a3a3; font-size: 13px; }
.calc__rows b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.calc__price { margin-top: 12px; }
.calc__price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__free { margin-top: 16px; font-size: 15px; color: #e5e5e5; font-weight: 600; }
.calc__btn { margin-top: 20px; justify-content: center; }
.calc__note { margin-top: 14px; font-size: 13px; color: #8a8a8a; }

.steps--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: relative; top: 0; }
  .steps--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .calc__controls, .calc__result { padding: 22px; }
  .steps--5 { grid-template-columns: 1fr; }
  .occasions--facts { gap: 10px 22px; }
  .occasions--facts li { font-size: 14px; }
  .occasions--facts b { font-size: 16px; }
}

/* ================= КОРЗИНА И ОКНО ТОВАРА ================= */
[hidden] { display: none !important; }
html.is-locked { overflow: hidden; }

/* кнопка корзины в шапке */
.cart-btn {
  position: relative; margin-left: auto;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: inherit; transition: background .2s, border-color .2s, transform .2s;
}
.cart-btn:hover { background: rgba(255,255,255,.08); }
.header.is-light .cart-btn { border-color: var(--line); }
.header.is-light .cart-btn:hover { background: var(--soft); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cart-btn__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--grad); color: var(--white);
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.cart-btn.is-bump { transform: scale(1.15); }
.cart-btn + .header__cta { margin-left: -14px; }
.burger { margin-left: -14px; }

.card--clickable { cursor: pointer; }

/* общие элементы форм */
.pm__field { display: flex; flex-direction: column; gap: 8px; border: 0; min-width: 0; }
.pm__field legend, .pm__label { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.pm__label i { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: #a3a3a3; }
.pm__field input[type=text], .pm__field input[type=tel], .pm__field input[type=date], .pm__field input[type=number], .pm__field select, .pm__field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  outline: none; transition: border-color .2s;
}
.pm__field textarea { resize: vertical; }
.pm__field input:focus, .pm__field select:focus, .pm__field textarea:focus { border-color: var(--ink); }
.pm__hint { font-size: 13px; color: var(--muted); }
.pm__hint-link { font-size: 14px; font-weight: 700; color: var(--accent); }

.rchips { display: flex; flex-wrap: wrap; gap: 8px; }
.rchips label { cursor: pointer; }
.rchips input { position: absolute; opacity: 0; pointer-events: none; }
.rchips span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.rchips label:hover span { border-color: #bbb; }
.rchips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rchips input:focus-visible + span { outline: 2px solid #c94fd0; outline-offset: 2px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: max-content; }
.qty button { width: 40px; height: 40px; font-size: 20px; font-weight: 600; }
.qty button:hover { background: var(--soft); }
.qty output { min-width: 36px; text-align: center; font-weight: 800; }
.qty--sm button { width: 32px; height: 32px; font-size: 17px; }
.qty--sm output { min-width: 28px; font-size: 14px; }

.xbtn { width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.xbtn:hover { background: var(--soft); }

/* --- окно товара --- */
.pm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.pm__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.pm__dialog {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px);
  background: var(--white); border-radius: 24px; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .2s;
}
.pm.is-open .pm__backdrop { opacity: 1; }
.pm.is-open .pm__dialog { opacity: 1; transform: none; }
.pm__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.9); }
.pm__body { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 48px); }
.pm__media { background: #f1eeec; min-height: 100%; }
.pm__media img { width: 100%; height: 100%; object-fit: cover; }
.pm__ref { width: 100%; height: 100%; min-height: 320px; padding: 24px; border-radius: 0; }
.pm__ref .ref-art__title { font-size: 28px; }
.pm__info { padding: 36px 36px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.pm__info h2 { margin-top: -10px; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; padding-right: 32px; }
.pm__desc { color: #3a3a3a; font-size: 16px; line-height: 1.6; margin-top: -6px; }
.pm__facts { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.pm__facts li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.pm__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.pm__price small, .cd__totals small { display: block; font-size: 13px; color: var(--muted); }
.pm__price b, .cd__totals b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pm__bot b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pm__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm__actions .btn { flex: 1 1 200px; justify-content: center; }

/* --- корзина (выезжает справа) --- */
.cd { position: fixed; inset: 0; z-index: 95; }
.cd__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); opacity: 0; transition: opacity .25s; }
.cd__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
}
.cd.is-open .cd__backdrop { opacity: 1; }
.cd.is-open .cd__panel { transform: none; }
.cd__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.cd__head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cd__scroll { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.cd__items { list-style: none; }
.cd__item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line); }
.cd__thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.cd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cd__thumb-ref { font-size: 26px; }
.cd__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cd__meta b { font-size: 15px; line-height: 1.3; }
.cd__meta small { font-size: 13px; color: var(--muted); }
.cd__note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 10px; }
.cd__price { font-weight: 800; white-space: nowrap; }
.cd__remove { position: absolute; top: 12px; right: -4px; width: 28px; height: 28px; border-radius: 50%; font-size: 20px; color: #999; }
.cd__remove:hover { background: var(--soft); color: var(--ink); }
.cd__form { margin-top: 24px; }
.cd__form h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.cd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.cd__full { grid-column: 1 / -1; }
.cd__warn { font-size: 13px; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px 10px; }
.cd__foot { border-top: 1px solid var(--line); padding: 16px 24px 20px; display: grid; gap: 10px; background: var(--white); }
.cd__totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cd__send { justify-content: center; width: 100%; padding: 14px 20px; }
.cd__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cd__alt .btn { justify-content: center; }
.cd__legal { font-size: 11.5px; color: #9a9a9a; line-height: 1.45; }
.cd__empty { text-align: center; padding: 64px 12px; display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.cd__empty b { color: var(--ink); font-size: 18px; }
.cd__empty .btn { margin-top: 12px; }
.cd__empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin-bottom: 8px; }
.cd__empty-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }

/* тост */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 160%);
  max-width: calc(100% - 32px);
  background: var(--ink); color: var(--white);
  padding: 13px 20px; border-radius: 12px;
  font-weight: 600; font-size: 14px; text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.toast.is-show { transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .cart-btn + .header__cta { margin-left: 0; }
}
@media (max-width: 760px) {
  .pm { padding: 0; place-items: end stretch; }
  .pm__dialog { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
  .pm__body { display: block; max-height: 92vh; overflow-y: auto; }
  .pm__media { aspect-ratio: 4 / 3; min-height: 0; max-height: 42vh; width: 100%; }
  .pm__ref { min-height: 0; }
  .pm__info { padding: 22px 18px 24px; overflow: visible; }
  .pm__info h2 { font-size: 24px; }
  .cd__scroll { padding: 4px 16px 20px; }
  .cd__head { padding-left: 16px; }
  .cd__foot { padding: 12px 16px 16px; }
  .cd__grid { grid-template-columns: 1fr; }
}

/* футер после белого листа (главная, блог): тёмный зазор и та же ширина, что у листа */
.footer--plain { background: var(--ink); padding: 16px 16px 0; }
.footer--plain .footer__card { max-width: none; }
@media (max-width: 640px) { .footer--plain { padding: 8px 8px 0; } }

/* логотип: монограмма sv с вишенкой (brand/logo-mark-*.svg) */
.logo__mark svg { width: 100%; height: 100%; display: block; }
.post-author__mark { width: 40px; height: 40px; border-radius: 12px; flex: none; }

/* ================= КАТАЛОГ: страницы /catalog/ ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* карточка: медиа-блок с бейджем, заголовок-ссылка */
.card__media { position: relative; }
.card__media .img-wrap { display: block; }
.card h3 a, .card h2 a { color: inherit; }
.card--clickable h3 a:hover { color: var(--accent); }

/* чипсы-ссылки (разделы, связанные страницы) */
.chip--link { display: inline-flex; align-items: center; gap: 6px; }
.chip--link:hover { border-color: var(--ink); }
.post-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.post-links--center { justify-content: center; align-items: center; margin-top: 40px; }
.post-links--center > span { font-size: 14px; color: var(--muted); margin-right: 4px; }

/* фильтры */
.section--catalog { padding-top: 48px; }
.filters-wrap { max-width: 1180px; margin: 0 auto 28px; }
.filters-toggle { display: none; }
.filters { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.filters__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; }
.filters__label { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.filters .rchips span { padding: 6px 12px; font-size: 13.5px; }
.filters__range { display: flex; align-items: center; gap: 14px; max-width: 420px; }
.filters__range input { flex: 1; accent-color: #c94fd0; cursor: pointer; }
.filters__range output { min-width: 96px; font-weight: 800; font-size: 14px; }
.filters__bottom { display: flex; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.filters__found { font-weight: 800; }
.filters__reset { font-size: 14px; font-weight: 700; color: var(--accent); }
.filters__reset:hover { text-decoration: underline; }
.filters__sort { margin-left: auto; }
.filters__sort select { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }

/* показать ещё / пусто */
.more { display: grid; justify-items: center; gap: 12px; margin-top: 36px; }
.more__count { font-size: 14px; color: var(--muted); }
.empty { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 48px 16px; color: var(--muted); }
.empty b { color: var(--ink); font-size: 18px; }
.empty .btn { margin-top: 8px; }

/* плитки разделов */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s, transform .2s; }
.cat-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-tile b { font-size: 17px; }
.cat-tile span { font-size: 14px; color: var(--muted); }

/* тексты разделов */
.tldr--wide { max-width: 1180px; margin: 0 auto 36px; }
.prose--section { max-width: 760px !important; }
.prose--section h2:first-child { margin-top: 0; }

/* страница товара */
.prod { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.prod__media { border-radius: 20px; overflow: hidden; background: #f1eeec; position: sticky; top: 88px; }
.prod__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.prod__ref { aspect-ratio: 4 / 3; padding: 24px; border-radius: 0; }
.prod__ref .ref-art__title { font-size: 30px; }
.prod__info { display: flex; flex-direction: column; gap: 18px; }
.prod__desc { font-size: 18px; line-height: 1.6; color: #2a2a2a; }
.prod__opts { font-size: 15px; font-weight: 700; }
.prod__block h2 { font-size: 20px; font-weight: 800; margin: 8px 0 12px; }
.prod__fills { list-style: none; display: grid; gap: 10px; }
.prod__fills li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.prod__fills b { font-size: 15px; }
.prod__fills i { font-style: normal; font-size: 13px; color: var(--accent); font-weight: 700; margin-left: 6px; }
.prod__fills span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.prod__tldr { margin-top: 40px; margin-bottom: 0; }
.pm__hint-link--page { font-size: 14px; font-weight: 700; color: var(--accent); }

@media (max-width: 960px) {
  .prod { grid-template-columns: 1fr; gap: 24px; }
  .prod__media { position: relative; top: 0; }
}
@media (max-width: 760px) {
  .filters-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    list-style: none; cursor: pointer; padding: 12px 16px; border: 1px solid var(--line);
    border-radius: 12px; font-weight: 800; background: var(--white);
  }
  .filters-toggle::-webkit-details-marker { display: none; }
  .filters-wrap[open] .filters-toggle { margin-bottom: 10px; }
  .filters { padding: 16px; }
  .filters__row { grid-template-columns: 1fr; gap: 8px; }
  .filters__bottom { flex-wrap: wrap; }
  .filters__sort { margin-left: 0; width: 100%; }
  .filters__sort select { width: 100%; }
  .section--catalog { padding-top: 28px; }
}
.center--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* сведения о продавце в подвале (ФИО, УНП) */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.footer__seller { padding-left: 14px; border-left: 1px solid var(--line); color: #8a8a8a; }
@media (max-width: 760px) {
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .footer__seller { padding-left: 0; border-left: 0; padding-top: 6px; border-top: 1px solid var(--line); font-size: 12px; }
}

/* подвал: ссылка на политику; акцентная ссылка в тексте */
.footer__policy { color: #8a8a8a; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ccc; }
.footer__policy:hover { color: var(--ink); }
.footer__policy { flex-basis: 100%; }
.link-accent { color: var(--accent); font-weight: 700; white-space: nowrap; }
.cd__legal a, .post-author a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ================= Приложение: кнопка установки и подсказка для iPhone ================= */
.footer__install { margin-top: 10px; }
.footer__brand .btn + .btn { margin-left: 8px; }
@media (max-width: 640px) { .footer__brand .btn + .btn { margin-left: 0; } }
.ios-hint { position: fixed; inset: 0; z-index: 130; display: grid; place-items: end center; }
.ios-hint__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); }
.ios-hint__card { position: relative; width: min(440px, 100%); background: var(--white); border-radius: 22px 22px 0 0; padding: 26px 22px 30px; text-align: center; }
.ios-hint__card img { border-radius: 16px; margin: 0 auto; }
.ios-hint__card h3 { margin-top: 14px; font-size: 20px; font-weight: 800; }
.ios-hint__card ol { text-align: left; margin: 16px 0 0 20px; display: grid; gap: 10px; font-size: 15px; }
.ios-hint__card p { margin-top: 14px; font-size: 13px; color: var(--muted); }
.ios-hint__card .btn { margin-top: 18px; width: 100%; justify-content: center; }
