/* ============================================================
   Ürün detayı: "Ürün Açıklaması" kartı.
   Sağdaki yorum kartıyla (.pd-col-side .pc-wrap) aynı görsel dil ve aynı
   üst hiza (başlık her iki kartın da içinde).
   Daralt/genişlet davranışı product-detail-description.js'te.
   ============================================================ */

.pd-desc-card {
    padding: 28px 30px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    box-sizing: border-box;
}

/* Başlık: yorum kartındaki .pc-title ile aynı ölçü/ağırlık. */
.pd-desc-title {
    margin: 0 0 18px;
    padding-bottom: 16px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f172a;
    border-bottom: 1px solid #eef2f7;
}

/* Daralmış yükseklik kart içinde; fade beyaz kart zeminiyle uyumlu. */
.pd-desc-card .product-long-description { max-height: 380px; }
.pd-desc-card .product-long-description.is-expanded { max-height: none; }
.pd-desc-card .product-long-description__fade { height: 96px; }

/* Buton: kart içinde, altta ortalı. Alan baştan ayrılır (visibility) ki JS
   butonu gösterdiğinde içerik/kart yüksekliği kaymasın (CLS). */
.pd-desc-card .product-long-description__toggle {
    display: flex;
    visibility: hidden;
    margin: 16px auto 0;
}
.pd-desc-card .product-long-description__toggle.is-visible { visibility: visible; }
/* İçerik kısaysa (JS .is-static ekler) buton alanı kapatılır. */
.pd-desc-card .product-long-description.is-static + .product-long-description__toggle { display: none; }

/* ---------- Tipografi (hem biçimlendirilmiş hem ham HTML açıklama) ---------- */
.pd-desc-content {
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
    overflow-wrap: anywhere;
}
.pd-desc-content > :first-child { margin-top: 0; }
.pd-desc-content > :last-child { margin-bottom: 0; }
.pd-desc-content p { margin: 0 0 12px; }
.pd-desc-content strong, .pd-desc-content b { color: #0f172a; font-weight: 600; }
.pd-desc-content a { color: #1c325f; text-decoration: underline; text-underline-offset: 2px; }
.pd-desc-content h2, .pd-desc-content h3, .pd-desc-content h4 {
    margin: 20px 0 8px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #0f172a;
}
.pd-desc-content h2 { font-size: 18px; }
.pd-desc-content h3 { font-size: 16px; }
.pd-desc-content h4 { font-size: 15px; }
.pd-desc-content ul, .pd-desc-content ol { margin: 0 0 12px; padding-left: 1.25em; }
.pd-desc-content li { margin-bottom: 6px; }
.pd-desc-content li::marker { color: #1c325f; }
.pd-desc-content table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 14px; }
.pd-desc-content th, .pd-desc-content td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #eef2f7; }
.pd-desc-content th { font-weight: 600; color: #0f172a; background: #f8fafc; }
.pd-desc-content img { max-width: 100%; height: auto; border-radius: 12px; }

/* ---------- Biçimlendirilmiş açıklama ---------- */
.pd-desc-content .pd-desc-lead { color: #1e293b; }
.pd-desc-content .pd-desc-heading { margin: 18px 0 6px; font-size: 15px; }

/* "Teknik Özellikler" gibi ara başlık: küçük, büyük harf, çizgili. */
.pd-desc-content .pd-desc-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1c325f;
}
.pd-desc-content .pd-desc-subtitle::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e2e8f0;
}

/* Özellik tablosu: etiket solda (soluk), değer sağda (koyu), satır çizgili. */
.pd-desc-specs {
    margin: 0 0 4px;
    border-top: 1px solid #eef2f7;
}
.pd-desc-spec {
    display: grid;
    grid-template-columns: minmax(120px, 40%) 1fr;
    gap: 16px;
    padding: 11px 2px;
    border-bottom: 1px solid #eef2f7;
}
.pd-desc-spec:nth-child(even) { background: #fafbfd; }
.pd-desc-spec dt {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}
.pd-desc-spec dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    color: #0f172a;
}
.pd-desc-specs + .pd-desc-text { margin-top: 16px; }

/* Açıklama yoksa yer tutucu da kartın içinde. */
.pd-desc-card .pd-desc-empty { margin: 0; }

@media (max-width: 640px) {
    .pd-desc-card { padding: 20px 18px; border-radius: 16px; }
    .pd-desc-title { font-size: 21px; }
    .pd-desc-spec { grid-template-columns: 1fr; gap: 2px; padding: 10px 2px; }
    .pd-desc-spec dt { font-size: 12.5px; }
}
