/* Хувер із Hello Elementor: вставлено для можливої ідентифікації/перекриття */
.product:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transform: none !important;
}
header.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}
/* відступ від кнопки пейпал до детального опису */
.ppc-button-wrapper {
  margin-bottom: 2rem; /* або 30px */
}

/* Блок бічного меню: стиль як у хедері */
.sidebar-section ul {
  list-style: none;
  padding-left: 0;
}

.sidebar-section ul li a {
  display: block !important;
  padding: 0.6rem 1rem !important;
  font-size: 1.1rem !important;
  color: white !important;
  background-color: #336699 !important;
  border-radius: 4px !important;
  margin-bottom: 0.5rem !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}
.sidebar-section ul.inserted-submenu a {
  background-color: #abcdef;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: #000; /* або інший колір тексту */
  margin-bottom: 0.3rem;
  text-decoration: none;
}


.sidebar-section ul li a:hover {
  background-color: #285280 !important;
}

.grid .product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #abcdef;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

.grid .product p {
  margin-top: auto;
}



/* Центрування заголовка товару */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  text-align: center !important;
}

/* Центрування кнопки Add to cart */
.woocommerce ul.products li.product a.button {
  display: block;
  margin: 0 auto;
  text-align: center;
  background-color: #abcdef;
}
/* Зміна кольору кнопки Add to cart при наведенні */
.woocommerce ul.products li.product a.button:hover {
  background-color: #00cc00;
  color: white;
}


/* Обрізання назви товару до 2 рядків з трьома крапками */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3.2em;
}
.woocommerce ul.products li.product {
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  margin: 0;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}

/*.woocommerce ul.products li.product:hover h2.woocommerce-loop-product__title {
  -webkit-line-clamp: unset;
  height: auto;
  max-height: 100%;
  overflow: visible;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}*/

/* Розгортання підкатегорій у бічному меню */
.sidebar-section ul.product-categories li.cat-parent.open > ul.children {
  display: block;
}

.sidebar-section ul.product-categories ul.children {
  display: none;
  padding-left: 10%;
}


/* Перекриття глобального фону для підкатегорій */
.sidebar-section ul.inserted-submenu li a {
  background-color: #abcdef !important;
  color: #000 !important;
}


/* Повна нейтралізація hover у картці товару */
.single-product .product:hover,
.single-product .product *:hover,
.single-product a:hover,
.single-product .woocommerce-main .product:hover,
.single-product .woocommerce-main .product *:hover {
  background: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  outline: none !important;
  color: inherit !important;
  transform: none !important;
}
/* Add to cart по центру кнопка */
.single-product form.cart {
  display: flex;
  justify-content: center;
}
/* Забраний текст з-під кнопки Пейпалу в картці товару */
.single-product .product_meta {
  display: none !important;
}
/* Розмір кнопки Add to Cart */
.single-product .single_add_to_cart_button {
  width: 100%;
  max-width: 320px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Розмір кнопки PayPal */
.single-product .paypal-button,
.single-product .woocommerce-pp-button,
.single-product .wc-proceed-to-checkout input,
.single-product .wc-proceed-to-checkout .button {
  width: 100%;
  max-width: 120px;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  box-sizing: border-box;
}
/* Розмір заголовку в карті товару */
.single-product .product_title {
  font-size: 1.4rem !important; /* або зменшити на 20% від стандартного ~2rem */
  text-align: left;
  margin-bottom: 1rem;
}


/* Вирівнювання ціни по правому краю, збільшення */
.single-product .price {
  text-align: left;
  display: block;
  font-size: 5rem;
  margin-bottom: 2rem;
}

/* Бейдж з розміром знижки і дата до кінця знижки */
.discount-badge {
  display: inline-block;
  background: #32CD32;
  color: black;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.custom-price-badge .price del .amount {
  font-size: 1.2rem;
  color: #808080;
  text-decoration: line-through;
}
.sale-end {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.3rem;
}
.custom-price-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
}

.old-price {
  color: #888 !important;
  text-decoration: line-through !important;
  font-size: 1.2rem !important;
}

.new-price {
  color: #008000 !important;
  font-weight: bold !important;
  font-size: 2.4 rem !important;
}

.inline-discount-badge {
  background: #90EE90;
  color: black;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.9rem;
}

/* Кнопка add to cart в картці товару */
body.single-product .single_add_to_cart_button {
  background-color: #009933 !important;
  color: white !important;
  border-radius: 6px !important;
  font-size: 1.2rem !important;
  padding: 0.7rem 2rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
}

body.single-product .single_add_to_cart_button:hover {
  background-color: #00aa00 !important;
  cursor: pointer;
}
body.single-product form.cart {
  width: 100%;
  max-width: 100%;
  display: block; /* або flex */
  justify-content: center !important;
}

body.single-product .single_add_to_cart_button {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}
/* Etsy-style галерея */
.etsy-gallery-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.etsy-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 450px; /* буде рівнятись по .etsy-main-image */
  overflow-y: auto;
}

.etsy-thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.etsy-thumbnails img:hover {
  border-color: #336699;
}

.etsy-main-image {
  flex: 1;
  max-width: 500px;
  width: 100%;
  height: 450px;
  object-fit: contain;
  border: 1px solid #ddd;
}

.etsy-gallery-wrapper {
  flex: 0 0 50%;
  max-width: 50%;
}

.product-summary-wrapper {
  flex: 1;
  max-width: 50%;
}
.product-columns-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.description-toggle-wrapper {
  margin-top: 1rem;
}

.collapsed-description {
  max-height: 320px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}

.collapsed-description.expanded {
  max-height: 5000px;
}

.toggle-description-button {
  display: block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #008001;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  text-align: center;
  bottom: 0;
  left: 0;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.toggle-description-button:hover {
  background-color: #006f01 !important; /* трохи темніший зелений */
  opacity: 1 !important;
}

.toggle-description-button.hide-active {
  background-color: #2e8b57;
}
.collapsed-description {
  max-height: 220px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.collapsed-description.expanded {
  max-height: 5000px;
}

/* 🔄 Відновлення ховера для кнопки "Read more" */
.single-product .toggle-description-button:hover {
  background-color: #00aa00 !important;
  color: white !important;
  opacity: 1 !important;
}

.woocommerce ul.products li.product .button {
  position: relative;
  z-index: 3; /* вище за заголовок */
  margin-top: auto; /* штовхає кнопку нижче заголовка */
  display: inline-block;
}
.product-inner.fix-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.add-to-cart-bottom {
  margin-top: auto;
  padding-top: 1rem;
}
.product-inner.fix-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.woocommerce-loop-product__button-wrapper {
  margin-top: auto;
}
.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}


.woocommerce ul.products li.product {
  width: 23% !important; /* чотири товари в рядок з невеликим відступом */
  margin: 1% !important;
  box-sizing: border-box;
}
/* колір назви в картці товару в сітці товару. */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: black !important; /* заміни на бажаний колір */
}
.woocommerce ul.products li.product .posted_in a {
  color: black !important; /* заміни на свій колір */
}

.woocommerce-loop-category__title {
  color: black !important;
}

.woocommerce-loop-category__title:hover {
  color: black !important;
}

.woocommerce ul.products li.product .price {
  font-size: 1.1rem; /* або 16px, 18px тощо */
  color: black;
  text-align: center;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price a,
.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}
/* Кнопки Description в картці товару */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  justify-content: center;
  text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  text-align: center;
  color: white;
}
/* колір вкладок в спокої */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background-color: #abcdef;
	color: white;
}
/* Активна вкладка */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background-color: #336699;
	color: white;
	border-bottom-color: #c0c0c0;
	border-color: #c0c0c0;
}

/*Колір фону при наведенні курсору: */
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
	background-color: #336699 !important;
	color: white !important;
  	border-bottom-color: #c0c0c0;
	border-color: #c0c0c0;
}
/*блок відгуків етсі головна */

	/* Reviews section */
.etsy-reviews-wrapper {
  background: white;
  padding: 0px 0px;
  text-align: center;
  margin-bottom: 0; /* 🔧 додай цей рядок або зменш значення */
}
.etsy-reviews-wrapper .section-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}
.etsy-reviews-scroll {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.etsy-review {
  min-width: 300px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  width: 280px;
  max-width: 100%;
  box-sizing: border-box;
}
.etsy-review img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
  word-wrap: break-word;
}
.etsy-review blockquote {
  font-style: italic;
  color: #555;
  margin: 0 0 10px;
  max-height: 100px;             /* або інше значення */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;         /* кількість видимих рядків */
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}
.review-meta {
  font-size: 0.9rem;
  color: #777;
  max-width: 100%;
  word-wrap: break-word;
}
.review-meta a {
  color: #336699;
  text-decoration: none;
  margin-left: 5px;
  font-weight: 500;
}
.review-meta a:hover {
  text-decoration: underline;
}
.etsy-reviews-wrapper {
  transform: scale(0.8);        /* зменшення до 90% */
  transform-origin: center; /* щоб блок стискався до центру */
}
.star-rating {
  font-size: 1.5rem;
  color: #ffc107; /* sзолота зірка */
  margin: 8px 0;
  text-align: left;
}
.etsy-reviews-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.etsy-reviews-nav button {
  background: #009933;
  color: white;
  font-size: 1.5rem;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.etsy-reviews-nav button:hover {
  background: #009933;
}
.etsy-reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etsy-reviews-scroll {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  padding: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

.scroll-button {
  position: relative;
  top: 0;
  transform: none;
  height: 80px;
  width: 80px;
  font-size: 1.5rem;
  background-color: #336699;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-button.left {
  left: 1rem;
}

.scroll-button.right {
  right: 1rem;
}
.etsy-reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .etsy-reviews-wrapper .scroll-button:active {
  background-color: #336699 !important;
  color: white !important;
}
/* Стилі для кнопок прокрутки відгуків */
.scroll-button {
  background-color: #336699;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  height: 80px;
  width: 80px;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
}

.scroll-button:hover {
  background-color: #cce6ff;
}

.scroll-button:active {
  background-color: #336699;
}
/* категорії на годовній сторінці */
/*Налаштування сітки категорій після What are you working at right now? на головній сторінці*/
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  box-sizing: border-box;
}


.grid li.product-category {
  text-align: center;
  width: 100%;
}

/* Головний обгортковий блок */
.hero {
  padding: 60px 20px;
  background: #cce6ff;
}

/* Flex контейнер для фото + тексту */
.hero-content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  margin-top: 2rem;
  position: relative;
}

/*Блок чому ми впевнені в файлах. Фото*/
.photo-stack {
  position: relative;
  width: 400px;  /* ширина блоку */
  height: 700px; /* висота блоку */
}

.photo-stack img {
  position: absolute;
  width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* Індивідуальні позиції */
.photo-stack .photo-1 {
  top: 0;
  transform: translateX(-200px);
  z-index: 3;
}
.photo-stack .photo-2 {
  top: 200px;
  transform: translateX(0px);
  z-index: 2;
}
.photo-stack .photo-3 {
  top: 400px;
  transform: translateX(-200px);
  z-index: 1;
}
/* Текстовий блок */
.text-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 140px; /* щоб текст вирівнявся по висоті фото */
  max-width: 500px;
  margin-left: 80px;
}

.text-block h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.text-block p {
  margin: 0;
  font-size: 1.4rem;
  color: #444;
}
.checkup_logo {
	width: 80px;
	height: 80px;
}	
/*Блок підписок емейлу*/
/* Загальний блок */
.mc4wp-form {
  background-color: #336699;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Заголовок */
.mc4wp-form h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Підзаголовок */
.mc4wp-form p {
  color: #dddddd;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Поле вводу email */
.mc4wp-form input[type="email"] {
  width: 75%;
  max-width: 600px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Кнопка */
.mc4wp-form input[type="submit"] {
  background-color: white;
  color: #336699;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

/* Хувер кнопки */
.mc4wp-form input[type="submit"]:hover {
  background-color: #f5f5f5;
  color: #003366;
}
.site-footer-custom {
  width: 100%;
  background: #336699;
  padding: 2rem 0;
  color: white;
}

.site-footer-custom .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  box-sizing: border-box;
}

.site-footer-custom h4,
.site-footer-custom p,
.site-footer-custom a {
  color: white;
}

/*Пошуковик в хедері*/
#header-search input[type="search"]::placeholder {
  color: #666;
  width: 100%;
  max-width: 500px;
}
#header-search input[type="search"] {
  flex-grow: 1;
  min-width: 150px;
  height: 100%;
  font-size: 1rem;
}

#header-search {
  display: flex;
  align-items: center;
  background: white;
  padding: 0 1rem;
  border-radius: 0px !important;
  height: 30px !important;
  width: 500px;
  min-width: 500px;
  max-width: 500px;
  flex-shrink: 0;
  position: relative;
}
/*випадаючий список пропозицій в пошуковику хедера*/
.live-search-results a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: black;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.live-search-results a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.live-search-results a .info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
  min-width: 0;
}

.live-search-results a .info-container .title {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.live-search-results a .info-container .price {
  white-space: nowrap;
  font-size: 0.95rem;
  color: #007700;
  flex-shrink: 0;
}
.live-search-results a:hover {
  background-color: #f4f4f4 !important;
  color: black !important;
}
.live-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
/*кнопка корзини в хедер*/
.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-image {
  width: 23px;
  height: auto;
  margin-top: 0.3rem;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: #28a745;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}
.woocommerce a.added_to_cart {
  display: none !important;
}
/* ХХ ВмІст корзини при наведенні*/
/*кнопка корзини замість remove item в cart*/
  .woocommerce-cart .product-remove a.remove {
      text-indent: -9999px;
      position: relative;
  }

  .woocommerce-cart .product-remove a.remove::before {
      content: '';
      background: url('/wp-content/themes/files4cnc-child/assets/icons/trash.svg') no-repeat center;
      background-size: 16px 16px;
      width: 16px;
      height: 16px;
      position: absolute;
      top: 0;
      left: 0;
  }

/*Випадаюче меню з Header*/
.menu-shop {
  position: relative; /* 🔑 це ключ до вирішення */
}

.menu-shop .shop-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 9999;
  min-width: 200px;
  padding: 10px 0;
}

.menu-shop:hover .shop-dropdown {
  display: block;
}
header li ul[style*="position:absolute"],
header li ul.shop-dropdown {
  border: 0px solid #336699;
  box-sizing: border-box;
  border-radius: 0px;
  background-color: #abcdef !important;
  color: black !important;
  text-decoration: none;
}
.search-field {
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: white; /* або інший фон */
}
/*Сторінка Contact*/
 .contact-form label {
    font-size: 1.1rem;
    font-weight: 500;
  }
 /*випадаючі вкладки для секції faq*/
.faq-question {
  background: #336699;
  color: white;
  border: none;
  text-align: left;
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-radius: 0 !important;
}

.faq-answer {
  display: none;
  padding: 0.5rem 0;
  color: #333;
  padding-left: 10px;
  
}

.faq-item.active .faq-answer {
  display: block;
}
.faq-question:hover {
  color: #333; /* зміна кольору тексту */
  background-color: #abcdef; /* зміна фону */
}
.faq-question:active {
  background-color: #abcdef !important; /* фон */
  color: black !important;             /* колір тексту */
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.faq-item.active .faq-question {
  background-color: #abcdef; /* такий самий як при hover/active */
  color: black;
}
/* Явно скидаємо дефолтний фіолетовий колір */
.faq-question:focus {
  color: white;
  background-color: #336699;
  outline: none;
}
/* Обмеження ширини форми */
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register {
  max-width: 800px;
  margin: 0 auto;
  background-color: #336699;
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

/* Заголовок Login */
.woocommerce h2.woocommerce-form-login-heading {
  text-align: center;
  font-weight: bold;
  margin: 2rem auto 1.5rem;
}


/* Кнопка Login */
.woocommerce form.woocommerce-form-login button.button,
.woocommerce form.woocommerce-form-register button.button {
  background-color: #009933;
  color: white;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  display: block;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
  text-align: center;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}


.woocommerce form.woocommerce-form-login button.button:hover,
.woocommerce form.woocommerce-form-register button.button:hover {
  background-color: #00aa00;
}

.woocommerce-form-login__submit {
  display: block;
  margin: 1.5rem auto 0 auto;
  text-align: center;
}
.login-register-tabs {
  max-width: 600px;
  margin: 40px auto;
  padding: 2rem;
  background: #abcdef;
  border-radius: 8px;
}
.tab-switcher {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
}
.tab {
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: inline-block;
  color: #336699;
}
.tab.active {
  background-color: #336699;
  color: white;
  border-radius: 4px;
}
/*My account налааштування*/
/* Головний контейнер */
body.woocommerce-account.logged-in {
  background: #f7f7f7;
  color: #333;
  box-sizing: border-box;
}

/* Меню навігації (зліва) */
.woocommerce-MyAccount-navigation {
  width: 240px;
  background-color: #336699;
  padding: 2rem 1rem;
  border-radius: 8px;
  color: white;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 1rem;
}

.woocommerce-MyAccount-navigation li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
  background-color: #285280;
}

/* Контент справа */
.woocommerce-MyAccount-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  flex-grow: 1;
  min-width: 0;
}

/* Контейнер макета: флекс лише після входу */
body.woocommerce-account.logged-in .woocommerce {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap; /* ❗️Головне: не wrap */
  align-items: flex-start;
}
/*Кнопка Забули пароль*/
.login-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0 0.5rem;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: white;
  margin: 0; 
}
.lost_password_link {
  justify-self: end !important;
  display: flex;
  font-size: 0.9rem;
  color: white;
  text-decoration: none !important;
  margin: 0;
  line-height: 1;
}
.lost_password_link:hover {
  text-decoration: underline;
}
.woocommerce-form__input-checkbox {
  vertical-align: middle;
  margin: 0;
}
/*Скидання паролю*/
/* Обгортка всієї форми */
form.woocommerce-ResetPassword {
  max-width: 800px;
  margin: 5rem auto 0 auto;
  background-color: #336699;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Заголовок форми */
form.woocommerce-ResetPassword h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 2rem;
  color: white;
}

/* Повідомлення під заголовком */
form.woocommerce-ResetPassword p:first-of-type {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

/* Контейнер поля вводу (виправляємо float від Woo) */
form.woocommerce-ResetPassword p.woocommerce-form-row.form-row.form-row-first {
  float: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Мітка поля */
form.woocommerce-ResetPassword p.woocommerce-form-row label {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: white;
}

/* Поле введення */
form.woocommerce-ResetPassword input.woocommerce-Input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  display: block;
}

/* Кнопка */
form.woocommerce-ResetPassword button.button {
  background-color: #009933;
  color: white;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  display: block;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
  margin: 0 auto;
}

form.woocommerce-ResetPassword button.button:hover {
  background-color: #00aa00;
  color: black;
}
.woocommerce-page .entry-title {
  display: none;
}
.woocommerce-page .site-main {
  padding-top: 10px; /* або фактична висота твого хедера */
}
/*Зміна паролю поле введення двох паролів*/
form.woocommerce-ResetPassword p.form-row-first,
form.woocommerce-ResetPassword p.form-row-last {
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  box-sizing: border-box;
}
/*чекаут*/
/* Контейнер checkout */
.woocommerce-checkout {
  background-color: white;
  border-radius: 8px;
  color: black;
}

/* Заголовок "Your order" */
#order_review_heading {
  text-align: center;
  font-weight: bold;
  margin-bottom: 2rem;
  color: black;
}

/* Блок із білінгом */
#customer_details {
  max-width: 100%;
  margin: 0 auto 3rem auto;
}

/* Рядки в таблиці замовлень */
.woocommerce-checkout-review-order-table tr {
  border-bottom: 1px solid #ccc;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.75rem;
  text-align: left;
}

/* Назва товару + зображення */
.woocommerce-checkout-review-order-table .product-name {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Зображення товару */
.woocommerce-checkout-review-order-table .product-name img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Купон — контейнер */
.custom-coupon-box {
  background-color: #336699;
  padding: 1.5rem;
  margin: 2rem auto;
  border-radius: 8px;
  max-width: 100%;
  color: white;
}
/* Поле купону */
/* Кнопка застосування */

.coupon-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}
.form-row.form-row-first_coupon {
 width: 60% !important;
 text-align: left !important;
}
.form-row.form-row-last_coupon {
 width: 40% !important;
 text-align: left !important;
 margin-left: 3rem;
}
.coupon-flex-wrapper .input-text {
  width: 100% !important;
  font-size: 1.1rem !important;
  border-radius: 4px !important;
}

.coupon-flex-wrapper .button {
  border-radius: 4px;
  background-color: #009933 !important;
  color: white !important;
  border: none;
  font-weight: bold;
  font-size: 1.3rem !important;
  cursor: pointer;
  transition: background 0.3s ease;
}
.coupon-flex-wrapper .input-text,
.coupon-flex-wrapper .button {
  padding: 0.75rem 1rem !important;
  line-height: 1.6 !important;
  box-sizing: border-box !important;
  height: auto !important;
}
.coupon-flex-wrapper .button:hover {
  background-color: #00aa00 !important;
  color: black !important;
}

/* Контейнер списку товарів */
.woocommerce-checkout-review-order-table {
  width: 100%;
  background: #abcdef;
  color: #333;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
}
/* Текст над формою */
.have_a_coupon {
  color: white;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}
/* форма перевірки товару в чекаут */
.header_checkout_product {
 background: white;
}
.body_checkout_product {
 background: white;
}
.order-total {
 background: white;
}
.cart-subtotal {
 background: white;
}
/* розбивка ревю і пеймент */
.checkout-main-wrapper {
  display: flex;
  flex-direction: column;
}

#checkout-top-blocks {
  order: 1;
}

#checkout-bottom-blocks {
  order: 2;
  margin-top: 3rem;
}
/*вирівнювання по центру зірочок в картках товару (категоріях)*/
.woocommerce ul.products li.product .star-rating {
  display: block;
  margin: 0 auto;
  float: none !important;
}

/* Бургер — мобільний хедер */
/* Базове правило — приховати бургер на десктопі */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}
/*текст фронт пейдж банер*/
  .banner-home-h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  text-align: center;
  color: black;
  }
  .banner-home-h2 {
	font-size: 1rem;
	margin: 0.5rem 0 1rem;
	color: black;
	line-height: 1.6;
	text-align: right;
	align-self: right;
 }
  .banner-home-button {
  background: #0066cc;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  align-self: right;
  transition: all 0.2s ease-in-out;
}
	.product-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	  gap: 1.5rem;
	}
/*Мобільна версія розмір тексту банера хоум*/
@media (max-width: 768px) {
	/* Для мобільної адаптації */
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }

  .woocommerce-MyAccount-navigation {
    width: 100%;
  }
  .banner-home-h2 {
	font-size: 1rem;
	margin: 0.5rem 0 1rem;
	color: black;
	line-height: 1.6;
	text-align: center;
	align-self: center;
  }

  .banner-home-h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  text-align: center;
  color: black;
	}
  
  .banner-home-button {
  background: #0066cc;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  align-self: center;
  transition: all 0.2s ease-in-out;
	}
	/*Сітка категорій на головній*/
	.grid {
	grid-template-columns: repeat(2, 1fr);
	}
	  .grid .product p {
    display: none;
  }
  /*Блок відгуків головна*/
  .etsy-review {
    flex: 0 0 47%;       /* ← два в ряд (2 x 47% + gap ≈ 100%) */
    min-width: 47%;
    max-width: 47%;
    font-size: 0.7rem;
    padding: 0.5rem;
  }

  .etsy-reviews-scroll {
    gap: 0.8rem;           /* залишаємо або зменш до 0.8rem */
    padding: 0.5rem;
  }

  .scroll-button {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .etsy-reviews-wrapper .section-heading {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .etsy-reviews-wrapper {
    transform: none;       /* прибираємо scale, бо воно все зменшує */
  }

  /*Блок Whe know what we sell*/
    .hero-content-wrapper {
    display: flex;
	flex-direction: column;
    align-items: center;
	gap: 1rem !important;
  }

  .photo-stack {
    position: static !important;
    width: 100% !important;
    height: auto !important;
		display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
  }

	.photo-stack img {
	  width: 100% !important;
	  max-width: 300px; /* або будь-який інший максимум */
	  height: auto !important;
	  border-radius: 8px;
	  position: static !important;
	  box-shadow: none !important;
	}
  .text-block {
		display: block !important;
		margin-left: 0 !important;
		max-width: 100% !important;
		gap: 0 !important;
	text-align: center;
	margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0 1rem;
  
}
  .text-block h2 {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem;
    text-align: center !important;
  }

  .text-block p {
    font-size: 0.85rem !important;
    line-height: 1.4;
	text-align: center !important;
  }
    .photo-2,
  .photo-3 {
    display: none !important;
  }
	.photo-1 {
	  display: block;
	  margin: 0 auto;
	  max-width: 80%;
	  height: auto;
	      transform: none !important;
  }
  /* Мобільна адаптація бургер меню*/
  .burger {
    display: block;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #336699;
    width: 100%;
    display: none;
    z-index: 1000;
    flex-direction: column;
  }

  header nav.show {
    display: flex !important;
  }

  header nav ul.main-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    margin: 0;
  }

  header nav ul.main-menu li {
    padding: 0.5rem 0;
    text-align: center;
  }
  header nav ul.main-menu li ul {
    display: none !important;
  }

  header nav ul.main-menu li:focus-within > ul,
  header nav ul.main-menu li:hover > ul {
    display: none !important;
  }
		/*к-ть товарів в сітці товарів моб.*/
	  .woocommerce ul.products li.product {
		width: 30% !important;  /* 3 товари + відступи */
		margin: 1% !important;
	  }
			/*вирівнювання кнопки меню в хедері моб верс.*/
		.burger, .burger span {
		  margin: 0;
		  padding: 0;
		  vertical-align: middle;
		}


			.burger {
		  display: flex;
		  align-items: center;
		  justify-content: center;
		  gap: 0.3rem;
		  background: none;
		  border: none;
		  color: white;
		  font-family: inherit;
		  line-height: 1;             /* ← ключовий момент */
		  padding: 0;                 /* прибрати зайвий внутрішній відступ */
		}
		.burger:hover, .burger:focus {
		background: #336699 !important;
		}

		.burger-label {
		  font-size: 1rem;
		  line-height: 1;
		}

		.burger-icon {
		  font-size: 2rem;
		  line-height: 1;
		  display: flex;
		  align-items: center;
		}

  .my-account-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
  
  
	  /*мобільне меню каталог*/
	/* Стилі для кнопки в мобільному */
	
	/* Кнопка меню */
.mobile-sidebar-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  transform-origin: top left;
  background-color: #336685;
  color: white;
  padding: 0.5rem 0.5rem;
  border: none;
  border-radius: 0 4px 4px 0;
  z-index: 2000;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: vertical-rl;
}

.mobile-sidebar-tabs-container.active ~ .mobile-sidebar-toggle {
  left: 250px;
}


.mobile-sidebar-toggle:hover,.mobile-sidebar-toggle:active,
.mobile-sidebar-toggle:focus {
	background: #336685;
}

/* Бокове меню */
.mobile-sidebar-tabs-container {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #f5f5f5;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 1500;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #336685;

}

.mobile-sidebar-tabs-container.active {
  left: 0;
}

/* Вкладки зверху меню */
.mobile-sidebar-tabs {
  display: flex;
  justify-content: space-around;
  background-color: #336685;
  padding: 0.5rem 0;
}

.tab-button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 0.5rem;
  cursor: pointer;
}

.tab-button.active {
  border-bottom: 3px solid white;
  font-weight: bold;
}
.tab-button:focus,.tab-button:active,.tab-button:hover {
  background: none;
}
/* Контент вкладок */
.mobile-sidebar-content {
  padding: 1rem;
}

.mobile-sidebar-content.hidden {
  display: none;
}

/* Стилі пунктів меню */
.mobile-sidebar-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.mobile-sidebar-content ul li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  background-color: #336685;
  color: white;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mobile-sidebar-content ul li a:hover {
  background-color: #285280;
}

/* Підкатегорії, якщо є */
.mobile-sidebar-content ul.children a {
  background-color: #abcdef;
  color: black;
  font-size: 0.95rem;
}
    .sidebar-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  /*Мобільні галерея товару*/
  .mobile-gallery-wrapper {
    width: 100%;
    padding: 0 10%;
    box-sizing: border-box;
    margin-bottom: 1rem;
  }

  .main-swiper-mobile,
  .thumbs-swiper-mobile {
    width: 100%;
  }

  .main-swiper-mobile {
    margin-bottom: 0.5rem;
  }

  .swiper-container {
    overflow: hidden;
  }

  .swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
  }

  .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .main-swiper-mobile img,
  .thumbs-swiper-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }

  .thumbs-swiper-mobile {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .thumbs-swiper-mobile .swiper-slide {
    flex: 0 0 25%;
    cursor: pointer;
  }
      /* Контейнер товарів у мобільній версії */
    .woocommerce ul.products li.product {
        width: 48% !important;  /* два товари в ряд */
        margin: 1% !important;  /* проміжок між товарами */
    }

    /* Якщо картинки обмежені своїм контейнером — розтягнути */
    .woocommerce ul.products li.product img {
        width: 100%;
        height: auto;
    }

  .etsy-gallery-wrapper {
    display: none !important;
  }
    .product-columns-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
	width: 80% !important;
    margin: 0 auto;
  }
    .product-summary-wrapper {
    max-width: 100% !important;
    width: 100%;
  }
	.woocommerce-tabs.wc-tabs-wrapper {
	  max-width: 80% !important;
	  width: 80%;
	  margin: 0 auto; /* ЦЕНТРУЄ БЛОК */
	  text-align: center; /* ЦЕНТРУЄ ВНУТРІШНІЙ ТЕКСТ */
	}
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    gap: 0; /* Забороняємо міжелементні відступи */
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0.4rem 0.2rem; /* менш товсті кнопки */
    font-size: 0.85rem; /* адаптивне зменшення */
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
	border-radius: 0 !important;
  }
#tab-title-additional_information a {
  white-space: normal;
  word-break: break-word;
  text-align: center;
  line-height: 1.2;
  font-size: 0.85rem; /* За потреби зменш */
  padding: 0.4rem 0.2rem; /* Можна трохи зменшити вертикальні падінги */
}
  .custom-coupon-box {
    padding: 1rem;
    margin: 1rem auto;
    border-radius: 6px;
    font-size: 0.8rem;
  }
/*Чекаут, розмір блоку з купоном*/
  .coupon-flex-wrapper {
    flex-direction: column;     /* замість рядка — колонка */
    max-width: 100% !important;
    gap: 0.75rem;               /* невеликий проміжок між полем і кнопкою */
  }

  .form-row.form-row-first_coupon,
  .form-row.form-row-last_coupon {
    width: 100% !important;
    margin-left: 0 !important;
    text-align: center !important;
  }

  .coupon-flex-wrapper .input-text {
    font-size: 0.9rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 3px !important;
  }

  .coupon-flex-wrapper .button {
    font-size: 1rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 3px !important;
    width: 100%;                /* кнопка на всю ширину */
  }
    .woocommerce table.shop_table td {
    font-size: 0.7em !important;   /* орієнтовно -30% */
    line-height: 1.3 !important;
  }
    .woocommerce table.shop_table th {
    font-size: 0.8em !important;   /* приблизно -30% */
    font-weight: 600;              /* можна залишити напівжирним, щоб читалось */
    line-height: 1.3;
  }
/*кінець моб версії*/
}








/*приховання кнопки каталог в десктопі*/
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
    .mobile-sidebar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
    .mobile-menu-toggle,
	.mobile-sidebar-toggle,
  .mobile-sidebar,
  .mobile-sidebar-tabs-container,
  .mobile-sidebar-tabs-container *,
  #tab-catalog {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
    .main-swiper-mobile,
  .thumbs-swiper-mobile {
    display: none !important;
  }
   .mobile-gallery-wrapper {
    display: none !important;
  }
}

/* 🔧 Відступ під fixed header та усунення стрибка */
main {
  transition: padding-top 0.3s ease;
}

main > *:first-child {
  margin-top: 0 !important;
}
/* Значок Sale! у списку товарів */
.woocommerce ul.products li.product .onsale {
    background-color: #00cc00; /* колір фону */
    color: #fff;               /* колір тексту */
    font-size: 10px;           /* розмір шрифту */
    font-weight: bold;         /* жирний шрифт */
    padding: 4px 8px;         /* відступи всередині */
    border-radius: 50%;        /* форма: 50% — круг, 0 — квадрат */
    top: 5px;                 /* відступ зверху */
    right: 5px;               /* відступ справа */
    left: auto;                /* прибираємо, якщо тема ставить зліва */
}


.woocommerce form.register {
	text-align: center;
	font-size: 0.8rem;
}
.f4c-inline-error {
  margin: .35rem 0 0;
  font-size: .92em;
  padding: .5em .75em;
}