:root{
  --bg1:#50bee3;
  --bg2:#50bee3;
  --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;
}

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

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

.marchio_link{
  color: #E11E00;
  text-decoration: none;
  font-weight: 600;
}

.scala_link{
  color: #1C1C1E;
}

.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;
}




.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;
}

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;
}


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{
  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: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--text);
  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;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 10px;
}
.mobile-links a:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.page_container{
    margin-top: 155px;
}

.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;
}

/* 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;
}



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

}

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

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

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

}

@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;
}

}


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