/* 
 * Doqa Ahşap - Teklif Listesi Stilleri 
 */

.doqa-teklif-container {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif; /* Veya temanızın fontu */
}

.teklif-baslik {
    text-align: center;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.teklif-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

/* Sol Taraf: Tablo */
.teklif-tablo-alani {
    flex: 1 1 65%;
    min-width: 300px;
}

.teklif-tablosu {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.teklif-tablosu th {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.teklif-tablosu th.col-sil { width: 50px; text-align: center; }
.teklif-tablosu th.col-detay { width: auto; }
.teklif-tablosu th.col-adet { width: 120px; text-align: center; }

.teklif-item td {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.teklif-remove {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    display: inline-block;
    padding: 5px;
}

.teklif-remove:hover {
    color: #ff0000;
}

.urun-bilgi {
    display: flex;
    align-items: center;
    gap: 20px;
}

.urun-gorsel img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background-color: #f9f9f9;
}

.urun-isim {
    display: flex;
    flex-direction: column;
}

.urun-kategori {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.urun-isim .isim {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

/* Adet Kontrolü - WooCommerce'in varsayılan yapısını ezer */
.adet-kontrol {
    display: flex;
    justify-content: center;
}

.adet-kontrol .quantity {
    display: flex;
    border: 1px solid #ddd;
    align-items: center;
}

.adet-kontrol .quantity input.qty {
    width: 40px;
    height: 35px;
    text-align: center;
    border: none;
    -moz-appearance: textfield;
}

.adet-kontrol .quantity input::-webkit-outer-spin-button,
.adet-kontrol .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.teklif-uyari {
    font-size: 13px;
    color: #555;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sağ Taraf: Form */
.teklif-form-alani {
    flex: 1 1 30%;
    min-width: 300px;
}

#doqa-teklif-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-grup input,
.form-grup select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-grup input:focus,
.form-grup select:focus {
    border-color: #000;
}

.kupon-grup {
    margin-top: 10px;
}

.kupon-grup label {
    display: block;
    font-size: 11px;
    color: #777;
    margin-bottom: 5px;
}

.btn-teklif-iste {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-teklif-iste:hover {
    background-color: #333;
}

#teklif-mesaj {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.teklif-bos-mesaj {
    text-align: center;
    font-size: 18px;
    padding: 50px 0;
    color: #666;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .teklif-grid {
        flex-direction: column;
    }
    
    .teklif-tablosu th.col-adet {
        width: 80px;
    }
}
