/* 
  ==============================
     PRODUCTS.CSS
  ==============================
*/

/* Tab Bar (New Arrival, Bestseller, Featured) */
.product-tabs .nav-link {
    color: #333;
    font-weight: 500;
    text-transform: capitalize;
  }
  
  .product-tabs .nav-link.active {
    color: #007bff;
    font-weight: 600;
  }
  
  /* Ürün kartı kutusu */
  .product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    position: relative;
    transition: box-shadow 0.2s ease;
  }
  
  .product-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  }
  
  /* Ürün resmi alanı */
  .product-image {
    position: relative;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #1BC47D; /* Yeşil ton */
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
  }
  
  /* Kart içi butonlar (sağda dikey) */
  .product-card-buttons {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
  }
  .product-card-buttons button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .product-card-buttons button:hover {
    background: #f8f8f8;
  }
  
  /* Ürün Bilgileri */
  .product-info .product-stars i {
    color: #FFC107; /* Yıldız için sarı renk */
    margin-right: 1px;
  }
  
  .product-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
    min-height: 40px; /* 2 satır ayırmak için */
  }
  
  .product-price {
    margin-bottom: 10px;
  }
  .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
  }
  .current-price {
    font-size: 16px;
    font-weight: 700;
    color: #1BC47D; /* Yeşil ton */
    margin-right: 8px;
  }
  .discount-label {
    color: #1BC47D;
    font-weight: 600;
    font-size: 12px;
  }
  
  /* Varyantlar (renk, boyut vb.) */
  .product-variants {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
  }
  .product-variants li {
    background: #f1f1f1;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: 5px;
    font-size: 12px;
    color: #666;
  }
  .product-variants li:last-child {
    margin-right: 0;
  }


  
  

  /* ====== ALL PRODUCTS SECTION ====== */
.all-products-section .product-filter .nav-link {
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    margin-right: 1rem;
  }
  .all-products-section .product-filter .nav-link.active {
    color: #007bff;
    font-weight: 600;
  }
  
  /* Extended product card */
  .product-card-extended {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s ease;
  }
  .product-card-extended:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  }
  
  /* Image & NEW badge */
  .product-image-extended {
    position: relative;
    text-align: center;
  }
  .product-image-extended .badge-new {
    position: absolute;
    top: 10px; left: 10px;
    background: #1BC47D; color: #fff;
    font-size: 12px; padding: 3px 6px;
    border-radius: 4px;
  }
  
  /* Body */
  .product-body-extended {
    padding: 15px;
  }
  .product-body-extended .product-stars i {
    color: #FFC107;
    margin-right: 2px;
    font-size: 12px;
  }
  .product-title-extended {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
    min-height: 40px;
  }
  .product-price-extended {
    margin-bottom: 10px;
  }
  .product-price-extended .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 6px;
  }
  .product-price-extended .current-price {
    font-size: 16px;
    font-weight: 700;
    color: #1BC47D;
    margin-right: 6px;
  }
  .product-price-extended .discount-label {
    color: #1BC47D;
    font-weight: 600;
    font-size: 12px;
  }
  
  /* Color dots */
  .product-dots {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
  }
  .product-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    border: 1px solid #ddd;
  }
  .product-dots .dot.black   { background: #000; }
  .product-dots .dot.purple  { background: #A020F0; }
  .product-dots .dot.pink    { background: #FF69B4; }
  
  /* Installment info */
  .installment {
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
  }
  .installment-amount {
    font-weight: 700;
    margin-left: 12px;
    color: #333;
  }
  
  /* Variant buttons */
  .variant-buttons {
    display: inline-flex;
    gap: 8px;
  }
  .btn-variant {
    background: #f1f1f1;
    border: none;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: background .2s ease;
  }
  .btn-variant:hover {
    background: #e0e0e0;
  }

  
  /* ===== PRODUCT CATEGORIES ===== */
.product-categories .categories-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .product-categories .categories-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  /* Kart düzeni */
  .category-card {
    padding: 30px 15px;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.2s ease;
  }
  .category-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .category-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
  }
  .category-card p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.25rem;
  }
  .btn-shop {
    padding: 6px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
  }
  
  /* Arka plan renkleri */
  .cat-tech,
  .cat-tablets {
    background-color: #ffffff;
  }
  .cat-phone {
    background-color: #fff9ed;
  }
  .cat-home {
    background-color: #ffecec;
  }
  

  /* ===== DISCOUNTED PRODUCTS SECTION ===== */
.discount-products-section .discounts-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
  }
  
  /* Sağ üstteki action ikonları */
  .discount-products-section .product-actions {
    position: absolute;
    top: 10px; right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
  }
  .discount-products-section .product-actions button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
  }
  .discount-products-section .product-actions button:hover {
    background: #f8f8f8;
  }
  