.pro-navbar {
  width: 100%;
  max-width: 1128px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  isolation: isolate;
  z-index: 100;
}

.pro-navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 0;
  background: rgba(250, 250, 250, 0.85);
  box-shadow:
    0 8px 16px -4px rgba(14, 63, 126, 0.02),
    0 6px 12px -3px rgba(14, 63, 126, 0.03),
    0 4px 8px -2px rgba(14, 63, 126, 0.04),
    0 2px 4px -1px rgba(14, 63, 126, 0.05),
    0 0 0 1px rgba(14, 63, 126, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.pro-navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.pro-navbar__logo img {
  height: 24px;
  width: auto;
  display: block;
}

.pro-navbar__menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
  position: relative;
  flex: 1 1 0%;
  justify-content: center;
}

.pro-navbar__menu li {
  list-style: none;
}

.pro-navbar__menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 9999px;
  transition: color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  color: var(--Neutral-700, #505060);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}

.pro-navbar__menu-link:hover {
  color: var(--Neutral-900, #0D0C12);
}

.pro-navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pro-navbar__pro-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--Neutral-800, #2F2F3C);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  letter-spacing: -0.08px;
}

.pro-navbar__pro-label:hover {
    color: var(--Neutral-600, #78788B);
}

.pro-navbar__icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 184, 199, 0.15);
  border-radius: 9999px;
  color: #2F2F3C;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.pro-navbar__icon-btn:hover {
  background: rgba(156, 163, 175, 0.12);
  color: #6B7280;
  border-color: rgba(107, 114, 128, 0.6);
}

.pro-navbar__profile-btn {
  gap: 6px;
  text-decoration: none;
}

.pro-navbar__profile-btn > i {
  font-size: 16px;
  line-height: 1;
}

.pro-navbar__profile-badge {
  display: flex;
  width: 30px;
  padding: 4px 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  background: var(--Neutral-50, #FFF);
  color: var(--Neutral-800, #2F2F3C);
  text-align: center;
  font-size: 12px!important;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.24px;
  box-sizing: border-box;
}

.pro-navbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.08px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pro-navbar__cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(184, 184, 199, 0.15);
  color: var(--Neutral-800, #2F2F3C);
  border-radius: 9999px;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pro-navbar__cart-btn:hover,
.pro-navbar__cart-btn:focus {
  background: rgba(184, 184, 199, 0.25);
  color: var(--Neutral-900, #0D0C12);
  outline: none;
}

.pro-navbar__cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff5630;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .pro-navbar__cart-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .pro-navbar__cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    top: -3px;
    right: -3px;
  }
}

.pro-navbar__btn--ghost {
  background: rgba(184, 184, 199, 0.15);
  color: var(--Neutral-800, #2F2F3C);
  border-color: transparent;
}

.pro-navbar__btn--ghost:hover {
  background: rgba(184, 184, 199, 0.25);
  color: var(--Neutral-900, #0D0C12);
}

/* Primary button — matches .promotion-courses-card-blue-btn */
.pro-navbar__btn--primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  max-height: 40px;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 222px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%), #0049FD;
  box-shadow: 0px 1px 2px rgba(45, 58, 87, 0.24), 0px 0px 0px 1px #0037B3;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pro-navbar__btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.24) 100%);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pro-navbar__btn--primary:hover::before {
  opacity: 1;
}

.pro-navbar__btn--primary:hover {
  transform: translateY(-0.5px);
  color: #fff;
}

.pro-navbar__btn--primary > * {
  position: relative;
  z-index: 1;
}

.pro-navbar__btn-text-short {
  display: none;
}

@media (min-width: 1280px) {
  .pro-navbar__btn--primary {
    padding: 12px 24px;
    font-size: 16px;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .pro-navbar__inner {
    gap: 32px;
    border-radius: 9999px;
  }

  .pro-navbar__menu {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .pro-navbar__inner {
    gap: 32px;
  }

  .pro-navbar__menu {
    gap: 12px;
  }

  .pro-navbar__actions {
    gap: 12px;
  }

  .pro-navbar__btn--ghost {
    font-size: 16px;
    padding: 8px 16px;
  }
}

/* Wide variant — full-width, square, pure white (pro_program_detail).
 * Scoped to ≥1025px so the mobile block (≤1024px) below isn't fighting
 * these rules with !important. */
@media (min-width: 1025px) {
  .pro-navbar--wide {
    max-width: 100%;
    padding-left: 80px;
    padding-right: 80px;
    background: #FFFFFF;
  }

  .pro-navbar--wide .pro-navbar__inner {
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 12px 0;
    height: 80px;
    gap: 0;
  }

  .pro-navbar--wide .pro-navbar__actions {
    flex: 1 1 0%;
    min-width: 0;
    justify-content: flex-end;
    margin-left: 48px;
    gap: 12px;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .pro-navbar--wide {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pro-navbar--wide .pro-navbar__actions {
    margin-left: 24px;
  }
}

@media (max-width: 767px) {
  .pro-navbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pro-navbar__inner {
    padding: 8px 16px;
  }

  .pro-navbar__btn--ghost {
    font-size: 13px;
    padding: 6px 10px;
  }

  .pro-navbar__btn--primary {
    max-height: 32px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .pro-navbar__icon-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .pro-navbar__pro-label {
    font-size: 14px;
    padding: 5px 10px;
  }
}

@media (max-width: 474px) {
  .pro-navbar__inner {
    padding: 6px 10px;
  }
}

/* ============================================================
 * Mobile navbar (<=1024px)
 *
 * Full-width bar stuck to the top, 60px tall, with a hamburger
 * that opens a fullscreen menu panel below the bar.
 * ============================================================ */

.pro-navbar__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--Neutral-800, #2F2F3C);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease;
}

.pro-navbar__mobile-toggle:hover,
.pro-navbar__mobile-toggle:focus {
  background: rgba(184, 184, 199, 0.15);
  outline: none;
}

.pro-navbar__mobile-menu {
  display: flex;
  position: fixed;
  /* Navbar bottom = 60px. Start 8px below that and slide up into place
   * so the animation never visually crosses into the navbar area. */
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  padding: 20px 16px 32px;
  gap: 16px;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Sits above pro_program_detail's sticky bottom summary card (9997),
   * card backdrop (9998) and card modal (9999). */
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.pro-navbar__mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pro-navbar__mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pro-navbar__mobile-menu-list li {
  list-style: none;
}

.pro-navbar__mobile-menu-link {
  display: block;
  padding: 8px;
  color: #505060;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pro-navbar__mobile-menu-link:hover,
.pro-navbar__mobile-menu-link:focus {
  color: var(--Neutral-900, #0D0C12);
  outline: none;
}

.pro-navbar__mobile-login-btn {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
  padding: 14px 20px;
  background: rgba(184, 184, 199, 0.15);
  color: var(--Neutral-800, #2F2F3C);
  border: 1px solid transparent;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.08px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pro-navbar__mobile-login-btn::before {
  content: "";
  position: absolute;
  top: -17px;
  left: -16px;
  right: -16px;
  border-top: 1px solid var(--Neutral-200, #E8E8F0);
}

.pro-navbar__mobile-login-btn:hover,
.pro-navbar__mobile-login-btn:focus {
  background: rgba(184, 184, 199, 0.25);
  color: var(--Neutral-900, #0D0C12);
  outline: none;
}

/* Lock page scroll while the fullscreen menu is open. */
body.pro-navbar-mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .pro-navbar,
  .pro-navbar--wide {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .pro-navbar--wide {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .pro-navbar .pro-navbar__inner,
  .pro-navbar--wide .pro-navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
    height: 60px;
    padding: 0 16px;
    gap: 8px;
    background: rgba(250, 250, 250, 0.95);
    border-radius: 0;
    border-bottom: 1px solid var(--Neutral-200, #E8E8F0);
    box-shadow: none;
  }

  .pro-navbar--wide .pro-navbar__actions {
    margin-left: 0;
    gap: 8px;
  }

  /* Pro label, profile link and desktop Giriş move into the fullscreen menu. */
  .pro-navbar__desktop-only,
  .pro-navbar__btn--login-desktop {
    display: none;
  }

  .pro-navbar__mobile-toggle {
    display: inline-flex;
  }

  .pro-navbar .pro-navbar__btn--primary,
  .pro-navbar--wide .pro-navbar__btn--primary {
    min-height: 36px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .pro-navbar__btn-text-long {
    display: none;
  }

  .pro-navbar__btn-text-short {
    display: inline;
  }
}
