/*
Theme Name: RoastOne Child
Theme URI: http://example.com/storefront-child/
Template: storefront
Description: Мій перший дочірній тема WooCommerce
Author: Ваше Ім’я
Author URI: http://example.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap");
@import url("assets/styles/tasting_sets.css");
@import url("assets/styles/product_details_page.css");
@import url("assets/styles/my_account.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sofia Sans", serif;
  color: black;
}

a {
  color: black;
}

button:focus,
a:focus,
button:active,
a:active {
  outline: none;
}

/* Забезпечуємо, щоб сторінка займала всю висоту екрану */
/* Основний контейнер сайту */
#page {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .col-full {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (min-width: 768px) {
  .col-full {
    max-width: 1180px;
  }

  .left-sidebar .widget-area {
    width: 32.37%;
    float: left;
    margin-right: 1.53%;
  }

  .left-sidebar .content-area {
    width: 66.1%;
    float: right;
    margin-right: 0;
  }
}

/* Sidebar logic */

/* Сховати сайдбар на всіх сторінках, де не є категорії "кофе" або "купажі" */
body:not(.post-type-archive-product):not(.tax-product_cat.term-coffee):not(
    .tax-product_cat.term-blends
  )
  #secondary {
  display: none;
}

/* Збільшити ширину основного контенту, якщо сайдбар схований */
body:not(.post-type-archive-product):not(.tax-product_cat.term-coffee):not(
    .tax-product_cat.term-blends
  )
  #primary {
  width: 100%;
}

body .site-main ul.products.columns-3 li.product {
  width: 32.147%;
  float: left;
  margin-right: 5.8823529412%;
}

.woocommerce-ordering {
  margin-right: 0 !important;
}

.main-navigation ul li a,
a {
  transition: all 0.2s ease;
}

.main-navigation ul li a:hover,
a:hover {
  color: #93997a;
}

.header {
  position: fixed;
  z-index: 9999;
  width: 100%;
}

.header-icons .icon-link img {
  transition: filter 0.2s ease;
}

.header-icons .icon-link:hover img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(2283%)
    hue-rotate(31deg) brightness(88%) contrast(93%);
}

.header-icons .icon-link.cart {
  position: relative;
}
.header-icons .icon-link.cart .cart-count {
  position: absolute;
  top: -13px;
  right: -15px;
}
.woocommerce .products .product {
  border: 1px solid #000000; /* Light border */
  padding: 0;
  border-radius: 34px;
  transition: all 0.3s ease;
  justify-content: space-between;
}

.woocommerce .products .product .attachment-woocommerce_thumbnail {
  width: 162px;
  height: 162px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 16px;

  object-fit: contain;
  object-position: bottom;
}

.woocommerce .products .product .attachment-woocommerce_thumbnail img {
  width: 162px;
  height: 162px;
  object-fit: contain;
  object-position: bottom;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link > .price {
  display: none !important; /* Приховуємо тільки ціну в картці товару */
}

.woocommerce ul.products li.product .woocommerce-loop-product__link:hover {
  color: black;
}

.woocommerce div.product .single_variation_wrap .price {
  display: block !important; /* Залишаємо ціну в single_variation_wrap */
}

.woocommerce .products .product .woocommerce-loop-product__title {
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.taste-colors {
  position: absolute;
  top: 70px;
  left: 2px;
}

.taste-profile {
  text-align: left;
  margin-bottom: 22px;
}

.taste-item {
  position: relative;
}

.taste-label {
  position: absolute;
  left: 24px; /* Розташування справа від кольору */
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  display: none;
}

.taste-item:hover .taste-label {
  display: block;
}

.taste-value {
  text-transform: none;
  line-height: 100%;
}

.attributes-group {
  display: flex;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 14px;
  gap: 6px;
}

.product-info {
  padding: 0 36px;
  text-transform: uppercase;
}

.product-info p {
  margin: 0;
}

ul.products li.product .product-info img {
  border-radius: 0;
  margin: 0;
}

.attribute-icons {
  display: flex;
}

.swatch-group {
  display: flex;
  text-align: start;
  justify-content: space-between;
}

.swatch-group .swatch-container:nth-child(2) {
  width: 61px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
}

.weight-swatches,
.quantity-swatches {
  display: flex;
  gap: 14px;
}

.weight-swatch,
.quantity-swatch {
  font-size: 14px;
  font-weight: 400;
  border: 1px solid black;
  border-radius: 12px;
  padding: 3px 6px 0px 6px;
  margin: 0;
  color: black;
  line-height: 16px;
  font-family: "Sofia Sans", serif;
  background-color: transparent;
}

.weight-swatch:hover,
.quantity-swatch:hover {
  border: 1px solid black;
}

.weight-swatch.active,
.quantity-swatch.active {
  background-color: #d6deb7;
}

.single_variation_wrap {
  border-top: 1px solid black;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 34px;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.price-display {
  padding: 12px 0px 12px 34px;
  margin: 0;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 100%;
}

.woocommerce-variation-add-to-cart {
  height: auto;
}

.add_to_cart_wrapper {
  position: relative;
}

.product-type-variable .add_to_cart_wrapper {
  height: 100%;
}

.add_to_cart_conent {
  cursor: pointer;
  font-size: 20px;
  display: flex;
  height: 100%;
  width: 128px;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 0, 0);
  border-radius: none;
  border: none;
  clip-path: polygon(15% 0, 100% 0%, 100% 100%, 0% 100%);
}

.product button.loading {
  position: absolute;
}

.product button:disabled:hover {
  opacity: 1 !important;
}

.product button.loading::after {
  display: none;
}

.add_to_cart_wrapper button {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 20px; 
  font-style: italic;
  display: flex;
  height: 100%;
  width: 127.2px;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #93997a;
  border-radius: none;
  border: none;
  clip-path: polygon(15% 0, 100% 0%, 100% 100%, 0% 100%);
  color: black;
  transition: all 0.2s ease-in;
}

.disabled.add-to-cart-fake {
  opacity: 1 !important;
}

.add_to_cart_wrapper button:hover {
  background-color: #d5e0af;
}

.single_variation_wrap .price,
.single_variation_wrap .custom-price {
  padding: 16px 0 16px 34px;
}
.single_variation_wrap .woocommerce-variation.single_variation,
.product:not(.product_cat-pyramids) .single_variation_wrap .woocommerce-variation-add-to-cart {
  display: none;
}

.single_variation_wrap .custom-price .price {
  padding: 0;
}

.single_variation_wrap .custom-price {
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 24px;
}
.product-type-variable .single_variation_wrap .add_to_cart_wrapper.custom {
  height: auto;
}
.custom-variations {
  display: flex;
  justify-content: space-between;
  text-align: left;
  padding: 0 34px 20px 34px;
  height: 83px;
}

.grind-image-container {
  padding-top: 5px;
}
.custom-variations .grind-image-container img.grind-image {
  margin: 0 auto;
}

.custom-variations > div:nth-child(2) {
  width: 61px;
}

.product a.reset_variations {
  display: none !important;
}

.stock.in-stock,
.product .quantity {
  display: none !important;
}

.product form {
  margin: 0;
}

.variations_form.cart {
  text-transform: uppercase;
}

body ul.products li.product .price {
  margin-bottom: 0;
  color: black;
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  line-height: 100%;
}

.weight-options,
.quantity-options {
  display: flex;
  gap: 12px;
}

.added_to_cart.wc-forward {
  display: none !important;
}

.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
}

ul.products:not(.swiper-wrapper) li.product {
  display: flex;
  flex-direction: column; /* Вирівнюємо елементи по вертикалі */
  height: auto; /* Для прикладу, встановлюємо висоту контейнера */
  width: 100%;
  margin-bottom: 24px !important;
  margin-right: 21px !important;
  min-height: 510px;
}

ul.products li.product .variations_form.cart {
  margin-top: auto;
}

ul.products li.product .variations_form.cart:has(.bundle-items) {
  margin-top: initial;
}

ul.products li.product:has(.bundle-items) {
  justify-content: end;
}

.product .wlfmc-action i:after {
  top: calc(50% - 1.2em);
  left: 0.15em;
  width: 1.5em;
  height: 1.5em;
}

.site-header .site-search {
  display: none;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.woocommerce-active .site-header .site-branding {
  width: 100%;
}

.main-navigation ul.nav-menu > li > a {
  padding: 0;
}

.main-navigation ul.nav-menu {
  margin: 0;
}

.main-navigation {
  width: auto;
  text-transform: uppercase;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
}

/* .sub-menu .menu-item a {
  background-color: rgb(255, 255, 255);
  border: 1px solid black;
  border-radius: 45px;
} */

.main-navigation ul.nav-menu ul li a {
  padding: 1px 16px;
  font-style: normal;
}

.main-navigation ul.nav-menu .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: white;
  border-radius: 16px;
  border: 1px solid black;
  overflow: hidden;
}

.main-navigation ul.nav-menu .sub-menu .menu-item {
  padding: 0;
}

.header {
  background-color: #d6deb7;
  padding: 20px 0;
  margin-bottom: 32px;
}

.nav-menu li {
  position: relative;
  padding: 0 17px;
}

.col-full::before,
.col-full::after {
  display: none;
}

.header-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header-icons .wlfmc-products-counter-wrapper {
  width: fit-content;
}
.header-icons .wlfmc-products-counter-wrapper a.wlfmc-products-counter{
  position: relative;
}
.header-icons a.wlfmc-products-counter .wlfmc-counter-number {
  position: absolute;
  top: -28px;
  right: -8px;
}
body .site-main ul.products.columns-2 li.product {
  width: 48.5%;
  margin-right: 24px;
}

.site-footer {
  background-color: #d6deb7;
  padding: 50px 0 100px 0;
}

.social-links {
  display: flex;
  gap: 16px;
}

.logo-and-socials {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-addresses {
  max-width: 438px;
  color: black;
  font-size: 15px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a,
.site-footer a:not(.button):not(.components-button) {
  text-decoration: none;
  color: black;
  font-size: 15px;
  line-height: 100%;
}

.footer-addresses strong {
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.site-footer .secondary-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer address {
  margin: 0;
  font-style: normal;
}
.site-footer .production-address {
  border: 1px solid black;
  padding: 6px 18px;
  border-radius: 45px;
  margin-bottom: 18px;
}

.site-footer .cafes-addresses {
  margin-left: 18px;
}

.site-footer .cafes-addresses [itemprop="address"] address {
  display: block;
  margin-bottom: 12px;
}

.site-footer .cafes-addresses [itemprop="address"] address:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-and-socials {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  footer .footer-catalog .catalog-title {
    margin-left: 0;
  }

  .footer-addresses {
    text-align: left;
  }

  footer .site-branding-logo img {
    max-width: 80px;
  }
}

.woocommerce-products-header {
  display: none;
}

.storefront-breadcrumb {
  margin-bottom: 44px !important;
  padding: 110px 0 0 0 !important;
}

.onsale {
  display: none !important;
}

.storefront-collections {
  border-radius: 5px;
  margin-bottom: 42px;
  text-transform: uppercase;
  font-weight: 400;
  font-style: italic;
  font-size: 17px;
}

.collections-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center; /* Центрує елементи в рядку */
}

.collections-list li {
  display: inline-block;
}

.collections-list li a {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
  transition: color 0.3s ease;
  font-style: italic;
}

.collections-list li a.active {
  font-weight: 500;
  color: #D4DFAE;
}

.collections-list li a:hover {
  color: #D6DEB7;
}
.collections-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Між елементами */
}

.collections-list > li {
  position: relative;
}

.collections-list > li > a {
  text-decoration: none;
  display: block;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}



.collections-list .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #000;
  list-style: none;
  margin: 0;
  min-width: 180px;
  z-index: 1000;
  width: fit-content;
  border-radius: 16px;
  gap: 4px;
  flex-direction: column;
}
.collections-list .dropdown li {
  width: max-content;
}


.collections-list .dropdown li a {
  display: block;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  padding: 1px 16px;
}

.collections-list .dropdown li a:hover {
  background-color: rgba(0, 0, 0, 0.025);
  color: #93997a;
}

.collections-list > li.sets:hover .dropdown {
  display: flex;
}
.collections-list > li.sets a:hover svg path{
  stroke: #D6DEB7;
}


.collections-list .sets-arrow {
  margin-left: 5px;
}
.collections-list .sets a.active svg path {
  stroke: #D6DEB7;
}

.woocommerce-breadcrumb span::after,
.woocommerce-breadcrumb a::before {
  display: none !important;
}

.woocommerce-breadcrumb {
  font-weight: 700;
}

.woocommerce-breadcrumb a {
  text-decoration: none !important;
  color: black !important;
  font-weight: 400 !important;
  transition: color 0.3s ease;
}

.woocommerce-breadcrumb a:hover {
  color: #93997a;
}

/* Product Filter */

#secondary .filters-wrapper {
  border: 1px solid black;
  border-radius: 34px;
  margin-top: 36.65px;
}
#secondary .filters-wrapper {
  background-color: #d6deb777;
  border-radius: 34px;
}
#secondary .filters-wrapper .filters-title {
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  line-height: 16.8px;
  padding: 20px 28px 16px 28px;
  border-bottom: 1px solid black;
  color: black;
}

#secondary .filters-content {
  padding: 28px 28px 42px 28px;
  margin-block-start: 0;
}

#secondary .filters-content .berocket_single_filter_widget {
  margin-block-start: 0;
}

#secondary .filters-content h3 {
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  line-height: 16.8px;
  color: black;
}

#secondary .filters-content .bapf_body ul {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  column-gap: 8px;
}

#secondary .filters-content .bapf_hideckbox li input + label {
  color: black;
  border: 1px solid black;
  border-radius: 12px;
  padding: 2px 12px;
  margin: 0;
  transition: all 0.2s ease-in-out;
}

#secondary .filters-bottom {
  border-top: 1px solid black;
  margin-block-start: 0;
}

.bapf_hideckbox li input:checked + label,
.bapf_hideckbox li input:checked + label a {
  background-color: #d6deb7;
}

.irs--round .irs-bar {
  background-color: black;
}

.bapf_slidr.bapf_slidr_btmval .irs-handle {
  top: 5px;
  border: 1px solid black;
}

.irs--round .irs-to,
.irs--round .irs-from,
.irs--round .irs-handle,
.irs--round .irs-single {
  cursor: ew-resize;
  background-color: transparent;
  color: black;
}

.irs--round .irs-to::before,
.irs--round .irs-from::before,
.irs--round .irs-single::before {
  display: none;
}

.irs--round .irs-handle {
  border: none;
  background-color: #d6deb7;
  width: 14px;
  height: 14px;
}

.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:hover {
  background-color: #93997a;
}

/* Sorting */

.storefront-sorting {
  margin-bottom: 12px !important;
  display: flex;
  justify-content: flex-end;
}

.storefront-sorting .woocommerce-ordering {
  padding: 0;
  float: none;
}

.sort-name {
  margin-right: 10px;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 200px;
}

.dropdown {
  position: relative;
  width: 100%;
}

.dropdown-toggle {
  width: 100%;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #d6deb7;
  border: 1px solid black;
  border-radius: 100px;
  padding: 0 16px;
  transition: all 0.2s ease-in-out;
  font-weight: 400;
  color: black;
}

.dropdown-toggle:hover {
  border: 1px solid black;
  background-color: #d6deb7;
}

.dropdown-toggle .arrow {
  width: 8px;
  height: 8px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.dropdown.open .dropdown-toggle .arrow {
  transform: rotate(135deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  z-index: 12;
}

.dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-menu li {
  cursor: pointer;
  transition: background 0.2s ease;

  background-color: white;
  border: 1px solid black;
  border-radius: 100px;
  padding: 0 16px;
}

.dropdown-menu li:hover {
  background-color: #e7e7e7;
}

.dropdown-menu li.active {
  background-color: #cecece;
  cursor: not-allowed;
}

.woocommerce-result-count {
  display: none !important;
}

/* Simple Product */
.product-description {
  text-align: left;
  padding: 0 36px;
  line-height: 16px;
}

.product-description p,
.product-extra-info p {
  margin-bottom: 12px;
}

.product-extra-info {
  text-align: left;
  padding: 0 36px;
}

.product-extra-info strong {
  text-transform: uppercase;
}

.custom-product-weight {
  position: absolute;
  top: 26px;
  left: 36px;
  text-transform: uppercase;
  line-height: 16px;
}

.tea-product-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.custom-prev,
.custom-next {
  position: absolute;
  top: 56.5%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.custom-prev:hover,
.custom-next:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.swiper-initialized .custom-prev,
.swiper-initialized .custom-next {
  opacity: 1;
  visibility: visible;
}

.custom-prev.swiper-button-disabled,
.custom-next.swiper-button-disabled {
  opacity: 0;
}

.custom-prev {
  left: 60px;
}

.custom-next {
  right: 60px;
}

/* Приховуємо стандартну кнопку при завантаженні */
.single_add_to_cart_button.button.alt {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Показуємо кастомну кнопку, коли сторінка завантажена */
.custom-add-to-cart-button {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Показуємо кастомну кнопку після ініціалізації */
.page-loaded .custom-add-to-cart-button {
  visibility: visible;
  opacity: 1;
}

.bundle-product-description{
  font-weight: 600;
}

.product-description.bundle-description {
  margin-bottom: 12px;
}

.bundle-items ul {
  margin: 0;
  border: 1px solid black;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
}



/* Стиль для окремих сторінок пагінації */
body .woocommerce-pagination .page-numbers li .page-numbers
 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #F0F0F0;
    color: #333;
    border-radius: 25px; /* Заокруглення кнопок */
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 40px ;
    height: 40px;


}



/* Стиль для поточної сторінки (активна кнопка) */
body .woocommerce-pagination .page-numbers li .page-numbers.current {
    background-color: #D6DEB7; /* Акцентний колір */
    color: #fff;
    font-weight: bold;
    display: inline-block;
    margin: 0 5px;
    color: #333;
    border-radius: 25px; /* Заокруглення кнопок */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Підсвітка кнопок при наведенні */



/*Стилізація селект помелу*/

.custom-select-wrap #pa_grind {
  display: none;
}


.custom-select-wrap .custom-select {
  position: relative;
  width: 250px;
  user-select: none;
  font-family: inherit;
}
.custom-variations label[for="pa_grind"],
#grind-modal-content label[for="pa_grind"]{
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
}
.custom-variations label[for="pa_grind"]::after,
#grind-modal-content label[for="pa_grind"]::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 7L9 1' stroke='black'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 10px;
  height: 8px;
  display: inline-block;
  position: absolute;
  top: 21%;
  margin-left: 4px;
}
.custom-select-wrap .selected {
  padding: 2px;
  background-color: #fff;
  max-width: 90px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.custom-select-wrap .grind-image {
  max-width: 90px;
}
.custom-select-wrap img.grind-image{
  max-width: 35px;
  margin: 0;
  max-height: 35px;
}
.custom-select-wrap .options {
  display: none;
  position: absolute;
  top: 100%;
  left: -118px;
  list-style: none;
  padding: 0;
  z-index: 999;
  margin: 0;
  max-width: 210px;
  width: 100%;
}

.custom-select-wrap .options li {
  padding: 0 20px;
  background: #fff;
  margin-top: 5px;
  border-radius: 34px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: 1px solid #000;
  text-transform: initial;
}

.custom-select-wrap .options li:hover {
  background: #D6DEB7;
}

.call-widget {
  z-index: 2;
}
.swiper-button-next.gallery-button-next {
  right: 0;
}
.swiper-button-next.gallery-button-next,
.swiper-button-prev.gallery-button-prev {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.single-product div.product .woocommerce-product-gallery .swiper-button-disabled {
  visibility: hidden;
}
.swiper-button-next.gallery-button-next:hover,
.swiper-button-prev.gallery-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.swiper-button-next.gallery-button-next::after {
  display: inline-block;
  width: 21px;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='21' height='8' viewBox='0 0 21 8' fill='none'><path d='M20.3536 4.35356C20.5488 4.15829 20.5488 3.84171 20.3536 3.64645L17.1716 0.464468C16.9763 0.269205 16.6597 0.269205 16.4645 0.464468C16.2692 0.65973 16.2692 0.976312 16.4645 1.17157L19.2929 4L16.4645 6.82843C16.2692 7.02369 16.2692 7.34027 16.4645 7.53554C16.6597 7.7308 16.9763 7.7308 17.1716 7.53554L20.3536 4.35356ZM0 4.5L20 4.5L20 3.5L0 3.5L0 4.5Z' fill='black'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
}
.swiper-button-prev.gallery-button-prev {
  left: 0;
}
.swiper-button-prev.gallery-button-prev::after {
  display: inline-block;
  width: 21px;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg width='21' height='8' viewBox='0 0 21 8' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0.646446 3.64644C0.451185 3.84171 0.451185 4.15829 0.646446 4.35355L3.82843 7.53553C4.02369 7.73079 4.34027 7.73079 4.53553 7.53553C4.7308 7.34027 4.7308 7.02369 4.53553 6.82843L1.70711 4L4.53553 1.17157C4.7308 0.976309 4.7308 0.659727 4.53553 0.464465C4.34027 0.269202 4.02369 0.269202 3.82843 0.464465L0.646446 3.64644ZM21 3.5L1 3.5L1 4.5L21 4.5L21 3.5Z' fill='black'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
}
.single-product div.product .woocommerce-product-gallery .swiper-wrapper img {
  margin: 0 auto;
  max-width: 85%;
}
.single-product div.product .woocommerce-product-gallery .swiper-wrapper {
  align-items: center;
}

/*Подарункові набори*/
.product.product_cat-gifts-sets .product-description{
  text-align: center;
}


@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(5px); }
}
.product .custom-variations:last-child .shake,
.product .custom-variations .grind-wrapper.shake
{
  animation: shake 0.3s ease-in-out;
}

.footer-catalog .catalog-title {
    text-transform: uppercase;
    border: 1px solid #000000;
    padding: 4px 9px;
    border-radius: 45px;
    font-size: 15px;
    margin-bottom: 10px;
    margin-left: -10px;
    font-weight: 600;
}

ul.products li.product .star-rating,
ul.products li.product .custom-star-rating {
  display: none;
}
.col-full {
  padding-left: 23px;
  padding-right: 23px;
  margin: 0 auto;
}


/*Checkout*/

.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form input:not([type="checkbox"]),
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form select,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form textarea {
  background-color: transparent!important;
  border-radius: 32px!important;
  color: #000000;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form textarea::placeholder {
  color: #000000;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
  background-color: transparent;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.wc-block-components-address-form__email input:not([type="checkbox"]),
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.wc-block-components-address-form__email label,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-address-address-wrapper input,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-address-address-wrapper select,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-address-address-wrapper label,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content .wc-block-components-totals-coupon__form input,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content .wc-block-components-totals-coupon__form label{
  padding-left: 15px!important;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-checkbox__mark {
  width: 24px;
  height: 24px;
  top: -5px;
  left: -4px;
}

.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form input[type="checkbox"] {
  background-color: transparent;
  border: 1px solid #000000;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-form input[type="checkbox"]:checked {
  background-color: #DAE6B1;
}
.bfw-spisanie-blocks .write_points_form .button.write_points {
  border: 1px solid #000000;
  background-color: #DAE6B1;
  border-radius: 28px;
}
.bfw-spisanie-blocks .write_points_form .button.write_points:hover {
  background-color: transparent;
}
.bfw-spisanie-blocks .write_points_form .button.write_points span {
  color: #000000
}
.bfw-spisanie-blocks .write_points_form input {
  background-color: transparent;
  border-radius: 32px;
  border: 1px solid #000000;
}
.bfw-spisanie-blocks .bfw-write-off-block .text_total_points {
  color: #000000;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background-color: transparent;
  border-radius: 32px;
  border: 1px solid #000000;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
  background-color: #DAE6B1;
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button__text {
  color: #000000
}
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover {
  color: #DAE6B1;
}

.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content .wc-block-components-totals-coupon__form input{
  background-color: transparent!important;
  border-radius: 32px;
  border: 1px solid #000000;
}

.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content .wp-element-button {
  border: 1px solid #000000;
  background-color: #DAE6B1;
  border-radius: 28px;
}
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content .wp-element-button:hover {
  background-color: transparent;
}
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content .wp-element-button .wc-block-components-button__text {
  color: #000000
}

.woocommerce-checkout .storefront-breadcrumb {
  display: none;
}
.woocommerce-checkout .site-main {
  padding-top: 100px;
}
.woocommerce-checkout .site-main .entry-header .entry-title {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 30px;
  background: #D6DEB7;
  border: 1px solid #000000;
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}



/*Checkout*/

.woocommerce-checkout .storefront-breadcrumb {
  display: none;
}
.woocommerce-checkout .site-main {
  padding-top: 100px;
}
.woocommerce-checkout .site-main .entry-header .entry-title {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 30px;
  background: #D6DEB7;
  border: 1px solid #000000;
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.woocommerce-checkout  .woocommerce-checkout-review-order thead,
.woocommerce-checkout  .woocommerce-checkout-review-order tfoot .cart-subtotal,
.woocommerce-checkout  .woocommerce-checkout-review-order tfoot .woocommerce-shipping-totals{
  display: none;
}
.woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.checkout.woocommerce-checkout #shipping_first_name_field,
.checkout.woocommerce-checkout #billing_first_name_field {
  order: 1;
}
.checkout.woocommerce-checkout #shipping_last_name_field,
.checkout.woocommerce-checkout #billing_last_name_field {
  order: 3;
}
.checkout.woocommerce-checkout #shipping_phone_field,
.checkout.woocommerce-checkout #billing_phone_field {
  order: 4;
}
.checkout.woocommerce-checkout #shipping_email_field,
.checkout.woocommerce-checkout #billing_email_field {
  order: 2;
}
.checkout.woocommerce-checkout #billing_address_1_field,
.checkout.woocommerce-checkout #shipping_address_1_field{
  order: 10;
}
.checkout.woocommerce-checkout #customer_details input:not([type="checkbox"]) {
  display: inline-block;
  border-radius: 30px;
  background: transparent;
  border: 1px solid #000000;
  text-align: center;
  color: #000000;
 height: 38px;
}

.checkout.woocommerce-checkout #ship-to-different-address .woocommerce-form__label {
  display: flex;
  align-items: center;
}
.checkout.woocommerce-checkout #ship-to-different-address .woocommerce-form__label .woocommerce-form__input-checkbox {
  position: relative;
  width: 0;
  margin-right: 8px;
}
.checkout.woocommerce-checkout #ship-to-different-address .woocommerce-form__label .woocommerce-form__input-checkbox:before {
  content: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 0L4.94487 2.83972L6.75 0.602886L5.71541 3.28459L8.39711 2.25L6.16028 4.05513L9 4.5L6.16028 4.94487L8.39711 6.75L5.71541 5.71541L6.75 8.39711L4.94487 6.16028L4.5 9L4.05513 6.16028L2.25 8.39711L3.28459 5.71541L0.602886 6.75L2.83972 4.94487L0 4.5L2.83972 4.05513L0.602886 2.25L3.28459 3.28459L2.25 0.602886L4.05513 2.83972L4.5 0Z' fill='%23D4DFAE'/%3E%3C/svg%3E");
  position: absolute;
  top: -20px;
}
.checkout.woocommerce-checkout #ship-to-different-address .woocommerce-form__label .woocommerce-form__input-checkbox:focus {
  outline: transparent;
}
.checkout.woocommerce-checkout #ship-to-different-address .woocommerce-form__label span {
  font-size: 16px;
}
.checkout.woocommerce-checkout #shipping_method input[type="radio"],
.checkout.woocommerce-checkout #payment input[type="radio"],
.checkout.woocommerce-checkout input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 27px;
  height: 27px;
  border: 1px solid #000000;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}
.checkout.woocommerce-checkout #shipping_method input[type="radio"]:checked,
.checkout.woocommerce-checkout #payment input[type="radio"]:checked,
.checkout.woocommerce-checkout input[type="checkbox"]:checked{
  background: #D4DFAE;
}

.checkout.woocommerce-checkout #shipping_method input[type="radio"]:checked::after,
.checkout.woocommerce-checkout #payment input[type="radio"]:checked::after,
.checkout.woocommerce-checkout input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 6px;
  width: 9px;
  height: 20px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkout.woocommerce-checkout #shipping_method label,
.checkout.woocommerce-checkout #payment label {
  font-style: italic;
  font-weight: 600;
}
.checkout.woocommerce-checkout #shipping_method {
  padding-bottom: 20px;
}
.checkout.woocommerce-checkout #shipping_method em{
  display: block;
}
.checkout.woocommerce-checkout .select2-container--default .select2-selection--single {
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 30px;
  height: 38px;
}

.woocommerce-checkout .select2-dropdown.select2-dropdown--below,
.woocommerce-checkout .select2-dropdown.select2-dropdown--above   {
  border-radius: 30px;
  padding: 10px;
  background: #93997A;
  border-color: #000000;
  border-top: 1px solid #000000;
  margin-top: -1px;
}

.woocommerce-checkout .select2-dropdown.select2-dropdown--below {
  border-radius: 0 0 30px 30px;
}
.woocommerce-checkout .select2-dropdown.select2-dropdown--above {
  border-radius: 30px 30px 0 0;
}

.woocommerce-checkout .select2-dropdown input {
  border-radius: 30px;
  background: transparent;
}

.woocommerce-checkout .select2-selection__arrow,
.woocommerce-checkout .select2-selection__placeholder {
  display: none;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
}
.woocommerce-checkout input::placeholder {
  color: #000000;
}
.checkout.woocommerce-checkout #payment .payment_methods li.wc_payment_method>input[type=radio] {
  clip-path: inset(0);
  border: 1px solid #000000;
  width: 27px;
  height: 27px;
  position: relative;
  display: inline-block;
}
.checkout.woocommerce-checkout #payment {
  padding-top: 20px;
}
.checkout.woocommerce-checkout #payment .payment_methods li.wc_payment_method,
.checkout.woocommerce-checkout #payment .payment_methods li.wc_payment_method div{
  background: transparent;
}
.checkout.woocommerce-checkout #payment .payment_methods li.wc_payment_method:not(:first-child) {
  padding-top: 10px;
}
.checkout.woocommerce-checkout #payment .payment_methods li.wc_payment_method>label {
  display: inline-block;
  padding: 0;
}
.checkout.woocommerce-checkout #payment .payment_methods li.wc_payment_method>label:before {
  display: none;
}
.checkout.woocommerce-checkout .woocommerce-additional-fields h3,
.checkout.woocommerce-checkout .woocommerce-additional-fields p > label,
.checkout.woocommerce-checkout .woocommerce-billing-fields h3 ,
#order_review_heading,
.checkout.woocommerce-checkout h3.payment-title {
  font-style: italic;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 400;
}

.checkout.woocommerce-checkout #payment .place-order {
  padding: 0;
  background: transparent;
}
.checkout.woocommerce-checkout #payment .place-order button {
  max-width: fit-content;
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 30px;
  color: #000000;
  font-size: 24px;
  padding: 10px 22px;
  font-weight: 400;
}
.checkout.woocommerce-checkout #payment .place-order button:hover {
  background: #D4DFAE;
}

.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr td{
  background: transparent;
}

.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name .product-quantity{
  display: none;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td {
  width: fit-content;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name > div {
  display: flex;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name .product-weight {
  font-style: italic;
  color: #666;
  padding-bottom: 18px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name .product-name-wrapper .product-name {
  width: auto;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-total {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-style: italic;
  font-size: 16px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-total .product-qty {
  text-align: right;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .text_total_points {
  max-width: 70px;
  float: left;
  margin-top: 0;
  color: #000000;
  font-style: italic;
  font-size: 16px;
  text-transform: uppercase;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form {
  float: right;
  margin-top: 10px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form .input-text {
  background: transparent;
  max-width: 135px;
  border: 1px solid #000000;
  border-radius: 30px;
  text-align: center;
  height: 32px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form button {
  max-width: fit-content;
  border: 1px solid #000;
  border-radius: 30px;
  color: #000000;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  font-style: italic;
  background: #D4DFAE;
  padding: 2px 22px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form button:hover {
  background-color: transparent;
  color: #000000;
}

.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row .woocommerce-info {
  background-color: transparent;
  border-left: none;
  padding: 0;
  color: #000000;
  font-style: italic;
  font-size: 16px;
  margin-bottom: 0;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon {
  margin-bottom: 0;
  margin-top: 15px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row .woocommerce-info a {
  color: #000000;
  font-style: italic;
  font-size: 16px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row .woocommerce-info:before {
  display: none;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #coupon_code {
  background: transparent;
  border: 1px solid #000000;
  border-radius: 30px;
  text-align: center;
  height: 32px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row button {
  max-width: fit-content;
  border: 1px solid #000;
  border-radius: 30px;
  color: #000000;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  font-style: italic;
  background: #D4DFAE;
  padding: 2px 22px;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row button:hover {
  background-color: transparent;
  color: #000000;
}
@media (min-width: 768px) {
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row p.form-row-last{
    width: 53%;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row p.form-row-first {
    width: 40%;
  }
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .cart-discount th {
  background: transparent;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .cart-discount a:hover {
  color: #D4DFAE;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .order-total th {
  background-color: transparent;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  font-style: italic;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .order-total {
  border-bottom: none;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .cart-discount #bfw_remove_cart_point {
  line-height: 35px;
  vertical-align: super;
  float: none;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .cart-discount td {
  display: flex;
  align-items: center;
}
.checkout.woocommerce-checkout #order_review {
  border: 1px solid #000;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr {
  border-bottom: 1px solid #000;
}
.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
  border-collapse: collapse;
  margin-bottom: 0;
}

.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.taste-item {
  opacity: 0;
  transform: scale(0.4);
}

.woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p,
.woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > p {
  margin: 0 0 11px;
  max-width: 280px;
  width: 100%;
}

  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_first_name_field,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_last_name_field,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > #shipping_first_name_field,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > #shipping_last_name_field{
    margin-right: 22px;
  }

.checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form button span {
  color: #000000;
}
.checkout.woocommerce-checkout #order_review .custom-coupon-cashback .bfw-how-match-cashback-block {
  display: flex;
  justify-content: space-between;
}
.checkout.woocommerce-checkout #custom_order_comments span.optional {
  display: none;
}

.checkout.woocommerce-checkout #custom_order_comments label {
  font-style: italic;
  font-size: 16px;
}
.checkout.woocommerce-checkout #custom_order_comments textarea {
  background: transparent;
  border: 1px solid #000000;
  border-radius: 30px;
  color: #000000;
  resize: vertical;
  max-height: 200px;
}

.checkout.woocommerce-checkout .mrkv_ua_shipping_checkout_fields,
.checkout.woocommerce-checkout .pickup-location-field .select2-container {
  max-width: 280px;
}
.checkout.woocommerce-checkout .select2-container span {
  color: #000000;
}
.checkout.woocommerce-checkout .woocommerce-shipping-methods .pickup-location-field {
  padding-top: 20px;
}
.checkout.woocommerce-checkout .woocommerce-shipping-methods #pickup-items-field-for-0 {
  display: none;
}
.checkout.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr:not(.cart_item) {
  display: none;
}

#payment.woocommerce-checkout-payment {
  display: none;
}
.checkout.woocommerce-checkout #payment.woocommerce-checkout-payment {
  display: block;
}

.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #D4DFAE;
  color: #000000;
	border-radius: 20px;
}

.woocommerce-checkout .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-bottom-left-radius: 19px;
  border-bottom-right-radius: 19px;
}
.woocommerce-checkout .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
}

.checkout.woocommerce-checkout #ship-to-different-address-checkbox {
	border: none;
}
.checkout.woocommerce-checkout #ship-to-different-address-checkbox:after {
  display: none;
}

.term-pyramids .single_variation_wrap .woocommerce-variation.single_variation,
.term-pyramids .woocommerce-variation-add-to-cart {
  display: block;
}

.checkout.woocommerce-checkout .woocommerce-additional-fields {
	display: flex;
    flex-direction: column;
}

.checkout.woocommerce-checkout .woocommerce-additional-fields #mrkv_ua_shipping_nova-poshta_fields {
	order: 1;
}

.filters-close-btn, .mobile-filters-btn {
  display: none;
}

@media (max-width: 1142px) {
  
  ul.products:not(.swiper-wrapper) li.product {
    margin-right: 3% !important;
    margin-bottom: 3% !important;
  }
	
	ul.products:not(.swiper-wrapper) li.product.last {
    margin-right: 0 !important;
  }
}

@media (max-width: 900px) {
  .swiper-button-next {
    right: -30px !important;
  }

  .swiper-button-prev {
    left: -30px !important;
  }

  .woocommerce .products .product .woocommerce-loop-product__title {
    font-size: 16px;
    padding: 0 8px;
  }

  .woocommerce .products .product .attachment-woocommerce_thumbnail {
    margin: 0;
    padding: 24px;
    padding-bottom: 16px;
    width: 100%;
  }

  .woocommerce .products .product .attachment-woocommerce_thumbnail img {
    width: 100%;
    height: 100%;
  }

  .woocommerce .products .product {
    border-radius: 16px;
  }

  .wlfmc-loop-btn:not(.is-elementor) {
    margin: 0;
  }

  .wlfmc-top-of-image.image_top_right {
    top: 0;
    right: 0;
  }

  .wlfmc-loop-btn:not(.is-elementor) .wlfmc-add-button > a {
    width: 20px;
    height: 20px;
  }

  .wlfmc-loop-btn:not(.is-elementor) .wlfmc-add-button > a i svg,
  .wlfmc-loop-btn:not(.is-elementor) .wlfmc-add-button > a i.wlfmc-svg {
    width: 20px;
    height: 20px;
  }

  .wlfmc-loop-btn:not(.is-elementor) {
    margin: 10px !important;
  }

  .taste-colors {
    top: 50px;
  }

  .taste-color {
    width: 10px !important;
    height: 14px !important;
  }

  .product-info {
    padding: 0 8px;
    font-size: 12px;
  }

  .product-info .attributes-group .attribute p {
    font-size: 10px;
  }

  .product-info .attributes-group .attribute-icons img.attribute-icon {
    width: 10px;
  }

  .custom-variations {
    padding: 0 8px;
  }

  .pa_grind {
    display: none;
  }

  .custom-variations {
    height: 100%;
    margin-bottom: 10px;
  }

  .custom-variations label {
    font-size: 14px;
  }

  .single_variation_wrap .price,
  body.archive .product.product-type-variable .single_variation_wrap .custom-price {
    padding: 4px 0px 4px 10px;
    font-size: 18px;
	  white-space: nowrap;

  }

  .add_to_cart_conent {
    width: 85px;
  }

  .add_to_cart_wrapper button {
    width: 84px;
  }

  .taste-profile {
    margin-bottom: 10px;
  }

  body ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: 8px;
  }

  .attributes-group {
    margin-bottom: 4px;
  }

  ul.products:not(.swiper-wrapper) li.product {
    min-height: 364px;
  }

  ul.products:not(.swiper-wrapper) li.product.product_cat-gifts-sets {
    min-height: 320px;
  }

  .storefront-collections {
    display: none;
  }

  .storefront-breadcrumb {
    margin-bottom: 20px !important;
  }

  .woocommerce-ordering.custom-dropdown {
    margin-bottom: 0;
  }

  .single_variation_wrap {
    border-radius: 0;
  }

  .woocommerce .products .product {
    overflow: hidden;
  }

  .weight-options {
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  #secondary .filters-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    margin-top: 76px;
    border: none;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    height: 100dvh;
    border-radius: 0;
	background-color: #93997A;
  }

  #secondary .wp-block-group__inner-container {
    border-radius: 0;
  }

  #secondary .filters-wrapper.filters-visible {
    transform: translateX(0);
  }

  .filters-close-btn {
    position: absolute;
    top: 0px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    padding: 10px;
  }

  body .site-main ul.products.columns-3 li.product {
    width: 48.5% !important;
    margin-right: 3% !important;
    margin-bottom: 3% !important;
  }

  .woocommerce ul.products.columns-3 li.product:nth-child(2n) {
    margin-right: 0 !important;
  }

  .woocommerce
    .products
    .product.product_cat-tea
    .attachment-woocommerce_thumbnail {
    margin: 0 auto;
  }

  .product-description {
    padding: 0 8px;
    font-size: 12px;
  }

  .product-extra-info {
    padding: 0 8px;
    font-size: 12px;
  }

  .custom-product-weight {
    top: 8px;
    left: 8px;
  }

  body ul.products li.product .price {
    font-size: 16px;
  }

  body ul.products li.product .price {
    line-height: inherit;
  }

  .product-description p,
  .product-extra-info p {
    margin-bottom: 8px;
    line-height: normal;
  }

  .bundle-items {
    text-align: center;
  }

  .weight-options,
  .quantity-options {
    gap: 8px;
  }
	
	.filters-close-btn, .mobile-filters-btn {
    display: block;
  }
	
	
	.mobile-filters-btn{
	  padding: 2px 8px;
	  border-radius: 4px;
	  background-color: transparent;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	}

	.mobile-filters-btn:hover, .filters-close-btn:hover{
	  background-color: transparent;
	}
	
	.storefront-sorting {
    justify-content: space-between;
  }

}


@media (max-width: 992px) {
  .term-coffee .variations_form .woocommerce-variation.single_variation,
  .term-coffee .variations_form .woocommerce-variation-add-to-cart,
  .term-coffee .variations_form .custom-variations .pa_grind,
  body:not(.term-pyramids) .product-type-variable:not(.product_cat-pyramids) .variations_form .custom-variations .pa_grind,
  body:not(.term-pyramids) .product-type-variable:not(.product_cat-pyramids) .variations_form .woocommerce-variation.single_variation,
  body:not(.term-pyramids) .product-type-variable:not(.product_cat-pyramids) .variations_form .woocommerce-variation-add-to-cart,
  .woocommerce-wlfmc-wishlist .variations_form .woocommerce-variation.single_variation,
  .woocommerce-wlfmc-wishlist .variations_form .woocommerce-variation-add-to-cart,
  .woocommerce-wlfmc-wishlist .variations_form .custom-variations > div:last-child{
    display: none !important;
  }
}




.mobile-only-box-text {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-only-box-text {
      display: none;
  }
}

.quantity-option {
  position: relative;
}

.quantity-option .mobile-only-box-text {
  margin-left: 4px;
}


@media (max-width: 767px) {
  .checkout.woocommerce-checkout #order_review {
    display: none;
  }
  .checkout.woocommerce-checkout #order_review_heading:after {
    content: url("data:image/svg+xml,%3Csvg width='18' height='13' viewBox='0 0 11 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5.11939 7.17909L9.23879 1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
    margin-left: 5px;
  }
  form.checkout.woocommerce-checkout {
    display: flex;
    flex-direction: column;
  }
  form.checkout.woocommerce-checkout #customer_details {
    order: 3;
  }
  form.checkout.woocommerce-checkout #order_review_heading {
    order: 1;
    width: fit-content;
  }
  form.checkout.woocommerce-checkout #order_review {
    order: 2;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row button {
    padding: 2px 10px;

  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon {
    display: flex;
    justify-content: space-between;
  }

}
@media (max-width: 640px) {
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > p,
  .checkout.woocommerce-checkout .mrkv_ua_shipping_checkout_fields,
  .checkout.woocommerce-checkout .pickup-location-field .select2-container{
    max-width: 100%;
  }
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_first_name_field,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_last_name_field,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > #shipping_first_name_field,
  .woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > #shipping_last_name_field{
    margin-right: 0;
  }
}
@media (max-width: 481px) {
  .woocommerce-checkout #payment .payment_method_mono_gateway label img {
    float: unset;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon {
    flex-direction: column;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon button {
    max-width: unset;
    width: 100%;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table  .clone-bonus-wrapper .text_total_points {
    max-width: unset;
    float: unset;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table  .clone-bonus-wrapper .write_points_form {
    float: unset;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
}

@media (min-width: 768px) and (max-width: 1175px) {
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row button {
    padding: 2px 10px;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row p.form-row-last {
    width: 54%;
  }
}

@media (min-width: 768px) and (max-width: 1060px) {
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon {
    flex-direction: column;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon button {
    max-width: unset;
    width: 100%;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table  .clone-bonus-wrapper .text_total_points {
    max-width: unset;
    float: unset;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table  .clone-bonus-wrapper .write_points_form {
    float: unset;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon {
    flex-direction: column;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form {
    flex-wrap: wrap;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row #woocommerce-checkout-form-coupon button,
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form .input-text,
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .write_points_form button {
    max-width: unset;
    width: 100%;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table  .clone-bonus-wrapper .text_total_points {
    max-width: unset;
    float: unset;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table  .clone-bonus-wrapper .write_points_form {
    float: unset;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row p.form-row-first,
  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .custom-coupon-row p.form-row-last {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 890px) {

  .checkout.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name > div {
    flex-direction: column;
  }
}
.woocommerce-checkout .xoo-lwo-form {
	display: none;
}

body a.remove {
	overflow: initial;
}


/*Custom scroll animation styles*/
li.product.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 3s ease-out, transform 6s ease-out;
}

li.product.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

