/* Modern site header / navigation — mega menüyü bozmadan */
.header.header-sticky {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.04);
  z-index: 1040;
}

.header .header__top {
  padding: 14px 0 12px;
  gap: 16px;
}

.header__logo a img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.search__form__wrapper .search__form {
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search__form__wrapper .search__form:focus-within {
  background: #fff;
  border-color: #d0d5dd;
  box-shadow: 0 0 0 4px rgba(235, 94, 40, 0.08);
}

.search__form__wrapper .search__form .form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: 44px;
  padding-left: 18px;
  font-size: 14px;
}

.search__form__wrapper .search__form button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.header__meta .meta__item {
  gap: 4px;
}

.header__meta .meta__item > li > a,
.header__meta .header__menu .main__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
  transition: background 0.2s ease, color 0.2s ease;
}

.header__meta .meta__item > li > a:hover,
.header__meta .header__menu .main__menu > li:hover > a {
  background: #f2f4f7;
  color: #eb5e28;
}

.miniCart .header__cart .cart__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff7f3;
  border: 1px solid #f9d8c8;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.miniCart .header__cart .cart__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(235, 94, 40, 0.12);
}

.miniCart .header__cart .cart__btn .value {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #eb5e28;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header .nav {
  background: transparent;
  border-top: 1px solid rgba(16, 24, 40, 0.06);
  border-bottom: 0;
  padding: 0;
}

.header > .nav .header__menu .main__menu {
  gap: 2px;
  justify-content: flex-start;
  padding: 4px 0 8px;
  align-items: center;
}

.header > .nav .header__menu .main__menu > li > a {
  margin-right: 0 !important;
  line-height: 1.2 !important;
  padding: 10px 14px !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d2939;
  position: relative;
}

.header > .nav .header__menu .main__menu > li > a::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.header > .nav .header__menu .main__menu > li:hover > a,
.header > .nav .header__menu .main__menu > li.active > a {
  color: #eb5e28;
  background: rgba(235, 94, 40, 0.06);
}

.header > .nav .header__menu .main__menu > li:hover > a::before,
.header > .nav .header__menu .main__menu > li.active > a::before {
  transform: scaleX(1);
}

/* Çift ok olmasın */
.header > .nav .header__menu .main__menu li.has__dropdown > a::after {
  display: none !important;
}

.header > .nav .header__menu .main__menu li.has__dropdown > a .menu-chevron {
  width: 11px;
  height: 11px;
  margin-left: 6px !important;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header > .nav .header__menu .main__menu li.has__dropdown:hover > a .menu-chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Sadece klasik dropdown — mega menüye dokunma */
.header > .nav .header__menu .main__menu li > .sub__menu:not(.mega__menu) {
  top: calc(100% + 6px);
  min-width: 220px;
  padding: 8px;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  border-top: 3px solid #eb5e28;
}

.header > .nav .header__menu .main__menu li > .sub__menu:not(.mega__menu) li a {
  display: block;
  margin: 0;
  padding: 10px 12px;
  line-height: 1.3;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #344054;
  border-bottom: 0;
}

.header > .nav .header__menu .main__menu li > .sub__menu:not(.mega__menu) li a::before,
.header > .nav .header__menu .main__menu li > .sub__menu:not(.mega__menu) li a::after {
  display: none !important;
}

.header > .nav .header__menu .main__menu li > .sub__menu:not(.mega__menu) li a:hover,
.header > .nav .header__menu .main__menu li > .sub__menu:not(.mega__menu) li a.active {
  background: #f8fafc;
  color: #eb5e28;
  padding-left: 12px;
}

/* Mega menü: orijinal ortalama korunur, sadece görünüm cilalanır */
.header > .nav .header__menu .main__menu li .mega__menu.sub__menu {
  left: 50% !important;
  right: auto !important;
  width: 100% !important;
  max-width: 1320px !important;
  transform: translateX(-50%) !important;
  top: 100% !important;
  padding: 20px 24px !important;
  border-radius: 16px;
  border: 1px solid #eaecf0;
  border-top: 3px solid #eb5e28;
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.14);
  background: #fff;
}

.header > .nav .header__menu .main__menu li .mega__menu-item {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.header > .nav .header__menu .main__menu li .mega__menu .sub-mega__menu {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.header > .nav .header__menu .main__menu li .mega__menu .sub-mega__menu .menu__title {
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 8px;
  padding: 0 !important;
  border: none;
}

.header > .nav .header__menu .main__menu li .mega__menu .sub-mega__menu .menu__title:hover {
  padding-left: 0 !important;
  color: #eb5e28;
}

.header > .nav .header__menu .main__menu li .mega__menu .sub-mega__menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header > .nav .header__menu .main__menu li .mega__menu .sub-mega__menu ul li a {
  padding: 6px 0 !important;
  font-size: 13px;
  color: #475467;
  border: none !important;
  width: auto;
}

.header > .nav .header__menu .main__menu li .mega__menu .sub-mega__menu ul li a:hover {
  color: #eb5e28;
  padding-left: 0 !important;
  background: transparent;
}

@media screen and (max-width: 991px) {
  .header.header-sticky {
    backdrop-filter: none;
  }
  .miniCart .header__cart .cart__btn .title {
    display: none;
  }
}
