/* ==========================================================================
   Ürün Detay Sayfası - Modern Premium Tasarım
   ========================================================================== */

/* --- Layout --- */
.urun-detay-section {
    padding: 1.5rem 0 2rem;
}

.urun-detay-container {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 0;
    background: white;
    border-radius: 20px;
    border: 1.5px solid #edf0f4;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Sol: Görsel --- */
.urun-detay-image-wrapper {
    background: linear-gradient(160deg, #f4f7fb 0%, #e8edf5 100%);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
    align-self: start;
    min-height: auto;
    border-radius: 20px 0 0 20px;
    border-right: 1px solid #edf0f4;
}

.urun-detay-image-container {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.urun-detay-image {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.urun-detay-image:hover {
    transform: scale(1.05);
}

/* Stok Durumu */
.stok-durumu {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 10;
}

.stok-durumu.stok-var {
    color: #059669;
    border: 1.5px solid #a7f3d0;
}

.stok-durumu.stok-yok {
    color: #dc2626;
    border: 1.5px solid #fecaca;
}

.stok-icon {
    font-weight: 800;
}

/* Rozetler */
.urun-detay-badge {
    position: absolute;
    width: 72px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.1));
}

.badge-premium {
    top: 1.5rem;
    right: 1.5rem;
}

.badge-garanti {
    bottom: 1.5rem;
    right: 1.5rem;
}

/* --- Sağ: Bilgiler --- */
.urun-detay-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.urun-detay-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    text-align: left;
}

.urun-detay-info .urun-marka {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.urun-detay-info .urun-baslik {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- Fiyat Kartı --- */
.urun-price-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}

.urun-price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.urun-price-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.urun-fiyat {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.fiyat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: -0.03em;
}

.fiyat-contact {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    font-style: italic;
}

.fiyat-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
}

.fiyat-notu {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    line-height: 1.5;
}

.fiyat-notu::before {
    content: "ℹ";
    font-style: normal;
    font-weight: 700;
    color: #3b82f6;
    flex-shrink: 0;
}

/* --- CTA Butonları --- */
.urun-fiyat-cta {
    margin-top: 1.25rem;
}

.urun-fiyat-cta-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 0.9rem;
}

.urun-fiyat-cta-actions {
    display: flex;
    gap: 0.75rem;
}

.cta-button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 48px;
    min-width: 44px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #20BD5A);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.cta-whatsapp:hover {
    background: linear-gradient(135deg, #20BD5A, #128C7E);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.cta-phone {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.cta-phone:hover {
    background: linear-gradient(135deg, #1e3a8a, #172554);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* --- Marka Bilgi Kartı --- */
.brand-info-card {
    background: white;
    border: 1.5px solid #edf0f4;
    padding: 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.75rem;
    display: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* --- Teknik Özellikler --- */
.urun-specs {
    margin-top: 0.5rem;
}

.urun-specs h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.spec-item {
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.spec-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.spec-label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.06em;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

/* --- Açıklama --- */
.urun-aciklama {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid #f1f5f9;
}

.urun-aciklama h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.urun-aciklama p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* --- Benzer Ürünler --- */
.benzer-urunler-section {
    padding: 2.5rem 0;
}

.benzer-urunler-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.benzer-urunler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.benzer-urun-card {
    background: white;
    border: 1.5px solid #edf0f4;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.benzer-urun-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d7e2;
}

.benzer-urun-image {
    height: 160px;
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benzer-urun-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.benzer-urun-info {
    padding: 1.1rem;
}

.benzer-urun-marka {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.benzer-urun-isim {
    font-weight: 700;
    color: #1e293b;
    margin: 0.2rem 0 0.4rem 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.benzer-urun-spec {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.benzer-urun-fiyat {
    font-weight: 800;
    color: #1e40af;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .urun-detay-container {
        grid-template-columns: 1fr;
        overflow: hidden;
        border-radius: 16px;
    }

    .urun-detay-image-wrapper {
        position: relative;
        top: auto;
        align-self: auto;
        border-right: none;
        border-bottom: 1px solid #edf0f4;
        border-radius: 16px 16px 0 0;
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .urun-detay-image-container {
        height: 260px;
    }

    .urun-detay-info {
        padding: 1.75rem;
    }

    .urun-detay-info .urun-baslik {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .urun-detay-section {
        padding: 1rem 0;
    }

    .urun-detay-container {
        border-radius: 14px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .urun-detay-info {
        padding: 1.25rem;
    }

    .urun-detay-info .urun-baslik {
        font-size: 1.35rem;
    }

    .fiyat-value {
        font-size: 2rem;
    }

    .urun-fiyat-cta-actions {
        flex-direction: column;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .urun-detay-image-container {
        height: 220px;
    }

    .benzer-urunler-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: #2563eb;
}

.breadcrumbs span {
    color: #cbd5e1;
}

/* ==========================================================================
   Yorum Sistemi
   ========================================================================== */

.yorum-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.yorum-section-baslik {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

/* Yorum Formu */
.yorum-form {
    background: white;
    border: 1.5px solid #edf0f4;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.yorum-form-alan {
    margin-bottom: 1.1rem;
}

.yorum-form-alan label {
    display: block;
    font-size: 0.825rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.yorum-form-alan input[type="text"],
.yorum-form-alan textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #334155;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}

.yorum-form-alan input[type="text"]:focus,
.yorum-form-alan textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: white;
}

.yorum-form-alan textarea {
    resize: vertical;
    min-height: 100px;
}

/* Yıldız Seçimi */
.yorum-yildiz-secim {
    display: flex;
    gap: 0.2rem;
}

.yildiz-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: #d1d5db;
    padding: 0.375rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: transform 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.yildiz-btn:hover,
.yildiz-btn:focus-visible {
    transform: scale(1.2);
}

.yildiz-btn.secili {
    color: #f59e0b;
}

/* Hata Mesajları */
.yorum-hata {
    display: block;
    font-size: 0.775rem;
    color: #ef4444;
    margin-top: 0.3rem;
    min-height: 1.2rem;
    font-weight: 500;
}

/* Karakter Sayacı */
.yorum-karakter-sayac {
    text-align: right;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.yorum-karakter-sayac.limit-asimi {
    color: #ef4444;
    font-weight: 600;
}

/* Gönder Butonu */
.yorum-gonder-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    letter-spacing: 0.01em;
}

.yorum-gonder-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.yorum-gonder-btn:active {
    transform: scale(0.98);
}

/* Başarı Mesajı */
.yorum-basari-mesaj {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

/* Yorum Listesi */
.yorum-listesi {
    margin-top: 1rem;
}

.yorum-listesi-baslik {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.yorum-bos-mesaj {
    text-align: center;
    color: #94a3b8;
    padding: 2rem 1rem;
    font-style: italic;
    font-size: 0.9rem;
}

/* Yorum Kartı */
.yorum-kart {
    background: white;
    border: 1.5px solid #edf0f4;
    border-radius: 14px;
    padding: 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s;
}

.yorum-kart:hover {
    border-color: #d0d7e2;
}

.yorum-kart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.yorum-ad {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.875rem;
}

.yorum-tarih {
    font-size: 0.75rem;
    color: #94a3b8;
}

.yorum-yildizlar {
    margin-bottom: 0.4rem;
}

.yorum-yildizlar .yildiz {
    font-size: 1rem;
    color: #d1d5db;
}

.yorum-yildizlar .yildiz.dolu {
    color: #f59e0b;
}

.yorum-metin {
    color: #475569;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
    font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .yorum-section {
        padding: 0 0.75rem;
        margin: 1.25rem auto;
    }

    .yorum-form {
        padding: 1rem;
        border-radius: 12px;
    }

    .yorum-section-baslik {
        font-size: 1.15rem;
    }

    .yildiz-btn {
        font-size: 1.5rem;
    }

    .yorum-kart {
        padding: 0.875rem;
        border-radius: 12px;
    }
}
