.single-breadcrumbs {
  display: flex;
  justify-content: space-between;
}
.ats-fav-btn,
.ats-compare-btn {
  position: relative;
  min-height: unset !important;
}
/* button.ats-fav-btn:after {
  content: "Wishlist";
}
button.ats-compare-btn:after {
  content: "Compare";
}
button.ats-fav-btn:after,
button.ats-compare-btn:after {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
} */
/* button.ats-fav-btn:before,
button.ats-compare-btn:before {
  content: "";
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #333;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.ats-compare-btn:hover:after,
.ats-fav-btn:hover:after,
.ats-compare-btn:hover:before,
.ats-fav-btn:hover:before {
  opacity: 1;
} */
/* Toast bildirimi */
.ats-compare-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  font-size: 14px;
}

/* Header karşılaştırma butonu */
.ats-compare-header-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.ats-compare-header-btn .ats-compare-header-count {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #3498db;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

/* Single product karşılaştırma butonu */
button.ats-compare-btn {
  cursor: pointer;
  background: unset;
  padding: 0;
}
button.ats-compare-btn:hover {
  background: unset;
}
.ats-compare-btn svg {
  fill: none;
  stroke: var(--wd-primary-color);
  transition: fill 0.15s ease;
}
.ats-compare-btn.is-active {
  color: #3498db;
}
.ats-compare-btn.is-active svg {
  fill: var(--wd-primary-color);
}

/* =========================================================================
   Karşılaştırma tablosu (shortcode: [show_compare_list])
   ========================================================================= */
.ats-cmp-wrap {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 16px;
  font-family: inherit;
  color: #1f2937;
}
.ats-cmp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.ats-cmp-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}
button.ats-cmp-clear-all {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
button.ats-cmp-clear-all:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.ats-cmp-empty {
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: #6b7280;
}
.ats-cmp-empty p {
  margin: 4px 0;
}

.ats-cmp-table-scroll {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ats-cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.ats-cmp-table th,
.ats-cmp-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e1e1e1a6;
}
.ats-cmp-table tbody tr:last-child th,
.ats-cmp-table tbody tr:last-child td {
  border-bottom: 0;
}
.ats-cmp-table tbody tr:nth-child(even) {
  background: #fafafa;
}
.ats-cmp-table .ats-cmp-label-col {
  width: 180px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border-right: 1px solid #f1f5f9;
}
.ats-cmp-table tbody .ats-cmp-label-col {
  font-weight: bold;
  color: #000000;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ats-cmp-table thead th {
  background: #fff;
  border-bottom: 2px solid #e5e7eb;
  padding: 20px 16px;
}
.ats-cmp-product-col {
  min-width: 220px;
}

.ats-cmp-product {
  position: relative;
  text-align: center;
}
button.ats-cmp-remove {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}
button.ats-cmp-remove:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}
.ats-cmp-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 180px;
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.ats-cmp-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ats-cmp-name {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 38px;
}
.ats-cmp-link {
  display: inline-block;
  font-size: 12px;
  color: #3498db;
  text-decoration: none;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.ats-cmp-link:hover {
  background: #3498db;
  color: #fff;
  border-color: #3498db;
}

@media (max-width: 640px) {
  .ats-cmp-table .ats-cmp-label-col {
    width: 130px;
  }
  .ats-cmp-product-col {
    min-width: 180px;
  }
  .ats-cmp-title {
    font-size: 20px;
  }
}
