/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/

/* Child theme CSS
--------------------------------------------------------------- */
.nm-row {
  max-width: 1630px;
}
#nm-header {
  box-shadow: 0 8px 16px 0 rgba(85, 93, 102, 0.08);
  
}
.nm-header-col{
  display: flex;
}
.nm-menu li a {
  padding: 16px 30px;
}
.nm-header.menu-centered .nm-main-menu {
  float: none;
  width: 100%;
  text-align: right;
}
.has-bg-color .nm-single-product-bg {
  background: white !important;
}
.products li.outofstock .nm-shop-loop-thumbnail > a::after{
  display:none!important;
}
#nm-variations-form{
  display: block!important;
}
@media (min-width: 1081px) {
  .nm-single-product-summary-col .label-wrap {
    left: 1.4rem !important;
    top: 1rem !important;
  }
  #nm-shop .label-wrap {
    left: 0.5rem !important;
    top: 0.5rem !important;
  }
  .nm-shop-loop-thumbnail .label-wrap {
    left: 0.5rem !important;
    top: 0.5rem !important;
  }
}

body.search span.price {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 992px) {
  /* Sidebar chiusa di default */
  .nm-shop-sidebar-col {
    position: fixed;
    left: -300px; /* Nasconde la colonna fuori dallo schermo */
    top: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 9999;
    padding-top: 75px;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Sidebar aperta */
  .nm-shop-sidebar-col.open {
    left: 0;
  }

  /* Stile del pulsante */
  #filter-toggle-btn {
    /* position: fixed; */
    left: 10px;
    top: 10px;
    z-index: 1100;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 15px;
    width: fit-content;
  }
  #close-sidebar-btn {
    position: absolute;
    top: 40px;
    right: 16px;
    font-size: 45px;
    color: #333;
    cursor: pointer;
    background: transparent;
    border: none;
  }
  #close-sidebar-btn:hover {
    color: #0073aa;
  }
}

.large-block-grid-4 > li {
  /* max-width: 300px; */
  width: 100%;
}
.large-block-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 90px;
}
[class*="block-grid-"]::before,
[class*="block-grid-"]::after {
  content: none;
}

.nm-shop-loop-details h3 {
  font-size: 20px;
  font-weight: bold;
}
.woocommerce-product-gallery__wrapper > .woocommerce-advanced-product-label {
  position: relative !important;
}
.nm-shop-sidebar-default #nm-shop-sidebar {
  padding: 0 18px;
}

.woocommerce-loop-product__title {
  font-weight: bold;
  color: black;
  min-height: 50px;
}
.woocommerce-loop-product__title a {
  font-size: 18px;
  
}
.widget .widget-woof {
  /* display: none; */
  padding-bottom: 0px !important;
}
.widget .widget-woof > .nm-widget-title {
  font-size: 22px;
  font-weight: bold;
}
.woof_reset_button_2 {
  position: relative;
  display: inline-block;
  color: inherit;
  line-height: 1.4;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: top;
  overflow: hidden;
  padding: 5px 14px 5px 37px;
  border: 1px solid;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  background: transparent;
  cursor: pointer;
}
.woof_reset_button_2::before {
  display: block;
  position: absolute;
  top: 6px;
  left: 12px;
  font-family: "nm-font";
  font-size: 15px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  color: inherit;
  content: "\e117";
}
.woof_reset_button_2:hover {
  text-decoration: underline;
}
.woof_container_inner h4 {
  margin-bottom: 15px;
  font-weight: bold;
}
.woof_list label {
  width: 75%;
}
.woof_list label {
  text-transform: capitalize !important;
}
.woof_radio_term_reset > img {
  padding-bottom: 1px;
}
.woof_container select {
  border-radius: 10px;
}
.woof_price3_search_container {
  display: none;
}
/* .nm-banner-slider,
.nm-banner {
  margin-top: 10px;
  border-radius: 20px;
} */
.nm-shop-loop-thumbnail {
  border-radius: 10px;
}
.elementor-image-box-description {
  line-height: 1.7em;
  font-family: montserrat, sans-serif!important;
  margin-top: 8px!important;
  font-size: 16px!important;
}
.elementor-widget-image-box .elementor-image-box-content {
  padding: 20px;
}
.elementor-image-box-title{
  font-size: 15px;
  font-weight: bold!important;
}
.border-radius img{
  border-radius: 10px!important;
}
.photo-button-custom a{
  font-weight: bold;
  padding: 25px;
}
.photo-button-custom-bis a{
  font-weight: bold;
  padding: 25px 10%;
  font-size: 30px;
}
.photo-button-custom-bis .nm_btn_filled .nm_btn_bg{
  background-color: #3a6450;
}
.photo-button-custom .nm_btn_filled .nm_btn_bg{
  background-color: #fa481f;
}
.photo-button-custom-bis .nm_btn_filled:hover .nm_btn_bg{
  opacity: 1!important;
}

.photo-button-custom .nm_btn_filled:hover .nm_btn_bg{
  opacity: 1!important;
}
.photo-button-custom-bis .nm_btn_filled:hover{
  cursor: default!important;
}
.photo-button-custom .nm_btn_filled:hover{
  cursor: default!important;
}
.chosen-container-single .chosen-single {
  border-radius: 5px;
}
.br-20 {
  border-radius: 20px;
}
.br-10 {
  border-radius: 10px;
}
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  background-color: #424242 !important;
}
.irs--round .irs-from::before,
.irs--round .irs-to::before,
.irs--round .irs-single::before {
  border-top-color: #424242 !important;
}
.irs--round .irs-bar {
  background-color: #7d7d7d !important;
}
.irs--round .irs-handle {
  border: 4px solid #7d7d7d !important;
}
.product .summary .product_title {
  font-size: 2rem;
  font-weight: bold;
}
.woocommerce-product-attributes-item--pa_camac_color_group {
  display: none;
}
/* .woocommerce-product-attributes-item--attribute_pa_camac_color_group, .woocommerce-product-attributes-item--attribute_pa_camac_genere, .woocommerce-product-attributes-item--attribute_pa_country_of_manufacture, .woocommerce-product-attributes-item--attribute_pa_camac_busto, .woocommerce-product-attributes-item--attribute_pa_camac_collo, .woocommerce-product-attributes-item--attribute_pa_camac_fit, .woocommerce-product-attributes-item--attribute_pa_camac_maniche, .woocommerce-product-attributes-item--attribute_pa_camac_dettagli, .woocommerce-product-attributes-item--attribute_pa_camac_tessuto{
	display: none;
  } */
.header-mobile-alt .nm-right-menu ul li.nm-menu-cart {
  display: none;
}
.sub-menu {
  min-width: 72px !important;
  box-shadow: 0 8px 16px 0 rgba(85, 93, 102, 0.08) !important;
}
.nm-menu .sub-menu {
  background: #fff !important;
}
.wpsl-search-btn-wrap {
  float: right !important;
}
#wpsl-search-btn {
  background-color: #282828;
  background-image: none;
  color: white;
}
.woocommerce-product-attributes {
  display: none;
}
.custom-table-attributes {
  display: block;
}
.variations_form {
  margin-bottom: 1.5rem;
}
.variations tr .label {
  width: 20%;
  display: none;
}
.variations tr .value {
  border: none;
  padding-left: 0;
}
.variations tr td ul:nth-child(3) {
  display: none;
}
.variations tr:nth-child(3) {
  display: none;
}
.custom-product-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
}
.custom-attr {
  font-size: 16px !important;
  margin-bottom: 10px;
}
.custom-short-desc,
.custom-taglia,
.custom-tessuto,
.custom-country {
  color: black;
}
.nm-variation-control-color .nm-variation-option {
  display: inline-block;
  cursor: pointer;
  margin-right: 10px;
  text-align: center;
}
.nm-variation-control li:hover {
  border-color: transparent;
}
.nm-variation-control-color .nm-pa-image-thumbnail-wrap {
  display: inline-block;
  width: 60px;
  height: 60px;
  /* border: 1px solid #ccc;
	border-radius: 50%; */
  overflow: hidden;
  background: white;
  margin: 4px;
}
.nm-variation-control li{
  border-radius: 10px;
}
.nm-shop-header {
  display: none;
}
#nm-shop {
  margin-top: 3rem;
}
.variations tr .value {
  text-align: left;
  /* padding-left: 16px;
	border-left: 0 none; */
}
.nm-variation-control-color .nm-pa-image-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 77%;
  padding: 3px;
}
.nm-variation-control-color
  .nm-variation-option.active
  .nm-pa-image-thumbnail-wrap {
  border: 2px solid #0071a1;
}
.nm-variation-control.nm-variation-control-color li {
  padding: 0px;
}

/* .nm-header.menu-centered .nm-right-menu > ul {
  display: none;
} */
 .nm-menu-account{
  display: none;
 }
.nm-menu-cart-count {
  display: none !important;
}
/* #nm-mobile-menu .nm-mobile-menu-content {
	padding: 0px 15px 32px 0px;
  } */
.nm-mobile-menu-secondary {
  display: none;
}
/* .nm-banner img {
  border-radius: 30px;
  padding: 15px;
} */
.nm-footer-bar .menu > li {
  display: block;
  margin-left: 0px;
}
.nm-footer-bar-inner {
  padding-top: 80px!important;
  padding-bottom: 80px!important;
  background-color: black!important;
}
.nm-banner-text-inner h1{
  /* font-size: 2.5rem; */
  font-weight: bold;
}
.nm_btn{
  min-width: 110px!important;
}
.nm_btn_bg{
  border-radius: 10px!important;
  padding: 10px 15px 10px 15px!important;
}
.nm_btn_lg {
  padding: 10px 25px 10px;
}
.nm-banner.text-color-light .nm-banner-link.type-btn {
  border-radius: 10px;
  padding: 10px 15px 10px 15px;
  color:white;
  background: black;
}
.entry-content .wp-caption-text {
  bottom: 42%;
  left: 10%;
  color: #eee;
  background: transparent;
  font-weight: bold;
  width: 100%;
  font-family: montserrat, sans-serif;
}
.nm-product-slider .tooltiptester-no {
  display: none;
}
.wp-caption{
  background: black;
  border-radius: 13px;
  line-height: 0;
}
.entry-content .wp-caption img[class*="wp-image-"] {
  opacity: 0.7;
  border-radius: 13px;
}
.contattaci-custom{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nm-footer-bar h5{
  color:white;
  font-weight: bold;
}
.custom-product-logo {
  max-width: 120px;
}
.custom-product-info {
  font-size: 16px;
}
.custom-product-info > h1,
.custom-product-info > p {
  margin-bottom: 0.5rem;
}
.woof_container {
  border-bottom: 1px solid #eaeaea;
  padding-top: 10px;
  padding-bottom: 20px;
}

.custom-links-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  text-decoration: underline;
  text-transform: uppercase;
}
.custom-links-wrapper > a {
  color: #777777 !important;
  font-size: 16px;
}
.size-modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.size-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.size-modal {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s;
  max-width: 500px;
  width: 100%;
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
}

.size-table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.modal-body {
  overflow-x: auto;
  overflow-y: auto;
  width: 100%;
}
.size-table th,
.size-table td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.size-table th {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.size-table tr:nth-child(even) {
  background-color: #f1f1f1;
}

.size-table tr:hover {
  background-color: #eaeaea;
  cursor: pointer;
}

.size-table caption {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #555;
}

.size-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.size-modal button.close svg {
  width: 20px;
  height: 20px;
}

.size-modal-backdrop.active .size-modal {
  opacity: 1;
  transform: translateY(0);
}
.custom-brand{
  font-size: 18px;
  text-transform: uppercase;
  color:black;
}

@media (max-width: 991px) {
  #nm-shop-sidebar .widget .nm-shop-widget-col:last-child {
    height: auto !important;
  }
  #nm-shop-sidebar .widget .nm-shop-widget-col:last-child > * {
    padding: 0;
    border-top: none !important;
  }
  .woof_container_inner h4 {
    font-size: 14px;
  }
  #nm-shop-products > .nm-row:first-child {
    display: none;
  }
  #close-sidebar-btn {
    display: none;
  }
  #filter-toggle-btn {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .photo-button-custom-bis a{
    font-weight: bold;
    padding: 10px 5%;
    font-size: 13px;
  }

  .nm-header-col{
    display: block;
  }

  .size-modal {
    height: 100%;
    padding-top: 60px;
  }
  /* .nm-banner img {
    border-radius: 30px !important;
  } */
  .nm-header.menu-centered .nm-right-menu > ul {
    display: inline-block;
  }
  .wpml-ls-item {
    width: 100%;
  }
  .wpml-ls-item > .sub-menu.open {
    width: 85%;
    display: inline-flex !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
  .wpml-ls-item > .sub-menu.open > li {
    text-align: center;
  }
  .wpml-ls-flag {
    display: inline-block !important;
  }
  .custom-product-logo {
    display: block;
    margin-bottom: 15px;
  }
  .custom-product-info {
    display: block;
  }
  .custom-product-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

