/* ===================================================================
   Elite Mramor — стили лендинга (эталон под сборку в Тильде)
   Цвета/шрифты/размеры вытянуты из Figma 1:1
   =================================================================== */

/* Скрыть плашку «Made on Tilda» (на тарифе Business разрешено убирать) */
.t-tildalabel,
#allrecords .t-tildalabel,
a[href*="tilda.cc"][class*="tildalabel"],
.t-records .t-tildalabel { display: none !important; }

:root {
  --bg: #0e1014;
  --bg-reviews: #111319;
  --accent: #50d6ff;
  --wa: #4cb44b;
  --white: #ffffff;
  --text-80: rgba(255, 255, 255, 0.8);
  --text-60: rgba(255, 255, 255, 0.6);
  --border-soft: rgba(255, 255, 255, 0.2);
  --radius-card: 20px;
  --radius-pill: 90px;
  --container: 1760px;
  --font-head: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 80px;
}

.accent { color: var(--accent); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: #000; }
.btn--light:hover { opacity: 0.9; }

/* ---------- Eyebrow (надзаголовок с линией) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-80);
  font-size: 20px;
}
.eyebrow--center { justify-content: center; }
.eyebrow__line { width: 90px; height: 2px; flex: none; }

.section-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  max-width: 612px;
}
.section-head--center { text-align: center; }
.section-head--center .section-title { margin-inline: auto; }
.section-title--left { max-width: 612px; }

.section-head { display: flex; flex-direction: column; gap: 9px; }
.section-head--center { align-items: center; }

/* ---------- Свечение ---------- */
.glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-11.77deg);
  background: rgba(80, 214, 255, 0.2);
  z-index: 0;
  pointer-events: none;
}
.glow--adv { top: 120px; width: 120%; height: 60px; filter: blur(100px); }
.glow--reviews { top: 40%; width: 120%; height: 132px; filter: blur(150px); }

/* ===================================================================
   ШАПКА
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px 20px;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .header__inner { padding-block: 14px; }
.header__burger { display: none; }
/* страницы без hero-картинки сверху — отступ под фиксированную шапку */
.page-top { padding-top: 110px; }
.header__nav { display: flex; align-items: center; gap: 27px; }

.nav-catalog {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-size: 16px;
}
.nav-catalog__icon { width: 24px; height: 24px; }

.header__divider { width: 1px; height: 21px; background: rgba(255, 255, 255, 0.3); }

.header__links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.header__links a { transition: color 0.2s ease; }
.header__links a:hover { color: var(--accent); }

.header__logo { display: inline-flex; align-items: center; gap: 6px; }
.header__logo-mark { width: 36px; height: 35px; flex: none; }
.header__logo-sep { width: 1px; height: 17px; flex: none; }
.header__logo-word { width: 98px; height: 12px; flex: none; }

.header__right { display: flex; align-items: center; gap: 35px; }
.header__phone { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.header__phone img { width: 16px; height: 16px; }
.header__faq { font-size: 14px; }
.header__cart { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.header__cart img { width: 34px; height: 34px; }

/* Логотип строго по центру страницы (вынесен из потока).
   Порог 1680px — на более узких desktop меню шире и наложилось бы на логотип,
   поэтому там сохраняется безопасная раскладка space-between. */
@media (min-width: 1680px) {
  .header__inner { position: relative; }
  .header__inner > .header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .footer__top { position: relative; }
  .footer__top > .header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.header__nav .header__links a, .nav-catalog span { white-space: nowrap; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { padding-top: 84px; padding-bottom: 0; }
.hero__card {
  position: relative;
  height: 676px;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("https://em-assets-1784887174.netlify.app/hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
  z-index: 1;
}
.hero__top, .hero__bottom { position: relative; z-index: 2; }
.hero__top { display: flex; flex-direction: column; gap: 9px; }
.hero__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.1;
  max-width: 612px;
}
.hero__bottom { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; max-width: 660px; }
.hero__text { font-size: 20px; color: var(--text-60); }

/* ===================================================================
   ПРЕИМУЩЕСТВА
   =================================================================== */
.advantages { position: relative; padding-top: 99px; }
.advantages > * { position: relative; z-index: 1; }
.advantages__grid {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 219px;
  padding: 30px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(80, 214, 255, 0);
  background: radial-gradient(120% 140% at 0% 0%, #1b1f28 0%, #0d0f14 50%, #07080a 75%, #000 100%);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.adv-card:hover { border-color: rgba(80, 214, 255, 0.5); transform: translateY(-3px); }
.adv-card__icon { width: 30px; height: 30px; }
.adv-card__body { display: flex; flex-direction: column; gap: 20px; }
.adv-card__title { font-family: var(--font-head); font-weight: 400; font-size: 18px; line-height: 1.1; }
.adv-card__text { font-size: 14px; color: var(--text-60); }

/* ===================================================================
   КАТАЛОГ
   =================================================================== */
.catalog {
  padding-top: 40px;
  display: grid;
  grid-template-columns: 870px 1fr;
  gap: 30px;
  align-items: start;
}
.catalog__promo {
  position: sticky;
  top: 24px;
  min-height: 1048px;
  border-radius: 30px;
  overflow: hidden;
  padding: 54px 160px 62px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("https://em-assets-1784887174.netlify.app/promo-bg.jpg");
  background-size: cover;
  background-position: center;
}
.catalog__promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.7) 77%);
  z-index: 0;
}
.catalog__promo > * { position: relative; z-index: 1; }
.catalog__promo .section-title { font-size: 40px; }
.catalog__promo-bottom { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; max-width: 660px; }
.catalog__promo-text { font-size: 20px; color: var(--text-60); }

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Карточка товара */
.product-card { display: flex; flex-direction: column; gap: 22px; }
.product-card__media {
  height: 416px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #0b0d11;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__info { display: flex; flex-direction: column; gap: 20px; }
.product-card__name { font-weight: 500; font-size: 23px; line-height: 1.1; }
.product-card__desc { font-size: 16px; color: var(--text-60); }
.product-card__price { font-weight: 500; font-size: 23px; line-height: 1.1; }
.product-card__actions { display: flex; gap: 4px; }
.product-card__actions .btn { flex: 1; font-size: 16px; padding: 16px 20px; }
.btn--buy { background: var(--accent); color: var(--bg); }
.btn--buy:hover { opacity: 0.9; }
.btn--more { background: transparent; color: var(--white); border: 1px solid var(--border-soft); }
.btn--more:hover { border-color: var(--accent); color: var(--accent); }

/* ===================================================================
   ОТЗЫВЫ
   =================================================================== */
.reviews-wrap { padding-top: 100px; }
.reviews {
  position: relative;
  background: var(--bg-reviews);
  border-radius: var(--radius-card);
  padding: 116px 80px;
  overflow: hidden;
}
.reviews > * { position: relative; z-index: 1; }
.reviews .section-title { max-width: 480px; }
.reviews__grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 369px;
  padding: 30px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(80, 214, 255, 0);
  background: radial-gradient(120% 160% at 0% 0%, #1b1f28 0%, #14161d 100%);
  transition: border-color 0.25s ease;
}
.review-card:hover { border-color: rgba(80, 214, 255, 0.4); }
.review-card__head { display: flex; align-items: center; gap: 23px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: var(--radius-pill); object-fit: cover; background: #d9d9d9; }
.review-card__name { font-family: var(--font-head); font-weight: 400; font-size: 18px; line-height: 1.1; }
.review-card__text { font-size: 14px; color: var(--text-60); flex: 1; }
.review-card__order { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.review-card__order img { width: 16px; height: 16px; }
.review-card__order b { font-weight: 400; color: var(--white); }
.review-card__order span { color: var(--text-60); }

/* ===================================================================
   ФУТЕР
   =================================================================== */
.site-footer { margin-top: 100px; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
}
.footer__nav { display: flex; align-items: center; gap: 27px; }
.footer__contacts { display: flex; align-items: center; gap: 40px; }
.footer__socials { display: flex; align-items: center; gap: 12px; }
.soc { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-pill); transition: transform 0.2s ease; }
.soc:hover { transform: translateY(-2px); }
.soc--tg { background: var(--accent); }
.soc--tg img { width: 18px; height: 18px; }
.soc--wa { background: var(--wa); }
.soc--wa img { width: 20px; height: 20px; }
.soc--3 { width: 36px; height: 36px; }
.soc--3 img { width: 36px; height: 36px; }

.footer__bar { background: #000; }
.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  min-height: 68px;
}
.footer__copy { font-size: 14px; }
.footer__dev { display: flex; align-items: center; gap: 10px; }
.footer__dev span { font-size: 16px; }
.footer__dev a { display: inline-flex; transition: opacity 0.2s ease; }
.footer__dev a:hover { opacity: 0.75; }
.footer__dev img { height: 14px; width: auto; }

/* ===================================================================
   АДАПТИВ
   =================================================================== */
@media (max-width: 1400px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog__promo { position: static; min-height: 420px; padding: 40px; }
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .container { padding-inline: 40px; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 38px; }
  .section-title { font-size: 30px; }
  .header__phone span, .header__faq { display: none; }
}

@media (max-width: 700px) {
  .container { padding-inline: 20px; }
  .hero { padding-top: 88px; }
  .hero__card { height: auto; min-height: 520px; padding: 30px 20px; }
  .hero__title { font-size: 26px; }
  .hero__bottom { gap: 20px; }
  .hero__text, .catalog__promo-text { font-size: 16px; }
  .advantages__grid { grid-template-columns: 1fr; }
  .catalog__grid { grid-template-columns: 1fr; }
  .reviews { padding: 50px 20px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; text-align: center; }
  .footer__nav { flex-direction: column; gap: 16px; }
  .footer__nav .header__divider { display: none; }
  .footer__contacts { flex-direction: column; gap: 20px; }
  .footer__nav .header__links,
  .footer__contacts .header__links { flex-direction: column; align-items: center; gap: 14px; }
  .footer__bar-inner { flex-direction: column; gap: 10px; text-align: center; }
  .btn { width: 100%; }
  .product-card__media { height: 320px; }
}

/* ===================================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   =================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal="fast"] { transition-duration: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   БУРГЕР + МОБИЛЬНОЕ МЕНЮ
   =================================================================== */
.header__burger { flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.header__burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
.site-header.is-open .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .header__burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Выпадающее мобильное меню */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 24px;
  background: #0b0d11;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.site-header.is-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__link { display: flex; align-items: center; gap: 12px; padding: 15px 4px; font-size: 16px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mobile-menu__link img { width: 20px; height: 20px; }
.mobile-menu__link.is-active { color: var(--accent); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.mobile-menu__foot .header__phone { font-size: 16px; }
.mobile-menu__foot .header__phone span { display: inline; }
body.is-menu-open { overflow: hidden; }

/* ===================================================================
   HERO-ВАРИАНТ ВНУТРЕННИХ СТРАНИЦ (контент слева + чек-лист)
   =================================================================== */
.subhero { padding-top: 84px; }
.subhero__card {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 120px 58px 58px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  background-image: url("https://em-assets-1784887174.netlify.app/hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
}
.subhero__card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 100%); z-index: 1; }
.subhero__card > * { position: relative; z-index: 2; }
.subhero__title { font-family: var(--font-head); font-weight: 400; font-size: 50px; line-height: 1.1; max-width: 660px; }
.subhero__body { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; max-width: 660px; }
.subhero__text { font-size: 20px; color: var(--text-60); }

/* ===================================================================
   ЧЕК-СПИСКИ
   =================================================================== */
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--text-80); line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("https://em-assets-1784887174.netlify.app/check.svg") center/16px no-repeat;
}
.check-list--sm li { font-size: 14px; padding-left: 26px; }
.check-list--sm li::before { top: 2px; }

/* ===================================================================
   ИНФО-КАРТОЧКИ / ШАГИ
   =================================================================== */
.card {
  padding: 30px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(80, 214, 255, 0);
  background: radial-gradient(120% 140% at 0% 0%, #1b1f28 0%, #0d0f14 55%, #07080a 80%, #000 100%);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: rgba(80, 214, 255, 0.4); transform: translateY(-3px); }
.card--reviews { background: radial-gradient(120% 160% at 0% 0%, #1b1f28 0%, #14161d 100%); }
.card--teal { position: relative; overflow: hidden; background: radial-gradient(130% 260% at 0% 0%, #03181e 40%, #092932 60%, #0f3946 78%); }
.card--teal::after { content: ""; position: absolute; left: -40%; top: -60%; width: 130%; height: 120%; background: #50d6ff; filter: blur(200px); opacity: 0.35; transform: rotate(-24deg); pointer-events: none; }
.card--teal > * { position: relative; z-index: 1; }
.delivery-cols { display: flex; gap: 20px; align-items: flex-start; }
.delivery-cols .col { flex: 1; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .delivery-cols { flex-direction: column; } }
.card__num { font-family: var(--font-head); font-size: 16px; color: var(--accent); }
.card__title { font-family: var(--font-head); font-weight: 400; font-size: 22px; line-height: 1.15; margin-bottom: 18px; }
.card__title--sm { font-size: 18px; }
.card__subtitle { font-size: 14px; color: var(--accent); margin: 14px 0 10px; }
.card__text { font-size: 15px; color: var(--text-60); line-height: 1.5; }
.card__icon { width: 30px; height: 30px; margin-bottom: 20px; }

.cards-grid { display: grid; gap: 20px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.section { padding-top: 90px; }
.section__head { margin-bottom: 53px; }

.badge-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 14px; }
.step-head { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.rich-list { padding-left: 22px; color: var(--text-60); font-size: 14px; line-height: 1.6; }
.rich-list li { margin-bottom: 4px; }

/* панель-обёртка (тёмный блок со скруглением) */
.panel { background: var(--bg-reviews); border-radius: var(--radius-card); padding: 60px; }

/* CTA-секция с фоном и формой */
.cta { position: relative; display: flex; justify-content: flex-end; padding: 60px; min-height: 560px; border-radius: var(--radius-card); overflow: hidden; background: url("https://em-assets-1784887174.netlify.app/promo-bg.jpg") center/cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,20,0.75) 0%, rgba(14,16,20,0.2) 50%, rgba(14,16,20,0) 100%); }
.cta__card { position: relative; z-index: 1; background: #13161d; border-radius: 24px; padding: 60px; max-width: 660px; width: 100%; }
.cta__title { font-family: var(--font-head); font-weight: 400; font-size: 40px; line-height: 1.1; }
@media (max-width: 760px) { .cta { padding: 20px; } .cta__card { padding: 30px 22px; } .cta__title { font-size: 26px; } }

/* ===================================================================
   ФОРМЫ
   =================================================================== */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.form__row { display: flex; gap: 16px; }
.form__row > * { flex: 1; }
.field {
  width: 100%; padding: 16px 20px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-soft);
  color: #fff; font-family: var(--font-body); font-size: 16px; transition: border-color 0.2s;
}
.field::placeholder { color: rgba(255, 255, 255, 0.4); }
.field:focus { outline: none; border-color: var(--accent); }
textarea.field { min-height: 110px; resize: vertical; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-60); transition: color 0.2s; }
.form__check input { margin-top: 3px; accent-color: var(--accent); }
.form__ok {
  color: #4cd07a; font-size: 14px; padding: 12px 16px; border-radius: 12px;
  background: rgba(76, 208, 122, 0.12); border: 1px solid rgba(76, 208, 122, 0.35);
}

/* Валидация форм */
.field-wrap { display: flex; flex-direction: column; gap: 6px; }
.form__row > .field-wrap { flex: 1; }
.field--error { border-color: #ff6b6b; background: rgba(255, 107, 107, 0.07); }
.field--error:focus { border-color: #ff6b6b; }
.field__err { display: none; color: #ff6b6b; font-size: 12.5px; line-height: 1.3; }
.field__err.is-shown { display: block; }
.form__check--error { color: #ff8f8f; }
.form__check--error input { outline: 2px solid #ff6b6b; outline-offset: 2px; }

/* ===================================================================
   АККОРДЕОН (FAQ)
   =================================================================== */
.accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion__item { border-radius: var(--radius-card); background: radial-gradient(120% 200% at 0% 0%, #1b1f28 0%, #0d0f14 70%); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.accordion__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; cursor: pointer; }
.accordion__q { font-size: 18px; color: #fff; }
.accordion__toggle { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s; position: relative; }
.accordion__toggle::before, .accordion__toggle::after { content: ""; position: absolute; background: #fff; border-radius: 2px; transition: transform 0.25s, background 0.25s; }
.accordion__toggle::before { width: 12px; height: 2px; }
.accordion__toggle::after { width: 2px; height: 12px; }
.accordion__item.is-open .accordion__toggle { background: var(--accent); }
.accordion__item.is-open .accordion__toggle::before,
.accordion__item.is-open .accordion__toggle::after { background: var(--bg); }
.accordion__item.is-open .accordion__toggle::after { transform: scaleY(0); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion__body-inner { padding: 0 30px 28px; font-size: 15px; color: var(--text-60); line-height: 1.6; max-width: 900px; }
.accordion__item.is-open .accordion__body { max-height: 400px; }

/* ===================================================================
   ТУЛБАР КАТАЛОГА (поиск + фильтры + сортировка)
   =================================================================== */
.catalog-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.search { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); min-width: 240px; }
.search input { background: none; border: none; color: #fff; font-family: var(--font-body); font-size: 14px; width: 100%; }
.search input:focus { outline: none; }
.search svg { flex: none; }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.filter-tab { padding: 11px 20px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.05); border: 1px solid transparent; font-size: 14px; color: var(--text-80); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.filter-tab:hover { border-color: var(--border-soft); }
.filter-tab.is-active { background: var(--accent); color: var(--bg); }
.dropdown { position: relative; }
.dropdown__btn { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); color: #fff; font-family: var(--font-body); font-size: 14px; cursor: pointer; }
.dropdown__btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-60); border-bottom: 2px solid var(--text-60); transform: rotate(45deg); transition: transform 0.25s; }
.dropdown.is-open .dropdown__btn::after { transform: rotate(-135deg); }
.dropdown__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #15181f; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 8px; z-index: 20; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.2s; }
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__opt { padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--text-80); cursor: pointer; }
.dropdown__opt:hover { background: rgba(255,255,255,0.06); color: #fff; }

.load-more { display: flex; justify-content: center; margin-top: 50px; }
.btn--outline { background: transparent; color: #fff; border: 1px solid var(--border-soft); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--wa { background: var(--wa); color: #fff; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.is-added { background: var(--wa) !important; color: #fff !important; }

/* ===================================================================
   КОНТАКТЫ (карта + карточка)
   =================================================================== */
.contacts { position: relative; border-radius: var(--radius-card); overflow: hidden; min-height: 720px; background: #14161d; }
.contacts__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.contacts__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,20,0.9) 0%, rgba(14,16,20,0.3) 60%, rgba(14,16,20,0) 100%); }
.contacts__inner { position: relative; z-index: 2; padding: 80px; display: flex; flex-direction: column; gap: 40px; max-width: 620px; }
.contacts__title { font-family: var(--font-head); font-weight: 400; font-size: 46px; color: var(--accent); }
.contacts__text { font-size: 18px; color: var(--text-60); }
.contact-card { background: rgba(11,13,17,0.75); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-card); padding: 30px; max-width: 420px; }
.contact-card__title { font-family: var(--font-head); font-size: 20px; margin-bottom: 20px; }
.contact-card__row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-80); margin-bottom: 14px; }
.contact-card__row:last-child { margin-bottom: 0; }
.contact-card__row svg { flex: none; margin-top: 2px; }

/* ===================================================================
   ХЛЕБНЫЕ КРОШКИ
   =================================================================== */
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-60); margin-bottom: 30px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-60); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--text-60); opacity: 0.5; }

/* ===================================================================
   КАРТОЧКА ТОВАРА
   =================================================================== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.gallery__main { border-radius: var(--radius-card); overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #1b1f28 0%, #0d0f14 60%, #000 100%); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 14px; margin-top: 14px; }
.gallery__thumb { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: #14161d; border: 2px solid transparent; cursor: pointer; flex: none; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--accent); }
.product__title { font-family: var(--font-head); font-weight: 400; font-size: 34px; line-height: 1.15; }
.product__price-lg { font-family: var(--font-head); font-size: 30px; color: #fff; }
.product__old { font-size: 18px; color: var(--text-60); text-decoration: line-through; margin-left: 12px; }
.product__desc { color: var(--text-60); font-size: 16px; line-height: 1.6; }
.opt-group { margin-top: 4px; }
.opt-group__label { font-size: 14px; color: var(--text-60); margin-bottom: 10px; }
.opt-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-pill { padding: 10px 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); font-size: 14px; color: #fff; cursor: pointer; transition: all 0.2s; }
.opt-pill.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.swatches { display: flex; gap: 12px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; outline: 1px solid var(--border-soft); }
.swatch.is-active { border-color: var(--accent); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-soft); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 44px; height: 44px; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.qty button:hover { color: var(--accent); }
.qty span { min-width: 40px; text-align: center; font-size: 16px; }
.product__buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.product__note { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-60); }

/* ===================================================================
   КОРЗИНА
   =================================================================== */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 20px; border-radius: var(--radius-card); background: radial-gradient(120% 160% at 0% 0%, #1b1f28 0%, #0d0f14 70%); margin-bottom: 16px; }
.cart-item__media { width: 110px; height: 110px; border-radius: 14px; overflow: hidden; background: #14161d; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-size: 16px; margin-bottom: 6px; }
.cart-item__meta { font-size: 13px; color: var(--text-60); }
.cart-item__price { font-family: var(--font-head); font-size: 18px; white-space: nowrap; }
.cart-item__remove { background: none; border: none; color: var(--text-60); cursor: pointer; font-size: 13px; margin-top: 10px; }
.cart-item__remove:hover { color: #ff6b6b; }
.cart-summary { background: var(--bg-reviews); border-radius: var(--radius-card); padding: 30px; position: sticky; top: 100px; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-80); margin-bottom: 14px; }
.cart-summary__total { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 22px; color: #fff; padding-top: 18px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.1); }
.cart-empty { text-align: center; padding: 80px 20px; color: var(--text-60); }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .cart { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item__media { width: 80px; height: 80px; }
  .cart-item__price { grid-column: 2; }
}

/* Заголовок страницы по центру */
.page-title { font-family: var(--font-head); font-weight: 400; font-size: 44px; line-height: 1.15; text-align: center; max-width: 820px; margin: 0 auto; }
.page-lead { text-align: center; max-width: 780px; margin: 20px auto 0; color: var(--text-60); font-size: 18px; }

@media (max-width: 1200px) {
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .subhero__title { font-size: 34px; }
}
/* ===== Бургер-меню: планшет + мобайл (когда десктоп-меню не помещается) ===== */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__phone, .header__faq { display: none; }
  .header__burger { display: flex; }
  .mobile-menu { display: flex; }
  .header__logo { margin-right: auto; }
  .header__right { gap: 18px; }
  .site-header.is-open { background: #0b0d11; }
}

@media (max-width: 760px) {
  .cards-grid--2, .cards-grid--3, .catalog-grid { grid-template-columns: 1fr; }
  .subhero__card { padding: 90px 24px 40px; min-height: 500px; }
  .subhero__title { font-size: 28px; }
  .contacts__inner { padding: 40px 24px; }
  .contacts__title { font-size: 32px; }
  .panel { padding: 30px 20px; }
  .page-title { font-size: 30px; }
  .form__row { flex-direction: column; }
}

@media (max-width: 430px) {
  .hero__title { font-size: 23px; }
  .subhero__title { font-size: 24px; }
  .section-title, .catalog__promo-title { font-size: 26px; }
}

/* ===================================================================
   СКИН НАТИВНОГО КАТАЛОГА ТИЛЬДЫ (Store / ST340 + корзина T706)
   под тёмную тему Elite Mramor. Действует только на .t-store/.t706.
   =================================================================== */
/* контейнер каталога */
.t-store { background: transparent !important; color: var(--white) !important; }
.t-store__wrapper, .t-store__grid-cont { background: transparent !important; }
.t-store__title, .t-store h1, .t-store h2 { color: var(--white) !important; font-family: var(--font-head) !important; }

/* карточка товара */
.t-store__card { background: transparent !important; }
.t-store__card__wrap_all,
.t-store__card__wrap_content {
  background: radial-gradient(120% 140% at 0% 0%, #1b1f28 0%, #0d0f14 55%, #07080a 80%, #000 100%) !important;
  border: 1px solid rgba(80, 214, 255, 0) !important;
  border-radius: var(--radius-card) !important;
  overflow: hidden !important;
  transition: border-color .25s ease, transform .25s ease !important;
}
.t-store__card:hover .t-store__card__wrap_all,
.t-store__card:hover .t-store__card__wrap_content {
  border-color: rgba(80, 214, 255, .5) !important;
  transform: translateY(-3px) !important;
}
.t-store__card__imgwrapper { border-radius: var(--radius-card) var(--radius-card) 0 0 !important; overflow: hidden !important; background: #0b0d11 !important; }
.t-store__card__mark { background: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; }

/* тексты/цены в карточке */
.t-store__card__title,
.t-store__card__descr,
.t-store__card__price-wrapper,
.t-store__card__price,
.t-store__card__price_single { color: var(--white) !important; }
.t-store__card__title { font-weight: 500 !important; }
.t-store__card__descr { color: var(--text-60) !important; }
.t-store__card__price-item.t-store__card__price_old { color: var(--text-60) !important; text-decoration: line-through !important; }
.t-store__card__price_num, .t-store__card__price { font-family: var(--font-head) !important; }

/* кнопки «в корзину»/«купить» */
.t-store__card__btn,
.t-store__card__btn_check,
.t-store__card__ubutton,
.t-store__prod-popup__btn-buy,
.t-store__prod-popup__btn-add,
.t396__elem .tn-atom.t-store__prod-popup__btn-buy {
  background-color: var(--accent) !important;
  color: var(--bg) !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  font-family: var(--font-body) !important;
  transition: opacity .2s ease, transform .2s ease !important;
}
.t-store__card__btn:hover, .t-store__prod-popup__btn-buy:hover { opacity: .9 !important; transform: translateY(-1px) !important; }

/* фильтры / сортировка / поиск */
.t-store__filter, .t-store__sort, .t-store__search-input,
.t-store__filter__wrapper, .t-store__sort-select {
  background: rgba(255,255,255,.05) !important;
  color: var(--white) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-pill) !important;
}
.t-store__filter__item, .t-store__filter-btn { color: var(--text-80) !important; }
.t-store__filter__item.t-store__filter__item_active,
.t-store__tabs__item.t-store__tabs__item_active { background: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; }

/* всплывающая карточка товара (детальная) */
.t-popup__container,
.t-store__prod-popup__container {
  background: var(--bg-reviews) !important;
  color: var(--white) !important;
  border-radius: var(--radius-card) !important;
}
.t-store__prod-popup__title, .t-store__prod-popup__price { color: var(--white) !important; font-family: var(--font-head) !important; }
.t-store__prod-popup__text, .t-store__prod-popup__opts-title { color: var(--text-60) !important; }

/* корзина T706 */
.t706__cartwin-content, .t706__cartwin { background: var(--bg-reviews) !important; color: var(--white) !important; }
.t706__cartwin-heading, .t706__product-title, .t706__cartwin-prodamount-label { color: var(--white) !important; }
.t706__product-title { color: var(--white) !important; }
.t706__cartwin-bottom, .t706__cartwin-totalamount-wrap { color: var(--white) !important; }
.t706__btn-text, .t-store__btn, .t706__orderbtn,
.t706 .t-btn { background-color: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; }
.t706__carticon-wrapper .t706__carticon-cost { color: var(--white) !important; }

/* --- Каталог ST340 (t-catalog / t1291): тёмная тема --- */
.t-catalog, .t1291 { background: transparent !important; }
.t-catalog__card {
  background: radial-gradient(120% 140% at 0% 0%, #1b1f28 0%, #0d0f14 55%, #07080a 80%, #000 100%) !important;
  border: 1px solid rgba(80, 214, 255, 0) !important;
  border-radius: var(--radius-card) !important;
  overflow: hidden !important;
  transition: border-color .25s ease, transform .25s ease !important;
}
.t-catalog__card:hover { border-color: rgba(80, 214, 255, .5) !important; transform: translateY(-3px) !important; }
.t-catalog__card__imgwrapper { border-radius: var(--radius-card) var(--radius-card) 0 0 !important; overflow: hidden !important; background: #0b0d11 !important; }
.t-catalog__card__wrap_txt-and-btns, .t-catalog__card__wrap_txt-and-opts { padding-left: 20px !important; padding-right: 20px !important; }
.t-catalog__card__wrap_txt-and-btns { padding-bottom: 22px !important; }
.t-catalog__card__title, .t-catalog__card__title * { color: var(--white) !important; font-weight: 500 !important; }
.t-catalog__card__descr, .t-catalog__card__descr * { color: var(--text-60) !important; }
.t-catalog__card__price,
.t-catalog__card__price-value,
.t-catalog__card__price-currency { color: var(--white) !important; font-family: var(--font-head) !important; }
.t-catalog__card__price_old,
.t-catalog__card__price_old * { color: var(--text-60) !important; text-decoration: line-through !important; }

/* верхняя панель каталога: сортировка / фильтры / поиск / вкладки */
.t-catalog__parts-above__container,
.t-catalog__parts-switch-wrapper,
.t-catalog__parts-above-item,
.t-catalog__parts-dropdown,
.t-catalog__parts-above-item *,
.t-catalog__sort, .t-catalog__filter { color: var(--white) !important; }
.t-catalog__parts-dropdown, .t-catalog__sort-dropdown {
  background: #15181f !important; border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
}
.t-catalog__parts-above-item_active,
.t-catalog__filter__item_active { background: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; }

/* кнопки в каталоге и на карточке товара */
.t-catalog__product-btn,
.t-catalog__card .t-btn,
.t-store__card__btn,
.js-store-prod-all-params .t-btn {
  background-color: var(--accent) !important; color: var(--bg) !important;
  border-radius: var(--radius-pill) !important; border: none !important;
}

/* --- Панель фильтров/сортировки/поиска каталога: тёмная тема --- */
/* заголовки фильтров (Price, Color, Brand, Availability) и выпадашки */
.t-catalog__filter,
.t-catalog__filter *,
.t-catalog__filter__title,
.t-catalog__filter__custom-sel,
.t-catalog__filter__item,
.t-catalog__filter__item-title,
.t-catalog__filter__opts-title,
.t-catalog__filter__range,
.js-catalog-filter-opt,
.t-catalog__filter__sort-mob-btn,
.t-catalog__filter__sort-mob-btn-icon,
.t-catalog__filter__item_sort-mobile {
  color: var(--white) !important;
}
.t-catalog__filter__title,
.t-catalog__filter__custom-sel { color: var(--text-80) !important; }

/* иконки-стрелки у выпадашек */
.t-catalog__filter__custom-sel svg,
.t-catalog__filter__custom-sel path,
.t-catalog__filter__sort-mob-btn-icon svg,
.t-catalog__filter__sort-mob-btn-icon path { fill: var(--white) !important; stroke: var(--white) !important; }

/* инпуты цены (от/до) */
.t-catalog__filter__input,
.t-catalog__filter__range {
  background: rgba(255,255,255,.06) !important;
  color: var(--white) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 10px !important;
}
.t-catalog__filter__input::placeholder { color: var(--text-60) !important; }

/* раскрытые списки опций фильтра */
.t-catalog__filter__options,
.t-catalog__filter__dropdown,
.t-catalog__filter__custom-select-options {
  background: #15181f !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 14px !important;
  color: var(--white) !important;
}
.t-catalog__filter__options *,
.t-catalog__filter__dropdown * { color: var(--white) !important; }

/* поиск по каталогу */
.t-store__search-input,
.t-catalog__search input,
input[name="tilda-search"],
.t-search__input {
  background: rgba(255,255,255,.06) !important;
  color: var(--white) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-pill) !important;
}
.t-store__search-input::placeholder,
.t-search__input::placeholder { color: var(--text-60) !important; }

/* чекбоксы/радио опций фильтра */
.t-catalog__filter__checkbox-label,
.t-catalog__filter__radio-label { color: var(--white) !important; }

/* --- Витрина ST300 (t-store__card / parts-switch): тёмная тема --- */
/* вкладки категорий */
.t-store__parts-switch-wrapper { gap: 6px !important; }
.t-store__parts-switch-btn {
  color: var(--text-80) !important;
  background: rgba(255,255,255,.05) !important;
  border-radius: var(--radius-pill) !important;
  padding: 8px 16px !important;
  transition: background .2s ease, color .2s ease !important;
}
.t-store__parts-switch-btn:hover { color: var(--white) !important; background: rgba(255,255,255,.10) !important; }
.t-store__parts-switch-btn-active,
.t-store__parts-switch-btn.t-active,
.t-store__parts-switch-btn_active { background: var(--accent) !important; color: var(--bg) !important; }

/* карточка-плашка ST300 */
.t-store__card__wrap_txt-and-btns {
  background: radial-gradient(120% 140% at 0% 0%, #1b1f28 0%, #0d0f14 55%, #07080a 80%, #000 100%) !important;
  border: 1px solid rgba(80, 214, 255, 0) !important;
  border-top: none !important;
  border-radius: 0 0 var(--radius-card) var(--radius-card) !important;
  padding: 16px 20px 22px !important;
  transition: border-color .25s ease !important;
}
.t-store__card__imgwrapper {
  border-radius: var(--radius-card) var(--radius-card) 0 0 !important;
  overflow: hidden !important;
  background: #0b0d11 !important;
}
.t-store__card { transition: transform .25s ease !important; }
.t-store__card:hover { transform: translateY(-3px) !important; }
.t-store__card:hover .t-store__card__wrap_txt-and-btns,
.t-store__card:hover .t-store__card__imgwrapper { border-color: rgba(80, 214, 255, .5) !important; }
.t-store__card:hover .t-store__card__imgwrapper { box-shadow: inset 0 0 0 1px rgba(80,214,255,.5) !important; }

/* тексты карточки ST300 */
.t-store__card__title { color: var(--white) !important; font-weight: 500 !important; }
.t-store__card__descr { color: var(--text-60) !important; }
.t-store__card__price,
.t-store__card__price-item { color: var(--white) !important; font-family: var(--font-head) !important; }
.t-store__card__price_old,
.t-store__card__price-item_old { color: var(--text-60) !important; text-decoration: line-through !important; }
.t-store__card__mark { background: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; }

/* ---------- Страница 404 ---------- */
.notfound { display: flex; align-items: center; justify-content: center; min-height: 68vh; padding-block: 80px; }
.notfound__card { text-align: center; max-width: 640px; }
.notfound__code { font-family: var(--font-head); font-weight: 600; font-size: clamp(96px, 18vw, 200px); line-height: 1; color: var(--accent); }
.notfound__title { font-family: var(--font-head); font-size: clamp(24px, 4vw, 40px); margin-top: 8px; }
.notfound__text { color: var(--text-60); margin-top: 16px; font-size: 18px; }
.notfound__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 480px) { .notfound__actions { flex-direction: column; } .notfound__actions .btn { width: 100%; } }

/* --- Корзина T706: форма заказа под тёмную тему --- */
.t706__cartwin-content,
.t706__cartwin { background: var(--bg-reviews) !important; color: var(--white) !important; }
.t706 input,
.t706 textarea,
.t706 select,
.t706 .t-input,
.t706__inputbox,
.t-inputbox input,
.t706 .t-input-group input {
  background: rgba(255,255,255,.06) !important;
  color: var(--white) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 12px !important;
}
.t706 input::placeholder,
.t706 textarea::placeholder,
.t706 .t-input::placeholder { color: var(--text-60) !important; }
.t706 label,
.t706 .t-input-title,
.t706__form-title,
.t706__inputtitle,
.t706 .t-descr,
.t706 .t-text { color: var(--white) !important; }
.t706 .t-radio__indicator,
.t706 .t-checkbox__indicator { border-color: var(--border-soft) !important; }
/* кнопки внутри корзины */
.t706 .t-submit,
.t706__orderbtn,
.t706__btn-text,
.t706 .t-btn {
  background-color: var(--accent) !important;
  color: var(--bg) !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
}
/* итоги/суммы */
.t706__cartwin-prodamount-price,
.t706__cartwin-totalamount,
.t706__cartwin-totalamount-value,
.t706__product-title,
.t706__product-amount,
.t706__cartwin-heading { color: var(--white) !important; }
.t706__cartwin-close { color: var(--white) !important; }

/* --- Корзина T706: аккуратная модалка в нашем стиле --- */
/* затемнение и прокрутка всего окна, чтобы ничего не обрезалось */
.t706__cartwin {
  background: rgba(8,9,12,.9) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
/* сама карточка заказа — по центру, с полями и прокруткой */
.t706__cartwin-content {
  width: 100% !important;
  max-width: 620px !important;
  margin: 48px auto !important;
  background: var(--bg-reviews) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-card) !important;
  padding: 40px 36px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.55) !important;
}
/* внутренние колонки корзины — на всю ширину карточки */
.t706__cartwin-top,
.t706__orderform,
.t706 .t-form,
.t706__cartwin-products,
.t706__cartwin-bottom { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
/* крестик закрытия — заметный, в углу карточки */
.t706__cartwin-close {
  position: fixed !important;
  top: 24px !important; right: 28px !important;
  width: 40px !important; height: 40px !important;
  opacity: .85 !important;
  z-index: 10 !important;
}
.t706__cartwin-close:hover { opacity: 1 !important; }
/* промокод / авторизация — читаемая плашка */
.t706__promocode,
.t706__auth,
.t706__cartwin-content .t-descr_xs {
  background: rgba(255,255,255,.05) !important;
  color: var(--text-80) !important;
  border-radius: 12px !important;
}
.t706__promocode a,
.t706__auth a { color: var(--accent) !important; }
/* товары в корзине: разделители и цены */
.t706__product { border-bottom: 1px solid var(--border-soft) !important; }
.t706__product-title,
.t706__product-title a,
.t706__product-amount,
.t706__product-price { color: var(--white) !important; }
/* плюс/минус количества и удаление */
.t706__product-plus,
.t706__product-minus,
.t706__product-del { filter: invert(1) !important; opacity: .8 !important; }
.t706__product-plus:hover,
.t706__product-minus:hover,
.t706__product-del:hover { opacity: 1 !important; }
/* мобильная адаптация окна */
@media (max-width: 640px){
  .t706__cartwin-content { margin: 0 !important; min-height: 100% !important; border-radius: 0 !important; padding: 64px 18px 40px !important; }
}

/* --- Нативные страницы товара (tproduct): тёмная тема --- */
/* фон страницы */
.t-body,
.t-records { background-color: var(--bg) !important; }
/* нативное меню Тильды T462 */
.t462,
.t462 .t462__leftwrapper,
.t462 .t462__rightwrapper,
.t462 .t462__maincontainer { background-color: var(--bg) !important; border: none !important; box-shadow: none !important; }
.t462 a,
.t462 .t-menu__link-item,
.t462 .t228__list_item a { color: var(--text-80) !important; }
.t462 a:hover,
.t462 .t-menu__link-item:hover { color: var(--white) !important; }
/* заголовок/описание/цена товара */
.t-store__prod-popup__title,
.js-store-prod-name,
.t-store__prod-popup__price-wrapper,
.js-product-controls-title,
.t-store__prod-popup__text,
.js-store-prod-all-text,
.t-store__prod-popup__option-title,
.t-name,
.t-descr,
.t-store__prod-snippet__container * { color: var(--white) !important; }
.t-store__prod-popup__price { color: var(--white) !important; font-family: var(--font-head) !important; }
.t-store__prod-popup__price_old { color: var(--text-60) !important; }
/* характеристики (таблица) */
.t-store__prod-popup__characteristics,
.t-store__prod-popup__characteristics * { color: var(--text-80) !important; }
/* кнопка Купить/В корзину */
.t-store__prod-popup__btn-wrapper .t-btn,
.js-store-prod-btn,
.t-store__card__btn,
.t-store__prod__btn { background-color: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; border: none !important; }
/* кнопка оформления заказа в корзине (t-submit / Checkout) */
.t-submit,
.t706 .t-submit,
.t706__cartwin .t-submit,
.t-store__btn-icon-container .t-submit { background-color: var(--accent) !important; color: var(--bg) !important; border-radius: var(--radius-pill) !important; border: none !important; }
.t-submit:hover { opacity: .9 !important; }

/* Скрываем нативную витрину магазина: показываем свой каталог (наш дизайн).
   Корзина (.t706) и её движок tcart остаются рабочими. */
.t-store.js-store { display: none !important; }

