/*
 Theme Name:   Storefront Child
 Theme URI:    http://example.com/storefront-child/
 Description:  Tema child di Storefront
 Author:       Paolo Pizzuti
 Author URI:   **
 Template:     storefront
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

:root {
    --main-color: #b64173;
}


html, body {
   font-family: 'Poppins', helvetica, arial, sans-serif !important;
}
/* Cambia il colore blu predefinito in rosso */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input.button.alt,
.woocommerce .widget_price_filter .price_slider_wrapper .ui-slider-handle,
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce .star-rating:before,
.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background-color: var(--main-color); /* Colore rosso, puoi sostituire con il tuo colore desiderato */
    color: white;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--main-color); /* Colore rosso, puoi sostituire con il tuo colore desiderato */
    border-color: var(--main-color); /* Colore rosso, puoi sostituire con il tuo colore desiderato */
}
a {
    color: var(--main-color);
}
.cta {
   position: relative;
   width: auto;
   font-weight: 500;
   font-size: 1.2rem;
   text-transform: uppercase;
   letter-spacing: .02em;
   flex-shrink: 0;
   display: inline-block;
   align-items: center;
   padding: 7px 24px;
   background-color: black;
   cursor: pointer !important;
   overflow: hidden;
   color: white;
   z-index: 1;
   margin-top: 24px;
   transition: .3s;
}
.cta.white {
   background-color: white;
   color: black;
}

/* Nascondi la sidebar su WooCommerce */
.woocommerce #secondary {
    display: none;
}

/* Espandi la larghezza del contenuto principale su WooCommerce */
.woocommerce #primary {
    width: 100%;
}

/* Rimuovi lo spazio vuoto residuo */
.woocommerce .site-main {
    margin-right: 0;
    margin-left: 0;
}


/* Cambia la larghezza predefinita del contenitore principale */
.woocommerce .site-main {
    max-width: 1400px; /* Puoi regolare questo valore a seconda delle tue esigenze */
    width: 100%;
    margin: 0 auto;
}

html, body {
    font-family: Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
 
   ul.products {
      display: flex;
      flex-wrap: wrap; 
   }
 
   ul.products li.product {
      display: flex;
      flex-direction: column;
   }
 
   ul.products li.product .button {
      margin-top: auto;
   }
 
}
a.remove::before {
    color: white;
}


header#masthead {
   margin-bottom: 0;
   /* display: flex; */
}
header#masthead:before {
    
}
.site-header {
   padding-top: 1.2em;
}
.site-header .site-branding a {
   display: block;
}
.site-header .site-branding img {
   width: 220px;
}
.site-branding, .site-search, .site-header-cart, .site-logo-anchor, .site-logo-link, .custom-logo-link {
   margin-bottom: 0;
}
/*
.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a {
    color: white;
}
.site-header-cart .cart-contents {
    color: white;
}
.widget_search form:not(.wp-block-search) input[type=text], .widget_search form:not(.wp-block-search) input[type=search], .widget_product_search form:not(.wp-block-search) input[type=text], .widget_product_search form:not(.wp-block-search) input[type=search] {
    border-radius: 50px;
} */


section.home-slide {
   margin-bottom: 72px;
}
section.home-slide .swiper-slide {
   position: relative;
   /* min-height: 550px; */
   height: 100%;
   height: 420px;
   /* height: 80vh; */
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center center;
   padding: 40px 0;
}
section.home-slide .swiper-slide:before {
   content: "";
   position: absolute;
   height: 100%;
   width: 100%;
   left: 0;
   top: 0;
   background: linear-gradient(90deg, rgba(182, 65, 115, 0.596) 0%, rgba(182, 65, 115, 0) 65%);
   z-index: 9;
}
section.home-slide .swiper-slide .slide-content {
   position: relative;
   display: flex;
   align-items: flex-start;
   justify-content: center;
   flex-direction: column;
   height: 100%;
   z-index: 10;
   /* padding-left: 10vw;
   padding-right: 10vw; */
}
section.home-slide .swiper-slide .slide-content h1,
section.home-slide .swiper-slide .slide-content p {
   color: white;
}
section.home-slide .swiper-slide .slide-content h1 {
   font-size: 4rem;
   font-weight: 500;
   line-height: 1;
   margin-bottom: 8px;
}
section.home-slide .swiper-slide .slide-content p {
   font-size: 1.2rem;
   max-width: 380px;
   /* width: 50%; */
}
section.home-slide .swiper-slide img {
   position: absolute;
   top: 0;
   left: 0;
   object-fit: cover;
   object-position: center center;
   width: 100%;
   height: 100%;
}
section.home-slide .swiper-pagination {
   bottom: 24px;
}
section.home-slide .swiper-pagination .swiper-pagination-bullet {
   width: 16px;
   height: 16px;
   background-color: transparent;
   border: 2px solid var(--main-color);
   margin: 0 4px;
   opacity: .5;
}
section.home-slide .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
   /* background-color: var(--main-pale-color); */
   border-color: var(--main-color);
   opacity: 1;
}
section.home-slide .swiper-button-next,
section.home-slide .swiper-button-prev {
   color: white;
}
a.remove {
   
}
a.remove::before {
   display: block;
   color: black;
   width: unset;
   height: unset;
   font-size: 1.2em;
}


@media screen and (max-width: 414px) {
   .site-header .site-branding img {
      max-width: 40vw;
   }
   .cta {
      font-size: 1rem;
   }
   section.home-slide .swiper-slide .slide-content h1 {
      font-size: 10vw;
   }
   section.home-slide .swiper-slide .slide-content p {
      font-size: 1rem;
   }
   section.home-slide .swiper-navigation {
      display: none;
   }
   section.home-slide .swiper-slide {
      height: 300px;
   }
   section.home-slide .swiper-slide img {
      /* transform: translateX(-15%); */
      backface-visibility: hidden;
      object-position: 50% -20%;
   }
}