/* =====================================================
   TOP BAR — RESPONSIVE & SAFE
===================================================== */

.topbar {
  width: 100%;
  background: #6b264b;
  color: #fff;

  /* 🔑 DO NOT FIX HEIGHT */
  height: auto;
}

/* INNER WRAPPER */
.topbar-inner {
  max-width: 80vw;
  margin: 0 auto;

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

  gap: 14px;
  padding: 6px 0;

  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* LEFT & RIGHT */
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-right a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.topbar-right a:hover {
  opacity: 0.7;
}

/* =====================================================
   TABLET (≤1023px)
===================================================== */
@media (max-width: 1023px) {
  .topbar-inner {
    font-size: 13px;
    gap: 10px;
  }
}

/* =====================================================
   MOBILE (≤768px)
===================================================== */
@media (max-width: 768px) {

  .topbar-inner {
    flex-direction: row;   /* 🔑 stack */
    text-align: center;
    max-width: fit-content;
    font-size: 14px;
    gap: 4px;
    padding: 8px 0;
  }

  .topbar-left,
  .topbar-right {
    justify-content: center;
  }
    .topbar-right a{
    	font-weight:700 !important;
    }
    .topbar-left span{
        margin-right:13px;
    }
}
@media (max-width: 320px) {
  .topbar-inner{
    flex-direction: column !important;
  }
}
/* =====================================================
   HEADER NAV FIX — TABLET SINGLE ROW
   (Drop-in, non-destructive)
===================================================== */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {

  /* Allow nav to occupy full row */
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    flex: 0 0 100%;
    margin-top: 8px;
  }

  /* Ensure menu stays on one line */
  .main-nav .primary-menu {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 18px;
  }
}

/* Mobile reset */
@media (max-width: 768px) {

  .main-nav {
    width: auto;
    flex: initial;
    margin-top: 0;
  }

  .main-nav .primary-menu {
    flex-wrap: wrap;
  }
  .header-inner{
    max-width: 90vw;
  }
}