:root{
  --bg:#ececeb;
  --header:#d9d9d8;
  --text:#2a2b2f;
  --muted:#5d616b;
  --line:#bfc1c5;
  --blue:#2f63c5;
  --dark:#23252b;
  --max:1690px;
  --shadow:0 16px 40px rgba(0,0,0,.08);
}

/* Шрифт Montserrat подключается в HTML (preconnect + link), без блокирующего @import */

/* Century Gothic — если установлен в системе.
   Иначе — бесплатные аналоги с похожей геометрией. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Century Gothic","URW Gothic L","TeX Gyre Adventor","Montserrat",Arial,Helvetica,sans-serif}
html.mobile-menu-open,
body.mobile-menu-open{overflow:hidden;overscroll-behavior:none}
a{text-decoration:none;color:inherit}img{display:block;max-width:100%}
.section{width:100%}

.site-header{position:sticky;top:0;z-index:30;background:var(--header);padding-top:env(safe-area-inset-top,0)}
.header-shell{width:min(calc(100% - 48px),var(--max));height:78px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}
.nav{display:flex;gap:44px;font-size:17px;line-height:1;color:#3e4045}
.nav-left{justify-content:flex-start}.nav-right{justify-content:flex-end}
.nav a{white-space:nowrap}.caret{font-size:10px;vertical-align:middle}

.nav-catalog{
  position:relative;
}
.nav-catalog__link{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.catalog-dropdown{
  position:absolute;
  top:140%;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  min-width:210px;
  padding:18px 20px 16px;
  background:#ffffff;
  box-shadow:var(--shadow);
  border-radius:4px;
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
  z-index:40;
}
.catalog-dropdown__title{
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}
.catalog-dropdown::before{
  content:'';
  position:absolute;
  top:-8px;
  left:50%;
  transform:translateX(-50%);
  border-width:0 8px 8px 8px;
  border-style:solid;
  border-color:transparent transparent #ffffff transparent;
}
.catalog-dropdown a{
  display:block;
  font-size:16px;
  color:#111;
  padding:5px 0;
}
.catalog-dropdown a.nav-feedback-link{
  margin-top:8px;
  padding-top:12px;
  border-top:1px solid var(--line);
  font-size:16px;
  font-weight:500;
  color:#111;
}
.catalog-dropdown a:hover,
.catalog-dropdown a.nav-feedback-link:hover{
  color:var(--blue);
}
.mobile-menu__nav a.nav-feedback-link{
  margin-top:8px;
  padding-top:14px;
  border-top:1px solid var(--line);
  font-weight:500;
}
.nav-catalog.is-open .catalog-dropdown{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.logo{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:240px;
  height:78px;
  overflow:hidden;
  line-height:1;
  font-weight:300;
  letter-spacing:.01em;
  background:transparent;
}
.logo__img{
  position:absolute;
  left:50%;
  top:50%;
  height:56px;
  max-width:none;
  object-fit:contain;
  transform:translate(-50%,-50%) scale(3);
  transform-origin:center;
  mix-blend-mode:multiply;
  pointer-events:none;
}
.header-right{display:flex;justify-content:flex-end;align-items:center;gap:36px}
.glass-btn{
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:999px;
  color:#111;
  font-size:14px;
  font-weight:500;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 14px 34px rgba(0,0,0,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.glass-btn:hover{background:rgba(255,255,255,.55); transform:translateY(-1px)}
.burger{display:none;background:none;border:0;font-size:24px;line-height:1;color:inherit;cursor:pointer;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:0;border-radius:8px;-webkit-tap-highlight-color:transparent;touch-action:manipulation}

/* Стартовый экран с логотипом */
.intro-screen{
  position:fixed;
  inset:0;
  background:var(--header);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:100;
  transition:opacity .6s ease,visibility .6s ease;
  touch-action:none;
  -webkit-user-select:none;
  user-select:none;
  cursor:grab;
}
.intro-screen:active{
  cursor:grabbing;
}
.intro-screen__inner{
  display:flex;
  align-items:center;
  justify-content:center;
}
.intro-screen__logo{
  height:160px;
  max-width:none;
  object-fit:contain;
  transform:scale(3.2);
  mix-blend-mode:multiply;
  background:transparent;
}
body.intro-done .intro-screen{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

@media (max-width:768px){
  .intro-screen__logo{
    height:120px;
    transform:scale(2.2);
  }
}

/* Мобильное меню каталога */
.mobile-menu{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:flex-start;
  justify-content:flex-end;
  z-index:90;
}
.mobile-menu__inner{
  width:min(280px,86vw);
  max-width:80%;
  max-height:calc(100vh - 64px - env(safe-area-inset-top,0px));
  max-height:calc(100dvh - 64px - env(safe-area-inset-top,0px));
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--header);
  padding:18px 20px max(24px,env(safe-area-inset-bottom,0px));
  margin-top:64px;
  margin-right:max(0px,env(safe-area-inset-right,0px));
  box-shadow:var(--shadow);
}
.mobile-menu__close{
  background:none;
  border:0;
  font-size:24px;
  line-height:1;
  margin:0 0 12px auto;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  cursor:pointer;
  border-radius:8px;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.mobile-menu__nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:16px;
}
.mobile-menu__nav a{
  padding:4px 0;
}

@media (max-width:768px){
  body.mobile-menu-open .mobile-menu{
    display:flex;
  }
}

.hero{padding:24px 0 18px}
.hero-shell{
  width:min(calc(100% - 48px),var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 280px auto auto;
  opacity:0;
  transform:translateY(32px);
  transition:opacity .9s ease,transform .9s ease;
  gap:24px;
  align-items:stretch;
}
body.hero-intro .hero-shell{
  opacity:1;
  transform:none;
}
.hero-copy{
  grid-column:1/-1;
  text-align:center;
  padding-top:12px;
}
.hero-copy{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .6s ease,transform .6s ease;
}
body.hero-intro .hero-copy{
  opacity:1;
  transform:none;
  transition-delay:.15s;
}
.hero-copy h1{margin:0;font-size:54px;line-height:1; font-weight:500;letter-spacing:-.03em;text-transform:none}
.hero-copy h1 span{display:block;margin-bottom:10px}
.hero-copy h1 span:first-child{transform:translateX(-70px)}
.hero-copy h1 span:last-child{transform:translateX(185px)}
.hero-card{background:#f3f3f1;overflow:hidden;margin:0}
.hero-card img{width:100%;height:100%;object-fit:cover}
.hero-card-left{
  grid-column:1;
  grid-row:2;
  height:280px;
}
.hero-notes{
  grid-column:2;
  grid-row:2;
  display:flex;
  flex-direction:column;
  gap:18px;
  justify-content:center;
  height:280px;
  margin:0;
}
.hero-note{font-size:36px;line-height:1.4;color:#3f434a}
.hero-note-4{transform:translateX(40px)}
.hero-card-bottom-left{grid-column:1;grid-row:3}
.hero-card-bottom-right{
  grid-column:2;
  grid-row:3;
}
.hero-card,
.hero-notes,
.hero-all-btn{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease,transform .6s ease;
}
body.hero-intro .hero-card{
  opacity:1;
  transform:translateY(0);
  transition-delay:.25s;
}
body.hero-intro .hero-notes{
  opacity:1;
  transform:translateY(0);
  transition-delay:.3s;
}
body.hero-intro .hero-all-btn{
  opacity:1;
  transform:translateY(0);
  transition-delay:.45s;
}
.hero-all-btn{
  grid-column:1/-1;
  justify-self:center;
  min-width:252px;
  margin-top:4px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  padding:0 28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.6);
  background:rgba(255,255,255,.24);
  color:#111;
  font-weight:500;
  font-size:20px;
  box-shadow:0 14px 34px rgba(0,0,0,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transition:.2s;
}
.btn-primary{
  background:rgba(255,255,255,.28);
  color:#111;
}
.btn-outline{
  background:transparent;
  border-color:#111;
  color:#111;
}
.btn:hover{
  transform:translateY(-1px);
}

.video-section{padding:0 0 84px}
.brand-video-section .brand-video-shell{width:min(calc(100% - 48px),var(--max));margin:0 auto}
.brand-video-stage{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  max-height:min(85vh,900px);
  border-radius:4px;
  overflow:hidden;
  background:#e4e6ea;
  cursor:pointer;
  outline:none;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.brand-video-stage--embed{
  cursor:default;
  background:#0b0c10;
}
.brand-video-embed{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  border:0;
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}
.product-brand-video{
  margin:18px 0 28px;
}
.brand-video-stage:focus-visible{box-shadow:0 0 0 3px rgba(47,99,197,.35)}
.brand-video-poster,
.brand-video-overlay,
.brand-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.brand-video-poster{
  object-fit:cover;
  object-position:center;
  z-index:1;
  transition:opacity .45s ease,visibility .45s ease;
}
.brand-video-overlay{
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  transition:opacity .45s ease,visibility .45s ease;
}
.brand-video-gradient{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(20,22,28,.42) 0%,rgba(20,22,28,.12) 38%,transparent 68%);
  pointer-events:none;
}
.brand-video-play{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:76px;
  height:76px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.38);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 8px 32px rgba(0,0,0,.12);
  transition:transform .4s cubic-bezier(.25,.8,.25,1),background .35s ease;
}
.brand-video-stage:not(.is-playing):hover .brand-video-play{transform:scale(1.06)}
.brand-video-play svg{display:block}
.brand-video{
  z-index:0;
  object-fit:cover;
  object-position:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .45s ease,visibility .45s ease;
}
.brand-video-stage.is-playing{cursor:default}
.brand-video-stage.is-playing .brand-video-poster,
.brand-video-stage.is-playing .brand-video-overlay{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.brand-video-stage.is-playing .brand-video{
  z-index:3;
  opacity:1;
  visibility:visible;
}
@media (max-width:768px){
  .brand-video-play{width:64px;height:64px}
  .brand-video-play svg{width:34px;height:34px}
  .glass-btn,.btn,.contacts__btn,#contacts .contacts__btn{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .glass-btn{background:rgba(255,255,255,.82)}
  .btn-primary{background:rgba(255,255,255,.78)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .brand-video-poster,.brand-video-overlay,.brand-video{transition-duration:.15s}
  .brand-video-play{transition-duration:.15s}
  .intro-screen{transition:none!important}
  body.intro-done .intro-screen{transition:none!important}
  .hero-shell,.hero-copy,.hero-card,.hero-notes,.hero-all-btn{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}

.catalog{
  padding:0 0 118px;
  /* чтобы при скролле по якорю блок не уезжал под фиксированную шапку */
  scroll-margin-top:90px;
}
.catalog-shell{
  width:min(calc(100% - 48px),var(--max));
  margin:0 auto;
}
.catalog-item{width:100%;display:flex;justify-content:flex-start;align-items:center;gap:clamp(20px, 3vw, 48px);padding:20px 0;background:none;border:0;border-top:1px solid var(--line);text-align:left;font-size:39px;font-weight:500;line-height:1.05;cursor:pointer}
/* Только ширина текста — иначе зазор «между названием и стрелкой» схлопывается и превью мельчает */
.catalog-item__label{flex:0 1 auto;min-width:0}
.catalog-item__arrow{margin-left:auto}
@media (min-width:769px){
  .catalog-item__label{max-width:min(46%, 18ch)}
}
.catalog-row:last-of-type .catalog-item{border-bottom:1px solid var(--line)}
.catalog-item__arrow{
  flex:0 0 auto;
  font-size:55px;
  font-weight:300;
  line-height:1;
  display:inline-block;
  transition:transform .18s ease;
}
.catalog-item.active{color:#111}
.catalog-item[aria-selected="true"]{color:#111}
.catalog-item:hover .catalog-item__arrow{transform:rotate(45deg)}
.catalog-list{
  position:relative;
  max-width:none;
  width:100%;
}
.catalog-list__main{
  min-width:0;
}
/* Обёртка строки: на десктопе не ломает сетку, локальные превью только для мобилы */
.catalog-row{
  position:relative;
}
.catalog-row__preview{
  display:none;
}
.catalog-preview{
  position:absolute;
  left:0;
  top:0;
  width:auto;
  max-width:320px;
  height:auto;
  transform:none;
  display:grid;
  place-items:center;
  pointer-events:none;
  z-index:2;
  filter:drop-shadow(0 14px 32px rgba(20, 22, 28, 0.1));
}
@media (min-width:769px){
  .catalog-preview{
    max-width:min(420px, 36vw);
  }
}
.catalog-preview img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}
.catalog-preview.single img{border-radius:8px}
.catalog-preview.mirrors{
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:center;
}
.catalog-preview.mirrors img{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  border-radius:8px;
}

/* Десктоп: появление строк каталога, затем плавающего превью (без JS — без .catalog-ready, строки как обычно) */
@media (min-width: 769px){
  html.catalog-ready #catalog:not(.catalog--revealed) .catalog-list__main .catalog-row{
    opacity:0;
    transform:translate3d(0, 14px, 0);
  }
  html.catalog-ready #catalog:not(.catalog--revealed) #catalog-preview{
    opacity:0;
  }
  #catalog.catalog--revealed .catalog-list__main .catalog-row{
    opacity:1;
    transform:translate3d(0, 0, 0);
    transition:
      opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(1){transition-delay:0.02s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(2){transition-delay:0.05s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(3){transition-delay:0.08s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(4){transition-delay:0.11s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(5){transition-delay:0.14s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(6){transition-delay:0.17s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(7){transition-delay:0.2s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(8){transition-delay:0.23s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(9){transition-delay:0.26s}
  #catalog.catalog--revealed .catalog-list__main .catalog-row:nth-child(10){transition-delay:0.29s}
  #catalog.catalog--revealed #catalog-preview{
    opacity:1;
    transition:opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  }
  @media (prefers-reduced-motion: reduce){
    html.catalog-ready #catalog:not(.catalog--revealed) .catalog-list__main .catalog-row,
    html.catalog-ready #catalog:not(.catalog--revealed) #catalog-preview{
      opacity:1;
      transform:none;
    }
    #catalog.catalog--revealed .catalog-list__main .catalog-row{
      transition:none;
      transition-delay:0s !important;
    }
    #catalog.catalog--revealed #catalog-preview{
      transition:none;
    }
  }
}

/* Каталог — отдельная страница */
.catalog-page{
  padding:36px 0 80px;
}
.catalog-page-shell{
  width:min(calc(100% - 64px),1545px);
  margin:0 auto;
}
.catalog-page-head{
  margin-bottom:8px;
}
.catalog-page-head__row{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:10px 20px;
  margin-bottom:20px;
}
.catalog-page-back{
  font-size:15px;
  font-weight:500;
  color:var(--blue);
  flex-shrink:0;
  -webkit-tap-highlight-color:transparent;
}
.catalog-page-back:hover{
  opacity:.85;
}
.catalog-page-head h1{
  margin:0;
  font-size:32px;
  font-weight:500;
  flex:1 1 auto;
  min-width:min(220px,100%);
}
/* Мобильный каталог: выпадающий список вместо горизонтального скролла вкладок */
.catalog-category-picker{
  display:none;
}
.catalog-category-picker__label{
  display:block;
  font-size:12px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}
.catalog-category-picker__select{
  width:100%;
  min-height:50px;
  padding:12px 44px 12px 14px;
  font-family:inherit;
  font-size:16px;
  font-weight:500;
  line-height:1.3;
  color:var(--text);
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d616b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:20px;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  box-sizing:border-box;
}
.catalog-category-picker__select:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(47,99,197,.22);
}
.catalog-tabs{
  display:flex;
  justify-content:space-between;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
  margin-bottom:32px;
  gap:4px;
}
.catalog-tab{
  position:relative;
  flex:1 1 0;
  background:none;
  border:0;
  padding:0 0 8px;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
  color:var(--muted);
  text-align:center;
}
@media (max-width:1200px){
  .catalog-tabs{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    gap:8px;
    padding-bottom:12px;
  }
  .catalog-tab{
    flex:0 0 auto;
    white-space:nowrap;
    padding:0 10px 8px;
  }
}
.catalog-tab.is-active{
  color:#111;
}
.catalog-tab.is-active::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background:#111;
}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px 28px;
}
@media (max-width:1024px){
  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 20px;
  }
}
@media (max-width:560px){
  .catalog-grid{
    grid-template-columns:1fr;
    gap:22px;
  }
}
/* Вкладка «Все предметы»: подписи категорий над одним представителем */
.catalog-grid.catalog-grid--all-by-category{
  display:flex;
  flex-direction:column;
  gap:28px;
}
.catalog-all-category{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.catalog-all-category__title{
  margin:0;
  font-size:13px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.catalog-all-category__cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px 28px;
}
@media (max-width:1024px){
  .catalog-all-category__cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 20px;
  }
}
@media (max-width:560px){
  .catalog-all-category__cards{
    grid-template-columns:1fr;
    gap:22px;
  }
}
.catalog-card{
  display:flex;
  flex-direction:column;
  color:inherit;
}
.catalog-card figure{
  margin:0 0 12px;
  background:#f5f5f4;
  overflow:hidden;
}
.catalog-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.catalog-card h3{
  margin:0 0 4px;
  font-size:18px;
  font-weight:600;
}
.catalog-card p{
  margin:0;
  font-size:15px;
  color:var(--muted);
}
/* Детальная страница товара */
.product{
  padding:36px 0 80px;
}
.product-shell{
  width:min(calc(100% - 64px),1545px);
  margin:0 auto;
}
.product-back{
  display:inline-block;
  margin-bottom:24px;
  font-size:15px;
  color:var(--blue);
}
.product-layout{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:60px;
  align-items:flex-start;
}
/* Иначе длинный текст в селектах (Материалы и т.д.) задаёт минимальную ширину колонки и вылезает вправо */
.product-layout .product-info{
  min-width:0;
  max-width:100%;
}
.product-gallery{
  position:relative;
}
/* Кадр подстраивается под фото; min-height задаётся скриптом = max высоты всех кадров —
   при листании высота области не прыгает, стрелки остаются по центру */
.product-gallery-stage{
  position:relative;
  width:100%;
}
.product-gallery-frame{
  background:var(--bg);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  max-height:90vh;
  min-height:var(--product-gallery-min-height,auto);
  box-sizing:border-box;
}
.product-gallery-track{
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-slide{
  display:none;
  width:100%;
  justify-content:center;
  align-items:center;
}
.product-slide.is-active{
  display:flex;
}
.product-slide img{
  display:block;
  max-width:100%;
  width:auto;
  height:auto;
  max-height:90vh;
  object-fit:contain;
}
.product-gallery-control{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:2;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.product-gallery-control--prev{
  left:8px;
}
.product-gallery-control--next{
  right:8px;
}
.product-zoom-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-zoom-overlay__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
}
.product-zoom-overlay__content{
  position:relative;
  max-width:96vw;
  max-height:96vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 48px;
  box-sizing:border-box;
  overflow:visible;
  z-index:1;
}
/* Фиксированный размер сцены по максимуму среди кадров — стрелки не уезжают при смене фото */
.product-zoom-stage{
  position:relative;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  max-height:100%;
  overflow:hidden;
  /* Поля вокруг фото в фиксированной сцене — тёмные, без «белого окна» */
  background:rgba(0,0,0,.42);
}
.product-zoom-image-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  max-height:100%;
}
.product-zoom-image-wrap img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  transition:transform .15s ease-out;
}
.product-zoom-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,.4);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  cursor:pointer;
  z-index:2;
}
.product-zoom-arrow--prev{
  left:10px;
}
.product-zoom-arrow--next{
  right:10px;
}

.product-zoom-close{
  position:fixed;
  top:16px;
  right:16px;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.6);
  background:rgba(255,255,255,.24);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  cursor:pointer;
  z-index:10001;
}

@media (max-width:768px){
  .product-zoom-overlay__content{
    padding:28px 32px;
  }
  .product-zoom-close{
    top:10px;
    right:10px;
  }
}

/* Десктоп: зум внутри границ сцены (размер сцены задаётся скриптом) */
@media (min-width:769px){
  .product-zoom-overlay__content{
    overflow:hidden;
  }
}
.product-gallery-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:12px;
}
.product-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  border:0;
  background:#d0d2d6;
  cursor:pointer;
}
.product-dot.is-active{
  background:#111;
}
.product-info{
  font-size:15px;
}
.product-head h1{
  margin:0 0 4px;
  font-size:26px;
  font-weight:600;
}
.product-article{
  margin-bottom:16px;
  color:var(--muted);
}
.product-price-block{
  margin-bottom:18px;
}
.product-price{
  font-size:22px;
  font-weight:600;
}
.product-kind{
  margin-top:6px;
  font-size:14px;
  color:#5b606a;
}
.product-form{
  display:grid;
  gap:14px;
  margin-bottom:20px;
}
.product-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.product-field-label{
  font-size:13px;
  color:var(--muted);
}
.product-field select{
  min-height:40px;
  padding:6px 10px;
  border-radius:4px;
  border:1px solid var(--line);
  background:#fff;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
/* Один вариант — без стрелки выпадающего списка */
.product-field--static select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  padding-right: 10px;
}
.product-field--static select::-ms-expand{
  display: none;
}
/* Один вариант или фиксированное значение — селект неактивен, без ложного «выбора» */
.product-field--static select:disabled{
  opacity:1;
  cursor:default;
  color:var(--text);
  background:#f3f4f6;
  border-color:#e2e3e6;
}
.product-field[hidden]{
  display:none !important;
}
.product-dimensions{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
#product-dimensions{
  white-space:pre-line;
}
.product-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:8px;
}
.product-cart-btn{
  min-height:44px;
  padding:0 26px;
  font-size:16px;
}
.product-description{
  margin-top:10px;
  font-size:14px;
  line-height:1.56;
  color:#44474e;
}

.creator{padding:8px 0 86px}.creator-shell{position:relative;width:min(calc(100% - 64px),1600px);margin:0 auto;height:770px}
.creator-left{position:absolute;left:0;bottom:0;width:389px;height:553px;margin:0}.creator-left img,.creator-right img{width:100%;height:100%;object-fit:cover}
.creator-panel{position:absolute;left:387px;top:206px;width:892px;min-height:436px;background:#e6e6e5;padding:96px 70px 56px 70px}
.creator-panel h2{margin:0 0 18px;font-size:64px;line-height:1.02;font-weight:500;letter-spacing:-.04em;text-transform:none}
.creator-accent{margin:0 0 42px;color:var(--blue);font-size:22px;font-weight:500;text-transform:none}
.creator-panel p{max-width:760px;margin:0 0 14px;font-size:22px;line-height:1.52;color:#3f434a}
.creator-right{position:absolute;right:0;top:0;width:511px;height:461px;margin:0}
.link-arrow{
  display:inline-block;
  margin-top:28px;
  font-size:31px;
  font-weight:600;
  color:#111;
  border-bottom:4px solid #111;
  padding-bottom:7px;
  text-transform:none;
}

.series{padding:0 0 80px}.series-shell{width:min(calc(100% - 64px),1545px);margin:0 auto}.boxed-bg{background:#e8e8e7;padding:38px 92px 54px}
.series-title{display:flex;align-items:flex-end;gap:14px;margin-bottom:26px}.series-title span{font-size:32px;font-weight:500;color:#111}.series-title h3{margin:0;font-size:58px;line-height:1;font-weight:600;text-transform:none}
.series-grid{display:grid;grid-template-columns:455px 760px;justify-content:space-between;gap:70px;align-items:start}.product-card{position:relative}.product-image{overflow:hidden;background:#f2f2f0;margin:0 0 28px}.product-image img{width:100%;height:100%;object-fit:cover}.large-square{width:455px;height:455px}.wide-rect{width:760px;height:339px}.square-large{width:760px;height:525px}
.product-card h4{margin:0 0 8px;font-size:28px;line-height:1.15}.product-card p{margin:0;font-size:19px;font-weight:500}.product-card-right .link-arrow{float:right;margin-top:28px}

.personalization{padding:8px 0 84px}.personalization-shell{width:min(calc(100% - 64px),1545px);margin:0 auto}.personalization-title{display:flex;align-items:flex-end;gap:18px;margin-bottom:36px}.personalization-title h3{margin:0;font-size:60px;line-height:1;font-weight:600;text-transform:none}.personalization-title span{font-size:32px;font-weight:500;color:#111}
.personalization-top{display:grid;grid-template-columns:455px 765px;justify-content:space-between;gap:82px;align-items:start}.lead{font-size:21px;line-height:1.58;color:#363a42;margin:0 0 40px}.sublead{font-size:20px;line-height:1.55;color:#50545d;margin:26px 0 0}.personalization-top figure,.bottom-image{margin:0}.personalization-top img{width:100%;height:auto}.personalization-bottom{margin-top:54px;display:flex;flex-direction:column;gap:28px}.bottom-image img{width:100%;height:auto}.bottom-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,88px);padding:36px 0 0;margin:0;align-items:start;width:100%;box-sizing:border-box}.bottom-copy p{font-size:20px;line-height:1.65;letter-spacing:.01em;color:#363a42;margin:0;text-align:left;hyphens:auto;overflow-wrap:break-word}

.news{padding:0 0 68px}.news-shell{width:min(calc(100% - 64px),1545px);margin:0 auto}.news-title{display:flex;align-items:flex-end;gap:18px;margin-bottom:28px}.news-title h3{margin:0;font-size:60px;line-height:1;font-weight:600;text-transform:none}.news-title span{font-size:32px;font-weight:500;color:var(--blue)}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:39px}.news-card{background:#fff;display:flex;flex-direction:column}.news-card img{width:100%;aspect-ratio:1.04/1;object-fit:cover}.news-card-body{padding:18px 20px 28px}.news-date{font-size:15px;font-weight:500;color:var(--blue);letter-spacing:.1em;text-transform:none;margin-bottom:18px}.news-card h4{margin:0 0 16px;font-size:28px;line-height:1.22}.news-card p{margin:0 0 22px;font-size:18px;line-height:1.55;color:#454954}.news-actions{display:flex;gap:12px;flex-wrap:wrap}.news-card .btn{min-height:54px;padding:0 18px;font-size:17px}

@media (max-width:1280px){
  html,body{max-width:100%;overflow-x:hidden}
  .header-shell,.hero-shell,.catalog-shell,.creator-shell,.series-shell,.personalization-shell,.news-shell,.footer-shell,.brand-video-shell{width:min(calc(100% - 32px),var(--max))}
  .nav,.header-right{display:none}.burger{display:flex}.header-shell{grid-template-columns:1fr auto auto}.logo{font-size:44px}
  .hero-shell{grid-template-rows:auto 280px 340px auto;gap:20px}.hero-copy{padding-top:16px}.hero-copy h1{font-size:54px}
  /* iPad / планшет: декоративные сдвиги строк дают вылет за край и горизонтальный скролл */
  .hero-copy h1 span:first-child,.hero-copy h1 span:last-child{transform:none}
  .hero-note-4{transform:none}
  .catalog-shell,.series-grid,.personalization-top,.bottom-copy,.news-grid,.footer-shell{grid-template-columns:1fr;gap:28px}
  .catalog-preview{min-height:200px}.catalog-preview.single img{max-width:min(420px, 44vw);max-height:min(340px, 42vh)}.catalog-preview.mirrors img{max-width:min(240px, 30vw);max-height:min(320px, 40vh)}
  .creator-shell{height:auto;display:grid;grid-template-columns:1fr;gap:24px}
  /* без сброса absolute колонка grid не заполняется — блок «О нас» ломается между мобилой и десктопом */
  .creator-left,.creator-panel{
    position:static;
    width:100%;
    height:auto;
    left:auto;
    right:auto;
    top:auto;
    bottom:auto;
    margin:0;
  }
  .creator-left{max-width:389px;justify-self:center}
  .creator-panel{width:auto;min-height:0;padding:40px 28px}.creator-panel h2{font-size:42px}
  .boxed-bg{padding:28px}.large-square,.wide-rect,.square-large{width:100%;height:auto}.personalization-title h3,.news-title h3,.series-title h3{font-size:40px}.personalization-title span,.series-title span,.news-title span{font-size:22px}.bottom-copy{padding:28px 0 0;gap:24px}
  #contacts .contacts__req{padding-right:24px}
  #contacts .contacts__socials{position:static;flex-direction:row;flex-wrap:wrap;gap:10px;margin-bottom:20px}
  #contacts .contacts__socials-label{width:100%;margin-bottom:2px}
}

@media (max-width:768px){
  html,body{max-width:100%;overflow-x:hidden}
  .site-header{position:sticky}.header-shell{height:64px}
  .logo{width:180px;height:64px}
  .logo__img{height:56px;transform:translate(-50%,-50%) scale(2.2)}

  .hero{padding-top:18px}
  .hero-shell{
    display:block;
    width:min(calc(100% - 32px),var(--max));
  }
  .hero-copy{
    text-align:center;
    padding-top:12px;
  }
  .hero-copy h1{font-size:32px}
  .hero-card,
  .hero-notes{
    margin-top:18px;
  }
  .hero-notes{display:none}
  .hero-card{height:auto}
  .hero-card img{height:auto}
  .hero-all-btn{
    margin-top:18px;
    width:100%;
    justify-content:center;
  }
  /* На мобиле убираем сдвиги строк, чтобы ничего не уезжало */
  .hero-copy h1 span{transform:none !important}
  .hero-note-4{transform:none !important}

  /* Kinescope: iOS Safari сочетает aspect-ratio + max-height иначе — блок сужается, iframe «прилипает» влево */
  .brand-video-section .brand-video-shell{
    width:min(calc(100% - 32px),var(--max));
  }
  .brand-video-stage.brand-video-stage--embed{
    width:100%;
    max-width:100%;
    max-height:none;
  }

  .catalog-shell,
  .creator-shell,
  .series-shell,
  .personalization-shell{
    width:min(calc(100% - 32px),var(--max));
    margin:0 auto;
  }

  .creator-shell{
    display:block;
    height:auto;
  }
  .creator-left,
  .creator-panel{
    position:static;
    width:100%;
    height:auto;
    margin:0;
  }
  .creator-panel{
    padding:24px 0 0;
  }

  .btn{min-height:50px;font-size:16px}
  .catalog-item{font-size:24px;gap:12px}
  .catalog-item__arrow{font-size:30px;flex-shrink:0}

  /* Каталог: на мобильных — select вместо горизонтальных вкладок (без обрезки текста) */
  .catalog-page .catalog-category-picker{
    display:block;
    margin:0 0 22px;
  }
  .catalog-page .catalog-tabs{
    display:none !important;
  }
  .catalog-page-head h1{
    font-size:26px;
  }

  /* Каталог на мобиле: общее плавающее превью отключено — фото под строкой с названием */
  #catalog-preview{
    display:none !important;
  }
  .catalog-shell{padding-top:8px}
  /* Плавное появление строк при скролле: длиннее и мягче по кривой */
  .catalog-row{
    margin:0 0 28px;
    opacity:0;
    transform:translate3d(0, 36px, 0);
    transition:
      opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .catalog-row--visible{
    opacity:1;
    transform:translate3d(0, 0, 0);
  }
  .catalog-row__preview{
    display:grid;
    place-items:center;
    width:100%;
    min-height:168px;
    margin:14px 0 0;
    pointer-events:none;
    opacity:0;
    transform:translate3d(0, 14px, 0) scale(0.98);
    transition:
      opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
      transform 1.15s cubic-bezier(0.19, 1, 0.22, 1) 0.18s;
  }
  .catalog-row--visible .catalog-row__preview{
    opacity:1;
    transform:translate3d(0, 0, 0) scale(1);
  }
  .catalog-row__preview.catalog-preview--mirrors{
    grid-template-columns:1fr 1fr;
    gap:12px;
    align-items:center;
  }
  .catalog-row__preview img{
    display:block;
    width:100%;
    max-width:220px;
    height:auto;
    max-height:160px;
    object-fit:cover;
    border-radius:4px;
  }
  .catalog-row__preview.catalog-preview--mirrors img{
    max-width:120px;
    max-height:150px;
  }
  .catalog-row:last-of-type{
    margin-bottom:0;
  }
  @media (prefers-reduced-motion: reduce){
    .catalog-row{
      opacity:1;
      transform:none;
      transition:none;
    }
    .catalog-row__preview{
      opacity:1;
      transform:none;
      transition:none;
    }
  }
  .catalog-preview{
    min-height:180px;
  }
  .catalog-preview.single img{
    max-width:200px;
    max-height:150px;
  }
  .catalog-preview.mirrors img{
    max-width:120px;
    max-height:150px;
  }

  .creator-panel h2{font-size:32px}
  .creator-panel p,.lead,.sublead,.bottom-copy p{font-size:17px}
  .news-card h4{font-size:22px}

  /* в мобильной версии убираем подпись «и кастом» под заголовком персонализации */
  .personalization-title span:last-child{
    display:none;
  }

  /* как в artgreen — соцсети под текстом, не перекрывают реквизиты */
  #contacts .contacts__req{
    padding-right:24px;
  }
  #contacts .contacts__socials{
    position:static;
    flex-direction:row;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
  }
  #contacts .contacts__socials-label{
    width:100%;
    margin-bottom:2px;
  }

  /* Детальная страница товара — мобильная версия: чуть больше общий отступ справа,
     чтобы блок с текстом не прилипал к краю, но при этом сетка не меняется */
  .product-shell{
    width:min(calc(100% - 32px),1545px);
    margin:0 auto;
  }
  .catalog-page-shell{
    width:min(calc(100% - 32px),1545px);
  }
  .product-layout{
    display:flex;
    flex-direction:column;
    gap:18px;
  }
  .product-gallery{
    order:1;
  }
  .product-info{
    order:2;
    padding-left:0;
    padding-right:8px;
    overflow-wrap:anywhere;
    word-wrap:break-word;
  }
  .product-form{
    min-width:0;
    max-width:100%;
  }
  .product-field{
    min-width:0;
    max-width:100%;
  }
  .product-field-label{
    overflow-wrap:anywhere;
  }
  .product-field select{
    min-width:0;
    max-width:100%;
  }
  .product-head h1{
    overflow-wrap:anywhere;
    word-wrap:break-word;
  }
  .product-kind{
    overflow-wrap:anywhere;
  }
  .product-description{
    overflow-wrap:anywhere;
    word-wrap:break-word;
  }
  .product-gallery-control{
    width:40px;
    height:40px;
    touch-action:manipulation;
  }
}

/* Плавающая кнопка «Наверх» — отключена, используем текстовую ссылку в футере */

/* CONTACTS + FOOTER (адаптация под светлый лендинг ARTstolyar) */
.blk{padding:56px 0}
.blk--soft{
  background:#f7f7f7;
  border-top:1px solid rgba(0,0,0,.02);
  border-bottom:1px solid rgba(0,0,0,.02);
}
.head{margin-bottom:26px}
.head--center{text-align:center}
.head h2{margin:0 0 10px;font-size:38px;letter-spacing:.01em}

.contacts__body{margin-top:22px;max-width:760px;margin-left:auto;margin-right:auto}
.contacts__cta{text-align:center;margin-bottom:32px}
.contacts__btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:999px;
  padding:16px 32px;
  border:1px solid rgba(255,255,255,.55);
  color:#111;
  background:rgba(255,255,255,.25);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.contacts__btn:hover{
  background:rgba(255,255,255,.45);
  transform:translateY(-1px);
}
.contacts__req{
  position:relative;
  padding:24px 88px 24px 22px;
  background:#f6f6f5;
  border-radius:10px;
  border:1px solid var(--line);
  font-size:13px;
  line-height:1.5;
  color:var(--text);
}
.contacts__req p{margin:0 0 8px}
.contacts__req p:last-child{margin-bottom:0}
.contacts__name{font-weight:600;margin-bottom:10px!important}
.contacts__salon{font-weight:500}
.contacts__region{
  font-size:14px;
  text-transform:none;
  letter-spacing:.02em;
  line-height:1.35;
  color:var(--muted);
  margin-top:4px;
}
.contacts__req a{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.contacts__req a:hover{opacity:.8}
.contacts__privacy{
  margin-top:14px!important;
  padding-top:10px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted)!important;
}
.contacts__socials{
  position:absolute;
  top:24px;
  right:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.contacts__socials-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--muted);
  margin-bottom:6px;
}
.contacts__social{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(42,45,36,.18);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2a2b2f;
  text-decoration:none;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.contacts__social-ic svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}
.contacts__social-ic svg[stroke]{fill:none;stroke:currentColor}
.contacts__social:hover{
  border-color:rgba(42,45,36,.32);
  background:#f5f5f1;
  color:#000;
  box-shadow:0 14px 40px rgba(0,0,0,.12);
}

.footer{
  padding:22px 0;
  background:var(--header);
  border-top:1px solid var(--line);
  color:var(--text);
}
.footer__in{
  width:min(calc(100% - 64px),var(--max));
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-size:13px;
}
.footer__directions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
}
.footer__directions-label{color:var(--muted);margin-right:4px}
.footer__dir{
  text-decoration:none;
  border-bottom:1px solid transparent;
  color:var(--text);
}
.footer__dir:hover{border-bottom-color:var(--text)}
.footer__current{color:var(--muted)}
.to-top{
  text-decoration:none;
  border-bottom:1px solid var(--line);
  padding-bottom:2px;
  color:var(--text);
  font-size:13px;
}
.to-top__arrow{
  color:#fff;
  font-weight:800;
  font-size:15px;
}

/* Плавающая кнопка «Направления» (дубль футера) — фиксирована в окне при скролле */
.directions-fab{
  position:fixed;
  inset:0;
  z-index:88;
  pointer-events:none;
}
.directions-fab__backdrop{
  position:fixed;
  inset:0;
  background:rgba(35,37,43,.28);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease,visibility .22s ease;
  pointer-events:none;
}
.directions-fab.is-open .directions-fab__backdrop{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.directions-fab__dock{
  position:fixed;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(22px,env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column-reverse;
  align-items:flex-end;
  gap:12px;
  pointer-events:none;
}
/* Мобильная: кнопка у правого края по вертикали по центру экрана; док с полями слева/справа — текст панели не обрезается */
@media (max-width:768px){
  .directions-fab__dock{
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
    left:max(14px,env(safe-area-inset-left,0px));
    right:max(14px,env(safe-area-inset-right,0px));
    width:auto;
  }
  .directions-fab:not(.is-open) .directions-fab__toggle{
    animation:directions-fab-attn 2.6s ease-in-out infinite;
  }
  .directions-fab.is-open .directions-fab__toggle{
    animation:none;
    transform:translateX(calc(100% + 28px));
    opacity:0;
    pointer-events:none;
    transition:transform .22s ease,opacity .2s ease,box-shadow .2s ease;
  }
}
@keyframes directions-fab-attn{
  0%,100%{
    box-shadow:0 10px 28px rgba(58,92,56,.38),0 2px 8px rgba(0,0,0,.12),0 0 0 0 rgba(58,92,56,.22);
  }
  50%{
    box-shadow:0 14px 36px rgba(58,92,56,.44),0 4px 12px rgba(0,0,0,.14),0 0 0 12px rgba(58,92,56,.14);
  }
}
.directions-fab__toggle,
.directions-fab__panel{
  pointer-events:auto;
}
.directions-fab__toggle{
  width:56px;
  height:56px;
  border-radius:50%;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(145deg,#3a5c38 0%,#2f4b2e 100%);
  box-shadow:0 10px 28px rgba(58,92,56,.38),0 2px 8px rgba(0,0,0,.12);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.directions-fab__toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(58,92,56,.44),0 4px 12px rgba(0,0,0,.14);
  animation:none;
}
.directions-fab__toggle:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}
.directions-fab__toggle-icon{
  display:flex;
  opacity:.95;
}
.directions-fab__panel{
  width:min(300px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-height:min(72vh,520px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:18px 18px 16px;
  border-radius:16px;
  background:#fff;
  color:var(--text);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  transform:translateY(8px) scale(.96);
  opacity:0;
  visibility:hidden;
  transition:transform .24s cubic-bezier(0.22,1,0.36,1),opacity .2s ease,visibility .2s ease;
}
.directions-fab.is-open .directions-fab__panel{
  transform:translateY(0) scale(1);
  opacity:1;
  visibility:visible;
}
@media (max-width:768px){
  .directions-fab__panel{
    width:min(300px,100%);
    max-width:100%;
    box-sizing:border-box;
    overflow-x:hidden;
    overflow-y:auto;
  }
  .directions-fab__nav,
  .directions-fab__head-text{
    min-width:0;
  }
  .directions-fab__link,
  .directions-fab__current,
  .directions-fab__title,
  .directions-fab__sub{
    overflow-wrap:anywhere;
    word-wrap:break-word;
  }
}
.directions-fab__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.directions-fab__head-text{
  min-width:0;
}
.directions-fab__title{
  display:block;
  font-size:15px;
  font-weight:600;
  letter-spacing:.02em;
  margin:0 0 6px;
}
.directions-fab__sub{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
}
.directions-fab__close{
  flex-shrink:0;
  width:36px;
  height:36px;
  border:0;
  border-radius:10px;
  background:var(--bg);
  color:var(--text);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.directions-fab__close:hover{
  background:#e4e4e2;
}
.directions-fab__nav{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.directions-fab__current{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 10px;
  font-size:13px;
  font-weight:500;
  color:var(--muted);
  border-radius:10px;
  background:#f4f4f2;
}
.directions-fab__current-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--blue);
  flex-shrink:0;
}
.directions-fab__link{
  display:block;
  padding:10px 10px;
  font-size:13px;
  line-height:1.35;
  color:var(--text);
  border-radius:10px;
  border:1px solid transparent;
  transition:background .15s ease,border-color .15s ease;
}
.directions-fab__link:hover{
  background:#f7f7f6;
  border-color:var(--line);
}
.directions-fab__link--cta{
  margin-top:6px;
  font-weight:600;
  color:var(--blue);
  border:1px solid rgba(47,99,197,.25);
  background:rgba(47,99,197,.06);
}
.directions-fab__link--cta:hover{
  background:rgba(47,99,197,.1);
  border-color:rgba(47,99,197,.35);
}
@media (min-width:769px){
  .directions-fab__dock{
    left:auto;
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
    flex-direction:row;
    align-items:center;
    gap:14px;
  }
  /* Открыта панель — кнопка остаётся в палитре ArtGreen (как common/directions-fab + тема artgreen) */
  .directions-fab.is-open .directions-fab__toggle{
    background:linear-gradient(145deg,#2f4b2e 0%,#264026 100%);
    box-shadow:0 8px 24px rgba(58,92,56,.34);
  }
  .directions-fab__panel{
    order:-1;
    margin-right:0;
    transform:translateX(12px) scale(.96);
  }
  .directions-fab.is-open .directions-fab__panel{
    transform:translateX(0) scale(1);
  }
}
@media (prefers-reduced-motion:reduce){
  .directions-fab__backdrop,
  .directions-fab__panel,
  .directions-fab__toggle{
    transition:none !important;
  }
  .directions-fab:not(.is-open) .directions-fab__toggle{
    animation:none !important;
  }
}

.directions-fab__dismiss-wrap{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.directions-fab__dismiss{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:var(--bg);
  color:var(--muted);
  font-size:12px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.directions-fab__dismiss:hover{
  background:#e4e4e2;
}
.directions-fab__peek{
  position:fixed;
  top:50%;
  right:0;
  z-index:89;
  width:15px;
  height:56px;
  margin-top:-28px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:6px 0 0 6px;
  background:linear-gradient(145deg,#3a5c38 0%,#2f4b2e 100%);
  color:#fff;
  box-shadow:0 4px 18px rgba(58,92,56,.38);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.directions-fab__peek svg{
  width:9px;
  height:9px;
  stroke-width:2.3;
}
.directions-fab--dismissed .directions-fab__dock{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.directions-fab--dismissed .directions-fab__backdrop{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.directions-fab--dismissed .directions-fab__peek{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
/* CONTACTS + FOOTER 1:1 как в Arthome (адаптировано под светлый фон) */
.blk{padding:78px 0}
.blk--soft{
  background:#f7f7f7;
  border-top:1px solid rgba(0,0,0,.02);
  border-bottom:1px solid rgba(0,0,0,.02);
}
.head{margin-bottom:26px}
.head--center{text-align:center}
.head h2{margin:0 0 10px;font-size:38px;letter-spacing:.01em}

#contacts .contacts__body{max-width:760px;margin:0 auto}
#contacts .contacts__cta{text-align:center;margin-bottom:40px}
#contacts .contacts__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 32px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.02em;
  border-radius:12px;
  text-decoration:none;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
  transition:transform .2s ease,box-shadow .2s ease;
}
#contacts .contacts__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 56px rgba(0,0,0,.5);
}
#contacts .contacts__req{
  position:relative;
  padding:28px 88px 28px 24px;
  background:#f6f6f5;
  border:1px solid var(--line);
  border-radius:20px;
  font-size:14px;
  line-height:1.65;
  color:var(--text);
}
#contacts .contacts__req p{margin:0 0 10px}
#contacts .contacts__req p:last-child{margin-bottom:0}
#contacts .contacts__salon{
  font-weight:600;
  color:var(--text);
}
#contacts .contacts__region{
  font-size:14px;
  text-transform:none;
  letter-spacing:.02em;
  line-height:1.35;
  color:var(--muted);
  margin-bottom:2px;
}
#contacts .contacts__name{
  font-weight:700;
  font-size:15px;
  color:var(--text);
  margin-bottom:14px!important;
}
#contacts .contacts__req a{
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:2px;
}
#contacts .contacts__req a:hover{opacity:.8}
#contacts .contacts__socials{
  position:absolute;
  top:24px;
  right:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
#contacts .contacts__socials-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--muted);
  margin-bottom:6px;
}
#contacts .contacts__social{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(42,45,36,.18);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2a2b2f;
  text-decoration:none;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
#contacts .contacts__social-ic svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}
#contacts .contacts__social-ic svg[stroke]{fill:none;stroke:currentColor}
#contacts .contacts__social:hover{
  border-color:rgba(42,45,36,.32);
  background:#f5f5f1;
  color:#000;
  box-shadow:0 14px 40px rgba(0,0,0,.12);
}

/* Мобильная раскладка соцсетей в контактах, чтобы не залезали на текст */
@media (max-width:768px){
  #contacts .contacts__req{
    padding-right:16px;
  }
  #contacts .contacts__socials{
    position:static;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:flex-start;
    gap:10px;
    margin:16px 0 0;
  }
  #contacts .contacts__socials-label{
    width:100%;
    margin-bottom:4px;
  }
}

.footer{
  padding:22px 0 max(22px, env(safe-area-inset-bottom, 0px));
  border-top:1px solid rgba(255,255,255,.08);
  background:#050507;
}
.footer__in{
  width:min(calc(100% - 64px),var(--max));
  margin:0 auto;
  padding-left:env(safe-area-inset-left, 0px);
  padding-right:env(safe-area-inset-right, 0px);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:rgba(255,255,255,.68);
}
.footer__directions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  font-size:13px;
}
.footer__directions-label{color:rgba(255,255,255,.5);margin-right:4px}
.footer__directions a{
  text-decoration:none;
  color:rgba(255,255,255,.78);
  border-bottom:1px solid transparent;
}
.footer__directions a:hover{
  border-bottom-color:#f08c3a;
  color:#fff;
}
.footer__current{color:rgba(255,255,255,.5)}
.footer__dir--disabled{
  pointer-events:none;
  cursor:default;
  opacity:.55;
}
.footer__dir--disabled:hover{
  border-bottom-color:transparent!important;
  color:rgba(255,255,255,.78)!important;
}
.to-top{
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.22);
  padding-bottom:2px;
  color:rgba(255,255,255,.8);
}
.to-top__arrow{font-weight:600}
