/* ======================= 
   THEME TOKENS
======================= */
:root{
  --brand-text:#1c5d47;
  --brand-accent:#d3af37;
  --brand-bg:#fff;
  --surface:#f6f7f8;
  --surface-2:#eef1f2;
  --text:#0f2f25;
  --muted:#6b7280;
  --border:#e6e8eb;

  /* отступ, чтобы под фуллскрин-баннером контент начинался ниже */
  --hero-offset:62vh;

  /* глобальные семейства шрифтов */
  --otto-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  --otto-serif: "Playfair Display","Bodoni Moda", Georgia, "Times New Roman", serif;
}

/* =======================
   GLOBAL
======================= */
html,body{height:100%}
html, body { margin:0; padding:0; overflow-x: clip; }
body{
  background:var(--brand-bg);
  color:var(--brand-text);
  font-family: var(--otto-sans);
  font-weight: 400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,h5,h6,
.section-title,
.hero__title,
.mega-list .mega-parent,
.pf-name{
  font-family: var(--otto-serif);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.08;
}
a{color:var(--brand-text);text-decoration:none}
a:hover{color:var(--brand-accent)}
img, video{max-width:100%;height:auto;display:block}
.container-xl{max-width:1220px;margin:0 auto;padding:0 16px}

/* точная ширина fullbleed без горизонтального скролла
   с учётом ширины вертикального скроллбара (чтобы не было сдвига вправо) */
:root { --sbw: calc(100vw - 100%); }

.page-bg,
.fullbleed,
.full-bleed,
.section.fullbleed {
  width: calc(100vw - var(--sbw));
  margin-left: calc(50% - 50vw + var(--sbw) / 2);
  margin-right: calc(50% - 50vw + var(--sbw) / 2);
}



/* =======================
   HEADER / TOPBAR / FOOTER
======================= */
.topbar{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 1000;
}
.topbar__wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 8px 0;
}
.topbar__left{ display:flex; gap:18px; }
.topbar__right{ display:flex; gap:14px; align-items:center; }
.topbar__link{
  color:#1c5d47; text-decoration:none; font-weight:600; opacity:.9;
}
.topbar__link:hover{ color:#d3af37; opacity:1; }
.topbar__phone{
  color:#1c5d47; font-weight:700; text-decoration:none; white-space:nowrap;
}
.lang-mini{ display:inline-flex; gap:6px; }
.lang-mini .pill{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:32px; padding:4px 8px;
  border:1px solid #e5e7eb; border-radius:999px;
  background:#fff; color:#1c5d47; font-weight:700; line-height:1;
  text-decoration:none;
}
.lang-mini .pill:hover{ background:#f6f7f8; }
.lang-mini .pill.is-active{ background:#1c5d47; color:#fff; border-color:#1c5d47; }

/* CTA */
.btn-cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border-radius:12px; font-weight:700; text-decoration:none;
}
.btn-cta--red{
  background:#e63946; color:#fff; box-shadow:0 10px 24px rgba(230,57,70,.25);
}
.btn-cta--red:hover{ filter:brightness(.96); }

/* header */
.header{
  position: sticky; top: var(--topbar-h, 48px); z-index: 980;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition:box-shadow .25s ease,background .25s ease;
}
.header.is-sticky{background:rgba(255,255,255,.9);box-shadow:0 8px 28px rgba(0,0,0,.07)}
.header__bar{ display:flex; align-items:center; justify-content:space-between; gap:26px; padding:12px 0; max-width:1220px; margin:0 auto; }
.logo img{height: 36px;}
.lang-compact{ position:relative; z-index:1001; }

@media (min-width:0){ :root{ --topbar-h: 44px; } }

/* footer */
.site-footer{
  background:#fff;
  color:#0f2f25;
  border-top:1px solid #e6e8eb;
  width:100%;
}
.footer-top{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:24px;
  padding:28px 16px 22px;
}
.footer-logo img{ height:42px; display:block; }
.footer-note{ margin:10px 0 0; color:#475569; max-width:42ch; }
.footer-title{ font-weight:700; margin-bottom:10px; }
.footer-links, .footer-contacts{
  list-style:none; margin:0; padding:0; display:grid; gap:6px;
}
.footer-links a{ color:#0f2f25; text-decoration:none; }
.footer-links a:hover{ color:#1c5d47; text-decoration:underline; }
.footer-contacts a{ color:#1c5d47; text-decoration:none; }
.footer-contacts a:hover{ text-decoration:underline; }
.footer-social{ display:flex; gap:10px; margin-top:12px; }
.footer-social .social{
  width:34px; height:34px; border:1px solid #e6e8eb; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  color:#1c5d47; background:#fff; transition:transform .15s ease, background .15s ease;
}
.footer-social .social:hover{ background:#f6f7f8; transform:translateY(-1px); }
.footer-bottom{ border-top:1px solid #e6e8eb; background:#fff; }
.footer-bottom__wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px;
}
.footer-bottom a{ color:#6b7280; text-decoration:none; }
.footer-bottom a:hover{ color:#1c5d47; }
@media (max-width: 960px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
  .footer-bottom__wrap{ flex-direction:column; gap:6px; }
}

/* =======================
   MAIN NAV + MEGA DROPDOWN
======================= */
.mainnav{display:flex;gap:26px;align-items:center;flex:1 1 auto}
.mainnav .nav-link{position:relative;padding:8px 4px;color:#143a2e;font-weight:600}
.mainnav .nav-link::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:transparent;transform:scaleX(0);transition:background .2s,transform .2s}
.mainnav .nav-link:hover::after{background:var(--brand-accent);transform:scaleX(1)}
.dropdown{position:relative}
.dropdown.mega .dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  z-index:1000;
  grid-template-columns:260px 260px 520px;
  gap:18px;
  padding:16px;
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(28,93,71,.20);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  animation:fadeInMenu .25s ease forwards;
}

/* Показываем мегаменю только когда JS добавил .is-open */
.dropdown.mega .dropdown-menu.is-open{
  display:grid;
}

@keyframes fadeInMenu{
  0%{opacity:0;transform:translateY(6px) scale(.98)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

.mega-left,.mega-center{min-width:240px;display:flex;flex-direction:column;gap:6px}
.mega-title{font-weight:700;margin:2px 0 10px;color:#0f2f25}
.mega-list,.mega-sublist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.mega-item,.mega-parent,.mega-child{
  display:block;padding:9px 12px;border-radius:10px;text-decoration:none;
  color:#103a2e;background:transparent;transition:all .25s ease
}
.mega-item:hover,.mega-parent:hover,.mega-child:hover{
  background:rgba(211,175,55,.18);color:#0d2e25
}
.mega-parent.is-active{background:#eef1f2;color:#0f2f25}

.mega-center{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);border-radius:14px;padding:12px}
.mega-right{width:520px;height:340px;border-radius:14px;overflow:hidden;position:relative}
.mega-preview{position:relative;width:100%;height:100%;background:#f3f4f6;border-radius:14px;overflow:hidden}
.mega-preview img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:opacity .4s.ease,transform 2.5s.ease;transform:scale(1.03)
}
.mega-preview img.is-fade-out{opacity:0;transform:scale(1.05)}
@keyframes zoomPulse{0%{transform:scale(1.03)}100%{transform:scale(1.08)}}
.mega-preview img.animate-zoom{animation:zoomPulse 10s ease-in-out infinite alternate}
@media (max-width:1100px){
  .mainnav{gap:18px}
  .dropdown.mega .dropdown-menu{grid-template-columns:1fr;width:min(92vw,860px)}
  .mega-right{width:100%;height:min(40vw,360px)}
}


/* =======================
   LANGUAGE TOGGLE (dropdown)
======================= */
.lang-toggle{position:relative;z-index:4000}
.lang-group{
  display:inline-flex;align-items:center;gap:0;
  background:rgba(255,255,255,.65);backdrop-filter:blur(10px);
  border:1px solid rgba(28,93,71,.18);border-radius:999px;overflow:hidden
}
.lang-btn{
  appearance:none;border:0;background:transparent;padding:6px 12px;
  font-weight:600;line-height:1;cursor:pointer;color:var(--brand-text)
}
.lang-btn + .lang-btn{border-left:1px solid rgba(28,93,71,.12)}
.lang-btn:is(:hover,:focus){background:rgba(211,175,55,.12);outline:none}
.lang-btn.is-active{background:var(--brand-accent);color:#111}
.lang-switcher{position:relative;z-index:3200}
.lang-btn .caret{transition:transform .2s ease;opacity:.75}
.lang-switcher.is-open .lang-btn .caret{transform:rotate(180deg)}
.lang-menu{
  position:fixed;top:0;left:0;min-width:180px;visibility:hidden;opacity:0;transform:translateY(4px);
  background:rgba(255,255,255,.9);backdrop-filter:blur(10px) saturate(180%);-webkit-backdrop-filter:blur(10px) saturate(180%);
  border:1px solid rgba(0,0,0,.06);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1);padding:6px;display:none;z-index:100000;
  transition:opacity .15s ease,transform .15s ease
}
.lang-switcher.is-open .lang-menu{display:block;visibility:visible;opacity:1;transform:none}
.lang-menu ul{list-style:none;margin:0;padding:4px}
.lang-item{width:100%;text-align:left;padding:8px 10px;border-radius:8px;border:0;background:transparent;color:#143a2e;cursor:pointer}
.lang-item:hover{background:#f3f4f6;color:#0f2f25}

/* =======================
   BACKGROUND SLIDESHOW (Ken Burns)
======================= */
.page-bg{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;background:#000}
.page-bg__layer{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
.page-bg__layer.is-active{opacity:1}
.page-bg__img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transform:scale(1.08);will-change:transform,opacity;animation:kenburns 12s ease-in-out infinite alternate;
  filter:saturate(1.05) contrast(1.02)
}
@keyframes kenburns{0%{transform:scale(1.06)}100%{transform:scale(1.12)}}
.page-bg__overlay{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,.20) 40%,rgba(0,0,0,.32)),
    radial-gradient(120% 70% at 50% 110%,rgba(0,0,0,.45) 0%,rgba(0,0,0,0) 55%),
    radial-gradient(140% 60% at 0% 0%,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 55%),
    radial-gradient(140% 60% at 100% 0%,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 55%);
  opacity:.35;
  mix-blend-mode: normal;
  pointer-events:none;
}

/* =======================
   SECTIONS / GLASS
======================= */
.section{position:relative;z-index:0;padding:8px 0 20px}
.section + .section{margin-top:14px}
.section .container-xl{position:relative;z-index:2}
.glass{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.35);
  border-radius:16px;
  box-shadow:0 10px 30px rgba(16,24,40,.10);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
}
.glass:not(.hero-glass){
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  border-radius:0!important;padding:22px 24px
}
@media (max-width:640px){.glass:not(.hero-glass){padding:18px 16px}}
.section-head{margin:4px 0 14px}
.section-title{margin:0;font-size:28px;line-height:1.25;color:#0f2f25}
.section-sub{margin:6px 0 0;color:#475569}

/* Tiles inside glass */
.glass-tiles{display:grid;gap:14px;grid-template-columns:repeat(4,1fr);padding:14px}
@media (max-width:1024px){.glass-tiles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.glass-tiles{grid-template-columns:1fr}}
.tile{background:var(--surface);border:1px solid var(--surface-2);border-radius:12px;overflow:hidden}
.tile--glass{background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.45)}
.tile__image{aspect-ratio:4/3;background:rgba(0,0,0,.06)}
.tile__body{padding:12px 14px;display:flex;justify-content:space-between;align-items:center;backdrop-filter:blur(4px)}
.tile__title{font-weight:600;color:var(--brand-text)}

/* =======================
   HERO
======================= */
.hero-glass{
  width:50vw;max-width:none;margin-left:auto;margin-right:0;
  border-radius:0!important;padding:40px 48px;
  background:rgba(255,255,255,.65);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 6px 24px rgba(0,0,0,.12);
  display:flex;gap:24px;align-items:center;justify-content:center
}
.hero__left,.hero__right{flex:1 1 50%;padding:0}
.hero__title{font-size:42px;line-height:1.2;color:var(--brand-text);margin:0 0 12px}
.hero__subtitle{font-size:18px;opacity:.8;margin:0 0 18px}
.hero__cta a{display:inline-block;padding:14px 22px;background:var(--brand-accent);color:var(--brand-text);border-radius:10px;font-weight:600}
@media (max-width:1024px){
  .hero-glass{width:100%;margin:0;border-radius:0;flex-direction:column;padding:24px}
}
/* белые заголовки на стекле/слайдере */
.hero .hero__title,
.section .glass .section-title,
.cat-left .section-title {
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.hero .hero__subtitle,
.section .glass .section-sub {
  color:rgba(255,255,255,.9);
  text-shadow:0 1px 6px rgba(0,0,0,.25);
}
.pf-card .pf-name a,
.glass.form h3 { color:#0f2f25; text-shadow:none; }

/* Сдвиг контента ниже фонового баннера */
.below-hero{margin-top:var(--hero-offset)!important}
.page-bg + .below-hero{margin-top:var(--hero-offset)!important}
@media (max-width:1024px){:root{--hero-offset:52vh}}
@media (max-width:640px){:root{--hero-offset:42vh}}

/* =======================
   CATEGORY / LISTING CARDS
======================= */
.cat-head{margin:12px 0 14px;display:flex;flex-direction:column;gap:8px}
.cat-title{font-size:32px;line-height:1.2;margin:0 0 8px;color:var(--brand-text)}
.cat-desc{color:#667085}
.cards-grid{display:grid;gap:20px;margin:10px 0 28px}
.cards-grid.cards-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:1100px){.cards-grid.cards-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.cards-grid.cards-3{grid-template-columns:1fr}.cat-title{font-size:26px}}

.card-large{
  background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;will-change:transform
}
.card-large:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.06)}
.card-cover{display:block;aspect-ratio:4/3;background:#f3f4f6}
.card-cover img{width:100%;height:100%;object-fit:cover}
.card-body{padding:14px 16px 12px;display:flex;flex-direction:column;gap:8px}
.card-title{font-size:22px;line-height:1.25;margin:0}
.card-title a{color:var(--text)}
.card-title a:hover{text-decoration:underline}
.card-meta{font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center}
.muted{color:var(--muted)}
.card-row{margin-top:6px;padding-top:10px;border-top:1px solid var(--surface-2);display:flex;align-items:center;justify-content:space-between;gap:12px}
.card-price strong{font-size:18px;color:var(--text)}
.card-cta{padding:10px 12px;border-radius:10px;background:var(--brand-accent);color:#111;font-weight:600;white-space:nowrap}
.card-cta:hover{filter:brightness(.95)}
.cat-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}

/* =======================
   BREADCRUMBS
======================= */
.breadcrumbs{list-style:none;margin:0;padding:14px 0 8px;display:flex;gap:8px;flex-wrap:wrap;font-size:13px}
.breadcrumbs li a{opacity:.8;color:var(--muted)}
.breadcrumbs li::after{content:"›";margin:0 6px;opacity:.4}
.breadcrumbs li:last-child::after{content:""}
.breadcrumbs li:last-child a{color:var(--text);pointer-events:none;opacity:1}

/* =======================
   PAGINATION
======================= */
.pagination{display:flex;flex-wrap:wrap;gap:8px}
.pagination a,.pagination b,.pagination span{
  display:inline-block;padding:8px 12px;border:1px solid var(--border);
  border-radius:10px;color:var(--text)
}
.pagination b,.pagination .active,.pagination a:hover{
  background:var(--brand-text);border-color:var(--brand-text);color:#fff
}

/* =======================
   COMPARE / PRODUCT
======================= */
.compare-list{display:grid;gap:12px}
.compare-item{display:flex;gap:14px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff}
.compare-thumb img{width:120px;height:90px;object-fit:cover;border-radius:10px}
.prod-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;margin:12px 0 28px}
@media (max-width:900px){.prod-wrap{grid-template-columns:1fr}}
.prod-gallery img{width:100%;border-radius:14px}
.prod-desc{margin:10px 0 14px;color:#475569}

/* =======================
   FORMS
======================= */
.form{max-width:1220px;margin:24px auto 48px;background:var(--surface);border:1px solid var(--surface-2);border-radius:16px;padding:20px}
.form h3{margin-top:0}
.form__row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media (max-width:1024px){.form__row{grid-template-columns:1fr}}
.form input,.form textarea{width:100%;padding:12px;border-radius:10px;border:1px solid var(--surface-2);background:#fff;color:var(--brand-text)}
.form button{margin-top:12px;padding:12px 16px;border-radius:10px;background:var(--brand-accent);color:#121212;font-weight:600;border:0}

/* =======================
   CAROUSEL (модули товаров)
======================= */
.carousel{position:relative;overflow:hidden;padding:8px 4px 16px}
.carousel .row{display:flex!important;flex-wrap:nowrap!important;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.carousel .row::-webkit-scrollbar{display:none}
.carousel .product-layout{flex:0 0 320px;max-width:320px;scroll-snap-align:center}
@media (max-width:768px){.carousel .product-layout{flex-basis:260px;max-width:260px}}
.carousel .product-thumb,.carousel .product-thumb .image img{width:100%}
.carousel .product-thumb{border:1px solid #e6e8eb;border-radius:12px;background:#fff;overflow:hidden;transition:transform .2s,box-shadow .2s}
.carousel .product-thumb:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(0,0,0,.08)}
.carousel .product-thumb .image{aspect-ratio:4/3;background:#f5f6f7}
.carousel .product-thumb .caption{padding:12px 14px}
.carousel .product-thumb .button-group{padding:0 14px 12px}

/* =======================
   RESPONSIVE TWEAKS
======================= */
@media (max-width:1024px){
  .grid{grid-template-columns:repeat(2,1fr)}
}

/* =======================
   PORTFOLIO / PF GRID
======================= */
/* Masonry-like 3 columns 6/4/6 */
.pf.fullbleed{ width:100vw; margin-left:calc(50% - 50vw); padding-inline:16px; }
.pf-head{padding:8px 0 12px;}
.pf-title{margin:0; font-weight:800; letter-spacing:.02em; font-size: clamp(22px, 3vw, 32px);}
.pf-sub{margin:6px 0 0; color:#6b7280;}
.pf-grid{ --v-gap:16px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.pf-col{ display:flex; flex-direction:column; row-gap:var(--v-gap); }
.pf-card{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:18px; overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.08); transition:transform .18s ease, box-shadow .18s ease;
  display:flex; flex-direction:column;
}
.pf-card:hover{ transform:translateY(-2px); box-shadow:0 18px 42px rgba(0,0,0,.12); }
.pf-cover{display:block; background:#f3f4f6; position:relative; flex:1 1 auto; min-height:0; overflow:hidden;}
.pf-cover img{
  position:absolute; inset:0; width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center !important; display:block !important;
  margin:0 !important; padding:0 !important; border:0 !important;
}
.pf-body{padding: 19px 14px 42px !important;}
.pf-name{ margin:0; font-size:15px; line-height:1.25; }
.pf-meta{ margin-top:4px; font-size:13px; color:#6b7280; }

/* высоты карточек (без белых полос) */
.pf-card--square{ grid-row: span 35 !important; }
.pf-card--tall  { grid-row: span 45 !important; }

@media (max-width:1100px){
  .pf-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pf-col:nth-child(2) .pf-card--tall .pf-cover{ aspect-ratio:1/1; }
}
@media (max-width:640px){
  .pf-grid{ grid-template-columns:1fr; }
}

/* ==== ГЛОБАЛЬНО: убираем белую «полосу» над фото в product-thumb ==== */
.product-thumb .image,
.product-thumb .image a {
  position: relative !important;
  display: block !important;
  padding: 0 !important;
  height: auto !important;
  overflow: hidden;
  background: #f3f4f6;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  aspect-ratio: 4 / 3;
}
.product-thumb .image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center;
  display: block !important;
  border-radius: 0 !important;
}
.product-thumb,
.product-thumb .image,
.product-thumb .image a {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.product-thumb .image img[style*="height"],
.product-thumb .image img[style*="width"] {
  height: 100% !important;
  width: 100% !important;
}

/* =======================
   ARTICLES (dark section)
======================= */
.articles{background:#0f0f10; color:#fff; padding:32px 0 44px;}
.articles__inner{max-width:1200px; margin:0 auto; padding:0 24px;}
.articles__head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:16px;}
.articles__title{margin:0; font-size:clamp(24px,3.2vw,56px); font-weight:800; letter-spacing:.01em;}
.chips{display:flex; flex-wrap:wrap; gap:8px;}
.chip{display:inline-flex; align-items:center; height:34px; padding:0 12px; border-radius:999px; background:#222; color:#dcdcdc; text-decoration:none; font-weight:600; border:1px solid rgba(255,255,255,.08);}
.chip:hover{background:#2b2b2c; color:#fff;}
.articles__grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px;}
@media(max-width:1100px){.articles__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.articles__grid{grid-template-columns:1fr}}
.a-card{background:#151516; border:1px solid rgba(255,255,255,.06); border-radius:18px; overflow:hidden; box-shadow:0 8px 22px rgba(0,0,0,.35);}
.a-card__cover{display:block; position:relative; aspect-ratio:16/9; background:#1d1d1e;}
.a-card__cover img{width:100%; height:100%; object-fit:cover; display:block;}
.a-card__badges{position:absolute; top:10px; left:10px; display:flex; gap:6px;}
.badge{background:#e21e24; color:#fff; font-size:12px; font-weight:800; padding:6px 8px; border-radius:8px;}
.a-card__title{margin:10px 14px 14px; font-size:18px; line-height:1.3; font-weight:700;}
.a-card__title a{color:#fff; text-decoration:none;}
.a-card__title a:hover{text-decoration:underline;}

/* =======================
   CTA HERO (image bg + form)
======================= */
.cta-hero{ position:relative; isolation:isolate; background:#000; min-height: 440px; display:block; }
.cta-hero::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background-image: var(--bg);
  background-size:cover; background-position:center;
}
.cta-hero__inner{ max-width:1200px; margin:0 auto; padding:28px 24px; display:grid; grid-template-columns:1.2fr 1fr; gap:24px; }
@media(max-width:900px){ .cta-hero__inner{grid-template-columns:1fr;} }
.cta-hero__headline{
  color:#fff;
  font-size: clamp(28px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing:.01em;
  text-shadow: 0 3px 16px rgba(0,0,0,.35);
}
.cta-hero__right{display:flex; align-items:center; justify-content:flex-end;}
.cta-form{
  width:min(520px, 100%);
  background:#fff; border-radius:20px;
  padding:18px; box-shadow:0 14px 40px rgba(0,0,0,.18);
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
.cta-form .field{display:flex; flex-direction:column; gap:6px;}
.cta-form label{font-size:13px; color:#6b7280;}
.cta-form input{
  height:46px; border:1px solid #e5e7eb; border-radius:10px; padding:0 12px; font-size:16px;
}
.cta-form .field--submit{grid-column:1 / -1; display:flex; justify-content:flex-start;}
.consent{grid-column:1 / -1; display:flex; align-items:center; gap:10px; color:#6b7280; font-size:13px;}
.consent--light a{color:#0f2f25; text-decoration:underline;}
.btn--primary{background:#e21e24; color:#fff; border:1px solid #e21e24; height:44px; padding:0 18px; border-radius:10px; font-weight:800;}
.btn--primary:hover{filter:brightness(.95);}

/* =======================
   SUBCATS: compact squares
======================= */
.subcats__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
@media (max-width:1200px){ .subcats__grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:820px){  .subcats__grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){  .subcats__grid{grid-template-columns:1fr;} }
.card--subcat{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px; overflow:hidden;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card--subcat:hover{ transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.10); }
.card--subcat .card__cover{display:block; aspect-ratio:1/1; background:#f3f4f6;}
.card--subcat .card__cover img{width:100%; height:100%; object-fit:cover; display:block;}
.card--subcat .card__body{padding:10px 12px 12px; gap:6px;}
.card--subcat .card__title{margin:0; font-size:16px; line-height:1.25; font-weight:700;}
.card--subcat .muted{font-size:12px;}

/* =======================
   BENEFITS (glass circles + white icons)
======================= */
.benefits{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:36px;
  margin-top:24px;
  flex-wrap:nowrap;
}
.benefit-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  min-width:160px;
}
.benefit-icon{
  position:relative;
  width:80px; height:80px;
  border-radius:50%;
  transform:translateZ(0);
}
.benefit-icon::before{
  content:"";
  position:absolute; inset:0; border-radius:50%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.32));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border:1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 26px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.06);
}
.benefit-icon::after{
  content:"";
  position:absolute; inset:18%;
  background:#fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='45' cy='45' r='42' stroke='%23ffffff' stroke-width='4'/%3E%3Cpath d='M28 45L40 56L63 34' stroke='%23ffffff' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='45' cy='45' r='42' stroke='%23ffffff' stroke-width='4'/%3E%3Cpath d='M28 45L40 56L63 34' stroke='%23ffffff' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.benefit-text{
  font-family: var(--otto-sans);
  font-weight:700;
  font-size:16px;
  line-height:1.2;
  color:#fff;
  max-width:180px;
  text-shadow:0 2px 6px rgba(0,0,0,.35);
}
.benefit-item:hover .benefit-icon{ transform: translateY(-2px); }
.benefit-item:hover .benefit-icon::before{ box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,0,0,.06); }
@media (max-width: 980px){
  .benefits{ flex-wrap:wrap; gap:24px; }
}
@media (max-width: 640px){
  .benefit-icon{ width:68px; height:68px; }
  .benefit-text{ font-size:15px; }
}

/* =======================
   MINI-CARDS subtle shadow (smoke)
======================= */
.cat-mini-panel .mini{ position: relative; z-index: 1; }
.cat-mini-panel .mini::after{
  content:""; position:absolute; left:50%; bottom:6px; width:70%; max-width:120px; height:16px;
  transform:translateX(-50%) scale(.8);
  background: radial-gradient(50% 60% at 50% 50%,
      rgba(0,0,0,.22) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,0) 70%);
  filter: blur(8px); opacity:0;
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none; z-index:0;
}
.cat-mini-panel .mini:hover::after{ opacity:.85; transform:translateX(-50%) scale(1); }
@media (max-width: 640px){
  .cat-mini-panel .mini::after{ filter: blur(7px); opacity:.75; }
}

/* =======================
   REVEAL ANIMATION
======================= */
.reveal .section-title,
.reveal .hero__title { opacity: 0; transform: translateY(8px); transition: opacity .55s ease, transform .55s ease; }
.reveal--visible .section-title,
.reveal--visible .hero__title { opacity: 1; transform: none; }
.reveal .section-sub,
.reveal .hero__subtitle { opacity: 0; transform: translateY(8px); transition: opacity .55s ease .1s, transform .55s ease .1s; }
.reveal--visible .section-sub,
.reveal--visible .hero__subtitle { opacity: 1; transform: none; }

/* =======================
   CATALOG GRID (as Maria)
======================= */
.catalog-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:22px;
}
@media (max-width:1100px){ .catalog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .catalog-grid{ grid-template-columns:1fr; } }
.card--product{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card--product:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}
.card__cover{ display:block; aspect-ratio: 16 / 10; background:#f3f4f6; }
.card__cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.card__body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:8px; }
.card__title{ margin:0; font-size:16px; line-height:1.35; }
.card__title a{ color:#0f2f25; text-decoration:none; }
.card__title a:hover{ text-decoration:underline; }
.card__price{ display:flex; gap:10px; align-items:baseline; }
.price{ font-weight:700; color:#0f2f25; }
.price--old{ color:#97a2ab; text-decoration:line-through; font-weight:500; }
.price--new{ color:#1c5d47; }
.card__cta{ margin-top:6px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; padding:10px 12px; border-radius:10px; font-weight:600; text-decoration:none; }
.btn--ghost{ border:1px solid #e5e7eb; color:#1c5d47; background:#fff; }
.btn--ghost:hover{ background:#f6f7f8; }
.glass .card--product{ background: rgba(255,255,255,.9); border-color: rgba(0,0,0,.06); }

/* ---- tighten catalog top spacing ---- */
.below-hero--tight{padding-top:6px;}
.cat-head{margin:4px 0 8px;}
.tabs{margin:4px 0 8px;}

/* kill hero offset only on catalog pages */
.below-hero--nooffset{ --hero-offset: 0; margin-top: 0 !important; padding-top: 0 !important; }
.tabs{ margin-top: 0; }

/* === SPECIAL GLASS STYLE FIX === */
#specialCarousel .card--product {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: none !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transition: transform .35s;
}

#specialCarousel .card--product:hover {
  transform: translateY(-4px);
}

#specialCarousel .card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Цены */
#specialCarousel .card__price {
  display: flex;
  gap: 8px;
}

#specialCarousel .price {
  font-weight: 700;
  font-size: 17px;
  color: #e21e24; /* красная цена */
}

#specialCarousel .price--old {
  color: #fff;
  text-decoration: line-through;
  opacity: 0.7;
}

/* === SPECIAL: MINI GLASS BADGE (BOTTOM-LEFT) === */
#specialCarousel .card__body {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 60%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgb(57 180 162 / 18%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Название */
#specialCarousel .card__title a {
  font-size: 17px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 4px;
  line-height: 1.2;
}

/* Цены */
#specialCarousel .card__price {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

#specialCarousel .price--new {
  color: #e21e24;
  font-size: 18px;
  font-weight: 700;
}

#specialCarousel .price--old {
  color: #fff;
  opacity: .7;
  text-decoration: line-through;
  font-size: 14px;
}
/* =======================
   RECOMMENDED SLIDER (REC)
   восстановленные стили
======================= */

.rec {
  position: relative;
  margin: 16px 0 12px;
}

/* область слайдера */
.rec__viewport {
  overflow: hidden;
  border-radius: 18px;
}

/* дорожка, которую двигает JS */
.rec__track {
  display: flex;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* один слайд */
.rec__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.32);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

/* левая колонка (картинка) */
.rec__left {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.rec__pic {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.rec__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.rec__left:hover img {
  transform: scale(1.04);
}

/* правая колонка (текст) */
.rec__right {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rec__right h2 {
  color: #ffffff;
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 8px;
}

.rec__right h4 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
}

.rec__name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.rec__name a {
  color: inherit;
  text-decoration: none;
}

.rec__name a:hover {
  text-decoration: underline;
}

/* кнопка внутри слайда */
.rec__actions .btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(231,76,60,.25);
  transition: transform .15s ease;
}

.rec__actions .btn:hover {
  transform: translateY(-1px);
}

/* стрелки-переключатели, если они есть */
.rec__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #0f2f25;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.rec__btn--prev { left: 16px; }
.rec__btn--next { right: 16px; }

.rec__btn:hover {
  background: rgba(0,0,0,.14);
  transform: translateY(-50%) translateY(-1px);
}

/* точки под слайдером */
.rec__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.rec__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.25);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .15s ease;
}

.rec__dot.is-active {
  background: #1c5d47;
  transform: scale(1.3);
}

/* модификатор для более «стеклянного» вида */
.rec--glass-strong .rec__slide {
  background: rgba(240,255,250,.40);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* адаптив */
@media (max-width: 1200px) {
  .rec__slide {
    grid-template-columns: minmax(220px, 42%) 1fr;
  }
}

@media (max-width: 900px) {
  .rec__slide {
    grid-template-columns: 1fr;
  }
  .rec__right {
    padding-top: 6px;
  }
}

@media (max-width: 480px) {
  .rec__right h2 { font-size: 32px; }
  .rec__right h4 { font-size: 19px; }
}


/* ===== Мобильное выравнивание блока с кружками (идеальное распределение по экрану) ===== */
@media (max-width: 767.98px) {

  /* чуть ослабляем ограничения ширины */
  .benefit-item {
    min-width: 0;
    width: auto;
  }

  .benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;   /* край – круг – круг – край с равными промежутками */
    padding: 0 20px;                  /* отступ от левого и правого края экрана */
    row-gap: 22px;                    /* расстояние между верхним и нижним рядом */
  }

  .benefits .benefit-item {
    flex: 0 0 calc(44% - 20px);       /* по два кружка в ряд */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ===== DESKTOP SOCIAL ICONS (bigger & spaced) ===== */
@media (min-width: 992px) {

  .topbar__socials .sicon__img {
    width: 24px;
    height: 24px;
  }

  .topbar__socials {
    display: flex;
    align-items: center;
    gap: 16px; /* расстояние между иконками */
  }

  .topbar__socials .sicon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
  }

  .topbar__socials .sicon:hover {
    transform: scale(1.12);
    opacity: 0.8;
  }
}
