/* 
Theme Name: Happy Museau Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Happy Museau 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: happymuseau-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
================================
================================
*/

/*
================================
================================
Newsletter
================================
================================
*/

#newsletter form {
  display: flex;
}

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

#newsletter form .elementor-field-type-email input {
  height: 45px;
}

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

#newsletter form .elementor-field-type-submit button {
  height: 45px;
}

#newsletter form .elementor-field-type-acceptance {
  order: 2;
  font-size: 13px;
}

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

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

  #newsletter form .elementor-field-type-submit button {
    height: auto;
    border-radius: 40px;
  }

  #newsletter form .elementor-field-type-acceptance {
    order: 1;
    font-size: 13px;
  }
}

#newsletter a:link,
#newsletter a:visited {
  color: var(--e-global-color-primary) !important;
  font-size: 13px;
}

#newsletter a:hover,
#newsletter a:active {
  color: #9f4d51 !important;
}

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

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

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

/* Generale */
.wpr-grid-cf-style-1 .inner-block {
  position: relative;
}

.wpr-grid-cf-style-1 .inner-block img {
  width: 50px;
  max-width: 100%;
}

/* Bau Box */

#bau-box .wpr-grid-image-wrap {
  display: none !important;
}

#bau-box .wpr-grid-item .wpr-grid-item-below-content {
  border-radius: 20px !important;
}

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

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

/* Variazioni */
.woocommerce .variations tr {
  flex-direction: row !important;
}

.woocommerce form.cart .variations td {
  width: 35%;
}

@media (max-width: 478px) {
  .woocommerce form.cart .variations th {
    width: 55% !important;
  }

  .woocommerce form.cart .variations td {
    width: 45% !important;
  }
}

/* Gallery */
.woocommerce .woocommerce-product-gallery .flex-direction-nav {
  display: none !important;
}

/* Prezzo Variabile */
.woocommerce .woocommerce-variation-price {
  position: absolute;
  right: 0;
  top: 10px;
}

@media (max-width: 478px) {
  .woocommerce .woocommerce-variation-price {
    position: relative;
  }
}

/* Aggiungi al carrello */
.woocommerce .single_variation_wrap,
.woocommerce .woocommerce-variation-add-to-cart,
.woocommerce .single_add_to_cart_button,
.wpr-product-add-to-cart .wpr-simple-qty-wrap {
  width: 100% !important;
}

/* Caratteristiche prodotto */
.elementor-widget-tabs .elementor-tab-desktop-title {
  padding: 18px 25px !important;
}

.elementor-tab-content p {
  margin-bottom: 0 !important;
}

/*
================================
================================
WOOCOMMERCE - Icona Carrello
================================
================================
*/

.wpr-mini-cart-toggle-btn .wpr-mini-cart-btn-price {
  order: 1;
  margin-left: 8px;
}

/*
================================
================================
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;
  background-color: #ffffff !important;
  padding: 15px 40px !important;
  color: var(--e-global-color-primary);
}

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

/*
================================
================================
Domande Frequenti - Accordion
================================
================================
*/

.faq .elementor-tab-title {
  padding: 30px 0 !important;
  border-bottom: 1px solid #c9c9c9;
}

.faq .elementor-tab-title.elementor-active {
  padding: 30px 0 5px 0 !important;
}

.faq .elementor-tab-title.elementor-active .elementor-accordion-title {
  font-weight: 800 !important;
}

.faq .elementor-tab-content {
  border-bottom: 1px solid #c9c9c9 !important;
}

/*
================================
================================
WPML
================================
================================
*/

.wpml-ls-legacy-dropdown a {
  border: none;
}

.wpml-ls-legacy-dropdown a:hover {
  background: none !important;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  border-top: none !important;
}

/*
================================
================================
Termini e Condizioni
================================
================================
*/

.terms-list h3 {
  margin-top: 30px;
}

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

.grecaptcha-badge {
  display: none;
}

/*
================================
================================
Whatsapp icon
================================
================================
*/

.wa-icn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  padding: 20px;
  background: #25d366;
  border-radius: 40px;
  height: 60px;
  width: 60px;
  color: #ffffff !important;
  font-weight: 700 !important;

  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;

  overflow: hidden;
  transition: width 0.4s;
}

.wa-icn i {
  color: #ffffff !important;
  font-size: 2rem;
}

.wa-icn__label {
  display: none;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 480px) {
  /* .wa-icn {
    right: unset;
    bottom: 15px;
    left: 15px;
  } */
}

/* Desktop */
@media (min-width: 1024px) {
  .wa-icn:hover {
    width: 250px;
    justify-content: center;
  }

  .wa-icn:hover i {
    margin-right: 10px;
  }

  .wa-icn:hover .wa-icn__label {
    display: block;
    transition: all 2s;
  }
}

/* Copyright */
.copyright-text, .copyright-text a {
  color: white;
  font-size: 13px;
  text-align: center;
}