/*
Theme Name: snsevon
Description: Evon - Bag Store WooCommerce WordPress Theme
Author: snstheme
Theme URI: http://themeforest.net/collections/5409167-wordpress
Author URI: http://snstheme.com
Version: 3.5
Text Domain: snsevon
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* === 1. Setbul Tablosu Görünümü === */
.setbul-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.setbul-table thead {
  background-color: #f5f5f5;
}

.setbul-table th, .setbul-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
}

.setbul-table tr:hover {
  background-color: #f0fbff;
}

.setbul-table a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
}

.setbul-distributor-name {
  font-family: "Segoe UI", sans-serif; /* Tema ile uyumlu font */
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  color: #256532;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #256532;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}

.setbul-distributor-name:hover {
  text-decoration: underline;
}
/* === 2. Set Arama Sayfası (Ana Giriş Alanı) === */
.setbul-search-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.setbul-search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.setbul-search-box {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.setbul-search-box h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2d3436;
  font-weight: bold;
}

.search-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#product-search {
  padding: 16px 20px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  width: 400px;
  max-width: 90%;
}

#search-button {
  padding: 16px 24px;
  font-size: 1rem;
  background-color: #00b894;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#search-button:hover {
  background-color: #019370;
}

/* === 3. Tagify (Ürün Seçim Alanı) === */
.tagify {
  display: block !important;
  width: 100% !important;
  max-width: 800px !important;
  min-height: 60px;
  font-size: 20px;
  margin: 0 auto;
}

.tagify__input {
  min-width: 100% !important;
}

.tagify__tag {
  font-size: 18px;
}

/* === 4. Tekil Distribütör Sayfası (Ürün Kartları) === */
.distributor-profile {
  padding: 40px 20px;
}

.distributor-profile h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.distributor-products-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.distributor-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  justify-content: flex-start;
}

.distributor-product-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: #000; /* sadece siyah */
  margin-top: 10px;
}

.product-price {
  font-size: 20px;
  font-weight: bold;
  color: #256532; /* fiyat için özel renk */
  margin: 10px 0;
}

.distributor-buy-button {
  display: inline-block;
  background-color: #256532;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 4px;
}

/* === 5. Set Kartları (isteğe bağlı) === */
.distributor-sets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.set-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.set-card h3 {
  font-size: 18px;
  margin-top: 0;
}

.set-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.set-price {
  font-size: 20px;
  font-weight: bold;
  color: #256532;
}

.buy-btn {
  display: inline-block;
  margin-top: 10px;
  background: #27ae60;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .set-card {
    flex: 1 1 100%;
  }
}

/* === 6. Kategori Başlıkları ve Gruplar === */
.section-title {
  font-size: 24px;
  margin-top: 60px; /* önceki kategoriden boşluk */
  margin-bottom: 20px;
  font-weight: bold;
  color: #2d3436;
  text-align: left; /* başlığı sola yasla */
}

/* Her kategoriye ait ürün grubu */
.distributor-category-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: flex-start; /* sola hizalama */
}

/* Her ürün kartı zaten burada tanımlı, gerekirse tekrar edelim */
.distributor-product-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.etki-rozet {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.rozet-gorsel {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.rozet-adi {
    font-size: 13px;
    color: #444;
	text-align:flex-start;
}
.etki-rozet-wrapper {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.rozet-item {
    position: relative;
    display: inline-block;
}

.rozet-gorsel {
    width: 20px;
    height: 20px;
    object-fit: contain;
    cursor: pointer;
}

/* Tooltip */
.rozet-tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    font-size: 11px;
    text-align: center;
    border-radius: 4px;
    padding: 4px 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* ikonun üstüne */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.rozet-item:hover .rozet-tooltip {
    visibility: visible;
    opacity: 1;
}

