/* ── Header layout overrides (fix float collapse hiding logo) ── */
.full-header {
  position: relative;
  z-index: 100;
  background: #fff;
  float: none !important;
  clear: both;
}

.full-header .navbar-default,
.full-header .top-bar,
.full-header .header-main,
.full-header .header-nav {
  float: none !important;
  clear: both;
}

/* Google Translate widget */
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
}

.goog-te-gadget .goog-te-combo {
  color: #333366 !important;
  font-size: 12px;
  border: none;
  background: transparent;
  padding: 2px 4px;
}

/* ── Top bar ── */
.full-header .navbar-default .top-bar {
  height: auto;
  min-height: 36px;
  line-height: normal;
  padding: 6px 0;
}

.full-header .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.full-header .top-bar-translate {
  display: flex;
  align-items: center;
}

.full-header .navbar-default .top-bar .phone {
  float: none;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.full-header .navbar-default .top-bar .phone i {
  float: none;
  margin: 0;
  font-size: 16px;
}

/* ── Logo + info row ── */
.full-header .header-main {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.full-header .header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.full-header .header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.full-header .header-logo .navbar-brand {
  float: none;
  padding: 0;
  margin: 0;
  height: auto;
  display: flex;
  align-items: center;
}

.full-header .header-logo .navbar-brand img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: 65px !important;
  min-height: 40px;
  width: auto !important;
  max-width: 250px !important;
  min-width: 120px;
  object-fit: contain;
  background: #fff;
  padding: 2px 0;
}

.full-header .header-logo .site-name-logo {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: #333366;
  line-height: 1.2;
  white-space: nowrap;
}

.full-header .header-menu-toggle {
  float: none;
  margin: 0;
  flex-shrink: 0;
}

.full-header .header-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 24px;
}

.full-header .header-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.full-header .header-info-item i {
  float: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0;
  font-size: 20px;
  border-radius: 4px;
}

.full-header .header-info-item h6 {
  float: none;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.4;
  color: #342c64;
}

.full-header .header-info-item h6 span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  color: #333366;
  margin-top: 2px;
  word-break: break-word;
}

/* ── Navigation bar ── */
.full-header .header-nav {
  background: #413686;
}

.full-header .header-nav .container {
  padding-left: 0;
  padding-right: 0;
}

.full-header .header-nav .navbar-collapse {
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  float: none;
  height: auto;
  overflow: visible;
}

@media (min-width: 768px) {
  .full-header .header-nav .navbar-collapse {
    display: flex !important;
  }
}

.full-header .header-nav .main-menu {
  float: none;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.full-header .header-nav .main-menu li {
  float: none;
  display: flex;
}

.full-header .header-nav .main-menu li a {
  float: none;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 18px;
  white-space: nowrap;
}

.full-header .header-nav .main-menu li a:after {
  top: 50%;
  transform: translateY(-50%);
}

.full-header .header-nav .social-nav {
  float: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  gap: 2px;
}

.full-header .header-nav .social-nav li {
  float: none;
  display: flex;
}

.full-header .header-nav .social-nav li a {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
}

/* ── Tracking error alert ── */
.full-header .header-alert {
  background: #fde8e8;
  border-bottom: 1px solid #f5c6c6;
  padding: 10px 0;
}

.full-header .header-alert p {
  margin: 0;
  text-align: center;
  color: #c0392b;
  font-size: 14px;
}

@media only screen and (min-width: 768px) {
  .full-header .header-menu-toggle {
    display: none !important;
  }
}

/* ── Tablet ── */
@media only screen and (max-width: 1199px) {
  .full-header .header-info {
    gap: 16px;
  }

  .full-header .header-info-item h6 {
    font-size: 10px;
  }

  .full-header .header-info-item h6 span {
    font-size: 11px;
  }

  .full-header .header-nav .main-menu li a {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ── Mobile ── */
@media only screen and (max-width: 767px) {
  .full-header .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .full-header .header-main-inner {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
  }

  .full-header .header-logo {
    flex: 0 1 auto;
  }

  .full-header .header-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-top: 0;
    padding: 6px;
  }

  .full-header .header-logo .navbar-brand img {
    max-height: 40px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    max-width: 150px !important;
    height: auto !important;
    width: auto !important;
  }

  .full-header .header-nav .navbar-collapse.in {
    display: flex !important;
    flex-direction: column;
  }

  .full-header .header-nav .main-menu {
    flex-direction: column;
    width: 100%;
  }

  .full-header .header-nav .main-menu li {
    width: 100%;
  }

  .full-header .header-nav .main-menu li a {
    width: 100%;
    height: auto;
    padding: 14px 20px;
    border-top: none;
    border-left: 3px solid transparent;
  }

  .full-header .header-nav .main-menu li a:hover,
  .full-header .header-nav .main-menu li a:focus {
    border-top: none;
    border-left-color: #333366;
  }

  .full-header .header-nav .main-menu li a:after {
    display: none;
  }

  .full-header .header-nav .social-nav {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .full-header .header-nav .container {
    padding-left: 0;
    padding-right: 0;
  }

  .full-header .header-main .container,
  .full-header .top-bar .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ── Site-wide mobile alignment fixes ── */
@media only screen and (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  main,
  header,
  footer,
  section {
    max-width: 100%;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .section-title {
    font-size: 1.75rem;
    word-break: break-word;
  }

  .section-title span,
  .dark-footer .title span {
    position: static;
    display: inline-block;
    margin-right: 4px;
    opacity: 1;
  }

  .sub-header {
    padding: 24px 15px;
  }

  .sub-header .page-title {
    font-size: 1.5rem;
    word-break: break-word;
  }

  /* Footer */
  .dark-footer .title {
    margin-top: 40px;
  }

  .dark-footer .middle-bar {
    margin-top: 40px;
    text-align: center;
  }

  .dark-footer .middle-bar [class*="col-"] {
    float: none;
    width: 100%;
    margin-bottom: 24px;
    text-align: center;
  }

  .dark-footer .middle-bar .logo {
    float: none;
    display: inline-block;
    margin: 0 auto 12px;
  }

  .dark-footer .middle-bar h3,
  .dark-footer .middle-bar h4,
  .dark-footer .middle-bar p {
    float: none;
    margin-top: 0;
    text-align: center;
  }

  .dark-footer .middle-bar ul {
    float: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
    padding: 0;
  }

  .dark-footer .middle-bar ul li {
    float: none;
    margin-bottom: 0;
  }

  .dark-footer .middle-bar i.responsive-icon {
    float: none;
    display: block;
    margin: 12px auto;
    font-size: 48px;
  }

  .dark-footer .middle-bar a {
    float: none;
    display: inline-block;
    margin: 12px auto 0;
  }

  .dark-footer .sub-footer .copyright {
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    padding: 0 10px;
  }

  .dark-footer [class*="col-md-"],
  .dark-footer [class*="col-sm-"],
  .dark-footer [class*="col-xs-"] {
    float: none;
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  .full-header .header-info {
    display: none !important;
  }
}
