.nav-pages {
  justify-content: center;
  align-items: center;
  display: flex !important;
  margin-right: 80px !important;
  margin-left: 450px !important;
  margin-top: 34px !important;
  width: 35%;
  height: 50%;
  gap: 25px;
}

.nav-pages .pages-link {
  white-space: nowrap;
  display: inline-block;
}

.nav-pages .pages-link.hidden,
.mobile-menu .hidden {
  display: none !important;
}

.nav-pages,
.desktop-menu,
.desktop-menu .group,
.main-header,
#header {
  overflow: visible !important;
}

body > #header {
  position: relative;
  z-index: 200000 !important;
}
/* TOPBAR + HEADER sabit */
.topbar,
.main-header {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Topbar en üstte */
.topbar {
  top: 0;
}

/* Header topbar'ın hemen altında */
.main-header {
  top: 38px; /* topbar yüksekliği (istersen ayarlarım) */
}

/* İçeriğin üstüne binmemesi için boşluk */
body {
  padding-top: 48px; /* topbar */
  padding-top: calc(48px + 90px); /* topbar + header yüksekliği */
}

.header {
  background: linear-gradient(
    135deg,
    #b5b5b5 0%,
    #d0d0d0 20%,
    #a9a9a9 50%,
    #cecece 75%,
    #b8b8b8 100%
  );
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background-size: cover; /* Animasyon kalktı */
  animation: none !important; /* kesin kapatma */
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 9999 !important;
}

@keyframes metallicCard {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  75% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.topbar {
  width: 100%;
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1b1b1b, #2a2a2a, #0e0e0e);
  background-size: 260% 260%;
  animation: metallicCard 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;

  color: #eaeaea;
  padding: 0 25px;
  font-size: 14px;
  box-sizing: border-box;
}

@keyframes metallicCard {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  75% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.icon-img {
  width: 24px;
  height: 24px;
  display: inline-block;
  filter: brightness(0) invert(1);
  transition: 0.25s;
  padding: 2px;
}

.icon-linkedin {
  height: 24px !important;
  margin-bottom: 3px;
}

.icon-instagram {
  margin-bottom: 1px;
}

.icon-email {
  height: 20px !important;
  margin-bottom: 3px;
}

.icon-phone {
  height: 15px !important;
  margin-bottom: 5px;
}

.icon-img:hover {
  transform: scale(1.15);
}

.icon-img-email {
  width: 18px;
  height: 15px;
  margin-right: 5px;
  filter: brightness(0) invert(1);
  display: inline-block;
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 62px;
}

.hover-link {
  text-decoration: none;
  color: #eaeaea;
  transition: 0.2s;
}

.hover-link:hover {
  text-decoration: underline;
  color: white;
}

.lang-box {
  background: #242424;
  border: 1px solid #555;
  padding: 4px 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.25s;
}

.lang-box:hover {
  border-color: #ffffff;
}

.lang-flag {
  width: 20px;
  height: 14px;
  transition: 0.3s ease;
}

/* ========================= */
/*       HEADER (DESKTOP)    */
/* ========================= */

.header-logo {
  display: flex;
  align-items: center;
}

/* Desktop menü */
.desktop-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 16px;
}

.desktop-menu > a,
.desktop-menu .group > a {
  text-decoration: none;
  color: #000;
  transition: 0.2s;
}

.desktop-menu > a:hover,
.desktop-menu .group > a:hover {
  color: #b91c1c !important;
}

/* Mega menü (sadece desktop için) */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -32px;
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    #b5b5b5 0%,
    #d0d0d0 20%,
    #a9a9a9 50%,
    #cecece 75%,
    #b8b8b8 100%
  );
  background-size: 300% 300%;
  animation: metallicCard 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;

  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.25s;
  box-sizing: border-box;
  z-index: 100000;
  overflow: visible;
}

.desktop-menu .group {
  position: relative;
  z-index: 100001;
}
.mega-menu-grid .cat {
  position: relative;
  width: max-content;
  min-width: 220px;
  max-width: calc(100vw - 80px);
  padding: 16px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    #c8c8c8 0%,
    #b3b3b3 25%,
    #d9d9d9 50%,
    #b0b0b0 75%,
    #d5d5d5 100%
  );
  background-size: 300% 300%;
  animation: metallicCard 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Metalik hareket */
@keyframes metallicCard {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  75% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* SADECE ÜZERİNE GELİNEN TEK LİNK KIRMIZI OLSUN */
.mega-list li a {
  color: #333;
  transition: 0.25s ease;
}

.mega-list li a:hover {
  color: #b11212 !important;
}
.category-link {
  color: #333;
  transition: 0.25s ease;
}
.category-link:hover {
  color: #b11212 !important;
}

/* Alt kategori (list item) hoverları kırmızı yazı */
.mega-menu-grid .mega-list a:hover {
  color: #b11212 !important;
  transform: translateX(3px);
  background: none !important; /* Mobil arka plan efekti desktop'ta olmasın */
}

.group:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(var(--mega-menu-columns, 4), max-content);
  gap: 20px;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
}

.cat1 {
  grid-area: cat1;
}
.cat2 {
  grid-area: cat2;
}
.cat3 {
  grid-area: cat3;
}
.cat4 {
  grid-area: cat4;
}
.cat5 {
  grid-area: cat5;
}
.cat6 {
  grid-area: cat6;
}
.cat7 {
  grid-area: cat7;
}
.cat8 {
  grid-area: cat8;
}

.category-link {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #000;
}

.mega-list li a {
  display: block;
  padding: 2px 0;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  transition: 0.2s;
}

.mega-list li a:hover {
  color: #b91c1c;
  transform: translateX(3px);
}

/* ========================= */
/*     MOBİL GENEL STİLLER   */
/* ========================= */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobil menü paneli */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0px;
  width: 260px;
  height: 100vh;
  background: linear-gradient(145deg, #c8c8c8, #e0e0e0, #bfbfbf);
  background-size: 300% 300%;
  animation: metallicCard 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;

  color: #111;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 300000;
  box-sizing: border-box;
}

@keyframes metallicCard {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  75% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.mobile-menu.open {
  transform: translateX(0);
  z-index: 300000;
  pointer-events: auto;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 4px 0;
}

.mobile-menu a:hover {
  color: #e53939;
}

.close-mobile {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 8px;
}

/* ========================= */
/*         MOBİL BREAKPOINT  */
/* ========================= */

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .topbar {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .topbar-center {
    display: none;
  }

  .main-header {
    height: 72px;
    padding: 0 12px;
  }

  .logo-berat {
    height: 10px;
    width: auto;
    margin-left: 10px;
  }

  /* Desktop menü mobilde tamamen kapalı */
  .desktop-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* Mega menü DOM dışı */
  .mega-menu,
  .mega-menu-grid {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    left: -9999px !important;
  }

  .mobile-menu-btn {
    margin-left: auto; /* ← Hamburger otomatik sağa gider */
    margin-right: 2px; /* ← Hafif sağ boşluk */
    margin-top: 18px;
    display: block;
  }
}

/* Tablet için de aynı davranış */
@media (max-width: 1024px) and (min-width: 769px) {
  .desktop-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  .main-header {
    padding: 0 16px;
  }

  .header-logo .berat-logo {
    height: 48px;
  }
}
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dropdown-header {
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  text-align: left;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-header span {
  font-size: 22px;
  font-weight: bold;
}

.dropdown-list {
  display: none;
  flex-direction: column;
  padding-left: 12px;
}

.dropdown-list.open {
  display: flex;
}

.dropdown-list a {
  padding: 5px 0;
  font-size: 16px;
  color: #000;
}

.dropdown-list a:hover {
  color: #b11212;
}

.mobile-menu a,
.dropdown-header,
.dropdown-list a {
  color: #000 !important; /* siyah */
}

.mobile-menu a:hover,
.dropdown-header:hover,
.dropdown-list a:hover {
  color: #b11212 !important; /* kırmızı hover */
}
.close-mobile {
  color: #000 !important;
}

/* ============================= */
/*   MOBİL DROPDOWN — KART TEMA  */
/* ============================= */

.mobile-dropdown {
  margin-top: 10px;
}

/* Ürünlerimiz başlığı */
.dropdown-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: transparent;
  color: #000;
  font-size: 18px;
  padding: 10px 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}

.dropdown-header:hover {
  color: #b11212;
}

/* + işareti */
#dropdownIcon {
  font-size: 20px;
  transition: 0.25s;
}

/* Açılır liste kutusu */
.dropdown-list {
  background: linear-gradient(145deg, #d5d5d5, #bfbfbf, #e3e3e3);
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  animation: fadeSlide 0.25s ease;
  display: none;
}

/* Açılır animasyon */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* İç linkler */
.dropdown-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  transition: 0.25s;
  color: #000 !important;
}

.dropdown-list a:hover {
  background: rgba(185, 18, 18, 0.12);
  color: #b11212 !important;
}

.dropdown-list a:last-child {
  margin-bottom: 0;
}

/* Mobile category + subcategory toggle */
.mobile-cat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-cat-link {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.mobile-sub-toggle {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-sub-list {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding-left: 10px;
}

.mobile-sub-list.open {
  display: flex;
}

.mobile-sub-list a {
  font-size: 14px;
  padding: 4px 0;
}
/* Ana kategori ile alt liste arasına modern gri çizgi */
.mega-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.category-link {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mega-sub-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.mega-sub-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translate(-50%, -62%) rotate(45deg);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.mega-sub-toggle:hover {
  border-color: #b11212;
  background: rgba(177, 18, 18, 0.08);
}

.mega-sub-toggle:hover::before {
  border-color: #b11212;
}

.cat.is-collapsed .mega-sub-toggle::before {
  transform: translate(-62%, -50%) rotate(-45deg);
}

.cat.is-collapsed .mega-list {
  display: none;
}

.topbar {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
/* ========================= */
/*     HEADER — FINAL FIX    */
/* ========================= */

.main-header {
  width: 100%;
  height: 110px;
  background: linear-gradient(
    135deg,
    #b5b5b5 0%,
    #d0d0d0 20%,
    #a9a9a9 50%,
    #cecece 75%,
    #b8b8b8 100%
  );
  background-size: cover !important;
  animation: none !important;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-sizing: border-box;
}
.cart-icon-wrapper {
  position: relative;
  margin-left: 355px;
  margin-top: 20px;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cart-img {
  width: 26px;
  height: 26px;
}

.mini-cart {
  position: absolute;
  right: 0;
  top: 40px;
  width: 260px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 999;
}

.mini-cart.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-cart-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.mini-cart-item:last-child {
  border-bottom: none;
}

.mini-cart-item img {
  width: 50px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.mini-cart-name {
  font-weight: 500;
}

.mini-empty {
  text-align: center;
  opacity: 0.6;
}
/* ================================================
   MINI CART – GÖRSEL İYİLEŞTİRMELER (SADECE TASARIM)
   MEVCUT KODUN ÜSTÜNE EKLENİR, HİÇBİR ŞEYİ BOZMAZ
================================================ */

/* Mini sepet kutusu biraz daha hacimli ve yumuşak görünüm */
.mini-cart {
  border-radius: 14px !important;
  padding: 16px !important;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18) !important;
}

/* Ürün kutuları daha ferah */
.mini-cart-item {
  padding: 12px 0 !important;
  gap: 14px !important;
}

/* Resim boyutu daha oranlı */
.mini-cart-item img {
  width: 58px !important;
  height: 70px !important;
  border-radius: 8px !important;
  margin-top: 6px;
}

/* Ürün adı */
.mini-cart-name {
  font-weight: 600 !important;
  font-size: 15.5px !important;
  margin-bottom: 8px;
  text-decoration: underline;
}

/* Fiyat */
.mini-cart-price {
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

/* Adet kontrol butonları premium görünüm */
.mini-qty button {
  width: 24px !important;
  height: 24px !important;
  border-radius: 4px !important;
  background: #f1f1f1 !important;
  transition: 0.15s;
}

.mini-qty button:hover {
  background: #e0e0e0 !important;
}

/* Adet sayısı */
.mini-qty span {
  font-size: 15px;
  font-weight: 600;
}

/* “Kaldır” daha minimal */
.mini-remove {
  margin-top: 10px !important;
  display: inline-block;
  font-size: 13px !important;
  opacity: 0.8;
  transition: 0.15s;
}

.mini-remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #b11212;
}

.mini-remove:hover {
  opacity: 1;
  color: #d00000 !important;
}

/* Mini sepet boş mesajı */
.mini-empty {
  font-size: 14px;
  padding: 8px 0;
  opacity: 0.7;
}

/* İçerik hizalaması biraz daha toparlandı */
.mini-cart-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mini-cart refresh (layout + footer/actions) */
.mini-cart {
  width: 340px !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px !important;
  gap: 12px;
}

.mini-cart::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 18px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
}

.mini-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.mini-cart-name {
  text-decoration: none !important;
}

.mini-count {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.mini-cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.mini-cart-item {
  align-items: flex-start !important;
}

.mini-cart-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 80px;
}

.mini-line-total {
  font-weight: 700;
  color: #222;
}

.mini-cart-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 12px;
  margin-top: 6px;
}

.mini-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
}

.mini-actions {
  display: flex;
  gap: 8px;
}

.mini-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(120deg, #b11212, #d06b43);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.mini-btn:hover {
  filter: brightness(1.05);
}

.mini-btn.secondary {
  background: transparent;
  color: #b11212;
  border: 1px solid rgba(177, 18, 18, 0.5);
}

.mini-btn.secondary:hover {
  background: rgba(177, 18, 18, 0.08);
}

.mini-btn:focus-visible,
.mini-qty button:focus-visible,
.mini-remove:focus-visible {
  outline: 2px solid rgba(177, 18, 18, 0.35);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .mini-cart {
    width: 92vw !important;
    right: 6px;
  }

  .mini-cart::before {
    right: 30px;
  }
}
/* DESKTOP İÇİN (varsayılan) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  font-size: 0;
  cursor: pointer;
  color: white;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
}

/* MOBİL İÇİN */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
  }

  /* Masaüstü menüyü gizle */
  .desktop-menu {
    display: none !important;
  }

  /* Sepet ikonu mobilde gereksizse gizle */
  .cart-icon-wrapper {
    display: block !important;
  }
  .logo-berat {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0 !important;
    padding-left: 1px; /* istersen azaltabilirsin */
  }
}
.mobile-cart-link {
  display: block;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cart-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Auth link in topbar */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-login {
  color: #eaeaea;
  text-decoration: none;
  font-weight: 600;
  padding: 3px 6px;
  font-size: 17px;
  margin-right: 4px;
  border-radius: 4px;
  transition: 0.2s;
}

.topbar-login:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Header icon group */
.header-icons {
  position: relative;
  margin-left: 300px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.cart-icon-wrapper {
  margin-left: 0;
  margin-top: 0;
}

.profile-icon-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.profile-icon {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 768px) {
  .header-icons {
    display: none !important;
  }
}

.mobile-icons {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 0;
  border-top: none;
}

.mobile-icon-link {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  padding: 4px 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #000 !important;
  transition: 0.2s ease;
}

.mobile-icon-link img {
  display: none;
}

.mobile-icon-link:hover {
  color: #b11212 !important;
}

body.home-page {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  .main-header {
    left: 0;
    right: 0;
    top: 32px;
    width: 100vw;
    max-width: 100vw;
    height: 72px;
    box-sizing: border-box;
    padding: 0 20px;
    background: linear-gradient(
      135deg,
      #e6e6e6 0%,
      #bfbfbf 45%,
      #d9d9d9 100%
    ) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
  }

  .topbar {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .logo-berat {
    position: relative;
    width: 205px;
    height: 34px;
    margin: 0 !important;
    padding-left: 0 !important;
    display: flex;
    align-items: center;
  }

  .logo-black,
  .logo-white {
    top: 0;
    left: 0;
    width: auto;
    height: 34px;
  }

  .logo-black {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .logo-white {
    opacity: 0 !important;
    transform: translateY(-6px) !important;
  }

  .mobile-menu-btn {
    top: 50%;
    right: 20px;
    margin: 0 !important;
    transform: translateY(-50%);
    color: #111;
    text-shadow: none;
  }

  .mobile-menu-btn span {
    background: #2f2f2f;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
  }
}

@media (max-width: 1024px) {
  .main-header {
    background: linear-gradient(
      135deg,
      #e6e6e6 0%,
      #bfbfbf 45%,
      #d9d9d9 100%
    ) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
  }

  .logo-berat {
    position: relative;
    width: 258px;
    height: 46px;
    margin: 0 !important;
    padding-left: 0 !important;
    display: flex;
    align-items: center;
  }

  .logo-black,
  .logo-white {
    top: 0;
    left: 0;
    width: auto;
    height: 46px;
  }

  .desktop-menu,
  .header-icons {
    display: none !important;
  }

  .mobile-menu-btn {
    position: absolute !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 50% !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 8px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) !important;
    z-index: 100001 !important;
  }

  .mobile-menu-btn span {
    display: block !important;
    width: 26px !important;
    height: 3px !important;
    margin: 3px 0 !important;
    padding: 0 !important;
    border-radius: 999px;
    background: #2f2f2f;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
  }

  .logo-black {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .logo-white {
    opacity: 0 !important;
    transform: translateY(-6px) !important;
  }
}

@media (max-width: 768px) {
  .logo-berat {
    width: 205px;
    height: 34px;
  }

  .logo-black,
  .logo-white {
    height: 34px;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    width: 40px !important;
    height: 40px !important;
    padding: 9px !important;
    border-radius: 8px;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mobile-menu-btn span {
    width: 22px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    border-radius: 999px;
    background: #202020 !important;
    box-shadow: none !important;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus-visible {
    background: rgba(255, 255, 255, 0.18) !important;
    outline: none;
  }
}
