/*
Theme Name: Woodmart Child
Description: Woodmart Child Theme - Kasemarketi
Author: Kasemarketi
Version: 1.0
*/

/* =============== ÖZEL CSS BAŞLANGIÇ =============== */

/* Kargo / Teslimat Tablosu */
.km-ship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin: 1rem 0;
}
.km-ship-table th {
  background: #f8f9fa;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  border: 1px solid #e9ecef;
}
.km-ship-table td {
  padding: 12px 15px;
  border: 1px solid #e9ecef;
}

/* Responsive tablo */
@media (max-width: 782px) {
  .km-ship-table { display: block; }
  .km-ship-table thead { display: none; }
  .km-ship-table tbody { display: block; }
  .km-ship-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
  }
  .km-ship-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 15px;
  }
  .km-ship-table td:last-child { border-bottom: none; }
  .km-ship-table td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 1rem;
    color: #6c757d;
    min-width: 120px;
  }
}

/* Yorumlar */
.km-reviews {
  margin: 2rem 0;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}
.km-review {
  padding: 1rem;
  margin: 1rem 0;
  background: #fff;
  border-radius: 6px;
  border-left: 4px solid #007cba;
}
.km-stars { font-size: 16px; margin-bottom: .5rem; }
.km-muted { color: #6c757d; }

/* Kaşe ölçü ve fiyat tablosu */
.page-slug-kase-olcu-ve-fiyatlari .entry-content {
  font-size: 16px;
  line-height: 1.75;
}
.page-slug-kase-olcu-ve-fiyatlari .km-kase-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin: 1rem 0;
}
.page-slug-kase-olcu-ve-fiyatlari .km-kase-table th {
  background: #f8f9fa;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  border: 1px solid #e9ecef;
}
.page-slug-kase-olcu-ve-fiyatlari .km-kase-table td {
  padding: 12px 15px;
  border: 1px solid #e9ecef;
}

/* Responsive kaşe tablosu */
@media (max-width: 782px) {
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table { display: block; }
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table thead { display: none; }
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table tbody { display: block; }
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
  }
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 15px;
  }
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table td:last-child { border-bottom: none; }
  .page-slug-kase-olcu-ve-fiyatlari .km-kase-table td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 1rem;
    color: #6c757d;
    min-width: 120px;
  }
}

/* WooCommerce mini-cart */
.widget_shopping_cart { font-size: 14px; }
.widget_shopping_cart .cart_list li {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.widget_shopping_cart .buttons a {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 600;
}

/* Küçük yardımcı stiller */
.km-badge{display:inline-block;font-size:12px;line-height:1;border-radius:999px;padding:6px 10px;margin-left:8px;background:#eef5ff;border:1px solid #d9e7ff}
.km-badge--free{background:#e8ffe8;border-color:#c9f3c9}

/* =============== ÖZEL CSS BİTİŞ =============== */
