:root{
  --bg1:#0b0b10;
  --bg2:#141521;
  --line:rgba(255,255,255,.12);
  --text:#000;
  --muted:rgba(255,255,255,.65);
  --red:#E11E00;
  --ar-font-sans-serif: "Outfit", sans-serif;
  --ar-primary:#E11E00;
  --ar-gray-900: #1C1C1E;
  --ar-body-color: #1C1C1E;
}

[data-bs-theme=dark] .btn-secondary:not([data-bs-theme=light]) {
    text-decoration: none;
}

a.signin-site-link{
  color:#000 !important;
}

.fancybox-image{
 background: #FFF !important; 
}

a {
  color: #E11E00;
  text-decoration: underline;
}

a:hover,
a.active {
  color: #EA4228;
  text-decoration: underline;
}


a.marchio_link{
  color: #E11E00;
  /*text-decoration: none !important;*/
  font-weight: 600;
}

.color_primary{
  color: #E11E00;
}

.text-bg-light {
    color: #000 !important;
    background-color:#F7F8F8 !important;
}

.badge.text-bg-light a{
  text-decoration: none;
  color: #000;
}

.badge.text-bg-light a:hover,
.badge.text-bg-light a.active{
  color: #EA4228;
}

.btn-cart{
  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 0 0 22px;      
  gap: 0;              
  overflow: hidden;          
  background: #e11919;
  border-color: #e11919;
}

.btn-cart:hover{
  background: #EA4228;
  border-color: #EA4228;
}

.btn-cart__text{
  display: inline-flex;
  align-items: center;
  padding: 10px 0;            
  margin-right: 16px;         
}

.btn-cart__icon{
  align-self: stretch;
  height: 100%;
  aspect-ratio: 1 / 1;     
  border-radius: 9999px;
  background: #EA4228;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 16px;                
}

.btn-cart__icon i{
  font-size: 22px;
}

.bg-warning{
  color: #11121b;
}


.btn-primary {
  --ar-btn-color: #fff;
  --ar-btn-bg: #E11E00;
  --ar-btn-border-color: #E11E00;
  --ar-btn-hover-color: #fff;
  --ar-btn-hover-bg: #EA4228;
  --ar-btn-hover-border-color: #EA4228;
  --ar-btn-focus-shadow-rgb: 96, 157, 137;
  --ar-btn-active-color: #fff;
  --ar-btn-active-bg: #EA4228;
  --ar-btn-active-border-color: #EA4228;
  --ar-btn-active-shadow: unset;
  --ar-btn-disabled-color: #fff;
  --ar-btn-disabled-bg: #EA4228;
  --ar-btn-disabled-border-color: #EA4228;
}

.btn-secondary{
    --ar-btn-bg: #E4E5E0;
    --ar-btn-border-color: #E4E5E0;
}

.btn-dark-pill{
  background: #1C1C1E;
  border-color: #1C1C1E;
  color: #fff;

  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;

  padding: 0 0 0 22px;  /* sinistra */
  gap: 0;
  overflow: hidden;
}

.btn-dark-pill:hover{
  background: #444448;
  border-color: #444448;
  color: #fff;
  text-decoration: none;
}

.btn-dark-pill__text{
  display: inline-flex;
  align-items: center;
  padding: 10px 0;      /* altezza bottone */
  margin-right: 16px;   /* spazio tra testo e cerchio */
}

.btn-dark-pill__icon{
  align-self: stretch;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  background: #444448;
  width: 45px;
    height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
  padding: 0;           /* niente spazio extra */
}

.btn-dark-pill__icon i{
  font-size: 22px;
  color: #fff;
}



p{
  font-size: 19px;
}

h1{ 
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
}

h2{ 
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
    line-height: 34px;
}

h3{ 
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
   line-height: 28px;
}

.home-thumb-img{
  object-fit: cover;
  transition: transform .35s ease;
  transform-origin: center center;
}
.product-card:hover .home-thumb-img{
  object-fit: contain;
  transform: scale(0.88);
}

@media (max-width: 767.98px) {
  .results-toolbar {
    gap: .75rem;
  }
  .results-toolbar-left,
  .results-toolbar-right {
    width: 100%;
  }
  .results-toolbar-right {
    justify-content: flex-start !important;
  }
  .results-toolbar-right #results-order {
    width: 100%;
  }
}


h4{
  font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
}


.title_h2{
  font-family: "Zen Dots", sans-serif;
  font-weight: 400;
  
}

.title_h3{
  font-family: "Zen Dots", sans-serif;
  font-weight: 400;
  font-style: normal;
  
}


.breadcrumb-item.active{
    color: #000;
}

.text-primary{
    color:#E11E00 !important;
}

/* BACKGROUND like screenshot */
.ripa-header{
  background:
    radial-gradient(1200px 300px at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

/* TOP BAR */
.topbar{
  border-bottom: 1px solid var(--line);
}

.pill-btn{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
    padding: 4px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}
.pill-btn:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.topbar-text{
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.assist-link{
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}
.assist-link:hover{
  opacity: 1;
  text-decoration: underline;
}

.lang-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
  color: #fff;
  font-weight: 400;
  letter-spacing:.4px;
  text-decoration:none;
  padding: 2px 7px;
}
.lang-flag{
  width:18px;
  height:18px;
  object-fit: cover;
  display:block;
}

.freccia{
  width:45px;
  height:45px;
  background:#1C1C1E;
}

.badge_yellow{
  color: #625601;
  background-color: #F1D302;
}



/* MAIN NAV */

/* ====== TOP STRIP ====== */
.top-strip {
  background: #F1D302; 
  color: #1C1C1E;
}

.top-strip-marquee{
padding:4px 0;
}

.marquee{
  overflow:hidden;
}

.marquee__track{
  display:inline-flex;
  align-items:center;
  width:max-content;
  animation: marquee 30s linear infinite;
}

.marquee__text{
  display:inline-block;
  padding-right: 2rem;
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.top-strip-marquee:hover .marquee__track{
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
}



.menu-label{
  color: rgba(255,255,255,.75);
  font-weight: 700;
  letter-spacing: .4px;
  font-size: 12px;
}

/* red round buttons */
.round-red{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(227,25,25,.25);
  border: 0;
}

.round-red i{
  font-size: 22px;
  line-height: 1;
}

/* hamburger icon bars */
.hamburger{
  width: 24px;
  height: 18px;
  display: grid;
  gap: 4px;
}
.hamburger span{
  height: 3px;
  border-radius: 3px;
  background: #fff;
  display:block;
}

/* center links - desktop only (hidden via d-none d-lg-flex in HTML) */
.navlinks a{
  color: #fff ;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: .6px;
  font-size: 16px;
  text-transform: uppercase;
  padding: 6px 16px;
}
.navlinks a:hover,
.navlinks a.active{
  color:#EA4228;
}

/* LOGO as image */
.logo-wrap{
  display:flex;
  align-items:center;
  min-width: 190px;
}


/* Right icons + badge */
.icon-stack{
  position: relative;
}
.badge-dot{
  position:absolute;
  top:-6px;
  right:-6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-weight: 900;
  display:grid;
  place-items:center;
  font-size: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}

/* OFFCANVAS styling */

.offcanvas.show, .offcanvas-sm.show, .offcanvas-md.show, .offcanvas-lg.show, .offcanvas-xl.show, .offcanvas-xxl.show{
    box-shadow:none;
}
.ripa-offcanvas{
  background: #E11E00;
  border-right: 1px solid var(--line);
}

.mobile-links{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-links a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 10px;
    display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 0;
  border-bottom: 1px solid #E95640;
}

.mobile-links a i{
  font-size: 1.1rem;        /* opzionale */
}

.mobile-links a:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

#brandSubMenuLinks{
  transition: opacity 180ms ease;
}

.offcanvas, .offcanvas-xxl, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm{
      --ar-offcanvas-width: 450px;
}

.page_container{
    margin-top: 180px;
}

.accordion-button:not(.collapsed) {
    color: #000;
}

.form-check-input:checked {
    background-color: var(--ar-primary);
    border-color: var(--ar-primary);
}

.divider-gray{
  border: 0;
  border-top: 1px solid #E6E6E6;
}

.bg_chiaro{
  background-color: #F3F4F2;
}

.bg_chiaro2{
  background-color: #EAEBE8;
}

/* opzionale: evita “spazi” strani inline */
.nav-arrow{
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  opacity: 1 !important;        
  filter: none !important;
}

.nav-arrow__svg{
  width: 56px;
  height: 34px;
  display: block;
  opacity: 1 !important;
}

/* ✅ STATO NORMALE: FORZO #1C1C1E (bordo + freccia) */
.nav-arrow__rect{
  fill: transparent !important;
  stroke: #1C1C1E !important;
  stroke-opacity: 1 !important;
  stroke-width: 1;          
}

.nav-arrow__path{
  fill: #1C1C1E !important;
  fill-opacity: 1 !important;
}

/* ✅ HOVER: sfondo #1C1C1E + freccia bianca */
.nav-arrow:hover .nav-arrow__rect{
  fill: #1C1C1E !important;
  stroke: #1C1C1E !important;
  stroke-opacity: 1 !important;
}

.nav-arrow:hover .nav-arrow__path{
  fill: #ffffff !important;
  fill-opacity: 1 !important;
}

/* 1) il box si estende in altezza e gestisce bene contenuti diversi */
.box_product_simple{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 86px; /* spazio riservato alla barra in basso */
}

/* 2) l’immagine occupa lo spazio “variabile” tra titolo e info_down */
.box_product_simple .product_img{
  flex: 1 1 auto;
  width: 100%;
  object-fit: contain; /* mantiene proporzioni senza tagli */
}

/* (opzionale) se vuoi evitare che titoli lunghi “allunghino” troppo la card,
   puoi clampare le righe (funziona sui browser moderni) */
.box_product_simple p{
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* max 3 righe */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product_img{
  flex: 1 1 auto;
  width: 100%;
  object-fit: contain;
}

.hero-gradient{
  height: 33.333%; /* 1/3 dell'immagine */
  background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,0));
  pointer-events: none; /* così non blocca click sugli elementi sopra */
}

.hero_home{
  margin-top: 150px;
}

.hero-title{
  width: 60%;
  z-index: 2; /* sta sopra al gradient */
  font-size: 50px;
  font-family: "Zen Dots", sans-serif;
  font-weight: 400;
  line-height: 50px;
}

.hero-box{
  width: 360px;
  max-width: 40vw;
}

.hero-decor{
  max-width: 425px;   
  height: auto;
  transform: translate(20%, 80%);
}

/* barra ricerca */
.hero-search{
  height: 64px;
}

.hero-search__divider{
  width: 1px;
  background: #E6E6E6;
  margin: 18px 0; /* lascia aria sopra/sotto */
}

.hero-search__input{
  font-size: 20px;
}

.hero-search__select{
  font-size: 20px;
  padding-right: 3rem;          
  padding-left: 0;            
  background-position: right 0.5rem center; 
  background-size: 16px 12px;   
}


/* bottone rosso a destra */
.hero-search__btn{
  width: 48px;
  height: 48px;
  margin: 8px;          
  background: #E11E00;  /* rosso */
  border: 0;
}
.btn.hero-search__btn{
  padding: 0;
}
.hero-search__btn:hover{
  background: #EA4228;
}

.bottom_flow{
  padding-bottom: 72px;
}

.tag-pill{
  background: rgb(0 0 0 / 61%);
  border: 1px solid #535353;
  font-size: 14px;
}

.tag-pill__link{
  color: #fff;
}

.tag-pill__link:hover{
  color:#E11E00; 
}

.rivenditore-banner{
  background-image:
    url("/upload/documenti/6/66/662/6622/66222.jpg"),
    linear-gradient(180deg, rgba(243,244,242,1) 0%, rgba(234,235,232,1) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: left center, left center;
  background-size: 100% auto, 100% auto; /* immagine sopra, gradiente sotto */
}

/* altezza del banner = altezza del contenuto (e puoi forzarla) */
.rivenditore-content{
  min-height: 413px;
  height: 100%;
}

.about-badge{
  background: #0B1F44; /* blu scuro come screenshot */
}

.about-section{
  background-color: #FDFFFC;
  border-top: 1px solid #E6E6E6;
}

.title_number{
  font-size: 40px;
  line-height: 40px;
  font-family: "Zen Dots", sans-serif;
  font-weight: 400;
}

.text_number{
  font-size: 20px;
  line-height: 24px;
  font-family: "Zen Dots", sans-serif;
  font-weight: 400;
}

.bg_tag{
  background: #112D60;
background: radial-gradient(circle,rgba(17, 45, 96, 1) 0%, rgba(7, 19, 41, 1) 78%);
}

 .hero-split {
    isolation: isolate; /* per gestire bene gli z-index */
  }

  /* FULLSCREEN BACKGROUND LAYERS */
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-bg-left {
    background: #0b2a63; /* blu pieno */
  }

  .hero-bg-right {
    /* immagine sui toni del blu + overlay */
    background:
      linear-gradient(90deg, rgb(11 42 99 / 68%), rgb(11 42 99 / 89%)), url(/images/bg_video.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* NAV ARROWS FULLSCREEN */
  .hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2; /* sopra lo sfondo, sotto/pari al contenuto */
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
  }
  .hero-nav:hover { background: transparent; }

  .hero-nav-prev { left: 24px; }
  .hero-nav-next { right: 24px; }

  /* CONTENT ABOVE BACKGROUND */
  .hero-split .container {
    z-index: 1;
  }

.img_slider_car{
  margin-left: -90px !important;
}

.img-wrap{
  position: relative;
}

.logo_box{
  position: absolute;
  top: 16px;   
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: 280px;     
  height: auto;
}

.footer p{
  font-size: 16px;
}

.finale{
    font-size: 14px;
    color: #000;
}

.finale ul{
    padding-left: 0;
}

.finale li{
    list-style-type: none;
    float: left;
    margin-right: 20px;
}

.finale a{
    color: #000;
}

.spazio_brand_footer{
    text-align: right;
}

.img_cactus{
    margin-left: 10px;
    width: 31px;
    height: 24px;
    margin-top: -3px;
}



/* GRANDE SCHERMO */
@media (min-width: 1460px){
.rivenditore-content{
    min-height: 440px;
  }
}

/* GRANDE SCHERMO */
@media (max-width: 1288px){
    
.navlinks a{
  padding: 6px 8px;
}

}

/* SOLO TABLET */
@media (max-width: 1129px){

.navlinks a{
  padding: 6px 6px;
}

.logo-wrap{
    max-width: 150px;
    min-width: auto;
}

.rivenditore-content {
    min-height: 290px;
}

}

/* DESKTOP (>=992px): freccia in basso a destra, tonda */
@media (min-width: 992px){

  /* la card fa da riferimento per la freccia assoluta */
  .hero-box{
    position: relative;
    padding-bottom: 86px; /* spazio per badge + freccia in basso */
  }

  /* la barra titolo torna “normale” (non influenza la freccia) */
  .hero-mobile-bar{
    position: static;
  }

  /* freccia: assoluta in basso a destra */
  .hero-arrow{
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 10;
    width: 56px;
    height: 56px;            /* ✅ stessa larghezza/altezza */
    padding: 0 !important;

    border-radius: 50%;
    background: #1C1C1E;

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


@media (max-width: 996px){

  .bottom_flow{
    padding-bottom: 25px;
    padding-top:25px;
  }

  /* l'immagine non deve essere absolute: diventa normale e sta sopra */
  .hero-bg{
    position: static !important;
    height: auto !important;
    display: block;
  }

  /* il blocco con titolo+btn non deve più essere absolute -> va sotto l’immagine */
  .hero-top{
    flex-grow: 0 !important; /* evita spazi vuoti */
  }

  .hero-content{
    position: static !important;
    width: 100% !important;
    padding: 1.25rem 1rem !important;
  }

  .hero-title{
    color: #1C1C1E !important;
    width: 100%;
    font-size: 30px;
    line-height: 30px
  }

.img_slider_car{
  margin-left: 0px !important;
}

.hero-split{
  background-color: #0A1C3C;
}

.rivenditore-banner{
    background-image:none;
    background-color: #EAEBE8;
  }

  .rivenditore-content{
    min-height: auto;
  }

}


  /* DESKTOP (>=992px): freccia in basso a destra, come prima */
@media (min-width: 992px){
  .hero-box{
    padding-bottom: 86px; /* spazio per badge in basso */
  }

  .hero-arrow{
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    background: #1C1C1E;
  }

  .hero-car-title{
    max-width: calc(100% - 72px);
  }
}




/* MOBILE/TABLET (<992px): solo titolo + freccia, 2 colonne affiancate */
@media (max-width: 991.98px){

  /* wrapper overlay a tutta larghezza nel container */
  .hero-box-wrap{
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: auto !important;
    bottom: 1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

   .hero_home .min-vh-100{
    min-height: 0 !important;     
  }

  /* il box diventa trasparente (stiamo usando solo la barra) */
  .hero-box{
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* due colonne SEMPRE affiancate */
  .hero-mobile-bar{
    width: 100%;
  }

  /* titolo: colonna sinistra, va a capo (no ellissi) */
  .hero-car-title{
    flex: 1 1 auto;
    min-width: 0;               /* IMPORTANTISSIMO */
    color: #fff !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
  }

  /* freccia: colonna destra fissa */
  .hero-arrow{
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    background: #1C1C1E;
  }

  .hero-bg { grid-template-columns: 1fr; }
    .hero-bg-right { display: none; }
    .hero-nav-prev { left: 12px; }
    .hero-nav-next { right: 12px; }
}

@media (max-width: 886px) {
  
}

@media (max-width: 768px) {

.page_container{
    margin-top: 134px;
}

h1{ 
    font-size: 30px;
}

h2{ 
    font-size: 26px;
}

h3{
  font-size: 22px;
}


h4{
 font-size: 20px;
}


.title_h2{
  font-size: 26px;
  line-height: 34px;
}

.title_h3{
  font-size: 22px;
  line-height: 28px;
}

.hero-search{ height: 64px; }
  .hero-search__input{ font-size: 20px; }
  .hero-search__select{ font-size: 18px; }
  .hero-search__btn{ width: 52px; height: 52px; margin: 6px; }
  .hero-search__divider{ margin: 14px 0; }


.finale{
padding-bottom: 45px;
}

}


/* Mobile tweaks */
@media (max-width: 575.98px){
  .round-red{
    width: 45px;
    height: 45px;
  }
  .logo-wrap{
    min-width: auto;
  }
  .logo-img{
    height: 56px;
  }
}
.owl-nav,
.owl-dots.disabled,
.owl-nav.disabled{ display:none; }

.filtro-immagine-marchio{
  object-fit:contain; max-height: 50px;filter: grayscale(100%);
  cursor: pointer;
}
.filtro-immagine-marchio:hover{
  filter: grayscale(0%);
}



.mobile-menu-stage-wrap{
  overflow: hidden;
}
.mobile-menu-stage{
  display: flex;
  transform: translateX(0);
  transition: transform 300ms ease;
  will-change: transform;
}
.mobile-menu-panel{
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}
#mobileMenuStage.is-brands{
  transform: translateX(-100%);
}
#mobileMenuBrandsStage.is-children{
  transform: translateX(-100%);
}
                                                                        