/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
div#category-description {
    margin-top: 15px;
}
 #products #main .search-widget.popup-over a.popup-title, #pagenotfound #main .search-widget.popup-over a.popup-title {
    display: none;
}

 span.hasicon.menu-icon {
    background-position: center left !important;
    background-size: 33px 29px !important;
    padding-left: 37px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.leo-megamenu .navbar-nav > li > a {
    line-height: 30px;
    padding: 10px 15px;
}

@media (min-width: 992px){
#category .category-cover {
    margin: 0 auto 0px;
    max-width: 1920px;
    display: none;
}
}

@media (min-width: 992px){
#category .leo-partsfilter .block_content {
    border-radius: 4px;
    margin-top: 50px;
    padding: 28px 30px;
    border: 2px solid #e30613;
}
}

#category .leo-partsfilter .block_content {
    background: #ffffff;
}

/* Nascondo il filto di ricerca sulla categoria Ricambi Auto  */

.category-id-10 .leo-partsfilter {
    display: none;
}

/* Nascondo il filto di ricerca sulla categoria Ricambi Moto  */

.category-id-11 .leo-partsfilter {
    display: none;
}

.category-id-30 .leo-partsfilter {
    display: none;
}

.category-id-31 .leo-partsfilter {
    display: none;
}

.category-id-32 .leo-partsfilter {
    display: none;
}

.category-id-33 .leo-partsfilter {
    display: none;
}

.category-id-34 .leo-partsfilter {
    display: none;
}

.category-id-35 .leo-partsfilter {
    display: none;
}

.category-id-36 .leo-partsfilter {
    display: none;
}

.category-id-37 .leo-partsfilter {
    display: none;
}

.category-id-38 .leo-partsfilter {
    display: none;
}

.category-id-39 .leo-partsfilter {
    display: none;
}

.category-id-40 .leo-partsfilter {
    display: none;
}

.category-id-41 .leo-partsfilter {
    display: none;
}

.category-id-42 .leo-partsfilter {
    display: none;
}

.category-id-43 .leo-partsfilter {
    display: none;
}

.category-id-44 .leo-partsfilter {
    display: none;
}

.category-id-45 .leo-partsfilter {
    display: none;
}

.category-id-46 .leo-partsfilter {
    display: none;
}

.category-id-47 .leo-partsfilter {
    display: none;
}

.category-id-48 .leo-partsfilter {
    display: none;
}

.category-id-49 .leo-partsfilter {
    display: none;
}

.category-id-50 .leo-partsfilter {
    display: none;
}

.category-id-51 .leo-partsfilter {
    display: none;
}

.category-id-52 .leo-partsfilter {
    display: none;
}

.category-id-53 .leo-partsfilter {
    display: none;
}

.category-id-54 .leo-partsfilter {
    display: none;
}

.category-id-55 .leo-partsfilter {
    display: none;
}

.category-id-56 .leo-partsfilter {
    display: none;
}

.category-id-58 .leo-partsfilter {
    display: none;
}

.category-id-59 .leo-partsfilter {
    display: none;
}

.category-id-60 .leo-partsfilter {
    display: none;
}

.category-id-61 .leo-partsfilter {
    display: none;
}

.category-id-62 .leo-partsfilter {
    display: none;
}

.category-id-63 .leo-partsfilter {
    display: none;
}

.category-id-64 .leo-partsfilter {
    display: none;
}

.category-id-65 .leo-partsfilter {
    display: none;
}

.category-id-66 .leo-partsfilter {
    display: none;
}

.category-id-67 .leo-partsfilter {
    display: none;
}

.category-id-68 .leo-partsfilter {
    display: none;
}

.category-id-69 .leo-partsfilter {
    display: none;
}

.category-id-70 .leo-partsfilter {
    display: none;
}

.category-id-71 .leo-partsfilter {
    display: none;
}

.category-id-72 .leo-partsfilter {
    display: none;
}

.category-id-73 .leo-partsfilter {
    display: none;
}

.category-id-74 .leo-partsfilter {
    display: none;
}

.category-id-75 .leo-partsfilter {
    display: none;
}

.category-id-76 .leo-partsfilter {
    display: none;
}

.category-id-77 .leo-partsfilter {
    display: none;
}

.category-id-78 .leo-partsfilter {
    display: none;
}

/* Nascondo il filto di ricerca sulla categoria Auto Demolite  */

.category-id-12 .leo-partsfilter {
    display: none;
}

.category-id-79 .leo-partsfilter {
    display: none;
}

.category-id-80 .leo-partsfilter {
    display: none;
}

.category-id-81 .leo-partsfilter {
    display: none;
}

.category-id-82 .leo-partsfilter {
    display: none;
}

.category-id-83 .leo-partsfilter {
    display: none;
}

.category-id-84 .leo-partsfilter {
    display: none;
}

.category-id-85 .leo-partsfilter {
    display: none;
}

.category-id-86 .leo-partsfilter {
    display: none;
}

.category-id-87 .leo-partsfilter {
    display: none;
}

.category-id-88 .leo-partsfilter {
    display: none;
}

.category-id-89 .leo-partsfilter {
    display: none;
}

.category-id-90 .leo-partsfilter {
    display: none;
}

.category-id-90 .leo-partsfilter {
    display: none;
}

.category-id-91 .leo-partsfilter {
    display: none;
}

.category-id-92 .leo-partsfilter {
    display: none;
}

.category-id-93 .leo-partsfilter {
    display: none;
}

.category-id-94 .leo-partsfilter {
    display: none;
}

.category-id-95 .leo-partsfilter {
    display: none;
}

.category-id-96 .leo-partsfilter {
    display: none;
}

.category-id-97 .leo-partsfilter {
    display: none;
}

.category-id-98 .leo-partsfilter {
    display: none;
}

.category-id-99 .leo-partsfilter {
    display: none;
}

.category-id-100 .leo-partsfilter {
    display: none;
}

.category-id-101 .leo-partsfilter {
    display: none;
}

.category-id-102 .leo-partsfilter {
    display: none;
}

.category-id-103 .leo-partsfilter {
    display: none;
}

.category-id-104 .leo-partsfilter {
    display: none;
}

.category-id-105 .leo-partsfilter {
    display: none;
}

.category-id-106 .leo-partsfilter {
    display: none;
}

.category-id-107 .leo-partsfilter {
    display: none;
}

.category-id-108 .leo-partsfilter {
    display: none;
}

.category-id-109 .leo-partsfilter {
    display: none;
}

.category-id-110 .leo-partsfilter {
    display: none;
}

.category-id-111 .leo-partsfilter {
    display: none;
}

.category-id-112 .leo-partsfilter {
    display: none;
}

.category-id-113 .leo-partsfilter {
    display: none;
}

.category-id-114 .leo-partsfilter {
    display: none;
}

.category-id-115 .leo-partsfilter {
    display: none;
}

.category-id-116 .leo-partsfilter {
    display: none;
}

.category-id-117 .leo-partsfilter {
    display: none;
}

.category-id-118 .leo-partsfilter {
    display: none;
}

.category-id-119 .leo-partsfilter {
    display: none;
}

.category-id-120 .leo-partsfilter {
    display: none;
}

.category-id-121 .leo-partsfilter {
    display: none;
}

.category-id-122 .leo-partsfilter {
    display: none;
}

.category-id-123 .leo-partsfilter {
    display: none;
}

.category-id-124 .leo-partsfilter {
    display: none;
}

.category-id-125 .leo-partsfilter {
    display: none;
}

.category-id-126 .leo-partsfilter {
    display: none;
}

.category-id-127 .leo-partsfilter {
    display: none;
}

.category-id-128 .leo-partsfilter {
    display: none;
}

.category-id-129 .leo-partsfilter {
    display: none;
}

.category-id-130 .leo-partsfilter {
    display: none;
}

/* Nascondo il filto di ricerca sulla categoria Auto in Vendita/Export  */

.category-id-133 .leo-partsfilter {
    display: none;
}

.category-id-144 .leo-partsfilter {
    display: none;
}

.category-id-145 .leo-partsfilter {
    display: none;
}

.category-id-146 .leo-partsfilter {
    display: none;
}

.category-id-147 .leo-partsfilter {
    display: none;
}

.category-id-148 .leo-partsfilter {
    display: none;
}

.category-id-149 .leo-partsfilter {
    display: none;
}

.category-id-150 .leo-partsfilter {
    display: none;
}

.category-id-151 .leo-partsfilter {
    display: none;
}

.category-id-152 .leo-partsfilter {
    display: none;
}

.category-id-153 .leo-partsfilter {
    display: none;
}

.category-id-154 .leo-partsfilter {
    display: none;
}

.category-id-155 .leo-partsfilter {
    display: none;
}

.category-id-156 .leo-partsfilter {
    display: none;
}

.category-id-157 .leo-partsfilter {
    display: none;
}

.category-id-158 .leo-partsfilter {
    display: none;
}

.category-id-159 .leo-partsfilter {
    display: none;
}

.category-id-160 .leo-partsfilter {
    display: none;
}

.category-id-161 .leo-partsfilter {
    display: none;
}

.category-id-162 .leo-partsfilter {
    display: none;
}

.category-id-163 .leo-partsfilter {
    display: none;
}

.category-id-164 .leo-partsfilter {
    display: none;
}

.category-id-165 .leo-partsfilter {
    display: none;
}

.category-id-166 .leo-partsfilter {
    display: none;
}

.category-id-167 .leo-partsfilter {
    display: none;
}

.category-id-168 .leo-partsfilter {
    display: none;
}

.category-id-169 .leo-partsfilter {
    display: none;
}

.category-id-170 .leo-partsfilter {
    display: none;
}

.category-id-171 .leo-partsfilter {
    display: none;
}

.category-id-172 .leo-partsfilter {
    display: none;
}

.category-id-173 .leo-partsfilter {
    display: none;
}

.category-id-174 .leo-partsfilter {
    display: none;
}

.category-id-175 .leo-partsfilter {
    display: none;
}

.category-id-176 .leo-partsfilter {
    display: none;
}

.category-id-177 .leo-partsfilter {
    display: none;
}

.category-id-178 .leo-partsfilter {
    display: none;
}

.category-id-179 .leo-partsfilter {
    display: none;
}

.category-id-180 .leo-partsfilter {
    display: none;
}

.category-id-181 .leo-partsfilter {
    display: none;
}

.category-id-182 .leo-partsfilter {
    display: none;
}

.category-id-183 .leo-partsfilter {
    display: none;
}

.category-id-184 .leo-partsfilter {
    display: none;
}

.category-id-185 .leo-partsfilter {
    display: none;
}

.category-id-186 .leo-partsfilter {
    display: none;
}

.category-id-187 .leo-partsfilter {
    display: none;
}

.category-id-188 .leo-partsfilter {
    display: none;
}

.category-id-189 .leo-partsfilter {
    display: none;
}

.category-id-190 .leo-partsfilter {
    display: none;
}

.category-id-191 .leo-partsfilter {
    display: none;
}

.category-id-192 .leo-partsfilter {
    display: none;
}

.category-id-193 .leo-partsfilter {
    display: none;
}

.category-id-194 .leo-partsfilter {
    display: none;
}

.category-id-195 .leo-partsfilter {
    display: none;
}

.category-id-196 .leo-partsfilter {
    display: none;
}

/* Fine  */

.field-search .btn-group .btn-default, .selectpicker {
border: 1px solid rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) and (max-width: 991px){
#category .category-cover {
    margin-bottom: -40px;
}
}

.leo-fly-cart.solo {
    z-index: 1000;
    display: none;
}

.block_newsletter.block .title_block {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    padding: 15px 0;
    display: block;
    text-align: center;
}

@media (min-width: 1200px){
.block_newsletter form {
    padding: 0px 24%;
    width: 100%;
}
}

@media (min-width: 992px) and (max-width: 1199px){
.block_newsletter form {
    width: 100%;
    padding: 0% 100px;
    left: 20%;
}
}


.block_newsletter form input[type=email] {
    padding: 17px 15px;
    background: #fff;
    border: 2px solid #e5e5e580;
    color: black;
    height: 45px;
    -moz-border-top-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-bottom-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 100%;
}


.block_newsletter form .btn {
    background: #2e73ba;
    border: none;
    color: #fff;
    text-align: center;
    padding: 0 22px;
    font-weight: 700;
    -moz-border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    width: auto;
    height: 45px;
}


.product-quantity .add .add-to-cart {
    height: 52px;
    background: #e30613;
    font-weight: 700;
    margin-left: 15px;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    -ms-border-radius: 28px;
    -o-border-radius: 28px;
    border-radius: 4px;
}

@media (min-width: 992px) {
.footer_box {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    width: 75%;
}
}


@media (min-width: 992px) {
.footer_box {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    width: 71%;
}
}

@media (min-width: 992px){
.footer_box {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    width: 61%;
}
}


.footer-container {
    background-color:#132530;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.block_newsletter.block {
    padding-bottom: 50px;
    margin-bottom: 0;
    background: url(../../../../../assets/img/modules/appagebuilder/img/banner-6.png) no-repeat;
    background-size: cover;
    height: 400px;
    padding-top: 80px;
}



@media (max-width: 767px){
.block_newsletter .btn {
    width: 100%;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    -ms-border-radius: 28px;
    -o-border-radius: 28px;
    border-radius: 4PX;
}
}


@media (max-width: 767px){
.block_newsletter input[type=email] {
    margin-bottom: 20px;
    /* -webkit-border-radius: 28px; */
    -moz-border-radius: 28px;
    -ms-border-radius: 28px;
    -o-border-radius: 28px;
    border-radius: 4px;
}
}

body#index {
    background: #ffffff;
}

.widget-category_image ul {
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #eee;
    margin-right: 5px;
}



h2, .h2 {
    font-size: 40px;
}

.product-detail-name {
    text-transform: none;
    font-size: 2.441em;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 10px;
    color: #0062bd;
}

.product-price {
    color: #333;
    display: inline-block;
    font-size: 32px;
    font-weight: 600 !important;
   
}


label, .label {
    color: #414141;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 700;
}

.leo-cart-dropdown-action a.btn.cart-dropdow-checkout:hover, .continue.btn:hover, button.btn.btn-primary:hover {
    background: #b50003;
}

#blockcart-modal .modal-header {
    background: #132530;
}


.btn-primary, .btn-secondary, .btn-tertiary {
    text-transform: none;
    font-weight: 500;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    padding: 12px 20px;
    box-shadow: none;
    border-radius: 4px;
}

.modal-header .material-icons {
    color: #f8f8f8;
    font-size: 30px;
    line-height: 25px;
}

.thumbnail-container .product-price-and-shipping .price {
    font-weight: 700;
}
.thumbnail-container .product-price-and-shipping {
    color: #e30613;
    font-family: 'Open Sans',sans-serif;
    font-size: 18px;
    padding: 5px 0 5px;
}

.thumbnail-container .product-title a {
    color: #212121;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: capitalize;
}

.product-tabs.tabs .nav-tabs .nav-link {
    color: #000;
    border: 0 solid transparent;
    text-transform: none;
    padding: 0.9375rem 0;
    font-size: 18px;
    font-family: 'Open Sans',sans-serif
    font-weight: 600;
    margin-right: 2.1875rem;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
}

#wrapper .breadcrumb ol {
    padding-left: 0;
    margin-bottom: 0;
    text-align: center;
}

#wrapper .breadcrumb ol {
    padding-left: 0;
    margin-bottom: 0;
    text-align: center;
    background: #f6f6f6;
    margin-top: 15px;
    border-radius: 4px;
}

.breadcrumb {
    /* padding: 0.75rem 1rem; */
    /* margin-bottom: 1rem; */
    /* list-style: none; */
    background-color: transparent;
    /* border-radius: 0.25rem; */
}

#wrapper .breadcrumb {
background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
#wrapper .breadcrumb {
background: transparent;
    padding: 0;
    margin-bottom: 0px;
    }
}       

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 20px;
    font-family: 'Open Sans',sans-serif;
    font-weight: 700;
    line-height: 1;
    color:#212121;
}


table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }
  
  table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
    color: #f6f6f6;
  }
  
  table thead{
    background:#1976d2;
    border-bottom: none;
    color: #fff;
  }
  
  table tr {
    padding: .35em;
  }
 
  
  
  table th,
  table td {
    text-align: center;
  }
  
  table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  
  @media screen and (max-width: 600px) {
    table {
      border: 0;
    }
  
    table caption {
      font-size: 1.3em;
    }
  
    table thead th {
      display: none;
    }
  
    table tr {
      display: block;
    }
  
    table td {
      /* border-bottom: 1px solid #ddd; */
      display: block;
      text-align: left;
    }
  
    table td::before {
      content: attr(data-label);
      display: block;
      font-weight: light;
      text-transform: uppercase;
      font-size: 0.7em;
      margin-bottom: 0.6em;
      color: #1976d2;
    }
  
    table td:last-child {
      border-bottom: 0;
    }
  }
  

.leo-partsfilter .leo-partsfilter-submit {
    position: relative;
    background: #e30613;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    padding: 0px;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-radius: 4px;
}
    
.leo-partsfilter .leo-partsfilter-submit-2 {
      position: relative;
      background: grey;
      min-width: 100px;
      text-align: center;
      cursor: pointer;
      padding: 0;
      -webkit-transition: all 0.5s ease;
      -o-transition: all 0.5s ease;
      transition: all 0.5s ease;
      border-radius: 4px;
      margin-left: 10px;
    }

@media (max-width: 992px) {
    .leo-partsfilter .leo-partsfilter-submit-2 {
        position: relative;
        background: grey;
        min-width: 100px;
        text-align: center;
        cursor: pointer;
        padding: 0;
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        border-radius: 4px;
        margin-left: 0px;
      }
    }

.subcategory-name {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    padding: 10px;
    min-height: 36px;
    max-height: 36px;
}
.subcategory-image img {
    min-height: 130px;
}

.header-nav a {
    color: #a7adb4;
}

.payment-methods{
    text-align: center;
}

  @media only screen and (min-width: 992px) {
    .login-v {
        display: none; 
      }
  }

  @media (max-width: 767px) {
  .ApQuicklogin {
    height: 48px;
    line-height: 48px;
}
}


.mybutton {
padding: 10px 60px;
background: #e30613;
border: #e30613;
color: #fff;
font-size: 15px;
font-weight: 700;
border-radius: 4px;
transition: all 0.3s ease-out 0s;
height: 45px;
width: auto;
}



 .mybutton:focus, .mybutton:hover {
 background-color:#8b0008;
}


@media (max-width: 767px){
.mybutton {
    width: 100% !important;
    padding: 10px 60px;
    background: #e30613;
    border: #e30613;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease-out 0s;
    height: 45px;
}
}


div.ps_checkout.payment-method-logo-block-title{
    margin-top: 10px;
    margin-bottom:10px;
}

.phone_number_footer{
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #999;
}

@media screen and (max-width: 600px) {
.field-search td {
    display: block;
    margin-bottom: 20px;
}
}

.text-muted {
    color: #121212!important;
}

/* Nascondo la scritta quantità sulla pagina prodotto  */
.product-actions .control-label {
    width: auto;
    margin-bottom: 0.375rem;
    display: block;
    padding-right: 10px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    display: none;
}

.default {
    background-color: white;
    color: white !important;
}

@media (min-width: 992px){
	.filter_box.ApColumn .title_block {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 0;
    text-align: center;
}
	}


@media (min-width: 992px){
	.filter_box.ApColumn .sub-title-widget {
    font-size: 18px;
    color: #fff;
    line-height: 1;
    margin-bottom: 60px;
}
	}

.contact-info-map {
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Su dispositivi mobili (max 767px), aumenta i margini */
@media (max-width: 767px) {
  .contact-info-map {
    margin-top: 70px;
    margin-bottom: 70px;
  }
  
  /* Per esempio, aggiungi anche un padding in basso al footer del form per più spazio */
  .form-footer {
    padding-bottom: 30px;
  }
}

/* Nasconde tutte le mappe di Google embed */
iframe[src*="google.com/maps/embed"] {
  display: none !important;
}

/* Ma NON nasconde quella nel contenitore custom-map */
.custom-map iframe[src*="google.com/maps/embed"] {
  display: block !important;
}

/* Spaziatura tra il form e la mappa */
.contact-form {
  margin-bottom: 30px;
}

/* Margine verticale per la mappa in basso */
.contact-info-map {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Migliora padding interno nei form da mobile */
@media (max-width: 768px) {
  .contact-form .form-group {
    margin-bottom: 20px;
  }

  .contact-form .form-control {
    padding: 12px;
    font-size: 16px;
  }

  .contact-form h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .form-footer {
    margin-top: 20px;
    text-align: center;
  }

  .btn {
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Spaziatura tra form e iframe Google Maps */
  .custom-map {
    padding: 0 10px;
  }

  .custom-map iframe {
    border-radius: 10px;
  }
}

@media (max-width: 767px) {
  /* Togli margini/padding a tutti i contenitori che potrebbero influire */
  .contact-form,
  .contact-form .col-sm-12,
  .contact-form .col-xs-12,
  .contact-form .col-md-12,
  .contact-form .col-lg-6,
  .contact-form .col-xl-6,
  .contact-form .form-group {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  /* Allarga i campi del form */
  .contact-form .form-control,
  .contact-form textarea {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Riduci padding orizzontale sul footer */
  .form-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Se il form ha colonne affiancate, forzale in stack verticale */
  .contact-form .col-xl-6,
  .contact-form .col-lg-6,
  .contact-form .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

@media (max-width: 767px) {
  /* Container del form */
  .contact-form {
    margin: 0 !important;
    padding: 0 5px !important;
    max-width: 100% !important;
  }

  /* Gruppi di input */
  .contact-form .form-group {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    padding: 0 !important;
  }

  /* Input, select, textarea */
  .contact-form input.form-control,
  .contact-form select.form-control,
  .contact-form textarea.form-control {
    width: 100% !important;
    margin: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Footer form */
  .contact-form footer.form-footer {
    padding: 5px 5px !important;
    margin: 0 !important;
    text-align: center !important;
  }

  /* Bottone submit */
  .contact-form input[type="submit"].btn {
    width: 100% !important;
    padding: 12px !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 767px) {
  /* Forza padding e margini 0 su TUTTI gli elementi dentro contact-form */
  .contact-form * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Rilassa un po’ padding su input, textarea e bottone per non romperli */
  .contact-form input.form-control,
  .contact-form select.form-control,
  .contact-form textarea.form-control {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .contact-form input[type="submit"].btn {
    padding: 12px !important;
    margin-top: 10px !important;
  }
}

/* Nascondo il prezzo nelle anteprime solo nelle categorie 11, 12 e 133 */

body.category-id-11 .product-miniature .product-price-and-shipping,
body.category-id-12 .product-miniature .product-price-and-shipping,
body.category-id-133 .product-miniature .product-price-and-shipping {
    display: none !important;
}

/* Anno e Carburante uniformi, label in grassetto */
.product-year,
.product-fuel {
    font-size: 14px;
    color: #333;  /* testo grigio scuro */
    margin-top: 3px;
}

.product-year .label,
.product-fuel .label {
    font-weight: 700; /* grassetto per label */
    margin-right: 3px; /* spazio tra label e valore */
}

/* ================================
   FIX MOBILE FORM CONTATTACI
   ================================ */

@media (max-width: 768px) {

  /* Sezione principale */
  form .form-fields {
    padding: 20px 15px;
  }

  /* Forzo le colonne a 100% pulito */
  form .col-xl-6,
  form .col-lg-6,
  form .col-md-6,
  form .col-sm-12,
  form .col-xs-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Sistemo le row (via margini negativi bootstrap) */
  form .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Spaziatura tra i blocchi */
  form .form-group {
    margin-bottom: 20px !important;
  }

  /* Label */
  form .form-control-label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
  }

  /* Input, select e textarea */
  form .form-control,
  form select,
  form textarea,
  form input[type="file"] {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important; /* evita zoom iPhone */
    border-radius: 8px !important;
    box-sizing: border-box;
  }

  /* Textarea più comoda */
  form textarea {
    min-height: 120px;
  }

  /* GDPR più leggibile */
  .gdpr_consent {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .psgdpr_consent_message {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Footer */
  .form-footer {
    margin-top: 15px;
    text-align: center !important;
  }

  /* Bottone invio */
  input[name="submitMessage"] {
    width: 100% !important;
    padding: 16px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
  }

  /* Titolo meno schiacciato */
  form h3 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px;
  }

}

/* =================================
   1) FIX CHECKBOX PRIVACY
   ================================= */

/* Evito che il width:100% colpisca la checkbox */
.psgdpr_consent_message input[type="checkbox"] {
  width: auto !important;
  min-width: auto !important;
  display: inline-block;
  margin-right: 8px;
}

/* =================================
   2) SISTEMO BOTTONE "SCEGLI FILE"
   ================================= */

/* File input più leggibile */
@media (max-width: 768px) {
input[type="file"] {
  padding: 12px !important;
  background: #f5f5f5;
  border: 1px solid #ddd;
  cursor: pointer;
}
}

/* Se usO bootstrap-filestyle */
@media (max-width: 768px) {
.bootstrap-filestyle .btn {
  width: 100% !important;
  padding: 14px !important;
  font-size: 15px;
}
}

/* =================================
   3) DISTANZA TRA BOTTONE INVIA E MAPPA
   ================================= */

/* Se la mappa ha iframe */
iframe {
  margin-top: 40px;
}

/* =================================
   4) RIMUOVO PADDING LATERALE MOBILE
   ================================= */

@media (max-width: 768px) {

  form .form-fields {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

/* Nascondo il messaggio solo nelle categorie escluse */
body[class*="category-11"] #product-availability,
body[class*="category-12"] #product-availability,
body[class*="category-133"] #product-availability {
    display: none !important;
}

#product-availability {
    display: inline-block;
    font-weight: 500;
}

#product-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #132530;
    font-weight: 500;
}

#product-availability .material-icons {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0 !important;
    line-height: 1;
    flex-shrink: 0;
}

#product-availability .material-icons::before {
    content: "check_circle";
    font-family: 'Material Icons';
    font-size: 20px;
    color: #132530;
    line-height: 1;
}