/*
    Theme Name: Hello Elementor Child
    Template: hello-elementor
    Text Domain: hello-elementor-child
    Version: 0.0.1
    Author: Stepanov Dmytro
    Author URI: https://dstepanoff.org.ua
*/

.cmplz-cookiebanner .cmplz-preferences, .cmplz-cookiebanner .cmplz-statistics:not(.cmplz-tcf){
display: block !important;
}

.small_caption_custom{
font-size: 12px;
}

.single_add_to_cart_button {
background-color: black !important;
}

[swatches-attr=attribute_pa_color] .cfvsw-selected-swatch{
background-color: #938f8f !important;
}

.cmplz-cookiebanner .cmplz-categories .cmplz-category{
background-color: transparent !important;
}

.custom_caption{
  position: absolute;
  bottom: -28px;
  background-color: #42414d;
  padding: 5px 7px;
  border-radius: 5px;
  z-index: 10;
  color: white !important;
  font-size: 12px;
  
}

.product-bg-image{
  background-size: cover;
  background-position: center;
  width: 100%;
  max-height: 390px;
  height: 100vh;
}

.elementor-widget-form .elementor-form-help-inline{
position: absolute;
  background-color: #42414d;
  padding: 10px 12px;
  border-radius: 5px;
  bottom: -42px;
  z-index: 10;
  color: white !important;
  font-size: 12px;
  
}

.elementor-widget-form .elementor-form-help-inline::before{
    display: none;
}

.prod_list_info_buble{
background-color: #77FFB8;
position: absolute;
border-radius:100px;
padding: 5px 14px;
display: flex;
justify-content: center;
align-items: center;
top: 10px;
right: 10px;
}

.prod_list_info_buble .info_buble_in{
line-height: 1;
font-size: 13px
}

/*
.custom_input_type_file input[type="file"] {
  max-width: 190px  !important;
  color: transparent  !important;
}


.custom_input_type_file input[type="file"]::file-selector-button {
  color: #000;
  border: 1px solid #000;
  border-radius: 25px;
  padding: 12px 22px;
  background-color: transparent;
  margin-left: 1px;
  float: right;
}
*/

.info_buble{
display: inline-block;
  width: 14px;
  text-align: center;
  background-color: black;
  color: white;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  padding: 0px 0px;
  margin-left: 3px;
  height: 14px;
  cursor: help;
}

/* Контейнер поля */
.custom_input_type_file .elementor-field-type-upload {
  position: relative;
  display: inline-block;
  overflow: hidden;
}



/* Приховуємо стандартну кнопку */
.custom_input_type_file .elementor-field-type-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  z-index: 2;
}

/* Стилізуємо вигляд кнопки */
.custom_input_type_file .elementor-field-type-upload::after {
  content: "Download files";
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
  color: #000;
  border: 1px solid #000;
  border-radius: 25px;
  padding: 12px 22px;
  background-color: transparent;
  margin-left: 1px;
  font-size: 15px;
  font-weight: 400;
}

/* Ефект при наведенні */
.custom_input_type_file .elementor-field-type-upload:hover::after {
  /*background: #3550c5;*/
}

/* При фокусі (клавіатура, accessibility) */
.custom_input_type_file .elementor-field-type-upload input[type="file"]:focus + label,
.custom_input_type_file .elementor-field-type-upload:focus-within::after {
  /*box-shadow: 0 0 0 3px rgba(75, 110, 245, 0.4);*/
}

/* Додаємо мінімальний відступ між елементами */
.custom_input_type_file .elementor-field-type-upload {
  margin: 5px 0;
}



.main_cat_bg_grad{
background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 75.28%, #D5D5D3 109.5%);
}


.woocommerce-multi-currency.wmc-shortcode .wmc-current-currency .wmc-open-dropdown-currencies::after{
  border-width: 0 2px 2px 0;
  width: 7px;
  height: 7px;
}

.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency{
border: none;
padding: 5px 20px 5px 0px;
font-size: 17px;
  font-weight: 400;
}
.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency{

border-radius: 13px;
}
.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency{
padding:0px;
}
.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency a{
font-weight: 600;
font-size: 17px;
display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 13px;
  padding: 6px 0px;
  
}

#custom-coupon-form{
display: flex;
  justify-content: space-between;
  align-items: center;
}

#custom-coupon-form #custom_coupon_input{
font-size: 15px;
  font-weight: 400;
  outline: none;
  outline-color: currentcolor;
  background-color: transparent;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  padding: 8px 16px;
}
#custom-coupon-form  .button{
font-size: 15px;
  font-weight: 400;
  border: 1px solid black;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
  background-color: black;
  color: white;
  padding: 12px 16px;
}

.cart-item-thumb-bg{
min-height: 90px;
    min-width: 70px;
    background-size: cover;
    background-position: center center;
}

.custom_cart_prod_block .cart-item-thumb-bg {
            width: 150px;
            height: 155px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
}

.woo_custom_catalog .woocommerce ul.products li.product .button,
.woo_custom_catalog_rel .add_to_cart_button
{
    display: none !important;
}

.woo_custom_catalog .price{
    float: right;
    margin:5px 0 0 0;
}

.woo_custom_catalog_rel .price{
    float: right;
    margin:5px 0 0 0;
}
 
.cfvsw_variations_form {
    float: left;
}

.cfvsw-swatches-option {
  background-color: rgb(255, 251, 247);
  background-image: url("/wp-content/uploads/2025/10/noise_bg.webp");
  border-color: var( --cfvsw-swatches-border-color-hover, #00000090 );
}
.woo_custom_catalog .cfvsw-swatch-inner{
border: 2px solid rgb(255, 251, 247) !important;
}

.cfvsw-swatches-option:hover{
 background-color: #938f8f;
}
.woo_custom_catalog .cfvsw-swatches-option:hover .cfvsw-swatch-inner{
 border-color: #938f8f !important;
}

.cfvsw-swatches-container{
grid-gap: 5px;
}


.woo_custom_catalog table tbody tr:hover > td, 
.woo_custom_catalog table tbody tr:hover > th,
.add_to_cart_no_hover table tbody tr:hover > td, 
.add_to_cart_no_hover table tbody tr:hover > th
{
background-color: rgba(128, 128, 128, 0);
}

.add_to_cart_no_hover table tbody tr > td, 
.add_to_cart_no_hover table tbody tr > th
{
background-color: rgba(128, 128, 128, 0) !important;
}

.woo_custom_catalog .woocommerce-loop-product__title{
overflow: hidden;
height: 37px;
white-space: nowrap;
  max-width: 337px;
  text-overflow: ellipsis;
}

.woo_custom_catalog.elementor-grid-4 .woocommerce-loop-product__title{
  max-width: 308px;
}

.selected_cat .jet-radio-list__label, .selected_cat .jet-checkboxes-list__label{
font-weight: bold !important;
}

.jet-collapse-icon::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-left: 1px solid black;
  border-top: 1px solid;
  width: 11px;
  height: 11px;
}

.jet-list-toggle-collapsed .jet-collapse-icon::after {
transform: translateY(-50%) rotate(225deg);
}

.jet-list-toggle-collapsed.selected_cat .jet-collapse-icon::after, .selected_cat .jet-collapse-icon::after {
border-width: 2px;
} 


.woo_custom_catalog .product{
  display: flex !important;
  align-items: end;
} 


.woo_custom_catalog .woocommerce ul.products li.product a img,
.woo_custom_catalog_rel .woocommerce ul.products li.product a img {
background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 75.28%, #D5D5D3 109.5%);
}

.jsf-accordion.hidden .jet-color-image-list,
.jsf-accordion.hidden .jet-range,
.jsf-accordion.hidden .jet-checkboxes-list,
.jsf-accordion.hidden .jet-radio-list 
{
  height: 0px;
  overflow: hidden;
}
.jsf-accordion .jet-color-image-list,
.jsf-accordion .jet-range,
.jsf-accordion .jet-checkboxes-list
 {
  max-height: 100%;
}




.jsf-accordion .jet-filter-label {
  cursor: pointer;
  user-select: none;
}


/* Базово — стрілка вниз */
.jsf-accordion .jet-filter-label {
  position: relative;
  cursor: pointer;
  padding-right: 20px;
}

.jsf-accordion .jet-filter-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-left: 1px solid black;
  border-top: 1px solid;
  width: 11px;
  height: 11px;
}

/* Коли фільтр активний — стрілка вгору */
.jsf-accordion.hidden .jet-filter-label::after {
  transform: translateY(-50%) rotate(225deg);
}

.jsf-item-button .jet-color-image-list__button{
  width: 60px;
  display: flex;
  justify-content: center;
  
}
.jsf-item-button .jet-color-image-list__decorator{
position: absolute;
}
.jsf-item-button fieldset{
max-width: 250px;
}
/*
.jsf-color-custom .jet-color-image-list__color::after{
content: "";
  border: solid 5px white;
  border-radius: 20px;
  width: 100%;
  display: block;
  height: 100%;
}*/


.jsf-color-custom .jet-color-image-list__item:hover .jet-color-image-list__color, .jsf-color-custom .jet-color-image-list__input:checked ~ .jet-color-image-list__button .jet-color-image-list__decorator > * {
 
   border-color: #938f8f !important;
}

.jsf-color-custom  .jet-color-image-list__button{
flex-direction: column;
min-width: 79px;
  justify-content: center;
  align-items: start;
  gap: 4px;
}
.jsf-color-custom .jet-color-image-list__item .jet-color-image-list__color{
 outline: 1px solid black !important;
}

.jsf-color-custom  .jet-color-image-list__button .jet-color-image-list__label{
align-self: start;
}
.recipient_details{
font-family: Arial;
  font-size: 20px;
  font-weight: 700;
  padding-top: 30px;
  padding-bottom: 20px;
  
  border-top: 1px solid #D9D9D9;
}

.cat_show_more{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  margin-left: 5px;
}

.cat_save_button {
  position: absolute !important;
  top: 10px;
  right: 10px;
}

.unit-toggle {
  position: relative;
  display: inline-flex;
  border: 1px solid #000;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  width: 150px;
  height: 40px;
  font-size: 15px;  
}


.unit-toggle .toggle-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  z-index: 2;
  transition: color 0.3s ease;
}

.toggle-option[data-unit="cm"]{
    flex: 0.6 ;
}

.unit-toggle .toggle-option.active {
  color: #fff;
}

.unit-toggle::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 40%;
  height: 100%;
  background: #000;
  border-radius: 25px;
  transition: all 0.3s ease;
  z-index: 1;
}

.unit-toggle.inches::before {
  left: 38%;
  width: 100%;
}





@media (max-width: 1414px){
  .woo_custom_catalog .woocommerce-loop-product__title{
      max-width: calc(100vw/4 - 50px);
  }
  
  .woo_custom_catalog.elementor-grid-4 .woocommerce-loop-product__title{
        max-width: calc(100vw/4 - 30px);
   }
  
}

@media (max-width: 1024px){

    .tolege_filters {
    display: none !important;
    }

  .woo_custom_catalog .woocommerce-loop-product__title{
      max-width: calc(100vw/3 - 30px);
  }
  .woo_custom_catalog.elementor-grid-4 .woocommerce-loop-product__title{
        max-width: calc(100vw/3 - 30px);
   }
}

@media (max-width: 767px){
  .woo_custom_catalog .woocommerce-loop-product__title{
      max-width: calc(100vw/2 - 30px);
  }
  .woo_custom_catalog.elementor-grid-4 .woocommerce-loop-product__title{
        max-width: calc(100vw/2 - 30px);
   }
  
}


@media (max-width: 560px){
/*
  .custom_input_type_file input[type="file"]::file-selector-button {
    float: none;
    margin-top: 12px;
  }
  .custom_input_type_file input[type="file"] {
    max-width: 100%  !important;
    
    }
    */
} 



