/* Ana sayfa kategori bölüm başlıkları (Havuz Kimyasalları, Havuz Robotları vb.) */

.homecat-tab-list {
  --hm-homecat-title-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --hm-homecat-title-size: clamp(1.65rem, 2.4vw, 2.05rem);
  --hm-homecat-header-min-h: 44px;
  --hm-homecat-pad-y: 7px;
  --hm-homecat-pad-bottom: calc(var(--hm-homecat-pad-y) * 0.5);
  --hm-homecat-title-pad-y: 18px;
  --hm-homecat-title-pad-bottom: calc(var(--hm-homecat-title-pad-y) * 0.5);
  --hm-homecat-image-h: calc(var(--hm-homecat-header-min-h) - var(--hm-homecat-pad-y) - var(--hm-homecat-pad-bottom));
}

/* Tüm Ürünlerimiz — gizli */
.homecat-tab-list .is_parent_cat_li_all {
  display: none !important;
}

.homecat-tab-list .hm-homecat-section {
  margin-bottom: 28px;
}

/* Havuz Ekipmanları — ana sayfada gösterilmez */
.homecat-tab-list .is_parent_cat_li_42 {
  display: none !important;
}

.homecat-tab-list .banner_inline.hm-homecat-banner {
  display: flex !important;
  float: none !important;
  min-width: 0 !important;
}

.homecat-tab-list .content_list_cat {
  float: none;
  padding: 0;
  width: 100% !important;
}

.homecat-tab-list .banner_inline + .content_list_cat {
  padding: 0;
  width: 100% !important;
}

/* Tek blok: görsel solda, başlık hemen sağında */
.homecat-tab-list .hm-homecat-block {
  float: left;
  width: 100%;
}

.homecat-tab-list .banner_inline_listproduct.hm-homecat-block {
  display: block;
  float: none;
}

.homecat-tab-list .hm-homecat-header {
  align-items: center;
  background: #0a0a0a !important;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  isolation: isolate;
  justify-content: center;
  min-height: var(--hm-homecat-header-min-h);
  overflow: hidden;
  padding: var(--hm-homecat-pad-y) 24px var(--hm-homecat-pad-bottom);
  position: relative;
  width: 100%;
}

.homecat-tab-list .hm-homecat-header::before {
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.035) 14px,
      rgba(255, 255, 255, 0.035) 15px
    ),
    repeating-linear-gradient(
      68deg,
      transparent 0,
      transparent 22px,
      rgba(126, 200, 232, 0.08) 22px,
      rgba(126, 200, 232, 0.08) 23px
    );
  content: "";
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.homecat-tab-list .hm-homecat-header::after {
  background:
    radial-gradient(ellipse 90% 55% at 50% 120%, rgba(45, 156, 219, 0.18) 0%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.homecat-tab-list .hm-homecat-header > * {
  position: relative;
  z-index: 1;
}

.homecat-tab-list .hm-homecat-header .homecat_tab_name {
  align-items: center;
  background: transparent !important;
  border-left: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  display: flex;
  flex: 0 1 auto;
  float: none !important;
  font-family: var(--hm-homecat-title-font);
  font-size: var(--hm-homecat-title-size);
  font-weight: 300;
  justify-content: flex-start;
  letter-spacing: 0.055em;
  line-height: 1.25;
  margin: 0 !important;
  max-width: none;
  min-height: 0;
  padding: 0 !important;
  text-align: left;
  text-rendering: optimizeLegibility;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 10px rgba(0, 0, 0, 0.28);
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0 !important;
  text-transform: none;
  width: auto !important;
}

.homecat-tab-list .hm-homecat-banner {
  align-items: center;
  align-self: stretch;
  background: transparent;
  display: flex;
  flex: 0 0 auto;
  height: var(--hm-homecat-image-h);
  justify-content: center;
  margin: 0 !important;
  max-width: none;
  min-height: 0;
  min-width: 0;
  order: -1;
  padding: 0;
  position: static;
  transform: none;
  width: auto !important;
  z-index: 2;
}

.homecat-tab-list .hm-homecat-banner .homecat_image {
  align-items: center;
  display: flex;
  height: 100%;
  line-height: 0;
}

.homecat-tab-list .hm-homecat-banner img {
  background: transparent;
  display: block;
  height: 100%;
  margin: 0;
  max-height: 100%;
  max-width: none;
  object-fit: contain;
  width: auto;
}

/* Alt kategori şeridi — koyu tema */
.homecat-tab-list .homcat_tab_sub_categroies {
  background-color: #141414 !important;
  border-radius: 0 0 6px 6px;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  float: left;
  gap: 0;
  list-style: none;
  margin-top: 0;
  padding: 8px 6px;
  width: 100%;
}

.homecat-tab-list .is_parent_cat_li > .homecat_tab_name,
.homecat-tab-list .is_parent_cat_li > .homecat_tab_name.active,
.homecat-tab-list .is_parent_cat_li:not(.is_parent_cat_li_all) > .homecat_tab_name,
.homecat-tab-list .is_parent_cat_li:not(.is_parent_cat_li_all) > .homecat_tab_name.active {
  background: #0a0a0a !important;
  border-left: none !important;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #fff !important;
  display: block;
  float: none;
  font-family: var(--hm-homecat-title-font);
  font-size: var(--hm-homecat-title-size);
  font-weight: 300;
  letter-spacing: 0.055em;
  line-height: 1.25;
  margin: 0 0 0;
  padding: var(--hm-homecat-title-pad-y) 16px var(--hm-homecat-title-pad-bottom) !important;
  text-align: center;
  text-rendering: optimizeLegibility;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 10px rgba(0, 0, 0, 0.28);
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0 !important;
  text-transform: none;
  width: 100%;
}

.homecat-tab-list .is_parent_cat_li > .homecat_tab_name:hover,
.homecat-tab-list .is_parent_cat_li > .homecat_tab_name.active:hover {
  color: #fff !important;
  opacity: 0.96;
}

.homecat-tab-list .is_parent_cat_li_all > .homcat_tab_all {
  background: linear-gradient(90deg, var(--pt-brand-blue-dark) 0%, var(--pt-brand-blue) 100%) !important;
  border-left: none !important;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 14px rgba(13, 59, 102, 0.22);
  color: #fff !important;
  display: block;
  float: none;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0;
  padding: 12px 16px !important;
  text-align: left;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  text-transform: none;
  width: 100%;
}

.homecat-tab-list .is_parent_cat_li_all > .homcat_tab_all.active {
  background: linear-gradient(90deg, var(--pt-brand-blue-dark) 0%, var(--pt-brand-blue) 100%) !important;
  color: #fff !important;
}

.homecat-tab-list .is_parent_cat_li_all .homcat_tab_sub_categroies {
  border-radius: 0 0 6px 6px;
  margin-top: 0;
}

.homecat-tab-list .ets_home_categories form label {
  color: var(--pt-brand-blue) !important;
  font-weight: 600;
}

.homecat-tab-list .ets_home_categories select.homecat_sort_by {
  border-color: rgba(13, 59, 102, 0.25);
  color: var(--pt-brand-blue-dark) !important;
}

.homecat-tab-list .homcat_tab_sub_categroies li {
  float: none;
  margin: 0;
}

.homecat-tab-list .homcat_tab_sub_categroies a,
.homecat-tab-list .ets_home_categories li ul li a {
  background: transparent !important;
  border-radius: 4px;
  color: #fff !important;
  display: block;
  float: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 14px;
  text-transform: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.homecat-tab-list .homcat_tab_sub_categroies a:hover,
.homecat-tab-list .homcat_tab_sub_categroies li.active a,
.homecat-tab-list .ets_home_categories li ul li a:hover,
.homecat-tab-list .ets_home_categories li ul li.active a {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.homecat-tab-list .homcat_tab_sub_categroies li:not(:last-child) a {
  margin-right: 2px;
}

.page-home .homecat-tab-list .ets_home_categories a:not(.button):hover,
.page-home .homecat-tab-list .homcat_tab_sub_categroies a:hover,
.page-home .homecat-tab-list .is_parent_cat_li > .homecat_tab_name:hover,
.page-home .homecat-tab-list .hm-homecat-header .homecat_tab_name:hover,
.page-home .homecat-tab-list .is_parent_cat_li_all > .homcat_tab_all:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  .homecat-tab-list {
    --hm-homecat-header-min-h: 40px;
    --hm-homecat-pad-y: 6px;
    --hm-homecat-pad-bottom: calc(var(--hm-homecat-pad-y) * 0.5);
    --hm-homecat-title-pad-y: 14px;
    --hm-homecat-title-pad-bottom: calc(var(--hm-homecat-title-pad-y) * 0.5);
  }

  .homecat-tab-list .hm-homecat-header {
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    padding: var(--hm-homecat-pad-y) 16px var(--hm-homecat-pad-bottom);
  }

  .homecat-tab-list .hm-homecat-header .homecat_tab_name {
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
    padding: 0 !important;
    white-space: normal;
  }

  .homecat-tab-list .hm-homecat-banner {
    height: var(--hm-homecat-image-h);
  }

  .homecat-tab-list .homcat_tab_sub_categroies {
    padding: 6px 4px;
  }

  .homecat-tab-list .homcat_tab_sub_categroies a {
    font-size: 13px;
    padding: 9px 12px;
  }
}

@media (max-width: 479px) {
  .homecat-tab-list .homcat_tab_sub_categroies {
    flex-direction: column;
  }

  .homecat-tab-list .homcat_tab_sub_categroies li:not(:last-child) a {
    margin-right: 0;
  }
}

/* Powertech — ana sayfa sol/sağ ok butonları */
body#index .owl-nav > div {
  background-color: var(--pt-brand-blue) !important;
  border-color: var(--pt-brand-blue) !important;
  color: #fff !important;
}

body#index .owl-nav > div:before {
  color: #fff !important;
}

body#index .owl-nav > div:hover,
body#index .owl-nav > div:focus {
  background-color: var(--pt-brand-blue-dark) !important;
  border-color: var(--pt-brand-blue-dark) !important;
  color: #fff !important;
}

body#index .owl-nav > div:hover:before,
body#index .owl-nav > div:focus:before,
body#index .owl-nav > div:hover:after {
  color: #fff !important;
}

body#index .mls_nav > div,
body#index .mls_nav > div:before {
  color: #fff !important;
}
