/* Powertech marka mavisi — tek kaynak (#183e94) */
:root {
  --pt-brand-blue: #183e94;
  --pt-brand-blue-dark: #122e6f;
  --pt-brand-blue-rgb: 24, 62, 148;
  /* Koyu zemin üzerinde mavi başlık — kalın beyaz kontur */
  --pt-heading-white-outline:
    -1px -1px 0 #fff,
    0 -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 0 0 #fff,
    1px 0 0 #fff,
    -1px 1px 0 #fff,
    0 1px 0 #fff,
    1px 1px 0 #fff,
    -2px -2px 0 #fff,
    -2px 0 0 #fff,
    -2px 2px 0 #fff,
    0 -2px 0 #fff,
    0 2px 0 #fff,
    2px -2px 0 #fff,
    2px 0 0 #fff,
    2px 2px 0 #fff;
}

/* Ana menü / kategori ağacı arka planı */
.menu_and_cattree:not(.pt-mobile-open) {
  background-color: var(--pt-brand-blue) !important;
}

/* Sol kategori paneli — beyaz zemin, mavi linkler */
.block-categories-custom .block-categories-title {
  background-color: var(--pt-brand-blue) !important;
  color: #fff !important;
}

.block-categories-custom .category-top-menu-pos,
.block-categories-custom .category-top-menu-pos .sub_cat_hover {
  background-color: #fff !important;
}

.block-categories-custom .category-top-menu-pos a,
.block-categories-custom .category-top-menu-pos .category-sub-link,
.block-categories-custom .category-top-menu-pos > .view > span {
  color: var(--pt-brand-blue) !important;
}

.block-categories-custom .category-top-menu-pos a:hover,
.block-categories-custom .category-top-menu-pos .category-sub-link:hover,
.block-categories-custom .category-top-menu-pos > .view > span:hover {
  color: var(--pt-brand-blue-dark) !important;
}

.block-categories-custom .category-sub-menu .navbar-toggler,
.block-categories-custom .category-sub-menu .arrows,
.block-categories-custom .category-sub-menu .navbar-toggler i,
.block-categories-custom .category-sub-menu .arrows i {
  color: var(--pt-brand-blue) !important;
}

/* Megamenu — üst seviye beyaz, dropdown mavi linkler */
.menu_and_cattree .custom_menu .mm_menus_li > a {
  color: #fff !important;
}

.menu_and_cattree .custom_menu .mm_columns_ul,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_block_content,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_categories {
  background-color: #fff !important;
}

.menu_and_cattree .custom_menu .mm_columns_ul a,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_block_content a,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_categories a,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_block > h4,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_block > h4 a {
  color: var(--pt-brand-blue) !important;
}

.menu_and_cattree .custom_menu .mm_columns_ul a:hover,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_block_content a:hover,
.menu_and_cattree .custom_menu .mm_columns_ul .ets_mm_categories a:hover {
  color: var(--pt-brand-blue-dark) !important;
}

/* Mobil açık menüde dropdown stilleri uygulanmaz — beyaz yazı kalır */
@media (max-width: 767px) {
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul,
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul .ets_mm_block_content,
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul .ets_mm_categories {
    background-color: rgba(0, 0, 0, 0.22) !important;
  }

  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul a,
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul .ets_mm_block_content a,
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul .ets_mm_categories a,
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul .ets_mm_block > h4,
  .menu_and_cattree.pt-mobile-open .custom_menu .mm_columns_ul .ets_mm_block > h4 a {
    color: #fff !important;
  }
}

/* Footer top — beyaz arka plan */
.footer-container .footer_top {
  background-color: #fff !important;
  border-bottom-color: #e7e7e7 !important;
}

.footer-container .footer_top .line_ver {
  background-color: #e7e7e7 !important;
}

/* Megamenu kaydırma rengi */
.ets_mm_megamenu.scroll_heading {
  background-color: var(--pt-brand-blue) !important;
}

/* Kategori sıralama etiketi */
.products-selection .sort-by {
  color: var(--pt-brand-blue) !important;
}

/* Arama butonu */
.search-widget form button[type="submit"] {
  background: var(--pt-brand-blue) !important;
}

/* Ürün detay — ayraç çizgileri */
body#product .right_pb_product .line,
body#product .product-information .line {
  background-color: var(--pt-brand-blue) !important;
  display: block !important;
  height: 3px !important;
  margin: 22px 0 !important;
  opacity: 1 !important;
  width: 100% !important;
}

body#product .right_pb_product .product-tabs-inline .nav-tabs {
  border-bottom: 3px solid var(--pt-brand-blue) !important;
}

body#product .right_pb_product .product-tabs-inline .nav-tabs .nav-link.active {
  border-color: var(--pt-brand-blue) !important;
  color: var(--pt-brand-blue) !important;
}

/* Header nav — marka mavisi, beyaz yazı, belirgin ikonlar */
#header .header-nav {
  background-color: var(--pt-brand-blue) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

#header .header-nav,
#header .header-nav a,
#header .header-nav .nav_link,
#header .header-nav .contact_link_item a,
#header .header-nav .blockcart a,
#header .header-nav .blockcart .checkout_title,
#header .header-nav .blockcart .checkout_total,
#header .header-nav .language-selector,
#header .header-nav .language-selector .expand-more,
#header .header-nav .currency-selector,
#header .header-nav .currency-selector .expand-more,
#header .header-nav .currency-selector .expand-more._gray-darker,
#header .header-nav .language-selector-wrapper > span,
#header .header-nav .user-info,
#header .header-nav .user-info-account span {
  color: #fff !important;
}

#header .header-nav a:hover,
#header .header-nav .nav_link:hover,
#header .header-nav .contact_link_item a:hover,
#header .header-nav .blockcart a:hover {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1;
}

#header .header-nav .left-nav > div:not(:last-child)::before,
#header .header-nav .right-nav > div:not(:last-child)::before,
#header .header-nav .right-nav .nav_link:not(:last-child)::before,
#header .header-nav .contact_link_item:not(:last-child)::before {
  background-color: rgba(255, 255, 255, 0.28) !important;
}

#header .header-nav i.fa,
#header .header-nav i.material-icons,
#header .header-nav .material-icons {
  color: #fff !important;
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.55);
}

#header .header-nav .toogle_nav .material-icons {
  color: #fff !important;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.55);
}

#header .header-nav .material-icons.expand-more,
#header .header-nav .material-icons.material-icons-expand_more {
  color: #fff !important;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.55);
}

#header .header-nav .cart-preview .cart-products-count {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  #header .header-nav .contact_link_item > a {
    font-size: inherit;
  }

  #header .header-nav .contact_link_item > a i {
    font-size: 16px;
    line-height: 24px;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.55);
  }
}

/* Mobil — menü yerine Oturum aç | Kayıt ol */
#header .header-nav .pt-mobile-auth-nav {
  display: none;
}

@media (max-width: 767px) {
  #header .header-nav .toogle_nav,
  #header .header-nav .toogle_nav_right {
    display: none !important;
  }

  #header .header-nav .pt-mobile-auth-nav {
    align-items: center;
    display: flex !important;
    float: right;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
    line-height: 24px;
    white-space: nowrap;
  }

  #header .header-nav .pt-mobile-auth-nav a {
    color: #fff !important;
    text-decoration: none;
  }

  #header .header-nav .pt-mobile-auth-nav a:hover {
    color: rgba(255, 255, 255, 0.88) !important;
    opacity: 1;
  }

  #header .header-nav .pt-mobile-auth-sep {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    user-select: none;
  }
}
