/* ==========================================================================
   iBoto Home — стили. Hero-блок: классы .ibh (совместимы с прежним плагином
   и с Additional CSS сайта). Остальные секции: префикс .ibx.
   Шрифты нигде не задаются — наследуются от темы.
   ========================================================================== */

/* ========================== HERO (.ibh) ================================= */
.ibh, .ibh *, .ibh *::before, .ibh *::after { box-sizing: border-box; }

.ibh {
  /* палитра (--gf, --gt, --acc, --accink, --ibh-w) приходит с обёртки .ibx-home */
  --ink: #ffffff;
  --ink-soft: rgba(255,255,255,.88);
  --acc-h: var(--acc, #ffd500);
  --ghost-bd: rgba(255,255,255,.55);
  --ghost-tx: #ffffff;
  --btn1-bg: #ffffff;
  --btn1-tx: var(--accink, #2b2640);

  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(72px, 8vw, 112px) 0 0;
  color: var(--ink);
  font-family: inherit;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(90deg, var(--gf, #98B9F2) 28%, var(--gt, #AF99FF) 79%);
}
.ibh--dark {
  --ink: #292144;
  --mauve-ink: #4B2FB8;  /* затемнённый mauve для читаемого текста/иконок на светлом */
  --ink-soft: #5A5373;
  --acc-h: #4B2FB8;
  --ghost-bd: rgba(34,28,70,.28);
  --ghost-tx: #292144;
  --btn1-bg: var(--acc, #ffd500);
  --btn1-tx: var(--accink, #2b2640);
}
/* мягкий белый блюр сверху hero (свет из-под меню); текст и маскот — выше него */
.ibh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(42% 44% at 1% 1%, rgba(255,255,255,.60) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.36) 9%, rgba(255,255,255,0) 23%);
}

.ibh a { text-decoration: none; }
.ibh :focus-visible { outline: 3px solid var(--acc-h); outline-offset: 3px; border-radius: 8px; }

.ibh-inner {
  position: relative; z-index: 2;
  max-width: var(--ibh-w, 1400px); margin: 0 auto;
  padding: 0 24px 52px;
  display: grid; grid-template-columns: 1fr 1.05fr;
  align-items: center; gap: 36px;
  min-height: clamp(480px, 60vh, 660px);
}
.ibh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-soft);
}
.ibh-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--acc-h); }
.ibh .ibh-title {
  margin: 0; color: var(--ink); font-weight: 700;
  font-size: clamp(36px, 5.2vw, 64px); line-height: 1.16; letter-spacing: -.015em;
  text-shadow: 0 2px 12px rgba(41, 33, 68, .18);
}
.ibh-accent { display: block; color: var(--acc-h); }
.ibh-sub { margin: 22px 0 0; max-width: 480px; font-size: 18px; color: var(--ink-soft); text-shadow: 0 2px 12px rgba(41, 33, 68, .18); }
.ibh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ibh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 800; font-size: 15.5px; line-height: 1;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.ibh-btn:hover { transform: translateY(-3px); }
.ibh-btn svg { display: block; }
.ibh .ibh-btn--light { background: var(--btn1-bg); color: var(--btn1-tx); box-shadow: 0 18px 36px -14px rgba(20,10,60,.30); }
.ibh .ibh-btn--ghost { border: 2px solid var(--ghost-bd); color: var(--ghost-tx); }
.ibh .ibh-btn--ghost:hover { border-color: var(--acc-h); color: var(--acc-h); }
.ibh-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; }
.ibh-trust-item { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.ibh-trust-item b { font-weight: 700; font-size: 21px; color: var(--acc-h); }

.ibh-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 560px; }
.ibh-mascot-wrap {
  position: relative; width: 100%; display: flex; justify-content: center;
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform .25s ease; will-change: transform;
}
.ibh-mascot {
  width: min(660px, 100%); height: auto; display: block;
  animation: ibh-float 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 50px rgba(40,20,100,.22));
}
.ibh--blend .ibh-mascot {
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 55%, transparent 92%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 55%, transparent 92%);
}
@keyframes ibh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.ibh-spark { position: absolute; color: var(--acc-h); opacity: .9; animation: ibh-tw 3.4s ease-in-out infinite; pointer-events: none; }
.ibh-spark svg { width: 100%; height: 100%; display: block; }
.ibh-spark--1 { width: 26px; top: 8%; left: 6%; }
.ibh-spark--2 { width: 16px; top: 24%; right: 8%; animation-delay: 1.1s; }
.ibh-spark--3 { width: 20px; bottom: 18%; left: 0; animation-delay: 2s; }
@keyframes ibh-tw { 0%,100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(18deg); } }

.ibh-marquee {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(70,64,107,.22);
  border-top-color: color-mix(in srgb, var(--ink) 22%, transparent);
  padding: 18px 0; overflow: hidden;
}
.ibh-marquee-track { display: flex; width: max-content; will-change: transform; animation: ibh-scroll var(--ibh-marq, 40s) linear infinite; }
.ibh-marquee:hover .ibh-marquee-track { animation-play-state: paused; }
.ibh-marquee-seg { display: flex; flex: 0 0 auto; align-items: center; font-weight: 600; font-size: 14px; letter-spacing: .16em; color: var(--ink-soft); white-space: nowrap; }
.ibh-star { color: var(--acc-h); font-weight: 600; padding: 0 18px; }
@keyframes ibh-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .ibh-inner { grid-template-columns: 1fr; text-align: center; padding-top: 8px; }
  .ibh-eyebrow, .ibh-actions, .ibh-trust { justify-content: center; }
  .ibh-sub { margin-left: auto; margin-right: auto; }
  .ibh-visual { order: 2; min-height: 380px; }
  .ibh-mascot { width: min(440px, 92%); }
}
@media (max-width: 480px) {
  .ibh-trust { gap: 18px; }
  .ibh-btn { padding: 14px 24px; font-size: 14.5px; }
}

/* ========================== СЕКЦИИ (.ibx) ================================ */
.ibx-home, .ibx-home *, .ibx-home *::before, .ibx-home *::after { box-sizing: border-box; }
.ibx-home {
  --ibx-w: 1400px;
  --ibh-w: 1400px;
  --gf: #98B9F2;
  --gt: #AF99FF;
  --acc: #ffd500;
  --acc-deep: #e7ac00;
  --accink: #2b2640;
  --violet: #AF99FF;
  --violet-strong: #98B9F2;
  --violet-deep: #4B2FB8;
  --ink: #292144;
  --mauve-ink: #4B2FB8;
  --ink-soft: #5A5373;
  --lav-100: #F4F2FB;
  --lav-200: #E3DEF6;
  --r-xl: 32px; --r-lg: 24px;
  --sh-soft: 0 24px 60px -28px rgba(56,42,120,.28);
  --sh-card: 0 16px 40px -24px rgba(56,42,120,.22);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ibx-home a { text-decoration: none; color: inherit; }
.ibx-home :focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.ibx-home img { max-width: 100%; height: auto; display: block; border: 0; }
.ibx-home h2, .ibx-home h3 { margin: 0; color: var(--ink); line-height: 1.25; font-family: inherit; }
.ibx-home p { margin: 0; }
.ibx-home button { font: inherit; cursor: pointer; border: 0; background: none; }

.ibx-wrap { max-width: var(--ibx-w); margin: 0 auto; padding: 0 24px; }
.ibx-section { padding: 96px 0; }
.ibx-cats, .ibx-picker, .ibx-blog { background: var(--lav-100); }

.ibx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mauve-ink);
}
.ibx-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--acc); }
.ibx-head { max-width: 680px; margin-bottom: 48px; }
.ibx-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; letter-spacing: -.01em; font-weight: 700; }
.ibx-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

.ibx-arrow { font-size: 14px; flex: none; line-height: 1; }
.ibx-ico i { font-size: 22px; line-height: 1; }
.ibx-why-chip i { color: var(--mauve-ink); font-size: 15px; }
.ibx-rstar i, i.ibx-rstar { font-size: 12.5px; }
.ibx-stars i { font-size: inherit; margin-right: 2px; }
.ibx-store i { font-size: 20px; }

/* кнопки */
.ibx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; font-weight: 800; padding: 16px 30px; font-size: 15.5px; line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.ibx-btn:hover { transform: translateY(-3px); }
.ibx-btn--sm { padding: 13px 24px; font-size: 14px; }
.ibx-home .ibx-btn--lemon { background: var(--acc); color: var(--accink); box-shadow: 0 16px 32px -12px rgba(231,172,0,.55); }
.ibx-home .ibx-btn--violet { background: var(--violet); color: #fff; text-shadow: 0 1px 2px rgba(41,33,68,.35); }
.ibx-home .ibx-btn--violet:hover { background: var(--violet-strong); color: #fff; }
.ibx-home .ibx-btn--outline { border: 2px solid var(--lav-200); color: var(--mauve-ink); }
.ibx-home .ibx-btn--outline:hover { border-color: var(--violet); }

/* ---------- категории ---------- */
.ibx-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ibx-cat-card {
  position: relative; background: #fff; border-radius: var(--r-xl);
  padding: 36px 40px; overflow: hidden; box-shadow: var(--sh-card);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ibx-cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-soft); }
.ibx-cat-card h3 { font-size: 22px; font-weight: 700; padding-right: 52px; }
.ibx-count {
  display: inline-block; margin-bottom: 12px; width: fit-content;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--gt, #AF99FF); padding: 7px 14px; border-radius: 999px;
}
.ibx-cat-card p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }
.ibx-cat-link {
  position: absolute; top: 32px; right: 32px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gt, #AF99FF); display: grid; place-items: center; color: var(--ink);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.ibx-cat-card:hover .ibx-cat-link { background: var(--acc); color: var(--accink); transform: rotate(-45deg); }
.ibx-cat-wide {
  grid-column: 1 / -1; flex-direction: row; align-items: center;
  padding: 32px 40px; gap: 30px;
  background: #fff; box-shadow: var(--sh-card);
}
.ibx-cat-wide .ibx-cat-link { position: static; flex: none; margin-left: auto; }
.ibx-cat-wide:hover .ibx-cat-link { background: var(--acc); color: var(--accink); }

/* ---------- хиты ---------- */
.ibx-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ibx-prod {
  position: relative; background: #fff; border: 1px solid var(--lav-200); border-radius: var(--r-xl);
  padding: 24px; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ibx-prod:hover { transform: translateY(-6px); box-shadow: var(--sh-soft); }
.ibx-badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 13px; border-radius: 999px; background: var(--acc); color: var(--accink);
}
.ibx-badge--violet { background: var(--violet); color: #fff; text-shadow: 0 1px 2px rgba(41,33,68,.35); }
.ibx-off {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  font-size: 12px; font-weight: 800; padding: 7px 11px; border-radius: 999px;
  background: #ff5c7a; color: #fff;
}
.ibx-prod-img {
  height: 200px; display: grid; place-items: center; border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 30%, #EDE9FA, var(--lav-100));
  margin-bottom: 20px; overflow: hidden;
}
.ibx-prod-img img { max-height: 168px; max-width: 88%; object-fit: contain; transition: transform .4s ease; }
.ibx-prod:hover .ibx-prod-img img { transform: scale(1.07); }
.ibx-type { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.ibx-prod h3 { font-size: 18.5px; margin-top: 5px; font-weight: 700; }
.ibx-rating { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ibx-rstar { color: var(--acc-deep); }
.ibx-rating span { color: var(--ink-soft); font-weight: 600; }
.ibx-feat { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 20px; }
.ibx-feat span { font-size: 12px; font-weight: 600; color: var(--mauve-ink); background: var(--lav-100); padding: 6px 11px; border-radius: 999px; }
.ibx-prod-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ibx-price b { font-size: 21px; font-weight: 800; color: var(--ink); }
.ibx-price s { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.ibx-more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- почему ---------- */
.ibx-why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ibx-why-visual { position: relative; display: flex; justify-content: center; }
.ibx-why-blob {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gf), var(--gt) 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(2px);
}
.ibx-why-visual > img { position: relative; width: min(470px, 92%); filter: drop-shadow(0 30px 40px rgba(40,20,100,.2)); }
.ibx-why-chip {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--sh-card);
  padding: 12px 18px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.ibx-wc1 { top: 8%; right: 0; animation: ibh-float 6s ease-in-out infinite; }
.ibx-wc2 { bottom: 6%; left: 0; animation: ibh-float 7s ease-in-out infinite 1s; }
.ibx-why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ibx-why-card { background: var(--lav-100); border-radius: var(--r-lg); padding: 30px 28px; transition: transform .3s ease; }
.ibx-why-card:hover { transform: translateY(-5px); }
.ibx-why-card h3 { font-size: 17px; font-weight: 700; }
.ibx-why-card p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.ibx-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  color: var(--mauve-ink); background: #fff; margin-bottom: 18px; box-shadow: var(--sh-card);
}
.ibx-why-card:nth-child(2) .ibx-ico { color: var(--acc-deep); }

/* ---------- подборщик ---------- */
.ibx-picker-card {
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-card);
  padding: 56px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start;
}
.ibx-picker-side h3 { font-size: clamp(24px, 2.4vw, 31px); margin-top: 14px; font-weight: 700; }
.ibx-picker-side p { color: var(--ink-soft); margin: 16px 0 26px; }
.ibx-lumi {
  display: flex; align-items: center; gap: 13px; margin-top: 26px;
  background: var(--lav-100); border-radius: 18px; padding: 14px 18px; max-width: 360px;
}
.ibx-lumi img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.ibx-lumi b { font-size: 14px; display: flex; align-items: center; gap: 7px; color: var(--ink); }
.ibx-lumi b i { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; display: inline-block; }
.ibx-lumi span { font-size: 12.5px; color: var(--ink-soft); display: block; }
.ibx-q-group { margin-bottom: 24px; }
.ibx-q-group:last-child { margin-bottom: 0; }
.ibx-q { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 11px; color: var(--ink); }
.ibx-chips { display: flex; flex-wrap: wrap; gap: 9px; }
/* сброс стилей темы (Woodmart/Elementor красят <button>) + свои пилюли */
.ibx-home button.ibx-chip {
  all: unset;
  box-sizing: border-box;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 19px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--lav-200) !important;
  font-family: inherit; font-size: 14px !important; font-weight: 600;
  line-height: 1.2; letter-spacing: normal !important; text-transform: none !important;
  color: var(--ink-soft) !important;
  background: #fff !important;
  cursor: pointer; margin: 0;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.ibx-home button.ibx-chip:hover { border-color: var(--violet) !important; color: var(--mauve-ink) !important; }
.ibx-home button.ibx-chip:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.ibx-home button.ibx-chip.on { background: var(--violet) !important; border-color: var(--violet) !important; color: var(--accink) !important; }

/* ---------- акции ---------- */
/* декоративные искры (общие) */
.ibx-spark { position: absolute; color: var(--acc); opacity: .9; animation: ibh-tw 3.4s ease-in-out infinite; pointer-events: none; }
.ibx-spark svg { width: 100%; height: 100%; display: block; }

/* ---------- маркетплейсы (горизонтальные строки) ---------- */
.ibx-markets { background: var(--lav-100); }
.ibx-mk-list { display: flex; flex-direction: column; gap: 16px; }
.ibx-mk {
  position: relative; display: grid;
  grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px;
  background: #fff; border-radius: var(--r-lg); padding: 24px 30px;
  box-shadow: var(--sh-card);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.ibx-mk::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--gf), var(--gt));
  transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.ibx-mk:hover { transform: translateY(-3px); box-shadow: var(--sh-soft); }
.ibx-mk:hover::before { transform: scaleY(1); }
.ibx-mk-logo { display: flex; align-items: center; min-height: 44px; }
.ibx-mk-logo img { max-height: 40px; max-width: 190px; width: auto; }
.ibx-mk-logo svg { height: 34px; width: auto; max-width: 200px; display: block; }
.ibx-mk-logo b { font-size: 23px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.ibx-mk-note { font-size: 15px; color: var(--ink-soft); }
.ibx-mk-go {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-size: 14.5px; font-weight: 700; color: var(--mauve-ink);
}
.ibx-mk-go-tx { transition: color .2s ease; }
.ibx-mk-arw {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--lav-100); color: var(--mauve-ink);
  display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.ibx-mk:hover .ibx-mk-arw { background: var(--gt); color: var(--accink); transform: translateX(3px); }

/* ---------- волны между секциями ---------- */
.ibx-wave { display: block; width: 100%; height: 64px; margin-top: -64px; position: relative; z-index: 3; pointer-events: none; }
.ibx-wave svg { display: block; width: 100%; height: 100%; }
.ibx-wave--flip svg { transform: scaleX(-1); }
.ibx-waves .ibh-marquee { padding-bottom: 84px; }

/* ---------- отзывы ---------- */
.ibx-rev-head { display: flex; align-items: flex-end; gap: 44px; flex-wrap: wrap; margin-bottom: 44px; }
.ibx-rev-score { display: flex; align-items: center; gap: 18px; }
.ibx-rev-score > b { font-size: 64px; line-height: 1; color: var(--mauve-ink); font-weight: 800; }
.ibx-stars { color: var(--acc-deep); font-size: 17px; letter-spacing: 2px; }
.ibx-rev-score span { display: block; font-size: 14px; color: var(--ink-soft); font-weight: 600; margin-top: 5px; }
.ibx-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ibx-rev { background: var(--lav-100); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.ibx-rev p { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.ibx-rev-tag { font-size: 12px; font-weight: 700; color: var(--mauve-ink); background: #fff; border-radius: 999px; padding: 6px 12px; width: fit-content; }
.ibx-who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.ibx-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--gt), var(--gf));
  color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px;
}
.ibx-who b { display: block; color: var(--ink); }
.ibx-who div > span { color: var(--ink-soft); }

/* ---------- сервис ---------- */
.ibx-serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ibx-serv {
  background: #fff; border: 1px solid var(--lav-200); border-radius: var(--r-lg);
  padding: 32px 28px; transition: transform .3s ease, box-shadow .3s ease;
}
.ibx-serv:hover { transform: translateY(-6px); box-shadow: var(--sh-card); }
.ibx-serv .ibx-ico { background: var(--lav-100); box-shadow: none; margin-bottom: 20px; }
.ibx-serv:nth-child(2) .ibx-ico { background: #fff7d6; color: var(--acc-deep); }
.ibx-serv h3 { font-size: 17.5px; font-weight: 700; }
.ibx-serv p { font-size: 14px; color: var(--ink-soft); margin-top: 9px; }

/* ---------- публикации ---------- */
.ibx-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ibx-post {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card);
  transition: transform .3s ease; display: flex; flex-direction: column;
}
.ibx-post:hover { transform: translateY(-6px); }
.ibx-post-cover { position: relative; height: 190px; display: grid; place-items: center; font-size: 50px; overflow: hidden; }
.ibx-post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ibx-post:hover .ibx-post-cover img { transform: scale(1.05); }
.ibx-post--1 .ibx-post-cover { background: linear-gradient(135deg, var(--gf), var(--gt)); }
.ibx-post--2 .ibx-post-cover { background: linear-gradient(135deg, #ffd500, #ffe97a); }
.ibx-post--3 .ibx-post-cover { background: linear-gradient(135deg, var(--gt), var(--gf)); }
.ibx-post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ibx-post-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-ink); }
.ibx-post-body h3 { font-size: 17px; margin-top: 9px; line-height: 1.45; font-weight: 700; }
.ibx-post-more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--mauve-ink); display: inline-flex; gap: 8px; align-items: center; }
.ibx-post:hover .ibx-post-more { color: var(--acc-deep); }

/* ---------- бренд + app ---------- */
.ibx-brand-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.ibx-brand-title { font-size: clamp(26px, 3vw, 38px); margin-top: 14px; font-weight: 700; }
.ibx-brand-grid blockquote {
  font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; line-height: 1.6; color: var(--ink);
  border-left: 4px solid var(--acc); padding-left: 26px; margin: 28px 0;
}
.ibx-lead { color: var(--ink-soft); font-size: 16.5px; }
.ibx-brand-btns { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.ibx-app-card {
  position: relative; overflow: hidden; text-align: center;
  background: transparent;
  border-radius: var(--r-xl); padding: 40px 40px 0;
  display: flex; flex-direction: column; align-items: center;
}
.ibx-app-body { position: relative; z-index: 1; max-width: 440px; }
.ibx-app-card h3 { font-size: 25px; color: var(--ink); font-weight: 700; }
.ibx-app-card p { color: var(--ink-soft); margin: 12px 0 24px; font-size: 15.5px; }
.ibx-stores { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ibx-home .ibx-store {
  display: inline-flex; align-items: center; padding: 0; background: none; border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ibx-home .ibx-store:hover { transform: translateY(-3px); }
.ibx-home .ibx-store img { height: 46px; width: auto; display: block; border-radius: 12px; }
.ibx-home .ibx-store--txt {
  gap: 10px; padding: 13px 24px; background: var(--ink); color: #fff;
}
.ibx-home .ibx-store--txt i, .ibx-home .ibx-store--txt span { color: #fff; }
.ibx-home .ibx-store--txt i { font-size: 19px; }
.ibx-home .ibx-store--txt span { font-size: 15px; font-weight: 700; }
.ibx-app-mascot { width: min(360px, 78%); margin: 24px auto -6px; position: relative; z-index: 0; }

/* ---------- reveal + motion ---------- */
.ibx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.ibx-reveal.ibx-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ibh-mascot, .ibh-spark, .ibh-marquee-track, .ibx-spark, .ibx-why-chip { animation: none !important; }
  .ibh-mascot-wrap { transform: none !important; }
  .ibx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .ibx-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .ibx-serv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ibx-picker-card, .ibx-why-grid, .ibx-brand-grid { grid-template-columns: 1fr; }
  .ibx-picker-card { padding: 40px; }
  .ibx-mk { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding: 28px 24px; }
  .ibx-mk::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 5px; background: linear-gradient(90deg, var(--gf), var(--gt)); transform: scaleX(0); }
  .ibx-mk:hover::before { transform: scaleX(1); }
  .ibx-rev-grid, .ibx-blog-grid { grid-template-columns: 1fr 1fr; }
  .ibx-why-visual { order: -1; }
}
@media (max-width: 760px) {
  .ibx-section { padding: 68px 0; }
  .ibx-cat-grid, .ibx-prod-grid, .ibx-rev-grid, .ibx-blog-grid, .ibx-serv-grid, .ibx-why-cards { grid-template-columns: 1fr; }
  .ibx-cat-wide { flex-direction: column; align-items: flex-start; }
  .ibx-cat-wide .ibx-cat-link { margin-left: 0; }
  .ibx-wave { height: 40px; margin-top: -40px; }
  .ibx-picker-card { padding: 30px 22px; }
  .ibx-rev-score > b { font-size: 52px; }
}

/* ================================================================
 * КАРТОЧКА ТОВАРА [iboto_product]  (.ibp)
 * ================================================================ */
.ibp {
  --gf: #98B9F2; --gt: #AF99FF;
  --acc: #ffd500; --acc-deep: #e7ac00; --accink: #2b2640;
  --violet: #AF99FF; --mauve-ink: #4B2FB8;
  --ink: #292144; --ink-soft: #5A5373;
  --lav-100: #F4F2FB; --lav-200: #E3DEF6;
  --r-xl: 28px; --r-lg: 20px;
  --sh-card: 0 16px 40px -24px rgba(56,42,120,.22);
  color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.ibp *, .ibp *::before, .ibp *::after { box-sizing: border-box; }
.ibp img { max-width: 100%; height: auto; border: 0; }
.ibp a { text-decoration: none; color: inherit; }
.ibp .ibp-wrap { max-width: none; margin: 0; padding: 0; }
.ibp .ibp-sticky .ibp-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.ibp section { padding: 18px 0; }
.ibp .ibp-card { background: #fff; border: 1px solid var(--lav-200); border-radius: var(--r-xl); padding: 36px 40px; }
.ibp .ibp-h2 { margin: 0 0 24px; font-size: 24px; font-weight: 800; color: var(--ink); }

/* ---------- HERO ---------- */
.ibp-hero { padding-top: 28px; }
.ibp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.ibp-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.ibp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.ibp-thumb {
  all: unset; box-sizing: border-box; cursor: pointer;
  width: 84px; height: 84px; border-radius: 14px; overflow: hidden;
  border: 2px solid var(--lav-200); background: var(--lav-100);
  transition: border-color .2s ease;
}
.ibp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ibp-thumb:hover { border-color: var(--gt); }
.ibp-thumb.is-on { border-color: var(--mauve-ink); }
.ibp-main {
  position: relative; border-radius: var(--r-xl); background: var(--lav-100);
  overflow: hidden; aspect-ratio: 1/1; display: grid; place-items: center;
}
.ibp-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s ease; padding: 24px; }
.ibp-main-img.is-on { opacity: 1; position: relative; }
.ibp-main-ph { font-size: 72px; color: var(--gt); }

.ibp-off {
  display: inline-block; background: var(--acc); color: var(--accink);
  font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.ibp-title { margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.15; color: var(--ink); }
.ibp-sub { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; }
.ibp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 14.5px; color: var(--ink-soft); }
.ibp-rating b { color: var(--ink); }
.ibp-stars { color: var(--acc); display: inline-flex; gap: 3px; font-size: 15px; }
.ibp-stars--sm { font-size: 12px; gap: 2px; }
.ibp-star-off { color: var(--lav-200); }
.ibp-price { font-size: 32px; font-weight: 800; color: var(--ink); margin-bottom: 22px; }
.ibp-price s, .ibp-price del { font-size: 18px; color: var(--ink-soft); font-weight: 600; margin-left: 12px; }
.ibp-price ins { text-decoration: none; }
.ibp-actions { display: flex; gap: 12px; align-items: center; }
.ibp-cart {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  white-space: nowrap; flex: none;
  background: var(--acc); color: var(--accink); font-weight: 800; font-size: 16px;
  padding: 16px 34px; border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(231,172,0,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ibp-cart:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(231,172,0,.7); color: var(--accink); }
.ibp-cart--sm { padding: 12px 24px; font-size: 14.5px; }

/* ---------- ПОЛОСА ХАРАКТЕРИСТИК ---------- */
.ibp-spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 16px 18px; padding: 16px 0 4px; border-top: 1px solid var(--lav-200); }
.ibp-spec { display: flex; align-items: center; gap: 12px; }
.ibp-spec-ico {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--lav-100); color: var(--mauve-ink);
  display: grid; place-items: center; font-size: 17px;
}
.ibp-spec-tx b { display: block; font-size: 14.5px; color: var(--ink); }
.ibp-spec-tx small { color: var(--ink-soft); font-size: 12.5px; }

/* ---------- БАННЕР ---------- */
.ibp-banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 320px; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--gf), var(--gt));
  background-size: cover; background-position: center right;
}
.ibp-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 38%, rgba(255,255,255,0) 68%); }
.ibp-banner-body { position: relative; padding: 44px 48px; max-width: 460px; }
.ibp-banner-body h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--ink); line-height: 1.18; }
.ibp-banner-body p { margin: 0 0 22px; color: var(--ink-soft); font-size: 15.5px; }
.ibp-play { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.ibp-play-ico {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--mauve-ink);
  display: grid; place-items: center; box-shadow: var(--sh-card);
  transition: transform .2s ease;
}
.ibp-play:hover .ibp-play-ico { transform: scale(1.08); }

/* ---------- ФИЧИ ---------- */
.ibp-feat-grid { display: grid; gap: 18px; }
.ibp-feat-grid--2 { grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.ibp-feat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ibp-feat {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background-color: var(--lav-100); padding: 30px 32px;
  display: flex; flex-direction: column; gap: 16px; min-height: 230px;
}
.ibp-feat.has-img {
  background-size: cover; background-position: center right; background-repeat: no-repeat;
  min-height: 260px;
}
.ibp-feat.has-img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--lav-100) 34%, rgba(244,242,251,.88) 52%, rgba(244,242,251,0) 80%);
}
.ibp-feat.has-img .ibp-feat-body { max-width: 62%; }
.ibp-feat h3 { text-wrap: balance; overflow-wrap: break-word; }
.ibp-feat p { overflow-wrap: break-word; }
.ibp-feat-body { position: relative; z-index: 1; }
.ibp-feat h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--ink); }
.ibp-feat p { margin: 0; color: var(--ink-soft); font-size: 14.5px; max-width: 280px; }
.ibp-feat--big h3 { font-size: 22px; }
.ibp-feat--big.has-img { min-height: 300px; }
.ibp-chip {
  position: absolute; left: 32px; bottom: 26px; z-index: 1;
  background: var(--gt); color: #fff; text-shadow: 0 2px 12px rgba(41, 33, 68, .18);
  font-weight: 800; font-size: 12.5px;
  padding: 8px 14px; border-radius: 999px;
}

/* ---------- СРАВНЕНИЕ ---------- */
.ibp-cmp { display: flex; flex-direction: column; }
.ibp-cmp-row { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(var(--ibp-cols, 3), minmax(0, 1fr)); align-items: stretch; }
.ibp-cmp-row + .ibp-cmp-row .ibp-cmp-param,
.ibp-cmp-row + .ibp-cmp-row .ibp-cmp-cell:not(.is-hero) { border-top: 1px solid var(--lav-200); }
.ibp-cmp-param { padding: 13px 8px 13px 0; color: var(--ink-soft); font-size: 14px; display: flex; align-items: center; }
.ibp-cmp-cell { padding: 13px 10px; text-align: center; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 6px; }
.ibp-cmp-cell i { color: #3ECF8E; }
.ibp-cmp-cell.is-hero { background: var(--lav-100); }
.ibp-cmp-head .ibp-cmp-cell { font-size: 15.5px; flex-direction: column; gap: 0; justify-content: flex-end; }
.ibp .ibp-cmp-img { height: 76px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto 8px; }
.ibp-cmp-head .ibp-cmp-cell.is-hero { border-radius: 16px 16px 0 0; border: 2px solid var(--gt); border-bottom: 0; }
.ibp-cmp-row:not(.ibp-cmp-head) .ibp-cmp-cell.is-hero { border-left: 2px solid var(--gt); border-right: 2px solid var(--gt); }
.ibp-cmp-row:last-child .ibp-cmp-cell.is-hero { border-bottom: 2px solid var(--gt); border-radius: 0 0 16px 16px; }
.ibp-cmp-head .ibp-cmp-cell.is-hero b { color: var(--mauve-ink); }

/* ---------- КОМПЛЕКТАЦИЯ ---------- */
.ibp-kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; }
.ibp-kit-item { text-align: center; font-size: 13px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ibp-kit-img {
  width: 92px; height: 92px; border-radius: 18px; background: var(--lav-100);
  display: grid; place-items: center; overflow: hidden; font-size: 26px; color: var(--gt);
}
.ibp-kit-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

/* ---------- ОТЗЫВЫ ---------- */
.ibp-rev-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.ibp-rev-score { display: flex; flex-direction: column; gap: 8px; }
.ibp-rev-score > b { font-size: 56px; line-height: 1; font-weight: 800; color: var(--ink); }
.ibp-rev-score small { color: var(--ink-soft); }
.ibp-btn-outline {
  margin-top: 14px; display: inline-flex; justify-content: center;
  border: 2px solid var(--lav-200); border-radius: 999px; padding: 11px 22px;
  font-weight: 700; font-size: 14px; color: var(--mauve-ink);
  transition: border-color .2s ease;
}
.ibp-btn-outline:hover { border-color: var(--gt); color: var(--mauve-ink); }
.ibp-rev-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ibp-rev { background: var(--lav-100); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.ibp-rev-top { display: flex; align-items: center; gap: 12px; }
.ibp-av {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--gt), var(--gf)); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  text-shadow: 0 1px 2px rgba(41,33,68,.35);
}
.ibp-rev-top b { font-size: 14.5px; color: var(--ink); display: block; }
.ibp-rev-top small { color: var(--ink-soft); font-size: 12px; }
.ibp-rev p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.ibp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ibp-q { border-bottom: 1px solid var(--lav-200); }
.ibp-q-btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 2px; font-weight: 700; font-size: 15px; color: var(--mauve-ink);
}
.ibp-q-btn i { transition: transform .25s ease; color: var(--ink-soft); font-size: 13px; }
.ibp-q.is-open .ibp-q-btn i { transform: rotate(180deg); }
.ibp-q-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ibp-q.is-open .ibp-q-a { max-height: 300px; }
.ibp-q-a p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; }
.ibp-faq-feat { position: relative; overflow: hidden; background-color: var(--lav-100); border-radius: var(--r-xl); padding: 30px 32px; }
.ibp-faq-feat.has-img {
  background-size: cover; background-position: center bottom; background-repeat: no-repeat;
  min-height: 360px;
}
.ibp-faq-feat.has-img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, var(--lav-100) 26%, rgba(244, 242, 251, .8) 44%, rgba(244, 242, 251, 0) 72%);
}
.ibp-faq-feat h3, .ibp-faq-feat p { position: relative; z-index: 1; }
.ibp-faq-feat h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--ink); }
.ibp-faq-feat p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; max-width: 340px; }

/* ---------- STICKY ---------- */
.ibp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99998;
  background: #fff; box-shadow: 0 -12px 34px -18px rgba(41,33,68,.35);
  padding: 10px 0;
}
.ibp-sticky-in { display: flex; align-items: center; gap: 18px; }
.ibp-sticky-in > img { width: 52px; height: 52px; object-fit: contain; background: var(--lav-100); border-radius: 12px; padding: 4px; }
.ibp-sticky-t b { display: block; font-size: 15px; color: var(--ink); }
.ibp-sticky-t small { color: var(--ink-soft); font-size: 12.5px; }
.ibp-sticky-p { margin-left: auto; font-weight: 800; font-size: 18px; color: var(--ink); }
.ibp-sticky-p s, .ibp-sticky-p del { font-size: 13px; color: var(--ink-soft); margin-left: 8px; }
.ibp-sticky-p ins { text-decoration: none; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1080px) {
  .ibp-spec-row { grid-template-columns: repeat(3, 1fr); }
  .ibp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ibp-feat-grid--3 { grid-template-columns: 1fr 1fr; }
  .ibp-rev-grid { grid-template-columns: 1fr; gap: 24px; }
  .ibp-rev-score { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 760px) {
  .ibp-gallery { grid-template-columns: 1fr; }
  .ibp-thumbs { flex-direction: row; order: 2; overflow-x: auto; padding-bottom: 4px; }
  .ibp-thumb { width: 64px; height: 64px; flex: none; }
  .ibp-feat-grid--2, .ibp-feat-grid--3, .ibp-rev-list, .ibp-faq-grid { grid-template-columns: 1fr; }
  .ibp .ibp-card { padding: 24px 16px; }

  /* фичи с фоном: текст сверху в плотной зоне, картинка внизу */
  .ibp-feat.has-img { min-height: 320px; background-position: right bottom; background-size: auto 62%; }
  .ibp-feat.has-img::before {
    background: linear-gradient(180deg, var(--lav-100) 34%, rgba(244,242,251,.9) 52%, rgba(244,242,251,.1) 78%);
  }
  .ibp-feat.has-img .ibp-feat-body { max-width: 100%; }
  .ibp-feat--big.has-img { min-height: 360px; }

  /* полоса характеристик — ровная сетка 2×3 вместо рваного flex */
  .ibp-spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10px; padding-top: 16px; }
  .ibp-spec { gap: 10px; align-items: flex-start; }
  .ibp-spec-ico { width: 38px; height: 38px; font-size: 15px; }
  .ibp-spec-tx b { font-size: 13.5px; line-height: 1.25; }
  .ibp-spec-tx small { font-size: 11.5px; line-height: 1.3; display: block; }

  /* сравнение: компактнее, значения не ломаются */
  .ibp-cmp-row { grid-template-columns: minmax(0, 1fr) repeat(var(--ibp-cols, 3), minmax(0, 1fr)); }
  .ibp-cmp-param { padding: 10px 6px 10px 0; font-size: 12px; line-height: 1.3; }
  .ibp-cmp-cell { padding: 10px 4px; font-size: 12px; line-height: 1.3; gap: 4px; }
  .ibp-cmp-head .ibp-cmp-cell { font-size: 13px; }
  .ibp .ibp-cmp-img { height: 54px; margin-bottom: 6px; }
  .ibp-cmp-cell i { font-size: 11px; }
  .ibp-cmp-head .ibp-cmp-cell.is-hero { border-radius: 12px 12px 0 0; }
  .ibp-cmp-row:last-child .ibp-cmp-cell.is-hero { border-radius: 0 0 12px 12px; }

  /* hero и кнопка */
  .ibp-hero-grid { gap: 22px; }
  .ibp-price { font-size: 27px; margin-bottom: 18px; }
  .ibp-cart { padding: 15px 26px; font-size: 15px; }
  .ibp-actions { flex-wrap: wrap; }

  .ibp-banner-body { padding: 30px 24px; }
  .ibp-kit { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 14px; }
  .ibp-kit-img { width: 76px; height: 76px; }

  /* плавающая панель: компактная строка */
  .ibp-sticky-t small, .ibp-sticky-in .ibp-stars, .ibp-sticky-p s, .ibp-sticky-p del { display: none; }
  .ibp .ibp-sticky .ibp-wrap { padding: 0 14px; }
  .ibp-sticky-in { gap: 10px; }
  .ibp-sticky-in > img { width: 42px; height: 42px; }
  .ibp-sticky-t b { font-size: 13px; }
  .ibp-sticky-p { font-size: 15px; }
  .ibp-cart--sm { padding: 11px 18px; font-size: 13.5px; }
  .ibp-cart--sm i { display: none; }
}
@media (max-width: 400px) {
  .ibp-sticky-t { display: none; }
  .ibp-sticky-p { margin-left: 0; }
  .ibp-sticky-in { justify-content: space-between; }
}

.ibp-gallery--solo { grid-template-columns: 1fr; }

/* ---------- POP-UP (отзывы, характеристики) ---------- */
.ibp-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 24px; }
.ibp-modal[hidden] { display: none; }
.ibp-modal-bg { position: absolute; inset: 0; background: rgba(41,33,68,.55); backdrop-filter: blur(3px); }
.ibp-modal-win {
  position: relative; background: #fff; border-radius: var(--r-xl);
  width: min(720px, 100%); max-height: 84vh; display: flex; flex-direction: column;
  padding: 30px 34px; box-shadow: 0 40px 90px -30px rgba(41,33,68,.5);
  animation: ibp-pop .25s ease;
}
@keyframes ibp-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.ibp-modal-title { margin: 0 0 18px; font-size: 21px; font-weight: 800; color: var(--ink); padding-right: 40px; }
.ibp-modal-body { overflow-y: auto; padding-right: 6px; }
.ibp-modal-x {
  all: unset; box-sizing: border-box; cursor: pointer;
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--lav-100); color: var(--ink);
  display: grid; place-items: center; font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.ibp-modal-x:hover { background: var(--acc); color: var(--accink); }
.ibp-rev-all { display: flex; flex-direction: column; gap: 14px; }
.ibp-attr-table { display: flex; flex-direction: column; }
.ibp-attr-row {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 12px 2px; border-bottom: 1px solid var(--lav-200);
  font-size: 14.5px;
}
.ibp-attr-row:last-child { border-bottom: 0; }
.ibp-attr-row span { color: var(--ink-soft); }
.ibp-attr-row b { color: var(--ink); text-align: right; }
.ibp-cmp-more, .ibp-kit-more { margin: 22px 0 0; text-align: center; }
.ibp-kit-more .ibp-btn-outline { gap: 10px; }
.ibp-kit-more i { color: var(--mauve-ink); }
.ibp-btn-outline { all: unset; box-sizing: border-box; cursor: pointer;
  display: inline-flex; justify-content: center;
  border: 2px solid var(--lav-200); border-radius: 999px; padding: 11px 22px;
  font-weight: 700; font-size: 14px; color: var(--mauve-ink);
  transition: border-color .2s ease;
}
.ibp-body-lock { overflow: hidden; }
@media (max-width: 760px) {
  .ibp-modal { padding: 12px; }
  .ibp-modal-win { padding: 24px 20px; max-height: 92vh; }
}
.ibp-rev-score .ibp-btn-outline { margin-top: 14px; }
.ibp-btn-outline:hover { border-color: var(--gt); }

/* Полное скрытие стандартного блока вкладок товара (галочка в «Карточке iBoto») */
body.ibp-hide-tabs .woocommerce-tabs,
body.ibp-hide-tabs .wd-single-tabs,
body.ibp-hide-tabs .wd-tabs-holder,
body.ibp-hide-tabs .elementor-widget-wd_single_product_tabs,
body.ibp-hide-tabs .elementor-widget-wd_single_attributes,
body.ibp-hide-tabs section.product-tabs-wrapper { display: none !important; }

/* ---------- анимация появления секций карточки ---------- */
.ibp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.ibp-reveal.is-in { opacity: 1; transform: none; }
.ibp-reveal:nth-child(2n) { transition-delay: .05s; }
@media (prefers-reduced-motion: reduce) {
  .ibp-reveal { opacity: 1; transform: none; transition: none; }
  .ibp-sticky { transition: none; }
}
/* плавное появление плавающей панели */
.ibp-sticky { transform: translateY(100%); transition: transform .3s ease; }
.ibp-sticky.is-on { transform: none; }

/* ================================================================
 * СТРАНИЦА «О БРЕНДЕ» [iboto_about]  (.iba)
 * ================================================================ */
.iba {
  --gf: #98B9F2; --gt: #AF99FF;
  --acc: #FFD500; --acc-deep: #E7AC00; --accink: #2B2640;
  --mauve-ink: #4B2FB8;
  --ink: #292144; --ink-soft: #5A5373;
  --lav-100: #F4F2FB; --lav-200: #E3DEF6;
  --r-xl: 32px; --r-lg: 24px;
  --sh-card: 0 16px 40px -24px rgba(56,42,120,.22);
  --sh-soft: 0 24px 60px -28px rgba(56,42,120,.28);
  color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.iba *, .iba *::before, .iba *::after { box-sizing: border-box; }
.iba img { max-width: 100%; height: auto; display: block; border: 0; }
.iba a { text-decoration: none; color: inherit; }
.iba .iba-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.iba h1, .iba h2 { margin: 0; color: var(--ink); line-height: 1.2; font-family: inherit; }
.iba p { margin: 0; }

/* ---------- волна ---------- */
.iba-wave { display: block; width: 100%; height: 64px; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; pointer-events: none; }
.iba-wave svg { display: block; width: 100%; height: 100%; }
.iba-wave--flip svg { transform: scaleX(-1); }

/* ---------- HERO ---------- */
.iba-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--gf) 28%, var(--gt) 79%);
  padding: 84px 0 96px; color: #fff;
}
.iba-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 12% 0%, rgba(255,255,255,.45), transparent 62%);
}
.iba-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.iba-hero-grid--solo { grid-template-columns: 1fr; text-align: center; }
.iba-hero-grid--solo .iba-hero-body { max-width: 820px; margin: 0 auto; }
.iba-hero-grid--solo .iba-eyebrow { justify-content: center; }
.iba-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #fff;
}
.iba-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--acc); }
.iba-hero h1 {
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; color: #fff;
  text-shadow: 0 2px 12px rgba(41,33,68,.18);
}
.iba-hero p { margin-top: 18px; max-width: 560px; font-size: 17px; color: rgba(255,255,255,.94); }
.iba-hero-media { display: flex; justify-content: center; align-items: center; }
.iba-hero-media img { width: auto; max-width: 100%; max-height: 480px; border-radius: 0; box-shadow: none; }

/* ---------- ЦИТАТА ---------- */
.iba-quote-sec { background: #fff; padding: 72px 0 24px; }
.iba-quote {
  margin: 0 auto; max-width: 900px; padding: 8px 0 8px 28px;
  border-left: 5px solid var(--acc);
  font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; line-height: 1.45; color: var(--ink);
}
.iba-quote cite { display: block; margin-top: 14px; font-size: 14px; font-weight: 700; font-style: normal; color: var(--mauve-ink); }

/* ---------- БЛОКИ ---------- */
.iba-blocks { background: #fff; padding: 40px 0 8px; }
.iba-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 40px 0;
}
.iba-block + .iba-block { border-top: 1px solid var(--lav-200); }
.iba-block--rev .iba-block-media { order: -1; }
.iba-block h2 { font-size: clamp(21px, 2.3vw, 28px); font-weight: 800; margin-bottom: 20px; }
.iba-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.iba-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.iba-tick {
  width: 24px; height: 24px; flex: none; border-radius: 50%; margin-top: 1px;
  background: var(--gt); color: var(--accink);
  display: grid; place-items: center; font-size: 11px;
}
.iba-block-media img { border-radius: var(--r-xl); box-shadow: var(--sh-card); width: 100%; }
.iba-block-media.is-empty {
  min-height: 240px; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--lav-100), var(--lav-200));
}

/* ---------- CTA ---------- */
.iba-cta-sec { background: #fff; padding: 40px 0 88px; }
.iba-cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-xl); padding: 56px 40px;
  background: linear-gradient(120deg, var(--gf) 10%, var(--gt) 90%);
}
.iba-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 0% 0%, rgba(255,255,255,.42), transparent 60%);
}
.iba-cta h2 { position: relative; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.iba-cta p { position: relative; margin: 14px auto 0; max-width: 560px; color: rgba(41,33,68,.78); font-size: 16px; }
.iba-cta-btns { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.iba-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px; font-weight: 800; font-size: 15.5px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.iba-btn--lemon { background: var(--acc); color: var(--accink); box-shadow: 0 14px 28px -14px rgba(231,172,0,.7); }
.iba-btn--lemon:hover { transform: translateY(-2px); color: var(--accink); }
.iba-btn--ghost { background: #fff; color: var(--mauve-ink); }
.iba-btn--ghost:hover { transform: translateY(-2px); color: var(--mauve-ink); }

/* ---------- анимация появления ---------- */
.iba-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.iba-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .iba-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .iba-hero { padding: 64px 0 84px; }
  .iba-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .iba-block { gap: 32px; }
}
@media (max-width: 900px) {
  .iba-block, .iba-block--rev { grid-template-columns: 1fr; gap: 26px; }
  .iba-block--rev .iba-block-media { order: 0; }
  .iba-block-media img { max-height: 340px; object-fit: cover; }
}
@media (max-width: 760px) {
  .iba .iba-wrap { padding: 0 16px; }
  .iba-hero { padding: 48px 0 72px; }
  .iba-hero p { font-size: 15.5px; }
  .iba-block, .iba-block--rev { grid-template-columns: 1fr; gap: 22px; padding: 30px 0; }
  .iba-block--rev .iba-block-media { order: 0; }
  .iba-block-media.is-empty { min-height: 160px; }
  .iba-list li { font-size: 14.5px; }
  .iba-quote-sec { padding: 48px 0 16px; }
  .iba-quote { padding-left: 18px; border-left-width: 4px; }
  .iba-cta { padding: 40px 22px; }
  .iba-cta-sec { padding: 24px 0 64px; }
  .iba-btn { width: 100%; }
  .iba-wave { height: 40px; }
}

/* ================================================================
 * ПЛАВАЮЩИЙ ДЕКОР ФОНА (шары и дуги, как в каталоге)
 * ================================================================ */
.ibx-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ibx-home .ibx-section { position: relative; }
.ibx-home .ibx-section > .ibx-wrap { position: relative; z-index: 1; }

.ibx-orb, .ibx-ring { position: absolute; border-radius: 50%; }

/* размытая сиреневая сфера */
.ibx-orb--blur {
  width: 220px; height: 220px;
  background: radial-gradient(circle at 35% 30%, #C9B8FF, var(--gt, #AF99FF) 70%);
  filter: blur(34px); opacity: .5;
}
/* жёлтый шар с бликом */
.ibx-orb--sun {
  width: 150px; height: 150px;
  background: radial-gradient(circle at 32% 28%, #FFF7D6 0%, var(--acc, #FFD500) 46%, var(--acc-deep, #E7AC00) 100%);
  opacity: .95;
}
/* маленькая сиреневая точка */
.ibx-orb--dot {
  width: 56px; height: 56px;
  background: radial-gradient(circle at 35% 30%, #D9CDFF, var(--gt, #AF99FF) 75%);
  opacity: .8;
}
/* тонкие дуги */
.ibx-ring { border: 1.5px solid rgba(175, 153, 255, .26); }
.ibx-ring--a { width: 820px; height: 820px; }
.ibx-ring--c { width: 720px; height: 720px; }
.ibx-ring--b { width: 620px; height: 620px; }

/* раскладки, чтобы секции отличались */
.ibx-deco--v1 .ibx-orb--blur { top: 6%; left: -70px; }
.ibx-deco--v1 .ibx-orb--sun  { top: 58%; right: 5%; animation-delay: -4s; }
.ibx-deco--v1 .ibx-orb--dot  { top: 24%; right: 16%; animation-delay: -9s; }
.ibx-deco--v1 .ibx-ring--a   { top: -260px; right: -320px; }
.ibx-deco--v1 .ibx-ring--c   { top: -220px; right: -280px; }
.ibx-deco--v1 .ibx-ring--b   { top: -180px; right: -240px; }

.ibx-deco--v2 .ibx-orb--blur { bottom: 8%; right: -80px; }
.ibx-deco--v2 .ibx-orb--sun  { top: 12%; left: 4%; width: 110px; height: 110px; animation-delay: -6s; }
.ibx-deco--v2 .ibx-orb--dot  { bottom: 20%; left: 14%; animation-delay: -2s; }
.ibx-deco--v2 .ibx-ring--a   { bottom: -300px; left: -340px; }
.ibx-deco--v2 .ibx-ring--c   { bottom: -260px; left: -300px; }
.ibx-deco--v2 .ibx-ring--b   { bottom: -220px; left: -260px; }

.ibx-deco--v3 .ibx-orb--blur { top: 30%; right: -90px; }
.ibx-deco--v3 .ibx-orb--sun  { bottom: 10%; left: 6%; width: 120px; height: 120px; animation-delay: -8s; }
.ibx-deco--v3 .ibx-orb--dot  { top: 12%; left: 22%; animation-delay: -5s; }
.ibx-deco--v3 .ibx-ring--a   { bottom: -300px; right: -340px; }
.ibx-deco--v3 .ibx-ring--c   { bottom: -260px; right: -300px; }
.ibx-deco--v3 .ibx-ring--b   { bottom: -220px; right: -260px; }

/* карточка товара: декор одним слоем на всю высоту, позиции в % */
.ibp { position: relative; z-index: 0; }
.ibp-deco-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.ibp-deco-layer .ibx-deco { position: absolute; left: 0; right: 0; height: 34%; }
.ibp-deco-layer .ibx-deco--v1 { top: 0; }
.ibp-deco-layer .ibx-deco--v2 { top: 33%; }
.ibp-deco-layer .ibx-deco--v3 { top: 66%; }

/* плавание */
@keyframes ibxFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-22px) translateX(6px); }
}
.ibx-orb { animation: ibxFloat 14s ease-in-out infinite; }
.ibx-orb--blur { animation-duration: 20s; }
.ibx-orb--dot  { animation-duration: 11s; }
@media (prefers-reduced-motion: reduce) { .ibx-orb { animation: none; } }

@media (max-width: 900px) {
  .ibx-orb--blur { width: 150px; height: 150px; filter: blur(26px); }
  .ibx-orb--sun { width: 90px !important; height: 90px !important; }
  .ibx-orb--dot { width: 38px; height: 38px; }
  .ibx-ring--a { width: 520px; height: 520px; }
  .ibx-ring--c { width: 450px; height: 450px; }
  .ibx-ring--b { width: 380px; height: 380px; }
}
