/* робимо ліву колонку липкою */
.sticky-left {
  position: -webkit-sticky;
  position: sticky;
  top: 0;              /* за потреби постав 20-30px або врахуй висоту хедера */
}

/* якщо є фіксований хедер — задай відступ зверху */
:root { --header-h: 0px; } /* зміни на фактичну висоту хедера, напр. 80px */
.sticky-left { top: calc(var(--header-h) + 16px); }

/* важливо: не дозволяємо батькам обрізати sticky */
.sticky-left,
.sticky-left .elementor-widget-wrap,
.sticky-left .elementor-widget,
.elementor-section {
  overflow: visible !important;
}

/* на мобільних зазвичай sticky вимикають, щоб не заважало */
@media (max-width: 767px) {
  .sticky-left {
    position: static;
    top: auto;
  }
}

@font-face {
  font-family: 'GothamPro';
  src: url('/wp-content/themes/vibratex/assets/fonts/GothamPro-Regular.woff2') format('woff2'),
       url('/wp-content/themes/vibratex/assets/fonts/GothamPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamPro';
  src: url('/wp-content/themes/vibratex/assets/fonts/GothamPro-Bold.woff2') format('woff2'),
       url('/wp-content/themes/vibratex/assets/fonts/GothamPro-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'GothamPro', sans-serif;
}

/* ====== Секція з текстом внизу головної ====== */

/* Базові стилі секції */
section.lyu-home-info-content {
  max-width: 960px;
  margin: 60px auto 80px;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #f5f5f5;
}

/* Заголовок "Секс-шоп в Україні" */
section.lyu-home-info-content .lte-header {
  font-size: 40px !important;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

/* Підзаголовки в тексті */
section.lyu-home-info-content h2 {
  font-size: 26px !important;
  line-height: 1.3;
  margin: 28px 0 14px;
}

/* Текст і списки компактніше */
section.lyu-home-info-content p {
  margin-bottom: 10px;
}

section.lyu-home-info-content li {
  margin-bottom: 6px;
}

/* ----- ЗГОРНУТИЙ СТАН ----- */

/* сам довгий текстовий блок */
section.lyu-home-info-content .elementor-widget-text-editor .elementor-widget-container {
  transition: max-height 0.35s ease;
}

/* коли секція має клас is-collapsed — обрізаємо текст */
section.lyu-home-info-content.is-collapsed
  .elementor-widget-text-editor
  .elementor-widget-container {
  max-height: 260px !important; /* висота в "скороченому" режимі */
  overflow: hidden !important;
  position: relative;
}

/* градієнт внизу, щоб було видно продовження */
section.lyu-home-info-content.is-collapsed
  .elementor-widget-text-editor
  .elementor-widget-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #111111); /* під фон */
}

/* Кнопка "Читати повністю" */
section.lyu-home-info-content .lyu-home-info-toggle {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #ff2e57;
  background: transparent;
  color: #ff2e57;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

section.lyu-home-info-content .lyu-home-info-toggle:hover {
  background: #ff2e57;
  color: #ffffff;
}

/* ====== Ряд карток на головній ====== */
.lyu-cat-section {
  max-width: 1200px;
  margin: 40px auto 80px; /* трохи ближче до слайдера */
}

/* Контейнер Elementor всередині секції — робимо flex-ряд */
.lyu-cat-section .elementor-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;               /* відстань між картками */
  align-items: stretch;
}

/* На десктопі — завжди 3 колонки по 33.33% */
@media (min-width: 1025px) {
  .lyu-cat-section .elementor-column {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  /* щоб карта займала всю висоту колонки */
  .lyu-cat-section .elementor-column > .elementor-widget-wrap {
    height: 100%;
  }
}

/* === Картка категорії === */
.lyu-cat-section .lyu-cat-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 320px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  background: linear-gradient(145deg, #ff007a 0%, #7a00ff 100%);
  filter: grayscale(0.2);      /* легкий фейд як у конкурентів */
}

/* Індивідуальні градієнти для різних колонок */
.lyu-cat-card.lyu-cat-her {
  background: linear-gradient(145deg, #ff2a9d 0%, #8f00ff 100%);
}

.lyu-cat-card.lyu-cat-him {
  background: linear-gradient(145deg, #a500ff 0%, #0038ff 100%);
  filter: grayscale(0.85);
}

.lyu-cat-card.lyu-cat-couple {
  background: linear-gradient(145deg, #ff00a1 0%, #ff5500 100%);
}

/* Затемнюючий градієнт, щоб текст завжди читався */
.lyu-cat-section .lyu-cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

/* «Сяйво» під карткою */
.lyu-cat-section .lyu-cat-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.4) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Контент над оверлеями */
.lyu-cat-section .lyu-cat-card > .elementor-widget-wrap {
  position: relative;
  z-index: 1;
}

/* Ховер: піднімаємо картку, повертаємо колір */
.lyu-cat-section .lyu-cat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
  filter: grayscale(0);
}

/* Заголовок */
.lyu-cat-section .lyu-cat-card h2,
.lyu-cat-section .lyu-cat-card .elementor-heading-title {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 16px;
}

/* Опис */
.lyu-cat-section .lyu-cat-card .elementor-text-editor {
  font-size: 16px;
  line-height: 1.5;
  max-width: 90%;
  margin-bottom: 22px;
}

/* Кнопка "Перейти" */
.lyu-cat-section .lyu-cat-card .elementor-button {
  border-radius: 999px;
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Стрілочка в кнопці */
.lyu-cat-section .lyu-cat-card .elementor-button::after {
  content: "↗";
  font-size: 14px;
}

/* Ховер по кнопці */
.lyu-cat-section .lyu-cat-card .elementor-button:hover {
  background: #ffffff;
  color: #111111;
}

/* --- Адаптив --- */
@media (max-width: 1024px) {
  .lyu-cat-section .elementor-container {
    gap: 24px;
  }

  .lyu-cat-section .lyu-cat-card {
    min-height: 280px;
  }

  .lyu-cat-section .lyu-cat-card h2,
  .lyu-cat-section .lyu-cat-card .elementor-heading-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .lyu-cat-section {
    margin: 40px auto 60px;
  }

  .lyu-cat-section .elementor-container {
    flex-direction: column;
    gap: 20px;
  }

  .lyu-cat-section .lyu-cat-card {
    min-height: 260px;
    padding: 22px 20px 26px;
  }

  .lyu-cat-section .lyu-cat-card h2,
  .lyu-cat-section .lyu-cat-card .elementor-heading-title {
    font-size: 26px;
  }

  .lyu-cat-section .lyu-cat-card .elementor-text-editor {
    font-size: 14px;
    max-width: 100%;
  }
}

/* 3 картки в один ряд на десктопі */
@media (min-width: 1025px) {
  .lyu-cat-section .elementor-container {
    display: flex;
    flex-wrap: nowrap;          /* не переносимо */
    gap: 32px;
  }

  .lyu-cat-section .elementor-column {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    width: auto !important;     /* перебиваємо inline-ширини Elementor */
  }

  /* щоб картка розтягувалась на всю висоту колонки */
  .lyu-cat-section .elementor-column > .elementor-widget-wrap {
    height: 100%;
  }
}

/* ===== Hero Zoom Slider як велика картка ===== */
.lyu-hero-slider {
  max-width: 1200px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  transition: box-shadow 0.35s ease;  /* без зсуву */
}

/* заокруглення для всього в середині */
.lyu-hero-slider .elementor-widget,
.lyu-hero-slider .elementor-widget-container,
.lyu-hero-slider .zoom-slider,
.lyu-hero-slider .zoom-slider__slides,
.lyu-hero-slider img {
  border-radius: inherit;
  overflow: hidden;
}

/* легке затемнення для гармонії з фоном */
.lyu-hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
  mix-blend-mode: soft-light;
}

/* ефект при наведенні — без руху */
@media (min-width: 1025px) {
  .lyu-hero-slider:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
  }
}

/* ====== Грід іконок категорій (LYUBOSHCHI Neon Style) ====== */
.lyu-icon-grid {
  width: 100%;
  margin: 40px auto 70px;
}

/* однакова висота всіх карток */
.lyu-icon-grid .lte-block-icon .lte-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 26px 20px 24px;
  border-radius: 26px;
  background: linear-gradient(160deg, #1a001a 0%, #240028 100%);
  box-shadow: 0 0 25px rgba(255, 0, 100, 0.15);
  min-height: 260px;
  overflow: hidden;
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 0, 150, 0.15);
}

/* ефект при наведенні */
.lyu-icon-grid .lte-block-icon .lte-inner:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 45px rgba(255, 0, 150, 0.35),
              0 0 90px rgba(255, 0, 200, 0.15);
  border-color: rgba(255, 0, 150, 0.4);
}

/* прибираємо стандартні точки списку */
.lyu-icon-grid .lte-block-icon {
  margin: 0;
  padding: 0;
}
.lyu-icon-grid .lte-block-icon li {
  list-style: none;
}

/* неоновий ореол під іконкою */
.lyu-icon-grid .lte-block-icon .lte-inner::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 130px;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(255, 0, 150, 0.3) 0%, rgba(255, 0, 150, 0.05) 80%);
  z-index: 0;
  transition: opacity 0.35s ease;
}
.lyu-icon-grid .lte-block-icon .lte-inner:hover::before {
  opacity: 1;
  background: radial-gradient(circle at center, rgba(255, 0, 150, 0.45) 0%, rgba(255, 0, 150, 0.1) 80%);
}

/* іконка */
.lyu-icon-grid .lte-block-icon .image {
  position: relative;
  z-index: 1;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  display: block;
  margin: 6px auto 18px;
  filter: drop-shadow(0 0 12px rgba(255, 0, 150, 0.4));
  transition: all 0.3s ease;
}

.lyu-icon-grid .lte-block-icon .lte-inner:hover .image {
  filter: drop-shadow(0 0 22px rgba(255, 0, 180, 0.6));
  transform: scale(1.05);
}

/* назва категорії */
.lyu-icon-grid .lte-block-icon .lte-icon-content .lte-header {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  z-index: 1;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 0, 150, 0.4);
}

/* усі колонки однакові по висоті */
.lyu-icon-grid .elementor-column .elementor-widget-wrap {
  height: 100%;
}

/* анімація неонового пульсу */
@keyframes lyuNeonPulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255, 0, 120, 0.2);
  }
  50% {
    box-shadow: 0 0 45px rgba(255, 0, 150, 0.4);
  }
}
.lyu-icon-grid .lte-block-icon .lte-inner {
  animation: lyuNeonPulse 4s infinite;
}

/* адаптив */
@media (max-width: 767px) {
  .lyu-icon-grid .lte-block-icon .lte-inner {
    min-height: 220px;
    padding: 20px 15px;
  }
  .lyu-icon-grid .lte-block-icon .image {
    max-width: 90px;
    max-height: 90px;
  }
}

/* ==============================
   ГРІД ТОВАРІВ ДЛЯ LYU PRODUCTS GRID
   ============================== */

/* Контейнер віджета */
.lyu-epg-wrapper {
  width: 100%;
  margin: 40px auto 80px;
}

/* Робимо нормальний грід 4 в ряд */
.lyu-epg-wrapper ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Прибираємо дефолтні WooCommerce float/width */
.lyu-epg-wrapper ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* ==============================
   КАРТКА ТОВАРУ — СТИЛЬ ПІД КАТЕГОРІЇ
   ============================== */

.lyu-epg-wrapper ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 20px 18px 22px;
  border-radius: 26px;
  overflow: hidden;

  /* темно-фіолетова картка, як у категорій */
  background: radial-gradient(circle at top left, #ff007a 0%, #5b0058 40%, #1a001f 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.lyu-epg-wrapper ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

/* внутрішні блоки теми (lte) вирівнюємо під картку */
.lyu-epg-wrapper ul.products li.product .lte-item,
.lyu-epg-wrapper ul.products li.product .lte-item-descr {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Блок зображення */
.lyu-epg-wrapper ul.products li.product .lte-image {
  position: relative;
  padding: 26px 10px 10px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

/* Картинка товару */
.lyu-epg-wrapper ul.products li.product .lte-image img,
.lyu-epg-wrapper ul.products li.product img.attachment-woocommerce_thumbnail {
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* "New" бейдж — маленький чіп зліва зверху */
.lyu-epg-wrapper ul.products li.product .lte-wc-new {
  position: absolute;
  top: 12px;
  left: 16px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Кнопка "сердечко" (wishlist) поверх картки справа */
.lyu-epg-wrapper ul.products li.product .yith-wcwl-add-to-wishlist {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
}

.lyu-epg-wrapper ul.products li.product .yith-wcwl-add-to-wishlist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0;
}

.lyu-epg-wrapper ul.products li.product .yith-wcwl-add-to-wishlist svg {
  width: 18px;
  height: 18px;
}

/* Ховаємо дублікати wishlist нижче опису (бо тема виводить двічі) */
.lyu-epg-wrapper ul.products li.product .lte-item-descr > .yith-wcwl-add-to-wishlist {
  display: none !important;
}

/* Опис товару внизу картки */
.lyu-epg-wrapper ul.products li.product .lte-item-descr {
  padding: 18px 4px 0;
  text-align: left;
  color: #ffffff;
}

/* Назва товару */
.lyu-epg-wrapper ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 10px;
  color: #ffffff;
}

/* посилання на товар без підкреслення */
.lyu-epg-wrapper ul.products li.product a.woocommerce-LoopProduct-link {
  text-decoration: none;
}

/* Ціна */
.lyu-epg-wrapper ul.products li.product .price {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #ffebff;
}

.lyu-epg-wrapper ul.products li.product .price .woocommerce-Price-currencySymbol {
  margin-right: 2px;
}

/* Кнопка "Додати в кошик" — повна ширина, стилізація під тему */
.lyu-epg-wrapper ul.products li.product .lte-item-descr .lte-btn.btn-main {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: none;
  padding: 11px 18px;
  background: linear-gradient(90deg, #ff144f, #ff7a2f);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lyu-epg-wrapper ul.products li.product .lte-item-descr .lte-btn.btn-main:hover {
  background: linear-gradient(90deg, #ffffff, #ffd3e3);
  color: #c3004f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* Прибираємо зайві псевдоелементи кнопки, якщо вони ламають верстку */
.lyu-epg-wrapper ul.products li.product .lte-btn-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lyu-epg-wrapper ul.products li.product .lte-btn-before,
.lyu-epg-wrapper ul.products li.product .lte-btn-after {
  display: none;
}

/* Ховаємо верхню "дубльовану" кнопку з блоку зображення (якщо не потрібна) */
.lyu-epg-wrapper ul.products li.product .lte-image .lte-btn.btn-main {
  display: none !important;
}

/* ==============================
   АДАПТИВ
   ============================== */

@media (max-width: 1200px) {
  .lyu-epg-wrapper ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .lyu-epg-wrapper ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lyu-epg-wrapper ul.products {
    grid-template-columns: 1fr;
  }

  .lyu-epg-wrapper ul.products li.product {
    padding: 18px 16px 20px;
  }

  .lyu-epg-wrapper ul.products li.product .lte-image {
    min-height: 220px;
  }

  .lyu-epg-wrapper ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
  }
}