/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/*
Salient Custom element
*/

@font-face {
  font-family: 'Panton Regular';
  src: url("/wp-content/themes/salient-child/fonts/Panton-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Panton SemiBold';
  src: url("/wp-content/themes/salient-child/fonts/Panton-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Panton ExtraBold';
  src: url("/wp-content/themes/salient-child/fonts/Panton-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}



/*
End salient Custom element
*/


.wp-block-yith-overlay-search-block svg {
  margin-left: 15px;
  stroke: rgba(0, 0, 0, .48);
}

.fixed-menu .wp-block-yith-overlay-search-block svg {
  stroke: rgba(0, 0, 0, .48) !important;
}

.scrolled-down .wp-block-yith-overlay-search-block svg {
  stroke: rgba(0, 0, 0, .48) !important;
}

.sub-menu .menu-item a {
  border-radius: 10px !important;
}

@media (max-width: 480px) {

  .wc-block-grid.has-4-columns .wc-block-grid__products {
    display: flex !important;
  }


  .ywcas-search-results-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
  }

  .wc-block-grid.has-4-columns .wc-block-grid__product {

    flex: 1 0 50% !important;
    margin: 0 0 24px;
    max-width: 50% !important;
    padding: 0;
  }
  .ywcas-overlay-filled-content {
    padding-top: 5px !important;
  }
}



@media (min-width: 1000px) {
  #top .logo-clone img {
    height: 100px !important;
    width: auto;
    padding: 10px;
  }

  .nectar-flickity[data-control-style=material_pagination] .flickity-page-dots,
  .nectar-flickity[data-controls=material_pagination] .flickity-page-dots {
    bottom: -15px !important;
  }

  .owl-theme[data-desktop-cols] .owl-nav.disabled+.owl-dots {
    margin-top: -20px;
  }

}


.nectar_woocommerce_before_shop_loop>.container {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Contenitore flessibile */
ul.custom-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid
}

/* Ogni elemento li occupa 1/3 del contenitore su desktop */
ul.custom-flex-grid li {
  flex: 0 1 calc(33.333% - 20px);
  text-align: center;
  list-style: none;
  margin: 0;
}

/* Immagini arrotondate */
ul.custom-flex-grid li img {
  width: 100%;
  max-width: 200px;
  border-radius: 15px;
  display: block;
  margin: 0 auto 10px;
}

/* Nome centrato sotto */
ul.custom-flex-grid li h2 {
  line-height: 23px;
  font-size: 18px;
  margin-top: 15px;
}

/* Responsive - 2 colonne su tablet */
@media (max-width: 770px) {
  ul.custom-flex-grid li {
    flex: 0 1 calc(50% - 20px) !important;
  }
}

/* Responsive - 1 colonna su mobile */
@media (max-width: 490px) {
  ul.custom-flex-grid li {
    flex: 0 1 100%;
  }
}

/* Responsive - 1 colonna su mobile */
@media (max-width: 600px) {
  .ywcas-search-mobile .search-result-item__content {
    flex-direction: column;
  }

  .ywcas-search-mobile .wp-block-yith-product-results-block .search-result-item.list .search-result-item__thumbnail,
  .ywcas-search-mobile .ywcas-search-results .search-result-item.list .search-result-item__thumbnail {
    max-width: 100% !important;
  }

  .ywcas-search-mobile .wp-block-yith-product-results-block .search-result-item.list .search-result-item__thumbnail,
  .ywcas-search-mobile .ywcas-search-results .search-result-item.list .search-result-item__thumbnail img {
    width: 100% !important;
    padding: 5px;
  }
}

.css-1oua4ta button.lapilliUI-Modal__close {
  margin-right: 20px;
  margin-top: 20px;
}

/* centrare le colonne */

.wp-block-yith-overlay-empty-block .wp-block-columns {
  gap: 0;
}


.cwginstock-subscribe-form .panel-primary>.panel-heading {

  color: #fff;
  background-color: #cb643a !important;
  border-color: #cb643a !important;
}

.cwginstock-subscribe-form .panel-primary {
  border-color: #cb643a !important;
}

.cwgstock_button {
  margin-top: 20px;
}


body.woocommerce-checkout div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table td,
body.woocommerce-checkout div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr:first-child td,
body.woocommerce-checkout div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr:first-child th {
  font-family: inherit;
}



.woocommerce ul.products li.product > .button
{
  display: none;
  visibility: hidden;
}



body.woocommerce-checkout:not([data-fancy-form-rcs="1"]) .select2-container--default .select2-selection--single .select2-selection__rendered{
    height: 32px !important;
    line-height: 17px !important;
}

th {
  font-family: inherit !important;
}

.checkout #order_review .order-review tbody tr.order-total td .woocommerce-Price-amount {
  font-size: 14px !important;
}


form label {
  font-weight: 800;
}
.nectar-woo-carousel-top {
  display: none !important;
  visibility: hidden;
}

.fs-free-shipping-notice-and-button-wrapper {
  color: white !important;
}

.woocommerce-info,
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  border-top-color: #cb643a !important;
}

.product-details a {
  font-family: inherit !important;
}


.woocommerce table.order-review tfoot td, .woocommerce table.order-review tfoot th, .woocommerce table.order-review th, .woocommerce-page table.order-review th, .woocommerce-page table.shop_table tfoot td, .woocommerce-page table.shop_table tfoot th {
  font-family: inherit !important;
}