/* ==========================================================================
   Ürün Detay Sayfası - Sade, Prestijli ve Modern Tasarım (Anti-AI Slop)
   ========================================================================== */

:root {
    --pd-primary: var(--theme-primary, #ff8800);
    --pd-primary-hover: var(--theme-primary-dark, #e67700);
    --pd-primary-50: var(--theme-primary-50, #fff7ed);
    --pd-secondary: #0f172a;
    --pd-border: #e2e8f0;
    --pd-border-light: #f1f5f9;
    --pd-bg: #f8fafc;
    --pd-card-bg: #ffffff;
    --pd-text-main: #0f172a;
    --pd-text-muted: #64748b;
    --pd-text-light: #94a3b8;
    --pd-success: #059669;
    --pd-danger: #dc2626;
}

/* ==========================================================================
   Breadcrumb Gezinme Alanı
   ========================================================================== */
.pdetail-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--pd-border);
    padding: 12px 0;
    margin-bottom: 24px;
}

.pdetail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--pd-text-muted);
}

.pdetail-breadcrumb a {
    color: var(--pd-text-muted);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.pdetail-breadcrumb a:hover {
    color: var(--pd-primary);
}

.pdetail-breadcrumb .separator {
    color: #cbd5e1;
    font-size: 0.7rem;
}

.pdetail-breadcrumb .current {
    color: var(--pd-text-main);
    font-weight: 600;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Ana Grid: Sol Geniş Görsel (1.6fr), Sağ Kısa Satın Alma (1fr)
   ========================================================================== */
.pdetail-section {
    padding-bottom: 60px;
}

.pdetail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

/* ==========================================================================
   SOL SÜTUN: Görsel Galeri & Canlı Önizleme
   ========================================================================== */
.pdetail-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdetail-gallery-card {
    background: var(--pd-card-bg);
    border: 1px solid var(--pd-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pdetail-main-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0f172a08;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.pdetail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.pdetail-main-img-box:hover .pdetail-main-img {
    transform: scale(1.02);
}

/* Rozetler */
.pdetail-gallery-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.pdetail-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
}

.pdetail-badge.category {
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
}

.pdetail-badge.discount {
    background: var(--pd-primary, var(--theme-primary, #1b629b));
    color: #ffffff;
}

.pdetail-badge.opensource {
    background: rgba(5, 150, 105, 0.95);
    color: #ffffff;
}

/* Büyüteç Butonu */
.pdetail-zoom-trigger {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    cursor: pointer;
    transition: background 0.15s ease;
    z-index: 2;
}

.pdetail-zoom-trigger:hover {
    background: #0f172a;
}

/* Thumbnails */
.pdetail-thumbnails {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f8fafc;
    border-top: 1px solid var(--pd-border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pdetail-thumb {
    width: 76px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.pdetail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pdetail-thumb:hover {
    border-color: #cbd5e1;
}

.pdetail-thumb.active {
    border-color: var(--pd-primary);
}

/* Canlı Demo & Yönetim Paneli Butonları (Her İkisi de Renkli, Aynı İkonlu) */
.pdetail-demo-section {
    background: var(--pd-card-bg);
    border: 1px solid var(--pd-border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pdetail-demo-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.pdetail-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    background: var(--pd-secondary);
    color: #ffffff !important;
    border: 1px solid var(--pd-secondary);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Canlı Önizleme: Birinci Renk (Hover ile İkincil Renk) */
.pdetail-demo-btn.live {
    background: var(--pd-primary);
    color: #ffffff !important;
    border: 1px solid var(--pd-primary);
}

.pdetail-demo-btn.live:hover {
    background: var(--pd-secondary) !important;
    border-color: var(--pd-secondary) !important;
    color: #ffffff !important;
}

/* Yönetim Paneli: İkincil Renk (Hover ile Birinci Renk) */
.pdetail-demo-btn.admin {
    background: var(--pd-secondary);
    color: #ffffff !important;
    border: 1px solid var(--pd-secondary);
}

.pdetail-demo-btn.admin:hover {
    background: var(--pd-primary) !important;
    border-color: var(--pd-primary) !important;
    color: #ffffff !important;
}

/* Panel Demo Giriş Bilgileri */
.pdetail-creds-chip {
    margin-top: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid var(--pd-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pdetail-creds-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    color: #64748b;
    font-size: 0.82rem;
    white-space: nowrap;
}

.pdetail-creds-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--pd-text-main);
    font-weight: 600;
    font-size: 0.85rem;
    word-break: break-all;
}

/* ==========================================================================
   SAĞ SÜTUN: Satın Alma Kartı (Sade, Ferah, Kutusuz Detaylar)
   ========================================================================== */
.pdetail-sidebar {
    position: sticky;
    top: 88px;
}

.pdetail-buy-card {
    background: var(--pd-card-bg);
    border: 1px solid var(--pd-border);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

/* Başlık */
.pdetail-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--pd-text-main);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 0 0 14px 0;
}

/* Kullanılan Teknolojiler (Kutusuz, Ayrı Ayrı Oval Hap Butonlar) */
.pdetail-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pdetail-oval-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 9999px; /* Tam Oval */
    background: var(--pd-secondary);
    color: #ffffff;
    border: 1px solid var(--pd-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    transition: none !important;
    cursor: default;
    user-select: none;
}

.pdetail-oval-pill:hover {
    background: var(--pd-secondary) !important;
    color: #ffffff !important;
    border-color: var(--pd-secondary) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Fiyat Alanı (Boxsız, Sade ve Ferah) */
.pdetail-price-clean {
    margin-bottom: 20px;
}

.pdetail-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.pdetail-current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pd-text-main);
    letter-spacing: -0.5px;
    line-height: 1;
}

.pdetail-old-price {
    font-size: 1.1rem;
    color: var(--pd-text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.pdetail-save-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
}

.pdetail-price-subtext {
    margin: 8px 0 0 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8rem;
    color: var(--pd-text-muted);
}

/* Satın Alma Butonları (Yan Yana & Kaliteli Renkler) */
.pdetail-actions {
    margin-bottom: 0;
}

.pdetail-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pdetail-btn-cart {
    height: 46px;
    background: var(--pd-primary);
    color: #ffffff;
    border: 1px solid var(--pd-primary);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.pdetail-btn-cart:hover:not(:disabled) {
    background: var(--pd-secondary) !important;
    border-color: var(--pd-secondary) !important;
    color: #ffffff !important;
}

.pdetail-btn-cart.added {
    background: #059669 !important;
    border-color: #059669 !important;
}

.pdetail-btn-cart:disabled,
.pdetail-btn-cart.disabled {
    background: #94a3b8 !important;
    border-color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.pdetail-btn-wa {
    height: 46px;
    background: #059669;
    color: #ffffff !important;
    border: 1px solid #059669;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.pdetail-btn-wa i {
    font-size: 1.22rem;
}

.pdetail-btn-wa:hover {
    background: var(--pd-secondary) !important;
    border-color: var(--pd-secondary) !important;
    color: #ffffff !important;
}

/* Güven & Lisans Maddeleri (Zarif ve Minimalist Liste) */
.pdetail-trust-list {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--pd-border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdetail-trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.4;
}

.pdetail-trust-row i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    flex-shrink: 0;
}

.pdetail-trust-row strong {
    color: #0f172a;
    font-weight: 600;
}

/* ==========================================================================
   ALT ALTA DETAY BLOKLARI (Sade, Temiz Başlıklar, Saçma İkonlar Yok)
   ========================================================================== */
.pdetail-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.pdetail-content-block {
    background: var(--pd-card-bg);
    border: 1px solid var(--pd-border);
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.pdetail-block-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pd-border-light);
    padding-bottom: 14px;
}

.pdetail-block-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pd-text-main);
    margin: 0;
    letter-spacing: -0.3px;
}

/* Zengin Ürün Açıklaması */
.pdetail-rich-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.8;
}

.pdetail-rich-desc h2,
.pdetail-rich-desc h3,
.pdetail-rich-desc h4 {
    color: var(--pd-text-main);
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    font-size: 1.15rem;
}

.pdetail-rich-desc p {
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.8;
}

.pdetail-rich-desc ul {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdetail-rich-desc li {
    position: relative;
    padding-left: 18px;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

.pdetail-rich-desc li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pd-primary);
}

.pdetail-rich-desc li strong {
    color: var(--pd-text-main);
    font-weight: 600;
}

.pdetail-rich-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 14px 0;
}

/* ==========================================================================
   Kompakt Teknik Özellikler Grid (İkon Solda, Birinci Renk Kutu İçinde)
   ========================================================================== */
.pdetail-specs-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pdetail-spec-mini-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.pdetail-spec-mini-item:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.pdetail-spec-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--pd-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem; /* Bi tık küçültülmüş kibar ikon */
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(255, 136, 0, 0.2);
}

.pdetail-spec-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.pdetail-spec-mini-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pdetail-spec-mini-val {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

/* ==========================================================================
   Sade, Akıcı Açılma Animasyonlu SSS
   ========================================================================== */
.pdetail-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdetail-faq-item {
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    overflow: hidden;
}

.pdetail-faq-item.active {
    border-color: #cbd5e1;
    background: #fafafa;
}

.pdetail-faq-question {
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    outline: none;
}

.pdetail-faq-q-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.pdetail-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    flex-shrink: 0;
    transition: transform 0.28s ease, background 0.2s ease, color 0.2s ease;
}

.pdetail-faq-item.active .pdetail-faq-icon {
    transform: rotate(180deg);
    background: var(--pd-secondary);
    color: #ffffff;
}

/* SSS Açılma/Kapanma ve Kapalıyken Sıfır Boşluk Garantisi */
.pdetail-faq-collapse {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.28s ease, visibility 0.28s ease;
}

.pdetail-faq-item.active .pdetail-faq-collapse {
    max-height: 600px;
    visibility: visible;
}

.pdetail-faq-inner {
    padding: 0 18px 14px 18px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
}

.pdetail-faq-item:not(.active) .pdetail-faq-collapse {
    display: none !important;
    max-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#block-faq {
    padding-bottom: 14px;
}

.pdetail-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

/* ==========================================================================
   İlginizi Çekebilecek Diğer Yazılımlar - Anasayfa Şablonu (Anti-AI Slop)
   ========================================================================== */
.pdetail-related-section {
    margin-top: 22px;
}

.pdetail-related-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
}

.pdetail-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pd-text-main);
    letter-spacing: -0.3px;
    margin: 0;
}

.pdetail-related-link {
    color: var(--pd-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.pdetail-related-link:hover {
    color: var(--pd-secondary);
}

.pdetail-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Anasayfa ile Birebir Kart Yapısı - AI Slop Efekti Yok, Kutu Sabit */
.software-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    transform: none !important; /* AI slop efekti yok, kutu zıplamaz */
}

.software-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transform: none !important; /* Kutu yukarı kalkmaz */
}

.software-thumb-box {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8fafc;
    overflow: hidden;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
}

.software-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.software-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

/* Sadece resim büyüsün */
.software-card:hover .software-thumb-box img {
    transform: scale(1.06);
}

.software-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
    pointer-events: none;
}

.software-card:hover .software-thumb-overlay {
    opacity: 1;
}

.software-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 3;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.software-card:hover .software-card-badges {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.software-discount-badge {
    background: var(--pd-primary, var(--theme-primary, #1b629b));
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.software-new-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
}

/* Önizleme / Demo İkon Butonu */
.software-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
    z-index: 4;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.software-card:hover .software-view-btn {
    opacity: 1;
    pointer-events: auto;
}

.software-view-btn:hover {
    background: var(--pd-primary);
    border-color: var(--pd-primary);
}

/* Kart İçeriği */
.software-card-body {
    padding: 16px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.software-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.38;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.software-title a:hover {
    color: var(--pd-primary) !important;
}

.software-category-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.software-category-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--pd-primary);
    background: var(--pd-primary-50);
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Fiyat ve İncele Butonu Satırı */
.software-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.software-price-block {
    display: flex;
    flex-direction: column;
}

.software-current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.4px;
}

.software-was-price {
    font-size: 0.76rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 3px;
}

.software-action-buttons {
    display: flex;
    align-items: center;
}

.btn-card-inspect {
    height: 36px;
    padding: 0 16px;
    border-radius: 9px;
    background: var(--pd-primary, var(--theme-primary, #ff8800));
    border: 1px solid var(--pd-primary, var(--theme-primary, #ff8800));
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    box-shadow: 0 2px 6px rgba(var(--theme-primary-rgb, 255, 136, 0), 0.25);
}

.btn-card-inspect * {
    pointer-events: none;
    color: #ffffff !important;
}

.btn-card-inspect:hover {
    background: var(--pd-primary-hover, var(--theme-primary-dark, #e67700));
    border-color: var(--pd-primary-hover, var(--theme-primary-dark, #e67700));
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 255, 136, 0), 0.35);
    transform: translateY(-1px);
}

.btn-card-inspect i {
    font-size: 0.75rem;
    color: #ffffff !important;
    transition: transform 0.2s ease;
}

.btn-card-inspect:hover i {
    transform: translateX(3px);
}

@media (hover: none), (max-width: 992px) {
    .software-card:hover {
        transform: none !important;
    }
    .software-card:hover .software-view-btn {
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Tam Ekran Lightbox */
.pdetail-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    padding: 20px;
    box-sizing: border-box;
}

.pdetail-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.pdetail-lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pdetail-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.pdetail-lightbox-close:hover {
    background: var(--pd-primary);
}

/* ==========================================================================
   RESPONSIVE UYARLAMALAR
   ========================================================================== */
@media (max-width: 991px) {
    .pdetail-section {
        padding-bottom: 40px;
    }

    .pdetail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pdetail-sidebar {
        position: static;
    }

    .pdetail-specs-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdetail-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .pdetail-breadcrumb-bar {
        padding: 10px 0;
        margin-bottom: 18px;
    }

    .pdetail-buy-card {
        padding: 20px 18px;
    }

    .pdetail-title {
        font-size: 1.3rem;
    }

    .pdetail-current-price {
        font-size: 1.75rem;
    }

    .pdetail-content-block {
        padding: 20px 18px;
    }

    .pdetail-demo-buttons {
        grid-template-columns: 1fr;
    }

    /* Açıklama maddeleri mobilde başlık ve açıklama alt alta */
    .pdetail-rich-desc ul {
        gap: 14px;
    }

    .pdetail-rich-desc li {
        padding-left: 16px;
    }

    .pdetail-rich-desc li::before {
        top: 7px;
    }

    .pdetail-rich-desc li strong {
        display: block;
        margin-bottom: 3px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .pdetail-title {
        font-size: 1.2rem;
    }

    .pdetail-buttons-row {
        grid-template-columns: 1fr;
    }

    .pdetail-specs-mini-grid {
        grid-template-columns: 1fr;
    }

    .pdetail-related-grid {
        grid-template-columns: 1fr;
    }
}
