/* 
Theme Name: Azimut Theme Elementor
Theme URI: https://github.com/elementor/hello-theme-child/
Description: AzimutYachts Theme is a child theme of Hello Elementor
Author: MaiorGroup
Author URI: https://maiorgroup.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: azimutyachts
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
*/

/* Add your custom styles here */


/************************
 * STICKY HEADER SHRINK *
************************/

/* Basic styles for header and logo */
 .full-header {
    transition: height 0.5s ease;
  }
   
   .full-header .logo {
    transition: transform 0.5s ease;
    transform-origin:  center center; /* Set the scaling point to the left */
  }
   
  /* Starting heights for different devices */
  @media (min-width: 1025px) {
     .full-header {
      padding-top: 40px;
      padding-bottom: 40px;
      gap: 30px 0px;
    }
  }
   
  @media (min-width: 768px) and (max-width: 1024px) {
     .full-header {
      padding-top: 30px;
      padding-bottom: 30px;
      gap: 25px 0px;
    }
  }
   
  @media (max-width: 767px) {
     .full-header {
      padding-top: 20px;
      padding-bottom: 20px;
      gap: 10px 0px;
    }
  }
   
  /* Reduced heights when scrolling */
  @media (min-width: 1025px) {
     .full-header.shrink {
      padding-top: 5px;
      padding-bottom: 5px;
      gap: 0px 0px;
    }
    
     .full-header.shrink ul#menu-menu-principale-1 li a,
     .full-header.shrink ul#menu-menu-principale-inglese-1 li a {
      padding-top: 0px !important;
      padding-bottom: 0px !important;
    }

  }
   
  @media (min-width: 768px) and (max-width: 1024px) {
     .full-header.shrink {
      padding-top: 5px;
      padding-bottom: 5px;
      gap: 0px 0px;
    }
    
     .full-header.shrink ul#menu-menu-principale-1 li a,
     .full-header.shrink ul#menu-menu-principale-inglese-1 li a {
      padding-top: 0px !important;
      padding-bottom: 0px !important;
    }
    
  }
   
  @media (max-width: 767px) {
     .full-header.shrink {
      padding-top: 5px;
      padding-bottom: 5px;
      gap: 0px 0px;
    }
  
     .full-header.shrink ul#menu-menu-principale li a {
      padding-top: 0px !important;
      padding-bottom: 0px !important;
    }
  }
   
  .full-header.shrink .logo {
    transform: scale(0.8);
  }
  
   .full-header.shrink .logo .tp-sticky-logo-cls {
   	opacity: 0;
   	transition: opacity 0.3s ease-in-out;
   	width: 150px;
   }
   
   .full-header.shrink .logo  .image-logo-wrap.sticky-image {
   	opacity: 1;
   	transition: opacity 0.3s ease-in-out;
   	margin:bottom: 0px;
   }
  
  
  
  /***************************
    MEGA MENU CUSTOM SUBMENU
  ****************************/
  .elementor-editor-active .hideme { 
      display:block; 
  } 
  .hideme { 
      display:none; 
  } 
  .showme { 
      display: block !important; 
  } 
  
  
  .showhand {
      cursor: pointer; 
  }
  
  .sidemenu-boggi a:hover {
      text-decoration: underline;
  }
  
  .sidemenu-boggi p:hover {
      text-decoration: underline;
  }
  
  
  /*********************
   * FIX SEARCH FORM   *
  **********************/
  
  .plus-search-form.plus-search-form-content.style-1 input.plus-search-field, .plus-search-form.plus-search-form-content.style-3 input.plus-search-field {
      height: auto;
  }
  
  
  /*********************
   * FIX LOGIN POPUP   *
  **********************/
  
  .tp-ulsp-content .elementor-form-fields-wrapper.tp-popup-body {
      justify-content: center;
  }
  
  .tp-modal a.tp-ulsp-btn-close.tp-ulsp-trigger {
      top: 5px;
      right: 3px;
  }
  
  
  
  /*********************
   * FIX RIGHT ICON    *
  **********************/
  
  .after_login_btn_wrapper {
    margin-top: 3px;
  }
 
@media (max-width: 767px) {
	.after_login_btn_main {
	  background-color: #d9d9d9 !important;
	}
}

 
  /*********************
   * PRODUCT PAGE      *
  **********************/
  
  a.reset_variations {
      color: #1D1D1B;
  }
  
  div.product p.stock.in-stock {
      color: #1D1D1B;
  }
  

    
  /*********************
   * MINI-CART     *
  **********************/
  
  .elementor-menu-cart__main {
    width: 450px;
    max-width: 450px;
  }

  .elementor-menu-cart__product {
    grid-template-columns: 38% auto;
  }

      
  /*********************
   * RECAPTCHA    *
  **********************/
  

  .grecaptcha-badge { visibility: hidden; }


  /*********************
   * BACKGROUND MOBILE    *
  **********************/
  


  @media (max-width: 767px) {
    header {
        background-color: #d9d9d9 !important;
    }
    
    .user-box .tp-user-login.tp-user-login-skin-popup .tp-ulsp-btn {
        background-color: #d9d9d9 !important;
    }

    #elementor-menu-cart__toggle_button {
        background-color: #d9d9d9 !important;
    }

  }


 /*********************
   * BACKGROUND MOBILE    *
  **********************/
  

  .az_addtocart .added_to_cart.wc-forward {
    display: none !important;
  }

 /*********************
   * MINI-CART    *
  **********************/

.woocommerce-mini-cart__empty-message:before {
  content: '';
  background-image: url('/wp-content/uploads/2025/03/azimut-store-servizi-dealer.svg');
  display: inline-block;
  width: 64px;
  height: 64px;  
  margin-bottom: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.elementor-menu-cart__title h3 {
  font-family: "Helvetica Neue LT Pro", Sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #1D1D1B;
}

.elementor-menu-cart__product-image.product-thumbnail {
  border-radius: 7px
}
 
.elementor-menu-cart__product {
  padding-right: 0;
}

.elementor-menu-cart__product-image.product-thumbnail > a > img {
  border-radius: 7px;
}

.elementor-menu-cart__product-variation.product-variations {
  text-transform: uppercase;
  padding-top: 15px;
  color: #1D1D1B;
}

.elementor-menu-cart__product-quantity.product-quantity {
  padding-top: 15px;
  color: #1D1D1B;
}

.elementor-menu-cart__product-quantity.product-quantity .quantity {
  text-transform: uppercase;
  color: #1D1D1B;
}

.elementor-menu-cart__product-lastline {
  padding-left: 20px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  
}

.elementor-menu-cart__product-remov.product-remove a,
.elementor-menu-cart__product-remov.product-remove a:link,
.elementor-menu-cart__product-remov.product-remove a:visited,
.elementor-menu-cart__product-remov.product-remove a:active,
.elementor-menu-cart__product-remov.product-remove a:hover {
  font-family: "Helvetica Neue LT Pro", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #1D1D1B;
  text-decoration: underline;
}

.product-total-price {
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 1.4px;
}

.elementor-menu-cart__subtotal {
  border-top: 1px solid #1D1D1B;
}

.elementor-menu-cart__footer-buttons a.button {
  font-family: "Helvetica Neue LT Pro", Sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-transform: uppercase;
  background-color: #1D1D1B;
  color: #FFF;
  border-radius: 25px;
  padding-top: 15px;
  padding-bottom: 12px;
  padding-left: 10px;
  padding-right: 10px;
}

.elementor-menu-cart__footer-buttons a.button:hover {
  background-color: #FFF;
  color: #1D1D1B;
}

.mini-cart-elementor-template {
  width: 100%;
  box-sizing: border-box;
}

.mini-cart-elementor-template .elementor-section {
  max-width: 50% !important;
  margin: 0 !important;
}
