/* TK – Ürünlerimiz kategori listesi + kategori detay */

.tk-cats,
.tk-catd {
  --tk-green: #00a00f;
  --tk-navy: #0b172a;
  --tk-body: #8e949e;
  --tk-border: #e6eaef;
  font-family: var(--tk-font);
}

.tk-cats.breadcrumb-wrap,
.tk-catd.breadcrumb-wrap {
  background: #f4f7fb;
  padding: 14px 0;
  border-bottom: 1px solid var(--tk-border);
}
.tk-cats .breadcrumb,
.tk-catd .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.tk-cats .breadcrumb-item,
.tk-catd .breadcrumb-item {
  font-size: 14px;
  color: var(--tk-navy);
  font-weight: 500;
}
.tk-cats .breadcrumb-item + .breadcrumb-item::before,
.tk-catd .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 10px;
  color: #9aaabb;
}
.tk-cats .breadcrumb-item a,
.tk-catd .breadcrumb-item a {
  color: var(--tk-navy);
  text-decoration: none;
}
.tk-cats .breadcrumb-item a:hover,
.tk-catd .breadcrumb-item a:hover {
  color: var(--tk-green);
}

/* ----- Kategori kart grid ----- */
.tk-cats.blog-grid {
  padding: 40px 0 80px;
  background: #fff;
}
.tk-cats.blog-grid > .container {
  max-width: 1140px;
}
@media (min-width: 1400px) {
  .tk-cats.blog-grid > .container,
  .tk-catd-main > .container,
  .tk-cats.breadcrumb-wrap > .container,
  .tk-catd.breadcrumb-wrap > .container {
    max-width: 1320px;
  }
}
.tk-cat-entry {
  margin-bottom: 36px;
  text-align: center;
}
.tk-cat-entry .entry-img {
  position: relative;
  margin-bottom: 16px;
}
.tk-cat-entry .entry-img > a:first-child {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.tk-cat-entry .entry-img-holder {
  border: 1px solid var(--tk-border);
  background: #fff;
  padding: 20px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.25s ease;
}
.tk-cat-entry:hover .entry-img-holder {
  box-shadow: 0 8px 28px rgba(11, 23, 42, 0.08);
}
.tk-cat-entry .entry-img-holder img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.tk-cat-entry .entry-title h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.tk-cat-entry .entry-title h4 a {
  color: var(--tk-navy);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  transition: color 0.3s ease;
}
.tk-cat-entry .entry-title h4 a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--tk-green);
  transform: translateX(-50%) scaleX(0.28);
  transform-origin: center;
  transition: transform 0.35s ease;
}
.tk-cat-entry .entry-title h4 a:hover,
.tk-cat-entry:hover .entry-title h4 a {
  color: var(--tk-navy);
}
.tk-cat-entry .entry-title h4 a:hover::after,
.tk-cat-entry:hover .entry-title h4 a::after {
  transform: translateX(-50%) scaleX(1);
}

/* ----- Kategori detay hero ----- */
.tk-catd-hero {
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tk-cat-hero-bg, #10375c);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 48px 16px;
}
.tk-catd-hero::before {
  content: none;
}
.tk-catd-hero .hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  font-family: var(--tk-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tk-catd-main {
  padding: 30px 0 80px;
  background: #fff;
}
.tk-catd-main > .container {
  max-width: 1140px;
}

.tk-catd-sidebar .sidebar-widget {
  margin-bottom: 24px;
  border: 1px solid var(--tk-border);
  padding: 16px;
  background: #fff;
}
.tk-catd-sidebar .form-group {
  position: relative;
  margin: 0;
}
.tk-catd-sidebar .form-control {
  width: 100%;
  height: 44px;
  border: 1px solid var(--tk-border);
  padding: 0 44px 0 12px;
  font-family: var(--tk-font);
  font-size: 14px;
}
.tk-catd-sidebar .submit-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--tk-navy);
  color: #fff;
  cursor: pointer;
}
.tk-catd-sidebar .sidebar-title h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--tk-navy);
  margin: 0 0 6px;
}
.tk-catd-sidebar .sidebar-title .tk-catd-count {
  display: block;
  font-size: 13px;
  color: var(--tk-body);
  font-weight: 400;
  margin-bottom: 12px;
}
.tk-catd-sidebar .blog-cat-two {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tk-catd-sidebar .blog-cat-two li {
  border-bottom: 1px solid var(--tk-border);
}
.tk-catd-sidebar .blog-cat-two li a {
  display: block;
  padding: 10px 0;
  color: var(--tk-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.tk-catd-sidebar .blog-cat-two li a:hover,
.tk-catd-sidebar .blog-cat-two li.active a {
  color: var(--tk-cat-hover, var(--tk-link-hover, var(--tk-green)));
}

.tk-catd-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tk-border);
}
.tk-catd-sort select {
  min-width: 220px;
  height: 40px;
  border: 1px solid var(--tk-border);
  padding: 0 10px;
  font-family: var(--tk-font);
  font-size: 14px;
  color: var(--tk-navy);
  background: #fff;
}
.tk-catd-sort .product-count-text {
  margin: 0;
  font-size: 14px;
  color: var(--tk-body);
}

.tk-catd-main .tk-prod {
  margin-bottom: 30px;
}
.tk-catd-seo {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--tk-border);
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}
.tk-catd-seo h2,
.tk-catd-seo h3 {
  color: var(--tk-navy);
  font-weight: 700;
  margin: 18px 0 10px;
}
.tk-catd-seo p {
  margin: 0 0 12px;
}
.tk-catd-seo ul,
.tk-catd-seo ol {
  margin: 0 0 14px 22px;
  padding: 0;
}
.tk-catd-seo li {
  margin-bottom: 6px;
}
.tk-catd-seo strong,
.tk-catd-seo b {
  font-weight: 700;
}
.tk-catd-seo table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
}
.tk-catd-seo table td,
.tk-catd-seo table th {
  border: 1px solid #ddd;
  padding: 8px 10px;
  vertical-align: top;
}
.tk-catd-seo table th {
  background: #f5f7fa;
  font-weight: 700;
}

@media (max-width: 991px) {
  .tk-catd-hero .hero-title {
    font-size: 26px;
  }
  .tk-catd-sidebar {
    margin-bottom: 24px;
  }
}
