/* Main-site navbar highlight for the "Affiliate Program" link (blinking "Earn" label). */
.navigation > li.aff-nav-item > a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.aff-nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2520d 0%, #ff8a3d 100%);
  color: #fff;
  font-family: "Kumbh Sans", "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(242, 82, 13, 0.55);
  animation: affPillRing 1.6s ease-out infinite, affPillBlink 1.1s ease-in-out infinite;
}

.aff-nav-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.9);
  animation: affDotBlink 0.9s steps(2, start) infinite;
}

/* The link text itself picks up the accent colour so it stands out from the other items */
.navigation > li.aff-nav-item > a,
.sticky-header .navigation > li.aff-nav-item > a {
  color: #ff8a57;
}
.sticky-header .navigation > li.aff-nav-item > a {
  color: #f2520d;
}
.navigation > li.aff-nav-item > a:hover {
  color: #ff8a57;
}

/* Equal spacing: the menu items are spread evenly between the logo and the call button, so the gap
   before the first item, between items and before the call button are all the same (only when the item exists) */
@media (min-width: 1025px) {
  .header-style-one .header-lower .inner-container:has(li.aff-nav-item) { justify-content: flex-start; }
  .header-style-one .header-lower .inner-container .left-box:has(li.aff-nav-item) { flex: 1 1 auto; min-width: 0; gap: 0; }
  .header-style-one .header-lower .inner-container .left-box:has(li.aff-nav-item) .nav-outer { flex: 1 1 auto; min-width: 0; }
  .header-style-one .header-lower .inner-container .left-box:has(li.aff-nav-item) .main-menu { flex: 1 1 auto; min-width: 0; width: 100%; }
  .header-style-one .header-lower .inner-container .left-box:has(li.aff-nav-item) .main-menu .navbar-collapse { width: 100%; }
  .header-style-one .header-lower .inner-container .main-menu .navigation:has(> li.aff-nav-item),
  .sticky-header .main-menu .navigation:has(> li.aff-nav-item) { display: flex; justify-content: space-evenly; align-items: center; width: 100%; }
  .header-style-one .header-lower .inner-container .main-menu .navigation:has(> li.aff-nav-item)::before,
  .header-style-one .header-lower .inner-container .main-menu .navigation:has(> li.aff-nav-item)::after,
  .sticky-header .main-menu .navigation:has(> li.aff-nav-item)::before,
  .sticky-header .main-menu .navigation:has(> li.aff-nav-item)::after { display: none; }
  .header-style-one .header-lower .inner-container .main-menu .navigation:has(> li.aff-nav-item) > li,
  .sticky-header .main-menu .navigation:has(> li.aff-nav-item) > li { margin: 0; white-space: nowrap; }
  .header-style-one .header-lower .inner-container .main-menu .navigation:has(> li.aff-nav-item) > li > a,
  .sticky-header .main-menu .navigation:has(> li.aff-nav-item) > li > a { font-size: 15px; }
  .header-style-one .header-lower .inner-container .right-box { gap: 24px; }
  .header-style-one .header-lower .inner-container .right-box .header-phone_box .info { white-space: nowrap; }

  .sticky-header .inner-container:has(li.aff-nav-item) { justify-content: flex-start; }
  .sticky-header .inner-container:has(li.aff-nav-item) .nav-outer { flex: 1 1 auto; min-width: 0; display: flex; }
  .sticky-header .inner-container:has(li.aff-nav-item) .nav-outer .main-menu { flex: 1 1 auto; min-width: 0; }
  .sticky-header .inner-container:has(li.aff-nav-item) .navbar-collapse { width: 100%; }
}
@media (min-width: 1025px) and (max-width: 1399.98px) {
  .header-style-one .header-lower .inner-container .main-menu .navigation:has(> li.aff-nav-item) > li > a,
  .sticky-header .main-menu .navigation:has(> li.aff-nav-item) > li > a { font-size: 14px; }
  /* tight screens: keep only the phone icon so the 7-item menu stays on one line */
  .header-style-one .header-lower .inner-container:has(li.aff-nav-item) .right-box .header-phone_box .info { display: none; }
}
@keyframes affPillRing {
  0% { box-shadow: 0 0 0 0 rgba(242, 82, 13, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(242, 82, 13, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 82, 13, 0); }
}
@keyframes affPillBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(1.06); }
}
@keyframes affDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* Mobile menu */
.mobile-menu .navigation > li.aff-nav-item > a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #ff8a57;
}

@media (prefers-reduced-motion: reduce) {
  .aff-nav-pill,
  .aff-nav-pill::before { animation: none; }
}
