/*
Theme Name: TailPress
Theme URI: https://github.com/tailpress/tailpress
Author: Jeffrey van Rossum
Author URI: https://tailpress.io
Description: TailPress is a simple boilerplate WordPress theme with Tailwind CSS.
Version: 5.0.2
License: MIT
License URI: https://github.com/tailpress/tailpress/blob/master/LICENSE
Text Domain: tailpress
*/
html, body{
    scroll-behavior: smooth;
}


.product-slider .swiper-slide{
    height:auto;
}


/*Stile Globali - Headings */
h1 {
    font-size: 2.25rem;
    line-height: calc(2.5 / 2.25);
}


h2 {
    font-size: 1.5rem;
    line-height: calc(2 / 1.5);
}

h3 {
    font-size: 1.25rem;
    line-height: calc(1.75 / 1.25);
}

h4 {
    font-size: 1.125rem;
    line-height: calc(1.75 / 1.125);
}

h5 {
    font-size: 1rem;
    line-height: calc(1.5 / 1);
}

h6 {
    font-size: 1rem;
    line-height: calc(1.5 / 1);
}
p {
    margin: 0 0 15px 0;
}


ul#menu-primary-menu, ul#menu-top-menu, ul#menu-footer-servizi-menu, ul#menu-footer-company-menu, ul#menu-footer-prodotti-menu{
    list-style: none;
    padding: 0;
}

ul{
    list-style: circle;
    padding: 15px 0 30px 30px;
}
li.current_page_item a {
    color: #437ef7;
    font-weight: 700;
}
form input:not([type="checkbox"]),
form textarea {
    background-color: white;
    border-radius: 10px;
    padding:10px 15px;
    width: 100%;
    margin-bottom: 15px;
    border:1px solid #EAEBF0;
    box-shadow: 0 3px 8px -1px rgba(50, 50, 71, 0.05), 0 0 1px 0 rgba(12, 26, 75, 0.24);
}

form input[type="submit"]{
    width:fit-content;
    border-radius:20px;
    border:1px solid #437EF7;
    background-color: #437EF7;
    color:#FFF;
    margin-top:15px;
    cursor: pointer;
    padding: 5px 20px;
}

form input[type="submit"]:hover{
    border:1px solid #3366d6;
    background-color: #3366d6;
    color:white;
}

.half-input{
    flex: 0 0 calc(50% - var(--spacing) / .7);
}


/*Stile Globali - Headings */

.prodotti h2 {
    font-size: 1.1rem;
}


.group:hover .blue-icon-hover path{
    fill:#fff;
}



/* W O O */
div#shop-sidebar {
    background: #f4f8fa;
    border-radius: 10px;
    margin: 15px 0 0 0;
    position: sticky;
    top: 10px;
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}
.woocommerce img, .woocommerce-page img {
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 25px;
}
ul.wc-block-product-categories-list {
    list-style: none;
    padding: 25px 0;
}
li.wc-block-product-categories-list-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    text-decoration: none;
}
li.wc-block-product-categories-list-item a {
    text-decoration: none;
}

span.posted_in {
    color: #18181b;
    border-radius: 15px;
    padding: 5px 11px;
    background: #e4e4e4;
    font-size: 13px;
}
span.posted_in a{text-decoration: none;}
.related.products{
    padding:50px 0;
}
.related.products h2{
    margin-bottom:25px;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    content:none;
}
a.noleggia-cta {
    background: #00164e;
    background:#437ef7;
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px;
}
#menu-mobile-menu {
	list-style: none;
	text-decoration: none;
	padding: 0;
	margin: 0;
	width: 100%;
}
#menu-mobile-menu li{
    padding:10px 15px;
    border-bottom:1px solid #293b6a;
}
#menu-mobile-menu li a{
    text-decoration: none;
}
#menu-mobile-menu ul{
    padding:0;
    list-style:none;
}
#menu-mobile-menu ul li{
    padding:5px 0 0 35px;
    border:0;
}
.mobile-actions a {
	text-align: center;
	text-decoration: none;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.woocommerce-product-gallery__image {
    padding: 45px;
}

.woocommerce-variation-price,
.product_meta .sku_wrapper,
.woocommerce-variation-add-to-cart.variations_button {
    display: none !important;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    display: none;
}
/* Tabella variazioni WooCommerce */
.variations {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px; /* spazio tra righe */
    font-family: 'Segoe UI', sans-serif;
  }
  
  .variations th.label {
    text-align: left;
    vertical-align: middle;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    width: 180px;
    padding: 0;
  }
  
  .variations td.value {
    padding: 0;
  }
  
  .variations select {
    width: 100%;
    max-width: 320px;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.3s ease;
  }
  
  .variations select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
  }
  
  /* Pulsante "svuota" */
  .variations .reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
  }
  
  .variations .reset_variations:hover {
    color: #000;
  }
  /* Wrapper form */
.wpcf7-form {
    padding:20px 0;
  }
  
  .wpcf7-form .half-input,
  .wpcf7-form .full-input {
    margin-bottom: 18px;
  }
  
  /* Flex layout su gruppi */
  .wpcf7-form .flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .wpcf7-form .half-input {
    flex: 1 1 48%;
  }
  
  .wpcf7-form .full-input {
    width: 100%;
  }
  
  /* Input & Text fields */
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="number"],
  .wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    font-size: 16px;
    background-color: #fff;
    margin-bottom:0;
  }
  
  .wpcf7-form input:focus,
  .wpcf7-form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
  }
  
  /* Checkbox */
  .wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    gap: 8px;
    line-height: 1.4;
    color: #444;
  }
  
  .wpcf7-form input[type="checkbox"] {
    margin-top: 4px;
  }
  
  /* Submit button */
  .wpcf7-form input[type="submit"] {
    background-color: #437EF7;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
  
  .wpcf7-form input[type="submit"]:hover {
    background-color: #005f8d;
    border:0;
  }
  .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #ffffff;
    background-color: #46b450;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #ffffff;
    background-color: #46b450;
}
.wpcf7 form.spam .wpcf7-response-output {
    border-color: #f56e28;
    background: #f56e28;
    color: #fff;
}
  /* Spinner invisibile se non attivo */
  .wpcf7-spinner {
    margin-left: 10px;
    vertical-align: middle;
  }
  
  /* Risposta messaggio */
  .wpcf7-response-output {
    margin-top: 20px;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 4px;
  }
  
  /* Titolo sopra il form */
  .noleggia {
    font-size: 38px;
    margin-bottom: 16px;
    font-weight: 400;
    text-align: center;
    line-height: normal;
}
  .woocommerce div.product div.images img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: none;
    max-width: 75%;
}
span.woocommerce-Price-amount.amount {
    font-weight: 600;
    color: #008ad1;
}

.check-tag-list {
    list-style: none;
    padding: 0;
    font-weight: 600;
}
.check-icon{
    padding: 0 15px 0 0;
}
.tagged_as{
    display: none;
}
.loop-price {
    font-size: 21px!important;
    font-weight:600!important;
}
#colophon .custom-logo-link img{
    margin:0;
}


.card-content{
    position: relative;
    transition:all 0.3s ease-in-out;
    background-size:115%;
}
.card-content:hover{
    background-size:130%;
    transition:all 0.3s ease-in-out;
}
.card-content:before{
    content:"";
    position: absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background: #000000;
    background: linear-gradient(338deg,rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
    z-index:10;
    transition:all 0.3s ease-in-out;
}
.card-content:hover:before{
    background: linear-gradient(338deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 120%);
    transition:all 0.3s ease-in-out;
}
/*
.card-content .card-desc {
    height: 0px;
    opacity: 0;
    transition:all 0.3s ease-in-out;
}
.card-content:hover .card-desc {
    height: 300px;
    opacity: 1;
    transition:all 0.3s ease-in-out;
    transform-origin: bottom;
}
    */
    
/* Responsive */
@media (min-width: 960px) {
    h1 {
        font-size: 3rem;
        line-height: 1;
    }
    h1.titolo-categoria {
        font-size: 2rem;
        font-weight:600;
    }
    h2 {
        font-size: 1.875rem;
        line-height: calc(2.25 / 1.875);
    }

    h3 {
        font-size: 1.5rem;
        line-height: calc(2 / 1.5);
    }

    h4 {
        font-size: 1.25rem;
        line-height: calc(1.75 / 1.25);
    }
}

@media (max-width: 767px) {
    ul.prodotti {
        padding: 1.25rem!important;
    }
    .noleggia {
        text-align: left;
    }
}
