/*
Theme Name: RentIt child
Template: rentit
...
*/

#desktop{ display: none; }
#mobile{ display: block; }

@media (min-width: 1300px){
  #desktop{ display: block; }
  #mobile{ display: none; }
}

:root{
  --rentit-brand: #ea5a0b;
  --rentit-brand-soft: rgba(241, 90, 36, 0.08);
  --rentit-text: #212934;
  --rentit-muted: #444444;

  --rentit-border: rgba(0,0,0,.08);
  --rentit-border-strong: rgba(0,0,0,.14);

  --rentit-shadow: 0 8px 20px rgba(0,0,0,.05);
  --rentit-shadow-hover: 0 14px 30px rgba(0,0,0,.07);

  --rentit-line: rgba(15, 23, 42, 0.12);
  --rentit-soft: rgba(241, 90, 36, 0.08);


  --rentit-radius: 16px;
}

/* =====================================
   CONTAINER PERSONALIZZATO RENTIT
   Bootstrap-style + Desktop 1600px
===================================== */

/* Extra small (mobile <768px) */
.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 767px){
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Small devices (≥768px) */
@media (min-width: 768px){
  .container {
    width: 750px;
    max-width: 750px;
  }
}

/* Medium devices (≥992px) */
@media (min-width: 992px){
  .container {
    width: 970px;
    max-width: 970px;
  }
}

/* Large devices (≥1200px) */
@media (min-width: 1200px){
  .container {
    max-width: 1600px;
    width: 100%;
  }
}

.wpb-content-wrapper{
   margin: 0 0 0px 0;
}

/* =========================
   WORDPRESS CORE / EDITOR
========================= */

/* Caption */
.wp-caption{
  background:#fff;
  border:1px solid #f0f0f0;
  padding:5px 3px 10px;
  text-align:center;
  max-width:96%;
}
.wp-caption img{
  border:0;
  height:auto;
  margin:0;
  max-width:98.5%;
  padding:0;
  width:auto;
}
.wp-caption-text,
.wp-caption p.wp-caption-text{
  color:rgba(51,51,51,.7);
  font-size:11px;
  line-height:17px;
  margin:0;
  padding:0 4px 5px;
}

/* Allineamenti immagini (unificati) */
.alignnone{ margin:5px 20px 20px 0; }
.aligncenter,
div.aligncenter{
  display:block;
  margin:5px auto;
}
.alignleft{
  float:left;
  margin:5px 20px 20px 0;
}
.alignright{
  float:right;
  margin:5px 0 20px 20px;
}
a img.alignnone{ margin:5px 20px 20px 0; }
a img.aligncenter{
  display:block;
  margin-left:auto;
  margin-right:auto;
}
a img.alignleft{
  float:left;
  margin:5px 20px 20px 0;
}
a img.alignright{
  float:right;
  margin:5px 0 20px 20px;
}

/* Caption + align */
.wp-caption.alignnone{ margin:5px 20px 20px 0; }
.wp-caption.alignleft{ margin:5px 20px 20px 0; }
.wp-caption.alignright{ margin:5px 0 20px 20px; }

/* Altri */
.gallery-caption{
  color:#707070;
  display:block;
  font-size:14px;
  line-height:1.5;
  padding:7px 0;
}
.bypostauthor{ width:100%; }

.sticky{
  background:#000 !important;
  color:#fff !important;
}

.page404{ margin-top:200px !important; }
#hero-bg{ display:block !important; }
.fixid_notr{
  position:fixed !important;
  transform:translate3d(0,0,0) !important;
}

/* Immagini/iframe responsive */
.post-body img,
.widget-content img,
.widget img,
.widget select,
.widget-content .select,
.widget-content option{
  max-width:100%;
}
.post-body iframe{ max-width:100% !important; }

/* Video */
.wp-video,
.wp-video-shortcode{ width:100% !important; }
.videoID iframe{
  min-width:100%;
  min-height:100%;
  position:absolute;
}

/* Screen reader text */
.screen-reader-text{
  clip:rect(1px,1px,1px,1px);
  position:absolute !important;
  height:1px;
  width:1px;
  overflow:hidden;
}
.screen-reader-text:focus{
  background-color:#f1f1f1;
  border-radius:3px;
  box-shadow:0 0 2px 2px rgba(0,0,0,.6);
  clip:auto !important;
  color:#21759b;
  display:block;
  font-size:.875rem;
  font-weight:700;
  height:auto;
  left:5px;
  line-height:normal;
  padding:15px 23px 14px;
  text-decoration:none;
  top:5px;
  width:auto;
  z-index:100000;
}

/* =========================
   MISC THEME / PLUGIN
========================= */

.subsciber_email.error{ border-color:red !important; }
.dropdown-menu{ width:100%; }

.iw-content img{
  height:220px;
  width:270px;
}

#coupon_code{
  width:auto;
  margin-right:20px;
  height:41.2px;
}

#add_payment_method #payment,
.woocommerce-checkout #payment{
  background:#fbfbfb;
}

.home_page .wpb_row{ margin-bottom:0 !important; }

.flag_grey{
  color:#a5abb7 !important;
  cursor:pointer;
}

.widget-content .widget-content{ padding:0 !important; }

.sf-menu li.active2 > a{ color:#14181c; }
.car-thumbnails div{ width:87px; }

.ajax-loader_img{ display:none; }
.col-md-8 .swiper-slide{ width:100% !important; }
.pp_social .facebook{ width:65px; }

.mycontent_area{ z-index:auto; }

/* Liste e tabelle nel post-body (ripulito duplicati) */
.post-body ul:not([class]),
.post-body ol:not([class]){
  list-style-position:outside;
  margin:10px 1px 10px 20px;
  padding-left:0;
}
.post-body ul:not([class]){ list-style-type:disc; }
.post-body ol:not([class]){ list-style-type:decimal; }

.single-product .rentit-product-section-title{
  padding:14px 18px;
  border:1px solid var(--rentit-border);
  border-left:4px solid var(--rentit-brand);
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#f8f8f8 100%);
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  color:var(--rentit-brand);
  cursor:default;
}

@media (max-width: 767px){
  .single-product .rentit-product-section-title{
    padding:12px 14px;
  }
}

.widget-helping-center .button a[href*="wa.me"]{
  background:#25d366;
  border-color:#25d366;
  color:#fff;
}

.widget-helping-center .button a[href*="wa.me"]:hover,
.widget-helping-center .button a[href*="wa.me"]:focus{
  background:#1ebe5b;
  border-color:#1ebe5b;
  color:#fff;
}

.post-body ul:not([class]) > li,
.post-body ol:not([class]) > li{
  list-style-position:inside;
  margin:0;
  padding-left:2em;
  text-indent:-1em;
  overflow:hidden;
  margin-top:10px;
}

.post-body table{
  width:100%;
  max-width:100%;
  margin-bottom:20px;
}
.post-body th,
.post-body td{
  padding:15px;
  border:1px solid #000;
}
.post-body th{
  color:#000;
  background:#fff;
}

.post-body dl{ margin:0 20px; }
.post-body dd{ margin:0 0 20px; }

/* Blocchi ver3_2 */
.ver3_2 .befor_tabs{ min-height:285px; }
.ver3_2 .my_tabs_reser{ min-height:300px; }
.ver3_2 .my_tabs_reser .inner{ min-height:100px; }
.tab-content{ min-height:380px; }
/* queste erano commentate, le lascio fuori:
.ver3_2 .form-search { }
.ver3_2 .form-search.light { }
*/

/* =========================================================
   RENTIT - TITOLI EVIDENZIATI (riutilizzabili)
========================================================= */
.rentit-title-highlight{
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 14px;
}
.rentit-title-highlight span{
  position: relative;
  display: inline-block;
}


/* =========================================================
   HERO HOME (sezione hero della homepage)
   Usa la classe: .rentit-hero-home
========================================================= */
.rentit-hero-home{
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.rentit-hero-home::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.70);
  z-index: 1;
  pointer-events: none;
}

.rentit-hero-home > *{
  position: relative;
  z-index: 2;
}

.rentit-hero-home h1{
  color: #fff;
}

.rentit-hero-home h1 span{
  color: #ef6b3b;
}

.rentit-hero-home .rentit-hero__title span::after{
  display: none;
}

.rentit-hero-home .rentit-hero__text{
  color: rgba(255,255,255,.92);
}

.rentit-hero__search{
  background:#fff;
  padding:25px;
  border-radius:6px;
  box-shadow:0 10px 40px rgba(0,0,0,.25);
}

/* Mobile home */
@media (max-width:768px){
  .rentit-hero-home{
    min-height: auto;
    padding: 80px 0;
    display: block;
  }
}


/* =========================================================
   HERO INTERNI (pagine diverse da home)
   Shortcode output: <header class="rentit-hero rentit-hero--inner ...">
========================================================= */
.rentit-hero{
  position: relative;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.rentit-hero--inner{
  min-height: 340px;
  padding: 72px 0;
  display: flex;
  align-items: center;
}

/* Overlay SOLO per hero interni (così non tocca la home) */
.rentit-hero--inner::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.75) 42%,
    rgba(0,0,0,.40) 78%,
    rgba(0,0,0,.20) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.rentit-hero__container{
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px){
  .rentit-hero__container{
    width: 750px;
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .rentit-hero__container{
    width: 970px;
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .rentit-hero__container{
    width: 100%;
    max-width: 1600px;
  }
}

.rentit-hero__content{
  max-width: 100%;
  padding: 0px;
}

.rentit-hero__title{
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(36px, 4.8vw, 66px);
}

.rentit-hero h1{
  color: #fff;
}

.rentit-hero h1 span{
  color: #ef6b3b;
}
/* Highlight dentro al title dello shortcode (span) */
.rentit-hero__title span{
  position: relative;
  display: inline-block;
}

.rentit-hero__text{
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  opacity: .95;
}

.rentit-hero__actions{
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rentit-hero__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.rentit-hero__btn:hover{
  background: rgba(255,255,255,.18);
}

@media (max-width: 768px){
  .rentit-hero--inner{
    min-height: 250px;
    padding: 56px 0;
  }
}


/* =========================================================
   BAND con immagine (hero secondarie tipo Camper/Luxury)
   Usa class: .rentit-hero-bg
========================================================= */
.rentit-hero-bg{
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;

  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #fff;
  isolation: isolate;
}

.rentit-hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.70) 60%,
    rgba(0,0,0,.45) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.rentit-hero-bg .rentit-band__container{
  position: relative;
  z-index: 2;
}

.rentit-band{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 5vw, 90px) 0;
  color: #fff;
}

.rentit-band__container{
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px){
  .rentit-band__container{
    width: 750px;
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .rentit-band__container{
    width: 970px;
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .rentit-band__container{
    width: 100%;
    max-width: 1600px;
  }
}

.rentit-band__overlay{
  position: absolute;
  inset: -30%;
  z-index: 1;
  pointer-events: none;
  transform: rotate(var(--band-rotate, -10deg));
  background: rgba(255,255,255,var(--band-white, .20));

  -webkit-mask-image: var(--band-mask);
  mask-image: var(--band-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: var(--band-pos, left center);
  mask-position: var(--band-pos, left center);
  -webkit-mask-size: var(--band-size, 1100px auto);
  mask-size: var(--band-size, 1100px auto);
}

@media (max-width: 900px){
  .rentit-band__overlay{
    -webkit-mask-position: center 10%;
    mask-position: center 10%;
    -webkit-mask-size: 800px auto;
    mask-size: 800px auto;
  }
}


/* =========================================================
   QUICKLINKS (3 colonne Agenzie/Auto/Offerte - icone SVG)
========================================================= */
.rentit-quicklinks{
  padding: 40px 0;
}
.rentit-quicklinks__container{
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px){
  .rentit-quicklinks__container{
    width: 750px;
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .rentit-quicklinks__container{
    width: 970px;
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .rentit-quicklinks__container{
    width: 100%;
    max-width: 1600px;
  }
}
.rentit-quicklinks__title{
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  color: #212934;
}
.rentit-quicklinks__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rentit-quicklinks__item{
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: #212934;
  transition: all .15s ease;
}
.rentit-quicklinks__item:hover{
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.15);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.rentit-quicklinks__icon{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,0,0,.04);
  border-radius: 12px;
}
.rentit-quicklinks__icon img{
  width: 22px;
  height: 22px;
  display: block;
  opacity: .88;
}
.rentit-quicklinks__heading{
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.rentit-quicklinks__text{
  font-size: 14px;
  color: rgba(0,0,0,.75);
  margin-bottom: 10px;
}
.rentit-quicklinks__cta{
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,0,0,.85);
}
@media (max-width: 980px){
  .rentit-quicklinks__grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   SOLUTION CARD
========================= */

.rentit-solution{
  position:relative;
  display:block; /* <a> */
  height:100%;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none !important;
  color:inherit;

  background:rgba(255,255,255,.92);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.rentit-solution__inner{
  height:100%;
  padding:36px 28px 30px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.rentit-solution__icon{
  margin-bottom:18px;
  text-align:center;
  line-height:1;
}

/* icon brand */
.rentit-solution__icon [class^="as-icon-"],
.rentit-solution__icon [class*=" as-icon-"]{
  color:var(--brand);
}

.rentit-solution__title{
  font-size:24px;
  font-weight:700;
  margin:0 0 10px;
  line-height:1.35;
  text-align:center;
}
.rentit-solution__subtitle{
  font-size:18px;
  margin:0 0 14px;
  text-align:center;
}
.rentit-solution__desc{
  font-size:16px;
  line-height:1.35;
  margin:0 0 22px;
  text-align:center;
  flex:1;
}

/* CTA (unificata: prima “neutral”, poi brand) */
.rentit-solution__cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  margin-top:auto;

  background:color-mix(in srgb, var(--brand) 12%, transparent);
  color:var(--brand);
  border:1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.rentit-solution__cta::after{
  content:"→";
  color:var(--brand);
  transform:translateX(0);
  transition:transform .2s ease;
}

/* highlight top (unificato) */
.rentit-solution::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(800px 200px at 50% 0%, rgba(0,0,0,.06), transparent 60%);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
}

@media (hover:hover) and (pointer:fine){
  .rentit-solution:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,.98);
    box-shadow:
      0 18px 50px rgba(0,0,0,.12),
      0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent),
      0 18px 60px color-mix(in srgb, var(--brand) 22%, transparent);
  }
  .rentit-solution:hover::before{ opacity:1; }

  .rentit-solution:hover .rentit-solution__cta{
    background:color-mix(in srgb, var(--brand) 18%, transparent);
    border-color:color-mix(in srgb, var(--brand) 55%, transparent);
    transform:translateY(-1px);
  }
  .rentit-solution:hover .rentit-solution__cta::after{
    transform:translateX(4px);
  }
}

/* focus accessibile (unificato brand) */
.rentit-solution:focus{
  outline:3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset:4px;
}

/* Responsive solution */
@media (max-width:1024px){
  .rentit-solution__inner{ padding:28px 22px 22px; }
  .as-icon--lg{ font-size:46px; }
  .rentit-solution__title{ font-size:1.35rem; }
  .rentit-solution__subtitle{ font-size:1rem; }
  .rentit-solution__desc{ font-size:.95rem; }
}
@media (max-width:640px){
  .rentit-solution{ border-radius:16px; }
  .rentit-solution__inner{ padding:22px 18px 18px; }
  .rentit-solution__icon{ margin-bottom:14px; }
  .as-icon--lg{ font-size:44px; }
  .rentit-solution__title{ font-size:1.28rem; margin-bottom:8px; }
  .rentit-solution__subtitle{ margin-bottom:10px; line-height:1.35; }
  .rentit-solution__desc{ margin-bottom:16px; line-height:1.6; }

  .rentit-solution__cta{
    width:100%;
    justify-content:center;
    padding:12px 14px;
  }

  /* evita “lift” su touch */
  .rentit-solution{ transform:none !important; }
}

/* Touch feedback */
@media (hover:none) and (pointer:coarse){
  .rentit-solution:active{
    box-shadow:0 14px 40px rgba(0,0,0,.12);
  }
}

/* Titoli sezione */
.rentit-eyebrow{
  display:block;
  margin-bottom:12px;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  text-align:center;
  color:var(--brand);
}
.rentit-heading{
  margin:0;
  font-size:clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.015em;
  text-align:center;
}

/* =========================
   SERVICE CARD + SVG ICONS
========================= */

a.rentit-service-card{
  display: block;
  height: 100%;
  text-decoration: none !important;
  color: #444444 !important;
}
a.rentit-service-card:visited,
a.rentit-service-card:hover,
a.rentit-service-card:active{
  color: #444444 !important;
}

.rentit-service-card__inner{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;

  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 0;
  box-shadow: none !important;

  padding: 26px 26px 22px;
}

.rentit-service-card__icon-wrap{
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;

  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: none !important;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background .18s ease, border-color .18s ease;
}

.rentit-icon{
  width: 56px;
  height: 56px;
  display: inline-block;
  color: var(--brand);
  transition: color .18s ease;
}
.rentit-icon *{
  fill: currentColor;
  stroke: currentColor;
}

.rentit-service-card__title{
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--brand);
}

.rentit-service-card .rentit-solution__desc{
  margin: 0 0 18px;
  color: #444444;
  line-height: 1.65;
  font-size: 1.7rem;
  text-align: justify;
  text-justify: inter-word;

  flex: 1;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  min-height: calc(1.65em * 10);

}

.rentit-service-card__more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  color: #212934;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 0;

  padding: 11px 16px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  margin-top: auto;
  min-height: 44px; 
}
.rentit-service-card__more::after{
  display: none !important;
}

@media (hover: hover) and (pointer: fine){
  a.rentit-service-card:hover .rentit-service-card__icon-wrap{
    background: var(--brand);
    border-color: transparent;
  }

  a.rentit-service-card:hover .rentit-icon{
    color: #ffffff;
  }

  a.rentit-service-card:hover .rentit-service-card__more{
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, #fff);
    color: #212934;
  }
}

a.rentit-service-card:focus{
  outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent);
  outline-offset: 4px;
}

/* Mobile */
@media (max-width: 640px){
  .rentit-service-card__inner{
    padding: 22px 18px 18px;
  }
  .rentit-service-card__icon-wrap{
    width: 96px;
    height: 96px;
  }
  .rentit-icon{
    width: 48px;
    height: 48px;
  }
  .rentit-service-card__title{
    font-size: 1.10rem;
  }
  .rentit-service-card__more{
    width: 100%;
    text-align: center;
  }
  a.rentit-service-card .rentit-solution__desc{
    -webkit-line-clamp: 5; 
  }
}

/* TOPBAR: destra = account (prima) + menu (dopo) */
.rentit-topbar__right{
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rentit-topbar__right-inner{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* account */
.topbar-account,
.topbar-account__login{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  text-decoration: none;
}

.topbar-account__logout{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none;
  color: #777;
}

.topbar-account__logout:hover,
.topbar-account__login:hover,
.topbar-account__hello:hover{
  color: #333;
}

/* menu topbar */
.rentit-topbar-menu{
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* icona whatsapp: solo sui link whatsapp */
.rentit-topbar-menu a[href*="wa.me"],
.rentit-topbar-menu a[href*="whatsapp"]{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rentit-topbar-menu a[href*="wa.me"]::before,
.rentit-topbar-menu a[href*="whatsapp"]::before{
  content: "\f232";
  font-family: FontAwesome;
  color: #25d366;
}

.rentit-topbar-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.rentit-topbar-menu .topbar-account-item{
  display:flex;
  align-items:center;
  gap:10px;
}

.rentit-topbar-menu .topbar-account__logout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
}

@media (max-width: 575px){
  .rentit-topbar-menu a[href*="wa.me"] span,
  .rentit-topbar-menu a[href*="wa.me"]{
    font-size:0;
  }
  .rentit-topbar-menu a[href*="wa.me"]::before{
    font-size:16px;
  }
}

.rentit-topbar-menu a[href*="wa.me"]{
  padding:6px 10px;
  border-radius:20px;
  background:rgba(37,211,102,.12);
}

.rentit-quicklinks{
  padding: 40px 40px;
}

.rentit-quicklinks__container{
  width: 100%;
}

.rentit-quicklinks__title{
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: #212934;
}

/* GRID */
.rentit-quicklinks__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ITEM */
.rentit-quicklinks__item{
  display: flex;
  gap: 16px;
  padding: 40px;
  border-radius: 0px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: #212934;
  transition: all .15s ease;
}

.rentit-quicklinks__item:hover{
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.15);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* ICON */
.rentit-quicklinks__icon{
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,0,0,.04);
  border-radius: 12px;
}

.rentit-quicklinks__icon img{
  width: 33px;
  height: 33px;
  display: block;
  filter: none; /* nessun colore brand */
  opacity: .85;
}

/* TEXT */
.rentit-quicklinks__heading{
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 4px;
}

.rentit-quicklinks__text{
  font-size: 16px;
  color: rgba(0,0,0,.75);
  margin-bottom: 10px;
}

.rentit-quicklinks__cta{
  font-size: 18px;
  font-weight: 700;
  color: rgba(0,0,0,.85);
}

/* RESPONSIVE */
@media (max-width: 980px){
  .rentit-quicklinks__grid{
    grid-template-columns: 1fr;
  }
}

.wpb_content_element{
  margin-bottom:0px;
}

/* Ricerca e Filtri */
.rentit-search{ background:#fff; padding:14px; display:flex; flex-direction:column; gap:14px; }
.rentit-row{ display:flex; flex-direction:column; gap:12px; }
.rentit-box{ width:100%; }
.rentit-secondary-option{
  display:flex;
  align-items:center;
  margin-top:-2px;
}
.rentit-checkline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:14px;
  font-weight:700;
  color:#333;
}
.rentit-checkline input{
  margin:0;
}
.rentit-label{ font-size:14px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:#000; margin-bottom:6px; }
.rentit-field{ border:1px solid #dcdcdc; height:46px; display:flex; align-items:center; padding:0 12px; position:relative; background:#fff; }
.rentit-field select, .rentit-field input{
  width:100%;
  border:none!important;
  outline:none!important;
  background:transparent!important;
  font-weight:800;
}
.rentit-caret{
  width:0;height:0;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-top:7px solid #EA5A0B;
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  pointer-events:none;
}

/* Dates row */
.rentit-dates{ display:flex; flex-direction:column; gap:12px; }
.rentit-date-main{ border:1px solid #dcdcdc; padding:10px 12px; background:#fff; display:flex; gap:10px; align-items:center; }
.rentit-date-input{ border:none!important; outline:none!important; background:transparent!important; font-size:18px; font-weight:900; width:100%; }
.rentit-time{ border:none!important; outline:none!important; background:transparent!important; font-weight:900; width:110px; }

.rentit-btn{ width:100%; background:#EA5A0B; color:#fff; border:none; border-radius:6px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; padding:16px 18px; cursor:pointer; }
.rentit-btn:hover{ filter:brightness(.95); }

/* Desktop */
@media(min-width: 900px){
  .rentit-row{ flex-direction:row; gap:16px; }
  .rentit-box{ flex:1 1 0; }
  .rentit-secondary-option{ margin-top:2px; }
  .rentit-dates{ flex-direction:row; gap:16px; align-items:stretch; }
  .rentit-date{ flex:1 1 0; }
  .rentit-btn{ width:auto; min-width:280px; align-self:flex-end; }
}

.rentit-search .rentit-field select,
.rentit-search .rentit-field input,
.rentit-search .rentit-date-input,
.rentit-search .rentit-time{
  color: #333 !important;
  -webkit-text-fill-color: #333 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* (opzionale) evita che il tema “nasconda” il testo del select */
.rentit-search select{
  text-indent: 0 !important;
}

.rentit-shop-searchbar{
  margin: 0 0 18px 0;
}

/* ===== Pagina Servizio: layout base ===== */
.rentit-service{
  padding: 56px 0;
}

#contenitore-large .rentit-service--alt{
 background: none;
}

.rentit-service--alt{
 background: #f7f7f7;
}

.rentit-service__container{
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 6%;
  padding-right: 6%;
}

@media (max-width: 767px){
  .rentit-service__container{
    padding-left: 6%;
    padding-right: 6%;
  }
}

.rentit-service__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.rentit-service__kicker{
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(17,17,17,.60);
  margin-bottom: 10px;
}

.rentit-service__title{
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  color: var(--rentit-text);
}

.rentit-service h2 span{
  color: var(--rentit-brand);
}

.rentit-highlight-marker{
  background: none;
  padding: 0 .1em;
  position: relative;
  display: inline-block;
  z-index: 0;
  isolation: isolate;
}

/* Primo layer (base marker) */
.rentit-highlight-marker::after{
  content:"";
  position:absolute;
  left:-8px;
  right:-8px;
  bottom:0.12em;
  height:0.65em;
  background: rgba(234, 90, 11, 0.42);
  z-index:-2;
  pointer-events:none;

  -webkit-mask: url('/wp-content/themes/rentit_child/assets/img/pennello.svg') no-repeat center / 145% 220%;
  mask: url('/wp-content/themes/rentit_child/assets/img/pennello.svg') no-repeat center / 145% 220%;

  transform: rotate(-1.2deg);
}

.rentit-service__text{
  margin: 0;
  color: var(--rentit-muted);
  font-size: 18px;
  line-height: 1.6;
}

.rentit-service__list{
  list-style: none;           
  margin: 0;
  padding: 0;                 
  line-height: 35px;
  font-size: 18px;
    font-weight: 600;
  color: #212934;
}

.rentit-service__list li{
  position: relative;
  padding-left: 28px;       
  margin-bottom: 0px;
}

.rentit-service__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;

  background-color: #ea5a0b;

  -webkit-mask: url('/wp-content/themes/rentit_child/assets/icons/bullet-point.svg') no-repeat center / contain;
  mask: url('/wp-content/themes/rentit_child/assets/icons/bullet-point.svg') no-repeat center / contain;
}

.rentit-service__cardgrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.rentit-service__mini{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 16px;
}

.rentit-service__mini h3{
  margin:0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color:#212934;
}

.rentit-service__mini p{
  margin:0;
  font-size: 14px;
  line-height: 1.55;
  color: #212934;
}

.rentit-separator{
  width: 100%;
  margin: 25px 0;
  position: relative;
}

.rentit-separator::before{
  content:"";
  display:block;
  width:100%;
  height:2px;
  background: rgba(0,0,0,0.08);
}

/* CTA finale */
.rentit-service-cta{
  padding: 56px 0;
  background: #ef6b3b;
  color: #fff;
}
.rentit-service-cta__container{
  width: 100%;
  padding: 0 6%;
  margin: 0 auto;
}
.rentit-service-cta__grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 28px;
  align-items: center;
}
.rentit-service-cta__title{
  margin:0 0 10px;
  font-weight: normal;
  letter-spacing: 0.5 px;
  color:#fff;
  line-height: 1.1;
  font-size: clamp(24px, 2.4vw, 36px);
}
.rentit-service-cta__text{
  margin:0;
  opacity:.95;
  color:#fff;
  line-height:1.7;
}
.rentit-service-cta__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color:#fff;
  text-decoration:none;
  font-weight: 900;
}
.rentit-service-cta__btn:hover{
  background: rgba(255,255,255,.20);
}

.rentit-service-cta .rentit-service-cta__btn{
  border-radius: 0;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.rentit-service-cta .rentit-service-cta__btn:hover,
.rentit-service-cta .rentit-service-cta__btn:focus,
.rentit-service-cta .rentit-service-cta__btn:active{
  background: #fff;
  color: var(--rentit-brand);
  border-color: #fff;
}

.sf-arrows .sf-with-ul:after{
  margin-top: 16px;
  border:
}

@media (max-width: 980px){
  .rentit-service__grid{
    grid-template-columns: 1fr;
  }
  .rentit-service__cardgrid{
    grid-template-columns: 1fr 1fr;
  }
  .rentit-service-cta__grid{
    grid-template-columns: 1fr;
  }
}
/* ==============================
   Content Box 
============================== */

.rentit-box-col.rentit-box-col .vc_column-inner,
.rentit-box-col .wpb_wrapper,
.rentit-box-col .wpb_raw_html,
.rentit-box-col .wpb_raw_html > .wpb_wrapper{
  overflow: visible !important;
}

.rentit-box{
  
  position: relative;
  overflow: visible;

  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 0px;

  padding: 44px 26px 26px;

  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}

.rentit-box__icon{
  background: #ea5a0b; /* cerchio */
  color: #fff;         /* icona */
}
.rentit-icon::after{
  content:"";
  width: 40px;
  height: 40px;
  background: currentColor;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
  display:block;
}

.rentit-box__title{
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  color: #212934;
}

.rentit-box__cta{
  margin-top: 14px;
  text-align: left;
}

.rentit-box__btn{
  display: inline-flex;
  gap: 6px;
  align-items: center;

  font-weight: 700;
  text-decoration: none;

  color: rgba(234, 90, 11, 1);
}

.rentit-box__btn:hover{
  text-decoration: underline;
}

/* CONTENT BOX */

.rentit-content-box{
  margin-top:26px;
  position:relative;
  overflow:visible;

  border-radius: 0px;
  padding: 50px 26px 26px;

  text-align:center;
  display:flex;
  flex-direction:column;
  height:450px;

  background:#fff;
  border:1px solid var(--rentit-border);
  box-shadow: var(--rentit-shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#mobile .rentit-content-box{
  margin-bottom: 15px;
  height: auto;
}

.rentit-content-box__icon{
  position:absolute;
  top:-26px;
  left:50%;
  transform:translateX(-50%);

  width:60px;
  height:60px;
  border-radius:999px;

  display:grid;
  place-items:center;

  background: var(--rentit-brand);
  color:#fff;

  box-shadow:0 10px 22px rgba(0,0,0,.12);
}

.rentit-content-box__icon.rentit-icon::after{
  content:"";
  width:40px;
  height:40px;
  background: currentColor;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

.rentit-content-box__title{
  margin:0 0 12px;
  font-size: clamp(16px, 1.2vw, 22px);
  line-height: 1.2;
  font-weight: 400;
  text-transform: inherit;
  color: var(--rentit-text);
  letter-spacing: 0.4px;
}

.rentit-content-box__text{
  margin:0;
  color: var(--rentit-muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  word-wrap: break-word;
  hyphens: auto;
}

.rentit-content-box__cta{
  margin-top:auto;
  padding-top:14px;
  text-align:center;
}

.rentit-content-box .rentit-btn{
  width:100%;
}

.rentit-content-box__btn{
  display:inline-flex;
  gap:6px;
  align-items:center;
  font-weight:700;
  text-decoration:none;
  color: var(--rentit-brand);
}

/* Wrapper */
.rentit-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Base button */
.rentit-btn {
  display: inline-block;
  padding: 14px 20px;
  background: transparent;
  border: 2px solid var(--rentit-brand);
  color: var(--rentit-brand);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  border-radius: 0;
  transition: none;
}

.rentit-btn .white{
  border: 2px solid #fff;
  color: #fff;
}

/* Nessun hover */
.rentit-btn:hover,
.rentit-btn:focus,
.rentit-btn:active {
  background: transparent;
  color: var(--rentit-brand);
  border-color: var(--rentit-brand);
  text-decoration: none;
  outline: none;
}

.biz-block {
  padding: 56px 0;
}

.biz-block__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.biz-block__kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 12px;
  color: var(--rentit-muted);
}

.biz-block__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  color: var(--rentit-text);
  text-align: center;
}

.biz-block__accent {
  color: var(--rentit-brand);
}

.biz-block__lead {
  margin: 0;
  color: var(--rentit-muted);
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.biz-block__header {
  padding-bottom: 26px;
  /*border-bottom: 1px solid var(--rentit-line);*/
  border-bottom: none;
}

.biz-block__visual {
  margin: 28px 0 10px;
}

.biz-block__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}

.biz-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.biz-card__icon {
flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rentit-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-card__icon .vc_icon_element-icon{
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important; /* necessario per fas */
  font-size:18px !important;
  color:var(--rentit-brand) !important;
  line-height:1;
}

.biz-card__icon .vc_icon_element-icon:before{
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size:18px !important;
  color:var(--rentit-brand) !important;
}

.biz-card__icon .vc_icon_element-icon.fab,
.biz-card__icon .vc_icon_element-icon.fab:before{
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

/* Compatibilita WPBakery + Font Awesome 5:
   il tema carica anche Font Awesome 4, quindi sui markup FA5
   forziamo family/weight corretti solo quando compaiono classi fas/far/fab. */
.vc_icon_element .vc_icon_element-icon.fas,
.vc_icon_element .vc_icon_element-icon.fas:before{
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

.vc_icon_element .vc_icon_element-icon.far,
.vc_icon_element .vc_icon_element-icon.far:before{
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

.vc_icon_element .vc_icon_element-icon.fab,
.vc_icon_element .vc_icon_element-icon.fab:before{
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

.biz-card__text {
  margin: 0;
  color: var(--rentit-text);
  font-weight: 600;
  line-height: 1.4;
}

.biz-block__note {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--rentit-line);
  background: var(--rentit-soft);
  color: var(--rentit-text);
  font-weight: 600;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .biz-grid { grid-template-columns: 1fr; }
}

/* =========================
   RENTIT FLEET SECTION
========================= */

.rentit-fleet{
  padding:0px;
  padding-bottom: 40px;
}

.rentit-fleet__container{
  /*width:min(1200px, 92%);*/
  margin:0 auto;
}

/* Header */
.rentit-fleet__header{
  margin-bottom:30px;
}

.rentit-fleet__header h2{
  margin:0 0 10px;
  font-size:32px;
  font-weight:800;
  color:var(--rentit-text);
}

.rentit-fleet__header p{
  margin:0;
  color:var(--rentit-muted);
}

/* Grid */
.rentit-fleet__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-bottom:40px;
}

/* Card */
.rentit-fleet__card{
  display:block;
  background:#fff;
  border:1px solid var(--rentit-border);
  border-radius:0;
  padding:18px 20px;
  text-decoration:none;
  transition:border-color .15s ease;
}

.rentit-fleet__card:hover{
  border-color:var(--rentit-border-strong);
}

/* Titolo */
.rentit-fleet__card h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:800;
  color:var(--rentit-brand);
}

/* Lista */
.rentit-fleet__card ul{
  list-style:none;
  padding-left:0;
  margin:0 0 12px;
}

.rentit-fleet__card li{
  position:relative;
  padding-left:18px;
  margin:6px 0;
  line-height:1.35;
  color:var(--rentit-muted);
}

.rentit-fleet__card li::before{
  content:"✓";
  position:absolute;
  left:0;
  font-weight:700;
  color:var(--rentit-brand);
}

/* Link finale */
.rentit-fleet__link{
  display:inline-block;
  font-size:14px;
  font-weight:700;
  color:var(--rentit-brand);
}

/* =========================
   DELIVERY BLOCK
========================= */

.rentit-fleet__delivery{
  display: flex;
  flex-wrap: wrap; 
  grid-template-columns: .8fr 1.2fr;
  gap:32px;
  align-items:center;
  max-width: 100%;
  background:var(--rentit-soft);
  padding:30px 30px;
  border-radius:0;
}

.rentit-fleet__delivery-content h3{
  margin:0 0 16px;
  font-size:22px;
  font-weight:800;
  color:var(--rentit-text);
}

.rentit-fleet__checks{
  list-style:none;
  padding:0;
  margin:0 0 18px;
}

.rentit-fleet__checks li{
  position:relative;
  padding-left:18px;
  margin:6px 0;
  color:var(--rentit-muted);
}

.rentit-fleet__checks li::before{
  content:"✓";
  position:absolute;
  left:0;
  font-weight:700;
  color:var(--rentit-brand);
}

.rentit-fleet__delivery-content,
.rentit-fleet__delivery-image{
  flex: 1 1 320px;     
  min-width: 0;        
  max-width: 100%;
}

.rentit-fleet__delivery-image img{
  width:100%;
  height:auto;
  display:block;
  max-width: 100%;
}

/* Responsive */
@media(max-width:900px){
  .rentit-fleet__grid{
    grid-template-columns:1fr;
  }

  .rentit-fleet__delivery{
    grid-template-columns:1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================
   FOOTER BACKGROUND STYLE
========================= */

/* Area principale footer */
.footer .footer-widgets{
  background-color: #f4f4f4;
  background-image: linear-gradient(
    -120deg,
    #f4f4f4 68%,
    #ececec 48%
  );
  padding-top: 70px;
  padding-bottom: 60px;
}

/* Barra copyright sotto */
.footer .footer-meta{
  background-color: #e9e9e9;
  
}

.footer-meta .copyright{
  text-align: left;
  color:#444;
}

/* =========================
   VEHICLE TECHSHEET MODAL
========================= */
.rentit-techsheet-modal{
  z-index: 20000 !important;
}

body.modal-open .modal-backdrop{
  z-index: 19990 !important;
}

.rentit-techsheet-modal .modal-dialog{
  width: 95%;
  max-width: 1100px;
}

.rentit-techsheet-modal .modal-dialog.modal-lg{
  margin-top: 60px;
  margin-bottom: 60px;
}

.rentit-techsheet-modal .modal-content{
  max-height: 90vh;
  overflow: hidden;
}

.rentit-techsheet-modal .modal-header{
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.rentit-techsheet-modal .modal-body{
  max-height: calc(90vh - 72px);
  overflow: auto;
}

.rentit-techsheet-modal .modal-body img{
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px){
  .rentit-techsheet-modal .modal-dialog.modal-lg{
    width: 95%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* WPBAKERY LAYOUT NORMALIZATION */
body.page-template-template-fullwidth-full-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner),
body.page-template-template-fullwidth-breadcrumb-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner) {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  body.page-template-template-fullwidth-full-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner),
  body.page-template-template-fullwidth-breadcrumb-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner) {
    width: 750px;
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  body.page-template-template-fullwidth-full-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner),
  body.page-template-template-fullwidth-breadcrumb-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner) {
    width: 970px;
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  body.page-template-template-fullwidth-full-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner),
  body.page-template-template-fullwidth-breadcrumb-php .content-area > .vc_row.wpb_row:not([data-vc-full-width="true"]):not(.vc_row-no-padding):not(.vc_row-has-fill):not(.vc_inner) {
    width: 100%;
    max-width: 1600px;
  }
}

/* CHILD GRID NORMALIZATION */
.rentit-service__container,
.rentit-service-cta__container,
.rentit-fleet__container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px){
  .rentit-service__container,
  .rentit-service-cta__container,
  .rentit-fleet__container {
    width: 750px;
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .rentit-service__container,
  .rentit-service-cta__container,
  .rentit-fleet__container {
    width: 970px;
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .rentit-service__container,
  .rentit-service-cta__container,
  .rentit-fleet__container {
    width: 100%;
    max-width: 1600px;
  }
}

.rentit-quicklinks {
  padding-left: 0;
  padding-right: 0;
}

.car-big-card .car-details .price {
  padding: 15px 16px;
}

.car-big-card .car-details .list {
  padding: 10px 0 0 8px;
}

.car-big-card .car-details .button {
  padding: 0 16px;
}

.car-big-card .car-details ul li {
  padding-left: 12px;
}

.car-big-card .car-details ul li.title {
  padding-left: 0;
}

.vehicle-product-hero {
  margin-bottom: 0px;
}

.vehicle-product-hero__inner {
  margin-left: 0;
  margin-right: 0;
}

.vehicle-product-gallery-col,
.vehicle-product-summary-col {
  padding-left: 0;
  padding-right: 0;
}

.vehicle-product-summary {
  padding-left: 18px;
}

.vehicle-product-summary .rentit-featgrid {
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}

.vehicle-product-summary .rentit-featgrid__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-align: left;
}

.vehicle-product-summary .rentit-featgrid__ico {
  width: 28px;
  height: 28px;
  color: #1c2a44;
}

.vehicle-product-summary .rentit-featgrid__ico svg {
  width: 28px;
  height: 28px;
}

.vehicle-product-summary .rentit-featgrid__txt {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #1c2a44;
}

.vehicle-product-gallery-col .woocommerce-product-gallery,
.vehicle-product-gallery-col .woocommerce-product-gallery.images,
.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery,
.woocommerce div.product .vehicle-product-gallery-col .images {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

.vehicle-product-gallery-col .woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0;
}

.vehicle-product-gallery-col .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.vehicle-product-gallery-col .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .vehicle-product-gallery-col .woocommerce-product-gallery,
  .vehicle-product-gallery-col .woocommerce-product-gallery.images {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "thumbs viewport";
    column-gap: 14px;
    align-items: start;
    min-height: 0;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs {
    grid-area: thumbs;
    width: 72px;
    display: block !important;
    margin: 0 !important;
    padding: 0;
    list-style: none;
    align-self: stretch;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #8f98a3 #eef1f4;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs::-webkit-scrollbar {
    width: 10px;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs::-webkit-scrollbar-track {
    background: #eef1f4;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #8f98a3;
    border-radius: 999px;
    border: 2px solid #eef1f4;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs li + li {
    margin-top: 8px !important;
  }

  .single-product.woocommerce div.product .vehicle-product-gallery-col .woocommerce-product-gallery.images > .flex-control-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d9dde3;
  }

  .vehicle-product-gallery-col .woocommerce-product-gallery > .flex-viewport {
    grid-area: viewport;
    width: 100% !important;
    margin: 0 !important;
    min-width: 0;
    min-height: 0;
  }

  .vehicle-product-gallery-col .woocommerce-product-gallery .woocommerce-product-gallery__image a,
  .vehicle-product-gallery-col .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 767px) {
  .vehicle-product-summary .rentit-featgrid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   VEHICLE SPECS BLOCK
   ========================= */

.vehicle-specs {
    width: 100%;
    margin-top: 20px;
}

.vehicle-specs-title {
    text-align: center;
    margin-bottom: 25px;
    color: #f47920;
    font-weight: 700;
}

.vehicle-specs-section {
    margin-bottom: 30px;
    /*border: 1px solid #eee;*/
    border: none;
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
}

.vehicle-specs-section-title {
    background: #f47920;
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
}

.vehicle-spec {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
}

.vehicle-spec:last-child {
    border-bottom: none;
}

.vehicle-spec span {
    color: #555;
}

.vehicle-spec strong {
    color: #111;
    font-weight: 600;
}

@media (max-width: 600px) {
    .vehicle-spec {
        flex-direction: column;
        gap: 4px;
    }

    .vehicle-spec strong {
        text-align: left;
    }
}

.vehicle-spec-text {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f1f1;
    line-height: 1.7;
    color: #444;
    font-size: 15px;
}

.vehicle-spec-text:last-child {
    border-bottom: none;
}

.vc_tta-controls-align-left.vc_tta-tabs.vc_tta-tabs-position-top:not([class*=vc_tta-gap]):not(.vc_tta-o-no-fill) .vc_tta-panels{
   background-color: #ffffff;
}

/* =========================
   TABS UX IMPROVEMENT MOBILE
   ========================= */

.vc_tta-tabs-list .vc_tta-tab a {
    position: relative;
    padding: 14px 40px 14px 40px !important;
    font-weight: 600;
}

/* freccia destra */
.vc_tta-tabs-list .vc_tta-tab a::after {
    content: "›";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    opacity: .4;
    transition: .25s;
}

/* active state */
.vc_tta-tabs-list .vc_tta-tab.vc_active a::after {
    transform: translateY(-50%) rotate(90deg);
    opacity: .8;
}

/* hover */
.vc_tta-tabs-list .vc_tta-tab a:hover {
    background: #fafafa;
}

/* mobile miglioriamo separazione */
@media (max-width:768px) {

    .vc_tta-tabs-list {
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
    }

    .vc_tta-tabs-list .vc_tta-tab {
        border-bottom: 1px solid #eee;
    }

    .vc_tta-tabs-list .vc_tta-tab:last-child {
        border-bottom: none;
    }

}

/* =========================
   TABS ACTIVE STYLE
   ========================= */

.vc_tta-tabs-list .vc_tta-tab.vc_active a {
    background: #f47920 !important;
    color: #fff !important;
    border:none !important;
}

/* hover su tab NON attiva */
.vc_tta-tabs-list .vc_tta-tab:not(.vc_active) a:hover {
    background: #fff3ea;
}

/* migliora contrasto titolo */
.vc_tta-tabs-list .vc_tta-tab.vc_active .vc_tta-title-text {
    color: #fff !important;
}

/* opzionale: piccolo effetto depth */
.vc_tta-tabs-list .vc_tta-tab.vc_active a {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
