/* ==========================================
   FIRE EXIT CUSTOM HEADER - PIXEL PERFECT
   ========================================== */

:root {
  --brand-orange: #F37321;
  --brand-yellow: #FBB040;
}

/* =============================================
   ALERT TICKER - ORANGE BAR
   ============================================= */
.fe-alert-ticker {
  background-color: #FFF !important;
  color: #000000 !important;
  font-size: 0.75rem;
  padding: 8px 24px;
  overflow: hidden;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
}

@keyframes fe-ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.fe-ticker-text {
  white-space: nowrap;
  animation: fe-ticker 25s linear infinite;
  display: inline-block;
}

/* =============================================
   TOP BAR - DARK GLASS
   ============================================= */
.fe-topbar {
  background: rgba(24, 24, 27, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
  font-size: 0.625rem;
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 0;
}

@media (min-width: 640px) {
  .fe-topbar {
    font-size: 0.75rem;
    flex-direction: row;
  }
}

@media (max-width: 639px) {
  .fe-topbar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.625rem;
  }
}

.fe-topbar-left {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
}

.fe-topbar-left i {
  color: #F37321 !important;
  margin-right: 8px;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .fe-topbar-left i {
    margin-right: 12px;
    font-size: 1.125rem;
  }
}

.fe-topbar-phone {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.fe-topbar-phone:hover {
  color: #F37321 !important;
}

.fe-topbar-phone i {
  color: #F37321 !important;
  margin-right: 8px;
}

/* =============================================
   NAVBAR - WHITE GLASS
   ============================================= */
.fe-navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  z-index: 50;
  padding: 16px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

@media (min-width: 640px) {
  .fe-navbar {
    padding: 16px 32px;
  }
}

.fe-logo-link {
  display: inline-block;
  flex-shrink: 0;
}

.fe-logo {
  height: 48px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .fe-logo {
    height: 64px;
  }
}

/* Desktop Menu */
.fe-desktop-menu {
  display: none;
}

@media (min-width: 1024px) {
  .fe-desktop-menu {
    display: flex;
    gap: 40px;
    align-items: center;
  }
}

.fe-desktop-menu a {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #334155 !important;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.fe-desktop-menu a:hover {
  color: #F37321 !important;
}

/* Nav Right */
.fe-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* CTA Button - exact match to original Tailwind */
.fe-btn-portal,
a.fe-btn-portal,
.fe-nav-right .fe-btn-portal {
  display: none !important;
  background: linear-gradient(135deg, #F37321 0%, #FBB040 100%) !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgba(243, 115, 33, 0.3) !important;
  white-space: nowrap !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.3s ease !important;
}

@media (min-width: 640px) {
  .fe-btn-portal,
  a.fe-btn-portal,
  .fe-nav-right .fe-btn-portal {
    display: inline-block !important;
    padding: 12px 32px !important;
    font-size: 12px !important;
  }
}

.fe-btn-portal:hover,
a.fe-btn-portal:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(243, 115, 33, 0.5) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Hamburger */
.fe-hamburger {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e293b;
  padding: 0;
}

.fe-hamburger:focus {
  outline: none;
}

@media (min-width: 1024px) {
  .fe-hamburger {
    display: none;
  }
}

/* Mobile Menu */
.fe-mobile-menu {
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 16px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #334155;
  margin-top: 16px;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  padding-top: 16px;
  padding-bottom: 8px;
}

@media (min-width: 1024px) {
  .fe-mobile-menu {
    display: none !important;
  }
}

.fe-mobile-menu.fe-open {
  display: flex;
}

.fe-mobile-menu a {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #334155;
  text-decoration: none;
}

.fe-mobile-menu a:hover {
  color: #F37321;
}

.fe-mobile-menu a:last-child {
  color: #F37321;
  margin-top: 8px;
}

/* =============================================
   SUB HEADER - Search, Account, Cart
   ============================================= */
.fe-subheader {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 20px;
}

.fe-subheader-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

/* Search form */
.fe-subheader-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 400px;
  margin-right: auto;
}

.fe-subheader-search input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.fe-subheader-search input:focus {
  border-color: #F37321;
  box-shadow: 0 0 0 3px rgba(243, 115, 33, 0.1);
}

.fe-subheader-search button {
  background: #F37321;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.fe-subheader-search button:hover {
  background: #e05f0f;
}

/* Account & Cart links */
.fe-subheader-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  padding: 6px 0;
  white-space: nowrap;
}

.fe-subheader-link:hover {
  color: #F37321;
}

.fe-subheader-link i {
  font-size: 16px;
}

.fe-subheader-label {
  font-size: 13px;
}

/* Cart with count */
.fe-subheader-cart {
  position: relative;
}

.fe-subheader-cart-count {
  position: absolute;
  top: -2px;
  right: -10px;
  background: #F37321;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .fe-subheader-inner {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .fe-subheader-search {
    max-width: 100%;
    order: 3;
    flex-basis: 100%;
  }

  .fe-subheader-link {
    font-size: 13px;
  }

  .fe-subheader-label {
    display: none;
  }

  .fe-subheader-link i {
    font-size: 18px;
  }
}