/* =========================================================
   IGFA UI: header badge + active vehicle sidebar box
   ========================================================= */

/* Green dot on header garage button when a vehicle is active */
/* Sidebar widget */
.igfa-active-vehicle-widget .igfa-av{display:flex;flex-direction:column;gap:10px;}
.igfa-active-vehicle-widget .igfa-av-top{display:flex;gap:10px;align-items:center;}
.igfa-active-vehicle-widget .igfa-av-thumb{width:56px;height:40px;border-radius:999px;background:rgba(0,0,0,.05);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto;}
.igfa-active-vehicle-widget .igfa-av-thumb img{width:100%;height:100%;object-fit:cover;}
.igfa-active-vehicle-widget .igfa-av-thumb--placeholder{width:24px;height:24px;display:block;opacity:.55;background:currentColor;mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M21 11l-1-3a3 3 0 0 0-3-2h-1l-1-2H9L8 6H7a3 3 0 0 0-3 2l-1 3v7a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-1h8v1a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-7ZM6.5 16A1.5 1.5 0 1 1 8 14.5 1.5 1.5 0 0 1 6.5 16Zm11 0A1.5 1.5 0 1 1 19 14.5 1.5 1.5 0 0 1 17.5 16ZM5 11l.7-2.1A1 1 0 0 1 6.7 8h10.6a1 1 0 0 1 1 .9L19 11Z"/></svg>') center / contain no-repeat;
}
.igfa-active-vehicle-widget .igfa-av-title{font-weight:700;line-height:1.2;}
.igfa-active-vehicle-widget .igfa-open-garage{width:100%;text-align:center;}

.action-garage .site-action-icon:after{content:none !important; display:none !important;}


/* Ensure count badge can position correctly inside the icon wrapper */
.action-garage .site-action-icon{position:relative;}
/* Hide legacy dot badge (some Ignavo versions use ::after) */
.action-garage .site-action-icon:after{content:none !important; display:none !important;}

/* =========================================================
   Active vehicle bar under header (home / category / product)
   ========================================================= */
.igfa-active-vehicle-bar{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.igfa-active-vehicle-bar .igfa-avb__inner{
  max-width:1280px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:14px;
}
.igfa-active-vehicle-bar .igfa-avb__thumb{
  width: auto;
  height: 40px;
  border-radius: 0px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
}
.igfa-active-vehicle-bar .igfa-avb__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.igfa-active-vehicle-bar .igfa-avb__thumb--placeholder{
  width:24px;
  height:24px;
  display:block;
  opacity:.55;
  background:currentColor;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M21 11l-1-3a3 3 0 0 0-3-2h-1l-1-2H9L8 6H7a3 3 0 0 0-3 2l-1 3v7a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-1h8v1a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-7ZM6.5 16A1.5 1.5 0 1 1 8 14.5 1.5 1.5 0 0 1 6.5 16Zm11 0A1.5 1.5 0 1 1 19 14.5 1.5 1.5 0 0 1 17.5 16ZM5 11l.7-2.1A1 1 0 0 1 6.7 8h10.6a1 1 0 0 1 1 .9L19 11Z"/></svg>') center / contain no-repeat;
}
.igfa-active-vehicle-bar .igfa-avb__text{
  flex:1 1 auto;
  min-width:0;
}
.igfa-active-vehicle-bar .igfa-avb__kicker{
  font-size: 13px;
  color: rgba(0, 0, 0, .55);
  line-height: 1.1;
  margin-bottom: 4px;
}
.igfa-active-vehicle-bar .igfa-avb__label{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.igfa-active-vehicle-bar .igfa-avb__btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  height: 35px !important;
  padding: 12px;
}
.igfa-active-vehicle-bar .igfa-avb__gear{
  flex:0 0 auto;
}

@media (max-width: 768px){
  .igfa-active-vehicle-bar .igfa-avb__inner{padding:12px 12px;}
  .igfa-active-vehicle-bar .igfa-avb__label{font-size:12px;}
  .igfa-active-vehicle-bar .igfa-avb__thumb{height: 25px;}
  .igfa-active-vehicle-bar .igfa-avb__btn {
    font-size: 12px;
    height: 35px !important;
    padding: 12px;
  }
}


/* =========================================================
   Vehicle landings internal links (leaf product categories)
   ========================================================= */
.igfa-landings-box{margin:14px 0 18px;padding:14px;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:rgba(0,0,0,.02);}
.igfa-landings-box__head{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;}
.igfa-landings-box__title{font-size:16px;line-height:1.2;margin:0;}
.igfa-landings-box__active{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;opacity:.9}
.igfa-landings-box__active-link{text-decoration:underline;}
.igfa-landings-box__list{display:flex;flex-wrap:wrap;gap:8px;}
.igfa-landings-box__item{display:flex;gap:8px;align-items:center;padding:8px 10px;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#fff; text-decoration:none;}
.igfa-landings-box__item:hover{text-decoration:none;}
.igfa-landings-box__item-title{font-size:13px;line-height:1.1;}
.igfa-landings-box__item-count{font-size:12px;opacity:.75;}
.igfa-landings-box__note{margin:10px 0 0;font-size:12px;opacity:.75;}
