/* Norgren Website - Header Styles */

/* New Header Hover Effects */
.header {
  transition: all 0.3s ease;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__bar .header__search {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0 0 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
  color: white;
  min-height: 32px;
}

.header-search-icon {
  font-size: 1rem;
  opacity: 0.7;
}

.header-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
  padding: 4px 0;
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.header:hover .header-search,
.header.scrolled .header-search {
  border-bottom-color: rgba(51, 51, 51, 0.3);
  color: #333;
}

.header:hover .header-search-input,
.header.scrolled .header-search-input {
  color: #333;
}

.header:hover .header-search-input::placeholder,
.header.scrolled .header-search-input::placeholder {
  color: rgba(51, 51, 51, 0.6);
}

.header__bar .header__toplinks {
  justify-content: flex-end;
}

.header__mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__mobile-actions .icon-link,
.header__mobile-actions .navbar-toggler,
.header__mobile-toggler {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: white;
}

.header__mobile-actions .navbar-toggler,
.header__mobile-toggler {
  padding: 0;
}

.header__mobile-actions .navbar-toggler-icon,
.header__mobile-toggler .navbar-toggler-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-image: none;
}

.header__mobile-actions .navbar-toggler-icon i,
.header__mobile-toggler .navbar-toggler-icon i {
  font-size: 1.05rem;
}

.header__mobile-actions .navbar-toggler-icon .fa-xmark,
.header__mobile-toggler .navbar-toggler-icon .fa-xmark {
  display: none;
}

.header__mobile-actions .navbar-toggler[aria-expanded="true"] .fa-bars,
.header__mobile-toggler[aria-expanded="true"] .fa-bars {
  display: none;
}

.header__mobile-actions .navbar-toggler[aria-expanded="true"] .fa-xmark,
.header__mobile-toggler[aria-expanded="true"] .fa-xmark {
  display: inline-block;
}

.header__mobile-toggler i {
  font-size: 1.1rem;
}

.header__mobile-toggler .fa-xmark {
  display: none;
}

.header__mobile-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  line-height: 1;
}

.header__mobile-toggle-icon::before {
  content: "\2261";
}

.header__mobile-toggler[aria-expanded="true"] .header__mobile-toggle-icon::before {
  content: "\00d7";
}

.header.scrolled .header__mobile-actions .icon-link,
.header.scrolled .header__mobile-actions .navbar-toggler,
.header.scrolled .header__mobile-toggler,
.header:hover .header__mobile-actions .icon-link,
.header:hover .header__mobile-actions .navbar-toggler,
.header:hover .header__mobile-toggler {
  border-color: rgba(51, 51, 51, 0.25);
  color: #333;
}

.header__logo-mark {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo-mark-text {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.header:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.header:hover .text-white {
  color: #333 !important;
}

.header:hover .icon-link i {
  color: #333 !important;
}

.header:hover .icon-label {
  color: #333 !important;
}

.header:hover .search-icon {
  color: #333 !important;
}

.header:hover .search-input {
  color: #333 !important;
  border-bottom: 1px solid rgba(51, 51, 51, 0.3) !important;
}

.header:hover .search-input::placeholder {
  color: rgba(51, 51, 51, 0.6) !important;
}

/* Scrolled state - higher priority */
.header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.header.scrolled .text-white {
  color: #333 !important;
}

.header.scrolled .icon-link i {
  color: #333 !important;
  font-size: 1.1rem;
}

.header.scrolled .icon-label {
  color: #333 !important;
}

/* Icon hover effects */
.icon-link {
  transition: all 0.3s ease;
}

.icon-link:hover {
  transform: translateY(-3px) !important;
}

.header__navigation .nav-item-home .nav-link.icon-link:hover {
  transform: none !important;
}

.icon-link:hover .icon-label:not(.show-on-white) {
  opacity: 1 !important;
}

.icon-label {
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.icon-label.show-on-white {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.header.scrolled .icon-label.show-on-white,
.header:hover .icon-label.show-on-white {
  display: block;
}

.header__toplinks .icon-link {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.header__toplinks .icon-link:hover {
  transform: none !important;
}

.header__toplinks .icon-link i {
  font-size: 1.2rem;
}

.header.scrolled .header__toplinks .icon-link,
.header:hover .header__toplinks .icon-link {
  color: #333;
}

/* Search Bar */
.header__search .search-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 0 !important;
  color: white !important;
  font-size: 0.95rem;
  height: 40px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: all 0.3s ease;
}

.header__search .search-input:focus {
  background: transparent !important;
  border-bottom: 1px solid white !important;
  box-shadow: none !important;
  outline: none !important;
}

.header__search .search-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.header__search .search-icon {
  color: white !important;
  transition: color 0.3s ease;
}

/* Scrolled state search */
.header.scrolled .header__search .search-input {
  color: #333 !important;
  border-bottom: 1px solid rgba(51, 51, 51, 0.3) !important;
}

.header.scrolled .header__search .search-input:focus {
  border-bottom: 1px solid #333 !important;
}

.header.scrolled .header__search .search-input::placeholder {
  color: rgba(51, 51, 51, 0.6) !important;
}

.header.scrolled .header__search .search-icon {
  color: #333 !important;
}

/* Mobile menu search should be dark on white background */
.navbar-collapse .header__search .search-input {
  color: #333 !important;
  border-bottom: 1px solid rgba(51, 51, 51, 0.3) !important;
}

.navbar-collapse .header__search .search-input::placeholder {
  color: rgba(51, 51, 51, 0.6) !important;
}

.navbar-collapse .header__search .search-icon {
  color: #333 !important;
}

/* Navigation Menu */
.header__navigation {
  /* border-top removed */
  margin-bottom: 0.5rem;
}

/* Menü öğeleri arasındaki boşluğu azalt - Bootstrap me-lg-4 override */
.header__navigation .navbar-nav .nav-item.me-lg-4 {
  margin-right: 0.1rem !important;
}

@media (min-width: 992px) {
  .header__navigation .navbar-nav .nav-item.me-lg-4 {
    margin-right: 0.1rem !important;
  }
}

.header__navigation .nav-item-home .nav-link {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: none !important;
}

.header__navigation .nav-item-home .nav-link:hover {
  transform: none !important;
  padding: 0 !important;
}

.header__navigation .nav-item-home .nav-link i {
  font-size: 1.05rem;
  line-height: 1;
}

.header__navigation .nav-item-home .nav-link::after {
  position: absolute;
  bottom: -2px !important;
  left: 11px !important;
  right: 11px !important;
  width: auto !important;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.header__navigation .nav-item-home.active .nav-link::after,
.header__navigation .nav-item-home .nav-link.active::after,
.header__navigation .nav-item-home .nav-link:hover::after {
  bottom: -2px !important;
  transform: scaleX(1);
}



.header__navigation .navbar-nav .nav-link,
.header__navigation .navbar-nav .dropdown-toggle {
  padding: 0.75rem 0.8rem !important;
}

@media (min-width: 992px) {
  .header__navigation {
    margin-bottom: 15px;
  }

  .header__navigation .nav-link,
  .header__navigation .dropdown-toggle {
    padding: 0.6rem 0;
  }
}

.header__navigation .nav-link::after,
.header__navigation .dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px !important;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
  border: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.header__navigation .nav-link:hover::after,
.header__navigation .dropdown-toggle:hover::after,
.header__navigation .nav-link.active::after,
.header__navigation .dropdown-toggle.active::after,
.header__navigation .nav-item.active .nav-link::after,
.header__navigation .nav-item.active .dropdown-toggle::after {
  bottom: -2px !important;
  transform: scaleX(1);
}

.header__navigation .nav-link.active::after,
.header__navigation .dropdown-toggle.active::after,
.header__navigation .nav-item.active .nav-link::after,
.header__navigation .nav-item.active .dropdown-toggle::after {
  left: 10%;
  right: 10%;
  transform: scaleX(1);
}

.header__navigation .nav-item-home.active .nav-link::after {
  transform: scaleX(1);
}

/* Override global navbar underline width for the header navigation */
.header__navigation .navbar-nav .nav-link:hover::after,
.header__navigation .navbar-nav .dropdown-toggle:hover::after,
.header__navigation .navbar-nav .nav-link.active::after,
.header__navigation .navbar-nav .dropdown-toggle.active::after,
.header__navigation .navbar-nav .nav-item.active .nav-link::after,
.header__navigation .navbar-nav .nav-item.active .dropdown-toggle::after {
  left: 0.8rem;
  right: 0.8rem;
  width: auto;
  bottom: -2px !important;
  transform: scaleX(1);
}



.header.scrolled .header__navigation .nav-link,
.header.scrolled .header__navigation .dropdown-toggle {
  color: #333 !important;
}





.header.scrolled .header__navigation .nav-item-home.active .nav-link::after,
.header.scrolled .header__navigation .nav-item-home .nav-link.active::after,
.header.scrolled .header__navigation .nav-item-home .nav-link:hover::after {
  background: #ca0538;
  bottom: -6px !important;
  transform: scaleX(1);
}

.header:hover .header__navigation .nav-link:hover::after,
.header:hover .header__navigation .dropdown-toggle:hover::after,
.header:hover .header__navigation .nav-link.active::after,
.header:hover .header__navigation .dropdown-toggle.active::after,
.header:hover .header__navigation .nav-item.active .nav-link::after,
.header:hover .header__navigation .nav-item.active .dropdown-toggle::after {
  bottom: -2px !important;
  transform: scaleX(1);
}

.header:hover .header__navigation .nav-item-home.active .nav-link::after,
.header:hover .header__navigation .nav-item-home .nav-link.active::after,
.header:hover .header__navigation .nav-item-home .nav-link:hover::after {
  bottom: -6px !important;
  transform: scaleX(1);
}

/* Header Base */
.header {
  background: transparent !important;
  box-shadow: none;
  z-index: 1050;
  transition: all 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header Primary */
.header__primary {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-lgrey);
}

/* Logo */
.header__logo {
  flex: 0 0 auto;
  z-index: 20 !important;
  position: relative;
  pointer-events: auto;
  isolation: isolate;
  background: transparent !important;
  box-shadow: none !important;
}

.header__logo * {
  pointer-events: auto;
}

/* Logo hover olduğunda header hover efektlerini engelle */
.header__logo:hover {
  pointer-events: auto;
}

/* Logo içindeki elementler header hover'dan etkilenmesin - renkleri koru */
.header:hover .header__logo {
  background: transparent !important;
  box-shadow: none !important;
}

.header:hover .header__logo img {
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header__logo-img {
  opacity: 1 !important;
  filter: none !important;
  transition: all 0.3s ease;
  height: auto !important;
  width: 20% !important;
  max-width: 100%;
  box-shadow: none !important;
  background: transparent !important;
}

@media (max-width: 991px) {
  .header__logo-img {
    width: 150px !important;
    max-width: none !important;
  }
}

.header__logo:hover .header__logo-img {
  filter: none !important;
  transform: none;
  box-shadow: none !important;
  background: transparent !important;
}

.header__logo i {
  font-size: 2.5rem;
  color: var(--color-primary);
}

/* Search */
.header__search {
  flex: 1;
  max-width: 700px;
  margin: 0 2rem;
}

.header__search--input {
  border: none;
  background: var(--color-grey);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
}

.header__search--input:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(68, 31, 84, 0.1);
}

.header__search--icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray);
  pointer-events: none;
}

.header__search--close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray);
  cursor: pointer;
}

/* Header Top Links */
.header__toplinks {
  flex: 0 0 auto;
}

.header__toplinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.header__toplinks--item {
  position: relative;
}

.header__toplinks--click {
  text-decoration: none;
  color: var(--color-dark);
  padding: 0.5rem;
  transition: all 0.3s ease;
  min-width: 60px;
  min-height: 60px;
}

.header__toplinks--click:hover {
  color: var(--color-primary);
}

.header__toplinks--icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  position: relative;
}

.header__toplinks--tooltip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.header__toplinks--total {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--color-red);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Secondary Navigation */
.header__secondary {
  background: var(--color-stone);
  border-top: 1px solid var(--color-lgrey);
}

.header__nav--primary {
  padding: 1rem 0;
}

.header__nav--primary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header__nav--primary-item {
  margin: 0 1.5rem;
}

.header__nav--primary-item a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.header__nav--primary-item a:hover {
  color: var(--color-primary);
}

.header__nav--primary-item a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.header__extra-links {
  margin-left: auto;
  display: flex;
  gap: 2rem;
}

.header__extra-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* Mobile Search */
.header__search--mobile-only {
  padding: 1rem;
  background: var(--color-grey);
  border-top: 1px solid var(--color-lgrey);
}

/* Offcanvas Styles */
.language-offcanvas,
.account-loggedin,
.account-login {
  --bs-offcanvas-width: 400px;
}

.padding-offset {
  padding: 2rem;
}

.text-red {
  color: var(--color-red);
}

.text__small {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.4;
}

.btn-rebrand {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-rebrand:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: white;
  transform: translateY(-1px);
}

/* Icon Fonts Placeholder */
.icon-Close::before {
  content: "×";
  font-size: 1.5rem;
}

.icon-IMI_IMINorgren_Logo::before {
  content: "NORGREN";
  font-weight: bold;
  font-size: 1.8rem;
}

.icon-Search::before {
  content: "🔍";
}

.icon-Close-Bold::before {
  content: "×";
  font-weight: bold;
}

.icon-Menu-LiveChat::before {
  content: "💬";
}

.icon-Menu-Locator::before {
  content: "📍";
}

.icon-Menu-Globe::before {
  content: "🌐";
}

.icon-Menu-Account::before {
  content: "👤";
}

.icon-Menu-Basket::before {
  content: "🛒";
}

.icon-Menu-Hamburger-Search::before {
  content: "☰";
}

.icon-Menu-Home::before {
  content: "🏠";
}

/* Responsive Design */
@media (max-width: 1193.98px) {
  .header__secondary {
    display: none !important;
  }

  .header__search {
    display: block !important;
  }

  .header__toplinks--tooltip {
    display: none;
  }

  .header__toplinks--click {
    min-width: 45px;
    min-height: 45px;
  }
}

@media (max-width: 991.98px) {
  /* Desktop için değişiklik yok - var olduğu gibi kalıyor */
}

/* ========================================
   MOBIL GÖRÜNÜM (767px ve altı)
   Basit ve temiz CSS - Masaüstü değişmedi
   ======================================== */
@media (max-width: 767.98px) {

  /* Header bar - flexbox */
  .header__bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 0.5rem;
  }

  /* Logo solda */
  .header__brand {
    flex: 0 0 auto;
    max-width: calc(50% - 30px);
  }

  .header__logo {
    margin-left: 15px !important;
    pointer-events: none !important;
  }

  .header__logo img {
    pointer-events: auto !important;
  }

  /* Mobil actions - sağda, navbar toggler en sonda */
  .header__mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    position: relative;
    z-index: 100;
  }

  /* Navbar toggler en sonda (order ile) */
  .header__mobile-actions .navbar-toggler {
    order: 999;
  }
}

/* No Gutter */
.no-gutter {
  margin-left: 0;
  margin-right: 0;
}

.no-gutter>[class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

/* Theme Variations */
.header.theme-light {
  background: white;
}

.header.theme-dark {
  background: var(--color-dark);
  color: white;
}

.header.theme-dark .header__toplinks--click {
  color: white;
}

.header.theme-dark .header__nav--primary-item a {
  color: white;
}

/* Animation States */
.header.mobilenav-open .header__toplinks--mobilenav .icon-Menu-Hamburger-Search::before {
  content: "×";
}

.header.search-open .header__search--close {
  display: block;
}

.header.search-open .header__search--icon {
  display: none;
}

/* Scroll Behavior */
@media (min-width: 1194px) {
  .header:hover .header__secondary {
    display: block !important;
  }
}

/* Focus States */
.header__toplinks--click:focus-visible,
.header__nav--primary-item a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Dropdown Menus */
.dropdown-menus {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1040;
}

/* Remove Bootstrap dropdown arrows/carets (but allow our custom underline) */
.dropdown-toggle::after {
  display: none !important;
}

.dropdown-toggle::before {
  display: none !important;
}

/* Override for our custom underline animation */
.header__navigation .dropdown-toggle::after {
  display: block !important;
}

.dropdown-menu-content {
  display: none;
  background: #eeecea;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.75rem 0;
  animation: slideDown 0.3s ease;
  position: relative;
  font-family: 'Museo Sans';
}

/* Remove any potential arrows/triangles from dropdown */
.dropdown-menu-content::before,
.dropdown-menu-content::after {
  display: none !important;
}

.dropdown-menu-content.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.dropdown-description h3 {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: 'Museo Sans';
}

.dropdown-description {
  padding-right: 2rem;
}

.dropdown-description p {
  color: #333;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-family: 'Museo Sans';
  font-weight: 300;
}


.btn-primary {
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  color: #333;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 50px !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Museo Sans';
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: white;
}

.btn-primary i {
  color: #333;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

.btn-primary:hover i {
  color: white;
}

.view-all-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
  transition: all 0.3s ease;
  font-family: 'Museo Sans';
}

.view-all-link:hover {
  color: #3a1a47;
  border-bottom-color: #3a1a47;
}

.dropdown-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-links li {
  margin-bottom: 0.35rem;
  transition: background-color 0.2s ease;
  padding: 0.175rem 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.dropdown-links li:hover {
  background-color: #f5f5f5;
  border-radius: 4px;
}

.dropdown-links li.active {
  background-color: #f5f5f5;
  border-radius: 4px;
}

.dropdown-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  transition: all 0.3s ease;
  border-bottom: none;
  font-family: 'Museo Sans';
}

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

.dropdown-links a i {
  color: var(--color-primary);
  font-size: 0.7rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.dropdown-links li.active a {
  color: var(--color-primary);
}

.dropdown-links-sub {
  padding-left: 0;
}

.dropdown-links-sub a {
  color: #333;
  border-bottom: none;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  display: block;
  font-family: 'Museo Sans';
}

.dropdown-links-sub a:hover {
  color: var(--color-primary);
}

.dropdown-links-sub a i {
  color: var(--color-primary);
  font-size: 0.7rem;
  margin-right: 0.75rem;
}

.main-category-link {
  cursor: pointer;
  transition: color 0.2s ease;
}

.view-all-link {
  color: var(--color-primary) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: none !important;
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Museo Sans';
}

.view-all-link:hover {
  text-decoration: underline !important;
  color: #3a1a47 !important;
}

.view-all-sub {
  margin-top: 1.5rem;
  display: block;
}

.btn-products {
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  color: #333;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 50px !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Museo Sans';
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.btn-products:hover {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: white;
}

.btn-products i {
  color: #333;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

.btn-products:hover i {
  color: white;
}

@media (max-width: 991px) {
  .header__navigation .nav-item-home {
    display: none !important;
  }

  /* Mobile Menu Container */
  .navbar-collapse {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: block !important;
    /* Override bootstrap collapse but control visibility via transform/left */
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #f8f8f8;
    transition: right 0.3s ease;
    z-index: 1055;
    padding: 0;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    right: 0;
  }

  /* Levels - OLD CODE COMMENTED OUT TO PREVENT CONFLICT WITH AGENT CODE BELOW
  .mobile-menu-level {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    min-height: 100%;
    background: #f8f8f8;
    transition: transform 0.3s ease;
    z-index: 1060;
    padding-bottom: 2rem;
  }

  .mobile-menu-level.active {
    transform: translateX(-100%);
  }
  */

  /* Header in Levels */
  .mobile-menu-header {
    background: white;
    /* Changed from var(--color-primary) to match user image if needed, or stick to dark blue */
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
  }

  /* Assuming user wants the blue header from screenshot 1 for secondary levels? 
     Screenshot 1 shows blue header with "Geri dön ana menü". 
     The verification image shows white background with red logo. 
     Let's style the sub-level header as blue like in screenshot 1.
  */

  .mobile-level-2 .mobile-menu-header,
  .mobile-level-3 .mobile-menu-header {
    background: #ca0538;
    /* Dark blue like screenshot */
    color: white;
    padding: 1rem;
  }

  .mobile-back-btn {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }

  .mobile-level-2 .mobile-menu-close,
  .mobile-level-3 .mobile-menu-close {
    color: white;
  }

  .mobile-level-title {
    padding: 1rem;
    font-weight: bold;
    color: #999;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
  }

  /* List Items */
  .mobile-nav-list .nav-item {
    border-bottom: 1px solid #eee;
  }

  .mobile-nav-list .nav-link {
    color: #333 !important;
    padding: 1rem !important;
    font-weight: 500;
  }

  .mobile-nav-list .nav-link i.mobile-chevron {
    color: #333;
    font-size: 0.8rem;
  }

  /* Ensure icons in main list are visible */
  .mobile-nav-list .nav-link i:not(.mobile-chevron) {
    margin-right: 10px;
    color: #000080;
    /* Blue icons */
    width: 20px;
    text-align: center;
  }

}

/* Mobile DrillDown Menu Styles - Added by Agent */
@media (max-width: 991px) {
  .mobile-menu-level {
    position: fixed;
    top: 0;
    left: 100%;
    /* Initially off-screen */
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1060;
    /* Higher than bootstrap navbar */
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
  }

  .mobile-menu-level.active {
    left: 0;
    transform: none;
    /* Ensure no conflicting transforms */
    display: block !important;
    opacity: 1 !important;
  }

  /* Header Styling */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #000080;
    /* Default blue */
    color: white;
  }

  .mobile-level-2-sectors .mobile-menu-header,
  .mobile-level-2-representation .mobile-menu-header,
  .mobile-level-2-support .mobile-menu-header {
    background: #ca0538;
  }

  .mobile-back-btn {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0;
  }

  .mobile-level-title {
    padding: 1rem;
    font-weight: bold;
    color: #999;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
  }

  a.mobile-level-title:hover {
    color: var(--color-primary);
  }

  /* User REQUESTED styles */
  .mobile-nav-list .nav-item {
    border-bottom: 2px solid #e5e5e5;
    /* Prominent separator */
  }

  .mobile-nav-list .nav-link {
    color: #333 !important;
    padding: 1.5rem 1rem !important;
    /* Increased padding */
    font-weight: 300;
    font-size: 1.1rem;
    flex-grow: 1;
    /* Tıklama alanını genişlet */
    cursor: pointer;
  }

  .mobile-nav-list .nav-link .mobile-chevron {
    color: #000080;
  }
}

/* Remove border from Search and Home items in mobile menu as per user request */
.mobile-nav-list .nav-item.mobile-only,
.mobile-nav-list .nav-item.nav-item-home {
  border-bottom: none !important;
}

/* Language Dropdown Redesign */
.header-language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  z-index: 1100;
  display: none;
  margin-top: 5px;
}

.header-language-dropdown.show {
  display: block;
}

.lang-dropdown-header {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 400;
}

.lang-options-wrapper {
  display: flex;
  gap: 0.5rem;
}

.lang-option-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 4px;
  background: transparent;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.lang-option-btn:hover {
  background: #ca0538;
  color: #fff;
}

.lang-option-btn.active {
  background: #ca0538;

  color: white;
  border-color: #ca0538;
}

.lang-option-btn.active:hover {
  background: #ca0538;
  color: white;
}

/* Search Dropdown/Modal (Mobile) */
.header-search-dropdown {
  position: absolute;
  top: 100%;
  right: -50px;
  width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  z-index: 1100;
  display: none;
  margin-top: 10px;
}

.header-search-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.header-search-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 60px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.04);
}

.header-search-form {
  display: flex;
  gap: 0.5rem;
}

.header-search-input-dropdown {
  flex: 1;
  border: 1px solid #ddd;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
}

.header-search-input-dropdown:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(202, 5, 56, 0.1);
}

.header-search-btn-dropdown {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 0 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-search-btn-dropdown:hover {
  opacity: 0.9;
}

@media (max-width: 576px) {
  .header-search-dropdown {
    position: fixed;
    top: 60px;
    /* Below header */
    left: 1rem;
    right: 1rem;
    width: auto;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header-search-dropdown::before {
    display: none;
    /* Hide arrow in fixed 'modal' mode */
  }
}/* Language Icon Sizes */
.header-lang-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .header-lang-icon {
        width: 20px;
        height: 20px;
    }
}