.add_to_wishlist.single_add_to_wishlist svg {
  display: none;
}

#main {
  padding: 0 0 30px 0;
}

.button_clr.compare {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
}

.button_clr.compare img {
  position: absolute;
}

.wrapper_gallery_image {
  display: flex;
  gap: 10px;
}

.woocommerce-product-gallery__image a {
  display: flex;
}

.woocommerce-product-gallery__image a img {
  opacity: 0.6;
}

.woocommerce-product-gallery__image a.active img {
  opacity: 1;
}

.product-thumbnail {
  display: flex;
}

.main_content_sku {
  display: flex;
  margin: 0 0 30px;
}

.product .thumbnails.ts-slider {
  display: flex;
  max-height: 140px;
}

.owl-stage {
  display: flex;
  align-items: center;
}

.quiz_discount_btn {
  padding: 13px;
  background: unset;
  color: #535353;
}

.quant_selector_hidden {
  display: none;
}

.form_btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.single_add_to_cart_button {
  margin: 0 !important;
}

.form_btns .kp {
  padding: 10px;
}

.form_btns .kp:hover {
  background-color: #700000;
}

.form_btns .kp:hover img {
  filter: invert(1);
}

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

.add_to_wishlist.single_add_to_wishlist {
  width: 50px;
  height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.button_clr.wishlist .yith-wcwl-add-to-wishlist a::before,
.button_clr.wishlist .wishlist a::before {
  font-size: 30px;
  font-family: 'Pe-icon-7-stroke';
  content: "\e642";
  color: #848484;
}

.button_clr.wishlist .yith-wcwl-add-to-wishlist a:hover::before,
.button_clr.wishlist .wishlist a:hover::before {
  background-color: #700000;
  border-color: #800000;
  color: #ffffff;
}

.button_clr.compare .label {
  display: none;
}

.compare.button:before {
  content: '';
  background-image: url(../../assets/img/compare.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 24px;
  height: 24px;
}

.compare.button:hover {
  background-color: #700000 !important;
}

.button_clr.compare:hover a {
  background-color: #700000 !important;
}

.compare.button:hover:before {
  filter: invert(1);
  z-index: 999;
}

.add_to_wishlist.single_add_to_wishlist span {
  display: none;
}

.compare.button {
  display: inline-flex !important;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.main_content_title .buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yith-wcwl-add-to-wishlist {
  margin-top: 0 !important;
}

.add_to_wishlist.single_add_to_wishlist:hover {
  background-color: #700000;
  border-color: #800000;
  color: #fff;
}

.right_col_shipping {
  position: relative;
}

.right_col_shipping_more {
  display: none;
  transition: all 0.3s ease;
}

.right_col_shipping.active {
  padding: 0 0 20px;
}

.right_col_shipping.active .right_col_shipping_more {
  display: block;
}

#shipping_more {
  position: absolute;
  bottom: 10px;
  right: 0;
}

.quant_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  width: 100%;
}

.woocommerce .quant_box .quantity {
  display: none !important;
}

.quant_button button {
  display: inline-flex;
  justify-content: center;
}

.quant_selector {
      width: calc(45% - 7px);
}

.quant_block {
width: 50%;
    display: flex;
}
input#quant_result {
    width: 50% !important;
}
.woocommerce-product-gallery {
  background-color: #fff;
  padding: 10px;
}

.collection_slider_item {
  position: relative;
}

.collection_slider_item h3 {
  display: flex;
  position: absolute;
}

.collSwiper .swiper-pagination {
position: absolute;
  display: flex;
  bottom: 0 !important;
  padding: 5px;
  background-color: #00000052;
  width: 100% !important;
  height: 20px;
  left: unset !important;
  justify-content: center;
}
.collSwiper .swiper-pagination-bullet {
  background-color: #f0f00f;
  opacity: 0.7;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #f2f21b;
  opacity: 1;
}

.single_slider {
  margin-top: 20px;
}

/* Контейнер галереи */
.swiper-gallery-container {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

/* Основной слайдер */
.main-swiper {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  cursor: grab;
}

.main-swiper .swiper-slide:active {
  cursor: grabbing;
}

/* Контейнер для зума */
.zoom-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.zoom-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

/* Эффект зума при наведении */
.zoom-container.zoomed img {
  transform: scale(2);
  cursor: zoom-out;
}

/* Кнопка переключения зума */
.swiper-zoom-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.swiper-zoom-toggle:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.swiper-zoom-toggle svg {
  fill: #333;
  width: 20px;
  height: 20px;
}

.swiper-zoom-toggle.active {
  background: #007cba;
}

.swiper-zoom-toggle.active svg {
  fill: #ffffff;
}

.swiper-gallery {
  width: 100%;
  margin-bottom: 30px;
}

.main-swiper {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.swiper-slide {
  overflow: hidden;
  background: #f8f8f8;
}

.zoom-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: crosshair;
}

.zoom-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-out;
  transform-origin: center center;
  pointer-events: none;
  /* Важно! */
}

/* Зум при наведении на wrapper */
.zoom-wrapper:hover .zoom-image {
  transform: scale(2);
}

/* Миниатюры */
.thumb-swiper {
  padding: 10px 0;
}

.thumb-swiper .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
}

.thumb-swiper .swiper-slide:hover,
.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #007cba;
}

.thumb-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

.swiper-button-prev,
.swiper-button-next {
  color: #007cba;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Миниатюры */
.thumbnail-swiper {
  width: 100%;
  padding: 10px 0;
}

.thumbnail-swiper .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
}

.thumbnail-swiper .swiper-slide:hover {
  opacity: 0.8;
}

.thumbnail-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #007cba;
  box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.thumbnail-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Навигация */
.swiper-button-prev,
.swiper-button-next {
  color: #007cba;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ffffff;
}

.swiper-slide img {
  max-width: 600px;
  max-height: 600px !important;
}

.main-swiper .swiper-slide {
  height: 600px;
}

.thumbnail-swiper img {
  max-width: 150px;
  max-height: 150px !important;
}

.thumbnail-swiper .swiper-wrapper {
  display: flex;
  overflow-x: auto;
}

.thumbnail-swiper .swiper-slide {
  display: inline-flex;
  width: 150px !important;
  height: 150px;
}

#form_single_add_cart {
  position: relative;
}

.single_add_to_cart_ajax {
  position: relative;
}

.icon_added {
  position: absolute;
  right: -24px;
  color: green;
}

.icon_added::after {
  font-family: 'FontAwesome';
  content: "\f00c";
  position: static;
  padding: 0;
}

.btn_modal_form {
  background-color: #3f3f3f;
  border-color: #3f3f3f;
  color: #fff;
  min-height: 48px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.btn_modal_form:hover {
  background-color: #700000;
  border-color: #800000;
  color: #ffffff;
}

#form_help_selection label {
  flex-direction: row;
}

.collecton_products_slider {
  overflow: hidden;
  position: relative;
}

.collecton_products_slider .product-wrapper {
  padding: 20px;
  background: #fff;
}

.collecton_products_slider .content_product_flag {
  position: absolute;
  z-index: 999;
}

.collecton_products_slider .content_product_flag_text {
  display: none;
  position: absolute;
  z-index: 9;
}

.collecton_products_slider .content_product_flag:hover .content_product_flag_text {
  display: inline-flex;
  font-size: 14px;
  top: 0;
  background-color: #fff;
  padding: 10px;
  color: #000;
  left: 100%;
}

.collecton_products_slider .content_product_brand {
  display: flex;
}

.collecton_products_slider .product_sku {
  display: flex;
}

.collecton_products_slider .price_block {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
}

.collecton_products_slider .loop-add-to-cart {
  bottom: 0;
}

.collecton_products_slider .meta-wrapper {
  min-height: 150px;
}

.woocommerce-Price-amount.amount {
  color: #000;
  font-size: 18px;
}

.collecton_products_slider .swiper_button {
  top: 24px;
}

.swiper-button-prev.swiper_button {
  right: 60px;
  left: unset;
}

.quant_box_calc_btn {
  position: absolute;
  display: none;
  transition: all 0.3s ease;
}

.quant_box_calc_btn.active {
display: inline-flex;
  top: 100%;
  left: -203px;
  background-color: #fff;
  z-index: 99;
  max-width: 300px;
  border: 1px solid;
  margin-top: 20px;
  isolation: isolate; 
}

.icon.icon_close.icon_close_quant_box_calc_btn {
  position: absolute;
  right: 0px;
  top: 0;
  padding: 10px;
  cursor: pointer;
  z-index: 999;
}
.quant_box_calc_btn_con {
  position: relative;
  padding: 10px;
  z-index: 1;
  background-color: #fff;
}
.quant_box_calc_btn_triangle {
 position: absolute;
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 100px solid #333;
  top: -51px;
  right: 69px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
}

.quant_box_calc_btn_triangle::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 74px solid transparent;
  border-bottom: 93px solid white;
  top: 11px;
  left: -34px;
  transform: rotate(10deg);
}
#btn_quant_box {
  background-color: #f31502;
}
.quant_box_calc_btn_box_btns {
  display: flex;
  justify-content: flex-end;
}

.woocommerce div.product .cart {
  overflow: unset;
}


.quant_box_calc_btn:before {}

.triangle-right {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 0 60px 100px;
  border-color: transparent #000 transparent #000;
}

.triangle-with-border {
  width: 120px;
  height: 120px;
  background-color: #e74c3c;
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  border: 3px solid #000000;
  box-sizing: border-box;
}

.triangle-bordered-pure {
  position: relative;
  width: 0;
  height: 0;
  /* base triangle shape pointing right (larger, acts as border) */
  border-style: solid;
  border-width: 60px 0 60px 100px;
  border-color: transparent transparent transparent #000000;
}

.triangle-bordered-pure::before {
  content: "";
  position: absolute;
  top: -55px;
  /* offset to create border effect: (border-width of parent - border-width of child) */
  left: -92px;
  /* adjust so inner triangle sits perfectly inside */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 55px 92px;
  border-color: transparent transparent transparent #3498db;
  /* inner fill color */
}

.triangle-outline {
  position: relative;
  width: 0;
  height: 0;
  /* Outer (border layer) triangle: points right, black border */
  border-style: solid;
  border-width: 80px 0 80px 140px;
  /* larger left border */
  border-color: transparent transparent transparent #000000;
}

.triangle-outline::after {
  content: "";
  position: absolute;
  top: -70px;
  /* (80 - 70) = 10px gap for border thickness */
  left: -125px;
  /* (140 - 125) = 15px border thickness */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 70px 0 70px 125px;
  border-color: transparent transparent transparent #f1c40f;
  /* inner fill */
}

.right-triangle-bordered {
  width: 140px;
  height: 140px;
  background-color: #2ecc71;
  /* any fill color — but requirement only mentions border color, fill can be anything */
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  border: 4px solid #000000;
  transition: transform 0.2s ease;
}
.quant_button {
    display: flex;
    flex-direction: column;
    width: 50%;
}
#form_delivery{position: relative;}
.btn.btn_form_delivery {
  display: inline-flex;
  width: max-content;
  min-height: 40px;
 background-color: #3F3F3F;
  padding: 0 20px;
  transition: all 0.3s ease;
}
.btn_form_delivery:hover {
 background-color: #700000;
  border-color: #800000;
  color: #ffffff;
}
.form_row_btn{
  position: relative;
}
input.validate {
  border: 1px solid red !important;
}


/* Адаптивность */
@media (max-width: 768px) {

  .swiper-button-prev,
  .swiper-button-next {
    width: 30px;
    height: 30px;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 14px;
  }

  .swiper-zoom-toggle {
    width: 35px;
    height: 35px;
    bottom: 15px;
    right: 15px;
  }
}




@media only screen and (max-width: 770px) {
  .woocommerce div.product {
    display: flex;
    flex-direction: column;
  }

  .product_card_bottom_footer {
    flex-direction: column-reverse;
  }

  .product_card_bottom_footer_right {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 480px) {
 #single_main_slider .swiper-slide img {
    max-width: 300px;
}
.quant_box_calc_btn.active {
   left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
}
}