/*
 Theme Name: Med theme
 Version: 1.0
 Text Domain: nektarbigard
*/

/* 
#225560
#d9a211
#F1C232
#171219

*/
:root {
  --clr-accent: 241, 194, 50;
  --clr-accent-green: 50, 105, 23;
  --clr-secondary: 237, 240, 96;
  --clr-accent-darker: 217, 162, 17;
  --clr-light: 247, 243, 235;
  --clr-white: 255, 255, 255;
  --clr-dark: 7, 7, 7;
  --clr-dark-lighter: 42, 44, 44;
  --clr-black: 5, 5, 5;

  /* --ff-main: "Playfair Display", serif; */
  --ff-main: "Merriweather", serif;
  --ff-secondary: "Kaushan Script", cursive;

  --wc-primary: #111111; /* Головний колір (кнопки, акценти) */
  --wc-primary-hover: #333333; /* Колір при наведенні */
  --wc-bg: #f9f9f9; /* Світлий фон для карток */
  --wc-text: #2c2c2c; /* Основний текст */
  --wc-muted: #767676; /* Другорядний текст (категорії, артикули) */
  --wc-border: #e5e5e5; /* Тонкі рамки */
  --wc-radius: 8px; /* Закруглення кутів */
  --wc-transition: all 0.3s ease;
}

/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */
html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
figure,
picture {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  /* background-color: rgb(var(--clr-white), 1);
  background-color: #f1f1f1; */
  /* background-color: #fffcf6; */
  background-color: #08090b;
  font-family: var(--ff-main);
  /* color: rgb(var(--clr-black)); */
  line-height: 1.5;
  font-size: 1.125rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;

  color: rgba(var(--clr-white), 1);
}

h1 {
  color: rgba(var(--clr-white), 1);

  font-size: 3.5rem;
  margin: 1rem 0;
}

h2 {
  color: rgba(var(--clr-white), 1);

  font-size: 1.875rem;
  line-height: 1.1;
  margin: 0.75rem 0 0.25rem 0;
}
h3 {
  color: rgba(var(--clr-white), 1);

  font-size: 1.5rem;
  margin: 0.75rem 0 0.25rem 0;
}
p {
  margin: 0.5rem 0 0.25rem 0;
  line-height: 1.3;
  font-size: 1.125rem;

  color: rgba(var(--clr-white), 1);
}
main {
  flex-grow: 1;
}
main.main {
  margin-top: 75px;
}
.main-header {
  background-color: rgb(var(--clr-black));
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
}
.main-header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  padding: 5px;
}
.logo img {
  height: 65px;
  width: auto;
  /* object-fit: contain; */
}

.footer {
  padding: 2rem 0 0;
  background-color: rgba(var(--clr-dark), 1);
}
.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer a {
  text-decoration: none;
}
.footer p {
  /* text-align: center; */
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 300;
  color: rgba(var(--clr-white), 0.8);
}

a {
  color: rgba(var(--clr-accent-darker), 1);
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: rgba(var(--clr-accent), 1);
}
/* ===================== MENU ============= */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  /* background: #fff; */
  position: relative;
}

.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;

  text-transform: uppercase;
  font-size: 0.938rem;
  line-height: 1;
  font-weight: 600;
  /* font-weight: 700; */
}

/* Випадаюче меню (Desktop) */
.nav-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 100;
}

.nav-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* .menu-item-has-children > a::after {
  content: " ▼";
  font-size: 10px;
  vertical-align: middle;
  margin-left: 5px;
} */

/* Стилі для пунктів зі стрілкою */
.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 8px; /* Відступ між текстом і стрілкою */
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 14px; /* Налаштуйте під ваш SVG */
  height: 14px; /* Налаштуйте під ваш SVG */

  /* Шлях до вашого файлу в темі WordPress */
  background-image: url("images/arrow-down.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.3s ease;
}
.nav-menu li:hover > a::after {
  transform: rotate(180deg);
}
/* hamburger */
.hamburger {
  padding: 15px 15px;
  display: inline-block;
  display: none;

  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: rgba(var(--clr-white), 1);
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: rgba(var(--clr-white), 1);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}

/* slide */
.hamburger--slider .hamburger-inner {
  top: 2px;
}
.hamburger--slider .hamburger-inner::before {
  top: 10px;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.15s;
}
.hamburger--slider .hamburger-inner::after {
  top: 20px;
}

.hamburger--slider.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--slider.is-active .hamburger-inner::before {
  transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
  opacity: 0;
}
.hamburger--slider.is-active .hamburger-inner::after {
  transform: translate3d(0, -20px, 0) rotate(-90deg);
}

/* Адаптивність (Mobile) */
@media (max-width: 768px) {
  /* .header-social-languages {
    display: none;
  } */
  .hamburger {
    display: block;
  }
  /* Використовуємо ID та клас для максимальної специфічності */
  #primary-menu.menu-container {
    display: none;
    position: fixed; /* Краще для Full-height меню */
    top: 0;
    left: 0;
    width: 80%; /* Або 100% */
    height: 100vh;
    background: #fff; /* Замініть на вашу змінну rgb(var(--clr-black)) */
    z-index: 9999;
    flex-direction: column;
    padding-top: 80px; /* Місце для кнопки закриття */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  }

  #primary-menu.menu-container.is-active {
    display: flex !important; /* Force display */
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu li ul {
    position: static;
    display: none;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-menu li.open-submenu > ul {
    display: block;
  }
  .nav-menu li.open-submenu > a::after {
    transform: rotate(180deg);
  }
}
/* ===================== MENU ============= */

/* ++++++++++++++++++++++++++++++++++++++ */
.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}
.woocommerce .site-main {
  max-width: 1400px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 5rem;
  color: rgb(var(--clr-white), 0.9);
  /* font-weight: 900; */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}
.hero h2 {
  color: rgb(var(--clr-black), 0.7);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  font-size: 2.5rem;
}

.custom-font {
  font-family: var(--ff-secondary);
  /* font-weight: normal !important; */

  line-height: 1;
}

/* BENEFITS */
.benefits-block {
  transition: all 0.3s ease-in-out;
}
.benefits-block .kt-blocks-info-box-link-wrap {
  border: none !important;
  background-color: rgb(var(--clr-dark));
}
.benefits-block:hover {
  transform: translateY(-5px);
}
.benefits-block h3 {
  /* letter-spacing: -1px; */
  color: rgba(var(--clr-black), 0.8);

  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(var(--clr-white), 1);
}
.benefits-block p {
  font-size: 1rem;
  line-height: 1.2 !important;

  color: rgba(var(--clr-white), 0.8);
}
.benefits-block .kt-blocks-info-box-link-wrap {
  padding: 2rem 1rem;
}
/* BENEFITS */

.custom-header-cart {
  color: rgba(var(--clr-black), 0.7);
}
.header-icons-wrapper {
  display: flex;
  gap: 15px;
}

.header-icons-wrapper a {
  color: rgba(var(--clr-white), 1);
  text-decoration: none;
}

.header-languages ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-languages a {
  margin-right: 7px;
  font-size: 1rem;
  line-height: 1.1;
  /* text-transform: uppercase; */
}
.header-languages a:hover {
  color: rgb(var(--clr-accent), 1);
}
/* BESTSELLERS */
/* Загальні налаштування для блоку */
.bestsellers-wrapper {
  position: relative;
  padding: 0 45px;
}

/* Стрілочки слайдера */
.swiper-button-prev-bs,
.swiper-button-next-bs {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  /* color: rgb(var(--clr-dark)); */
  color: rgb(var(--clr-white));
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* background-color: rgb(var(--clr-white)); 
  border: 1px solid rgba(var(--clr-dark), 0.1);*/
  background-color: transparent;
  border: 0px solid rgba(var(--clr-dark), 0.1);
  transition: all 0.2s ease;
}
.swiper-button-prev-bs:hover,
.swiper-button-next-bs:hover {
  /* background-color: rgb(var(--clr-accent));
  border-color: rgb(var(--clr-accent)); 
  color: rgb(var(--clr-white));
  */
  color: rgb(var(--clr-accent));
}
.swiper-button-prev-bs {
  left: 0;
}
.swiper-button-next-bs {
  right: 0;
}

/* Статична картка товару */
.product-card {
  /* padding: 20px; 
  border: 1px solid rgba(var(--clr-dark), 0.1);
  
  */

  padding: 0;
  border: 1px solid rgba(var(--clr-accent), 0.2);

  position: relative;
  background-color: rgb(var(--clr-white));

  background-color: rgb(var(--clr-dark));

  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  transition: all 0.3s ease-in-out;

  overflow: hidden;
}

/* Ваш простий ефект при hover (можна змінювати колір border або тінь) */
.product-card:hover {
  border: 1px solid rgba(var(--clr-accent), 0.5);
  box-shadow: 0 5px 15px rgba(var(--clr-dark), 0.08);
}

/* Бейджі та обране */
.card-top {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
}
.badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badge {
  padding: 4px 10px;
  font-size: 11px;
  color: rgb(var(--clr-white));
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  display: inline-block;
  text-align: center;
}
/* Для бейджів використано акцентні кольори вашої теми */
.badge.sale {
  background-color: rgb(var(--clr-accent-green));
}
.badge.new {
  background-color: rgb(var(--clr-accent-darker));
}

/* Кнопка "В вибране" */
.wishlist-btn .fav-icon,
.wishlist-btn a {
  font-size: 18px;
  color: rgba(var(--clr-dark-lighter), 0.6);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.wishlist-btn a:hover,
.wishlist-btn .fav-icon:hover {
  color: rgb(var(--clr-accent));
}

/* Зображення товару */
.card-image {
  margin-bottom: 15px;
  text-align: center;
}
.card-image img {
  /* max-width: 100%;
  height: auto;
  max-width: 150px; 
   object-fit: contain;
  */

  /* border-radius: 7px; */
  /* height: 290px !important; */
  height: 310px;
  width: 100%;
  object-fit: cover;
  margin: 0 auto;
}

/* Текстова інформація */
.card-info {
  text-align: left;
  margin-bottom: 15px;
  flex-grow: 1;

  padding: 0 10px;
}
.product-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.product-title a {
  color: rgb(var(--clr-white));
  text-decoration: none;
  transition: color 0.3s ease-in-out;

  text-transform: uppercase;
}
.product-title a:hover {
  color: rgb(var(--clr-accent));
}

.short-desc {
  font-size: 14px;
  color: rgba(var(--clr-white), 0.8);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: rgb(var(--clr-accent-darker));

  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price del {
  color: rgba(var(--clr-accent-darker), 1);
  font-weight: 400;
  font-size: 14px;
  margin-right: 5px;
}
.product-price ins {
  text-decoration: none;
  color: rgb(var(--clr-accent)); /* Акцентний колір для акційної ціни */
}

/* БЛОК КНОПОК В ОДИН РЯД (Завжди знизу) */
.product-buttons-row {
  display: flex;
  /* gap: 8px; */
  margin-top: auto;

  gap: 1px;

  /* padding: 0 10px; */
}

.add-to-cart-wrapper {
  flex-grow: 1;
}
/* Оновлений селектор для кнопки кошика */
.product-buttons-row .button.add_to_cart_button {
  display: block;
  width: 100%;
  background-color: rgb(var(--clr-light));
  color: rgb(var(--clr-dark));
  text-align: center;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(var(--clr-dark), 0.1);
  /* border-radius: 3px; */
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

.product-buttons-row .button.add_to_cart_button:hover {
  background-color: rgb(var(--clr-accent));
  color: rgba(var(--clr-black), 0.9);
  border-color: rgb(var(--clr-accent-darker));
}

/* Стиль кнопки, коли товар уже успішно додано в кошик */
.product-buttons-row .added_to_cart.wc-forward {
  display: none; /* Ховаємо стандартне посилання WooCommerce "Переглянути кошик", яке з'являється поруч */
}

/* Квадратна кнопка перегляду */
.view-link-btn {
  width: 40px;
  height: 40px;
  /* background-color: rgb(var(--clr-light)); */
  background-color: rgba(var(--clr-white), 0.9);
  color: rgba(var(--clr-dark), 0.7);
  border: 1px solid rgba(var(--clr-dark), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 3px; */
  transition: all 0.2s ease;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}
.view-link-btn:hover {
  background-color: rgb(var(--clr-dark));
  color: rgb(var(--clr-white));
  border-color: rgb(var(--clr-dark));

  color: rgb(var(--clr-black));

  background-color: rgb(var(--clr-accent));

  border-color: rgb(var(--clr-accent));
}
.view-link-btn svg {
  display: block;
}

/* Стан AJAX завантаження */
.product-buttons-row .add-to-cart-btn.loading {
  opacity: 0.6;
}
/* BESTSELLERS */
.bestsellers-wrapper .yith-add-to-wishlist-button-block {
  padding: 0;
  margin: 0;
}
.bestsellers-wrapper
  .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor {
  gap: 0;
}
.bestsellers-wrapper
  .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor
  svg.yith-wcwl-icon-svg {
  width: 24px;
}

.wishlist_table tr td.product-thumbnail {
  width: 150px;
}
/* .woocommerce table.shop_table.wishlist_table .product-add-to-cart {
  width: 150px;
}
.woocommerce table.shop_table.wishlist_table .product-remove {
  width: 50px;
} */
.remove_from_wishlist {
  color: rgb(var(--clr-black), 0.7);
  font-weight: 700;
  font-size: 1.5rem;
}

/* сторінка wishlist */
/* .woocommerce table.shop_table.wishlist_table .product-name a {
  font-size: 1.25rem;
  color: rgb(var(--clr-black), 0.7);
}
.wishlist-items-wrapper a {
  text-decoration: none;
}
.wishlist_table tr td.product-thumbnail a img {
  height: auto;
  object-fit: contain;
}
.wishlist_table .product-add-to-cart a {
  display: block;
  width: 100%;
  background-color: rgb(var(--clr-light));
  color: rgb(var(--clr-dark));
  text-align: center;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(var(--clr-dark), 0.1);
  border-radius: 3px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.wishlist_table .product-add-to-cart a:hover {
  background-color: rgb(var(--clr-accent));
  color: rgb(var(--clr-white));
  border-color: rgb(var(--clr-accent));
} */
/* сторінка wishlist */

/* цршірдшіе шсщт руфвук */
.wishlist-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.wishlist-header-icon:hover {
  color: rgb(var(--clr-accent), 1);
}
.wishlist-header-icon svg {
  width: 24px;
  height: 24px;
  transition: fill 0.2s;
  transition: all 0.3s ease-in-out;
}

.wishlist-header-icon:hover svg {
  /* fill: currentColor; */
}

.wishlist-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: rgb(var(--clr-accent));
  color: #222;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  pointer-events: none;
}
/* цршірдшіе шсщт руфвук */

span.xoo-wsc-sc-count,
span.xoo-wsch-items-count {
  font-size: 12px;
  font-weight: bold;
}

a.xoo-wsc-ft-btn-checkout .amount {
  font-style: normal;
}

/* NEW DESGIN */
.forminator-button-submit {
  background-color: rgba(var(--clr-accent), 1) !important;
  color: rgba(var(--clr-black), 0.9) !important;
  border-radius: 5px !important;
  border: 1px solid rgba(var(--clr-accent-darker), 1) !important;
  font-size: 1rem !important;
  padding: 0.5rem 1.75rem !important;
}
.forminator-button-submit:hover {
  box-shadow: none !important;
}
.btn1 .wp-block-button__link {
  /* background-image: url(images/black-outline.png);
  background-position: right -10px bottom -10px;
  background-size: 36px;
  background-repeat: no-repeat; */

  font-weight: 600;
  background-color: rgba(var(--clr-accent-darker), 1);
  color: rgba(var(--clr-black), 0.9);
  border-radius: 5px;

  font-size: 1rem;
  padding: 0.5rem 1.75rem;
  /* font-weight: 500; */

  border: 1px solid rgba(var(--clr-accent-darker), 1);

  transition: all 0.3s ease-in-out;
}

.btn1 .wp-block-button__link:hover {
  border: 1px solid rgba(var(--clr-black), 1);

  background-color: rgba(var(--clr-black), 1);
  color: rgba(var(--clr-accent), 1);
  border: 1px solid rgba(var(--clr-accent), 1);
}
.btn2 .wp-block-button__link {
  /* background-image: url(images/yellow.png);
  background-position: right center;
  background-size: 36px;
  background-repeat: no-repeat; */

  background-color: rgba(var(--clr-white), 1);
  color: rgba(var(--clr-black), 0.9);
  border: 1px solid rgba(var(--clr-black), 1);

  background-color: rgba(var(--clr-dark), 1);
  color: rgba(var(--clr-white), 0.9);
  border: 1px solid rgba(var(--clr-accent), 1);

  border-radius: 5px;

  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.75rem;

  transition: all 0.3s ease-in-out;
}
.btn2 .wp-block-button__link:hover {
  background-color: rgba(var(--clr-black), 1);
  color: rgba(var(--clr-accent), 1);

  background-color: rgba(var(--clr-white), 1);
  color: rgba(var(--clr-dark), 1);
}
.btn-wrapper-1 {
  gap: 1rem;
}
/* NEW DESGIN */

.fw-900 {
  font-weight: 900;
}
.fz2 {
  font-size: 3rem;
  color: rgba(var(--clr-white), 1);
}
.fz3 {
  font-size: 2rem;
  color: rgba(var(--clr-white), 1);
}
.custom-font2 {
  font-size: 1.75rem;
  position: relative;
  padding-bottom: 30px;
  margin-bottom: -10px;
}
.custom-font2::after {
  content: "";
  height: 30px;
  width: 250px;
  position: absolute;
  bottom: 0px;
  left: calc(50% - 125px);

  background-image: url(images/h2-v2.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.custom-font2-left {
  width: 200px;
  text-align: center;
  font-size: 1.75rem;
  position: relative;
  padding-bottom: 30px;
  margin-bottom: -10px;
}
.custom-font2-left::after {
  content: "";
  height: 30px;
  width: 200px;
  position: absolute;
  bottom: 0px;
  left: 0;

  background-image: url(images/h2-v2.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
/* 222222222222222222 */
/* Контейнер сторінки */
.custom-single-product-container {
  /* color: rgb(var(--clr-dark)); */
  color: rgb(var(--clr-white));
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ДВІ КОЛОНКИ */
.product-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .product-main-layout {
    grid-template-columns: 1fr 1fr; /* Рівно 50% на 50% */
    align-items: flex-start;
  }
}

/* Ліва колонка - Фото */
.product-gallery-col {
  width: 100%;
}
.main-product-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(var(--clr-dark), 0.1);
  background-color: rgb(var(--clr-white));
  border-radius: 4px;
}

/* Права колонка - Текст */
.product-info-col {
  display: flex;
  flex-direction: column;
}

/* Категорія та артикул */
.product-category-meta,
.product-sku-meta {
  font-size: 13px;
  /* color: rgba(var(--clr-dark-lighter), 0.6); */
  color: rgba(var(--clr-white), 0.8);
  margin-bottom: 5px;
}
.product-category-meta a {
  color: rgb(var(--clr-accent));
  text-decoration: none;
}

/* Назва товару */
.product-main-title {
  font-size: 32px;
  font-weight: 600;
  margin: 5px 0 15px 0;
  line-height: 1.2;
}

/* Ціна */
.product-main-price {
  font-size: 26px;
  font-weight: 600;
  /* color: rgb(var(--clr-dark)); */
  color: rgb(var(--clr-white));
  margin-bottom: 20px;
}
.product-main-price del {
  color: rgba(var(--clr-dark-lighter), 0.4);
  font-size: 18px;
  margin-right: 10px;
}
.product-main-price ins {
  text-decoration: none;
  color: rgb(var(--clr-accent));
}

/* Опис */
.product-main-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(var(--clr-dark-lighter), 0.9);
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(var(--clr-dark), 0.1);
  padding-bottom: 20px;

  color: rgba(var(--clr-white), 0.9);
}

/* БЛОК ПОКУПКИ (Кількість, Варіації/Вага, Кнопка) */
.product-actions-box form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end; /* Вирівнювання по низу */
  margin-bottom: 20px;
}

/* Якщо товар варіативний (вибір ваги) */
.product-actions-box form.cart .variations {
  width: 100%;
  margin-bottom: 10px;
  border: none;
}
.product-actions-box form.cart .variations select {
  width: 100%;
  max-width: 250px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(var(--clr-dark), 0.1);
  background-color: rgb(var(--clr-light));
  border-radius: 3px;
  font-family: inherit;
  outline: none;
}

/* Поле кількості */
.product-actions-box .quantity input.qty {
  width: 60px;
  height: 45px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(var(--clr-dark), 0.1);
  background-color: rgb(var(--clr-light));
  border-radius: 3px;
}

/* Головна кнопка "Купити / Замовити" */
.product-actions-box .single_add_to_cart_button {
  height: 45px;
  padding: 0 35px;
  background-color: rgb(var(--clr-accent));
  color: rgb(var(--clr-white));
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.product-actions-box .single_add_to_cart_button:hover {
  background-color: rgb(var(--clr-accent-darker));
}

/* Кнопка Wishlist */
.single-wishlist-wrap .yith-wcwl-add-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgb(var(--clr-light));
  border: 1px solid rgba(var(--clr-dark), 0.1);
  border-radius: 3px;
  color: rgb(var(--clr-dark));
  font-size: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.single-wishlist-wrap .yith-wcwl-add-button a:hover {
  background-color: rgb(var(--clr-dark));
  color: rgb(var(--clr-white));
}

.product-benefits-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background-color: rgba(var(--clr-white), 0.07);
  padding: 30px;
  border-radius: 9px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .product-benefits-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.benefit-icon {
  font-size: 30px;
  line-shrink: 0;
}
.benefit-icon svg {
  width: 28px;
}
.benefit-text h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
}
.benefit-text p {
  font-size: 13px;
  margin: 0;
  color: rgba(var(--clr-white), 0.8);
  line-height: 1.4;
}

/* --- СХОЖІ ТОВАРИ (НА ВСЮ ШИРИНУ) --- */
.product-related-row {
  width: 100%;
  border-top: 1px solid rgba(var(--clr-dark), 0.1);
  padding-top: 40px;
}
.product-related-row .related.products h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Оскільки ми вже налаштували стилі карток товарів у категоріях, 
   вони автоматично стануть у красиву сітку і тут! */
.product-related-row .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}
/* 222222222222222222 */

/* QUANTITY */
/* Контейнер для кнопок кількості */
.custom-qty-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--clr-dark), 0.1);
  background-color: rgb(var(--clr-light));
  border-radius: 3px;
  height: 45px;
  overflow: hidden;
  box-sizing: border-box; /* Гарантує, що border входить у 45px */
}

/* Кнопки мінус та плюс із повним скиданням стилів */
.custom-qty-wrapper .qty-btn {
  width: 40px;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  font-size: 20px;
  line-height: 1 !important;
  color: rgb(var(--clr-dark));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  outline: none;
  box-sizing: border-box;
  min-width: 40px;
}

.custom-qty-wrapper .qty-btn:hover {
  background-color: rgba(var(--clr-dark), 0.05) !important;
  color: rgb(var(--clr-accent)) !important;
}

/* Поле з цифрою */
.custom-qty-wrapper input[type="number"].qty {
  width: 45px;
  height: 100%;
  border: none !important;
  background: transparent !important;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: rgb(var(--clr-dark));
  padding: 0 !important;
  margin: 0;
  outline: none;
  box-sizing: border-box;
  -moz-appearance: textfield;
}

/* Прибираємо стрілочки */
.custom-qty-wrapper input[type="number"].qty::-webkit-outer-spin-button,
.custom-qty-wrapper input[type="number"].qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* QUANTITY */

/* VARIATIONS */
/* Контейнер для кнопок вибору ваги */
.custom-swatches-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

/* Базовий стиль кнопки ваги */
.custom-swatches-container .swatch-btn {
  background-color: rgb(var(--clr-light)) !important;
  color: rgb(var(--clr-dark)) !important;
  border: 1px solid rgba(var(--clr-dark), 0.1) !important;
  padding: 8px 16px !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  margin: 0;
}

/* Ховер ефект */
.custom-swatches-container .swatch-btn:hover {
  border-color: rgb(var(--clr-accent)) !important;
  color: rgb(var(--clr-accent)) !important;
}

.custom-swatches-container .swatch-btn.active {
  background-color: rgb(var(--clr-accent)) !important;
  color: rgb(var(--clr-black)) !important;
  border-color: rgb(var(--clr-accent-darker)) !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(var(--clr-accent), 0.2);
}

.product-actions-box form.cart .variations td {
  padding: 5px 0;
  display: block;
}
.product-actions-box form.cart .variations .label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}
/* VARIATIONS */

/* ===================== MENU ============= */
.main-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  /* background: #fff; */
  position: relative;
}

.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-size: 1rem;
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: rgba(var(--clr-white), 1);
  transition: 0.3s;

  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}
.nav-menu a:hover {
  color: rgba(var(--clr-accent), 1);
}
.nav-menu li.current-menu-item a {
  color: rgba(var(--clr-accent), 1);
}
/* Випадаюче меню (Desktop) */
.nav-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 100;
}

.nav-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* .menu-item-has-children > a::after {
  content: " ▼";
  font-size: 10px;
  vertical-align: middle;
  margin-left: 5px;
} */

/* Стилі для пунктів зі стрілкою */
.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 8px; /* Відступ між текстом і стрілкою */
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 14px; /* Налаштуйте під ваш SVG */
  height: 14px; /* Налаштуйте під ваш SVG */

  /* Шлях до вашого файлу в темі WordPress */
  background-image: url("images/arrow-down.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.3s ease;
}
.nav-menu li:hover > a::after {
  transform: rotate(180deg);
}
/* hamburger */
.hamburger {
  padding: 15px 5px;
  display: inline-block;
  display: none;

  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  /* opacity: 0.7; */
}
.hamburger.is-active:hover {
  /* opacity: 0.7; */
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: rgba(var(--clr-white), 1);
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 2px;
  background-color: rgba(var(--clr-white), 1);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}

/* slide */
.hamburger--slider .hamburger-inner {
  top: 2px;
}
.hamburger--slider .hamburger-inner::before {
  top: 10px;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.15s;
}
.hamburger--slider .hamburger-inner::after {
  top: 20px;
}

.hamburger--slider.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--slider.is-active .hamburger-inner::before {
  transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
  opacity: 0;
}
.hamburger--slider.is-active .hamburger-inner::after {
  transform: translate3d(0, -20px, 0) rotate(-90deg);
}

/* Адаптивність (Mobile) */
@media (max-width: 768px) {
  .hero h1 {
    max-width: 350px;
  }
  .splide__arrows {
    display: none;
  }

  .hamburger {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .main-navigation {
    padding: 0;

    /* align-items: center; */
  }
  .main-header-container {
    margin: 0;
    padding-right: 10px;
    /*   backdrop-filter: blur(5px) brightness(80%); */
  }
  #primary-menu.menu-container {
    display: flex;
    justify-content: start;
    align-items: start;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100vh;
    background: rgba(var(--clr-dark), 1);
    z-index: 9999;
    flex-direction: column;
    padding: 70px 10px 20px 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);

    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.4s ease,
      visibility 0.4s;
  }

  #primary-menu.menu-container.is-active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu li ul {
    position: static;
    display: none;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-menu li.open-submenu > ul {
    display: block;
  }
  .nav-menu li.open-submenu > a::after {
    transform: rotate(180deg);
  }

  .nav-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: rgba(var(--clr-white), 1);
    transition: 0.3s;

    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 500;
  }
  .nav-menu a:hover {
    color: rgba(var(--clr-accent), 1);
  }
}
/* ===================== MENU ============= */

/* MY CORRECTIONS */
.woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-actions-box form.cart .variations td {
  display: flex;
  align-items: center;
}
/* .single-product form.cart .single_add_to_cart_button {
  border: 1px solid rgb(var(--clr-accent-darker));
} */

.hero .custom-font {
  margin: 1rem 0;
}
.categories-homepage {
  border: 1px solid rgb(var(--clr-accent-darker), 0.3);
  padding: 1rem;
  background-color: rgba(var(--clr-white), 1);
  border-radius: 15px;

  transition:
    border 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}
.categories-homepage:hover {
  border: 1px solid rgb(var(--clr-accent), 1);
  transform: translateY(-5px);
}
.categories-homepage h3 {
  font-size: 1.375rem;
}
.categories-homepage figure {
  margin: 0;
}

/* CATEGORIES EFFECT */
.categories-homepage {
  position: relative;
}

.categories-homepage::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  background: url("images/bee-side-view-small.webp") center/contain no-repeat;
  pointer-events: none;
  animation: beeFloat 2.5s ease-in-out infinite;
}

/* Верхній лівий */
.categories-homepage:nth-child(1)::after {
  top: -12px;
  left: -12px;
}

/* Верхній правий */
.categories-homepage:nth-child(2)::after {
  content: none;
  bottom: -12px;
  right: -12px;
  background-image: url("images/bee-side-view-small-flip.webp");
}

/* Нижній лівий */
.categories-homepage:nth-child(3)::after {
  content: none;
  top: -12px;
  left: -12px;
}

/* Нижній правий */
.categories-homepage:nth-child(4)::after {
  bottom: -12px;
  right: -12px;
  background-image: url("images/bee-side-view-small-flip.webp");
}

@keyframes beeFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(3px, -5px);
  }
  50% {
    transform: translate(0, -8px);
  }
  75% {
    transform: translate(-3px, -4px);
  }
}

/* CATEGORIES EFFECT */
.categories-home-wrapper {
  background-image:
    url(images/categories-bg-left-1.webp),
    url(images/categories-bg-right-1.webp);
  background-position:
    left bottom,
    right bottom;
  background-repeat: no-repeat;
  background-size: 400px;
}

.forminator-ui.forminator-custom-form:not(
    .forminator-size--small
  )[data-grid="open"]
  .forminator-row-inside:not(:last-child),
.forminator-ui.forminator-custom-form:not(
    .forminator-size--small
  )[data-grid="open"]
  .forminator-row:not(:last-child) {
  margin-bottom: 10px !important;
}
.forminator-ui.forminator-custom-form[data-design="flat"] .forminator-input,
.forminator-ui#forminator-module-299.forminator-design--flat
  .forminator-textarea {
  border-radius: 5px !important;
  border: 1px solid rgba(var(--clr-accent), 1) !important;
}
.form-textarea-row .forminator-field {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
}
.form-textarea-row .forminator-field .forminator-textarea {
  grid-column: span 2 / span 2;
  grid-row-start: 2;
}

.postheading,
.woocommerce-products-header__title.page-title {
  text-align: center;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  margin: 1rem 0;
}

.woocommerce-breadcrumb {
  margin: 1rem 0 0;
}
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  font-size: 0.875rem;
}
.single-product .related.products {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .single-product .related.products .columns-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    overflow-x: scroll;
  }
  /* .single-product .product {
    gap: 5px;
  } */
  .product-benefits-row {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  .woocommerce-breadcrumb {
    margin: 10px 0 0;
  }
  main.main {
    margin-top: 55px;
  }
  .archive main.main {
    padding: 15px;
  }
  .postheading,
  .woocommerce-products-header__title.page-title {
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
  }
  .logo img {
    height: 50px;
  }
  .hero h2 {
    font-size: 1.75rem;
    text-align: center;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-wrapper-1 {
    justify-content: center;
  }

  .main-header-container > :nth-child(2) {
    order: 3; /* Другий елемент стає третім */
  }
  .main-header-container > :nth-child(3) {
    order: 2; /* Третій елемент стає другим (опціонально, якщо потрібно) */
  }

  /* .header-icons-wrapper > div {
    display: flex;
    align-items: center;
  } */
  .header-icons-wrapper {
    border-top: 1px solid rgba(var(--clr-white), 0.4);
    position: fixed;
    bottom: 0;

    width: 100%;
    padding: 15px 10px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    /* background-color: rgba(var(--clr-white), 1); */
    background-color: rgba(var(--clr-black), 1);
  }
  .header-icons-wrapper > div,
  .header-icons-wrapper > div a,
  .header-icons-wrapper .xoo-wsc-sc-bkcont {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-languages {
  }
  .fz2 {
    font-size: 2.375rem;
  }
  .footer {
    /* padding-bottom: 56px; */
    margin: 10px 0 45px;
    padding: 0rem 0 0.5rem;
  }
}
/* MY CORRECTIONS */
.benefits2 {
  color: rgba(var(--clr-black), 1);
  border-right: 1px solid rgba(var(--clr-accent), 1);
}
.benefits2:last-of-type {
  border: 0;
}
.benefits2 h3 {
  color: rgba(var(--clr-black), 1);
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
}
.benefits2 p {
  color: rgba(var(--clr-black), 0.8);
  text-align: center;
}
.benefits2 p:first-of-type {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;

  margin: 0;
}

.benefits2 figure {
  margin: 0 0 0.25rem 0;
}
.benefits2 img {
  margin: 0 auto;
  width: 48px;
  height: 48px;
}

.benefits3 .kt-inside-inner-col {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 10px 20px;
  align-items: center;
}

.benefits3 .kt-inside-inner-col > *:nth-child(1) {
  grid-row: 1 / 3;
  grid-column: 1;
  height: 100%;
  width: auto;
  object-fit: cover;
}

.benefits3 .kt-inside-inner-col > *:nth-child(3) {
  grid-row: 1;
  grid-column: 2;
  margin: 0;

  text-align: left;
}

.benefits3 .kt-inside-inner-col > *:nth-child(4) {
  grid-row: 2;
  grid-column: 2;
  margin: 0;

  text-align: left;
}
.benefits2 .kt-inside-inner-col > style {
  display: none;
}
.benefits3 img {
  width: 48px;
  height: 48px;
}
.benefits3 p:first-of-type {
  color: rgb(var(--clr-accent), 0.8);
  font-size: 1.25rem;
  line-height: 1;
}
.benefits3 p {
  color: rgb(var(--clr-white), 0.8);
  line-height: 1;
  font-size: 1rem;
}
.product-price .price-weight {
  color: rgba(var(--clr-white), 0.7);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .card-image img {
    height: 200px;
  }
  .benefits2 img {
    width: 36px;
    height: 36px;
  }
  .benefits2 p:first-of-type {
    font-size: 2rem;
  }
  /* .benefits2 {
    padding: 20px;
  } */
  .benefits2:nth-of-type(1) {
    /* border-right: 0; */
    border-bottom: 0px solid rgb(var(--clr-accent), 0.8);
  }
  .benefits2:nth-of-type(2) {
    border-right: 0;
    border-bottom: 0px solid rgb(var(--clr-accent), 0.8);
  }

  .benefits2 {
    border: 0;
  }
  .benefits2 h3 {
    font-size: 1.25rem;
  }

  .benefits3 p:first-of-type {
    /* font-size: 1rem; */
  }
  .benefits3 p {
    font-size: 0.875rem;
  }
  .benefits3 img {
    width: 28px;
    height: 28px;
  }
  .benefits3 .kt-inside-inner-col {
    gap: 5px;
  }
  .footer-copyright {
    gap: 5px;
  }
  .footer2 {
    padding: 0 15px;
  }
}

/* color:#d9a211 */

.footer2 {
  /* border-top: 1px solid rgba(var(--clr-white), 0.2); */
  background-color: #111;
}

/* SWIPER v2 */
/* ========================================== */
/* Мобільна сітка у 2 колонки для бестселерів */
/* ========================================== */
@media (max-width: 639px) {
  /* Прибираємо бічні відступи обгортки та ховаємо стрілки */
  .bestsellers-wrapper {
    padding: 0;
  }
  .swiper-button-prev-bs,
  .swiper-button-next-bs {
    display: none !important;
  }

  /* Перетворюємо слайдер на Grid у 2 колонки */
  .bestsellers-carousel .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    transform: none !important; /* Скидаємо ссуви Swiper */
    width: 100% !important;
  }

  /* Повертаємо нормальне відображення слайдам */
  .bestsellers-carousel .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
    height: auto !important;
  }

  /* Коригуємо висоту фото для мобільної сітки, щоб картки не були занадто витягнутими */
  .bestsellers-carousel .card-image img {
    height: 180px;
    object-fit: cover;
  }
}
/* SWIPER v2 */

/* -----SEARCH ===================== */
/* Іконка в шапці (успадковує ваші стилі для іконок) */
.header-search-icon {
  background: transparent;
  border: none;
  color: rgba(var(--clr-white), 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.3s ease-in-out;
}
.header-search-icon:hover {
  color: rgb(var(--clr-accent));
}

/* Повноекранний оверлей */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(var(--clr-dark), 0.98); /* Ваш темний фон */
  z-index: 99999; /* Поверх всього (шапка має 99) */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
  backdrop-filter: blur(5px);
}
.search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Контейнер всередині оверлею */
.search-overlay-inner {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
}

/* Кнопка закриття (Хрестик) */
.search-close-btn {
  position: absolute;
  top: -50px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(var(--clr-white), 0.7);
  cursor: pointer;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.search-close-btn:hover {
  color: rgb(var(--clr-accent));
  transform: rotate(90deg);
}

/* Поле вводу */
.custom-search-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(var(--clr-white), 0.2);
  color: rgb(var(--clr-white));
  font-size: 2.5rem;
  padding: 10px 0;
  font-family: var(--ff-main);
  outline: none;
  transition: border-color 0.3s ease;
}
.custom-search-wrapper input:focus {
  border-bottom-color: rgb(var(--clr-accent));
}
.custom-search-wrapper input::placeholder {
  color: rgba(var(--clr-white), 0.3);
}

/* Контейнер результатів */
.search-results-overlay {
  margin-top: 30px;
  max-height: 65vh;
  overflow-y: auto;
  /* Стилізація скролбару для краси */
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--clr-accent)) rgba(var(--clr-white), 0.1);
}

/* Картка знайденого товару */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--clr-white), 0.05);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  border-radius: var(--wc-radius);
}
.search-result-item:hover {
  background: rgba(var(--clr-white), 0.05);
  /* transform: translateX(10px); */
}

/* Фото товару в пошуку */
.search-img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  background-color: rgb(var(--clr-white)); /* Для товарів без фону */
}

/* Інформація про товар */
.search-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.search-title {
  color: rgb(var(--clr-white));
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: var(--ff-main);
}
.search-sku {
  color: rgba(var(--clr-white), 0.6);
  font-size: 0.875rem;
  margin-bottom: 5px;
}
.search-price {
  color: rgb(var(--clr-accent));
  font-size: 1.125rem;
  font-weight: 700;
}
.search-price del {
  color: rgba(var(--clr-white), 0.4);
  font-size: 0.875rem;
  margin-right: 8px;
}

/* Повідомлення "Нічого не знайдено" або "Завантаження" */
.no-results,
.search-loading {
  color: rgba(var(--clr-white), 0.7);
  font-size: 1.5rem;
  text-align: center;
  padding: 40px 0;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .custom-search-wrapper input {
    font-size: 1.75rem;
  }
  .search-close-btn {
    top: -60px;
    right: 10px;
  }
  .search-overlay {
    padding-top: 15vh;
  }
  .search-img img {
    width: 50px;
    height: 50px;
  }
  .search-title {
    font-size: 1.125rem;
  }
}
/* -----SEARCH ===================== */

/* ==================================================== */
/* =========== WOOCOMMERCE MY ACCOUNT ================= */
/* ==================================================== */

/* --- 1. Форми Логіну та Реєстрації --- */
.woocommerce-account .u-columns.col2-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .woocommerce-account .u-columns.col2-set {
    grid-template-columns: 1fr 1fr;
  }
}

.woocommerce-account .col-1,
.woocommerce-account .col-2 {
  background-color: rgba(var(--clr-white), 0.05); /* Легкий прозорий фон */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(var(--clr-accent), 0.2);
}

.woocommerce-account h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: rgb(var(--clr-accent));
  border-bottom: 1px solid rgba(var(--clr-white), 0.1);
  padding-bottom: 15px;
}

/* --- 2. Інпути та Лейбли (спільні для всього акаунту) --- */
.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  display: block;
  color: rgba(var(--clr-white), 0.9);
  margin-bottom: 8px;
  font-size: 0.938rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 15px;
  background-color: transparent;
  border: 1px solid rgba(var(--clr-white), 0.2);
  color: rgb(var(--clr-white));
  border-radius: 5px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: rgb(var(--clr-accent));
  box-shadow: 0 0 5px rgba(var(--clr-accent), 0.2);
}

/* --- 3. Кнопки (Логін, Зберегти зміни тощо) --- */
.woocommerce-account .woocommerce-Button.button,
.woocommerce-account input[type="submit"] {
  background-color: rgb(var(--clr-accent));
  color: rgb(var(--clr-black));
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  border: 1px solid rgb(var(--clr-accent-darker));
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
}

.woocommerce-account .woocommerce-Button.button:hover,
.woocommerce-account input[type="submit"]:hover {
  background-color: rgb(var(--clr-accent-darker));
  color: rgb(var(--clr-black));
}

/* --- 4. Макет внутрішнього кабінету (Коли користувач увійшов) --- */
.woocommerce-account .woocommerce {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .woocommerce-account .woocommerce {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* --- 5. Бокова навігація --- */
.woocommerce-MyAccount-navigation {
  width: 100%;
  background-color: rgba(var(--clr-white), 0.05);
  border-radius: 10px;
  border: 1px solid rgba(var(--clr-accent), 0.2);
  overflow: hidden;
}

@media (min-width: 768px) {
  .woocommerce-MyAccount-navigation {
    flex: 0 0 250px; /* Фіксована ширина бокової панелі */
  }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid rgba(var(--clr-white), 0.05);
}

.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 15px 20px;
  color: rgba(var(--clr-white), 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: rgba(var(--clr-accent), 0.1);
  color: rgb(var(--clr-accent));
  padding-left: 25px; /* Легкий зсув тексту при наведенні */
}

/* --- 6. Контентна частина кабінету --- */
.woocommerce-MyAccount-content {
  flex: 1;
  width: 100%;
  color: rgba(var(--clr-white), 0.9);
}

.woocommerce-MyAccount-content a {
  color: rgb(var(--clr-accent));
}

.woocommerce-MyAccount-content a:hover {
  text-decoration: underline;
}

/* --- 7. Таблиці (Замовлення, Завантаження) --- */
.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: rgba(var(--clr-white), 0.02);
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce-MyAccount-content table th {
  text-align: left;
  padding: 15px;
  background-color: rgba(var(--clr-white), 0.08);
  color: rgb(var(--clr-white));
  border-bottom: 1px solid rgba(var(--clr-white), 0.1);
  font-weight: 600;
}

.woocommerce-MyAccount-content table td {
  padding: 15px;
  border-bottom: 1px solid rgba(var(--clr-white), 0.05);
  vertical-align: middle;
}

/* Кнопки в таблиці (наприклад "Переглянути замовлення") */
.woocommerce-MyAccount-content table .button {
  padding: 8px 15px;
  background: transparent;
  color: rgb(var(--clr-accent));
  border: 1px solid rgb(var(--clr-accent));
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.woocommerce-MyAccount-content table .button:hover {
  background: rgb(var(--clr-accent));
  color: rgb(var(--clr-black));
}

/* --- 8. Повідомлення WooCommerce (Успіх, Помилка) --- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background-color: rgba(var(--clr-white), 0.05);
  border-top: 3px solid rgb(var(--clr-accent));
  color: rgb(var(--clr-white));
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  list-style: none;
}

.woocommerce-error {
  border-top-color: #ff4c4c; /* Червоний для помилок */
}

/* --- Фікс для кнопки "Показати пароль" --- */

/* 1. Робимо обгортку відносною, щоб кнопка "плавала" всередині неї */
.woocommerce form .password-input {
  position: relative;
  display: block;
}

/* 2. Додаємо відступ тексту в інпуті справа, щоб довгий пароль не залазив під іконку */
.woocommerce form .password-input input.input-text {
  padding-right: 45px;
}

/* 3. Скидаємо стилі кнопки та ставимо її справа по центру */
.woocommerce form .password-input .show-password-input {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: transparent !important; /* Прибираємо можливий фон */
  border: none !important;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  outline: none;
  font-size: 0; /* Приховуємо стандартний прямокутник/текст */
  display: block;
}

/* Приховуємо стандартний before/after від WooCommerce, який генерує прямокутник */
.woocommerce form .password-input .show-password-input::before {
  display: none !important;
}

/* 4. Додаємо кастомну іконку ока (білий колір, SVG) */
.woocommerce form .password-input .show-password-input::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  /* SVG-іконка відкритого ока */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  opacity: 0.5; /* Робимо її трохи приглушеною */
  transition: opacity 0.3s ease;
}

/* Змінюємо прозорість при наведенні */
.woocommerce form .password-input .show-password-input:hover::after {
  opacity: 1;
}

/* 5. Іконка, коли пароль показано (WooCommerce додає клас display-password) */
.woocommerce form .password-input .show-password-input.display-password::after {
  /* SVG-іконка закритого (перекресленого) ока */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");
}
/* ==================================================== */
/* =========== WOOCOMMERCE MY ACCOUNT ================= */
/* ==================================================== */

.header-wishlist-icon,
.header-account,
.header-account a,
.header-cart-wrapper,
.header-cart-wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==================================================== */
/* =============== YITH WISHLIST PAGE ================= */
/* ==================================================== */
.woocommerce table.shop_table.wishlist_table tr td {
  background-color: rgba(var(--clr-white), 0.02);
}
.wishlist_table .product-price {
  display: revert;
}
.woocommerce table thead {
  border: 0;
}
/* 1. Загальний вигляд таблиці */
.woocommerce table.shop_table.wishlist_table {
  background-color: rgba(var(--clr-white), 0.02);
  border: 1px solid rgba(var(--clr-accent), 0.2);
  border-radius: 10px;
  border-collapse: separate; /* Дозволяє border-radius працювати на таблиці */
  border-spacing: 0;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

/* 2. Шапка таблиці (Назви колонок) */
.woocommerce table.shop_table.wishlist_table thead th {
  background-color: rgba(var(--clr-white), 0.05);
  color: rgb(var(--clr-accent));
  border-bottom: 1px solid rgba(var(--clr-accent), 0.2);
  border-top: 0;
  padding: 15px 20px;
  text-transform: uppercase;
  font-size: 0.938rem;
  font-weight: 600;
  text-align: left;
}
.woocommerce table.shop_table.wishlist_table thead th.product-price,
.woocommerce table.shop_table.wishlist_table thead th.product-stock-status {
  text-align: center;
}
/* 3. Рядки та клітинки таблиці */
.woocommerce table.shop_table.wishlist_table tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(var(--clr-white), 0.05);
  vertical-align: middle;
  color: rgba(var(--clr-white), 0.9);
}

/* Прибираємо лінію в останнього рядка */
.woocommerce table.shop_table.wishlist_table tbody tr:last-child td {
  border-bottom: none;
}

/* 4. Фото товару */
.woocommerce table.shop_table.wishlist_table td.product-thumbnail {
  width: 120px;
}
.woocommerce table.shop_table.wishlist_table td.product-thumbnail a img {
  width: 100%;
  height: 100px;
  object-fit: cover; /* Зробить фото акуратними квадратами/прямокутниками */
  border-radius: 5px;
  border: 1px solid rgba(var(--clr-white), 0.1);
}

/* 5. Назва товару */
.woocommerce table.shop_table.wishlist_table td.product-name a {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(var(--clr-white));
  text-decoration: none;
  transition: color 0.3s ease;
}
.woocommerce table.shop_table.wishlist_table td.product-name a:hover {
  color: rgb(var(--clr-accent));
}

/* 6. Ціна */
.woocommerce table.shop_table.wishlist_table td.product-price {
  font-weight: 600;
  font-size: 1.125rem;
}
.woocommerce table.shop_table.wishlist_table td.product-price del {
  color: rgba(var(--clr-white), 0.4);
  font-size: 0.875rem;
  font-weight: 400;
  margin-right: 8px;
}
.woocommerce table.shop_table.wishlist_table td.product-price ins {
  color: rgb(var(--clr-accent));
  text-decoration: none;
}

/* 7. Кнопка видалення (Хрестик) */
.woocommerce table.shop_table.wishlist_table td.product-remove {
  width: 50px;
  text-align: center;
}
.woocommerce table.shop_table.wishlist_table .remove_from_wishlist {
  color: rgba(var(--clr-white), 0.4);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.woocommerce table.shop_table.wishlist_table .remove_from_wishlist:hover {
  color: #ff4c4c; /* Червоний колір при наведенні для дії видалення */
  background-color: rgba(255, 76, 76, 0.1);
}

/* 8. Статус наявності (In stock / Out of stock) */
.woocommerce table.shop_table.wishlist_table td.product-stock-status span {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
}
.woocommerce
  table.shop_table.wishlist_table
  td.product-stock-status
  span.wishlist-in-stock {
  color: rgb(var(--clr-accent-green));
  background-color: rgba(var(--clr-accent-green), 0.1);
}
.woocommerce
  table.shop_table.wishlist_table
  td.product-stock-status
  span.wishlist-out-of-stock {
  color: #ff4c4c;
  background-color: rgba(255, 76, 76, 0.1);
}

/* 9. Кнопка "Додати в кошик" */
.woocommerce table.shop_table.wishlist_table td.product-add-to-cart a {
  display: inline-block;
  background-color: rgb(var(--clr-accent));
  color: rgb(var(--clr-black));
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgb(var(--clr-accent-darker));
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.woocommerce table.shop_table.wishlist_table td.product-add-to-cart a:hover {
  background-color: rgb(var(--clr-accent-darker));
}

/* 10. Адаптивність (Мобільна версія YITH - JS Mobile Template) */
@media (max-width: 768px) {
  /* Скидаємо стандартні стилі списку */
  ul.shop_table.wishlist_table.mobile {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
  }

  /* Робимо кожен товар (<li>) окремою акуратною карткою */
  ul.shop_table.wishlist_table.mobile li {
    position: relative;
    background-color: rgba(var(--clr-white), 0.02);
    border: 1px solid rgba(var(--clr-accent), 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* --- Верхня частина: Фото + Назва + Ціна --- */
  ul.shop_table.wishlist_table.mobile .item-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  /* Фото товару */
  ul.shop_table.wishlist_table.mobile .product-thumbnail {
    width: 90px;
    flex-shrink: 0;
  }
  ul.shop_table.wishlist_table.mobile .product-thumbnail img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0;
    border: 1px solid rgba(var(--clr-white), 0.1);
  }

  /* Назва та ціна */
  ul.shop_table.wishlist_table.mobile .item-details {
    flex-grow: 1;
    padding-right: 30px; /* Робимо відступ справа, щоб текст не наліз на іконку видалення */
  }

  ul.shop_table.wishlist_table.mobile .product-name h3 {
    margin: 0 0 5px 0;
    font-size: 1.125rem;
    line-height: 1.2;
  }
  ul.shop_table.wishlist_table.mobile .product-name a {
    color: rgb(var(--clr-white));
    text-decoration: none;
  }

  /* --- Скидаємо стилі внутрішніх таблиць, які генерує YITH --- */
  ul.shop_table.wishlist_table.mobile table {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
  }
  ul.shop_table.wishlist_table.mobile table td {
    padding: 0;
    border: none;
  }

  /* Приховуємо зайві текстові написи "Price:" та "Stock:" */
  ul.shop_table.wishlist_table.mobile table td.label {
    display: none;
  }

  /* Стилізуємо саму ціну */
  ul.shop_table.wishlist_table.mobile .item-details-table .value {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(var(--clr-accent));
  }

  /* --- Нижня частина: Статус + Кнопки --- */
  ul.shop_table.wishlist_table.mobile .additional-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Статус наявності */
  ul.shop_table.wishlist_table.mobile .additional-info .value span {
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
  }

  /* Кнопка "Додати в кошик" (робимо її на всю ширину) */
  ul.shop_table.wishlist_table.mobile .product-add-to-cart {
    margin-top: 5px;
  }
  ul.shop_table.wishlist_table.mobile .product-add-to-cart a {
    display: block;
    width: 100%;
    text-align: center;
    background-color: rgb(var(--clr-accent));
    color: rgb(var(--clr-black));
    padding: 12px 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgb(var(--clr-accent-darker));
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  /* Хрестик "Видалити" (ставимо його в абсолюті в правий верхній кут картки) */
  ul.shop_table.wishlist_table.mobile .product-remove {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  ul.shop_table.wishlist_table.mobile .remove_from_wishlist {
    color: rgba(var(--clr-white), 0.4);
    font-size: 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
  }
}

/* ==================================================== */
/* =============== YITH WISHLIST PAGE ================= */
/* ==================================================== */

/* BLOG */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.blog-card-category {
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.blog-card-category a {
  color: rgb(var(--clr-accent));
  text-decoration: none;
}

.blog-card-meta {
  margin-top: 15px;
  font-size: 14px;
  color: rgba(var(--clr-white), 0.65);
}

.blog-read-more {
  text-align: center;
}

.blog-card .card-image img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
/* BLOG */

/* WISHLIST CARD */
/* Ховаємо текст візуально, але він залишається в DOM */
.yith-wcwl-add-to-wishlist-button__label {
  position: absolute;
  /* bottom: calc(100% + 6px);
  left: 50%;
  */
  top: 0;

  right: -30px;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Показуємо при наведенні */
.yith-add-to-wishlist-button-block:hover
  .yith-wcwl-add-to-wishlist-button__label {
  opacity: 1;
}

/* Позиціонування обгортки */
.yith-add-to-wishlist-button-block {
  position: relative;
  display: inline-block;
}

/* Трикутник через псевдоелемент посилання */
/* .yith-add-to-wishlist-button-block::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.yith-add-to-wishlist-button-block:hover::before {
  opacity: 1;
} */
.product-card .yith-add-to-wishlist-button-block {
  margin: 0;
}

.yith-wcwl-add-to-wishlist-button:hover {
  color: rgba(var(--clr-accent), 1);
}
.yith-wcwl-add-to-wishlist-button:not(
    .yith-wcwl-add-to-wishlist-button--themed-button
  )
  svg.yith-wcwl-add-to-wishlist-button-icon:hover {
  color: rgba(var(--clr-accent), 1);
}
/* WISHLIST CARD */

/* CHECKOUT */
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
  color: rgba(var(--clr-black), 0.8);
}
/* CHECKOUT */

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__quantity
  span {
  color: rgba(var(--clr-black), 1);
}

.woocommerce-form-login button {
  display: block;
  background-color: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-black), 0.7);
  padding: 0.5rem 2rem;

  font-size: 1rem;

  cursor: pointer;
  border: 0;
  outline: 0;

  transition: background-color 0.3s ease-in-out;
}
.woocommerce-form-login button:hover {
  background-color: rgba(var(--clr-accent), 0.7);
}
