/* Star rating overlay */
.star-rating {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.star-rating i {
  font-size: 14px;
}

.stars-back {
  color: #ddd;
}

.stars-front {
  color: #f5b301;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}
/* cost bar overlay */
.cost-bar {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ddd;
  margin-right: 4px;
  border-radius: 2px;
}
.cost-bar.active {
  background: #111;
}
/* Scoped label on the pricing cards */
.price-before.model-label{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 14px;
  min-width: 90px;

  text-align: center;
}

.price-before.model-label span{
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Make the blue box big enough */


.card-price.model-price {
  position: absolute;
  bottom: 14px;
  right: 14px;
  left: auto;
  transform: none;
  background: rgba(5, 27, 46, 0.9); /* your blue */
  padding: 6px 12px;
  border-radius: 6px;
  min-height: auto;
  width: auto;
  max-width: 80%;
  max-height: 56px;
}

.card-price.model-price h3 {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 2px;
}

.card-price.model-price span {
  font-size: 12px;
  opacity: 0.85;
  margin-right: auto;
  display: block
}

.price-before.model-label {
  padding: 4px 12px;
  font-size: 12px;
}
/* =========================================================
   AGENTS MENU: keep nested submenus closed until hovered
   (and open flyouts to the LEFT)
   ========================================================= */

/* Anchor for absolutely-positioned dropdowns */
#nav li { position: relative; }

/* 1) Nudge ONLY the Agents primary dropdown left */
#nav > li:nth-child(2) > ul {
  margin-left: -16px; /* adjust */
}

/* 2) HARD RESET: keep ALL nested submenus under Agents closed by default
      This defeats theme rules like: #nav li:hover ul { display:block; } */
#nav > li:nth-child(2) > ul > li > ul {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* 3) Open ONLY the submenu of the item you’re actually hovering */
#nav > li:nth-child(2) > ul > li:hover > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 4) Make those nested flyouts open to the LEFT, tight to the parent item */
#nav > li:nth-child(2) > ul > li > ul {
  left: auto !important;
  right: 100% !important;
  top: 0 !important;
  margin-right: 8px !important; /* adjust spacing */
}

