/* ====================================================================
   UZWATER — main.css
   Дизайн-система: B2C зелёная палитра
   ==================================================================== */

:root {
    --g: #007A50;
    --gd: #005C3C;
    --gl: #E6F5EE;
    --gm: #B2DECA;
    --bl: #005BAA;
    --nv: #0D1B2E;

    --b0: #F7F9FB;
    --b1: #F2F4F7;
    --b2: #E4E8EF;
    --b5: #5A6475;
    --tx: #1A2433;
    --white: #fff;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(13,27,46,.05);
    --shadow: 0 4px 16px rgba(13,27,46,.08);
    --shadow-lg: 0 12px 32px rgba(13,27,46,.12);

    --font-h: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-b: 'Open Sans', system-ui, -apple-system, sans-serif;

    --container: 1280px;
    --container-pad: 32px;
}

/* ----------------- RESET ----------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-b); font-size: 16px; line-height: 1.6; color: var(--tx); background: var(--white); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--g); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-h); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; color: var(--tx); }
p { margin: 0 0 1em; }

/* ----------------- LAYOUT ----------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }
.container--narrow { max-width: 920px; }

.section { padding: 80px 0; }
.section--sm { padding: 56px 0; }
.section--bg { background: var(--b0); }
.section--green { background: var(--gd); color: var(--white); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__cta-center { text-align: center; margin-top: 48px; }
.section__eyebrow { display: inline-block; font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g); background: var(--gl); padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.section__title { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.section__subtitle { font-size: 17px; color: var(--b5); margin: 0; }

/* ----------------- ICONS ----------------- */
.uzw-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* ----------------- BUTTONS ----------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-family: var(--font-h); font-weight: 700; font-size: 15px; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: all .2s ease; text-decoration: none; }
.btn--primary { background: var(--g); color: var(--white); }
.btn--primary:hover { background: var(--gd); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--secondary { background: var(--white); color: var(--g); border: 2px solid var(--g); }
.btn--secondary:hover { background: var(--g); color: var(--white); }
.btn--white { background: var(--white); color: var(--gd); }
.btn--white:hover { background: var(--gl); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ----------------- TOPBAR ----------------- */
.topbar { background: #001f15; color: var(--white); overflow: hidden; padding: 10px 0; font-size: 13px; border-bottom: 1px solid rgba(178,222,202,.08); }
.topbar__inner { display: flex; gap: 48px; white-space: nowrap; animation: ticker 30s linear infinite; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.topbar__item:nth-child(odd) { color: var(--gm); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------- HEADER ----------------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--b2); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 32px; padding-top: 18px; padding-bottom: 18px; }

.site-logo { display: flex; flex-direction: column; flex-shrink: 0; }
.site-logo__main { font-family: var(--font-h); font-weight: 900; font-size: 24px; color: var(--gd); line-height: 1; letter-spacing: -.5px; }
.site-logo__accent { color: var(--g); }
.site-logo__tagline { font-size: 11px; color: var(--b5); margin-top: 2px; letter-spacing: .3px; }

.site-nav { flex: 1; }
.site-nav__list { display: flex; gap: 28px; }
.site-nav__list a { font-family: var(--font-h); font-weight: 600; font-size: 15px; color: var(--tx); }
.site-nav__list a:hover { color: var(--g); }
.site-nav__toggle { display: none; background: transparent; border: none; padding: 8px; color: var(--tx); }

/* Мобильный блок внутри drawer — телефоны + соцсети (на desktop скрыт) */
.site-nav__mobile-extra { display: none; }

.site-header__cta { display: flex; align-items: center; gap: 16px; }

/* Кнопка Telegram — круглая, в брендовом цвете, только иконка */
.btn-tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    transition: all .2s ease;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(34,158,217,.3);
}
.btn-tg:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34,158,217,.45);
    background: linear-gradient(135deg, #229ED9 0%, #1A8AC2 100%);
}
.btn-tg .uzw-icon {
    transform: translateX(-1px);  /* Лёгкая оптическая центровка самолётика */
}
.site-header__phones { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; line-height: 1.15; }
.site-header__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--tx); font-family: var(--font-h); font-weight: 700; font-size: 14px; }
.site-header__phone:hover { color: var(--g); }
.site-header__phone--mobile { color: var(--g); }
.site-header__phone .uzw-icon { flex-shrink: 0; }
.site-header__phone-num { font-family: var(--font-h); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.site-header__phone-hours { font-size: 11px; color: var(--b5); margin-top: 2px; }

/* Переключатель языка GTranslate в шапке (флаги) */
.site-lang { display: flex; align-items: center; flex-shrink: 0; }
.site-lang .gtranslate_wrapper { display: flex; align-items: center; gap: 8px; }
.site-lang a { display: block; line-height: 0; opacity: .55; transition: opacity .2s ease, transform .2s ease; }
.site-lang a:hover { opacity: 1; transform: translateY(-1px); }
.site-lang a.gt-current-lang { opacity: 1; }
.site-lang img { display: block; width: 24px; height: auto; border-radius: 3px; }

.site-footer__legal { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--gm); opacity: .85; }

/* ---------- Каталог магазина ---------- */
.catalog-toolbar { display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; margin-bottom:18px; }
.catalog-search { display:flex; gap:8px; flex:1 1 260px; max-width:420px; }
.catalog-search input { flex:1; padding:11px 14px; border:1px solid var(--b2); border-radius:12px; font-size:14px; background:var(--white); color:var(--tx); }
.catalog-search input:focus { outline:none; border-color:var(--g); }
.catalog-search .btn { flex:none; padding:11px 16px; }
.catalog-sort { display:flex; align-items:center; gap:8px; }
.catalog-sort__label { font-size:13.5px; color:var(--b5); white-space:nowrap; }
.catalog-sort select { padding:10px 34px 10px 12px; border:1px solid var(--b2); border-radius:12px; font-size:14px; background:var(--white); color:var(--tx); cursor:pointer;
  -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 10px center; }
.catalog-sort select:focus { outline:none; border-color:var(--g); }
.catalog-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.catalog-chip { display:inline-block; padding:8px 15px; border:1px solid var(--b2); border-radius:100px; font-size:13.5px; line-height:1.2; color:var(--tx); text-decoration:none; background:var(--white); transition:border-color .15s ease, color .15s ease, background .15s ease; }
.catalog-chip:hover { border-color:var(--g); color:var(--g); }
.catalog-chip.is-active { background:var(--g); border-color:var(--g); color:#fff; }
.catalog-pagination { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:36px; }
.catalog-pagination a, .catalog-pagination span { min-width:42px; height:42px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--b2); border-radius:12px; text-decoration:none; color:var(--tx); font-size:14px; font-variant-numeric:tabular-nums; transition:border-color .15s ease, color .15s ease; }
.catalog-pagination a:hover { border-color:var(--g); color:var(--g); }
.catalog-pagination .current { background:var(--g); border-color:var(--g); color:#fff; }
.catalog-pagination .dots { border-color:transparent; }
.catalog-empty { text-align:center; padding:56px 20px; color:var(--b5); }
.catalog-empty svg { color:var(--b2); margin-bottom:12px; }
.catalog-empty p { margin:0 0 18px; font-size:16px; }

/* ---------- Панель фильтров каталога (выпадающие списки) ---------- */
.uzw-filter { display:flex; flex-wrap:wrap; align-items:flex-end; gap:14px 16px;
  border:1px solid var(--b2); border-radius:14px; padding:16px 18px; margin:0 0 26px; background:var(--white); }
.uzw-filter__field { display:flex; flex-direction:column; gap:6px; min-width:220px; flex:0 1 260px; }
.uzw-filter__label { font-size:12px; font-weight:700; color:var(--b5); text-transform:uppercase; letter-spacing:.05em; }
.uzw-filter select {
  width:100%; padding:11px 36px 11px 14px; border:1px solid var(--b2); border-radius:12px;
  font-size:14.5px; font-family:inherit; color:var(--tx); background-color:var(--white); cursor:pointer;
  -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
}
.uzw-filter select:hover { border-color:var(--g); }
.uzw-filter select:focus { outline:none; border-color:var(--g); box-shadow:0 0 0 3px var(--gl); }
.uzw-filter__actions { display:flex; align-items:center; gap:16px; flex:none; }
.uzw-filter__submit { flex:none; padding:11px 24px; white-space:nowrap; }
.uzw-filter__reset { font-size:13.5px; color:var(--b5); text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.uzw-filter__reset:hover { color:var(--g); }
@media (max-width:900px){ .uzw-filter__field { flex:1 1 200px; min-width:180px; } }
@media (max-width:600px){
  .uzw-filter { padding:14px; gap:12px; }
  .uzw-filter__field { flex:1 1 100%; min-width:0; }
  .uzw-filter__actions { width:100%; }
  .uzw-filter__submit { flex:1; }
}
}


@media (max-width:640px){
  .catalog-toolbar { flex-direction:column; align-items:stretch; }
  .catalog-search { max-width:none; }
  .catalog-sort { justify-content:space-between; }
  .catalog-sort select { flex:1; }
}

/* ----------------- HERO (главная) ----------------- */
.hero { position: relative; background: linear-gradient(135deg, var(--gd) 0%, #003D2A 100%); color: var(--white); padding: 80px 0 140px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(178,222,202,.15), transparent 50%); z-index: 2; pointer-events: none; }

/* Фоновое видео (Vimeo iframe) */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__bg iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw;
    height: 56.25vw;        /* 16:9 — растягиваем по ширине */
    min-height: 100%;       /* и одновременно покрываем по высоте */
    min-width: 177.78vh;    /* (через мин. ширину аналогично 16:9) */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

/* Тёмно-зелёный overlay поверх видео — чтобы текст читался */
.hero__overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(135deg, rgba(0,92,60,.82) 0%, rgba(0,38,26,.92) 100%);
}

.hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 3; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(178,222,202,.3); border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero__title { font-size: 56px; font-weight: 800; line-height: 1.1; color: var(--white); margin-bottom: 24px; letter-spacing: -1px; }
.hero__title em { font-style: italic; font-weight: 700; color: var(--gm); }
.hero__title span { display: block; }
.hero__desc { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 540px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__usp { background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border: 1px solid rgba(178,222,202,.25); border-radius: var(--radius-lg); padding: 32px; }
.hero__usp h3 { color: var(--white); font-size: 18px; margin-bottom: 20px; }
.hero__usp ul { display: flex; flex-direction: column; gap: 14px; }
.hero__usp li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.92); }
.hero__usp .uzw-icon { color: var(--gm); margin-top: 2px; }

/* Волна снизу — 3-слойная анимированная для глубины */
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.hero__wave svg { width: 100%; height: 110px; display: block; }
@media (max-width: 768px) { .hero__wave svg { height: 70px; } }

/* Парallax-анимация: каждый слой движется со своей скоростью.
   Path внутри каждого <g> длиной 2880 (2× viewBox), translate(-1440) даёт seamless loop. */
@keyframes uzw-wave-flow {
    from { transform: translateX(0); }
    to   { transform: translateX(-1440px); }
}
@keyframes uzw-wave-flow-rev {
    from { transform: translateX(-1440px); }
    to   { transform: translateX(0); }
}
.hero__wave .wave-layer { will-change: transform; }
.hero__wave .wave-layer--1 { animation: uzw-wave-flow 14s linear infinite; }       /* передняя — быстрая */
.hero__wave .wave-layer--2 { animation: uzw-wave-flow-rev 22s linear infinite; }   /* средняя — против течения */
.hero__wave .wave-layer--3 { animation: uzw-wave-flow 32s linear infinite; }       /* задняя — самая медленная */

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .hero__wave .wave-layer { animation: none; }
    .hero__bg iframe { display: none; }
}

/* ----------------- TRUST BAR ----------------- */
.trust { background: var(--b0); padding: 48px 0; border-bottom: 1px solid var(--b2); }
.trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.trust__item { display: flex; align-items: flex-start; gap: 14px; }
.trust__icon { width: 48px; height: 48px; background: var(--gl); color: var(--g); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust__title { font-family: var(--font-h); font-weight: 700; font-size: 15px; color: var(--tx); line-height: 1.2; }
.trust__sub { font-size: 13px; color: var(--b5); margin-top: 2px; }

/* ----------------- CATEGORIES ----------------- */
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); transition: all .25s ease; position: relative; }
.cat-card:hover { border-color: var(--g); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-card__icon { width: 56px; height: 56px; background: var(--gl); color: var(--g); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.cat-card:hover .cat-card__icon { background: var(--g); color: var(--white); }
.cat-card__title { font-family: var(--font-h); font-weight: 700; font-size: 16px; color: var(--tx); margin: 0 0 6px; }
.cat-card__count { font-size: 13px; color: var(--b5); }
.cat-card__arrow { position: absolute; top: 28px; right: 28px; color: var(--b5); opacity: 0; transition: opacity .2s, transform .2s; }
.cat-card:hover .cat-card__arrow { opacity: 1; color: var(--g); transform: translateX(4px); }

/* ----------------- PRODUCTS GRID ----------------- */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .products__grid { grid-template-columns: repeat(3, 1fr); } }
.products__grid--preview { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px){ .products__grid--preview { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px){ .products__grid--preview { grid-template-columns: repeat(2, 1fr); } }
.prod-card { background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; }
.prod-card:hover { border-color: var(--g); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
a.prod-card { text-decoration: none; color: inherit; cursor: pointer; }
.prod-card__media {
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 16px;
    overflow: hidden;
}
.prod-card__media img,
.prod-card__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
    .prod-card__media { padding: 12px; }
}
.prod-card__placeholder { color: var(--b2); }
.prod-card__placeholder .uzw-icon { width: 64px; height: 64px; }
.prod-card__badge { position: absolute; top: 14px; left: 14px; background: var(--g); color: var(--white); font-family: var(--font-h); font-weight: 700; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.prod-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prod-card__sku { font-size: 11px; color: var(--b5); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.prod-card__title { font-family: var(--font-h); font-weight: 700; font-size: 16px; color: var(--tx); margin: 0 0 10px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card__specs { font-size: 13px; color: var(--b5); margin: 0 0 16px; flex: 1; }
.prod-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--b2); }
.prod-card__status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--g); font-weight: 600; }
.prod-card__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.prod-card__link { font-family: var(--font-h); font-weight: 700; font-size: 13px; color: var(--g); display: inline-flex; align-items: center; gap: 4px; }
.prod-card__link:hover { color: var(--gd); }

/* ----------------- DEALER BLOCK ----------------- */
.dealer { background: linear-gradient(135deg, var(--gl) 0%, #D4ECDE 100%); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dealer__h { font-size: 32px; font-weight: 800; color: var(--gd); margin-bottom: 16px; }
.dealer__text { font-size: 16px; color: var(--tx); margin-bottom: 24px; }
.dealer__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dealer-badge { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); border-radius: var(--radius-sm); }
.dealer-badge__icon { width: 44px; height: 44px; background: var(--g); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dealer-badge__title { font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--tx); line-height: 1.2; }
.dealer-badge__sub { font-size: 12px; color: var(--b5); margin-top: 2px; }

/* ----------------- ADVANTAGES ----------------- */
.advantages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage { padding: 32px 24px; background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); text-align: center; transition: all .25s ease; }
.advantage:hover { border-color: var(--g); box-shadow: var(--shadow); transform: translateY(-2px); }
.advantage__icon { width: 64px; height: 64px; background: var(--gl); color: var(--g); border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.advantage__title { font-family: var(--font-h); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.advantage__text { font-size: 14px; color: var(--b5); margin: 0; line-height: 1.5; }
.advantage--left { text-align: left; }
.advantage--left .advantage__icon { display: flex; }

/* 6 column variant for o-nas */
.advantages--6 .advantages__grid { grid-template-columns: repeat(3, 1fr); }

/* ----------------- STATS ----------------- */
.stats { background: var(--gd); color: var(--white); padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat__number { font-family: var(--font-h); font-weight: 900; font-size: 56px; line-height: 1; color: var(--white); letter-spacing: -2px; }
.stat__suffix { font-size: 32px; color: var(--gm); }
.stat__text { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* ----------------- CTA BANNER ----------------- */
.cta {
    position: relative;
    color: var(--white);
    padding: 80px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    background: url('/wp-content/uploads/2026/06/aquaphor/cta-water.jpg') center/cover no-repeat fixed;
}
/* iOS Safari игнорирует background-attachment: fixed — оставляем без parallax на тач-устройствах */
@media (hover: none) and (pointer: coarse) {
    .cta { background-attachment: scroll; }
}
/* Лёгкий тёмный overlay — для читаемости текста, но картинка остаётся видимой */
.cta::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,38,26,.35) 0%, rgba(0,92,60,.45) 100%);
    pointer-events: none;
    z-index: 0;
}
.cta__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta__title {
    font-size: 36px; font-weight: 800; color: var(--white);
    margin-bottom: 12px; line-height: 1.2;
    text-shadow: 0 3px 16px rgba(0,0,0,.45);
}
.cta__subtitle {
    font-size: 17px; color: rgba(255,255,255,.95);
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ----------------- PAGE HERO (inner pages) ----------------- */
.page-hero { background: linear-gradient(120deg, var(--gd) 0%, var(--bl) 100%); color: var(--white); padding: 72px 0 56px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.08), transparent 50%); z-index: -1; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.page-hero__title { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 16px; line-height: 1.15; }
.page-hero__desc { font-size: 17px; color: rgba(255,255,255,.9); margin: 0; max-width: 600px; }
.page-hero--simple { padding: 56px 0; }

/* ----------------- STORY (О нас) ----------------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.story__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.story__h { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.story__text { font-size: 16px; color: var(--tx); }

/* ----------------- TEAM ----------------- */
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.team-card__avatar { width: 96px; height: 96px; background: var(--gl); color: var(--g); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.team-card__avatar .uzw-icon { width: 40px; height: 40px; }
.team-card__name { font-family: var(--font-h); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.team-card__role { font-size: 14px; color: var(--b5); }

/* ----------------- DELIVERY / PAYMENT ----------------- */
.delivery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.delivery__grid .advantage { text-align: left; }
.delivery__grid .advantage__icon { display: flex; }

.pay__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pay-card { background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all .25s ease; }
.pay-card:hover { border-color: var(--g); box-shadow: var(--shadow); }
.pay-card__icon { width: 56px; height: 56px; background: var(--gl); color: var(--g); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pay-card__title { font-family: var(--font-h); font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.pay-card__text { font-size: 13px; color: var(--b5); margin: 0; }

/* ----------------- WARRANTY (Доставка) ----------------- */
.warranty { background: var(--white); max-width: 760px; margin: 0 auto; padding: 48px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--b2); }
.warranty__title { font-size: 26px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.warranty__title .uzw-icon { color: var(--g); }
.warranty__list { margin: 16px 0; padding-left: 0; }
.warranty__list li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--b2); position: relative; font-size: 15px; }
.warranty__list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; background: var(--gl); border-radius: 50%; }
.warranty__list li::after { content: ''; position: absolute; left: 6px; top: 18px; width: 8px; height: 5px; border-left: 2px solid var(--g); border-bottom: 2px solid var(--g); transform: rotate(-45deg); }
.warranty__list li:last-child { border-bottom: none; }
.warranty__note { padding: 16px; background: var(--gl); border-radius: var(--radius-sm); font-size: 14px; color: var(--gd); margin-top: 20px; }

/* ----------------- SERVICE ----------------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { padding: 32px 28px; background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); transition: all .25s ease; }
.service-card:hover { border-color: var(--g); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__icon { width: 56px; height: 56px; background: var(--gl); color: var(--g); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card__title { font-family: var(--font-h); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.service-card__text { font-size: 14px; color: var(--b5); margin: 0; }

.supplies__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ----------------- CONTACTS ----------------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); }
.contact-item__icon { width: 48px; height: 48px; background: var(--gl); color: var(--g); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item__title { font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--b5); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 4px; }
.contact-item__value { font-size: 18px; font-weight: 700; color: var(--tx); }
.contact-item__value a { color: var(--tx); }
.contact-item__value a:hover { color: var(--g); }
.contact-item__note { font-size: 13px; color: var(--b5); margin-top: 4px; }

.contact-form { background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form__title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.contact-form__subtitle { font-size: 14px; color: var(--b5); margin: 0 0 24px; }
.contact-form__row { margin-bottom: 16px; }
.contact-form__row label { display: block; font-size: 13px; font-weight: 600; color: var(--tx); margin-bottom: 6px; }
.contact-form__input, .contact-form__textarea { width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px; color: var(--tx); background: var(--b0); border: 1px solid var(--b2); border-radius: var(--radius-sm); transition: border .2s; }
.contact-form__input:focus, .contact-form__textarea:focus { outline: none; border-color: var(--g); background: var(--white); }
.contact-form__textarea { min-height: 100px; resize: vertical; }
.contact-form__note { font-size: 12px; color: var(--b5); margin-top: 12px; text-align: center; }

.contact-map { background: var(--b1); border-radius: var(--radius); padding: 64px 32px; text-align: center; border: 1px solid var(--b2); }
.contact-map iframe { width: 100%; border: none; border-radius: var(--radius-sm); }
.contact-map__empty { color: var(--b5); }
.contact-map__empty .uzw-icon { width: 48px; height: 48px; margin-bottom: 12px; color: var(--g); }

/* ----------------- FOOTER ----------------- */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, #003D2A 0%, var(--gd) 55%, #001f15 100%);
    color: rgba(255,255,255,.8);
    overflow: hidden;
    isolation: isolate;
}
/* Декоративная зелёная подсветка (как в hero) */
.site-footer::before {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 20% 10%, rgba(178,222,202,.12), transparent 50%),
                radial-gradient(circle at 90% 90%, rgba(0,122,80,.18), transparent 55%);
    pointer-events: none;
}
/* Волна сверху — зеркальное продолжение hero волны (визуально объединяет верх и низ страницы) */
.site-footer__wave {
    position: absolute; top: 0; left: 0; right: 0; line-height: 0; pointer-events: none; z-index: 0;
    transform: rotate(180deg);
}
.site-footer__wave svg { width: 100%; height: 70px; display: block; }
.site-footer > * { position: relative; z-index: 1; }

.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 48px; }
.site-footer__brand { max-width: 320px; }
.site-footer__logo { font-family: var(--font-h); font-weight: 900; font-size: 24px; color: var(--white); letter-spacing: -.5px; }
.site-footer__logo span { color: var(--gm); }
.site-footer__tagline { font-size: 11px; color: rgba(178,222,202,.6); letter-spacing: .3px; margin-bottom: 16px; }
.site-footer__about { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); margin-bottom: 20px; }
.site-footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }
/* Иконки соц.сетей внутри .site-footer__socials используют .contact-social (см. ниже) */
.contact-social--yt:hover { background: #FF0000; border-color: #FF0000; color: #fff; box-shadow: 0 4px 12px rgba(255,0,0,.35); }

.site-footer__title { font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--gm); text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.site-footer__title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--g); border-radius: 2px; }
.site-footer__links li, .site-footer__contacts li { padding: 6px 0; font-size: 14px; line-height: 1.5; }
.site-footer__links a { color: rgba(255,255,255,.75); transition: color .2s, padding .2s; }
.site-footer__links a:hover { color: var(--gm); padding-left: 4px; }
.site-footer__contacts li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.82); }
.site-footer__contacts li .uzw-icon { color: var(--gm); margin-top: 2px; }
.site-footer__contacts a { color: rgba(255,255,255,.92); }
.site-footer__contacts a:hover { color: var(--gm); }
.site-footer__contacts small { display: block; color: rgba(178,222,202,.55); font-size: 12px; }
.site-footer__contacts-sub { padding: 2px 0 6px 26px !important; margin-top: -4px; }
.site-footer__contacts-sub small { font-size: 12px; color: rgba(178,222,202,.55); }

/* Иконки соц.сетей (используются и в .site-footer__socials в brand-колонке) */
.contact-social {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(178,222,202,.08);
    border: 1px solid rgba(178,222,202,.18);
    color: var(--gm);
    transition: all .25s ease;
    text-decoration: none;
}
.contact-social:hover { transform: translateY(-2px); color: #fff; }
.contact-social--tg:hover { background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%); border-color: #229ED9; box-shadow: 0 4px 12px rgba(34,158,217,.4); }
.contact-social--ig:hover { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); border-color: #DD2A7B; box-shadow: 0 4px 12px rgba(221,42,123,.4); }
.contact-social--fb:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 4px 12px rgba(24,119,242,.4); }

.site-footer__bottom { border-top: 1px solid rgba(178,222,202,.12); padding: 20px 0; background: rgba(0,0,0,.18); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__payments { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer__payment {
    font-family: var(--font-h); font-weight: 700; font-size: 11px;
    padding: 5px 11px;
    background: rgba(178,222,202,.1);
    border: 1px solid rgba(178,222,202,.18);
    border-radius: 5px;
    color: var(--gm);
    letter-spacing: 1.2px;
}
.site-footer__copyright { font-size: 12px; color: rgba(255,255,255,.65); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.site-footer__credit { color: rgba(255,255,255,.5); }
.site-footer__credit a { color: var(--gm); text-decoration: none; font-weight: 600; }
.site-footer__credit a:hover { color: #fff; text-decoration: underline; }
.site-footer__links-bottom { display: flex; gap: 20px; font-size: 12px; }
.site-footer__links-bottom a { color: rgba(255,255,255,.65); }
.site-footer__links-bottom a:hover { color: var(--gm); }

/* ====================================================================
   CATALOG (страница /catalog с динамическими WC категориями)
   ==================================================================== */
.catalog-nav { background: var(--white); border-bottom: 1px solid var(--b2); position: sticky; top: 76px; z-index: 50; box-shadow: var(--shadow-sm); }
.catalog-nav__inner { display: flex; gap: 6px; padding: 12px var(--container-pad); overflow-x: auto; scrollbar-width: thin; }
.catalog-nav__link { flex-shrink: 0; padding: 8px 16px; font-family: var(--font-h); font-weight: 600; font-size: 14px; color: var(--tx); border-radius: 100px; border: 1px solid var(--b2); transition: all .2s; white-space: nowrap; }
.catalog-nav__link:hover { background: var(--gl); border-color: var(--g); color: var(--gd); }
.catalog-nav__link.is-active { background: var(--g); border-color: var(--g); color: var(--white); }

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

/* Большая плитка для топ-категорий */
.cat-tile { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px; background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; }
.cat-tile:hover { border-color: var(--g); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-tile__media { width: 90px; height: 90px; flex-shrink: 0; background: #fff; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cat-tile__body { flex: 1; min-width: 0; }
.cat-tile__title { font-family: var(--font-h); font-weight: 700; font-size: 17px; margin: 0 0 4px; color: var(--tx); }
.cat-tile__count { font-size: 13px; color: var(--b5); }
.cat-tile__arrow { color: var(--b5); flex-shrink: 0; transition: transform .2s, color .2s; }
.cat-tile:hover .cat-tile__arrow { color: var(--g); transform: translateX(4px); }

/* Маленькая карточка подкатегории (WC) */
.cat-card-wc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--b2); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; }
.cat-card-wc:hover { border-color: var(--g); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card-wc__media {
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    height: 240px;
    padding: 16px;
    overflow: hidden;
}
.cat-card-wc__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
    .cat-card-wc__media { height: 180px; padding: 12px; }
}
.cat-card-wc__body { padding: 16px; }
.cat-card-wc__title { font-family: var(--font-h); font-weight: 700; font-size: 15px; margin: 0 0 4px; color: var(--tx); line-height: 1.25; }
.cat-card-wc__count { font-size: 12px; color: var(--b5); }

.catalog-group__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--b2); }
.catalog-group__title { font-family: var(--font-h); font-weight: 800; font-size: 28px; color: var(--tx); margin: 0 0 4px; max-width: 85%; }
.catalog-group__head .btn { flex: none; white-space: nowrap; }
.catalog-group__count { font-size: 14px; color: var(--b5); margin: 0; }
.catalog-group__empty { color: var(--b5); font-style: italic; }
.catalog-subs__title { font-family: var(--font-h); font-weight: 700; font-size: 18px; color: var(--b5); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 20px; }

/* ====================================================================
   BREADCRUMBS
   ==================================================================== */
.breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--b5); margin-bottom: 16px; }
.breadcrumbs a { color: var(--b5); }
.breadcrumbs a:hover { color: var(--g); }
.breadcrumbs span { color: var(--tx); font-weight: 600; }
.breadcrumbs .uzw-icon { color: var(--b2); }
.breadcrumbs--on-hero { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.breadcrumbs--on-hero a { color: rgba(255,255,255,.8); }
.breadcrumbs--on-hero a:hover { color: var(--white); }
.breadcrumbs--on-hero span { color: var(--white); }
.breadcrumbs--on-hero .uzw-icon { color: rgba(255,255,255,.4); }

/* ====================================================================
   SINGLE PRODUCT
   ==================================================================== */
.product-hero { padding: 32px 0 56px; background: var(--white); }
.product-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }

.product-gallery__main { aspect-ratio: 1/1; background: #fff; border: 1px solid var(--b2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; }
.product-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.product-gallery__thumb { aspect-ratio: 1/1; background: var(--b0); border: 2px solid var(--b2); border-radius: 8px; padding: 4px; cursor: pointer; transition: all .2s; overflow: hidden; }
.product-gallery__thumb:hover { border-color: var(--gm); }
.product-gallery__thumb.is-active { border-color: var(--g); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__placeholder { aspect-ratio: 1/1; background: var(--b0); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--b2); }

.product-info__cats { font-size: 13px; color: var(--b5); margin-bottom: 8px; }
.product-info__cats a { color: var(--g); }
.product-info__title { font-size: 32px; font-weight: 800; color: var(--tx); margin: 0 0 12px; line-height: 1.2; }
.product-info__sku { font-size: 13px; color: var(--b5); margin-bottom: 16px; }
.product-info__sku strong { color: var(--tx); font-weight: 700; letter-spacing: .5px; }
.product-info__short { font-size: 15px; color: var(--tx); line-height: 1.6; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--b2); }
.product-info__price { font-family: var(--font-h); font-weight: 800; font-size: 28px; color: var(--gd); margin-bottom: 20px; }
.product-info__price-note { font-size: 18px; color: var(--b5); font-weight: 600; font-style: italic; }
.product-info__price .woocommerce-Price-amount { color: var(--gd); }
.product-info__price del { color: var(--b5); font-size: 18px; margin-right: 8px; }
.product-info__price ins { background: none; color: var(--g); text-decoration: none; }

.product-info__buttons { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.product-info__buttons .cart, .product-info__buttons form.cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; width: 100%; margin: 0; }
.product-info__buttons .quantity { display: flex; align-items: center; }
.product-info__buttons .quantity input { width: 64px; padding: 13px 8px; text-align: center; font-family: var(--font-h); font-weight: 700; font-size: 15px; border: 2px solid var(--b2); border-radius: var(--radius-sm); background: var(--white); }
.product-info__buttons button.single_add_to_cart_button, .product-info__buttons .single_add_to_cart_button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-family: var(--font-h); font-weight: 700; font-size: 15px; border-radius: var(--radius-sm); border: none; background: var(--g); color: var(--white); cursor: pointer; transition: all .2s; }
.product-info__buttons button.single_add_to_cart_button:hover { background: var(--gd); transform: translateY(-1px); box-shadow: var(--shadow); }

.product-info__usp { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--gl); border-radius: var(--radius); }
.product-info__usp li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gd); font-weight: 600; }
.product-info__usp .uzw-icon { color: var(--g); flex-shrink: 0; }

/* Sticky product nav */
.product-nav { background: var(--white); border-top: 1px solid var(--b2); border-bottom: 1px solid var(--b2); position: sticky; top: 76px; z-index: 50; }
.product-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.product-nav__link { flex-shrink: 0; padding: 18px 20px; font-family: var(--font-h); font-weight: 600; font-size: 15px; color: var(--b5); position: relative; transition: color .2s; }
.product-nav__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--g); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; border-radius: 2px 2px 0 0; }
.product-nav__link:hover { color: var(--tx); }
.product-nav__link.is-active { color: var(--gd); }
.product-nav__link.is-active::after { transform: scaleX(1); }

.product-section { scroll-margin-top: 140px; }
.product-section__title { font-family: var(--font-h); font-weight: 800; font-size: 28px; color: var(--tx); margin: 0 0 24px; }
.product-section__content { font-size: 15px; line-height: 1.7; color: var(--tx); }
.product-section__content img { max-width: 100%; height: auto; margin: 16px 0; border-radius: 8px; }
.product-section__content h3, .product-section__content h4 { margin-top: 1.5em; }

/* Product attributes table */
.product-attrs { width: 100%; border-collapse: collapse; margin-top: 20px; }
.product-attrs th, .product-attrs td { padding: 12px 16px; border-bottom: 1px solid var(--b2); text-align: left; font-size: 14px; }
.product-attrs th { background: var(--b0); width: 35%; font-weight: 700; color: var(--tx); }
.product-attrs td { color: var(--b5); }

/* Списки характеристик в формате <li><span>Параметр</span><span>Значение</span></li> (формат aquaphor) */
#specs .product-section__content ul { list-style: none; padding: 0; margin: 0 0 20px; border: 1px solid var(--b2); border-radius: var(--radius); overflow: hidden; }
#specs .product-section__content ul li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--b2); background: var(--white); }
#specs .product-section__content ul li:nth-child(odd) { background: var(--b0); }
#specs .product-section__content ul li:last-child { border-bottom: none; }
#specs .product-section__content ul li > span:first-child { color: var(--b5); font-size: 14px; flex: 1; }
#specs .product-section__content ul li > span:last-child { color: var(--tx); font-family: var(--font-h); font-weight: 700; font-size: 14px; text-align: right; }
/* HTML-таблицы характеристик */
#specs .product-section__content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; border: 1px solid var(--b2); border-radius: var(--radius); overflow: hidden; }
#specs .product-section__content table tr:nth-child(odd) td { background: var(--b0); }
#specs .product-section__content table td, #specs .product-section__content table th { padding: 12px 16px; border-bottom: 1px solid var(--b2); text-align: left; font-size: 14px; }
#specs .product-section__content table th { font-weight: 700; color: var(--tx); }
#specs .product-section__content table td:first-child { color: var(--b5); }
#specs .product-section__content table td:last-child { color: var(--tx); font-weight: 600; }
/* Спрячем декоративные кнопки aquaphor типа "показать все" */
#specs .product-section__content #show_all_chars_comp,
#specs .product-section__content [id^="show_all"] { display: none; }

/* ====================================================================
   Скрываем все cart-элементы WooCommerce
   ==================================================================== */
.woocommerce form.cart,
.woocommerce-page form.cart,
.woocommerce .quantity,
.add_to_cart_button,
.product_type_simple.cart,
.button.product_type_simple,
.single_add_to_cart_button,
.woocommerce ul.products li.product .button.add_to_cart_button,
.product-info__buttons .cart,
.product-info__buttons form.cart,
.product-info__buttons .quantity,
.product-info__buttons button.single_add_to_cart_button,
.product-info__buttons .single_add_to_cart_button,
.woocommerce-mini-cart,
.cart_totals,
.cart-collaterals,
.woocommerce-cart-form,
li.menu-item-cart,
.cart-contents,
.cart-customlocation,
a.added_to_cart {
    display: none !important;
}

/* ====================================================================
   ORDER POPUP — модалка "Заказать"
   ==================================================================== */
.uzw-popup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.uzw-popup[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.uzw-popup__overlay { position: absolute; inset: 0; background: rgba(13,27,46,.7); backdrop-filter: blur(4px); }
.uzw-popup__dialog { position: relative; width: 100%; max-width: 760px; max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: translateY(20px); transition: transform .3s ease; }
.uzw-popup[aria-hidden="false"] .uzw-popup__dialog { transform: translateY(0); }
.uzw-popup__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--b0); color: var(--tx); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: all .2s; }
.uzw-popup__close:hover { background: var(--b2); }

.uzw-popup__grid { display: grid; grid-template-columns: 280px 1fr; min-height: 480px; }
.uzw-popup__media { background: var(--b0); display: flex; align-items: center; justify-content: center; padding: 32px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.uzw-popup__media img { max-width: 100%; max-height: 320px; object-fit: contain; }

.uzw-popup__body { padding: 36px 36px 28px; }
.uzw-popup__title { font-family: var(--font-h); font-weight: 800; font-size: 24px; margin: 0 0 8px; color: var(--tx); }
.uzw-popup__product { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--b2); }
.uzw-popup__subtitle { font-size: 14px; color: var(--b5); margin: 0 0 24px; }

/* Режим "общая заявка" (без товара) — скрываем фото и блок продукта, форма на всю ширину */
.uzw-popup__dialog.is-generic .uzw-popup__media,
.uzw-popup__dialog.is-generic .uzw-popup__product { display: none; }
.uzw-popup__dialog.is-generic .uzw-popup__grid { grid-template-columns: 1fr; min-height: 0; }
.uzw-popup__dialog.is-generic .uzw-popup__body { padding: 36px 36px 28px; }
.uzw-popup__product-name { font-family: var(--font-h); font-weight: 700; font-size: 16px; color: var(--gd); line-height: 1.3; }
.uzw-popup__product-sku { font-size: 12px; color: var(--b5); margin-top: 4px; letter-spacing: .5px; text-transform: uppercase; }
.uzw-popup__product-sku:empty { display: none; }

.uzw-popup__row { margin-bottom: 14px; }
.uzw-popup__row label { display: block; font-size: 13px; font-weight: 600; color: var(--tx); margin-bottom: 6px; }
.uzw-popup__row label span { color: var(--g); }
.uzw-popup__row input, .uzw-popup__row textarea { width: 100%; padding: 11px 14px; font-family: inherit; font-size: 15px; color: var(--tx); background: var(--b0); border: 1px solid var(--b2); border-radius: var(--radius-sm); transition: border .2s; }
.uzw-popup__row input:focus, .uzw-popup__row textarea:focus { outline: none; border-color: var(--g); background: var(--white); }
.uzw-popup__row textarea { resize: vertical; min-height: 80px; }

.uzw-popup__submit { width: 100%; justify-content: center; margin-top: 8px; }
.uzw-popup__submit:disabled { opacity: .6; cursor: wait; }
.uzw-popup__note { font-size: 12px; color: var(--b5); text-align: center; margin: 12px 0 0; }
.uzw-popup__error { margin-top: 12px; padding: 10px 14px; background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: 8px; color: #B91C1C; font-size: 13px; }
.uzw-popup__success { text-align: center; padding: 24px 8px; }
.uzw-popup__success-icon { color: var(--g); margin-bottom: 16px; }
.uzw-popup__success h3 { font-family: var(--font-h); font-weight: 800; font-size: 22px; color: var(--gd); margin: 0 0 8px; }
.uzw-popup__success p { color: var(--b5); margin: 0 0 24px; }

body.uzw-popup-open { overflow: hidden; }

@media (max-width: 768px) {
    .uzw-popup { padding: 12px; align-items: flex-end; }
    .uzw-popup__dialog { max-height: 95vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .uzw-popup__grid { grid-template-columns: 1fr; min-height: 0; }
    .uzw-popup__media { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 16px; }
    .uzw-popup__media img { max-height: 160px; }
    .uzw-popup__body { padding: 20px 20px 16px; }
    .uzw-popup__title { font-size: 20px; }
}

/* ====================================================================
   RELATED SLIDER — карусель похожих товаров
   ==================================================================== */
.related-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.related-head .product-section__title { margin: 0; }

.related-slider { position: relative; }
.related-slider__nav { display: flex; gap: 8px; }
.related-slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--b2); background: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--tx); transition: all .2s; }
.related-slider__btn:hover:not(:disabled) { background: var(--gl); border-color: var(--g); color: var(--g); transform: translateY(-1px); }
.related-slider__btn:disabled { opacity: .3; cursor: default; }
.related-slider__btn--prev .uzw-icon { transform: rotate(180deg); }

.related-slider__track {
    display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 4px 4px 16px; margin: -4px;
    /* Скрываем нативный скроллбар (Firefox / IE / Edge) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* Chrome / Safari / новый Edge */
.related-slider__track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.related-slider__track > .prod-card { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; min-width: 0; }
@media (max-width: 1100px) { .related-slider__track > .prod-card { flex-basis: calc(33.333% - 14px); } }
/* Чёткие фото на retina-экранах (image-rendering hint) */
.related-slider__track .prod-card__media,
.related-slider__track .prod-card__img { image-rendering: -webkit-optimize-contrast; }

@media (max-width: 1024px) {
    .related-slider__track > .prod-card { flex-basis: calc(50% - 12px); }
}
@media (max-width: 768px) {
    .related-slider__track > .prod-card { flex-basis: 78%; }
    .related-slider__btn { width: 38px; height: 38px; }
}

/* WC pagination — минималистично, без коробок */
.wc-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}
.wc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.wc-pagination .page-numbers li {
    list-style: none;
    display: flex;
}
.wc-pagination .page-numbers a,
.wc-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: transparent;
    color: var(--tx);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .15s, color .15s;
    margin: 0;
    border: none;
}
.wc-pagination .page-numbers a:hover {
    background: var(--b1);
    color: var(--g);
}
.wc-pagination .page-numbers .current {
    background: var(--g);
    color: var(--white);
    pointer-events: none;
}
.wc-pagination .page-numbers .dots {
    color: var(--b5);
    cursor: default;
    min-width: 24px;
}
.wc-pagination .page-numbers .prev,
.wc-pagination .page-numbers .next {
    color: var(--g);
    font-weight: 700;
}
.wc-pagination .page-numbers .prev:hover,
.wc-pagination .page-numbers .next:hover {
    background: var(--gl);
    color: var(--gd);
}
@media (max-width: 768px) {
    .wc-pagination .page-numbers a,
    .wc-pagination .page-numbers span { min-width: 36px; height: 36px; font-size: 14px; }
}

/* ====================================================================
   RESPONSIVE (single product / catalog)
   ==================================================================== */
@media (max-width: 1024px) {
    .cat-grid--top { grid-template-columns: repeat(2, 1fr); }
    .cat-grid--sub { grid-template-columns: repeat(3, 1fr); }
    .product-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .product-info__title { font-size: 26px; }
}
@media (max-width: 768px) {
    .cat-grid--top, .cat-grid--sub { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cat-tile { padding: 14px; gap: 12px; flex-direction: column;}
    .cat-tile__count{display:none;}
    .cat-tile__media { width: 64px; height: 64px; }
    .cat-tile__title { font-size: 12px; text-align:center;}
    .catalog-group__head { flex-direction: column; align-items: flex-start; }
    .catalog-group__title { font-size: 22px; }
    .cat-tile__arrow {display:none;}
    .catalog-nav, .product-nav { top: 60px; }
    .product-nav__link { padding: 14px 14px; font-size: 14px; }
    .product-hero { padding: 16px 0 32px; }
    .product-gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
    .product-info__title { font-size: 22px; }
    .product-info__price { font-size: 24px; }
    .product-section__title { font-size: 22px; }
}

/* ----------------- PROSE (для контента WP редактора) ----------------- */
.prose h2 { font-size: 28px; margin-top: 1.5em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.5em; margin: 0 0 1em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--g); text-decoration: underline; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
    .section { padding: 64px 0; }
    .section__title { font-size: 32px; }
    .hero { padding: 64px 0 100px; }
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__title { font-size: 42px; }
    .trust__grid { grid-template-columns: repeat(3, 1fr); }
    .cats__grid { grid-template-columns: repeat(3, 1fr); }
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .dealer { grid-template-columns: 1fr; padding: 40px; }
    .advantages__grid { grid-template-columns: repeat(2, 1fr); }
    .advantages--6 .advantages__grid { grid-template-columns: repeat(2, 1fr); }
    .delivery__grid { grid-template-columns: 1fr; }
    .pay__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .supplies__grid { grid-template-columns: 1fr; }
    .contacts__grid { grid-template-columns: 1fr; }
    .story__grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .team__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    :root { --container-pad: 16px; }
    body { font-size: 15px; }
    .section { padding: 48px 0; }
    .section__title { font-size: 26px; }
    .section__head { margin-bottom: 32px; }

    /* ШАПКА на мобиле: только лого + бургер, телефоны и Telegram-кнопка скрыты */
    .site-header__inner { padding: 12px; gap: 12px; justify-content: space-between; }
    .site-nav { position: fixed; top: 0; right: -100%; bottom: 0; width: 280px; background: var(--white); z-index: 200; padding: 80px 24px 24px; box-shadow: var(--shadow-lg); transition: right .3s ease; }
    .site-nav.is-open { right: 0; }
    .site-nav__list { flex-direction: column; gap: 4px; }
    .site-nav__list a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--b2); }

    /* Мобильное меню: блок телефонов + соцсетей после списка пунктов */
    .site-nav__mobile-extra { display: block; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--b2); }
    .site-nav__phones { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
    .site-nav__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: 17px; color: var(--tx); padding: 0; border: none; }
    .site-nav__phone .uzw-icon { color: var(--g); flex-shrink: 0; }
    .site-nav__phone:hover { color: var(--g); }
    .site-nav__hours { font-size: 13px; color: var(--b5); margin-top: -6px; padding-left: 28px; }
    .site-nav__socials { display: flex; gap: 10px; flex-wrap: wrap; }
    /* В мобильном меню .contact-social тёмный фон не нужен — он на белом */
    .site-nav__socials .contact-social { background: var(--b0); border-color: var(--b2); color: var(--g); }
    .site-nav__socials .contact-social--tg:hover { color: #fff; }
    .site-nav__socials .contact-social--ig:hover { color: #fff; }
    .site-nav__socials .contact-social--fb:hover { color: #fff; }
    .site-nav__toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
    .site-header__phones { display: none; }
    .site-header__cta .btn-tg { display: none; }
    .site-logo__tagline { display: none; }

    /* КНОПКИ на мобиле: full-width до 320px, центрированные */
    .btn { display: flex; max-width: 320px; width: 100%; margin: 10px auto; justify-content: center; }
    .site-header__cta .btn { display: inline-flex; width: auto; max-width: none; margin: 0; }
    /* Группы кнопок — стопкой */
    .hero__buttons, .cta__buttons, .product-info__buttons { flex-direction: column; align-items: center; gap: 8px; }
    .hero__buttons .btn, .cta__buttons .btn, .product-info__buttons .btn { margin: 0; }

    .hero { padding: 48px 0 80px; }
    .hero__title { font-size: 32px; letter-spacing: -.5px; }
    .hero__desc { font-size: 16px; }
    .hero__usp { padding: 24px; }

    .trust__grid { grid-template-columns: 1fr; gap: 16px; }
    .cats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cat-card { padding: 20px; }
    .products__grid { grid-template-columns: 1fr; }
    .advantages__grid { grid-template-columns: 1fr; }
    .advantages--6 .advantages__grid { grid-template-columns: 1fr; }
    .pay__grid { grid-template-columns: 1fr 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat__number { font-size: 40px; }
    .team__grid { grid-template-columns: 1fr; }
    .warranty { padding: 32px 24px; }
    .cta { padding: 40px 24px; }
    .cta__title { font-size: 26px; }
    .page-hero__title { font-size: 26px; }
    .dealer__badges { grid-template-columns: 1fr; }
    .dealer { padding: 28px; }
    .dealer__h { font-size: 26px; }

    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
    .site-footer__bottom-inner { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
    .site-footer__copyright { flex-direction: column; align-items: flex-start; gap: 4px; }
    .site-footer__credit::before { content: none; }
    .site-footer__credit { padding: 0; }
    .site-footer__payments { gap: 6px; }
    .site-footer__links-bottom { gap: 14px; flex-wrap: wrap; }

    /* Адаптив: каталог */
    .catalog-group__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .catalog-group__title { font-size: 22px; }
    .catalog-group__head .btn { width: auto; max-width: none; margin: 0; }

    /* Адаптив: single product */
    .product-hero { padding: 16px 0 24px; }
    .product-hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .product-info__title { font-size: 22px; }
    .product-info__price { font-size: 22px; }
    .product-info__usp { padding: 14px; }
    .product-info__usp li { font-size: 13px; }
    .product-gallery__main { padding: 16px; }
    .product-gallery__thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .product-section { padding: 32px 0; }
    .product-section__title { font-size: 22px; }
    .product-nav__inner { gap: 0; }
    .product-nav__link { padding: 14px 12px; font-size: 13px; }
    /* Списки характеристик в две строки на мобиле */
    #specs .product-section__content ul li { flex-direction: column; gap: 4px; align-items: flex-start; padding: 10px 14px; }
    #specs .product-section__content ul li > span:last-child { text-align: left; }

    /* Адаптив: archive (категория) */
    .cat-card-wc { display: flex; }
    .cat-card-wc__media { height: 180px; padding: 12px; }

    /* Адаптив: пагинация */
    .wc-pagination { margin-top: 32px; }

    /* Адаптив: breadcrumbs */
    .breadcrumbs { font-size: 12px; }
    .breadcrumbs span, .breadcrumbs a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
}

/* Очень узкие экраны (iPhone SE и подобные) */
@media (max-width: 380px) {
    .site-logo__main { font-size: 20px; }
    .hero__title, .page-hero__title { font-size: 24px; }
    .section__title { font-size: 22px; }
    .cats__grid, .cat-grid--top, .cat-grid--sub { grid-template-columns: 1fr; }
}
