/* ── Üst yardım menüsü ── */
.header-utility-bar {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
}

.header-utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 28px;
  padding: 0.25rem clamp(1.5rem, 4vw, 3rem);
}

.header-utility-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-utility-links--right {
  margin-left: auto;
  justify-content: flex-end;
}

.header-utility-links a {
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.2;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.header-utility-links a:hover {
  color: var(--color-primary-dark);
}

.header-utility-link--accent {
  color: #c0267a;
}

.header-utility-link--accent:hover {
  color: #9d174d;
}

@media (max-width: 1023px) {
  .header-utility-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }

  .header-utility-links--right {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-utility-bar-inner {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.625rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .header-utility-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .header-utility-links {
    flex-wrap: nowrap;
    gap: 0.875rem 1rem;
  }

  .header-utility-links a {
    font-size: 0.625rem;
  }
}

/* ── Ana header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  transition: transform 0.3s ease;
}

.site-header.is-scroll-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header.is-nav-active {
  transform: none !important;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .site-header.is-nav-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 56;
  }
}

.header-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.125rem clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 3.375rem;
  width: auto;
  display: block;
}

.header-search {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 60;
}

.header-search-field {
  position: relative;
  width: 100%;
}

.header-search-form {
  display: block;
  width: 100%;
  margin: 0;
}

.header-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.header-search input {
  width: 100%;
  padding: 0.6875rem 1.25rem 0.6875rem 2.875rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: #374151;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input::placeholder {
  color: #a1a1aa;
}

.header-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.header-search-autocomplete {
  position: absolute !important;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 90;
  display: none !important;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14);
  overflow: hidden;
  text-align: left;
}

.header-search-autocomplete.is-open {
  display: block !important;
}

.header-search-ac-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  background: #fff;
}

.header-search-ac-status i {
  color: #9ca3af;
  font-size: 1rem;
}

.header-search-ac-list {
  list-style: none;
  margin: 0;
  padding: 0.375rem 0;
  max-height: 22rem;
  overflow-y: auto;
  background: #fff;
}

.header-search-ac-item {
  border-bottom: 1px solid #f3f4f6;
}

.header-search-ac-item:last-child {
  border-bottom: none;
}

.header-search-ac-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #111827;
  transition: background-color 0.15s ease;
}

.header-search-ac-link:hover {
  background: var(--color-primary-light);
}

.header-search-ac-thumb {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  object-fit: contain;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 0.5rem;
}

.header-search-ac-body {
  flex: 1;
  min-width: 0;
}

.header-search-ac-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-ac-meta {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.header-search-ac-price {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.header-search-ac-all {
  display: block;
  padding: 0.875rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.header-search-ac-all:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .header-search-autocomplete {
    top: calc(100% + 0.375rem);
    border-radius: 0.875rem;
  }

  .header-search-ac-list {
    max-height: 16rem;
  }
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
}

.header-utils-icons {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.header-util--account {
  flex-shrink: 0;
}

.header-util {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.header-util:hover .header-util-label {
  color: var(--color-primary);
}

.header-util-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: #374151;
  display: block;
}

.header-util-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  gap: 0.125rem;
}

.header-util-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3f3f46;
}

.header-util--icon-only {
  gap: 0;
}

.header-util--cart {
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.55rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--color-primary, #e11d48);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}

.header-cart-count.is-empty {
  display: none;
}

.header-util-sub {
  font-size: 0.75rem;
  color: #a1a1aa;
}

.header-util-sub--link {
  color: var(--color-primary);
  font-weight: 500;
}

/* ── Navigasyon ── */
.header-nav {
  position: relative;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  z-index: 40;
}

.header-nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: stretch;
}

.header-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  width: 100%;
  gap: 0.375rem;
}

.header-nav-item {
  position: static;
  flex-shrink: 0;
}

.header-nav-item--right {
  margin-left: auto;
}

.header-nav-item--right + .header-nav-item--right {
  margin-left: 0;
}

.header-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  min-height: 44px;
  padding: 0.5625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  text-align: center;
  border-radius: 0.375rem;
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.header-nav-item:hover > .header-nav-link,
.header-nav-item.is-open > .header-nav-link {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.header-nav-item:hover > .header-nav-link .header-nav-chevron,
.header-nav-item.is-open > .header-nav-link .header-nav-chevron,
.header-nav-item.is-mega-open > .header-nav-link .header-nav-chevron {
  color: var(--color-primary-dark);
  transform: rotate(180deg);
}

.header-nav-item:hover > .header-nav-link > .header-nav-icon:not(.header-nav-icon--express):not(.header-nav-icon--photo):not(.header-nav-icon--new),
.header-nav-item.is-open > .header-nav-link > .header-nav-icon:not(.header-nav-icon--express):not(.header-nav-icon--photo):not(.header-nav-icon--new) {
  color: var(--color-primary-dark);
}

.header-nav-chevron {
  font-size: 0.625rem;
  color: #71717a;
  margin-left: 0.125rem;
  display: inline-block;
  transition: transform 0.2s ease, color 0.15s ease;
}

.header-nav-icon {
  font-size: 0.875rem;
  color: #52525b;
}

.header-nav-icon--express {
  color: #f97316;
}

.header-nav-icon--photo {
  color: #eab308;
}

.header-nav-icon--new {
  color: #ec4899;
  font-size: 0.8125rem;
}

.header-nav-item--mega {
  position: static;
}

.header-nav-item--mega > .header-mega-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

/* ── Mega menü ── */
.header-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: -1px;
  padding-top: 10px;
  background: #fff;
  border-top: 1px solid #ececec;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: none;
  overflow: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.header-nav-item:hover > .header-mega-menu,
.header-nav-item.is-open > .header-mega-menu,
.header-nav-item.is-mega-open > .header-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-mega-menu-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.75rem clamp(1.5rem, 4vw, 3rem) 2rem;
}

.header-mega-menu-inner.is-mega-slide-from-right {
  animation: mega-menu-slide-from-right 0.28s ease forwards;
}

.header-mega-menu-inner.is-mega-slide-from-left {
  animation: mega-menu-slide-from-left 0.28s ease forwards;
}

@keyframes mega-menu-slide-from-right {
  from {
    opacity: 0.72;
    transform: translateX(2.75rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes mega-menu-slide-from-left {
  from {
    opacity: 0.72;
    transform: translateX(-2.75rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-mega-menu-inner.is-mega-slide-from-right,
  .header-mega-menu-inner.is-mega-slide-from-left {
    animation: none;
  }
}

.header-mega-menu-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: stretch;
}

.header-mega-menu-inner--split .header-mega-main {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.header-mega-menu-inner--split .header-mega-links-grid,
.header-mega-menu-inner--split .header-mega-main > .header-mega-links {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.header-mega-menu--sidebar .header-mega-menu-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 480px;
  gap: 0;
  align-items: stretch;
  padding: 0;
  width: 100%;
  max-width: none;
  min-height: 430px;
  height: auto;
}

.header-mega-menu--sidebar .header-mega-menu-inner.is-visuals-hidden {
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 280px;
}

.header-mega-sidebar {
  background: #f5f7f9;
  border-right: 1px solid #e8eaed;
  padding: 0.625rem 0;
  align-self: stretch;
}

.header-mega-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-mega-sidebar-btn,
.header-mega-sidebar-link {
  display: block;
  width: 100%;
  padding: 0.6875rem 1.25rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.header-mega-sidebar-link {
  text-decoration: none;
}

.header-mega-sidebar-btn:hover,
.header-mega-sidebar-link:hover {
  background: #eef1f5;
}

.header-mega-sidebar-btn.is-active {
  background: #e8edf2;
  color: #1a1a1a;
  font-weight: 600;
}

.header-mega-menu--sidebar .header-mega-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding: 1.5rem 2rem 2rem;
  background: #fff;
  align-self: stretch;
  min-width: 0;
  min-height: 430px;
  height: auto;
}

.header-mega-menu--sidebar .header-mega-menu-inner.is-visuals-hidden .header-mega-content {
  min-height: 280px;
}

.header-mega-menu--sidebar .header-mega-panel {
  grid-row: 1;
  grid-column: 1;
  display: none;
  flex-direction: column;
  min-height: 430px;
  height: auto;
}

.header-mega-menu--sidebar .header-mega-panel.is-active {
  display: flex;
}

.header-mega-menu--sidebar .header-mega-panel[hidden] {
  display: none !important;
}

.header-mega-menu--sidebar .header-mega-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #001a4d;
  margin: 0 0 1.25rem;
  flex-shrink: 0;
}

.header-mega-menu--sidebar .header-mega-links-grid {
  gap: 0 2rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.header-mega-menu--sidebar .header-mega-panel[data-mega-panel="kurumsal"] .header-mega-links-grid {
  gap: 0 1.75rem;
}

.header-mega-menu--sidebar .header-mega-panel[data-mega-panel="kurumsal"] .header-mega-group {
  margin-bottom: 0.625rem;
}

.header-mega-menu--sidebar .header-mega-panel > .header-mega-links {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.header-mega-menu--sidebar .header-mega-panel > .header-mega-group {
  flex-shrink: 0;
}

.header-mega-menu--sidebar .header-mega-links {
  gap: 0.5rem;
}

.header-mega-menu--sidebar .header-mega-links a {
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.4;
}

.header-mega-menu--sidebar .header-mega-all-btn {
  margin-top: auto;
}

.header-mega-all-btn-arrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  color: inherit;
  flex-shrink: 0;
}

.header-mega-all-btn:hover .header-mega-all-btn-arrow {
  color: inherit;
}

.header-mega-group {
  margin-bottom: 0.875rem;
}

.header-mega-group:last-child {
  margin-bottom: 0;
}

.header-mega-group-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #001a4d;
  margin: 0 0 0.375rem;
  text-decoration: none;
  line-height: 1.35;
}

a.header-mega-group-title:hover {
  color: var(--color-primary);
}

.header-mega-group .header-mega-links {
  gap: 0.375rem;
}

.header-mega-link--accent {
  color: var(--color-primary) !important;
}

.header-mega-visuals-col {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  width: 480px;
  max-width: 480px;
  min-width: 0;
  min-height: 430px;
  height: auto;
  overflow: visible;
  box-sizing: border-box;
}

.header-mega-visuals-col .header-mega-visuals {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.header-mega-visuals-col .header-mega-visuals[hidden] {
  display: none !important;
}

.header-mega-menu--sidebar .header-mega-visuals--grid {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  grid-auto-rows: auto;
  gap: 0.875rem;
  padding: 1.25rem 1rem;
  width: 100%;
  justify-content: center;
  align-content: start;
  box-sizing: border-box;
  background: transparent;
}

.header-mega-menu--sidebar .header-mega-visuals--grid .header-mega-card {
  width: 140px;
  max-width: 140px;
  min-width: 140px;
  padding: 0.75rem;
  box-sizing: border-box;
}

.header-mega-menu--sidebar .header-mega-visuals--grid .header-mega-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
}

.header-mega-content {
  padding: 1.75rem 2rem 2rem;
}

.header-mega-main {
  min-width: 0;
}

.header-mega-main--narrow {
  max-width: 280px;
}

.header-mega-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #001a4d;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.header-mega-title--icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-mega-links-grid {
  display: grid;
  gap: 0 2rem;
  margin-bottom: 1.5rem;
}

.header-mega-links-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.header-mega-links-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.header-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header-mega-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #3f3f46;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.15s;
}

.header-mega-links a:hover {
  color: var(--color-primary);
}

.header-mega-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.625rem 1rem;
  border: 1px solid #d4d4d8;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: #27272a;
  flex-shrink: 0;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.header-mega-all-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.header-mega-visuals {
  flex-shrink: 0;
}

.header-mega-visuals--row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 0.875rem;
  padding: 1.25rem 1.25rem;
}

.header-mega-visuals--row .header-mega-card {
  width: 132px;
  max-width: 132px;
  flex: 0 0 132px;
  padding: 0.75rem 0.625rem 0.625rem;
  border: 1px solid #e4e7eb;
  border-radius: 0.625rem;
  box-shadow: none;
}

.header-mega-visuals--row .header-mega-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-mega-visuals--row .header-mega-card-img {
  aspect-ratio: 1 / 1;
  background: #fff;
}

.header-mega-visuals--row .header-mega-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

.header-mega-visuals--grid {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  gap: 0.875rem;
  padding-top: 0.25rem;
}

.header-mega-visuals--grid-5 {
  grid-template-columns: repeat(3, 140px);
  grid-template-rows: auto auto;
}

.header-mega-visuals--grid-5 .header-mega-card:nth-child(n + 4) {
  grid-column: span 1;
}

.header-mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.625rem;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-mega-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-mega-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #fafafa;
}

.header-mega-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-mega-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #3f3f46;
  text-align: center;
  line-height: 1.35;
}

.header-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  color: #374151;
  font-size: 1.25rem;
  cursor: pointer;
}

.header-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ── Mobil ── */
@media (max-width: 1023px) {
  .header-utility-bar {
    display: none;
  }

  .header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.875rem 1rem;
    gap: 0.75rem 1rem;
  }

  .header-logo {
    order: 1;
    flex-shrink: 0;
  }

  .header-utils {
    order: 2;
    margin-left: auto;
    gap: 1rem;
  }

  .header-utils-icons {
    display: none;
  }

  .header-util--account .header-util-text {
    display: none;
  }

  .header-mobile-toggle {
    display: flex;
    order: 3;
    flex-shrink: 0;
    margin-left: 0;
  }

  .header-search {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .header-nav:not(.is-mobile-open) {
    display: none;
  }

  .header-nav {
    max-height: none;
    overflow: visible;
  }

  .header-nav.is-mobile-open {
    position: fixed;
    top: var(--mobile-nav-offset, 8.5rem);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
    border-top: 1px solid #ececec;
    overflow: hidden;
    padding-top: 0;
  }

  .header-nav.is-mobile-open .header-nav-inner {
    display: block;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
  }

  .header-nav-inner {
    display: none;
    padding: 0;
    max-width: none;
  }

  .header-nav-inner.is-open {
    display: block;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .header-nav-item {
    border-bottom: 1px solid #e5e7eb;
  }

  .header-nav-item--right {
    margin-left: 0;
  }

  .header-nav-link {
    justify-content: flex-start;
    padding: 0.875rem 1rem;
    min-height: 48px;
    border-radius: 0;
  }

  .header-nav-link--pill {
    border-radius: 0;
    margin: 0;
  }

  .header-mega-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .header-nav-item:hover > .header-mega-menu {
    visibility: hidden;
    max-height: 0;
    pointer-events: none;
  }

  .header-nav-item.is-open > .header-mega-menu {
    visibility: visible;
    max-height: 2000px;
  }

  .header-mega-menu-inner,
  .header-mega-menu-inner--split,
  .header-mega-menu--sidebar .header-mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .header-mega-main {
    padding: 1rem;
  }

  .header-mega-menu--sidebar .header-mega-content {
    padding: 1rem;
    min-height: 0;
  }

  .header-mega-menu--sidebar .header-mega-panel {
    min-height: 0;
  }

  .header-mega-menu--sidebar .header-mega-panel > .header-mega-links,
  .header-mega-menu--sidebar .header-mega-panel > .header-mega-group {
    padding: 0;
  }

  .header-mega-menu--sidebar .header-mega-panel .header-mega-links-grid > div {
    padding: 0;
  }

  .header-mega-group {
    margin-bottom: 0.75rem;
  }

  .header-mega-all-btn {
    margin-top: 1rem;
  }

  .header-mega-sidebar {
    border-right: none;
    border-bottom: 1px solid #ececec;
    padding: 0.5rem 0;
  }

  .header-mega-content {
    padding: 1rem;
  }

  .header-mega-links-grid--2,
  .header-mega-links-grid--3 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .header-mega-main--narrow {
    max-width: none;
  }

  .header-mega-visuals-col {
    min-width: 0;
    border-left: none;
    border-top: 1px solid #e8eaed;
  }

  .header-mega-visuals--row,
  .header-mega-visuals--row-4 {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .header-mega-menu--sidebar .header-mega-visuals--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    justify-content: stretch;
  }

  .header-mega-visuals--row-4 .header-mega-card {
    flex: 1 1 calc(50% - 0.5rem);
    width: auto;
  }

  .header-mega-menu--sidebar .header-mega-visuals--grid .header-mega-card {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .header-mega-visuals--row {
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid #e8eaed;
    padding: 1rem;
  }

  .header-mega-visuals--row .header-mega-card {
    max-width: none;
    flex: 1 1 calc(50% - 0.5rem);
  }

  .header-mega-visuals--grid,
  .header-mega-visuals--grid-5 {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem 1rem;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .header-util-text {
    display: none;
  }

  .header-utils {
    gap: 0.75rem;
  }
}
