/* tutte le pagine WC */

.woocommerce .woocommerce-customer-details .woocommerce-column__title {
  color: var(--color-1);
  font-size: 20px;
  font-weight: 700;
}

.woocommerce .woocommerce-customer-details address,
.woocommerce .woocommerce-MyAccount-content address {
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  margin-bottom: 20px !important;
  background-color: var(--color-bg);
}

.woocommerce-page form .form-row {
  margin: 0 0 10px;
}

.woocommerce-page form .form-row label {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.woocommerce-page form .form-row .input-text,
.woocommerce-page form .form-row select {
  border: 0;
  padding: 18px;
  border-radius: 6px;
}

.woocommerce-page .selection .select2-selection {
  border: 0;
}

.woocommerce-page .selection .select2-selection .select2-selection__rendered {
  padding: 18px;
  border-radius: 6px;
  background-color: var(--color-bg);
}

.woocommerce-page #ship-to-different-address span {
  font-size: 16px;
}

.woocommerce-page :is(.product-price, .product-subtotal, .cart_item) del,
.woosw-list .woosw-item--price del {
  color: #666;
}

.woocommerce-page :is(.product-price, .product-subtotal, .cart_item) ins,
.woosw-list .woosw-item--price ins {
  text-decoration: none;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .woocommerce-page form :is(.form-row-first, .form-row-last) {
    float: none;
    width: 100%;
  }

  .woocommerce-page form .form-row-last button.button {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .woocommerce .woocommerce-customer-details .woocommerce-column__title {
    font-size: 18px;
  }
}


/* wishlist */

#wrapper .woosw-list .woosw-items .button {
  margin-top: 0 !important;
}


@media screen and (max-width: 768px) {
  #wrapper table.woosw-items,
  #wrapper table.woosw-items :is(thead, tbody, th, td, tr) {
    display: block;
    border-bottom: 0 !important;
  }

  #wrapper table.woosw-items .woosw-item--remove {
    display: inline-block;
    width: 36px;
  }

  #wrapper table.woosw-items .woosw-item--image {
    display: inline-block;
  }

  #wrapper table.woosw-items .woosw-item--info {
    padding-top: 0;
  }

  #wrapper table.woosw-items .woosw-item {
    border-bottom: 1px solid #ccc !important;
    padding: 10px 0;
  }
}


/* WC barra notifiche */

#wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) {
  background-color: var(--color-bg) !important;
  border-radius: 6px !important;
  border: 0 !important;
  padding: 20px 30px 20px 60px;
  line-height: 1.2;
  font-weight: 500;
}

#wrapper :is(.woocommerce-message, .woocommerce-info) {
  display: flex;
  align-items: center;
}

#wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info)::after {
  display: none;
}

#wrapper .woocommerce-message::before {
  color: var(--color-1);
  margin-right: 20px;
}

#wrapper ul.woocommerce-error li {
  line-height: 1.2;
}

#wrapper .woocommerce-info::before {
  margin-right: 10px;
}

#wrapper .woocommerce-info a.button {
  margin-left: auto;
}

@media screen and (min-width: 769px) {
  #wrapper .woocommerce-message a:is(.button, .restore-item) {
    margin-left: auto;
  }
  #wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info)::before {
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
  }
  #wrapper :is(.woocommerce-error, .woocommerce-info) li a.button {
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  #wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 20px 30px 60px;
  }
  #wrapper .woocommerce-error li {
    align-items: flex-start;
    flex-direction: column;
  }
  #wrapper .woocommerce-message::before {
    top: 28px;
  }
  #wrapper :is(.woocommerce-error, .woocommerce-info)::before {
    top: 30px;
  }
  #wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) a:is(.button, .restore-item) {
    margin-top: 20px;
  }
  #wrapper .woocommerce-info a:is(.button, .restore-item) {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
    #wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) a.button {
        white-space: wrap;
        text-align: center;
    }
}

/* Shop/Archivio */

#sidebar .widget {
  margin-bottom: 0;
}

#sidebar .widget_price_filter {
  margin-bottom: 30px;
}

#sidebar .widget_layered_nav_filters {
  background-color: var(--color-bg);
  border-radius: 10px;
  padding: 15px 20px 10px;
  margin-bottom: 30px;
}

#sidebar .widget_layered_nav_filters :is(.boc_heading, .widgettitle) {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

#sidebar .widget_layered_nav_filters ul li a {
  font-weight: 500;
  font-size: 15px;
}

#sidebar .price_slider {
  height: 4px;
  box-shadow: none !important;
  background-color: var(--color-2) !important;
}

#sidebar .price_slider .ui-slider-range {
  height: 3px;
}

#sidebar .price_slider .ui-slider-handle {
  background-color: var(--color-1) !important;
  background-image: none !important;
  top: -7px !important;
  box-shadow: none !important;
}

#sidebar .price_slider .ui-slider-handle:focus-visible {
  outline: 2px solid var(--color-1);
  outline-offset: 3px;
}

#sidebar .widget_price_filter .price_label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding-top: 8px;
}

#sidebar .widget_price_filter .button {
  padding: 11px 12px !important;
}

#sidebar .woo-num-slider :is(.boc_heading, .widgettitle),
#sidebar .widget_layered_nav :is(.boc_heading, .widgettitle) {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

#sidebar .widget_layered_nav:not(.ready) :is(.boc_heading, .widgettitle) {
  background-color: var(--color-bg);
  padding: 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sidebar .widget_layered_nav.ready :is(.boc_heading, .widgettitle) button,
#sidebar #filter-head {
  background-color: var(--color-bg);
  background-image: none;
  padding: 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--color-text);
  text-transform: none;
  font-size: 18px;
  font-weight: 600;
  text-shadow: none;
}

#sidebar #filter-head {
  display: none;
  background-color: var(--color-1);
  color: #fff;
  font-weight: 500;
}

#sidebar .widget_layered_nav .icon,
#sidebar #filter-head .icon {
  display: block;
  font-size: 12px;
}

#sidebar .widget_layered_nav button[aria-expanded="true"] .icon::before,
#sidebar #filter-head[aria-expanded="true"] .icon::before {
  content: "\f077";
}

#sidebar .woocommerce-widget-layered-nav-list {
  padding-left: 10px;
  margin-bottom: 30px;
  display: none;
}

#sidebar .woo-num-slider {
  margin: 30px 0;
}

.woocommerce-shop .page-description,
.woocommerce.archive .woo_content .term-description {
  font-size: 18px;
  margin-bottom: 40px;
}

.woocommerce.archive .woocommerce-result-count {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.woocommerce.archive .woocommerce-ordering .orderby {
  padding: 16px;
  border: 0;
  background-color: var(--color-bg);
  border-radius: 6px;
  font-weight: 500;
}

.woocommerce.archive .span_3_of_4 ul.products li.product {
  margin-bottom: 50px !important;
}

.woocommerce.archive ul.products {
  margin-bottom: 20px !important;
}


@media screen and (min-width: 1018px) and (max-width: 1280px) {
  #sidebar .widget_price_filter .price_label {
    padding-top: 0;
  }
}

@media screen and (min-width: 769px) and (max-width: 1017px) {

  #sidebar,
  .archive.woocommerce-page .container .woo_content.span_3_of_4 {
    width: 100%;
    margin: 0 0 30px 0;
  }

  #sidebar.col {
    padding-right: 0;
  }
}

@media screen and (min-width: 1018px) {
  #sidebar #filter-content {
    display: block !important;
  }
}

@media screen and (max-width: 1017px) {
  #sidebar #filter-head {
    display: flex;
  }

  #filter-content {
    display: none;
    padding-top: 30px;
  }

  #sidebar {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce.archive .woocommerce-result-count {
    min-height: auto;
    margin-bottom: 8px;
  }

  .woocommerce.archive .woocommerce-ordering {
    float: left;
  }
}

@media screen and (max-width: 480px) {
  .archive.woocommerce-page .span_3_of_4 ul.products li.product {
    width: 100% !important;
    margin-bottom: 30px !important;
  }
}


/* Box catalogo */

#box-catalogo {
  display: flex;
  background-image: var(--color-gradient);
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 60px;
  position: relative;
  position: relative;
  padding: 40px 70px;
}

#box-catalogo img {
  position: absolute;
  bottom: 0;
  right: 0;
}

#box-catalogo .content {
  color: #eeeeee;
  max-width: 430px;
}

#box-catalogo .content h2 {
  color: var(--color-2);
}

#box-catalogo .content p {
  font-size: 18px;
  font-weight: 500;
}

#box-catalogo .content a.style-button {
  margin-top: 12px;
}

@media screen and (max-width: 1280px) {
  #box-catalogo {
    padding: 40px 50px 40px;
    margin-top: 0;
  }

  #box-catalogo img {
    width: 500px;
  }
}

@media screen and (max-width: 1017px) {
  #box-catalogo .content {
    text-align: center;
    margin: 0 auto;
  }

  #box-catalogo img {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #box-catalogo {
    padding: 40px 30px;
  }
}


/* Selettore quantità prodotti (in scheda prodotto e carrello) */

:is(.single-product, .woocommerce-cart-form) .cart .quantity input {
  outline-offset: 0;
}

:is(.single-product, .woocommerce-cart-form) .cart .quantity .minus {
  border-radius: 6px 0 0 6px !important;
  width: 38px !important;
}

:is(.single-product, .woocommerce-cart-form) .cart .quantity .plus {
  border-radius: 0 6px 6px 0 !important;
  width: 38px !important;
}

:is(.single-product, .woocommerce-cart-form) .cart .quantity :is(.minus, .qty, .plus) {
  background-color: var(--color-bg);
  border: 0 !important;
  box-shadow: none !important;
  height: 48px !important;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

:is(.single-product, .woocommerce-cart-form) .cart .quantity .qty {
  border-radius: 0;
}

:is(.single-product, .woocommerce-cart-form) .cart .quantity input::-webkit-outer-spin-button,
:is(.single-product, .woocommerce-cart-form) .cart .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:is(.single-product, .woocommerce-cart-form) .cart .quantity input[type=number] {
  -moz-appearance: textfield;
}