/* 
Theme Name: Garuti Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Garuti Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: garuti-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
================================
================================
GENERAL SETTINGS
================================
================================
*/

/* Header */
.elementor-button-icon-qty {
  top: 0 !important;
  right: -12px !important;
}

/* Button */
.elementor-button-content-wrapper svg {
  width: 34px !important;
}

/* Title between lines */
.title-lines {
  position: relative;
  overflow: hidden;
}

.title-lines:before,
.title-lines:after {
  content: "";
  height: 1px;
  width: 45%;
  background-color: var(--e-global-color-primary);

  position: absolute;
  top: 51%;
  margin-left: 5%;
  overflow: hidden;
}
.title-lines:before {
  margin-left: -50%;
}

@media (max-width: 768px) {
  .title-lines:before,
  .title-lines:after {
    display: none;
  }
}

/* Button */
.btn-primary .st0 {
  fill: #ffffff !important;
}

/*
================================
================================
HOME
================================
================================
*/

/* Newsletter form */

#newsletter-form label[for="form-field-privacypolicy"] {
  font-size: 13px !important;
}

#newsletter-form .elementor-field-group-email {
  flex-basis: 70%;
  order: 0;
}

#newsletter-form .elementor-field-type-submit {
  flex-basis: 30%;
  order: 1;
}

#newsletter-form .elementor-field-type-recaptcha_v3 {
  order: 2;
}

#newsletter-form .elementor-field-group-privacypolicy {
  flex-basis: 100%;
  order: 3;
}

#newsletter-form a:link,
#newsletter-form a:visited {
  color: #ffffff !important;
}

#newsletter-form a:hover,
#newsletter-form a:active {
  color: var(--e-global-color-2037dc8) !important;
}

@media (max-width: 768px) {
  #newsletter-form .elementor-field-group-email {
    flex-basis: 60%;
  }
}

@media (max-width: 425px) {
  #newsletter-form .elementor-field-group-email {
    flex-basis: 100%;
    order: 0;
  }

  #newsletter-form .elementor-field-group-privacypolicy {
    flex-basis: 100%;
    order: 1;
  }

  #newsletter-form .elementor-field-type-submit {
    flex-basis: 100%;
    order: 2;
  }
}

/*
================================
================================
CONTATTI
================================
================================
*/

/* Form di contatto */
#richiesta-info .elementor-field-group-nome > label,
#richiesta-info .elementor-field-group-cognome > label,
#richiesta-info .elementor-field-group-email > label,
#richiesta-info .elementor-field-group-telefono > label,
#richiesta-info .elementor-field-group-messaggio > label,
#richiesta-info .elementor-field-group-privacy > label {
  display: none;
}

#richiesta-info label[for="form-field-privacy"] {
  font-size: 15px !important;
}

/*
================================
================================
WOOCOMMERCE - General
================================
================================
*/

.woocommerce .woocommerce-breadcrumb a {
  font-size: 16px;
}

/*
================================
================================
WOOCOMMERCE - Prodotto singolo
================================
================================
*/

/* Additional information */
.wpr-product-additional-information th {
  text-transform: uppercase !important;
}

/* In Stock */
.woocommerce div.product p.stock.in-stock {
  display: none;
}

/* Product images */
.woocommerce-page div.product div.images {
  width: 100%;
}

.woocommerce div.product div.images {
  margin-bottom: 0 !important;
}

.woocommerce-product-gallery .flex-direction-nav {
  display: none;
}

/*
================================
================================
WOOCOMMERCE - Prodotto Variabile
================================
================================
*/

table.variations th,
table.variations td {
  background-color: #ffffff !important;
  padding: 0 0 15px;
}

table.variations th {
  text-align: left !important;
}

table.variations select {
  border: 1px solid var(--e-global-color-accent);
}

.woocommerce div.product p.price {
  color: var(--e-global-color-primary) !important;
}

.woocommerce .cart .button {
  width: 100%;
}

/* Additional information - Orologi */
.woocommerce-product-attributes-item--attribute_pa_colore-quadrante,
.woocommerce-product-attributes-item--attribute_pa_colore-cinturino {
  display: none;
}

/* Variable Price */

.woocommerce-variation-price .price {
  color: var(--e-global-color-primary) !important;
  font-family: "Playfair Display", sans-serif;
  font-size: 32px !important;
  font-weight: 400;

  display: inline-block;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  table.variations tr {
    display: flex;
    flex-direction: column;
  }

  table.variations tr th {
    padding-bottom: 0 !important;
  }
}

/*
================================
================================
WOOCOMMERCE - Pagina Categoria
================================
================================
*/

.woocommerce .woocommerce-result-count {
  font-size: 16px !important;
  color: var(--e-global-color-secondary);
}

.woocommerce .woocommerce-ordering select {
  border: none;
  text-align: right;
}

/* Mobile - 1 Column */
@media (max-width: 767px) {
  .woocommerce .elementor-widget-wc-archive-products .products {
    grid-template-columns: 1fr !important;
  }
}

/*
================================
================================
WOOCOMMERCE - Login/Register
================================
================================
*/

#customer_login h2 {
  font-size: 28px !important;
  color: var(--e-global-color-primary) !important;
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce .woocommerce-customer-details address {
  border-radius: 0 !important;
}

.woocommerce-form-register p {
  font-size: 15px !important;
}

.woocommerce-form-register a {
  color: var(--e-global-color-secondary) !important;
}

/*
================================
================================
WOOCOMMERCE - Account
================================
================================
*/

.woocommerce-MyAccount-navigation-link--downloads {
  display: none;
}

/*
================================
================================
WOOCOMMERCE - Notice
================================
================================
*/
.single-product .woocommerce-notices-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.single-product .woocommerce-message,
.single-product .woocommerce-error {
  width: 1440px;
  max-width: 100%;
  border: none;
  background-color: var(--e-global-color-primary);
  color: #ffffff;
  padding: 0.8em 1.5em 0.8em 3.5em;
}

.single-product .woocommerce-message::before,
.single-product .woocommerce-error::before {
  color: #ffffff;
}

.single-product .woocommerce-message li,
.single-product .woocommerce-error li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-product .woocommerce-message .button,
.single-product .woocommerce-error .button {
  order: 0;
  border-radius: 0 !important;
  font-size: 15px !important;
  font-family: "Playfair Display", sans-serif;
  background-color: #ffffff !important;
  padding: 15px 40px !important;
  color: var(--e-global-color-primary);
}

.single-product .woocommerce-error .button {
  order: 1;
}

/*
================================
================================
WOOCOMMERCE - Sorting
================================
================================
*/
.wpr-grid-sorting-wrap form .orderby {
  width: 250px !important;
}

/*
================================
================================
WOOCOMMERCE - Cart
================================
================================
*/
.shipping-calculator-button:hover {
  color: #ffffff !important;
  background-color: var(--e-global-color-primary) !important;
  border-color: var(--e-global-color-primary) !important;
}

/*
================================
================================
WOOCOMMERCE - Filter
================================
================================
*/
.wpr-product-filter-tax-wrap {
  overflow-y: scroll;
  max-height: 180px;
}

/* Width */
.wpr-product-filter-tax-wrap::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.wpr-product-filter-tax-wrap::-webkit-scrollbar-track {
  border-left: 1px solid #aaaaaa;
}

/* Handle */
.wpr-product-filter-tax-wrap::-webkit-scrollbar-thumb {
  background: var(--e-global-color-primary);
}

/*
================================
================================
WOOCOMMERCE - Checkout
================================
================================
*/

.ppc-button-wrapper {
  margin: 25px 40px 0;
}

@media (min-width: 1024px) {
  .ppc-button-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .ppc-button-wrapper {
    margin: 0;
    margin-top: 25px;
  }
}

/*
================================
================================
reCaptcha
================================
================================
*/

.grecaptcha-badge {
  display: none;
}

/*
================================
================================
Iubenda
================================
================================
*/

#iubenda-cs-banner #iubenda-cs-title {
  color: #ffffff;
}
