/* ==========================================================================
   SH-TAC • FX-шар: сучасний стиль, 3D-меню, 3D-анімації, мобільна повноекранна прокрутка.
   Підключається окремо (css/sh-fx.css + js/sh-fx.js) і не змінює базовий style.css.
   Усі анімації вимикаються при «Зменшити рух» (prefers-reduced-motion).
   ========================================================================== */

:root {
  --fx-accent: #ff9900;
  --fx-accent-2: #ffbb33;
  --fx-ink: #0e0e10;
  --fx-glass: rgba(14, 14, 16, .55);
  --fx-radius: 18px;
  --fx-ease: cubic-bezier(.2, .8, .2, 1);
  --fx-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Сучасний вигляд базових елементів ---------- */
.product-card {
  border: 0;
  border-radius: var(--fx-radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 40px -22px rgba(0, 0, 0, .35);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .4s var(--fx-ease);
  overflow: hidden;
}
.product-card:hover { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45); }
.product-card .card-img-top { transform: translateZ(40px); transition: transform .6s var(--fx-ease); }
.product-card:hover .card-img-top { transform: translateZ(60px) scale(1.04); }
.product-card .card-body { transform: translateZ(30px); }

/* Відблиск, що рухається за курсором (змінні ставить sh-fx.js) */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--fx-gx, 50%) var(--fx-gy, 0%), rgba(255, 255, 255, .45), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--fx-ease);
  mix-blend-mode: soft-light;
}
.product-card:hover::after { opacity: 1; }

/* Кнопки: об'ємне натискання + біжучий відблиск */
.catalog-btn, .pay-btn, .btn-catalog {
  position: relative;
  overflow: hidden;
  border-radius: 14px !important;
  transition: transform .25s var(--fx-spring), box-shadow .25s var(--fx-ease) !important;
}
.catalog-btn:hover, .pay-btn:hover, .btn-catalog:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(255, 153, 0, .6); }
.catalog-btn:active, .pay-btn:active { transform: translateY(0) scale(.97); }
.catalog-btn::before, .pay-btn::before, .btn-catalog::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.catalog-btn:hover::before, .pay-btn:hover::before, .btn-catalog:hover::before { animation: fx-shine .9s var(--fx-ease); }
@keyframes fx-shine { to { left: 130%; } }

/* Скляна шапка після прокрутки */
.custom-navbar {
  transition: background-color .35s ease, backdrop-filter .35s ease, padding .35s ease;
}
.custom-navbar.fx-scrolled {
  background: var(--fx-glass) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  padding: .45rem 0;
}

/* ---------- Появлення з перспективи (лише коли працює JS) ---------- */
html.fx .fx-reveal {
  opacity: 0;
  transform: perspective(900px) rotateX(16deg) translateY(46px) scale(.97);
  transform-origin: 50% 100%;
  transition: opacity .9s var(--fx-ease), transform 1.1s var(--fx-ease);
  transition-delay: var(--fx-delay, 0s);
}
html.fx .fx-reveal.fx-in { opacity: 1; transform: none; }

/* ---------- 3D-меню ---------- */
.fx-burger {
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  z-index: 1102;
  transition: background .3s ease, transform .3s var(--fx-spring);
  filter: none !important;
}
.fx-burger:hover { transform: scale(1.06); }
.fx-burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .5s var(--fx-spring), opacity .3s ease, top .5s var(--fx-spring);
}
.fx-burger span:nth-child(1) { top: 17px; }
.fx-burger span:nth-child(2) { top: 23px; }
.fx-burger span:nth-child(3) { top: 29px; }
.fx-open .fx-burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.fx-open .fx-burger span:nth-child(2) { opacity: 0; transform: translateX(-12px); }
.fx-open .fx-burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Плаваюча кнопка меню на сторінках без шапки (сторінки товарів) */
.fx-fab {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1102;
  background: rgba(14, 14, 16, .72);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: background .3s ease;
}

.fx-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  perspective: 1400px;
  pointer-events: none;
  visibility: hidden;
}
.fx-open .fx-menu { pointer-events: auto; visibility: visible; }
.fx-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, .55);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  opacity: 0;
  transition: opacity .5s ease, backdrop-filter .6s ease, -webkit-backdrop-filter .6s ease;
}
.fx-open .fx-menu__backdrop { opacity: 1; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fx-menu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(460px, 100%);
  height: 100vh;
  height: 100dvh;
  padding: 96px 34px 34px;
  background: radial-gradient(120% 80% at 100% 0%, #2a1c08 0%, #111114 45%, #0a0a0c 100%);
  color: #fff;
  overflow: hidden auto;
  transform-origin: 100% 50%;
  transform: rotateY(-58deg) translateX(40%) translateZ(-120px);
  opacity: 0;
  transition: transform .8s var(--fx-ease), opacity .5s ease;
  box-shadow: -40px 0 80px -30px rgba(0, 0, 0, .7);
  display: flex;
  flex-direction: column;
}
.fx-open .fx-menu__panel { transform: none; opacity: 1; }

/* Світлові «сфери» на тлі меню (рухаються за курсором/нахилом) */
.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  pointer-events: none;
  transform: translate3d(var(--fx-ox, 0), var(--fx-oy, 0), 0);
  transition: transform .6s var(--fx-ease);
}
.fx-orb--a { width: 260px; height: 260px; top: -60px; right: -60px; background: var(--fx-accent); }
.fx-orb--b { width: 200px; height: 200px; bottom: 40px; left: -70px; background: #5a3cff; opacity: .28; }

.fx-menu__list { list-style: none; margin: 0; padding: 0; position: relative; transform-style: preserve-3d; }
.fx-menu__item {
  transform-style: preserve-3d;
  transform-origin: 0 50%;
  transform: rotateX(-85deg) translateZ(-40px);
  opacity: 0;
  transition: transform .9s var(--fx-spring), opacity .5s ease;
  transition-delay: calc(.12s + var(--i) * .07s);
}
.fx-open .fx-menu__item { transform: none; opacity: 1; }
.fx-menu__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  color: #fff !important;
  text-decoration: none;
  font-size: clamp(26px, 7.5vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: transform .4s var(--fx-spring), color .3s ease, letter-spacing .4s var(--fx-ease);
}
.fx-menu__link small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .35); letter-spacing: .1em; }
.fx-menu__link:hover, .fx-menu__link:focus-visible {
  transform: translateX(10px) translateZ(30px);
  color: var(--fx-accent-2) !important;
  letter-spacing: 0;
  outline: none;
}
.fx-menu__foot {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease .45s, transform .8s var(--fx-ease) .45s;
}
.fx-open .fx-menu__foot { opacity: 1; transform: none; }
.fx-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #111 !important;
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-2));
  box-shadow: 0 18px 40px -18px rgba(255, 153, 0, .8);
}
.fx-menu__cta--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; box-shadow: none; }
html.fx-lock, html.fx-lock body { overflow: hidden; }

/* ---------- Мобільна версія: секції на всю висоту екрана (без scroll-snap: прокрутка йде рівно за пальцем) ---------- */
@media (max-width: 767.98px) {
  /* Без горизонтального «гуляння» сторінки на телефоні */
  html.fx, html.fx body { overflow-x: clip; }
  .fx-full {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 0;
  }
  .fx-full > .container { width: 100%; }
  /* Перший екран головної — на всю висоту (у style.css було 60vh) */
  header.hero-section.fx-full { min-height: 100vh; min-height: 100svh; }
  /* Картки в 2 колонки: кнопка не ширша за картку */
  .product-card .catalog-btn { display: block; width: 100%; padding-left: .5rem !important; padding-right: .5rem !important; font-size: 1rem; }
  .custom-navbar .navbar-collapse { display: none !important; }
  /* Мобільні: шапка (логотип) прокручується разом зі сторінкою — на екрані лишається лише бургер */
  .custom-navbar { position: absolute !important; top: 0; left: 0; right: 0; }
  .custom-navbar.fx-scrolled { background: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 1rem 0; }
  .custom-navbar .fx-burger {
    position: fixed;
    top: 14px;
    right: 14px;
    background: rgba(14, 14, 16, .72);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  }
  .product-card .card-img-top { transform: none; }
}

/* На великих екранах шапка сайту — як раніше; 3D-меню лише для мобільних і сторінок без шапки */
@media (min-width: 992px) {
  .custom-navbar .fx-burger { display: none; }
}

/* ---------- 3D-галерея товару ---------- */
.productSwiper { perspective: 1200px; }
.productSwiper .swiper-slide img { border-radius: var(--fx-radius); }
.productSwiper .swiper-pagination-bullet-active { background: var(--fx-accent); }

/* ---------- Доступність: без руху ---------- */
@media (prefers-reduced-motion: reduce) {
  html.fx .fx-reveal { opacity: 1; transform: none; transition: none; }
  .fx-menu__panel, .fx-menu__item, .fx-menu__foot, .fx-burger span, .product-card, .product-card .card-img-top { transition: none !important; }
  .fx-menu__item, .fx-menu__panel { transform: none !important; }
  .catalog-btn::before, .pay-btn::before, .btn-catalog::before { display: none; }
}

/* ---------- Галерея товару: стрілки, лічильник, пагінація-«пігулка» з прогресом ---------- */
.productSwiper {
  position: relative;
  border-radius: 22px;
  padding-bottom: 34px;
}
.productSwiper .swiper-slide {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.productSwiper .swiper-slide img { display: block; width: 100%; }

.productSwiper .fx-nav {
  width: 44px;
  height: 44px;
  margin-top: -39px;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s ease, transform .35s var(--fx-spring), background .3s ease;
}
.productSwiper .fx-nav::after { font-size: 15px; font-weight: 800; }
.productSwiper .swiper-button-prev { left: 12px; transform: translateX(-8px); }
.productSwiper .swiper-button-next { right: 12px; transform: translateX(8px); }
.productSwiper:hover .fx-nav, .productSwiper .fx-nav:focus-visible { opacity: 1; transform: none; }
.productSwiper .fx-nav:hover { background: #fff; transform: scale(1.08); }
@media (hover: none) { .productSwiper .fx-nav { opacity: 1; transform: none; width: 38px; height: 38px; margin-top: -36px; } }

.productSwiper .fx-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 6px 12px;
  border-radius: 99px;
  font: 600 12px/1 "Helvetica Neue", sans-serif;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(14, 14, 16, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.productSwiper .fx-counter b { font-size: 14px; margin-right: 4px; }
.productSwiper .fx-counter span { opacity: .65; }

/* Пагінація: неактивні — крапки, активна — «пігулка» з градієнтом і смужкою прогресу автопрокрутки */
.productSwiper .swiper-pagination { bottom: 6px !important; display: flex; justify-content: center; align-items: center; gap: 7px; }
.productSwiper .swiper-pagination-bullet {
  position: relative;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 99px;
  background: rgba(0, 0, 0, .16);
  opacity: 1;
  overflow: hidden;
  transition: width .45s var(--fx-ease), background .3s ease, transform .3s var(--fx-spring);
}
.productSwiper .swiper-pagination-bullet:hover { transform: scale(1.25); background: rgba(0, 0, 0, .3); }
.productSwiper .swiper-pagination-bullet-active {
  width: 34px;
  background: rgba(255, 153, 0, .25);
  transform: none !important;
}
.productSwiper .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fx-accent), var(--fx-accent-2));
  transform-origin: 0 50%;
  animation: fx-progress 5s linear forwards; /* = autoplay.delay у сторінці товару */
}
@keyframes fx-progress { from { transform: scaleX(.12); } to { transform: scaleX(1); } }

/* Інші слайдери сайту — у тому ж стилі (без прогресу) */
.swiper-pagination-bullet { transition: width .45s var(--fx-ease), background .3s ease; }
.swiper-pagination-bullet-active { background: #111!important; }
.featured-swiper .swiper-pagination-bullet-active, .video-swiper .swiper-pagination-bullet-active, .reviewsSwiper .swiper-pagination-bullet-active { width: 24px; border-radius: 99px; }

@media (prefers-reduced-motion: reduce) {
  .productSwiper .swiper-pagination-bullet-active::after { animation: none; transform: none; }
}

/* ---------- Галерея: приближення, Ken Burns, «перегортання» лічильника ---------- */
/* Власна властивість «scale» не конфліктує з transform, яким Swiper Zoom збільшує фото. */
.productSwiper .swiper-zoom-container { overflow: hidden; }
.productSwiper .swiper-slide img { cursor: zoom-in; transition: scale .35s var(--fx-ease); }
.productSwiper .swiper-slide-active img { animation: fx-kenburns 5.2s ease-out both; }
@keyframes fx-kenburns { from { scale: 1; } to { scale: 1.07; } }
/* «Лупа» на комп'ютері */
.productSwiper .swiper-slide.fx-lens img { animation: none; scale: 2; transition: scale .35s var(--fx-ease); }
/* Збільшено подвійним тапом / щипком */
.productSwiper .swiper-slide-zoomed img { animation: none; scale: 1; cursor: grab; }
.productSwiper.fx-paused .swiper-pagination-bullet-active::after { animation-play-state: paused; }
.productSwiper .fx-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45);
  cursor: pointer;
  transition: transform .3s var(--fx-spring);
}
.productSwiper .fx-expand:hover { transform: scale(1.1); }
.fx-counter b { display: inline-block; }
.fx-counter b.fx-flip { animation: fx-flip .55s var(--fx-spring); }
@keyframes fx-flip { from { transform: perspective(200px) rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Повноекранний перегляд фото ---------- */
.fx-lb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 8, 10, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  perspective: 1400px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.fx-lb-open .fx-lb { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.fx-lb__stage {
  position: absolute;
  inset: 0;
  transform: rotateX(18deg) scale(.86) translateY(40px);
  transition: transform .7s var(--fx-spring);
}
.fx-lb-open .fx-lb__stage { transform: none; }
.fx-lb__swiper { width: 100%; height: 100%; }
.fx-lb__swiper .swiper-slide { width: 100% !important; height: 100% !important; }
.fx-lb__swiper .swiper-zoom-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.fx-lb__swiper .swiper-zoom-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 86vh !important;
  max-height: 86svh !important;
  object-fit: contain;
  border-radius: 14px;
}
.fx-lb__count { top: 18px !important; bottom: auto !important; color: #fff; font: 600 14px/1 "Helvetica Neue", sans-serif; letter-spacing: .1em; }
.fx-lb .fx-nav { color: #fff; background: rgba(255, 255, 255, .12); width: 48px; height: 48px; border: 0; border-radius: 50%; }
.fx-lb .fx-nav::after { font-size: 16px; font-weight: 800; }
.fx-lb .fx-nav { z-index: 3; }
@media (hover: none) { .fx-lb .fx-nav { display: none; } }
.fx-lb__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: transform .3s var(--fx-spring), background .3s ease;
}
.fx-lb__close:hover { transform: rotate(90deg) scale(1.08); background: rgba(255, 255, 255, .22); }
.fx-lb__hint { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .45); font-size: 12px; }
@media (hover: hover) { .fx-lb__hint { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .productSwiper .swiper-slide-active img, .fx-counter b.fx-flip { animation: none; }
  .productSwiper .swiper-slide.fx-lens img { transition: none; }
  .fx-lb__stage { transform: none; transition: none; }
}

/* ---------- Оформлення замовлення (модалка .om на сторінці товару) ----------
   Лише стилі: поля, їхні name і обробники (sendmail.php, /pay/create.php) не змінюються. */
.om .modal-content {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
}
.om .modal-header { padding: 1.1rem 1.35rem; border-bottom: 1px solid #f0ede7; }
.om .modal-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.om .btn-close { border-radius: 50%; padding: .7rem; background-color: #f4f2ee; opacity: 1; transition: transform .3s var(--fx-spring); }
.om .btn-close:hover { transform: rotate(90deg); }

.om-item { gap: 1rem; padding: 1.1rem 1.35rem; background: linear-gradient(135deg, #fbf7f1, #f6f3ee); }
.om-item img { width: 76px; height: 76px; border-radius: 16px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.om-item .t { font-size: .92rem; line-height: 1.3; }
.om-item .p b { font-family: var(--fx-font-head, inherit); font-size: 1.15rem; color: #18b300; }

.om-fields { padding: 1.2rem 1.35rem .35rem; }
.om-f { margin-bottom: 1rem; }
.om-f label { font-size: .72rem; letter-spacing: .08em; margin-bottom: .4rem; color: #7a7a7a; }
.om-f input {
  height: 52px;
  padding: .75rem 1rem;
  border: 1.5px solid #e7e3dc;
  border-radius: 14px;
  font-size: 16px; /* ≥16px — iPhone не збільшує сторінку при введенні */
  font-weight: 600;
  background: #fcfbf9;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.om-f input:focus { background: #fff; border-color: var(--fx-accent); box-shadow: 0 0 0 4px rgba(255, 153, 0, .16); }
.om-f input:not(:placeholder-shown):valid { border-color: #bfe3c8; }

.om-actions { padding: .5rem 1.35rem 1.35rem; }
.om-actions .btn { height: 56px; border-radius: 16px; font-size: 1.02rem; display: flex; align-items: center; justify-content: center; }
.om-actions .pay-btn { background: linear-gradient(135deg, #16161a, #2b2b31); }
.om-actions .btn-outline-dark { border-width: 1.5px; }
.om-methods { gap: .6rem; margin: .75rem 0 .15rem; }
.om-note { padding: .8rem .9rem; margin-top: 1.1rem; border-radius: 14px; background: #f6faf6; color: #5f6b61; }

/* Комп'ютер: поява у 3D */
@media (min-width: 576px) {
  .om.fade .modal-dialog { transform: perspective(1400px) rotateX(14deg) translateY(50px) scale(.95); transition: transform .6s var(--fx-spring), opacity .3s ease; }
  .om.show .modal-dialog { transform: none; }
  .om .modal-dialog { max-width: 480px; }
}

/* Поки відкрите оформлення замовлення — кнопка меню не перекриває форму */
body.modal-open .fx-fab, body.modal-open .custom-navbar .fx-burger { opacity: 0; pointer-events: none; }

/* Телефон: нижня шторка (bottom sheet) з «ручкою» */
@media (max-width: 575.98px) {
  .om .modal-dialog.modal-fullscreen-sm-down {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 94vh;
    max-height: 94svh;
    margin: 0;
  }
  .om .modal-content { height: auto; max-height: 94vh; max-height: 94svh; border-radius: 26px 26px 0 0 !important; }
  .om .modal-content::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 5px;
    margin-left: -21px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .15);
    z-index: 2;
  }
  .om .modal-header { padding-top: 1.35rem; }
  .om.fade .modal-dialog { transform: translateY(100%); transition: transform .5s var(--fx-ease); }
  .om.show .modal-dialog { transform: none; }
  .om-actions { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
  .om-note { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  .om.fade .modal-dialog { transform: none !important; transition: opacity .2s ease !important; }
}

/* ---------- Відеоогляди на головній: вертикальні картки як Shorts/Reels ---------- */
.video-swiper { padding: 6px 0 44px; overflow: hidden; }
.video-swiper .swiper-slide { height: auto; transition: transform .5s var(--fx-ease), opacity .5s ease, filter .5s ease; }
@media (max-width: 991.98px) {
  .video-swiper .swiper-slide:not(.swiper-slide-active) { transform: scale(.9); opacity: .55; filter: saturate(.6); }
}
.video-swiper .video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0d0d0f;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9);
}
.video-swiper .video-thumb {
  aspect-ratio: 9 / 16;
  max-height: 74vh;
  max-height: 74svh;
  background: #0d0d0f;
  overflow: hidden;
}
/* style.css обмежує всі картинки слайдерів (height/max-height 340px / 210px) — для відео знімаємо */
.video-swiper .video-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;          /* Shorts — оригінальний 9:16 без розмитих полів; звичайні відео — центр кадру */
  transition: transform 1s var(--fx-ease);
}
.video-swiper .video-card:hover .video-thumb img { transform: scale(1.06); }
.video-swiper .video-thumb::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 8%, rgba(0, 0, 0, .45) 55%, transparent);
  pointer-events: none;
}
/* Назва й опис — поверх відео, як у Reels */
.video-swiper .video-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 18px 20px;
  background: none !important;
  text-align: left;
}
.video-swiper .video-body .video-title {
  color: #fff;
  font-family: var(--fx-font-head, inherit);
  font-size: 1.15rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.video-swiper .video-body .video-meta {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Кнопка відтворення: скло + пульсуюче кільце */
.video-swiper .video-play { z-index: 2; }
.video-swiper .play-btn {
  position: relative;
  width: 74px !important;
  height: 74px !important;
  background: rgba(255, 255, 255, .18) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7) !important;
  color: #fff;
  font-size: 24px;
}
.video-swiper .play-btn i { margin-left: 4px; }
.video-swiper .play-btn::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  animation: fx-pulse 2.2s ease-out infinite;
}
@keyframes fx-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.video-swiper .video-card[data-type="shorts"] .video-thumb::before {
  content: "SHORTS";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 99px;
  font: 700 11px/1 "Exo 2", sans-serif;
  letter-spacing: .12em;
  color: #fff;
  background: #ff0033;
  box-shadow: 0 6px 16px -6px rgba(255, 0, 51, .8);
}
/* Стрілки — лише на комп'ютері; на телефоні гортання свайпом */
@media (hover: none), (max-width: 767.98px) { .video-swiper .swiper-button-prev, .video-swiper .swiper-button-next { display: none !important; } }
.video-swiper .swiper-button-prev, .video-swiper .swiper-button-next {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff !important;
}
.video-swiper .swiper-pagination { bottom: 8px !important; }
@media (prefers-reduced-motion: reduce) {
  .video-swiper .play-btn::after { animation: none; }
  .video-swiper .swiper-slide { transition: none; }
}

/* Плеєр на головній: у style.css .ratio-16x9 від 768px примусово 3:4 — для плеєра повертаємо реальні пропорції */
#videoModal .ratio { aspect-ratio: auto; }

/* Плеєр: кнопка закриття */
#videoModal .modal-content { position: relative; background: #000; }
.fx-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .55);
  opacity: 1;
  background-size: 14px;
}

/* Плеєр для Shorts: вертикальний 9:16, на телефоні — на весь екран */
#videoModal.is-shorts .ratio { --bs-aspect-ratio: 177.7778%; }
#videoModal.is-shorts .modal-dialog { max-width: calc(90vh * 9 / 16); max-width: calc(90svh * 9 / 16); }
@media (max-width: 575.98px) {
  #videoModal.is-shorts .modal-dialog { max-width: 100%; margin: 0; min-height: 100vh; min-height: 100svh; }
  #videoModal.is-shorts .modal-content { border-radius: 0 !important; }
  #videoModal.is-shorts { background: #000; }
  #videoModal.is-shorts .ratio { max-height: 100vh; max-height: 100svh; }
}

/* Shorts грає всередині картки: iframe поверх прев'ю, під градієнтом і підписами; кліки — на картку */
.video-swiper .video-thumb .fx-inline {
  position: absolute;
  /* Рамка вища за картку: смуга з назвою зверху й логотип знизу обрізаються краями картки */
  top: -70px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(100% + 140px);
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease;
}
.video-swiper .video-card.fx-playing .fx-inline { opacity: 1; }
.video-swiper .video-card.fx-playing .play-btn { transform: scale(.72); opacity: .85; }
.video-swiper .video-card.fx-playing .video-thumb::after { z-index: 1; }
.video-swiper .video-card .video-body { z-index: 3; }

/* ---------- Меню: прозоре скло (під ним видно сайт) ---------- */
.fx-menu__backdrop { background: rgba(8, 8, 10, .12); }
.fx-open .fx-menu__backdrop { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fx-menu__panel {
  background: linear-gradient(160deg, rgba(28, 28, 32, .42), rgba(10, 10, 12, .58));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-left: 1px solid rgba(255, 255, 255, .12);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .8), inset 1px 0 0 rgba(255, 255, 255, .06);
  padding-top: 88px;
}
/* Легке фірмове світіння замість важких кольорових плям */
.fx-orb--a { width: 280px; height: 280px; top: -120px; right: -100px; background: var(--fx-accent); opacity: .28; filter: blur(60px); }
.fx-orb--b { display: none; }
.fx-menu__brand {
  position: absolute;
  top: 26px;
  left: 34px;
  font-size: 22px;
  color: #fff !important;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .5s ease .2s, transform .6s var(--fx-ease) .2s;
}
.fx-open .fx-menu__brand { opacity: .95; transform: none; }
.fx-menu__link { border-bottom-color: rgba(255, 255, 255, .1); text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.fx-menu__link small { color: rgba(255, 255, 255, .45); }
.fx-menu__cta { background: var(--fx-accent); color: #111 !important; box-shadow: 0 16px 36px -16px rgba(255, 153, 0, .9); }
.fx-menu__cta--ghost {
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff !important;
  box-shadow: none;
}
/* Хрестик завжди над меню: шапка (в якій бургер) піднімається над шаром меню, логотип шапки ховається */
.fx-open .custom-navbar { z-index: 1101 !important; }
.fx-open .custom-navbar .navbar-brand { opacity: 0; pointer-events: none; }
.fx-open .fx-burger { background: rgba(255, 255, 255, .14); box-shadow: none; }

/* ---------- Головна: блок «Каталог сумок» — 3D-вітрина моделей + заклик до каталогу ---------- */
/* Фон — чорна панель з лазерною різкою MOLLE, як на сучасному тактичному спорядженні (img/bg-laser.svg,
   генератор deploy/make-tactical-bg.js); унизу — маркування спорядження */
.fx-cat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #050506 url('../img/bg-laser.svg') center / cover no-repeat !important;
}
.fx-cat > .container { position: relative; z-index: 1; }
.fx-cat::after {
  content: "SH-TAC // TACTICAL HOLSTER BAGS // UA";
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  z-index: 0;
  text-align: center;
  font: 600 11px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .32em;
  color: rgba(255, 255, 255, .3);
  pointer-events: none;
}
@media (max-width: 991.98px) { .fx-cat::after { font-size: 9px; letter-spacing: .2em; bottom: 12px; } }
/* Без затемнення: фон видно повністю; тексту — легка тінь для читабельності */
.fx-cat .catalog-heading, .fx-cat .catalog-desc, .fx-cat .fx-link { text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
/* Комп'ютер: вітрина не заходить під закріплену шапку сайту */
@media (min-width: 992px) { .fx-cat { padding-top: 6.5rem !important; padding-bottom: 4rem !important; } }
.fx-cat .catalog-heading { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.02; margin-bottom: .2rem; }
.fx-cat .catalog-desc { color: rgba(255, 255, 255, .78); max-width: 34rem; }
.fx-cat-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.fx-cta {
  padding: 16px 28px !important;
  font-size: 1.08rem !important;
  color: #111 !important;
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-2)) !important;
  box-shadow: 0 18px 40px -16px rgba(255, 153, 0, .85);
  animation: fx-cta-glow 2.6s ease-in-out infinite;
}
@keyframes fx-cta-glow { 50% { box-shadow: 0 22px 54px -14px rgba(255, 153, 0, 1); } }
.fx-cta__arrow { display: inline-block; margin-left: 8px; transition: transform .35s var(--fx-spring); }
.fx-cta:hover .fx-cta__arrow { transform: translateX(6px); }
.fx-link { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.fx-link:hover { color: #ffcc70; border-color: #ffcc70; }

/* 3D-кільце моделей */
.fx-ring {
  --r: 314px;  /* ≈ 7 карток по колу майже впритул */
  --w: 240px;
  position: relative;
  height: 560px;
  perspective: 1300px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.fx-ring.fx-drag { cursor: grabbing; }
.fx-ring__stage {
  position: absolute;
  top: 40px;
  left: 50%;
  width: var(--w);
  height: calc(var(--w) * 1.35);
  margin-left: calc(var(--w) / -2);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, -8deg)) rotateY(var(--ry, 0deg));
}
.fx-ring__item {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transform: rotateY(calc(var(--i) * (360deg / 7))) translateZ(var(--r));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: box-shadow .4s ease;
}
.fx-ring__item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.fx-ring__item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 10px 10px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
}
.fx-ring__item:hover { box-shadow: 0 30px 60px -20px rgba(255, 153, 0, .7), 0 0 0 2px var(--fx-accent); }
.fx-ring__floor {
  display: none; /* без підсвітки під вітриною */
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 78%;
  height: 60px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 153, 0, .45), transparent);
  filter: blur(8px);
}
.fx-ring__hint { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }
@media (hover: hover) { .fx-ring__hint { display: none; } }
@media (max-width: 991.98px) {
  .fx-ring { --r: 236px; --w: 182px; height: 430px; margin-top: 10px; }
  .fx-ring__stage { top: 22px; }
  .fx-ring__item span { font-size: 15px; }
}
@media (max-width: 400px) { .fx-ring { --r: 210px; --w: 162px; height: 390px; } }
@media (prefers-reduced-motion: reduce) {
  .fx-cta { animation: none; }
}

/* Сторінки з плаваючим бургером (товари): сторінка починається одразу під ним (14 + 48 + 10 px) */
html.fx-has-fab body { padding-top: 72px; }

/* ---------- Каталог: верхнє відео — телефон 3:4, комп'ютер 2.35:1 (кіноформат; відео керується в shop-admin) ---------- */
.catalog-header { height: auto !important; aspect-ratio: 2.35 / 1; }
.catalog-header.fx-full { min-height: 0 !important; }
@media (max-width: 767.98px) { .catalog-header { aspect-ratio: 3 / 4; } }

/* Сторінка товару: відео для телефона — 3:4 */
.fx-ratio-34 { aspect-ratio: 3 / 4; object-fit: cover; display: block; }

/* ---------- Головна: блок соцмереж ---------- */
#instagram.fx-social { padding: 7rem 0 6rem; background: #0b0b0d; isolation: isolate; } /* #id — сильніше за старе #instagram { padding: 0 } */
.fx-social__bg {
  position: absolute;
  inset: -4% 0;                   /* рівно по блоку; запас під паралакс дає scale(1.05) */
  z-index: -1;
  background: url('../img/social_fon-1600.webp') center / cover no-repeat;
  transform: translate3d(0, var(--fx-par, 0px), 0) scale(1.05);
  will-change: transform;
}
@media (max-width: 767.98px) { .fx-social__bg { background-image: url('../img/social_fon-900.webp'); } }
/* Легке затемнення знизу/зверху лише для читабельності тексту — фото видно */
.fx-social::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .25) 45%, rgba(8, 8, 10, .6) 100%);
  pointer-events: none;
}
.fx-social__head { margin-bottom: 2.6rem; }
.fx-social__title { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; margin: 0 0 .8rem; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.fx-social__lead { max-width: 36rem; margin: 0 auto; color: rgba(255, 255, 255, .85); font-size: 1.08rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.fx-social__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
@media (max-width: 991.98px) { .fx-social__grid { grid-template-columns: repeat(2, 1fr); } }

.fx-soc {
  --c: #ff9900;
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px 20px 20px;
  border-radius: 22px;
  color: #fff !important;
  text-decoration: none;
  background: rgba(16, 16, 20, .42);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform .6s var(--fx-ease), border-color .4s ease, box-shadow .4s ease;
  overflow: hidden;
}
.fx-soc.fx-tilting { transition: transform .12s linear, border-color .4s ease, box-shadow .4s ease; }
/* Світло, що йде за курсором */
.fx-soc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 32%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.fx-soc:hover::before, .fx-soc:focus-visible::before { opacity: 1; }
.fx-soc:hover, .fx-soc:focus-visible { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 70%, #000); outline: none; }
.fx-soc > * { position: relative; transform: translateZ(30px); }
.fx-soc__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  background: var(--c);
  box-shadow: 0 12px 28px -10px var(--c);
  transform: translateZ(50px);
  transition: transform .5s var(--fx-spring);
}
.fx-soc:hover .fx-soc__icon { transform: translateZ(60px) rotate(-8deg) scale(1.08); }
.fx-soc__name { font-family: var(--fx-font-head, inherit); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.fx-soc__handle { font-weight: 600; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.fx-soc__text { color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.4; min-height: 2.6em; }
.fx-soc__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #ff9902; }
.fx-soc__cta i { transition: transform .35s var(--fx-spring); }
.fx-soc:hover .fx-soc__cta i { transform: translateX(6px); }
.fx-soc--ig { --c: #e1306c; }
.fx-soc--ig .fx-soc__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.fx-soc--tg { --c: #2aabee; }
.fx-soc--yt { --c: #ff0033; }
.fx-soc--bot { --c: #ff9900; }
.fx-soc--bot .fx-soc__icon { color: #111; }
@media (max-width: 575.98px) {
  #instagram.fx-social { padding: 5.5rem 0 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-social__bg { transform: none; }
  .fx-soc, .fx-soc__icon { transition: none; transform: none !important; }
}

/* Соцмережі: компактні квадратні картки */
.fx-social__grid { grid-template-columns: repeat(4, minmax(0, 190px)); justify-content: center; gap: 16px; }
.fx-soc {
  aspect-ratio: 1 / 1;
  padding: 16px;
  gap: 2px;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-radius: 20px;
}
.fx-soc__icon { width: 48px; height: 48px; font-size: 23px; border-radius: 14px; margin-bottom: 8px; }
.fx-soc__name { font-size: 1rem; }
.fx-soc__handle { font-size: .85rem; }
.fx-soc__cta { font-size: .9rem; }
@media (max-width: 991.98px) { .fx-social__grid { grid-template-columns: repeat(2, minmax(0, 190px)); } }
@media (max-width: 420px) { .fx-social__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .fx-soc { padding: 12px; } }

/* Соцмережі: одна картка Instagram по центру */
.fx-social__grid { grid-template-columns: minmax(0, 220px) !important; justify-content: center; }
@media (max-width: 575.98px) { .fx-social__grid { grid-template-columns: minmax(0, 200px) !important; } }

/* Соцмережі: без підсвітки (світло за курсором, кольорове світіння, світна тінь іконки) */
.fx-soc::before { display: none; }
.fx-soc:hover, .fx-soc:focus-visible { border-color: rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); }
.fx-soc__icon { box-shadow: none; }

/* Соцмережі — комп'ютер: текст і картка ліворуч, колаж цілком праворуч, фон — розмита атмосфера */
.fx-social__art { display: none; }
@media (min-width: 992px) {
  .fx-social__wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
  .fx-social__head { text-align: left !important; margin-bottom: 2rem; }
  .fx-social__lead { margin: 0; }
  .fx-social__grid { justify-content: start; }
  .fx-social__bg { filter: blur(26px) brightness(.45) saturate(.9); }
  .fx-social::after { background: linear-gradient(90deg, rgba(8, 8, 10, .75) 0%, rgba(8, 8, 10, .35) 100%); }
  .fx-social__art {
    display: block;
    justify-self: end;
    width: min(100%, 420px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, -8deg));
    transition: transform .7s var(--fx-ease);
  }
  .fx-social__art.fx-tilting { transition: transform .12s linear; }
  .fx-social__art img { display: block; width: 100%; height: auto; transition: transform 1s var(--fx-ease); }
  .fx-social__art:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .fx-social__art { transform: none !important; } }

/* Соцмережі — комп'ютер: картка Instagram прямокутна, як кнопка: іконка · назва · акаунт · заклик */
@media (min-width: 992px) {
  .fx-social__grid { grid-template-columns: minmax(0, 460px) !important; justify-content: start; }
  .fx-soc {
    aspect-ratio: auto;
    grid-template-columns: auto auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    justify-items: start;
    column-gap: 14px;
    padding: 14px 22px 14px 14px;
    text-align: left;
    border-radius: 18px;
  }
  .fx-soc__icon { margin: 0; width: 46px; height: 46px; }
  .fx-soc__name { font-size: 1.05rem; }
  .fx-soc__handle { font-size: .95rem; }
  .fx-soc__cta { margin: 0; justify-self: end; font-size: 1rem; }
}

/* Соцмережі — комп'ютер: пропорційна композиція (текст і фото поруч по центру) */
@media (min-width: 992px) {
  #instagram.fx-social { padding: 6rem 0; }
  .fx-social__wrap { grid-template-columns: minmax(0, 600px) 360px; justify-content: center; gap: 5rem; }
  .fx-social__title { font-size: clamp(2.4rem, 3.4vw, 3.3rem); }
  .fx-social__lead { font-size: 1.15rem; }
  .fx-social__art { width: 360px; justify-self: stretch; }
  .fx-social__grid { grid-template-columns: max-content !important; }
  .fx-soc { grid-template-columns: auto auto auto auto; column-gap: 18px; padding: 14px 24px 14px 14px; }
  .fx-soc__cta { justify-self: start; margin-left: 14px; }
}
@media (min-width: 1400px) {
  .fx-social__wrap { grid-template-columns: minmax(0, 640px) 400px; gap: 6rem; }
  .fx-social__art { width: 400px; }
}

/* Соцмережі: прозоріша маска на фоні */
.fx-social::after { background: linear-gradient(180deg, rgba(8, 8, 10, .35) 0%, rgba(8, 8, 10, .1) 45%, rgba(8, 8, 10, .4) 100%); }
@media (min-width: 992px) {
  .fx-social__bg { filter: blur(22px) brightness(.65) saturate(.95); }
  .fx-social::after { background: linear-gradient(90deg, rgba(8, 8, 10, .5) 0%, rgba(8, 8, 10, .15) 100%); }
}
@media (min-width: 992px) {
  .fx-social__bg { filter: blur(14px) brightness(.8) saturate(1); }
  .fx-social::after { background: linear-gradient(90deg, rgba(8, 8, 10, .38) 0%, rgba(8, 8, 10, .05) 100%); }
}

/* ---------- Головна: «Часті питання» + форма «Потрібна допомога?» ---------- */
.fx-faqsec { padding: 5.5rem 0; background: #f4f3ef; }
.fx-faqsec__title { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 2.6rem; }
.fx-faqsec__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .fx-faqsec__grid { grid-template-columns: 1fr; } }

.fx-faq { display: grid; gap: 12px; }
.fx-faq__item {
  background: #fff;
  border: 1px solid #e7e3dc;
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.fx-faq__item.is-open { border-color: #111; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); }
.fx-faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: none;
  text-align: left;
  font: 600 1.05rem/1.35 var(--fx-font-text, sans-serif);
  color: #111;
  cursor: pointer;
}
.fx-faq__q:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: -2px; border-radius: 18px; }
.fx-faq__num { font-family: var(--fx-font-head, inherit); font-size: .95rem; color: #b0aaa0; transition: color .3s ease; }
.fx-faq__item.is-open .fx-faq__num { color: var(--fx-accent); }
.fx-faq__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: #f1eee8; transition: background .3s ease, transform .5s var(--fx-spring); }
.fx-faq__icon::before, .fx-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: #111;
  transition: transform .45s var(--fx-spring), background .3s ease;
}
.fx-faq__icon::after { transform: rotate(90deg); }
.fx-faq__item.is-open .fx-faq__icon { background: #111; transform: rotate(180deg); }
.fx-faq__item.is-open .fx-faq__icon::before, .fx-faq__item.is-open .fx-faq__icon::after { background: #fff; }
.fx-faq__item.is-open .fx-faq__icon::after { transform: rotate(0deg); }
/* Плавне розкриття без стрибків: grid 0fr → 1fr */
.fx-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--fx-ease); }
.fx-faq__item.is-open .fx-faq__a { grid-template-rows: 1fr; }
.fx-faq__a > div { overflow: hidden; }
.fx-faq__a p { margin: 0; padding: 0 20px 20px 66px; color: #555; line-height: 1.6; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .45s var(--fx-ease); }
.fx-faq__item.is-open .fx-faq__a p { opacity: 1; transform: none; transition-delay: .08s; }
@media (max-width: 575.98px) { .fx-faq__q { padding: 16px; gap: 12px; font-size: 1rem; } .fx-faq__a p { padding: 0 16px 18px; } }

.fx-help {
  position: sticky;
  top: 90px;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #2a2118 0%, #141416 55%, #0e0e10 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
@media (max-width: 991.98px) { .fx-help { position: static; } }
.fx-help__title { font-family: var(--fx-font-head, inherit); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .5rem; }
.fx-help__lead { color: rgba(255, 255, 255, .7); margin: 0 0 1.4rem; line-height: 1.5; }
.fx-help__f { margin-bottom: 14px; }
.fx-help__f label { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.fx-help__f input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: 600 16px var(--fx-font-text, sans-serif); /* ≥16px — iPhone не збільшує сторінку */
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.fx-help__f input::placeholder { color: rgba(255, 255, 255, .35); }
.fx-help__f input:focus { outline: none; border-color: var(--fx-accent); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(255, 153, 0, .18); }
.fx-help__f input:not(:placeholder-shown):valid { border-color: rgba(52, 208, 88, .55); }
.fx-help__btn, .fx-help__tg {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 1.02rem var(--fx-font-text, sans-serif);
  text-decoration: none;
  transition: transform .25s var(--fx-spring), background .25s ease;
}
.fx-help__btn { border: 0; margin-top: 6px; color: #111; background: var(--fx-accent); cursor: pointer; }
.fx-help__btn:hover { transform: translateY(-2px); }
.fx-help__btn:disabled { opacity: .7; transform: none; cursor: default; }
.fx-help__or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: rgba(255, 255, 255, .4); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.fx-help__or::before, .fx-help__or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.fx-help__tg { color: #fff !important; background: rgba(42, 171, 238, .16); border: 1px solid rgba(42, 171, 238, .45); }
.fx-help__tg:hover { background: rgba(42, 171, 238, .26); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .fx-faq__a, .fx-faq__a p, .fx-faq__icon, .fx-faq__icon::before, .fx-faq__icon::after { transition: none; }
}

/* ==========================================================================
   Футер: сітка з колонками, контакти, великий трафаретний знак SH-TAC з «ліхтариком» за курсором,
   кнопка «Нагору» з кільцем прогресу прокрутки. Поява — js/sh-fx.js → footer().
   ========================================================================== */
.footer.fx-foot {
  position: relative;
  margin-top: 0;
  padding: 4.5rem 0 1.6rem;
  background: #0b0b0c !important;
  color: #fff;
  overflow: hidden;
  text-align: left;
}
.fx-foot::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 2, .7), transparent);
}
.fx-foot::after {
  content: "";
  position: absolute;
  left: 50%; top: -260px;
  width: 720px; height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 153, 2, .09), transparent);
  pointer-events: none;
}
.fx-foot .container { position: relative; z-index: 1; container-type: inline-size; }

.fx-foot__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.25fr 1.1fr;
  gap: 40px 32px;
}
.fx-foot__logo {
  display: inline-block;
  font-family: var(--fx-font-model, sans-serif);
  font-size: 2.1rem;
  line-height: 1;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: .02em;
}
.fx-foot__desc { margin: 14px 0 22px; color: #9a9a9f; font-size: .95rem; line-height: 1.6; max-width: 300px; }
.fx-foot__soc { display: flex; gap: 10px; }
.fx-foot__socbtn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff !important;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.fx-foot__socbtn:hover { background: #ff9902; border-color: #ff9902; color: #111 !important; transform: translateY(-3px); }

.fx-foot__h {
  margin: 0 0 18px;
  font-family: var(--fx-font-head, sans-serif);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6f6f75;
}
.fx-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fx-foot__links a {
  position: relative;
  color: #d4d4d8 !important;
  text-decoration: none;
  font-size: .98rem;
  transition: color .2s ease, padding .25s ease;
}
.fx-foot__links a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 2px;
  background: #ff9902;
  transition: width .25s ease;
}
.fx-foot__links a:hover { color: #fff !important; padding-left: 20px; }
.fx-foot__links a:hover::before { width: 12px; }

.fx-foot__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fx-foot__info li { display: flex; gap: 14px; align-items: flex-start; scroll-margin-top: 110px; }
.fx-foot__info i {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #ff9902;
  font-size: 1.15rem;
  background: rgba(255, 153, 2, .1);
}
.fx-foot__info b { display: block; color: #fff; font-weight: 600; }
.fx-foot__info span { display: block; color: #9a9a9f; font-size: .92rem; margin-top: 2px; }

.fx-foot__grid > .fx-foot__col:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.fx-foot__phone {
  display: inline-block;
  font-family: var(--fx-font-head, sans-serif);
  font-size: 1.25rem;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.fx-foot__phone:hover { color: #ff9902 !important; }
.fx-foot__tg {
  margin-top: 16px;
  height: 48px;
  padding: 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  background: rgba(42, 171, 238, .16);
  border: 1px solid rgba(42, 171, 238, .45);
  transition: background .25s ease, transform .25s ease;
}
.fx-foot__tg:hover { background: rgba(42, 171, 238, .28); transform: translateY(-2px); }

/* Великий знак: контур + помаранчевий «ліхтарик» у точці курсора (--mx/--my задає JS) */
.fx-foot__mark {
  margin: 56px 0 0;
  font-family: var(--fx-font-model, sans-serif);
  font-size: clamp(3.4rem, 18vw, 19rem);
  font-size: min(22.5cqi, 19rem); /* знак завжди на всю ширину контейнера, без обрізання */
  line-height: .78;
  text-align: center;
  letter-spacing: .01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 120%), rgba(255, 153, 2, .85), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  overflow: hidden;
  padding-bottom: .06em;
}
.fx-foot__mark span { display: inline-block; }

.fx-foot__bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.fx-foot__bottom p { margin: 0; color: #6f6f75; font-size: .88rem; }
.fx-foot__up {
  position: relative;
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.fx-foot__up:hover { background: rgba(255, 153, 2, .16); transform: translateY(-3px); }
.fx-foot__up svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fx-foot__up circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.fx-foot__up .fx-foot__ring { stroke: #ff9902; stroke-dasharray: 100; stroke-dashoffset: var(--fx-prog, 100); stroke-linecap: round; }

/* Поява: колонки знизу з перспективи, літери знака піднімаються по черзі */
.fx .fx-foot.fx-foot--wait .fx-foot__grid > * { opacity: 0; transform: translateY(26px); }
.fx .fx-foot.fx-foot--wait .fx-foot__mark span { transform: translateY(100%); }
.fx .fx-foot .fx-foot__grid > * { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * .09s); }
.fx .fx-foot .fx-foot__mark span { transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.25s + var(--i, 0) * .06s); }

@media (max-width: 991.98px) {
  .fx-foot__grid { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .fx-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .fx-foot__grid { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .fx-foot__grid > .fx-foot__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .footer.fx-foot { padding: 3.4rem 0 96px; } /* знизу місце під плаваючу кнопку дзвінка */
  .fx-foot__grid { grid-template-columns: 1fr; gap: 34px; }
  .fx-foot__mark { margin-top: 40px; }
  .fx-foot__bottom { flex-direction: row-reverse; justify-content: flex-end; padding-right: 78px; } /* праворуч — плаваюча кнопка дзвінка */
}
@media (prefers-reduced-motion: reduce) {
  .fx .fx-foot .fx-foot__grid > *, .fx .fx-foot .fx-foot__mark span { transition: none; }
}

/* ==========================================================================
   Текстові сторінки (privacy-policy.html): темний hero, зміст із підсвіткою розділу,
   смуга прогресу читання, розділи-картки. JS — js/sh-fx.js → docPage().
   ========================================================================== */
.fx-docpage { background: #f4f3ef; }
html.fx-has-fab body.fx-docpage { padding-top: 0; } /* hero темний — плаваюча кнопка меню стоїть поверх нього */
.fx-doc-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1103; pointer-events: none; }
.fx-doc-progress span { display: block; height: 100%; width: 100%; background: #ff9902; transform-origin: 0 50%; transform: scaleX(var(--fx-read, 0)); }

.fx-doc-hero {
  position: relative;
  padding: 7.5rem 0 4.5rem;
  background: #0b0b0c;
  color: #fff;
  overflow: hidden;
}
.fx-doc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 340px at 85% 0%, rgba(255, 153, 2, .16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.fx-doc-hero .container { position: relative; }
.fx-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; font-size: .88rem; color: #8b8b91; }
.fx-crumbs li + li::before { content: "/"; margin-right: 8px; color: #55555a; }
.fx-crumbs a { color: #d4d4d8; text-decoration: none; }
.fx-crumbs a:hover { color: #ff9902; }
.fx-doc-hero__title {
  margin: 0;
  font-family: var(--fx-font-head, sans-serif);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 900px;
}
.fx-doc-hero__lead { margin: 16px 0 26px; font-size: 1.1rem; color: #b8b8be; max-width: 620px; }
.fx-doc-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-doc-hero__meta > span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .88rem;
  color: #e4e4e7;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.fx-doc-hero__meta i { color: #ff9902; margin-right: 4px; }

.fx-doc { padding: 3.5rem 0 5rem; }
.fx-doc__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.fx-doc__side { position: sticky; top: 24px; }
.fx-toc { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); }
.fx-toc__h { margin: 0 0 12px; font-family: var(--fx-font-head, sans-serif); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #8b8b91; }
.fx-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.fx-toc li { counter-increment: toc; }
.fx-toc a {
  display: flex; gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .92rem;
  line-height: 1.35;
  color: #3f3f46;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.fx-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: var(--fx-font-head, sans-serif); font-size: .78rem; padding-top: 2px; color: #b4b4ba; transition: color .2s ease; }
.fx-toc a:hover { background: #f4f3ef; color: #111; }
.fx-toc a.is-active { background: #111; color: #fff; }
.fx-toc a.is-active::before { color: #ff9902; }

.fx-doc__body { display: grid; gap: 18px; }
.fx-doc__intro { margin: 0; padding: 20px 22px; border-left: 3px solid #ff9902; border-radius: 0 16px 16px 0; background: #fff; color: #52525b; }
.fx-doc__body a:not(.fx-doc__btn):not(.fx-doc__contact) { color: #111; text-decoration-color: #ff9902; text-underline-offset: 3px; }
.fx-doc__sec {
  scroll-margin-top: 24px;
  padding: 30px 32px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  color: #3f3f46;
  line-height: 1.7;
}
.fx-doc__sec h2 {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
  font-family: var(--fx-font-head, sans-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.25;
  color: #111;
}
.fx-doc__num {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: .95rem;
  color: #ff9902;
  background: #111;
}
.fx-doc__sec p { margin: 0 0 12px; }
.fx-doc__sec p:last-child, .fx-doc__sec ul:last-child { margin-bottom: 0; }
.fx-doc__sec strong { color: #111; }
.fx-doc__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.fx-doc__list li { position: relative; padding-left: 24px; }
.fx-doc__list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: #ff9902; transform: rotate(45deg); }
.fx-doc__list--check { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.fx-doc__list--check li { padding-left: 30px; }
.fx-doc__list--check li::before {
  content: "\2713"; left: 0; top: .2em;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .72rem; font-weight: 700;
  color: #111;
  transform: none;
}
.fx-doc__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fx-doc__card { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: #f4f3ef; line-height: 1.5; }
.fx-doc__card i { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 12px; font-size: 1.1rem; color: #ff9902; background: #111; }
.fx-doc__card b { color: #111; }
.fx-doc__card span { color: #52525b; font-size: .95rem; }
.fx-doc__note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #f4f3ef; font-size: .95rem; }
.fx-doc__note i { color: #ff9902; font-size: 1.1rem; line-height: 1.5; }
.fx-doc__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.fx-doc__contact {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  color: #fff !important;
  text-decoration: none;
  background: #111;
  transition: transform .25s ease, background .25s ease;
}
.fx-doc__contact i { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #111; background: #ff9902; font-size: 1.1rem; }
.fx-doc__contact span { font-size: .8rem; color: #9a9a9f; letter-spacing: .06em; text-transform: uppercase; }
.fx-doc__contact b { font-weight: 600; overflow-wrap: anywhere; }
.fx-doc__contact:hover { transform: translateY(-3px); background: #1c1c1f; }
.fx-doc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.fx-doc__btn {
  height: 54px; padding: 0 24px;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #111 !important;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  transition: transform .25s ease, background .25s ease;
}
.fx-doc__btn--main { background: #ff9902; border-color: #ff9902; }
.fx-doc__btn:hover { transform: translateY(-2px); }

@media (max-width: 991.98px) {
  .fx-doc__grid { grid-template-columns: 1fr; gap: 18px; }
  .fx-doc__side { position: static; }
  .fx-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .fx-doc-hero { padding: 6rem 0 3rem; }
  .fx-doc { padding: 1.5rem 0 3.5rem; }
  .fx-doc__sec { padding: 22px 18px; border-radius: 18px; }
  .fx-doc__num { width: 38px; height: 38px; font-size: .85rem; }
  .fx-toc ol, .fx-doc__cards, .fx-doc__contacts, .fx-doc__list--check { grid-template-columns: 1fr; }
  .fx-doc__btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Кнопка дзвінка (#callButton) у стилі кнопки «Нагору»: темне коло, помаранчеве кільце, біла іконка.
   Кільце й клас .fx-call додає js/sh-fx.js → callButton(); показ після прокрутки — як і раніше (.visible).
   ========================================================================== */
.call-button.fx-call {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  color: #fff !important;
  font-size: 1.35rem;
  background: #151517;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  animation: none;
  opacity: 0;
  transform: scale(.6) translateY(12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), background .25s ease;
}
.call-button.fx-call.visible { opacity: 1; transform: none; pointer-events: auto; }
.call-button.fx-call:hover { background: #222226; transform: translateY(-3px); }
.call-button.fx-call svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.call-button.fx-call circle { fill: none; stroke-width: 2; }
.call-button.fx-call .fx-call__track { stroke: rgba(255, 255, 255, .12); }
.call-button.fx-call .fx-call__ring { stroke: #ff9902; stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; }
.call-button.fx-call i { position: relative; animation: fx-call-shake 4s ease-in-out infinite; }
/* «Дзвінок»: кільце раз на 4 с оббігає коло, іконка коротко здригається */
.fx .call-button.fx-call.visible .fx-call__ring { animation: fx-call-ring 4s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes fx-call-ring {
  0%, 55% { stroke-dashoffset: 0; }
  56% { stroke-dashoffset: 100; }
  90%, 100% { stroke-dashoffset: 0; }
}
@keyframes fx-call-shake {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(16deg); }
  68% { transform: rotate(-14deg); }
  72% { transform: rotate(10deg); }
  76% { transform: rotate(-6deg); }
  80% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .call-button.fx-call i, .fx .call-button.fx-call.visible .fx-call__ring { animation: none; }
}

/* ==========================================================================
   «Про компанію» (about.html): та сама система, що й privacy-policy.html (.fx-doc*),
   плюс історія з фото, переваги, темний блок філософії, галерея з переходом на товари.
   ========================================================================== */
.fx-doc__grid--single { grid-template-columns: minmax(0, 1fr); }
.fx-doc-hero__title .fx-model { font-family: var(--fx-font-model, sans-serif); color: #ff9902; }

.fx-about__story { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.fx-about__photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.fx-about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08) translateY(var(--fx-par, 0px)); transition: transform .2s linear; }
.fx-about__accent { padding: 14px 18px; border-left: 3px solid #ff9902; border-radius: 0 14px 14px 0; background: #f4f3ef; color: #111; font-weight: 600; }

.fx-about__perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fx-about__perks .fx-doc__card { background: #fff; border: 1px solid rgba(0, 0, 0, .06); padding: 22px; transition: transform .3s ease, box-shadow .3s ease; }
.fx-about__perks .fx-doc__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }

.fx-about__philo {
  position: relative;
  padding: 48px 44px;
  border-radius: 22px;
  overflow: hidden;
  color: #d4d4d8;
  background: linear-gradient(100deg, rgba(8, 8, 10, .94) 30%, rgba(8, 8, 10, .6)), url("/img/sh-tac-urban-style-section-fon.jpg") center / cover;
}
.fx-about__philo::before {
  content: "\201C";
  position: absolute;
  right: 32px; top: 6px;
  font-family: var(--fx-font-head, sans-serif);
  font-size: 11rem;
  line-height: 1;
  color: rgba(255, 153, 2, .16);
  pointer-events: none;
}
.fx-about__philo h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--fx-font-head, sans-serif); font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: #fff; }
.fx-about__philo .fx-doc__num { background: #ff9902; color: #111; }
.fx-about__philo p { position: relative; margin: 0; max-width: 760px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.75; }

.fx-about__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fx-about__item { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #f4f3ef; }
.fx-about__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.fx-about__item span {
  position: absolute; left: 10px; bottom: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--fx-font-model, sans-serif);
  font-size: .95rem;
  color: #fff;
  background: rgba(10, 10, 12, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s ease, color .25s ease;
}
.fx-about__item:hover img { transform: scale(1.07); }
.fx-about__item:hover span { background: #ff9902; color: #111; }

/* Поява блоків при прокрутці (клас .fx-rise додає docPage()) */
.fx .fx-rise { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.fx .fx-rise.fx-in { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .fx-about__story { grid-template-columns: 1fr; gap: 22px; }
  .fx-about__perks, .fx-about__gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .fx-about__philo { padding: 30px 20px; border-radius: 18px; }
  .fx-about__philo::before { font-size: 7rem; top: 4px; right: 14px; }
  .fx-about__perks .fx-doc__card { padding: 16px; }
  .fx-about__gallery { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx .fx-rise { opacity: 1; transform: none; transition: none; }
  .fx-about__photo img { transform: none; }
}

/* ==========================================================================
   Відгуки (#reviews): 3D-слайдер coverflow, зірки рейтингу, середня оцінка.
   Зірки, аватар з ініціалом, підсумок і Swiper — js/sh-fx.js → reviews().
   ========================================================================== */
#reviews.fx-rev { padding: 5.5rem 0; background: #f8f9fa; color: #111; overflow: hidden; position: relative; }
.fx-rev::before {
  content: "";
  position: absolute; left: 50%; top: 40%;
  width: 900px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 153, 2, .07), transparent);
  pointer-events: none;
}
.fx-rev .container { position: relative; }
.fx-rev__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 2.6rem; }
.fx-rev__title { margin: 0; font-size: clamp(1.8rem, 4.6vw, 2.8rem); line-height: 1.1; max-width: 640px; color: #111; }
.fx-rev__title .fx-model { color: #ff9902; }
.fx-rev__summary {
  display: flex; align-items: center; gap: 14px;
  flex: none;
  padding: 14px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .35);
}
.fx-rev__avg { font-family: var(--fx-font-head, sans-serif); font-weight: 400; font-size: 2.4rem; line-height: 1; color: #111; }
.fx-rev__summary span { display: block; margin-top: 4px; font-size: .88rem; color: #71717a; }

.fx-rev__stars { display: flex; gap: 3px; color: #ff9902; font-size: 1rem; line-height: 1; }
.fx-rev__stars .is-off { color: #e4e4e7; }

.fx-rev__swiper { overflow: visible; padding: 10px 0 !important; }
.fx-rev__swiper .swiper-slide { width: min(440px, 84vw); height: auto; transition: opacity .4s ease; }
.fx-rev__swiper .swiper-slide:not(.swiper-slide-active) { opacity: .55; }
.fx-rev__card {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 30px 30px 26px;
  display: flex; flex-direction: column; gap: 18px;
  text-align: left;
  border-radius: 24px;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.fx-rev__card::after {
  content: "\201C";
  position: absolute; right: 22px; top: 4px;
  font-family: var(--fx-font-head, sans-serif);
  font-size: 7rem; line-height: 1;
  color: rgba(255, 153, 2, .18);
  pointer-events: none;
}
.fx-rev__card .fx-rev__stars .is-off { color: #e4e4e7; }
.fx-rev__text { flex: 1; margin: 0; }
.fx-rev__text p { margin: 0; font-size: 1.12rem; line-height: 1.6; color: #27272a; }
.fx-rev__who { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid #f0efeb; }
.fx-rev__ava {
  grid-row: span 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--fx-font-head, sans-serif);
  font-size: 1.1rem;
  color: #ff9902;
  background: #111;
}
.fx-rev__who b { font-weight: 600; color: #111; }
.fx-rev__who span:not(.fx-rev__ava) { font-size: .9rem; color: #71717a; }

.fx-rev__nav { display: flex; align-items: center; gap: 18px; margin-top: 2.2rem; }
.fx-rev__arrow {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .14);
  color: #111;
  font-size: 1.15rem;
  background: #fff;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fx-rev__arrow:hover { background: #ff9902; border-color: #ff9902; color: #111; }
.fx-rev__arrow.swiper-button-disabled { opacity: .35; pointer-events: none; }
.fx-rev__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.fx-rev__bar span { display: block; height: 100%; width: 100%; background: #ff9902; transform-origin: 0 50%; transform: scaleX(var(--fx-rev, 0)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }

.fx-rev__cta { margin-top: 2rem; text-align: center; }
.fx-rev__leave {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  background: #111;
  border: 1px solid #111;
  transition: background .25s ease, border-color .25s ease;
}
.fx-rev__leave i { color: #ff9902; }
.fx-rev__leave:hover { background: #26262a; border-color: #26262a; }

@media (max-width: 767.98px) {
  #reviews.fx-rev { padding: 4rem 0; }
  .fx-rev__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 1.8rem; }
  .fx-rev__card { padding: 24px 22px 20px; border-radius: 20px; }
  .fx-rev__text p { font-size: 1.02rem; }
}

/* ==========================================================================
   «Дізнайтесь більше про SH-TAC» (#about-link): фото майстерні з 3D-нахилом, лічильники, кнопка.
   JS — js/sh-fx.js → aboutLink(). Перекриває старі стилі #about-link зі style.css.
   ========================================================================== */
#about-link.fx-ab { padding: 6rem 0; background: #f8f9fa; text-align: left; overflow: hidden; }
#about-link.fx-ab::before, #about-link.fx-ab::after { display: none; }
.fx-ab__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

.fx-ab__media { position: relative; perspective: 1200px; margin: 0 22px 22px 0; }
/* Помаранчева контурна рамка позаду фото — зсунута, рухається протилежно нахилу */
.fx-ab__back {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: 28px;
  border: 2px solid #ff9902;
  transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.fx-ab__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.fx-ab__frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  display: block;
  transform: scale(1.12) translateY(var(--fx-par, 0px));
  filter: contrast(1.05) saturate(.9);
}
/* Відблиск, що ковзає за курсором, і м'яке затемнення знизу під плашку */
.fx-ab__frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px circle at var(--gx, 70%) var(--gy, 10%), rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45));
  pointer-events: none;
}

/* Кругла печатка з текстом по колу: повільно обертається, прокрутка її підкручує (--spin з JS) */
.fx-ab__seal {
  position: absolute;
  top: -30px; right: -30px;
  z-index: 3;
  width: 124px; height: 124px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #111;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6), 0 0 0 6px #f8f9fa;
}
.fx-ab__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(var(--spin, 0deg)); }
.fx-ab__seal text { font-family: var(--fx-font-head, sans-serif); font-size: 10.5px; letter-spacing: .08em; fill: #fff; }
.fx-ab__seal i {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #111;
  background: #ff9902;
}

/* Плашка — темне «скло» всередині фото */
.fx-ab__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  color: #fff;
  background: rgba(14, 14, 16, .62);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transform: translate(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 16px));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.fx-ab__badge i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #111; background: #ff9902; font-size: 1.1rem; }
.fx-ab__badge b { display: block; color: #fff; font-weight: 600; line-height: 1.2; }
.fx-ab__badge span { display: block; font-size: .85rem; color: rgba(255, 255, 255, .7); }

#about-link.fx-ab .fx-ab__title { margin: 0 0 16px; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.1; color: #111; text-align: left; }
#about-link.fx-ab .fx-ab__title .fx-model { color: #ff9902; }
#about-link.fx-ab .fx-ab__lead { margin: 0 0 30px; max-width: 520px; font-size: 1.12rem; line-height: 1.65; color: #52525b; text-align: left; }
.fx-ab__stats { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fx-ab__stats li { padding: 18px 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); }
.fx-ab__stats b { display: block; font-family: var(--fx-font-head, sans-serif); font-weight: 400; font-size: 1.9rem; line-height: 1; color: #111; font-variant-numeric: tabular-nums; }
.fx-ab__stats span { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.35; color: #71717a; }

.fx-ab__btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 8px 0 26px;
  border-radius: 16px;
  font-weight: 700; font-size: 1.05rem;
  color: #fff !important;
  text-decoration: none;
  background: #111;
  transition: background .25s ease, transform .25s ease;
}
.fx-ab__arrow { width: 42px; height: 42px; margin-left: 8px; display: grid; place-items: center; border-radius: 12px; color: #111; background: #ff9902; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fx-ab__btn:hover { background: #26262a; transform: translateY(-2px); }
.fx-ab__btn:hover .fx-ab__arrow { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .fx-ab__grid { grid-template-columns: 1fr; gap: 40px; }
  .fx-ab__media { max-width: 640px; }
}
@media (max-width: 575.98px) {
  #about-link.fx-ab { padding: 4rem 0; }
  .fx-ab__media { margin: 18px 12px 12px 0; }
  .fx-ab__back { inset: 12px -12px -12px 12px; border-radius: 22px; }
  .fx-ab__frame { border-radius: 22px; }
  .fx-ab__seal { width: 92px; height: 92px; top: -22px; right: -8px; }
  .fx-ab__seal i { width: 36px; height: 36px; font-size: 1rem; }
  .fx-ab__badge { left: 12px; bottom: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; }
  .fx-ab__badge i { width: 36px; height: 36px; }
  .fx-ab__stats { gap: 8px; }
  .fx-ab__stats li { padding: 14px 10px; }
  .fx-ab__stats b { font-size: 1.5rem; }
  .fx-ab__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-ab__frame, .fx-ab__back, .fx-ab__badge { transform: none; transition: none; }
  .fx-ab__frame img { transform: none; }
}
/* Нижній відступ останнього елемента відеосекції не «витікає» білою смугою перед #about-link */
.section-video { display: flow-root; }
#about-link.fx-ab .fx-ab__lead { padding: 0; }

/* ---------- Меню: вхід в адмінку — лише щит, у ряду з телефоном ---------- */
.fx-menu__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.fx-menu__admin {
  width: 58px;
  display: grid; place-items: center;
  color: #ff9902 !important;
  text-decoration: none;
  background: none;
  border: 0;
  -webkit-tap-highlight-color: transparent;
}
.fx-menu__admin-ico { display: grid; place-items: center; transition: transform .4s cubic-bezier(.2, .8, .2, 1), color .25s ease; }
.fx-menu__admin-ico svg { width: 30px; height: 30px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45)); }
.fx-menu__admin:hover .fx-menu__admin-ico, .fx-menu__admin:focus-visible .fx-menu__admin-ico { transform: rotate(-8deg) scale(1.12); color: #ffb13d; }
.fx-menu__admin:focus-visible { outline: 2px solid rgba(255, 153, 2, .6); outline-offset: 2px; border-radius: 12px; }
.fx-nav-admin { display: flex; align-items: center; margin-left: 6px; }
.fx-nav-admin .nav-link {
  width: 40px; height: 40px; padding: 0 !important;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff !important;
  background: rgba(14, 14, 16, .45);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
.fx-nav-admin .nav-link:hover, .fx-nav-admin .nav-link:focus-visible { color: #111 !important; background: #ff9902; border-color: #ff9902; transform: rotate(-8deg); }
@media (max-width: 991.98px) { .fx-nav-admin { display: none; } }

/* ==========================================================================
   Пора року у фоні шапки (js/sh-fx.js → seasonMenus): комп'ютер і телефон; у відкритому меню — ні.
   ========================================================================== */
.custom-navbar > .container { position: relative; z-index: 1; }
.fx-sfx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity .3s ease; }
.fx-open .custom-navbar > .fx-sfx { opacity: 0; }

/* ==========================================================================
   Сторінка товару: блок «Опис» (генерує shop-admin → lib/render.js). JS — js/sh-fx.js → descBlock():
   слова «проявляються» під час прокрутки, довгий текст на телефоні згортається.
   ========================================================================== */
.fx-desc { padding: 3.5rem 0; background: #f8f9fa; }
.fx-desc__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
  padding: 44px 48px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35);
}
.fx-desc__title { margin: 0 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: #111; }
.fx-desc__model { margin: 0 0 26px; font-size: 1.05rem; color: #ff9902; letter-spacing: .03em; }
.fx-desc__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fx-desc__facts li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: #52525b; line-height: 1.35; }
.fx-desc__facts i {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 1.05rem;
  color: #ff9902;
  background: #111;
}
.fx-desc__facts b { display: block; color: #111; font-weight: 600; }
.fx-desc__text { position: relative; align-self: center; padding-left: 28px; border-left: 3px solid #ff9902; }
.fx-desc__text p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.75; color: #3f3f46; }
.fx-desc__text p:last-child { margin-bottom: 0; }
.fx-desc__text .fx-desc__lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.6; color: #18181b; }
/* Слова, що «проявляються» (клас і --k задає JS) */
.fx-desc__text.fx-words .w { color: #c4c4c9; transition: color .35s ease; }
.fx-desc__text.fx-words .w.on { color: inherit; }
/* Згортання довгого тексту */
.fx-desc__text.is-clamped { max-height: var(--fx-clamp, 260px); overflow: hidden; }
.fx-desc__text.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.fx-desc__more {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  font: 600 .95rem var(--fx-font-text, sans-serif);
  color: #111;
  background: #fff;
  cursor: pointer;
}
.fx-desc__more i { transition: transform .3s ease; }
.fx-desc__more[aria-expanded="true"] i { transform: rotate(180deg); }

@media (max-width: 991.98px) {
  .fx-desc__card { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .fx-desc__facts { grid-template-columns: repeat(2, 1fr); }
  .fx-desc__facts li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; background: #f8f9fa; }
}
@media (max-width: 575.98px) {
  .fx-desc { padding: 2rem 0; }
  .fx-desc__card { padding: 24px 18px; border-radius: 22px; gap: 22px; }
  .fx-desc__model { margin-bottom: 18px; }
  .fx-desc__facts { gap: 8px; }
  .fx-desc__facts li { padding: 12px 10px; font-size: .82rem; gap: 8px; }
  .fx-desc__facts i { width: 34px; height: 34px; font-size: .95rem; }
  .fx-desc__text { padding-left: 16px; }
  .fx-desc__text p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .fx-desc__text.fx-words .w { color: inherit; transition: none; } }

/* Фон «Відеоогляди»: фірмовий тактичний (img/bg-brand.svg — соти-кевлар, помаранчеве світіння; генератор
   deploy/make-tactical-bg.js). Векторний: чіткий на будь-якому екрані, 2 КБ замість растрового 1800×600. */
.section-video { background: #08080a url("../img/bg-brand.svg") center / cover no-repeat; }
/* Картка завжди на всю ширину слайда (раніше Shorts стискалась до ширини заглушки прев'ю 120px) */
.video-swiper .video-card { width: 100%; }

/* ---------- «Дізнайтесь більше»: тактичний вигляд фото — приціл/HUD, трафаретний шеврон, бейдж зі зрізаними кутами ---------- */
.fx-ab__media { margin: 0 !important; }
.fx-ab__frame { border-radius: 6px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.fx-ab__frame img { filter: grayscale(.35) contrast(1.12) brightness(.92) sepia(.12); }
.fx-ab__frame::after { background: linear-gradient(180deg, rgba(0, 0, 0, .15), transparent 30%, transparent 55%, rgba(0, 0, 0, .55)); }
.fx-ab__hud { position: absolute; inset: 0; z-index: 1; pointer-events: none; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .14em; color: rgba(255, 255, 255, .85); }
/* сітка прицілу */
.fx-ab__hud::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; background-position: center; }
/* кути-скоби */
.fx-ab__hud .c { position: absolute; width: 34px; height: 34px; border: 0 solid #ff9902; }
.fx-ab__hud .tl { left: 16px; top: 16px; border-width: 2px 0 0 2px; }
.fx-ab__hud .tr { right: 40px; top: 16px; border-width: 2px 2px 0 0; }
.fx-ab__hud .bl { left: 40px; bottom: 16px; border-width: 0 0 2px 2px; }
.fx-ab__hud .br { right: 16px; bottom: 16px; border-width: 0 2px 2px 0; }
.fx-ab__hud .rec { position: absolute; left: 60px; top: 26px; display: flex; align-items: center; gap: 7px; }
.fx-ab__hud .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; animation: fx-rec 1.4s steps(2, jump-none) infinite; }
.fx-ab__hud .tag { position: absolute; right: 60px; bottom: 26px; color: #ff9902; }
/* перехрестя по центру */
.fx-ab__hud .cross { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.fx-ab__hud .cross::before, .fx-ab__hud .cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .55); }
.fx-ab__hud .cross::before { left: 50%; top: -10px; bottom: -10px; width: 1px; }
.fx-ab__hud .cross::after { top: 50%; left: -10px; right: -10px; height: 1px; }
/* лінія сканування */
.fx-ab__hud .scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(255, 153, 2, .14), transparent); animation: fx-scan 4.5s linear infinite; }
@keyframes fx-scan { from { top: -60px; } to { top: 100%; } }
@keyframes fx-rec { 50% { opacity: .15; } }

/* шеврон замість круглої печатки: восьмикутник, трафаретний напис */
.fx-ab__seal { border-radius: 0; background: #1a1c16; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: none; outline: none; }
.fx-ab__seal::before { content: ""; position: absolute; inset: 6px; clip-path: inherit; border: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 4px, transparent 4px 8px); }
.fx-ab__seal text { font-family: var(--fx-font-model, sans-serif); fill: #c9c3a8; letter-spacing: .12em; }
.fx-ab__seal i { border-radius: 4px; background: #ff9902; transform: rotate(45deg); }
.fx-ab__seal i::before { display: inline-block; transform: rotate(-45deg); }

/* бейдж зі зрізаними кутами */
.fx-ab__badge { left: 24px; bottom: 26px; z-index: 2; border-radius: 0; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); background: rgba(12, 12, 14, .78); border: 0; border-left: 3px solid #ff9902; }
.fx-ab__badge b { font-family: var(--fx-font-model, sans-serif); letter-spacing: .06em; font-weight: 400; }
.fx-ab__badge span { font: 600 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.fx-ab__badge i { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

@media (max-width: 575.98px) {
  .fx-ab__frame { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
  .fx-ab__hud { font-size: 9px; }
  .fx-ab__hud::before { background-size: 32px 32px; }
  .fx-ab__hud .c { width: 22px; height: 22px; }
  .fx-ab__hud .tl { left: 10px; top: 10px; } .fx-ab__hud .tr { right: 26px; top: 10px; }
  .fx-ab__hud .bl { left: 26px; bottom: 10px; } .fx-ab__hud .br { right: 10px; bottom: 10px; }
  .fx-ab__hud .rec { left: 40px; top: 17px; } .fx-ab__hud .tag { right: 40px; bottom: 17px; display: none; }
  .fx-ab__hud .cross { width: 32px; height: 32px; }
  .fx-ab__badge { left: 14px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .fx-ab__hud .scan, .fx-ab__hud .rec::before { animation: none; } }

/* «Про нас»: фото майстерні в тому ж тактичному стилі (HUD і шеврон — ті самі класи, що на головній) */
.fx-about__media { position: relative; }
.fx-about__photo { border-radius: 6px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.fx-about__photo img { filter: grayscale(.35) contrast(1.12) brightness(.92) sepia(.12); }
.fx-about__photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .15), transparent 30%, transparent 55%, rgba(0, 0, 0, .5)); pointer-events: none; }
.fx-about__photo .fx-ab__hud { z-index: 2; }
.fx-about__media .fx-ab__seal { top: -22px; right: -18px; }
@media (max-width: 575.98px) {
  .fx-about__photo { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
  .fx-about__media .fx-ab__seal { width: 84px; height: 84px; top: -16px; right: -6px; }
}
.fx-about__media .fx-ab__seal svg { animation: fx-seal-spin 30s linear infinite; }
@keyframes fx-seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fx-about__media .fx-ab__seal svg { animation: none; } }

/* Верх «Про нас»: той самий фірмовий тактичний фон, що в блоці «Відеоогляди» */
.fx-doc-hero--brand { background: #08080a url("../img/bg-brand.svg") center / cover no-repeat; }
.fx-doc-hero--brand::before { display: none; }

/* 3D-вітрина: картки в тактичному стилі — зрізані кути (як фото «Дізнайтесь більше») і помаранчеві скоби прицілу */
.fx-ring__item {
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.fx-ring__item::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(#ff9902, #ff9902) left top / 22px 2px,
    linear-gradient(#ff9902, #ff9902) left top / 2px 22px,
    linear-gradient(#ff9902, #ff9902) right bottom / 22px 2px,
    linear-gradient(#ff9902, #ff9902) right bottom / 2px 22px;
  background-repeat: no-repeat;
}
.fx-ring__item span { z-index: 1; }
@media (max-width: 575.98px) {
  .fx-ring__item { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
  .fx-ring__item::before { inset: 8px; background-size: 16px 2px, 2px 16px, 16px 2px, 2px 16px; }
}

/* Кнопка «Перейти до каталогу»: зрізані кути в тактичному стилі; світіння — через обгортку (clip-path обрізав би тінь) */
.fx-cta-wrap { display: inline-flex; filter: drop-shadow(0 12px 22px rgba(255, 153, 0, .55)); animation: fx-cta-wrap-glow 2.6s ease-in-out infinite; }
@keyframes fx-cta-wrap-glow { 50% { filter: drop-shadow(0 14px 30px rgba(255, 153, 0, .9)); } }
.fx-cta-wrap .fx-cta {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: none !important;
  animation: none;
  letter-spacing: .06em;
}
@media (prefers-reduced-motion: reduce) { .fx-cta-wrap { animation: none; } }

/* Кнопка «Перейти до каталогу» — мінімалізм: однотонна, зрізані кути, тонке «дно» знизу, вдавлюється при натисканні */
.fx-cta-wrap { position: relative; padding-bottom: 4px; filter: none; animation: none; }
.fx-cta-wrap::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 4px; bottom: 0;
  background: #b35f00;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.fx-cta-wrap .fx-cta {
  position: relative;
  background: #ff9902 !important;
  transform: translateY(var(--press, 0px));
  transition: transform .15s ease, background-color .2s ease;
}
.fx-cta-wrap:hover { --press: 1px; }
.fx-cta-wrap:active { --press: 4px; }
/* підсвітка, що постійно пробігає всередині кнопки */
.fx-cta-wrap .fx-cta { overflow: hidden; isolation: isolate; }
.fx-cta-wrap .fx-cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  animation: fx-cta-shine 2.8s ease-in-out infinite;
}
@keyframes fx-cta-shine { 0%, 45% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .fx-cta-wrap .fx-cta::after { animation: none; display: none; } }

/* Телефон: «Потрібна допомога?» — без картки, на фоні секції #f4f3ef: темний текст, світлі поля */
@media (max-width: 767.98px) {
  .fx-help {
    margin-top: 20px;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    color: #111;
  }
  .fx-help__title { font-size: 1.7rem; color: #111; }
  .fx-help__lead { color: #52525b; }
  .fx-help__f label { color: #71717a; }
  .fx-help__f input { color: #111 !important; background: #fff !important; border-color: rgba(0, 0, 0, .12) !important; }
  .fx-help__f input::placeholder { color: #a1a1aa; }
  .fx-help__or { color: #a1a1aa; }
  .fx-help__or::before, .fx-help__or::after { background: rgba(0, 0, 0, .12) !important; }
  .fx-help__tg { color: #fff !important; background: #229ed9 !important; border-color: #229ed9 !important; }
}
/* «FEATURED PRODUCTS»: пагінація під слайдером (не поверх карток) */
.featured-swiper { padding-bottom: 36px; }
.featured-swiper .swiper-pagination { bottom: 0 !important; }

/* Каталог: пагінація відео зверху — тактичні сегменти (скошені смужки), активний заповнюється помаранчевим за час слайда */
.catalog-header .swiper-pagination { gap: 8px !important; bottom: 18px !important; align-items: center; }
.catalog-header .swiper-pagination-bullets .swiper-pagination-bullet {
  width: 34px !important; height: 5px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: skewX(-24deg) !important;
  background: rgba(255, 255, 255, .28) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .45) !important;
  overflow: hidden;
  opacity: 1;
  transition: width .35s ease, background-color .25s ease !important;
}
.catalog-header .swiper-pagination-bullets .swiper-pagination-bullet:hover { background: rgba(255, 255, 255, .5) !important; }
.catalog-header .swiper-pagination-bullets .swiper-pagination-bullet-active { width: 58px !important; background: rgba(255, 255, 255, .22) !important; }
/* заливка активного сегмента = прогрес слайда */
.catalog-header .swiper-pagination-bullets .swiper-pagination-bullet::after {
  content: ""; position: absolute !important; inset: 0 !important;
  border-radius: 0 !important; -webkit-mask: none !important; mask: none !important;
  background: #ff9902 !important;
  transform-origin: 0 50%; transform: scaleX(0);
  opacity: 1 !important;
}
/* заливка = частка відтвореного ролика (--seg задає скрипт у catalog.html за currentTime) */
.catalog-header .swiper-pagination-bullets .swiper-pagination-bullet-active::after {
  animation: none !important;
  transform: scaleX(var(--seg, 0));
  transition: transform .25s linear;
}
@keyframes fx-seg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .catalog-header .swiper-pagination-bullets .swiper-pagination-bullet-active::after { animation: none !important; transform: scaleX(1); }
}

/* Каталог: відео зверху — темна маска від верху до прозорості. Маска — найнижчий шар над самим відео
   (всередині слайда); пагінація, шапка, меню й листя — поверх неї. */
.catalog-header::before { display: none !important; }
.catalog-header .swiper-slide { position: relative; }
.catalog-header .swiper-slide::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 10, .85) 0%, rgba(8, 8, 10, .45) 45%, rgba(8, 8, 10, 0) 100%);
}
.catalog-header .swiper-pagination { z-index: 5 !important; }

/* ==========================================================================
   Шапка на комп'ютері — тактичний стиль: темна панель з помаранчевою лінією, пункти меню з кутами-скобами,
   телефон і вхід в адмінку — зі зрізаними кутами.
   ========================================================================== */
@media (min-width: 992px) {
  /* однакова висота шапки до й після прокрутки — нічого не «смикається», змінюється лише фон */
  .custom-navbar, .custom-navbar.fx-scrolled { padding: .45rem 0 !important; transition: background-color .35s ease, box-shadow .35s ease !important; }
  /* тактичний фон шапки: фірмові соти-кевлар (img/bg-brand.svg) на майже чорному */
  .custom-navbar.fx-scrolled {
    background: rgba(8, 8, 10, .94) url("../img/bg-brand.svg") center / cover no-repeat !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9);
  }
  .custom-navbar.fx-scrolled::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 2, .75) 20%, rgba(255, 153, 2, .75) 80%, transparent);
    pointer-events: none;
  }
  .custom-navbar .navbar-nav { align-items: center; gap: 6px; }
  .custom-navbar .navbar-nav .nav-link {
    position: relative;
    padding: 8px 16px !important;
    font-family: var(--fx-font-head, sans-serif);
    font-weight: 400 !important;
    font-size: .82rem;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .88) !important;
    transition: color .2s ease;
  }
  /* кути-скоби при наведенні, як приціл */
  .custom-navbar .navbar-nav .nav-link::before,
  .custom-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 8px; height: 8px;
    border: 0 solid #ff9902;
    opacity: 0;
    transition: opacity .2s ease, transform .25s ease;
  }
  .custom-navbar .navbar-nav .nav-link::before { left: 2px; top: 2px; border-width: 2px 0 0 2px; transform: translate(4px, 4px); }
  .custom-navbar .navbar-nav .nav-link::after { right: 2px; bottom: 2px; border-width: 0 2px 2px 0; transform: translate(-4px, -4px); }
  .custom-navbar .navbar-nav .nav-link:hover { color: #ff9902 !important; }
  .custom-navbar .navbar-nav .nav-link:hover::before,
  .custom-navbar .navbar-nav .nav-link:hover::after { opacity: 1; transform: none; }
  /* телефон — плашка зі зрізаними кутами */
  .custom-navbar .navbar-nav .nav-link[href^="tel:"] {
    margin-left: 6px;
    color: #111 !important;
    background: #ff9902;
    letter-spacing: .06em;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .custom-navbar .navbar-nav .nav-link[href^="tel:"]::before,
  .custom-navbar .navbar-nav .nav-link[href^="tel:"]::after { display: none; }
  .custom-navbar .navbar-nav .nav-link[href^="tel:"]:hover { color: #111 !important; background: #ffb13d; }
  /* вхід в адмінку — лише іконка щита, без фону й ефектів */
  /* селектор сильніший за загальне правило пунктів меню (padding 8px 16px) — інакше при наведенні відступ змінювався й щит «смикався» */
  .custom-navbar .navbar-nav .fx-nav-admin .nav-link,
  .custom-navbar .navbar-nav .fx-nav-admin .nav-link:hover,
  .custom-navbar .navbar-nav .fx-nav-admin .nav-link:focus-visible {
    width: 40px !important; height: 40px !important;
    padding: 0 !important;
    display: grid !important; place-items: center;
    line-height: 1 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important; /* старе розмиття під іконкою давало «квадрат» */
    outline: none;
    box-shadow: none !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
    color: rgba(255, 255, 255, .85) !important;
  }
  .custom-navbar .navbar-nav .fx-nav-admin .nav-link::before, .custom-navbar .navbar-nav .fx-nav-admin .nav-link::after { display: none !important; }
  .fx-nav-admin { display: flex; align-items: center; align-self: center; margin-left: 4px; }
  .fx-nav-admin .nav-link svg { display: block; width: 20px; height: 20px; }
}


/* Каталог: заголовок під відео — тактичний стиль (маркування, трафаретна плашка SH-TAC зі зрізаними кутами) */
.fx-cat-head { position: relative; padding: 40px 12px 28px; text-align: center; }
.fx-cat-head__eyebrow {
  margin: 0 0 12px;
  font: 600 12px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .32em;
  color: #ff9902;
}
.fx-cat-head .h1-catalog {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px;
  margin: 0;
  padding: 0;
  font-family: var(--fx-font-head, sans-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.6rem) !important;
  line-height: 1.1;
  text-transform: uppercase;
  color: #111;
}
.fx-cat-head__tag {
  position: relative;
  display: inline-block;
  padding: 6px 28px 6px 34px;
  font-family: var(--fx-font-model, sans-serif);
  font-weight: 400;
  color: #fff;
  background: #111;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
/* помаранчева смуга ліворуч, як маркування на спорядженні */
.fx-cat-head__tag::before { content: ""; position: absolute; left: 12px; top: 22%; bottom: 22%; width: 5px; background: #ff9902; }
.fx-cat-head .lead {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 16px;
  font-size: 1.05rem;
  color: #52525b;
}
.fx-cat-head .lead::before, .fx-cat-head .lead::after { content: ""; width: 34px; height: 2px; background: #ff9902; }
@media (max-width: 575.98px) {
  .fx-cat-head { padding: 28px 12px 20px; }
  .fx-cat-head__eyebrow { font-size: 10px; letter-spacing: .2em; }
  .fx-cat-head .lead { font-size: .95rem; gap: 10px; }
  .fx-cat-head .lead { display: block; }
  .fx-cat-head .lead::before, .fx-cat-head .lead::after { display: none; }
}

/* Каталог: «Тактичні сумки SH-TAC» — тактичний стиль: логотип у кутах-скобах прицілу, заголовок із помаранчевим маркуванням */
.section-title-inline { gap: 22px !important; padding: 26px 0 6px; }
.section-title-photo { position: relative; padding: 8px 12px; }
.section-title-photo::before, .section-title-photo::after {
  content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid #ff9902; pointer-events: none;
}
.section-title-photo::before { left: 0; top: 0; border-width: 2px 0 0 2px; }
.section-title-photo::after { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.section-title-inline h2 {
  position: relative;
  padding: 0 0 12px 18px;
  font-family: var(--fx-font-head, sans-serif);
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #111;
}
/* вертикальна помаранчева смуга ліворуч */
.section-title-inline h2::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 30%; width: 5px; background: #ff9902; }
/* сегментована лінія знизу, як шкала на спорядженні */
.section-title-inline h2::after {
  content: ""; position: absolute; left: 18px; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(90deg, #111 0 22px, transparent 22px 28px);
  -webkit-mask: linear-gradient(90deg, #000 60%, transparent);
  mask: linear-gradient(90deg, #000 60%, transparent);
}
@media (max-width: 575.98px) {
  .section-title-inline { gap: 12px !important; padding-top: 18px; }
  .section-title-inline h2 { font-size: 1.35rem; padding: 0 0 10px 14px; }
  .section-title-inline h2::before { width: 4px; }
  .section-title-inline h2::after { left: 14px; }
}

/* ==========================================================================
   Хлібні крихти (каталог і сторінки товарів) — тактична навігаційна плашка:
   чорна пластина зі зрізаними кутами, «попереджувальний» маркер, трафаретна поточна сторінка,
   за плашкою — лінія з поділками й маркування сектора праворуч.
   ========================================================================== */
.bc-hero { height: auto !important; margin: 18px 0 !important; overflow: visible; }
.bc-bg { inset: 0 !important; max-width: none !important; background: none !important; }
/* Прицільна сітка: крихти в кутах-скобах прицілу, маркер — перехрестя з кільцем, далі — лінія з мілдотами */
.bc-bg::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 7px; transform: translateY(-50%);
  background:
    linear-gradient(#111, #111) left center / 100% 1px no-repeat,
    radial-gradient(circle, #111 1.6px, transparent 2px) left center / 22px 7px repeat-x;
  -webkit-mask: linear-gradient(90deg, #000 20%, transparent 75%);
  mask: linear-gradient(90deg, #000 20%, transparent 75%);
}
.bc-container { position: relative; z-index: 1; padding: 0 !important; }
.bc-list {
  display: inline-flex !important; align-items: center;
  gap: 12px !important;
  margin: 0 !important;
  padding: 10px 20px 10px 14px !important;
  font-size: 1rem !important;
  background:
    linear-gradient(#ff9902, #ff9902) left top / 12px 2px,
    linear-gradient(#ff9902, #ff9902) left top / 2px 12px,
    linear-gradient(#ff9902, #ff9902) right top / 12px 2px,
    linear-gradient(#ff9902, #ff9902) right top / 2px 12px,
    linear-gradient(#ff9902, #ff9902) left bottom / 12px 2px,
    linear-gradient(#ff9902, #ff9902) left bottom / 2px 12px,
    linear-gradient(#ff9902, #ff9902) right bottom / 12px 2px,
    linear-gradient(#ff9902, #ff9902) right bottom / 2px 12px,
    #fff;
  background-repeat: no-repeat;
}
/* іконка-приціл перед «Головна»: тонке кільце, чотири риски з розривом у центрі, помаранчева точка */
.bc-list::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23111' stroke-width='1.6'><circle cx='10' cy='10' r='6.5'/><path d='M10 0.8v5M10 14.2v5M0.8 10h5M14.2 10h5'/><circle cx='10' cy='10' r='1.8' fill='%23ff9902' stroke='none'/></svg>") center / contain no-repeat;
}
.bc-item { background: none !important; }
.bc-link, .bc-current { padding: 0 !important; background: none !important; text-transform: uppercase; white-space: nowrap; }
.bc-link {
  font: 700 .8rem/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace !important;
  letter-spacing: .2em !important;
  color: #52525b !important;
}
.bc-link:hover { color: #111 !important; text-decoration: none !important; }
.bc-current {
  font-family: var(--fx-font-model, sans-serif) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
  letter-spacing: .04em !important;
  color: #ff9902 !important;
}
.bc-sep { font-size: 0 !important; color: transparent; }
.bc-sep::after { content: "//"; font: 700 .8rem/1 ui-monospace, Menlo, monospace; color: #a1a1aa; }
@media (max-width: 767.98px) {
  .bc-list { padding: 8px 16px 8px 10px !important; gap: 9px !important; max-width: 100%; }
  .bc-list::before { width: 15px; height: 15px; }
  .bc-link { font-size: .7rem !important; letter-spacing: .14em !important; }
  .bc-current { font-size: .85rem !important; white-space: normal; }
}


/* Телефон, сторінки з крихтами без шапки (товари): крихти на рівні кнопки меню — без зайвого відступу зверху */
@media (max-width: 767.98px) {
  html.fx-has-fab body:has(.bc-hero) { padding-top: 14px; }
  html.fx-has-fab .bc-hero { margin: 0 0 6px !important; min-height: 56px; display: flex; align-items: center; }
  html.fx-has-fab .bc-list { max-width: calc(100% - 70px); } /* не заходить під кнопку меню праворуч */
  html.fx-has-fab nav[aria-label="breadcrumb"].py-2 { padding-top: 0 !important; }
}

/* Сторінка товару: переваги — тактичні номери 01, 02 … замість галочок (порядок — як у адмінці) */
.fx-feat { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: feat; display: grid; gap: 10px; }
.fx-feat li {
  counter-increment: feat;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; line-height: 1.35; color: #18181b;
}
.fx-feat li::before {
  content: counter(feat, decimal-leading-zero);
  flex: none;
  min-width: 38px;
  padding: 4px 8px 4px 9px;
  font-family: var(--fx-font-model, sans-serif);
  font-size: .85rem;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  color: #fff;
  background: rgba(14, 14, 16, .6); /* як лічильник фото «01 / 04» */
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); /* два зрізані кути */
}

/* Сторінка товару: H1 під пошук — текст фірмовим шрифтом, назва моделі трафаретом */
.fx-h1 { font-family: var(--fx-font-head, sans-serif); font-weight: 400 !important; text-transform: uppercase; line-height: 1.15; font-size: clamp(1.35rem, 3.2vw, 2rem) !important; }
.fx-h1 .fx-model { color: #ff9902; }

/* Каталог: заголовки карток під пошук — назва моделі переноситься, а не обрізається */
.product-card h6 .fx-model { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; display: inline; word-break: normal; overflow-wrap: anywhere; }
.product-card h6 { overflow: visible !important; -webkit-line-clamp: unset !important; }

/* Сторінка товару: розміри сумки — плитки в тактичній рамці (кутики як у «хлібних крихтах») */
.fx-dims { position: relative; margin: 4px 0 18px; padding: 12px 14px 14px; border: 1px solid #e4e4e7; border-radius: 4px; }
.fx-dims::before, .fx-dims::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #ff9902; pointer-events: none; }
.fx-dims::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.fx-dims::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.fx-dims__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #52525b; }
.fx-dims__head i { font-size: 1rem; color: #ff9902; }
.fx-dims__grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 8px; }
.fx-dims__item { position: relative; padding: 8px 10px 9px; border-radius: 10px; background: #f4f3ef; }
.fx-dims__item + .fx-dims__item::before { content: "×"; position: absolute; left: -7px; top: 50%; transform: translate(-50%, -50%); font-size: .8rem; color: #a1a1aa; }
.fx-dims dt { margin: 0 0 2px; font-size: .72rem; font-weight: 600; color: #71717a; }
.fx-dims dd { margin: 0; font-family: var(--fx-font-head, sans-serif); font-weight: 400; font-size: 1.35rem; line-height: 1; color: #111; white-space: nowrap; }
.fx-dims dd small { margin-left: 4px; font-family: var(--fx-font-text, sans-serif); font-size: .72rem; font-weight: 600; color: #71717a; }

/* Сторінка товару: гарантії біля ціни */
.fx-trust { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fx-trust li { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #f4f3ef; font-size: .8rem; line-height: 1.25; color: #52525b; }
.fx-trust i { flex: none; font-size: 1.1rem; color: #ff9902; }
.fx-trust b { display: block; color: #111; font-weight: 700; }

/* Телефон: закріплена панель «ціна + Замовити» */
.fx-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 12, 14, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .8);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.fx-buybar.is-on { transform: none; }
.fx-buybar__info { flex: 1; min-width: 0; display: grid; }
.fx-buybar__name { font-family: var(--fx-font-model, sans-serif); font-size: .8rem; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-buybar__price { font-family: var(--fx-font-head, sans-serif); font-weight: 400; font-size: 1.15rem; color: #fff; }
.fx-buybar__btn { flex: none; height: 48px; padding: 0 26px; border: 0; border-radius: 14px; font: 700 1rem var(--fx-font-text, sans-serif); color: #111; background: #ff9902; }
/* кнопка дзвінка не перекривається панеллю */
html.fx-has-buybar .call-button { bottom: 86px !important; }
@media (min-width: 768px) { .fx-buybar { display: none; } }
@media (max-width: 380px) { .fx-trust { grid-template-columns: 1fr; } }
