/*
Theme Name: Deha Agricola Child
Description: Agricola teması için child theme. Ürün listesi ve ürün detayı.
Author: Deha Agro
Template: agricola
Version: 1.0.0
*/

.deha-urunler details { border-bottom: 1px solid #ddd; padding: 14px 0; }
.deha-urunler summary { cursor: pointer; font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.deha-urunler summary::-webkit-details-marker { display: none; }
.deha-urunler summary::after { content: "+"; font-size: 26px; line-height: 1; }
.deha-urunler details[open] summary::after { content: "–"; }
.deha-urun-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 20px 0; }
.deha-urun-kart { text-align: center; text-decoration: none; color: inherit; }
.deha-urun-kart img { width: 100%; height: auto; }
.deha-urun-kart span { display: block; margin-top: 8px; font-weight: 500; }
.deha-urun-detay .deha-pdf-btn { display: inline-block; margin-top: 20px; padding: 10px 20px; background: #2e7d32; color: #fff; text-decoration: none; border-radius: 4px; }

/* Tekil ürün: öne çıkan görsel küçük, PDF iframe tam genişlik */
.single-urun .wp-post-image { display: block; max-width: 300px; height: auto; margin: 0 auto 20px; }
.deha-pdf-frame { display: block; width: 100%; height: 500px; border: 0; margin-top: 20px; }
.single-urun .entry-content img { max-width: 300px; height: auto; display: block; margin: 0 auto 20px; }
.deha-pdf-frame { width: 100%; height: 500px; }
.single-urun .entry-content img { max-height: 300px; width: auto; max-width: 100%; }
.single-urun .author_info, .single-urun .post_meta_likes { display: none !important; }
