/* ============================================================
   CIGAR IMPERIA DUBAI — единая таблица стилей
   Используется и HTML-прототипами, и WordPress-темой.
   Правим только здесь: копия в теме синхронизируется скриптом.
   ============================================================ */

/* ============================================================
   СИГАРНАЯ ИМПЕРИЯ — concept "private cigar club"
   Палитра: тёплый near-black + состаренное брасс/шампань золото
   Шрифты: Cormorant Garamond (display) / Manrope (UI)
   Фото-слоты помечены словом PHOTO внутри правил — меняй url(...)
   ============================================================ */

:root{
  --bg:        #15120d;
  --bg-2:      #1a1610;
  --surface:   #1e1a13;

  --gold:      #c0a36c;
  --gold-soft: #d8c39a;
  --gold-deep: #9c7e52;
  --ruby:      #9e2b34;

  --text:   #ece5d7;
  --text-2: rgba(236,229,215,.58);
  --text-3: rgba(236,229,215,.36);

  --line:   rgba(192,163,108,.16);
  --line-2: rgba(192,163,108,.30);

  --shadow: 0 30px 70px -38px rgba(0,0,0,.85);
  --ease:   cubic-bezier(.22,.61,.36,1);

  /* скругление кнопок — правится одной строкой */
  --btn-radius: 999px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
/* якоря не уезжают под шапку */
#cats,#culture,#club,#footer{scroll-margin-top:80px}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Manrope',-apple-system,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:"";position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ci-wrap{max-width:1280px;margin:0 auto;padding:0 40px}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

h1,h2,h3{font-family:'Cormorant Garamond',serif;font-weight:500;line-height:1.04;letter-spacing:.01em}
.ci-eyebrow{font-size:11px;letter-spacing:.34em;text-transform:uppercase;color:var(--gold);font-weight:600}

/* ===================== AGE GATE 21+ ===================== */
/* заслонка на входе; порог 21 год — по требованию клиента */
.ci-agegate{
  position:fixed;inset:0;z-index:200;display:none;
  place-items:center;padding:24px;
  background:rgba(12,9,6,.92);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.ci-agegate.is-open{display:grid}
html.is-locked,html.is-locked body{overflow:hidden}
.ci-agegate-box{
  width:100%;max-width:460px;text-align:center;
  background:var(--bg-2);border:1px solid var(--line-2);
  padding:52px 44px 44px;
  box-shadow:var(--shadow);
  animation:rise .7s var(--ease) both;
}
.ci-agegate-box .ci-logo-img{height:64px;margin:0 auto 26px}
.ci-agegate-box h2{font-size:34px;margin-bottom:16px}
.ci-agegate-box p{color:var(--text-2);font-size:14px;font-weight:300;margin-bottom:32px}
.ci-agegate-actions{display:flex;flex-direction:column;gap:12px}
.ci-agegate-actions .ci-btn{justify-content:center;width:100%}
.ci-agegate-note{
  margin-top:28px;padding-top:20px;border-top:1px solid var(--line);
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3);
}
@media(max-width:480px){
  .ci-agegate-box{padding:40px 26px 34px}
  .ci-agegate-box h2{font-size:28px}
  .ci-agegate-box .ci-logo-img{height:54px}
}

/* ===================== HEADER ===================== */
.ci-head{
  position:fixed;top:0;left:0;right:0;z-index:50;
  border-bottom:1px solid var(--line);
  transition:background .5s var(--ease),border-color .5s var(--ease),backdrop-filter .5s var(--ease);
}
.ci-head.is-scrolled{
  background:rgba(21,18,13,.74);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid var(--line-2);
}
/* предупреждение о вреде курения — первой строкой шапки, на каждой странице.
   Тон глубже фона, чтобы строка читалась отдельно и над фото первого экрана. */
.ci-health{
  margin:0;padding:7px 20px;text-align:center;
  background:var(--bg);background:color-mix(in srgb,var(--bg) 62%,#000);
  border-bottom:1px solid var(--line);
  font-size:11px;line-height:1.45;letter-spacing:.16em;text-transform:uppercase;
  color:var(--text);
}
/* разрядка рвёт связность арабского письма */
.ci-is-rtl .ci-health{letter-spacing:0;font-size:12.5px}
.ci-head .ci-wrap{max-width:none;padding:0 44px}
.ci-head-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:80px}
.ci-brand{display:flex;align-items:center;gap:13px}
.ci-brand .ci-brand-mark{width:32px;height:32px;flex:none}
.ci-brand .ci-brand-name{
  font-family:'Cormorant Garamond',serif;font-size:18px;letter-spacing:.16em;
  text-transform:uppercase;font-weight:600;color:var(--text);white-space:nowrap;
}
.ci-logo-img{height:40px;width:auto;display:block;object-fit:contain}
.ci-footer .ci-logo-img{height:48px}
.ci-nav{display:flex;gap:34px;justify-self:center}
.ci-nav a{position:relative;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-2);padding:6px 0;transition:color .35s var(--ease)}
.ci-nav a::after{content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease)}
.ci-nav a:hover{color:var(--text)}
.ci-nav a:hover::after{transform:scaleX(1)}
.ci-head-actions{display:flex;align-items:center;gap:26px;justify-self:end}
.ci-icons{display:flex;gap:20px;align-items:center}

/* переключатель языка EN / AR */
.ci-lang{display:flex;align-items:center;gap:12px}
.ci-lang-btn{
  background:none;border:none;cursor:pointer;padding:4px 2px;
  font-family:'Manrope',sans-serif;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-3);
  transition:color .35s var(--ease);position:relative;
}
.ci-lang-btn::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:var(--gold);transform:scaleX(0);transform-origin:left;
  transition:transform .4s var(--ease);
}
.ci-lang-btn:hover{color:var(--text)}
.ci-lang-btn:hover::after{transform:scaleX(1)}
.ci-lang-btn.is-active{color:var(--gold)}
.ci-lang-btn.is-active::after{transform:scaleX(1)}
.ci-lang-sep{width:1px;height:12px;background:var(--line-2);display:block}
.ci-icons a{position:relative;display:flex;align-items:center;gap:5px;color:var(--text-2);transition:color .3s var(--ease);cursor:pointer}
.ci-icons a:hover{color:var(--gold)}
.ci-icons a i{font-size:16px;line-height:1}
.ci-icons .ci-num{font-size:11px}
.ci-burger{display:none;background:none;border:none;cursor:pointer;color:var(--text);justify-self:end;padding:0;line-height:0}
.ci-burger i{font-size:22px}
/* бургер и крестик лежат друг на друге и перетекают, а не подменяются рывком */
.ci-burger-ico{position:relative;display:grid;place-items:center;width:22px;height:22px}
.ci-burger-ico i{grid-area:1/1;transition:opacity .25s var(--ease),transform .3s var(--ease)}
.ci-burger-ico .fa-xmark{opacity:0;transform:rotate(-90deg) scale(.8)}
.ci-burger.is-open .fa-bars{opacity:0;transform:rotate(90deg) scale(.8)}
.ci-burger.is-open .fa-xmark{opacity:1;transform:none}

/* мобильное меню — выпадающая панель под шапкой (как на .ru).
   Раскрывается плавно: строка сетки едет с 0fr до 1fr, поэтому высоту
   не надо знать заранее и панель не прыгает. */
.ci-mobnav{
  position:absolute;top:100%;left:0;right:0;z-index:199;
  display:grid;grid-template-rows:0fr;
  background:var(--bg-2);
  box-shadow:0 22px 40px -28px rgba(0,0,0,0);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:grid-template-rows .42s var(--ease),opacity .24s var(--ease),
             box-shadow .42s var(--ease),visibility 0s linear .42s;
}
.ci-mobnav-in{
  min-height:0;overflow:hidden;
  display:flex;flex-direction:column;
  /* линия тенью, а не рамкой: рамка не даёт панели схлопнуться в ноль */
  box-shadow:inset 0 1px 0 var(--line);
  /* высоту шапки отдаёт скрипт: в ней ещё строка предупреждения */
  max-height:calc(100vh - var(--ci-head-h, 90px));overflow-y:auto;
}
.ci-mobnav.is-open{
  grid-template-rows:1fr;opacity:1;visibility:visible;pointer-events:auto;
  box-shadow:0 22px 40px -28px rgba(0,0,0,.9);
  transition:grid-template-rows .42s var(--ease),opacity .2s var(--ease),
             box-shadow .42s var(--ease);
}
/* пункты слегка подъезжают следом за панелью */
.ci-mobnav-in > *{opacity:0;transform:translateY(-6px);transition:opacity .3s var(--ease) .06s,transform .3s var(--ease) .06s}
.ci-mobnav.is-open .ci-mobnav-in > *{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .ci-mobnav,.ci-mobnav-in > *{transition-duration:.01ms}
}
.ci-mobnav a{
  padding:14px 24px;color:var(--text-2);
  border-bottom:1px solid rgba(192,163,108,.10);
  font-size:14px;letter-spacing:.06em;text-transform:uppercase;
  transition:color .3s var(--ease);
}
.ci-mobnav a:hover,.ci-mobnav a:active{color:var(--gold)}
/* переключатель языка живёт внутри мобильного меню */
.ci-mobnav-lang{display:flex;align-items:center;gap:14px;padding:10px 24px 14px}
.ci-mobnav-lang .ci-lang-btn{font-size:13px;letter-spacing:.16em;min-height:44px;display:inline-grid;place-items:center;padding:0 6px}
.ci-mobnav-lang .ci-lang-btn::after{bottom:12px}

/* ===================== HERO ===================== */
.ci-hero{
  position:relative;z-index:2;
  min-height:clamp(560px,82vh,760px);
  display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch;background:var(--bg);
}
.ci-hero-text{display:flex;flex-direction:column;justify-content:center;padding:120px 80px 70px 0;max-width:680px;margin-inline-start:auto;width:100%}
.ci-hero h1{font-size:clamp(58px,8vw,120px);font-weight:500;line-height:.93;margin:28px 0 30px}
.ci-hero p{font-size:18px;color:var(--text-2);max-width:420px;margin-bottom:42px;font-weight:300}
.ci-hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.ci-btn{display:inline-flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;padding:17px 34px;cursor:pointer;border:none;border-radius:var(--btn-radius);transition:all .4s var(--ease)}
.ci-btn-primary{background:var(--gold);color:#1a140c}
.ci-btn-primary:hover{background:var(--gold-soft);transform:translateY(-2px)}
.ci-btn-ghost{background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px var(--line-2)}
.ci-btn-ghost:hover{box-shadow:inset 0 0 0 1px var(--gold);color:var(--gold);transform:translateY(-2px)}
.ci-btn .ci-arr{font-size:12px;transition:transform .4s var(--ease)}
.ci-btn:hover .ci-arr{transform:translateX(4px)}
.ci-hero-photo{
  position:relative;
  /* PHOTO — рука с сигарой / виски */
  background:
    linear-gradient(135deg, rgba(20,15,9,.45), rgba(14,10,6,.12) 42%, transparent 70%),
    image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg")) center/cover no-repeat;
}
.ci-hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bg) 0%,transparent 22%)}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ci-an,.ci-hero-photo{animation:none !important;opacity:1 !important}
  *{transition-duration:.01ms !important}
}
@keyframes rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:translateY(0)}}
@keyframes fade{from{opacity:0}to{opacity:1}}
.ci-an{opacity:0;animation:rise 1s var(--ease) forwards}
.ci-d1{animation-delay:.12s}.ci-d2{animation-delay:.26s}.ci-d3{animation-delay:.4s}.ci-d4{animation-delay:.54s}
.ci-hero-photo{opacity:0;animation:fade 1.6s var(--ease) .2s forwards}

/* ===================== CATEGORY STRIP ===================== */
.ci-catstrip{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,1fr);background:var(--bg)}
.ci-catcard{
  position:relative;min-height:190px;display:flex;flex-direction:column;justify-content:flex-end;
  padding:30px 32px;overflow:hidden;border-inline-end:1px solid rgba(192,163,108,.10);
}
.ci-catcard:last-child{border-inline-end:none}
.ci-catcard .ci-ph{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform 1.1s var(--ease)}
.ci-catcard .ci-ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,12,8,.45) 0%,rgba(15,12,8,.55) 45%,rgba(15,12,8,.88) 100%)}
.ci-catcard .ci-ct{position:relative}
.ci-catcard h3{font-size:21px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--text);margin-bottom:8px}
.ci-catcard p{font-size:11.5px;line-height:1.5;color:var(--text-2);font-weight:400;max-width:175px}
.ci-catcard .ci-ar{margin-top:18px;display:inline-block;color:var(--gold);transition:transform .4s var(--ease)}
.ci-catcard .ci-ar i{font-size:16px}
.ci-catcard:hover .ci-ph{transform:scale(1.06)}
.ci-catcard:hover .ci-ar{transform:translateX(6px)}

/* PHOTO слоты карточек — меняй url(...) на свои кадры */
.ci-catcard:nth-child(1) .ci-ph{background-image:image-set(url("../img/cat-accessories.webp") type("image/webp"), url("../img/cat-accessories.jpg") type("image/jpeg"))}
.ci-catcard:nth-child(2) .ci-ph{background-image:image-set(url("../img/cat-humidors.webp") type("image/webp"), url("../img/cat-humidors.jpg") type("image/jpeg"))}
.ci-catcard:nth-child(3) .ci-ph{background-image:image-set(url("../img/cat-lounge.webp") type("image/webp"), url("../img/cat-lounge.jpg") type("image/jpeg"))}
.ci-catcard:nth-child(4) .ci-ph{background-image:image-set(url("../img/cat-gifts.webp") type("image/webp"), url("../img/cat-gifts.jpg") type("image/jpeg"))}
.ci-catcard:nth-child(5) .ci-ph{background-image:image-set(url("../img/cat-club.webp") type("image/webp"), url("../img/cat-club.jpg") type("image/jpeg"))}

/* ===================== THE ART OF CIGARS ===================== */
.ci-culture{position:relative;z-index:2;background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden}
.ci-culture .ci-culture-img{
  position:absolute;top:0;right:0;bottom:0;width:48%;
  /* PHOTO — атмосферный кадр (пепельница / дым) */
  background:image-set(url("../img/culture.webp") type("image/webp"), url("../img/culture.jpg") type("image/jpeg")) center/cover no-repeat;
  opacity:.5;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 65%);
          mask-image:linear-gradient(90deg,transparent 0%,#000 65%);
}
.ci-culture .ci-culture-inner{position:relative;display:flex;align-items:center;gap:32px;padding:56px 0}
.ci-culture .ci-mono{width:78px;height:78px;flex:none}
.ci-culture h2{font-size:clamp(28px,3vw,40px);letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.ci-culture p{color:var(--text-2);font-size:14.5px;font-weight:300;max-width:580px}

/* ===================== SERVICES ===================== */
.ci-section{position:relative;z-index:2;padding:120px 0;background:var(--bg)}
.ci-section-head{margin-bottom:54px;max-width:620px}
.ci-section-head .ci-eyebrow{display:block;margin-bottom:20px}
.ci-section-head h2{font-size:clamp(36px,4.5vw,60px)}
.ci-services{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.ci-service{background:var(--bg);padding:44px 36px;transition:background .5s var(--ease)}
.ci-service .ci-service-n{font-family:'Cormorant Garamond',serif;font-size:18px;color:var(--gold-deep);margin-bottom:24px}
.ci-service h3{font-size:24px;margin-bottom:11px}
.ci-service p{font-size:13.5px;color:var(--text-2);font-weight:300}
.ci-service:hover{background:var(--surface)}

/* ===================== CLUB CTA ===================== */
.ci-club{
  position:relative;z-index:2;text-align:center;padding:150px 40px;
  /* PHOTO — приглушённый кадр клуба */
  background:
    linear-gradient(180deg, rgba(18,13,7,.84), rgba(21,18,13,.93)),
    image-set(url("../img/club-cta.webp") type("image/webp"), url("../img/club-cta.jpg") type("image/jpeg")) center/cover no-repeat;
  border-top:1px solid var(--line);
}
.ci-club .ci-eyebrow{display:block;margin-bottom:24px}
.ci-club h2{font-size:clamp(42px,6vw,82px);margin-bottom:24px}
.ci-club p{color:var(--text-2);max-width:480px;margin:0 auto 42px;font-weight:300;font-size:17px}

/* ===================== FOOTER ===================== */
.ci-footer{position:relative;z-index:2;background:var(--bg-2);border-top:1px solid var(--line);padding-top:84px}
.ci-foot-top{display:grid;grid-template-columns:1.5fr 1fr 1.1fr;gap:56px;padding-bottom:50px}
.ci-footer .ci-brand{margin-bottom:20px}
.ci-foot-tag{color:var(--text-2);font-size:14px;font-weight:300;max-width:290px;margin-bottom:26px;line-height:1.6}
.ci-foot-soc{display:flex;gap:12px}
.ci-foot-soc a{width:42px;height:42px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--text-2);transition:all .4s var(--ease)}
.ci-foot-soc a:hover{color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.ci-foot-soc a i{font-size:18px}
.ci-foot-col h4,.ci-foot-col h2{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--text-3);font-weight:600;margin-bottom:22px}
.ci-foot-col a,.ci-foot-col p{display:block;color:var(--text-2);font-size:14px;margin-bottom:12px;font-weight:300;transition:color .3s var(--ease)}
.ci-foot-col a:hover{color:var(--gold)}
.ci-foot-col .ci-foot-mail{color:var(--text);font-size:17px;font-family:'Cormorant Garamond',serif;letter-spacing:.02em;margin-bottom:16px}
.ci-foot-addr{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;padding:44px 0;border-top:1px solid var(--line)}
.ci-foot-place .ci-lbl{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
.ci-foot-place p{color:var(--text-2);font-size:13px;font-weight:300;line-height:1.65;margin-bottom:9px}
.ci-foot-place a{color:var(--text);transition:color .3s var(--ease)}
.ci-foot-place a:hover{color:var(--gold)}
.ci-foot-place .ci-tel{font-family:'Cormorant Garamond',serif;font-size:20px;color:var(--text);letter-spacing:.02em}
.ci-foot-place .ci-tg{color:var(--gold-deep)}
.ci-foot-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;border-top:1px solid var(--line);flex-wrap:wrap}
/* предупреждение — обязательный элемент, читаемое (как на .ru) */
.ci-warn{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--text-2)}
.ci-age{display:inline-grid;place-items:center;padding:2px 8px;border:1px solid var(--ruby);border-radius:3px;color:#cf6a72;font-size:12px;font-weight:600;flex:none}
.ci-cc{font-size:12px;color:var(--text-3);letter-spacing:.03em}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1100px){
  .ci-catstrip{grid-template-columns:repeat(2,1fr)}
  .ci-catcard{border-inline-end:none;border-bottom:1px solid rgba(192,163,108,.10)}
  .ci-catcard:nth-child(odd){border-inline-end:1px solid rgba(192,163,108,.10)}
  .ci-catcard:last-child{grid-column:1 / -1;border-inline-end:none}
}
@media(min-width:1025px){
  .ci-mobnav{display:none !important}
}
/* три языка, переключатель темы и иконки — на средних экранах шапку поджимаем,
   иначе меню упирается в EN/AR/RU */
@media(max-width:1560px){
  .ci-nav{gap:26px}
  .ci-head-actions{gap:20px}
  .ci-lang{gap:9px}
  .ci-icons{gap:16px}
  .ci-head .ci-wrap{padding:0 32px}
}
@media(max-width:1320px){
  .ci-nav{gap:17px}
  .ci-nav a{letter-spacing:.1em}
  .ci-head-actions{gap:16px}
  .ci-lang{gap:7px}
  .ci-icons{gap:14px}
  .ci-head .ci-wrap{padding:0 24px}
}
@media(max-width:1180px){
  /* узкий «десктопный» коридор: в шапке только герб, всё плотнее */
  .ci-brand .ci-brand-name{display:none}
  .ci-nav{gap:12px}
  .ci-nav a{font-size:10.5px;letter-spacing:.06em}
  .ci-lang{gap:6px}
  .ci-head-actions{gap:12px}
  .ci-theme-toggle{width:26px}
  .ci-icons{gap:10px}
}
@media(max-width:1024px){
  /* на мобильном остаются иконки, а язык переезжает в бургер-меню */
  .ci-nav,.ci-head-actions>.ci-lang{display:none}
  .ci-head-actions{gap:0}
  .ci-icons{gap:2px}
  .ci-icons a{min-width:32px;min-height:44px;gap:0;justify-content:center}
  .ci-icons a i{font-size:18px}
  .ci-icons .ci-num{display:none}
  .ci-burger{display:block}
  /* на мобильном шапка не «плавает» над контентом, а толкает его — как на .ru */
  .ci-head{position:sticky;background:var(--bg)}
  .ci-head.is-scrolled{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}
  #cats,#culture,#club,#footer{scroll-margin-top:64px}
  .ci-head-inner{grid-template-columns:minmax(0,1fr) auto auto;column-gap:14px;height:64px}
  .ci-head .ci-wrap{padding:0 16px}
  .ci-health{padding:6px 14px;letter-spacing:.12em}
  /* тач-зоны не меньше 44px */
  .ci-burger{display:grid;place-items:center;width:44px;height:44px;margin-inline-end:-11px}
  .ci-brand{gap:10px;min-width:0}
  .ci-brand .ci-brand-name{font-size:15px;letter-spacing:.1em;overflow:hidden;text-overflow:ellipsis}
  .ci-logo-img{height:46px}
  .ci-footer .ci-logo-img{height:42px}
  .ci-hero{grid-template-columns:1fr;min-height:auto}
  .ci-hero .ci-hero-text{padding:46px 24px 60px;max-width:none;margin:0}
  .ci-wrap{padding:0 24px}
  .ci-hero-photo{min-height:54vh;order:-1}
  .ci-hero-photo::after{background:linear-gradient(0deg,var(--bg) 0%,transparent 32%)}
  .ci-culture .ci-culture-img{width:100%;opacity:.22;-webkit-mask-image:none;mask-image:none}
  .ci-culture .ci-culture-inner{padding:48px 0}
  .ci-section{padding:84px 0}
  .ci-services{grid-template-columns:repeat(2,1fr)}
  .ci-foot-top{grid-template-columns:1fr 1fr;gap:40px}
  .ci-foot-addr{grid-template-columns:1fr;gap:30px}
}
@media(max-width:680px){
  .ci-services{grid-template-columns:1fr}
  .ci-hero h1{font-size:clamp(46px,14vw,72px)}
  .ci-hero-actions{flex-direction:column}
  .ci-btn{justify-content:center}
  .ci-culture .ci-culture-inner{flex-direction:column;align-items:flex-start;gap:18px}
  .ci-foot-top{grid-template-columns:1fr;gap:34px}
  .ci-foot-bottom{flex-direction:column;align-items:flex-start;gap:14px}
}
/* футер на телефоне — по центру, как на .ru */
@media(max-width:640px){
  .ci-footer{padding-top:54px}
  .ci-footer .ci-wrap{padding:0 22px}
  .ci-foot-top,.ci-foot-addr{text-align:center}
  .ci-footer .ci-brand{flex-direction:column;align-items:center;gap:12px}
  .ci-foot-tag{margin-inline-start:auto;margin-inline-end:auto}
  .ci-foot-soc{justify-content:center}
}
@media(max-width:600px){
  .ci-head .ci-wrap{padding:0 14px}
  .ci-head-inner{column-gap:12px}
  .ci-brand .ci-brand-name{display:none}
  .ci-icons{gap:0}
  .ci-icons a{min-width:30px}
}
@media(max-width:560px){
  .ci-catstrip{grid-template-columns:1fr}
  .ci-catcard,.ci-catcard:nth-child(odd){border-inline-end:none}
  .ci-catcard:last-child{grid-column:auto}
}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   Появились вместе с WordPress-темой: журнал, страницы, поиск,
   404, комментарии. Токены те же, новых значений не вводим.
   ============================================================ */

/* доступность */
.screen-reader-text{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}
.ci-skip-link:focus{
  position:fixed;top:12px;left:12px;z-index:300;width:auto;height:auto;
  clip:auto;clip-path:none;margin:0;padding:12px 20px;
  background:var(--gold);color:#1a140c;font-size:12px;letter-spacing:.16em;
  text-transform:uppercase;font-weight:600;
}

/* отступ под фиксированную шапку на внутренних страницах */
.ci-is-front .ci-hero{margin-top:0}
body:not(.ci-is-front) #content{padding-top:150px}
/* если страница начинается со своей шапки-раздела, второй отступ не нужен */
body:not(.ci-is-front) #content:has(> .ci-page-head:first-child){padding-top:0}
@media(max-width:1024px){
  body:not(.ci-is-front) #content{padding-top:56px}
}

/* заголовок раздела */
.ci-section-head h1{font-size:clamp(36px,4.5vw,60px)}
.ci-archive-desc{color:var(--text-2);font-weight:300;margin-top:16px;max-width:620px}

/* список записей */
.ci-posts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-inline-start:1px solid var(--line)}
.ci-post{background:var(--bg);border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .5s var(--ease)}
.ci-post:hover{background:var(--surface)}
.ci-post-link{display:flex;flex-direction:column;height:100%}
.ci-post-cover{overflow:hidden;aspect-ratio:3/2}
.ci-post-cover img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.ci-post:hover .ci-post-cover img{transform:scale(1.05)}
.ci-post-body{padding:32px 30px 34px;display:flex;flex-direction:column;flex:1}
.ci-post-date{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:14px}
.ci-post-title{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:500;line-height:1.1;margin-bottom:12px}
.ci-post-excerpt{font-size:13.5px;color:var(--text-2);font-weight:300;margin-bottom:20px}
.ci-post .ci-ar{margin-top:auto;color:var(--gold);transition:transform .4s var(--ease)}
.ci-post:hover .ci-ar{transform:translateX(6px)}
@media(max-width:1024px){.ci-posts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.ci-posts{grid-template-columns:1fr}}

/* запись и страница */
.ci-entry{max-width:820px;margin:0 auto}
.ci-entry-head{margin-bottom:38px}
.ci-entry-head .ci-eyebrow{display:block;margin-bottom:18px}
.ci-entry-head h1{font-size:clamp(34px,4.5vw,58px)}
.ci-entry-cover{margin-bottom:40px}
.ci-entry-cover img{width:100%;height:auto}
.ci-entry-body{color:var(--text-2);font-weight:300;font-size:16px;line-height:1.75}
.ci-entry-body h2,.ci-entry-body h3,.ci-entry-body h4{color:var(--text);margin:38px 0 14px}
.ci-entry-body h2{font-size:32px}
.ci-entry-body h3{font-size:25px}
.ci-entry-body h4{font-family:'Manrope',sans-serif;font-size:15px;letter-spacing:.16em;text-transform:uppercase;font-weight:600}
.ci-entry-body p{margin-bottom:18px}
.ci-entry-body a:not(.ci-btn){color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.ci-entry-body a:not(.ci-btn):hover{color:var(--gold-soft)}
/* кнопка внутри текста статьи не должна краситься как ссылка —
   золотой текст на золотой заливке становится невидимым */
.ci-entry-body a.ci-btn{text-decoration:none}
.ci-entry-body a.ci-btn-primary{color:#1a140c}
.ci-entry-body a.ci-btn-ghost{color:var(--text)}
.ci-entry-body ul,.ci-entry-body ol{margin:0 0 20px 22px}
.ci-entry-body li{margin-bottom:8px}
.ci-entry-body img{height:auto;margin:26px 0}
.ci-entry-body blockquote{
  margin:30px 0;padding:4px 0 4px 26px;border-inline-start:1px solid var(--line-2);
  font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--text);
}
.ci-entry-body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
.ci-entry-body th,.ci-entry-body td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:start}
.ci-entry-body th{color:var(--text);font-weight:600}

/* навигация */
.ci-pagination,.ci-pagelinks{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:54px}
.ci-pagination a,.ci-pagination span,.ci-pagelinks a{
  min-width:42px;height:42px;display:grid;place-items:center;padding:0 12px;
  font-size:13px;color:var(--text-2);box-shadow:inset 0 0 0 1px var(--line);
  transition:all .35s var(--ease);
}
.ci-pagination a:hover,.ci-pagelinks a:hover{color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.ci-pagination .current{color:var(--gold);box-shadow:inset 0 0 0 1px var(--line-2)}
.ci-postnav{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;max-width:820px;margin:60px auto 0;padding-top:28px;border-top:1px solid var(--line)}
.ci-postnav a{font-size:13px;color:var(--text-2);transition:color .3s var(--ease)}
.ci-postnav a:hover{color:var(--gold)}

/* поиск */
.ci-searchform{display:flex;gap:12px;max-width:520px;margin-bottom:44px;flex-wrap:wrap}
.ci-searchform input[type=search]{
  flex:1;min-width:220px;background:transparent;color:var(--text);
  border:none;box-shadow:inset 0 0 0 1px var(--line-2);
  padding:15px 20px;font-family:'Manrope',sans-serif;font-size:14px;
  border-radius:var(--btn-radius);
}
.ci-searchform input[type=search]::placeholder{color:var(--text-3)}
.ci-searchform input[type=search]:focus{box-shadow:inset 0 0 0 1px var(--gold);outline:none}

/* пусто и 404 */
.ci-empty{color:var(--text-2);font-weight:300}
.ci-404 .ci-eyebrow{display:block;margin-bottom:20px}
.ci-404 h1{font-size:clamp(42px,6vw,78px);margin-bottom:18px}
.ci-404 p{color:var(--text-2);font-weight:300;max-width:520px;margin-bottom:30px}
.ci-404-actions{display:flex;gap:14px;flex-wrap:wrap}

/* комментарии */
.ci-comments{max-width:820px;margin:64px auto 0;padding-top:40px;border-top:1px solid var(--line)}
.ci-comments-title{font-family:'Cormorant Garamond',serif;font-size:28px;margin-bottom:26px}
.ci-comment-list{list-style:none;margin:0 0 40px}
.ci-comment-list li{padding:22px 0;border-bottom:1px solid var(--line)}
.ci-comment-list .children{list-style:none;margin-inline-start:28px}
.ci-comments .comment-form{display:grid;gap:14px;max-width:560px}
.ci-comments input[type=text],.ci-comments input[type=email],.ci-comments input[type=url],.ci-comments textarea{
  width:100%;background:transparent;color:var(--text);border:none;
  box-shadow:inset 0 0 0 1px var(--line-2);padding:14px 18px;
  font-family:'Manrope',sans-serif;font-size:14px;
}
.ci-comments textarea{min-height:140px;resize:vertical}
.ci-comments input:focus,.ci-comments textarea:focus{box-shadow:inset 0 0 0 1px var(--gold);outline:none}

/* виджеты журнала */
.ci-widget{margin-bottom:34px}
.ci-widget-title{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--text-3);font-weight:600;margin-bottom:16px}
.ci-widget ul{list-style:none}
.ci-widget li{margin-bottom:10px}
.ci-widget a{color:var(--text-2);font-size:14px;font-weight:300;transition:color .3s var(--ease)}
.ci-widget a:hover{color:var(--gold)}

/* магазин: слой поверх базовых стилей WooCommerce.
   Полноценная вёрстка каталога делается отдельно, сначала прототипом. */
.ci-shop .woocommerce-breadcrumb{font-size:12px;color:var(--text-3);margin-bottom:26px}
.ci-shop .woocommerce-breadcrumb a{color:var(--text-2)}
.ci-shop .price{color:var(--text)}
.ci-checkout-age{
  margin-bottom:22px;padding:14px 18px;font-size:13px;color:var(--text-2);
  box-shadow:inset 0 0 0 1px var(--line-2);
}

/* ============================================================
   КАТАЛОГ, ТОВАР, ОФОРМЛЕНИЕ, КОНТЕНТНЫЕ СТРАНИЦЫ
   ============================================================ */

/* --- шапка раздела --- */
.ci-crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;color:var(--text-3);margin-bottom:26px}
.ci-crumbs a{color:var(--text-2);transition:color .3s var(--ease)}
.ci-crumbs a:hover{color:var(--gold)}
.ci-crumbs span[aria-hidden]{opacity:.4}

.ci-page-head{padding-top:150px;padding-bottom:0}
.ci-page-head .ci-eyebrow{display:block;margin-bottom:18px}
.ci-page-head h1{font-size:clamp(36px,4.6vw,62px);margin-bottom:18px}
.ci-page-lead{color:var(--text-2);font-weight:300;font-size:16px;max-width:640px}
@media(max-width:1024px){.ci-page-head{padding-top:44px}}

/* --- сетка «фильтры + контент» --- */
/* minmax(0,1fr), а не 1fr: иначе колонку распирает самая широкая карточка
   (на телефоне 460px при экране 390), и арабская версия открывается со сдвигом */
.ci-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:56px;align-items:start}
@media(max-width:1024px){.ci-layout{grid-template-columns:minmax(0,1fr);gap:34px}}

/* --- подразделы чипсами --- */
.ci-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px}
.ci-chips a{
  padding:10px 20px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--text-2);box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--btn-radius);
  transition:all .35s var(--ease);
}
.ci-chips a:hover{color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.ci-chips a.is-active{color:#1a140c;background:var(--gold);box-shadow:none;font-weight:600}

/* --- фильтры --- */
.ci-filters{position:sticky;top:110px}
.ci-filter-group{padding:22px 0;border-bottom:1px solid var(--line)}
.ci-filter-group:first-child{padding-top:0}
.ci-filter-group:last-child{border-bottom:none}
.ci-filter-group h4,.ci-filter-group h2{
  font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--text-3);
  font-weight:600;margin-bottom:16px;
}
.ci-check{display:flex;align-items:center;gap:11px;margin-bottom:11px;cursor:pointer;font-size:14px;color:var(--text-2);font-weight:300}
.ci-check:last-child{margin-bottom:0}
.ci-check input{
  appearance:none;width:16px;height:16px;flex:none;cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--line-2);transition:all .3s var(--ease);
}
.ci-check input:checked{background:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.ci-check input:checked::after{content:"";display:block;width:100%;height:100%;
  background:no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%231a140c' stroke-width='2' fill='none'/%3E%3C/svg%3E")}
.ci-check:hover{color:var(--text)}
.ci-check .ci-cnt{margin-inline-start:auto;font-size:12px;color:var(--text-3)}
.ci-range{display:flex;align-items:center;gap:10px}
.ci-range input{
  width:100%;background:transparent;color:var(--text);border:none;
  box-shadow:inset 0 0 0 1px var(--line-2);padding:11px 13px;font-family:'Manrope',sans-serif;font-size:13px;
}
.ci-range input:focus{box-shadow:inset 0 0 0 1px var(--gold);outline:none}
.ci-range span{color:var(--text-3)}
.ci-filters-head,.ci-filters-show{display:none}
.ci-filter-reset{display:inline-block;margin-top:22px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);background:none;border:none;cursor:pointer;padding:0}
.ci-filter-reset:hover{color:var(--gold)}
.ci-filter-toggle{display:none}

/* --- панель сортировки --- */
.ci-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  padding-bottom:20px;margin-bottom:30px;border-bottom:1px solid var(--line)}
.ci-toolbar .ci-found{font-size:13px;color:var(--text-3)}
.ci-sort{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3)}
.ci-select{
  appearance:none;background:transparent;color:var(--text);border:none;cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--line-2);padding:11px 38px 11px 16px;
  font-family:'Manrope',sans-serif;font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c0a36c' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:10px;
}
.ci-select:focus{box-shadow:inset 0 0 0 1px var(--gold);outline:none}

/* --- сетка товаров --- */
.ci-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-inline-start:1px solid var(--line)}
.ci-grid.is-4{grid-template-columns:repeat(4,1fr)}
.ci-card{
  position:relative;display:flex;flex-direction:column;background:var(--bg);
  border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);
  transition:background .5s var(--ease);
}
.ci-card:hover{background:var(--surface)}
.ci-card-media{position:relative;display:block;aspect-ratio:1;overflow:hidden}
.ci-card-media img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.ci-card:hover .ci-card-media img{transform:scale(1.05)}
.ci-badge{
  position:absolute;top:14px;left:14px;z-index:2;padding:5px 11px;
  font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;
  background:var(--gold);color:#1a140c;
}
.ci-badge.is-out{background:transparent;color:var(--text-2);box-shadow:inset 0 0 0 1px var(--line-2)}
.ci-card-acts{position:absolute;top:12px;right:12px;z-index:2;display:flex;flex-direction:column;gap:8px;opacity:0;transform:translateX(8px);transition:all .4s var(--ease)}
.ci-card:hover .ci-card-acts,.ci-card:focus-within .ci-card-acts{opacity:1;transform:none}
.ci-card-acts button{
  width:34px;height:34px;display:grid;place-items:center;cursor:pointer;border:none;
  background:rgba(21,18,13,.72);color:var(--text-2);transition:color .3s var(--ease);
}
.ci-card-acts button:hover{color:var(--gold)}
.ci-card-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.ci-card-cat{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:9px}
.ci-card-title{font-family:'Manrope',sans-serif;font-size:14.5px;font-weight:500;line-height:1.4;color:var(--text);margin-bottom:14px}
.ci-card-title a:hover{color:var(--gold)}
.ci-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ci-price{font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--text);letter-spacing:.02em;white-space:nowrap}
.ci-price small{font-size:12px;color:var(--text-3);font-family:'Manrope',sans-serif;margin-inline-start:4px}
.ci-price s{color:var(--text-3);font-size:16px;margin-inline-end:8px}
.ci-card-buy{
  width:40px;height:40px;flex:none;display:grid;place-items:center;cursor:pointer;border:none;
  background:transparent;color:var(--gold);box-shadow:inset 0 0 0 1px var(--line-2);
  border-radius:50%;transition:all .35s var(--ease);
}
.ci-card-buy:hover{background:var(--gold);color:#1a140c;box-shadow:none}
.ci-stock{font-size:11.5px;color:var(--gold-deep);letter-spacing:.06em}
.ci-stock.is-out{color:var(--text-3)}
/* «под заказ» — не «нет», но и не «есть»: приглушаем, не гася до серого */
.ci-stock.is-order{color:var(--text-2)}
@media(max-width:1100px){.ci-grid,.ci-grid.is-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.ci-grid,.ci-grid.is-4{grid-template-columns:1fr}}

/* --- SEO-текст и вопросы --- */
.ci-seo{margin-top:70px;padding-top:54px;border-top:1px solid var(--line)}
.ci-seo h2{font-size:clamp(26px,3vw,38px);margin-bottom:20px}
.ci-seo h3{font-size:22px;margin:32px 0 12px}
.ci-seo p,.ci-seo li{color:var(--text-2);font-weight:300;font-size:15px;line-height:1.75}
.ci-seo p{margin-bottom:16px}
.ci-seo ul{margin:0 0 18px 20px}
.ci-faq{margin-top:44px;max-width:880px}
.ci-faq details{border-bottom:1px solid var(--line)}
.ci-faq summary{
  list-style:none;cursor:pointer;padding:22px 40px 22px 0;position:relative;
  font-family:'Cormorant Garamond',serif;font-size:21px;color:var(--text);
}
.ci-faq summary::-webkit-details-marker{display:none}
.ci-faq summary::after{
  content:"+";position:absolute;right:6px;top:50%;transform:translateY(-50%);
  color:var(--gold);font-family:'Manrope',sans-serif;font-size:20px;transition:transform .35s var(--ease);
}
.ci-faq details[open] summary::after{content:"–"}
.ci-faq p{color:var(--text-2);font-weight:300;font-size:15px;padding-bottom:22px;max-width:760px}

/* --- страница товара --- */
.ci-product{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:start}
@media(max-width:1024px){.ci-product{gap:38px}}
@media(max-width:760px){.ci-product{grid-template-columns:1fr;gap:30px}}
.ci-gallery-main{aspect-ratio:1;overflow:hidden;background:var(--bg-2);border:1px solid var(--line)}
.ci-gallery-main img{width:100%;height:100%;object-fit:cover}
.ci-gallery-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.ci-gallery-thumbs button{
  aspect-ratio:1;padding:0;border:none;cursor:pointer;overflow:hidden;background:none;
  box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .3s var(--ease);
}
.ci-gallery-thumbs button img{width:100%;height:100%;object-fit:cover}
.ci-gallery-thumbs button.is-active,.ci-gallery-thumbs button:hover{box-shadow:inset 0 0 0 1px var(--gold)}
.ci-buybox h1{font-size:clamp(28px,3.4vw,44px);margin:14px 0 18px}
.ci-sku{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
.ci-price-lg{font-family:'Cormorant Garamond',serif;font-size:40px;color:var(--text);margin-bottom:6px}
.ci-price-note{font-size:12.5px;color:var(--text-3);margin-bottom:26px}
.ci-buy-row{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;margin-bottom:22px}
.ci-qty{display:flex;align-items:center;box-shadow:inset 0 0 0 1px var(--line-2);border-radius:var(--btn-radius)}
.ci-qty button{width:46px;height:52px;background:none;border:none;color:var(--text-2);cursor:pointer;font-size:16px;transition:color .3s var(--ease)}
.ci-qty button:hover{color:var(--gold)}
.ci-qty input{width:44px;height:52px;text-align:center;background:none;border:none;color:var(--text);font-family:'Manrope',sans-serif;font-size:15px}
.ci-qty input::-webkit-outer-spin-button,.ci-qty input::-webkit-inner-spin-button{appearance:none}
.ci-buy-row .ci-btn{flex:1;min-width:180px;justify-content:center}
.ci-side-acts{display:flex;gap:22px;margin-top:26px;margin-bottom:30px}
.ci-side-acts button{background:none;border:none;cursor:pointer;color:var(--text-2);font-size:12.5px;display:flex;align-items:center;gap:9px;padding:0;transition:color .3s var(--ease)}
.ci-side-acts button:hover{color:var(--gold)}
.ci-usp{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:30px}
.ci-usp div{background:var(--bg);padding:16px 20px;display:flex;align-items:center;gap:14px;font-size:13px;color:var(--text-2);font-weight:300}
.ci-usp i{color:var(--gold);font-size:15px;width:18px;text-align:center}
.ci-specs{width:100%;border-collapse:collapse;font-size:14px}
.ci-specs td{padding:13px 0;border-bottom:1px solid var(--line);color:var(--text-2);font-weight:300}
.ci-specs td:first-child{color:var(--text-3);width:44%}
.ci-specs tr:last-child td{border-bottom:none}

/* --- вкладки --- */
.ci-tabs{margin-top:80px}
.ci-tabs-nav{display:flex;gap:34px;border-bottom:1px solid var(--line);margin-bottom:34px;overflow-x:auto}
.ci-tabs-nav button{
  background:none;border:none;cursor:pointer;padding:0 0 16px;white-space:nowrap;
  font-family:'Manrope',sans-serif;font-size:12px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--text-3);position:relative;transition:color .35s var(--ease);
}
.ci-tabs-nav button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease)}
.ci-tabs-nav button:hover{color:var(--text)}
.ci-tabs-nav button.is-active{color:var(--gold)}
.ci-tabs-nav button.is-active::after{transform:scaleX(1)}
.ci-tab-panel{display:none;color:var(--text-2);font-weight:300;font-size:15px;line-height:1.75;max-width:840px}
.ci-tab-panel.is-active{display:block}
.ci-tab-panel p{margin-bottom:16px}
.ci-tab-panel h4{color:var(--text);font-size:15px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;margin:26px 0 12px}
.ci-tab-panel ul{margin:0 0 16px 20px}
.ci-tab-panel li{margin-bottom:8px}

/* --- корзина и оформление --- */
.ci-cart{display:grid;grid-template-columns:1fr 372px;gap:56px;align-items:start}
@media(max-width:1024px){.ci-cart{grid-template-columns:1fr 320px;gap:34px}}
@media(max-width:900px){.ci-cart{grid-template-columns:1fr;gap:32px}}
.ci-cart-row{display:grid;grid-template-columns:96px 1fr auto auto auto;gap:22px;align-items:center;
  padding:22px 0;border-bottom:1px solid var(--line)}
.ci-cart-row:first-child{border-top:1px solid var(--line)}
.ci-cart-row img{width:96px;height:96px;object-fit:cover}
.ci-cart-name{font-size:14.5px;color:var(--text);font-weight:500;margin-bottom:6px}
.ci-cart-name a:hover{color:var(--gold)}
.ci-cart-meta{font-size:12px;color:var(--text-3)}
.ci-cart-row .ci-qty{transform:scale(.86);transform-origin:right center}
.ci-cart-sum{font-family:'Cormorant Garamond',serif;font-size:22px;min-width:110px;text-align:end}
.ci-cart-del{background:none;border:none;color:var(--text-3);cursor:pointer;font-size:15px;transition:color .3s var(--ease)}
.ci-cart-del:hover{color:var(--ruby)}
@media(max-width:1024px){
  .ci-cart-row{grid-template-columns:76px 1fr auto;gap:14px 16px}
  .ci-cart-row img{width:76px;height:76px;grid-column:1;grid-row:1/3;align-self:start}
  .ci-cart-row > div:nth-of-type(1){grid-column:2;grid-row:1}
  .ci-cart-del{grid-column:3;grid-row:1;align-self:start}
  .ci-cart-row .ci-qty{grid-column:2;grid-row:2;justify-self:start;transform:none}
  .ci-cart-row .ci-qty button{width:40px;height:44px}
  .ci-cart-row .ci-qty input{width:38px;height:44px}
  .ci-cart-sum{grid-column:3;grid-row:2;text-align:end;min-width:0}
}
.ci-summary{background:var(--bg-2);border:1px solid var(--line);padding:32px 30px;position:sticky;top:110px}
.ci-summary h3{font-size:24px;margin-bottom:22px}
.ci-summary-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;font-size:14px;color:var(--text-2);font-weight:300}
.ci-summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:14px;padding-top:18px;border-top:1px solid var(--line)}
/* подпись «Total» — мелкими прописными, но правило ловило и span с ценой
   внутри <b>, из-за чего сумма набиралась в 12px */
.ci-summary-total > span{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3)}
.ci-summary-total b{font-family:'Cormorant Garamond',serif;font-size:32px;font-weight:500;color:var(--text)}
.ci-summary-total b span,.ci-summary-total b .amount,.ci-summary-total b bdi{
  font:inherit;color:inherit;letter-spacing:normal;text-transform:none;
}
.ci-summary-total b .woocommerce-Price-currencySymbol{font-size:.62em;letter-spacing:.06em;color:var(--text-2);margin-inline-end:.16em}
.ci-summary .ci-btn{width:100%;justify-content:center;margin-top:24px}
.ci-promo{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.ci-promo input{flex:1 1 150px;min-width:0}

/* --- формы --- */
.ci-form{display:grid;gap:18px;max-width:620px}
.ci-form-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:680px){.ci-form-2{grid-template-columns:1fr}}
.ci-field label{display:block;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3);margin-bottom:9px}
.ci-input,.ci-form textarea{
  width:100%;background:transparent;color:var(--text);border:none;
  box-shadow:inset 0 0 0 1px var(--line-2);padding:15px 18px;
  font-family:'Manrope',sans-serif;font-size:14px;transition:box-shadow .3s var(--ease);
}
.ci-input::placeholder,.ci-form textarea::placeholder{color:var(--text-3)}
.ci-input:focus,.ci-form textarea:focus{box-shadow:inset 0 0 0 1px var(--gold);outline:none}
.ci-form textarea{min-height:130px;resize:vertical}
.ci-radio{display:flex;align-items:flex-start;gap:13px;padding:18px 20px;cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .3s var(--ease);margin-bottom:12px}
.ci-radio:hover{box-shadow:inset 0 0 0 1px var(--line-2)}
.ci-radio input{appearance:none;width:16px;height:16px;flex:none;margin-top:3px;border-radius:50%;
  box-shadow:inset 0 0 0 1px var(--line-2);cursor:pointer;transition:all .3s var(--ease)}
.ci-radio input:checked{box-shadow:inset 0 0 0 5px var(--gold)}
.ci-radio:has(input:checked){box-shadow:inset 0 0 0 1px var(--gold)}
.ci-radio b{display:block;font-family:'Manrope',sans-serif;font-size:14px;font-weight:500;color:var(--text);margin-bottom:4px}
.ci-radio span{font-size:12.5px;color:var(--text-3);font-weight:300}
.ci-radio em{margin-inline-start:auto;font-style:normal;font-family:'Cormorant Garamond',serif;font-size:19px;color:var(--text);white-space:nowrap}
.ci-hint{font-size:12px;color:var(--text-3);font-weight:300}
.ci-note{padding:16px 20px;font-size:13px;color:var(--text-2);font-weight:300;box-shadow:inset 0 0 0 1px var(--line-2)}
.ci-note i{color:var(--gold);margin-inline-end:10px}

/* --- шаги оформления --- */
.ci-steps{display:flex;gap:34px;flex-wrap:wrap;margin-bottom:44px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.ci-steps div{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
.ci-steps b{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;
  box-shadow:inset 0 0 0 1px var(--line-2);font-size:11px;font-weight:600}
.ci-steps .is-active{color:var(--gold)}
.ci-steps .is-active b{background:var(--gold);color:#1a140c;box-shadow:none}

/* --- личный кабинет --- */
.ci-account{display:grid;grid-template-columns:250px 1fr;gap:56px;align-items:start}
@media(max-width:1024px){.ci-account{grid-template-columns:210px 1fr;gap:34px}}
@media(max-width:820px){.ci-account{grid-template-columns:1fr;gap:30px}}
.ci-account-nav{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.ci-account-nav a{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--text-2);
  display:flex;align-items:center;gap:12px;transition:color .3s var(--ease)}
.ci-account-nav a i{color:var(--gold-deep);width:16px}
.ci-account-nav a:hover,.ci-account-nav a.is-active{color:var(--gold)}
/* выход отделён от разделов кабинета — это не такой же пункт */
.ci-account-nav .ci-account-logout{margin-top:18px;border-top:1px solid var(--line)}
.ci-account-nav .ci-account-logout i{color:var(--text-3)}
.ci-orders{width:100%;border-collapse:collapse;font-size:14px}
.ci-orders th{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3);
  font-weight:600;text-align:start;padding:0 16px 14px 0;border-bottom:1px solid var(--line)}
.ci-orders td{padding:18px 16px 18px 0;border-bottom:1px solid var(--line);color:var(--text-2);font-weight:300}
.ci-orders td:first-child{color:var(--text)}
.ci-status{font-size:11px;letter-spacing:.14em;text-transform:uppercase;padding:5px 11px;
  box-shadow:inset 0 0 0 1px var(--line-2);color:var(--text-2);white-space:nowrap}
.ci-status.is-done{color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold-deep)}

/* --- сравнение --- */
.ci-compare{overflow-x:auto}
.ci-compare table{border-collapse:collapse;min-width:760px;width:100%}
.ci-compare th,.ci-compare td{padding:16px 20px;border-bottom:1px solid var(--line);border-inline-end:1px solid var(--line);
  font-size:14px;color:var(--text-2);font-weight:300;vertical-align:top}
.ci-compare th:first-child,.ci-compare td:first-child{color:var(--text-3);font-size:12px;letter-spacing:.12em;
  text-transform:uppercase;width:190px}
.ci-compare tr:first-child td{border-bottom:none}
.ci-compare img{width:100%;max-width:190px;aspect-ratio:1;object-fit:cover;margin-bottom:12px}

/* --- контакты --- */
.ci-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:60px}
.ci-contact-card{background:var(--bg);padding:34px 30px}
.ci-contact-card .ci-lbl{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:16px}
.ci-contact-card p{color:var(--text-2);font-size:14px;font-weight:300;line-height:1.65;margin-bottom:12px}
.ci-contact-card a{color:var(--text);transition:color .3s var(--ease)}
.ci-contact-card a:hover{color:var(--gold)}
.ci-contact-card .ci-tel{font-family:'Cormorant Garamond',serif;font-size:22px}
.ci-map{aspect-ratio:21/9;background:var(--bg-2);border:1px solid var(--line);display:grid;place-items:center;
  color:var(--text-3);font-size:12px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:60px}
@media(max-width:900px){.ci-contact-grid{grid-template-columns:1fr}.ci-map{aspect-ratio:4/3}}

/* --- перечни: услуги, преимущества, факты --- */
.ci-list{display:grid;grid-template-columns:repeat(2,1fr);
  border-top:1px solid var(--line);border-inline-start:1px solid var(--line)}
.ci-list-item{background:var(--bg);padding:40px 36px;transition:background .5s var(--ease);
  border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line)}
.ci-list-item.has-media{padding:0;display:flex;flex-direction:column}
.ci-list-media{aspect-ratio:4/3;overflow:hidden;background:var(--bg-2)}
.ci-list-media img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.ci-list-item.has-media:hover .ci-list-media img{transform:scale(1.04)}
.ci-list-body{padding:32px 34px 36px;display:flex;flex-direction:column;flex:1}
.ci-list-body .ci-service-n{margin-bottom:16px}
.ci-list-body p:last-child{margin-bottom:0}
.ci-list-item:hover{background:var(--surface)}
.ci-list-item .ci-service-n{font-family:'Cormorant Garamond',serif;font-size:18px;color:var(--gold-deep);margin-bottom:20px}
.ci-list-item h3{font-size:25px;margin-bottom:12px}
.ci-list-item p{font-size:14px;color:var(--text-2);font-weight:300}
.ci-list-item ul{margin:16px 0 0 18px}
.ci-list-item li{font-size:13.5px;color:var(--text-2);font-weight:300;margin-bottom:7px}
@media(max-width:800px){.ci-list{grid-template-columns:1fr}}
.ci-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin:60px 0}
.ci-fact{background:var(--bg);padding:34px 28px;text-align:center}
.ci-fact b{display:block;font-family:'Cormorant Garamond',serif;font-size:44px;color:var(--gold);line-height:1;margin-bottom:10px}
.ci-fact span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
@media(max-width:820px){.ci-facts{grid-template-columns:repeat(2,1fr)}}

/* --- две колонки текст + фото --- */
.ci-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin:70px 0}
.ci-split.is-rev .ci-split-media{order:-1}
.ci-split-media{aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line)}
.ci-split-media img{width:100%;height:100%;object-fit:cover}
.ci-split h2{font-size:clamp(28px,3.2vw,42px);margin-bottom:18px}
.ci-split p{color:var(--text-2);font-weight:300;font-size:15px;line-height:1.75;margin-bottom:14px}
@media(max-width:900px){.ci-split{grid-template-columns:1fr;gap:30px;margin:44px 0}.ci-split.is-rev .ci-split-media{order:0}}

/* --- вкладка «вход/регистрация» --- */
.ci-auth{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);max-width:940px}
.ci-auth > div{background:var(--bg);padding:44px 40px}
.ci-auth h2{font-size:28px;margin-bottom:10px}
.ci-auth p{color:var(--text-2);font-size:14px;font-weight:300;margin-bottom:26px}
@media(max-width:800px){.ci-auth{grid-template-columns:1fr}}

/* фильтры на мобильном скрываются за кнопкой */
@media(max-width:1024px){
  .ci-filter-toggle{
    display:inline-flex;align-items:center;gap:10px;margin-bottom:22px;cursor:pointer;
    background:none;border:none;color:var(--text);padding:13px 24px;
    box-shadow:inset 0 0 0 1px var(--line-2);border-radius:var(--btn-radius);
    font-family:'Manrope',sans-serif;font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;
  }
  .ci-filter-toggle i{color:var(--gold)}
  /* фильтры выезжают панелью поверх страницы: раскрытие на месте
     сдвигало каталог и заставляло скроллить вслепую */
  .ci-filters-veil{
    position:fixed;inset:0;z-index:60;background:rgba(10,7,4,.62);
    opacity:0;pointer-events:none;transition:opacity .35s var(--ease);
  }
  body.ci-filters-open .ci-filters-veil{opacity:1;pointer-events:auto}
  /* пока шторка открыта, её секция идёт поверх прилипшей шапки */
  .ci-section.has-filters-open{z-index:70}
  .ci-filters{
    position:fixed;top:0;bottom:0;left:0;z-index:61;
    width:min(370px,88vw);display:flex;flex-direction:column;
    background:var(--bg);box-shadow:0 0 60px rgba(0,0,0,.45);
    transform:translateX(-102%);visibility:hidden;
    transition:transform .38s var(--ease),visibility 0s linear .38s;
  }
  .ci-filters.is-open{transform:none;visibility:visible;transition:transform .38s var(--ease)}
  .ci-filters-head{
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 22px;border-bottom:1px solid var(--line);
    font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;
  }
  .ci-filters-close{
    width:44px;height:44px;margin-inline-end:-11px;display:grid;place-items:center;
    background:none;border:none;color:var(--text);font-size:19px;cursor:pointer;
  }
  .ci-filters-body{flex:1 1 auto;overflow-y:auto;padding:4px 22px 22px;-webkit-overflow-scrolling:touch}
  .ci-filters-foot{
    flex:0 0 auto;padding:16px 22px calc(16px + env(safe-area-inset-bottom));
    border-top:1px solid var(--line);display:grid;gap:12px;justify-items:center;
  }
  .ci-filters-show{display:inline-flex;width:100%;justify-content:center;margin:0}
  .ci-filter-apply{margin-top:0}
  .ci-filter-reset{margin-top:0}
  /* пока шторка открыта, страница под ней не прокручивается */
  body.ci-filters-open{overflow:hidden}
}

/* первый и последний блок в секции не добавляют лишнего воздуха */
.ci-wrap > .ci-split:first-child{margin-top:0}
.ci-wrap > .ci-split:last-child{margin-bottom:0}
/* переключатели в оформлении заказа держат ширину формы */
.ci-radio{max-width:620px}

/* ============================================================
   ТОЛЬКО ДЛЯ ПРОТОТИПА: переключатель тёмный / светлый.
   В WordPress-тему не переносится — служебный элемент показа.
   ============================================================ */
.ci-variant-switch{
  position:fixed;right:18px;bottom:18px;z-index:180;display:flex;align-items:center;gap:2px;
  padding:5px;border-radius:999px;background:rgba(21,18,13,.9);
  box-shadow:0 12px 30px -18px rgba(0,0,0,.9), inset 0 0 0 1px rgba(192,163,108,.3);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.ci-variant-switch a{
  padding:8px 15px;border-radius:999px;font-size:10.5px;letter-spacing:.16em;
  text-transform:uppercase;font-weight:600;color:rgba(236,229,215,.6);
  transition:all .3s var(--ease);white-space:nowrap;
}
.ci-variant-switch a:hover{color:#ece5d7}
.ci-variant-switch a.is-active{background:#c0a36c;color:#1f1809}
@media(max-width:600px){
  .ci-variant-switch{right:12px;bottom:12px}
  .ci-variant-switch a{padding:7px 12px;font-size:10px}
}

/* ============================================================
   ПЛАНШЕТ И ТЕЛЕФОН — доводка внутренних страниц
   Сенсорный ввод: наведения нет, тач-зоны от 40px,
   таблицы превращаются в списки, каталог в две колонки.
   ============================================================ */

@media(max-width:1024px){
  /* прилипающие панели на узком экране только мешают
     (фильтры не трогаем — они здесь выезжающая шторка) */
  .ci-summary{position:static}

  /* действия на карточке показываем всегда — hover на тач-экране не случится */
  .ci-card-acts{opacity:1;transform:none}
  .ci-card-acts button{width:40px;height:40px}

  /* кнопка удаления в корзине была 11px по ширине */
  .ci-cart-del{width:40px;height:40px;display:grid;place-items:center;margin-inline-end:-8px}

  /* мелкие текстовые кнопки на карточке товара */
  .ci-side-acts{flex-wrap:wrap;gap:6px 24px}
  .ci-side-acts button{min-height:44px}

  /* вкладки — палец, а не курсор */
  .ci-tabs-nav{gap:26px}
  .ci-tabs-nav button{padding:6px 0 20px}

  /* телефоны и мессенджеры в подвале и на контактах */
  .ci-foot-place a,.ci-contact-card a{display:inline-block;padding:8px 0}

  /* поля не должны провоцировать зум в iOS: минимум 16px */
  .ci-input,.ci-form textarea,.ci-range input,.ci-select,
  .ci-searchform input[type=search],.ci-promo input{font-size:16px}
}

/* ---------- планшет: каталог тремя колонками, пока влезает ---------- */
@media(max-width:1100px) and (min-width:781px){
  .ci-grid.is-4{grid-template-columns:repeat(3,1fr)}
}

/* ---------- телефон: каталог в две колонки ---------- */
@media(max-width:520px){
  /* minmax(0,…) — иначе длинная цена не даёт колонке сжаться и сетка вылезает */
  .ci-grid,.ci-grid.is-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-card-foot{flex-wrap:wrap}
  .ci-card-body{padding:14px 14px 17px}
  .ci-card-cat{font-size:10px;letter-spacing:.16em;margin-bottom:7px}
  .ci-card-title{font-size:13px;line-height:1.35;margin-bottom:9px}
  .ci-stock{font-size:11px}
  .ci-card-foot{gap:8px;margin-top:12px}
  .ci-price{font-size:19px}
  .ci-card-buy{width:36px;height:36px}
  .ci-badge{font-size:9.5px;padding:4px 9px;top:10px;left:10px}
  .ci-card-acts{top:8px;right:8px;gap:6px}
  .ci-card-acts button{width:36px;height:36px}
}
@media(max-width:340px){
  .ci-card-foot{flex-direction:column;align-items:flex-start;gap:10px}
}

/* ---------- история заказов: таблица → список ---------- */
@media(max-width:680px){
  .ci-orders,.ci-orders tbody,.ci-orders tr,.ci-orders td{display:block;width:100%}
  .ci-orders thead{display:none}
  .ci-orders tr{padding:18px 0;border-bottom:1px solid var(--line)}
  .ci-orders td{display:flex;justify-content:space-between;align-items:center;gap:18px;
    padding:5px 0;border:none;text-align:end}
  .ci-orders td::before{
    content:attr(data-label);flex:none;text-align:start;
    font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3);
  }
  .ci-orders td:first-child{font-family:'Cormorant Garamond',serif;font-size:20px;padding-bottom:10px}
}

/* ---------- сравнение: подсказка о прокрутке ---------- */
.ci-scroll-hint{display:none}
@media(max-width:900px){
  .ci-scroll-hint{
    display:flex;align-items:center;gap:10px;margin-bottom:16px;
    font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);
  }
  .ci-scroll-hint i{color:var(--gold)}
}

/* ---------- прочее по мелочи ---------- */
@media(max-width:680px){
  .ci-page-head h1{font-size:clamp(30px,8.5vw,44px)}
  .ci-section-head h1,.ci-entry-head h1{font-size:clamp(30px,8vw,44px)}
  .ci-toolbar{flex-direction:column;align-items:stretch;gap:14px}
  .ci-sort{width:100%;justify-content:space-between}
  .ci-select{flex:1;max-width:230px}
  .ci-steps{gap:14px 22px}
  .ci-gallery-thumbs{grid-template-columns:repeat(5,1fr);gap:8px}
  .ci-price-lg{font-size:34px}
  .ci-buy-row .ci-btn{min-width:0}
  .ci-summary{padding:26px 22px}
  .ci-facts{grid-template-columns:repeat(2,1fr)}
  .ci-fact b{font-size:36px}
}

/* ---------- очень узкие экраны (320–360px) ---------- */
@media(max-width:680px){
  /* отрицательный отступ у крестика выпирал за край строки */
  .ci-cart-del{margin-inline-end:0}
}
@media(max-width:380px){
  /* сумма в корзине уходит на свою строку, иначе строка не помещается */
  .ci-cart-row{grid-template-columns:64px 1fr auto;gap:12px 14px}
  .ci-cart-row img{width:64px;height:64px}
  .ci-cart-sum{grid-column:1/-1;grid-row:3;font-size:20px;text-align:start}
  .ci-cart-row .ci-qty button{width:36px;height:42px}
  .ci-cart-row .ci-qty input{width:34px;height:42px}
}
@media(max-width:340px){
  /* каталог возвращается в одну колонку — две уже нечитаемы */
  .ci-grid,.ci-grid.is-4{grid-template-columns:1fr}
  .ci-wrap{padding:0 16px}
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ ТЁМНАЯ / СВЕТЛАЯ
   ============================================================ */
.ci-theme-toggle{
  background:none;border:none;cursor:pointer;color:var(--text-2);
  width:30px;height:44px;display:grid;place-items:center;
  transition:color .3s var(--ease);
}
.ci-theme-toggle:hover{color:var(--gold)}
.ci-theme-toggle i{font-size:15px;line-height:1}
/* показываем ту иконку, которая означает «переключить на …» */
.ci-theme-toggle .ci-i-light{display:none}
html[data-theme="light"] .ci-theme-toggle .ci-i-light{display:block}
html[data-theme="light"] .ci-theme-toggle .ci-i-dark{display:none}

/* в бургер-меню — строкой с подписью */
.ci-mobnav-theme{
  display:flex;align-items:center;gap:12px;padding:16px 24px;
  border-bottom:1px solid rgba(192,163,108,.10);
  background:none;border-inline-start:none;border-inline-end:none;border-top:none;
  width:100%;cursor:pointer;color:var(--text-2);
  font-family:'Manrope',sans-serif;font-size:14px;letter-spacing:.06em;text-transform:uppercase;
}
.ci-mobnav-theme:hover{color:var(--gold)}
.ci-mobnav-theme i{color:var(--gold);width:16px}
.ci-mobnav-theme .ci-t-light{display:none}
html[data-theme="light"] .ci-mobnav-theme .ci-t-light{display:inline}
html[data-theme="light"] .ci-mobnav-theme .ci-t-dark{display:none}
@media(min-width:1025px){.ci-mobnav-theme{display:none}}

/* ============================================================
   БЛОКИ ГУТЕНБЕРГА НА КОНТЕНТНЫХ СТРАНИЦАХ
   Заготовки темы вставляются как обычные группы, поэтому
   гасим лишние отступы редактора и даём нашим классам работать.
   ============================================================ */
/* служебная обёртка групп отключена в теме (inc/setup.php); правило ниже —
   страховка на случай, если WordPress вернёт её в будущей версии */
.ci-blocks .wp-block-group > .wp-block-group__inner-container{display:contents}

/* заметка: иконка и текст в строку, как в прототипе */
.ci-blocks .ci-note{display:flex;align-items:flex-start;gap:10px}
.ci-blocks .ci-note p{margin:0}
.ci-blocks .ci-note i{margin:2px 0 0}

.ci-blocks > .wp-block-group{margin:0 0 70px}
.ci-blocks > .wp-block-group:last-child{margin-bottom:0}
.ci-blocks p{color:var(--text-2);font-weight:300;font-size:15px;line-height:1.75}
.ci-blocks h2{font-size:clamp(28px,3.2vw,42px);margin-bottom:18px}
.ci-blocks h3{font-size:25px;margin-bottom:12px}
.ci-blocks .ci-list-item p:last-child{margin-bottom:0}
.ci-blocks .ci-split .wp-block-group{margin:0}
.ci-blocks .ci-split-media figure{margin:0;height:100%}
.ci-blocks .ci-split-media img{width:100%;height:100%;object-fit:cover}
.ci-blocks .ci-fact p{margin:0}
.ci-blocks .ci-fact strong{display:block;font-family:'Cormorant Garamond',serif;font-size:44px;
  color:var(--gold);line-height:1;margin-bottom:10px;font-weight:500}
.ci-blocks .ci-fact span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
.ci-blocks .ci-contact-card p{margin-bottom:12px}
.ci-blocks .ci-faq details{border-bottom:1px solid var(--line)}
.ci-blocks .ci-faq summary{
  list-style:none;cursor:pointer;padding:22px 40px 22px 0;position:relative;
  font-family:'Cormorant Garamond',serif;font-size:21px;color:var(--text);
}
.ci-blocks .ci-faq summary::-webkit-details-marker{display:none}
.ci-blocks .ci-faq summary::after{content:"+";position:absolute;right:6px;top:50%;transform:translateY(-50%);
  color:var(--gold);font-family:'Manrope',sans-serif;font-size:20px}
.ci-blocks .ci-faq details[open] summary::after{content:"–"}
.ci-blocks .ci-faq p{padding-bottom:22px;max-width:760px}

/* ============================================================
   ОКНО ПОИСКА
   Шторка выезжает из-под шапки: тёмное полотно, крупное поле
   и живые подсказки. Закрывается Esc, кликом по фону и крестиком.
   ============================================================ */
.ci-searchbox{
  position:fixed;inset:0;z-index:120;
  display:flex;align-items:flex-start;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility .45s;
}
.ci-searchbox.is-open{opacity:1;visibility:visible}
.ci-searchbox-veil{
  position:absolute;inset:0;background:rgba(8,6,4,.72);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.ci-searchbox-sheet{
  position:relative;width:100%;background:var(--bg-2);
  border-bottom:1px solid var(--line-2);
  box-shadow:var(--shadow);
  transform:translateY(-16px);opacity:.4;
  transition:transform .5s var(--ease),opacity .5s var(--ease);
  max-height:100vh;overflow-y:auto;
}
.ci-searchbox.is-open .ci-searchbox-sheet{transform:none;opacity:1}
.ci-searchbox-in{max-width:1280px;margin:0 auto;padding:38px 40px 44px}
.ci-search-form{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line-2);padding-bottom:18px}
.ci-search-form > i{color:var(--gold);font-size:19px;flex:none}
.ci-search-input{
  flex:1;min-width:0;background:none;border:none;outline:none;color:var(--text);
  font-family:'Cormorant Garamond',serif;font-size:38px;font-weight:400;line-height:1.2;
}
.ci-search-input::placeholder{color:var(--text-3)}
.ci-search-input::-webkit-search-cancel-button{display:none}
.ci-search-close{
  flex:none;background:none;border:1px solid var(--line-2);border-radius:var(--btn-radius);
  color:var(--text-2);cursor:pointer;padding:9px 17px;
  font-family:'Manrope',sans-serif;font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  transition:color .35s var(--ease),border-color .35s var(--ease);
}
.ci-search-close:hover{color:var(--text);border-color:var(--gold)}

.ci-search-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}
.ci-search-foot .ci-lbl{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3)}
.ci-search-chip{
  border:1px solid var(--line);border-radius:var(--btn-radius);padding:8px 16px;
  font-size:12px;letter-spacing:.06em;color:var(--text-2);
  transition:color .35s var(--ease),border-color .35s var(--ease),background .35s var(--ease);
}
.ci-search-chip:hover{color:var(--text);border-color:var(--line-2);background:var(--surface)}

.ci-search-res{margin-top:30px;display:grid;gap:2px}
.ci-search-res:empty{margin:0}
.ci-search-row{
  display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:20px;
  padding:14px 16px;border-radius:4px;transition:background .3s var(--ease);
}
.ci-search-row:hover{background:var(--surface)}
.ci-search-row img{width:64px;height:64px;object-fit:cover;background:var(--surface)}
.ci-search-row .ci-search-t{font-family:'Cormorant Garamond',serif;font-size:20px;color:var(--text);line-height:1.25}
.ci-search-row .ci-search-m{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3);margin-top:5px}
.ci-search-row .ci-search-p{font-size:14px;color:var(--gold);white-space:nowrap}
.ci-search-note{color:var(--text-3);font-size:14px;padding:16px 2px}
.ci-search-all{
  margin-top:14px;display:inline-flex;align-items:center;gap:9px;color:var(--gold);
  font-size:12px;letter-spacing:.18em;text-transform:uppercase;
}
.ci-search-all:hover{gap:14px;transition:gap .35s var(--ease)}

@media (max-width:900px){
  .ci-searchbox-in{padding:26px 22px 30px}
  .ci-search-input{font-size:26px}
  .ci-search-close{display:none}
  .ci-search-row{grid-template-columns:52px 1fr;gap:14px;padding:12px 8px}
  .ci-search-row img{width:52px;height:52px}
  .ci-search-row .ci-search-p{grid-column:2;margin-top:2px}
}

/* --- состояния формы заявки --- */
.ci-hp{
  /* ловушка для ботов. Прячем клипом, а не выносом за -9999px: в RTL
     такой вынос добавлял странице девять тысяч пикселей прокрутки. */
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;
}
.ci-form-msg{margin:0;font-size:14px;min-height:1px}
.ci-form-msg.is-ok{color:var(--gold)}
.ci-form-msg.is-error{color:#d98080}
.ci-form.is-sending{opacity:.6;pointer-events:none;transition:opacity .3s var(--ease)}
.ci-form button[disabled]{cursor:progress}

/* ============================================================
   WOOCOMMERCE
   Свой скин: дефолтный снят, здесь одеваются те узлы, которые
   магазин рисует сам — уведомления, поля оформления, таблицы
   заказов и кабинет.
   ============================================================ */

/* --- уведомления магазина ---
   Полоса слева — приём чужой темы: она делит блок пополам и на широком
   экране читается как ошибка. Здесь уведомление — спокойная плашка на
   поверхности с золотой точкой-маркером и ссылкой в конце строки. */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  list-style:none;margin:0 0 26px;padding:16px 20px;font-size:14px;font-weight:300;
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;
  background:var(--surface);color:var(--text-2);border:none;
  box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--btn-radius);
}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{
  content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--gold);
}
.woocommerce-error{box-shadow:inset 0 0 0 1px rgba(154,42,42,.5)}
.woocommerce-error::before{background:var(--ruby)}
.woocommerce-error li{list-style:none}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
/* ссылка-кнопка внутри уведомления — некрупная и в конце строки */
.woocommerce-message .button,.woocommerce-info .button{
  float:none;margin:0 0 0 auto;padding:11px 22px;font-size:11px;
  background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px var(--line-2);
}
.woocommerce-message .button:hover,.woocommerce-info .button:hover{background:var(--surface-2,transparent);color:var(--gold)}

/* кнопка после блока вопросов липла к последней строке аккордеона */
.ci-entry-body .ci-faq + p,
.ci-entry-body .ci-faq + .ci-btn,
.ci-entry-body .ci-faq + a.ci-btn,
.ci-entry-body details + p,
.ci-entry-body details + .ci-btn{margin-top:34px}
.ci-entry-body a.ci-btn{margin-top:10px}

/* строка мелких подписей: части делит тонкая линия, а не символ в тексте */
.ci-meta{display:inline-flex;flex-wrap:wrap;align-items:center;gap:0}
.ci-meta > * + *{margin-inline-start:12px;padding-inline-start:12px;border-inline-start:1px solid var(--line-2)}
.ci-contact-card a + a{margin-inline-start:12px;padding-inline-start:12px;border-inline-start:1px solid var(--line)}

/* «Have a coupon?» — это подсказка, а не сообщение: без плашки и точки */
.woocommerce-info.woocommerce-form-coupon-toggle{
  background:none;box-shadow:none;border-radius:0;padding:0;margin-bottom:22px;
  font-size:13px;color:var(--text-3);
}
.woocommerce-info.woocommerce-form-coupon-toggle::before{display:none}
/* пустая корзина — спокойная строка, а не сообщение об ошибке */
.woocommerce-info.cart-empty{
  background:none;box-shadow:none;padding:0;margin-bottom:26px;
  font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--text-2);
}
.woocommerce-info.cart-empty::before{display:none}
.return-to-shop{margin-bottom:40px}

/* поля выбора магазина — в цвет темы, а не системный синий */
.woocommerce input[type="radio"],.woocommerce input[type="checkbox"],
.ci-form input[type="checkbox"],.ci-check input[type="checkbox"]{accent-color:var(--gold)}
.woocommerce input[type="radio"],.woocommerce input[type="checkbox"]{width:16px;height:16px;margin-inline-end:10px;vertical-align:-2px}

/* магазин дописывает к кнопке ссылку «View cart» — она дублирует
   подтверждение и ломает ряд карточек, поэтому не показываем */
.ci-card .added_to_cart{display:none}

/* --- всплывающее подтверждение: товар добавлен --- */
.ci-toasts{
  position:fixed;right:22px;bottom:22px;z-index:190;
  display:flex;flex-direction:column;gap:10px;align-items:flex-end;
  pointer-events:none;
}
.ci-toast{
  pointer-events:auto;display:flex;align-items:center;gap:14px;
  min-width:280px;max-width:min(400px,calc(100vw - 44px));
  padding:14px 16px;background:var(--bg-2);color:var(--text);
  box-shadow:inset 0 0 0 1px var(--line),0 26px 50px -30px rgba(0,0,0,.95);
  border-radius:var(--btn-radius);
  opacity:0;transform:translateY(12px);
  transition:opacity .3s var(--ease),transform .35s var(--ease);
}
.ci-toast.is-in{opacity:1;transform:none}
.ci-toast img{width:48px;height:48px;object-fit:cover;flex:none;background:var(--surface)}
.ci-toast-body{min-width:0;flex:1}
.ci-toast-lbl{display:block;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:4px}
.ci-toast-name{display:block;font-family:'Cormorant Garamond',serif;font-size:16px;line-height:1.25;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ci-toast-go{flex:none;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);
  text-decoration:none;padding:10px 12px;white-space:nowrap}
.ci-toast-go:hover{color:var(--gold-soft)}
.ci-toast-x{flex:none;background:none;border:none;color:var(--text-3);cursor:pointer;font-size:15px;padding:8px}
.ci-toast-x:hover{color:var(--text)}
@media(max-width:600px){
  .ci-toasts{left:14px;right:14px;bottom:14px;align-items:stretch}
  .ci-toast{min-width:0}
  .ci-toast img{width:42px;height:42px}
}
@media(prefers-reduced-motion:reduce){.ci-toast{transition-duration:.01ms}}

/* --- кнопки магазина под наш стиль --- */
.woocommerce .button,.woocommerce button.button,.woocommerce input.button,
.woocommerce a.button,.woocommerce #respond input#submit{
  display:inline-flex;align-items:center;gap:10px;cursor:pointer;border:none;
  font-family:'Manrope',sans-serif;font-size:12px;letter-spacing:.18em;text-transform:uppercase;
  font-weight:600;padding:17px 34px;border-radius:var(--btn-radius);
  background:var(--gold);color:#1a140c;transition:all .4s var(--ease);
}
.woocommerce .button:hover,.woocommerce button.button:hover,
.woocommerce input.button:hover,.woocommerce a.button:hover{background:var(--gold-soft)}
.woocommerce .button:disabled,.woocommerce button.button:disabled{opacity:.45;cursor:not-allowed}
.woocommerce .button.alt{background:var(--gold)}

/* --- форма покупки на карточке товара --- */
.ci-buybox form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:26px 0 8px}
.ci-buybox form.cart .ci-qty{flex:none}
.ci-buybox .single_add_to_cart_button{flex:1;min-width:220px;justify-content:center}
.ci-buybox .stock{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);margin-top:8px}
.ci-buybox .stock.out-of-stock{color:var(--ruby)}
.ci-buybox .woocommerce-variation-price{margin-bottom:14px}
.ci-buybox .variations{width:100%;border-collapse:collapse}
.ci-buybox .variations td{padding:6px 0}
.ci-buybox .price del{opacity:.5;margin-inline-end:10px}

/* --- поля оформления заказа --- */
.woocommerce form .form-row{display:flex;flex-direction:column;margin:0 0 18px;padding:0}
.woocommerce form .form-row label{
  font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3);margin-bottom:9px;
}
.woocommerce form .form-row .required{color:var(--gold);text-decoration:none;border:none}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection{
  width:100%;background:transparent;color:var(--text);border:none;height:auto;
  box-shadow:inset 0 0 0 1px var(--line-2);padding:15px 17px;
  font-family:'Manrope',sans-serif;font-size:14px;font-weight:300;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{box-shadow:inset 0 0 0 1px var(--gold);outline:none}
.woocommerce form .form-row textarea{min-height:120px;resize:vertical}
.woocommerce .select2-container--default .select2-selection--single{border:none;border-radius:0}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--text);line-height:1.4;padding:0}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{top:50%;transform:translateY(-50%);right:14px}
.woocommerce .select2-dropdown{background:var(--bg-2);border:1px solid var(--line-2);color:var(--text)}
.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--gold);color:#1a140c}
.ci-checkout-fields h3{font-family:'Cormorant Garamond',serif;font-size:28px;margin:0 0 26px;font-weight:500}
.ci-checkout-fields h3#ship-to-different-address{font-size:15px;letter-spacing:.02em;margin-top:34px}
.ci-checkout-fields .woocommerce-shipping-fields,
.ci-checkout-fields .woocommerce-additional-fields{margin-top:44px}
@media(min-width:700px){
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 9px);display:inline-flex;vertical-align:top}
  .woocommerce form .form-row-first{margin-inline-end:18px}
}

/* --- итог заказа в оформлении --- */
.woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse;font-size:14px}
.woocommerce-checkout-review-order-table th{
  text-align:start;font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;padding:0 0 14px;
}
.woocommerce-checkout-review-order-table td{padding:12px 0;border-bottom:1px solid var(--line);color:var(--text-2)}
.woocommerce-checkout-review-order-table tfoot th{padding:14px 0;color:var(--text-2);letter-spacing:.06em;text-transform:none;font-size:14px}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td{
  font-family:'Cormorant Garamond',serif;font-size:24px;color:var(--text);border-bottom:none;padding-top:18px;
}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot td{text-align:end;color:var(--text)}
#payment .wc_payment_methods{list-style:none;margin:26px 0 0;padding:0}
#payment .wc_payment_method{border:1px solid var(--line);padding:16px 18px;margin-bottom:12px;transition:border-color .35s var(--ease)}
#payment .wc_payment_method:hover{border-color:var(--line-2)}
#payment .wc_payment_method label{cursor:pointer;font-size:14px;color:var(--text);display:inline-flex;gap:10px;align-items:center}
#payment .payment_box{margin-top:12px;font-size:13px;color:var(--text-3);font-weight:300}
#payment .place-order{margin-top:24px}
#payment #place_order{width:100%;justify-content:center}
.woocommerce-terms-and-conditions-wrapper{font-size:13px;color:var(--text-3);margin-top:18px}

/* --- таблицы кабинета --- */
.woocommerce-MyAccount-content table.shop_table,
.woocommerce-orders-table,.woocommerce-table--order-details{
  width:100%;border-collapse:collapse;font-size:14px;
}
.woocommerce-MyAccount-content table th{
  text-align:start;font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;padding:0 14px 14px 0;border-bottom:1px solid var(--line);
}
.woocommerce-MyAccount-content table td{padding:16px 14px 16px 0;border-bottom:1px solid var(--line);color:var(--text-2)}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{
  font-family:'Cormorant Garamond',serif;font-weight:500;margin-bottom:18px;
}
.woocommerce-MyAccount-content .woocommerce-Address{margin-bottom:30px}
.woocommerce-MyAccount-content address{font-style:normal;color:var(--text-2);line-height:1.9}
.woocommerce-MyAccount-content fieldset{border:1px solid var(--line);padding:24px;margin:30px 0}
.woocommerce-MyAccount-content legend{padding:0 10px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
.woocommerce-EditAccountForm em,.woocommerce-MyAccount-content .woocommerce-Button{margin-top:10px}
@media(max-width:720px){
  .woocommerce-MyAccount-content table thead{display:none}
  .woocommerce-MyAccount-content table tr{display:block;border-bottom:1px solid var(--line);padding:14px 0}
  .woocommerce-MyAccount-content table td{display:flex;justify-content:space-between;gap:16px;border:none;padding:6px 0}
  .woocommerce-MyAccount-content table td::before{content:attr(data-title);color:var(--text-3);font-size:12px}
}

/* --- постраничность --- */
/* перенос обязателен: в «Хьюмидорах» восемь страниц, и на телефоне стрелка «дальше» уходила за край */
.woocommerce-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:44px 0 0;padding:0;justify-content:center}
.woocommerce-pagination a,.woocommerce-pagination span{
  display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;
  font-size:13px;color:var(--text-2);box-shadow:inset 0 0 0 1px var(--line);transition:all .35s var(--ease);
}
.woocommerce-pagination a:hover{color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.woocommerce-pagination .current{background:var(--gold);color:#1a140c;box-shadow:none;font-weight:600}

/* --- мелочи --- */
.ci-cart-actions{display:flex;justify-content:flex-end;margin-top:26px}
.ci-empty{color:var(--text-3);padding:40px 0}
.ci-seo{margin-top:80px;padding-top:44px;border-top:1px solid var(--line);color:var(--text-2);font-weight:300}
.ci-seo h3{font-family:'Cormorant Garamond',serif;font-size:26px;margin:32px 0 12px;color:var(--text)}
.ci-seo p{margin-bottom:14px}
.ci-filter-apply{width:100%;justify-content:center;margin-top:22px}
/* фильтр применяется сам, как только скрипт перехватил форму — кнопка остаётся
   только для посетителей без JS */
.ci-filters.is-live .ci-filter-apply{display:none}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ci-card-acts button.is-on,.ci-side-acts button.is-on{color:var(--gold)}
.ci-card-acts button.is-on i,.ci-side-acts button.is-on i{font-weight:900}

/* ============================================================
   ПАЛЬЦЕВЫЕ ЦЕЛИ НА МОБИЛЬНОМ
   На телефоне всё, что нажимается, должно быть не меньше ~40px:
   иконки шапки, ссылки подвала, строки фильтров и переключатель языка.
   ============================================================ */
@media (max-width:900px){
  .ci-icons a{min-width:40px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .ci-theme-toggle{min-width:40px;min-height:44px}
  .ci-lang-btn{min-height:40px;padding:8px 10px}
  /* тап-зона добавляется отступом, но ссылки остаются строчками списка */
  .ci-foot-col a{display:block;padding:9px 0;margin-bottom:0}
  .ci-foot-soc a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .ci-filters .ci-check{min-height:42px;margin-bottom:2px}
  .ci-chips a{min-height:42px;display:inline-flex;align-items:center}
  .ci-crumbs a,.ci-crumbs span{padding:4px 0}
  .ci-card-acts button{min-width:40px;min-height:40px}
  /* строчная ссылка в карточке — тонкая цель для пальца, добавляем воздух */
  .ci-card-title a{display:inline-block;padding:4px 0}
}

/* ============================================================
   ЕДИНАЯ КОНТЕНТНАЯ ШИРИНА
   Один контейнер на весь сайт (1280 с полями 40), внутри —
   две ширины: сетки и медиа во всю ширину, сплошной текст
   в читаемой колонке 820px. Это же значение у статьи и у
   SEO-текста раздела, чтобы страницы не «плавали».
   ============================================================ */
:root{ --measure: 820px; }

/* контент страниц из блоков жил в двойной обёртке и был уже остальных */
.ci-blocks .ci-wrap{max-width:none;padding:0}

/* Полосы во всю ширину (CTA клуба) в прототипе идут от края до края.
   Внутри контентной колонки они выглядели зажатыми, поэтому раскладываем
   блоки сеткой: обычный блок держит колонку 1200px, полоса занимает всю
   строку. Через vw это не сделать — на Windows полоса прокрутки даёт
   горизонтальный сдвиг. */
.ci-blocks{
  max-width:none;padding:0;
  display:grid;grid-template-columns:1fr min(1200px,100% - 80px) 1fr;
}
.ci-blocks > *{grid-column:2}
.ci-blocks > .ci-club,
.ci-blocks > .alignfull{grid-column:1 / -1}

/* Полоса во всю ширину в конце страницы упирается в подвал.
   Нижний отступ секции под ней в светлой схеме читался как белая
   полоса между CTA и подвалом. */
#content > .ci-section:has(> .ci-blocks > .ci-club:last-child),
#content > .ci-section:has(> .ci-blocks > .alignfull:last-child){padding-bottom:0}

/* полоса «нужной модели нет» под сеткой товаров: тот же язык, что у
   блока клуба на главной, но спокойнее — это не баннер, а подсказка */
.ci-request{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;
  margin-top:70px;padding:38px 40px;background:var(--bg-2);
  /* поверхности на сайте прямоугольные с тонкой линией — скругление
     здесь превращало блок в гигантскую «таблетку» */
  box-shadow:inset 0 0 0 1px var(--line);
}
.ci-request-text{flex:1 1 420px;min-width:0}
.ci-request h2{font-size:clamp(22px,2.4vw,30px);margin-bottom:10px}
.ci-request p{color:var(--text-2);font-weight:300;font-size:15px;line-height:1.7;max-width:62ch;margin:0}
.ci-request-acts{display:flex;flex-wrap:wrap;gap:12px}
.ci-request-acts .ci-btn{white-space:nowrap}
@media(max-width:900px){
  .ci-request{padding:28px 24px;margin-top:48px}
  .ci-request-acts{width:100%}
  /* основная кнопка на всю ширину, мессенджеры парой — три одинаковые
     кнопки подряд выглядят как список, а не как выбор */
  .ci-request-acts .ci-btn{
    flex:1 1 calc(50% - 6px);justify-content:center;
    /* штатных полей кнопки хватало, чтобы пара не влезала в строку */
    padding:15px 12px;letter-spacing:.1em;gap:8px;
  }
  .ci-request-acts .ci-btn-primary{flex:1 1 100%;padding:15px 26px;letter-spacing:.18em}
}

/* --- плавающие кнопки: WhatsApp слева, «наверх» справа --- */
.ci-floats{position:fixed;inset:auto 0 0 0;z-index:150;pointer-events:none}
.ci-float{
  position:fixed;bottom:24px;width:54px;height:54px;display:grid;place-items:center;
  border:none;cursor:pointer;pointer-events:auto;border-radius:50%;
  background:var(--bg-2);color:var(--gold);font-size:20px;
  box-shadow:inset 0 0 0 1px var(--line-2),0 18px 40px -18px rgba(0,0,0,.9);
  transition:color .3s var(--ease),transform .3s var(--ease),opacity .3s var(--ease);
}
.ci-float:hover{color:var(--gold-soft);transform:translateY(-2px)}
.ci-float-wa{
  left:24px;text-decoration:none;
  /* мессенджер — основная кнопка связи, поэтому крупнее «наверх» */
  width:66px;height:66px;font-size:28px;
}
.ci-float-top{right:24px;opacity:0;transform:translateY(10px)}
.ci-float-top.is-on{opacity:1;transform:none}
.ci-float-top[hidden]{display:none}
.ci-float-top i{position:relative;font-size:17px}

/* кольцо показывает, сколько страницы пройдено */
.ci-float-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.ci-float-ring circle{fill:none;stroke-width:2}
.ci-float-ring-bg{stroke:var(--line)}
.ci-float-ring-line{
  stroke:var(--gold);stroke-linecap:round;
  stroke-dasharray:131.95;stroke-dashoffset:131.95;
  transition:stroke-dashoffset .1s linear;
}

/* пульс у WhatsApp: тихий, в цвет темы, а не зелёный «звонок» */
.ci-float-pulse{
  position:absolute;inset:0;border-radius:50%;
  box-shadow:0 0 0 0 rgba(192,163,108,.45);
  animation:ci-pulse 2.6s var(--ease) infinite;
}
@keyframes ci-pulse{
  0%{box-shadow:0 0 0 0 rgba(192,163,108,.4)}
  70%{box-shadow:0 0 0 16px rgba(192,163,108,0)}
  100%{box-shadow:0 0 0 0 rgba(192,163,108,0)}
}

/* подтверждение «товар добавлен» поднимаем над кнопкой */
.ci-toasts{bottom:92px}

@media(max-width:600px){
  .ci-float{width:48px;height:48px;bottom:16px;font-size:17px}
  .ci-float-wa{left:14px;width:58px;height:58px;font-size:25px}
  .ci-float-top{right:14px}
  .ci-toasts{bottom:76px;left:14px;right:14px}
}
@media(prefers-reduced-motion:reduce){
  .ci-float-pulse{animation:none}
  .ci-float-ring-line{transition:none}
}

/* --- модальное окно (запрос модели) --- */
.ci-modal{position:fixed;inset:0;z-index:190;display:grid;place-items:center;padding:24px}
.ci-modal[hidden]{display:none}
.ci-modal-veil{position:absolute;inset:0;background:rgba(10,7,4,.72);opacity:0;transition:opacity .3s var(--ease)}
.ci-modal.is-open .ci-modal-veil{opacity:1}
.ci-modal-sheet{
  position:relative;width:min(560px,100%);max-height:calc(100vh - 48px);overflow-y:auto;
  background:var(--bg-2);box-shadow:inset 0 0 0 1px var(--line),0 40px 80px -40px rgba(0,0,0,.9);
  padding:38px 38px 34px;opacity:0;transform:translateY(14px);
  transition:opacity .3s var(--ease),transform .35s var(--ease);
}
.ci-modal.is-open .ci-modal-sheet{opacity:1;transform:none}
.ci-modal-sheet h2{font-size:clamp(24px,3vw,32px);margin:10px 0 12px}
.ci-modal-sheet > p{color:var(--text-2);font-weight:300;font-size:15px;line-height:1.7;margin-bottom:26px}
.ci-modal-x{
  position:absolute;top:14px;right:14px;width:44px;height:44px;display:grid;place-items:center;
  background:none;border:none;color:var(--text-3);font-size:17px;cursor:pointer;
}
.ci-modal-x:hover{color:var(--text)}
body.ci-modal-open{overflow:hidden}
@media(max-width:600px){
  .ci-modal{padding:12px}
  .ci-modal-sheet{padding:30px 22px 26px}
}
@media(prefers-reduced-motion:reduce){
  .ci-modal-veil,.ci-modal-sheet{transition-duration:.01ms}
}

/* карточка услуги ведёт на свою страницу */
.ci-list-item h3 a{color:inherit;text-decoration:none;transition:color .3s var(--ease)}
.ci-list-item:hover h3 a,.ci-list-item h3 a:hover{color:var(--gold)}
.ci-blocks .ci-list-item .ci-more{margin-top:auto;padding-top:18px}
.ci-blocks .ci-list-item .ci-more a{
  color:var(--gold);font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;
  text-decoration:none;display:inline-flex;align-items:center;gap:10px;
}
.ci-blocks .ci-list-item .ci-more a:hover{color:var(--gold-soft)}
.ci-blocks .ci-list-item .ci-more .ci-arr{transition:transform .4s var(--ease)}
.ci-blocks .ci-list-item:hover .ci-more .ci-arr{transform:translateX(4px)}

/* если рядом с фото стоит форма, фото тянется на её высоту: короткий
   кадр по центру рядом с длинной формой выглядит как недосмотр */
.ci-blocks .ci-split:has(.ci-form) .ci-split-media,
.ci-blocks .ci-split:has(form) .ci-split-media{align-self:stretch;aspect-ratio:auto;min-height:320px}
.ci-blocks .ci-split:has(.ci-form) .ci-split-media figure,
.ci-blocks .ci-split:has(form) .ci-split-media figure{height:100%;margin:0}

/* карта — полоса во всю ширину, как на сайтах с адресами: в контентной
   колонке она читается как картинка, а не как карта */
.ci-blocks > .ci-map{
  grid-column:1 / -1;max-width:none;
  border-inline-start:none;border-inline-end:none;aspect-ratio:auto;height:clamp(320px,42vh,460px);
}
.ci-blocks > .ci-map p{margin:0}
.ci-map iframe,.ci-map > div:only-child:not(.wp-block-group){width:100%;height:100%;border:0;display:block}
@media(max-width:900px){.ci-blocks > .ci-map{height:300px}}

/* CTA внутри страницы — та же полоса, что на главной: заголовок крупный,
   всё по центру. Общие правила блоков его типографику не перебивают. */
.ci-blocks .ci-club > *{margin-inline-start:auto;margin-inline-end:auto}
.ci-blocks .ci-club h2{font-size:clamp(42px,6vw,82px);max-width:none;margin:0 auto 24px}
.ci-blocks .ci-club p{max-width:480px;margin:0 auto 42px;font-size:17px}

/* сплошной текст держим в читаемой колонке */
.ci-blocks h2,
.ci-blocks h3,
.ci-blocks > p,
.ci-blocks > ul,
.ci-blocks > ol,
.ci-blocks .ci-wrap > p,
.ci-blocks .ci-wrap > ul,
.ci-blocks .ci-wrap > ol,
.ci-entry-body,
/* Текст раздела занимает всю контентную ширину. На широком экране он идёт
   в две колонки: строка в 1200px нечитаема, а сжимать блок обратно в 820px
   значит вернуться к тому, с чего начали. */
.ci-seo{max-width:none}
.ci-seo p,.ci-seo li,.ci-seo h2,.ci-seo h3{max-width:none}
@media(min-width:1100px){
  .ci-seo-cols{columns:2;column-gap:70px}
  .ci-seo-cols > *{break-inside:avoid}
  .ci-seo-cols h3{break-after:avoid;margin-top:0}
  .ci-seo-cols > * + h3{margin-top:30px}
}

/* внутри компонентов колонка не нужна — они сами держат сетку */
.ci-blocks .ci-list h2,.ci-blocks .ci-list h3,.ci-blocks .ci-list p,
.ci-blocks .ci-split h2,.ci-blocks .ci-split h3,.ci-blocks .ci-split p,
.ci-blocks .ci-faq h2,.ci-blocks .ci-faq h3,.ci-blocks .ci-faq p,
.ci-blocks .ci-facts p,.ci-blocks .ci-contact-grid p,
.ci-blocks .ci-contact-grid h2,.ci-blocks .ci-contact-grid h3,
.ci-blocks .ci-form p,.ci-blocks .ci-note p{max-width:none}

/* одинаковый отступ от баннера раздела до контента на всех страницах */
.ci-page-head + .ci-section{padding-top:44px}

/* ============================================================
   ПЛАНШЕТ: боковая колонка фильтров с 901px
   На горизонтальном планшете места хватает на колонку фильтров,
   прятать их за кнопку там незачем.
   ============================================================ */
@media (min-width:901px) and (max-width:1024px){
  .ci-layout{grid-template-columns:230px minmax(0,1fr);gap:34px}
  /* тут фильтры остаются колонкой, поэтому снимаем с них режим шторки */
  .ci-layout .ci-filters{
    display:flex;flex-direction:column;position:sticky;
    top:100px;right:auto;bottom:auto;left:auto;
    width:auto;transform:none;visibility:visible;
    background:none;box-shadow:none;
  }
  .ci-layout .ci-filters-head,
  .ci-layout .ci-filters-show,
  .ci-layout .ci-filters-veil{display:none}
  .ci-layout .ci-filters-body{overflow:visible;padding:0}
  .ci-layout .ci-filters-foot{padding:0;border-top:none;display:block}
  .ci-layout .ci-filter-toggle{display:none}
  .ci-layout .ci-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-filter-group{padding:18px 0}
}

/* ============================================================
   КАРТОЧКА ТОВАРА НА СВЕТЛОМ ФОТО
   Фото поставщика — почти всегда на белом фоне, а плашки и
   кнопки были рассчитаны на тёмный кадр и на нём терялись.
   Даём им собственную подложку, чтобы читались на любом фото.
   ============================================================ */
.ci-badge{
  background:var(--gold);color:#1a140c;
  border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.25);
}
.ci-badge.is-out{
  background:rgba(21,18,13,.82);color:#ece5d7;box-shadow:none;
  backdrop-filter:saturate(140%);
}
.ci-card-acts button{
  background:rgba(21,18,13,.78);color:#ece5d7;border-radius:2px;
  box-shadow:0 2px 10px rgba(0,0,0,.22);
  transition:color .3s var(--ease),background .3s var(--ease);
}
.ci-card-acts button:hover{background:rgba(21,18,13,.92);color:var(--gold)}
.ci-card-acts button.is-on{color:var(--gold)}

/* кнопка покупки у отсутствующего товара не должна выглядеть активной */
.ci-card-buy:disabled{
  color:var(--text-3);box-shadow:inset 0 0 0 1px var(--line);
  cursor:not-allowed;opacity:.55;
}
.ci-card-buy:disabled:hover{background:transparent;color:var(--text-3)}

/* --- фильтрация без перезагрузки --- */
[data-ci-catalog]{position:relative}
[data-ci-catalog].is-loading [data-ci-grid]{opacity:.45;transition:opacity .25s var(--ease);pointer-events:none}
[data-ci-catalog].is-loading::after{
  content:"";position:absolute;top:70px;left:50%;width:26px;height:26px;margin-left:-13px;
  border:2px solid var(--line-2);border-top-color:var(--gold);border-radius:50%;
  animation:ci-spin .7s linear infinite;z-index:3;
}
@keyframes ci-spin{to{transform:rotate(360deg)}}
/* вариант, которого нет в текущей выборке, гасим, но не прячем */
.ci-check.is-empty{opacity:.4}
.ci-check.is-empty input{pointer-events:auto}
@media (prefers-reduced-motion:reduce){
  [data-ci-catalog].is-loading::after{animation:none}
}

/* ============================================================
   РИТМ БЛОЧНЫХ СТРАНИЦ
   Контент уже лежит внутри секции шаблона, а из прототипа внутрь
   переехала ещё одна секция со своими 120px сверху и снизу. Из-за
   этого страница получала двойной разворот отступов снизу, а блоки
   между собой стояли вплотную. Задаём один ритм: секция-обёртка
   ничего не добавляет, соседние блоки разделяются одинаково.
   ============================================================ */
.ci-blocks .ci-section{padding:0}
.ci-blocks .ci-wrap > *{margin-top:0;margin-bottom:0}
.ci-blocks .ci-wrap > * + *{margin-top:64px}
.ci-blocks .ci-wrap > h2 + *,
.ci-blocks .ci-wrap > h3 + *{margin-top:22px}
.ci-blocks .ci-wrap > * + h2{margin-top:70px}
@media(max-width:900px){
  .ci-blocks .ci-wrap > * + *{margin-top:44px}
  .ci-blocks .ci-wrap > * + h2{margin-top:48px}
}
/* внутри блока подпись, заголовок и форма — это одна связка, а не соседние блоки */
.ci-blocks .ci-wrap > .ci-eyebrow + h2{margin-top:16px}
.ci-blocks .ci-wrap > h2 + p{margin-top:18px}
.ci-blocks .ci-wrap > p + p{margin-top:14px}
.ci-blocks .ci-wrap > p + form,
.ci-blocks .ci-wrap > p + .ci-form{margin-top:34px}
/* форма внутри блока стоит отдельным шагом, а не липнет к тексту */
.ci-blocks p + form,
.ci-blocks p + .ci-form{margin-top:34px}
/* пока обновляется список закладок, сетка приглушается, а не мигает пустотой */
[data-ci-list].is-loading [data-ci-list-target]{opacity:.45;transition:opacity .2s var(--ease)}

/* ============================================================
   ПЕРВЫЙ ЭКРАН НА ТЕЛЕФОНЕ
   Фото занимало больше половины экрана, и кнопки уезжали за
   его край — до них надо было доскроллить. Теперь экран ровно
   в высоту окна: текст берёт столько, сколько ему нужно, фото
   забирает остаток. Единица svh, а не vh — иначе адресная
   строка браузера съедает нижнюю часть.
   ============================================================ */
@media (max-width:1024px) and (min-height:560px){
  /* сетка на телефоне мерила текстовый ряд по своему усмотрению и обрезала
     его на три десятка пикселей — на колонке это считается однозначно:
     текст занимает столько, сколько ему нужно, фото забирает остаток */
  .ci-hero{
    display:flex;
    flex-direction:column;
    height:calc(100vh - var(--ci-head-h, 77px));
    height:calc(100svh - var(--ci-head-h, 77px));
  }
  /* фото отдаёт место тексту, а текст не даёт себя сжать ниже содержимого */
  .ci-hero-photo{flex:1 1 auto;min-height:120px;order:-1}
  .ci-hero .ci-hero-text{
    flex:0 0 auto;
    padding:26px clamp(24px,4vw,44px) 34px;justify-content:flex-start;
  }
  .ci-hero-text > *{flex:none}
  .ci-hero h1{font-size:clamp(38px,11.5vw,58px);margin:12px 0 14px}
  .ci-hero p{font-size:16px;line-height:1.55;margin-bottom:22px;max-width:34ch}
  .ci-hero-actions{gap:10px}
  .ci-hero-actions .ci-btn{padding:15px 26px}
}
/* очень низкие экраны и альбомная ориентация: не втискиваем, пусть скроллится */
@media (max-width:900px) and (max-height:559px){
  .ci-hero .ci-hero-text{padding:30px 24px 40px}
  .ci-hero-photo{min-height:38vh}
}

/* широкий, но низкий экран — планшет в альбоме и старые ноутбуки:
   первый экран тут ниже 800px, поэтому герой ужимаем, чтобы кнопки
   не оказались под сгибом */
@media (min-width:1025px) and (max-height:820px){
  .ci-hero{min-height:calc(100vh - var(--ci-head-h, 81px));min-height:calc(100svh - var(--ci-head-h, 81px))}
  .ci-hero .ci-hero-text{padding:48px 60px 48px 0}
  .ci-hero h1{font-size:clamp(46px,5.6vw,72px);margin:16px 0 18px}
  .ci-hero p{font-size:17px;margin-bottom:26px}
}

