.led-header {
  background: linear-gradient(
    90deg,
    var(--led-pink-dark),
    var(--led-pink)
  );
  color: #fff;
}

.led-header-inner {
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
}

.led-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.led-logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.led-title-main {
  font-size: 20px;
  font-weight: 600;
}

.led-title-sub {
  font-size: 13px;
  opacity: .9;
}

.led-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.led-branch-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: 13px;
}

.lang-switch {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 12px;
  cursor: pointer;
}

.led-nav {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.led-nav-inner {
  max-width: 100%;
  margin: 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
}

.led-nav-link {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  white-space: nowrap;
}

.led-nav-link.active {
	background: var(--accent-soft);
  color: var(--led-blue);
  font-weight: 600;
}

@media (max-width: 600px) {
  .led-header-inner,
  .led-nav-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* =====================================================
   HEADER RESPONSIVE – TABLET & MOBILE (CLEAN)
   ===================================================== */

/* ---------- TABLET (iPad) ---------- */
@media (max-width: 1024px) {

  .led-header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo title"
      "right right";
    row-gap: 8px;
    column-gap: 12px;
    align-items: center;
  }

  .led-brand {
    grid-area: logo / title;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .led-title-main {
    font-size: 18px;
    line-height: 1.3;
    white-space: normal;
  }

  .led-title-sub {
    font-size: 12px;
    line-height: 1.2;
  }

  .led-header-right {
    grid-area: right;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {

  .led-header {
    padding: 12px 14px;
  }

  .led-header-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "right";
    gap: 8px;
  }

  .led-brand {
    grid-area: brand;
    align-items: flex-start;
  }

  .led-logo {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .led-title-main {
    font-size: 16px;
    line-height: 1.25;
  }

  .led-title-sub {
    font-size: 11px;
    line-height: 1.2;
  }

  .led-header-right {
    grid-area: right;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
  }

  .led-branch-pill,
  .lang-switch {
    font-size: 11px;
    padding: 4px 8px;
	top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 600px) {
  .led-branch-pill {
    position: static;
    transform: none;
    margin: 0 auto;
  }
}

/* ---------- EXTRA SMALL MOBILE ---------- */
@media (max-width: 420px) {

  /* กันแน่นเกิน */
  .led-title-sub {
    display: none;
  }
}