/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */

.top-bar {
  background: var(--color-dark-2);
  color: #B7BEC4;
  font-size: 0.82rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  padding: 10px 24px;
  gap: 0;
}


/* ==========================================================================
   LOCATION — FIXED
   ========================================================================== */

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar-location i {
  color: var(--color-orange);
  flex-shrink: 0;
}


/* ==========================================================================
   RIGHT CONTENT — DESKTOP
   ========================================================================== */

.top-bar-marquee {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 24px;
  overflow: hidden;
}


/*
 * IMPORTANT:
 * No animation or marquee is applied here.
 * Everything remains static on desktop.
 */

.top-bar-marquee-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 22px;
}


/* ==========================================================================
   PHONE
   ========================================================================== */

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar-phone i {
  color: var(--color-orange);
}


/* ==========================================================================
   EMAIL
   ========================================================================== */

.top-bar-email {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar-email i {
  color: var(--color-orange);
}


/* ==========================================================================
   BUSINESS HOURS
   ========================================================================== */

.top-bar-hours {
  display: flex;
  align-items: center;
  white-space: nowrap;

  /* Push hours toward the right */
  margin-left: auto;
}

.top-bar-hours i {
  color: var(--color-orange);
  margin-right: 6px;
}


/* ==========================================================================
   SOCIAL ICONS
   ========================================================================== */

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.top-bar-social li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.top-bar-social a {
  width: 24px;
  height: 24px;

  padding: 0;
  margin: 0;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-white);
  font-size: 0.7rem;
  line-height: 1;

  transition:
    background var(--transition),
    color var(--transition);
}


/* Precisely center Font Awesome icons */

.top-bar-social a i {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 1em;
  height: 1em;

  margin: 0;
  padding: 0;

  line-height: 1;
}


/* Hover */

.top-bar-social a:hover {
  background: var(--color-orange);
  color: #FFFFFF;
}

.top-bar-social a:hover i {
  color: #FFFFFF !important;
}

/* ==========================================================================
   MOBILE TOP UTILITY BAR
   ========================================================================== */

@media (max-width: 768px) {

  /* --------------------------------------------------
     MAIN UTILITY BAR
     -------------------------------------------------- */

  .top-bar-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100%;
    padding: 8px 16px !important;

    gap: 8px !important;
  }


  /* --------------------------------------------------
     LOCATION — FULL WIDTH
     -------------------------------------------------- */

  .top-bar-location {
    display: flex !important;
    align-items: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 8px !important;

    flex: 0 0 auto !important;
    flex-shrink: 1 !important;

    white-space: normal !important;

    overflow: visible !important;
  }

  .top-bar-location i {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;

    margin-top: 3px;
  }

  .top-bar-location span {
    display: block !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    flex: 1 1 auto !important;

    white-space: normal !important;

    overflow: visible !important;
    text-overflow: clip !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;

    line-height: 1.4;
  }


  /* --------------------------------------------------
     SECOND ROW — PHONE / EMAIL / HOURS
     -------------------------------------------------- */

  .top-bar-marquee {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;

    flex: 0 0 auto !important;

    overflow: hidden;
  }

  .top-bar-marquee-content {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;

    gap: 18px !important;
  }

}