/* ==========================================================================
   Ürün Detay Sayfası Stilleri (Slider Renk Konseptine Göre Revize Edildi)
   ========================================================================== */

:root {
    --pd-red: #d90429;
    --pd-red-hover: #ef233c;
    --pd-red-soft: rgba(217, 4, 41, 0.08);
    --pd-red-neon: rgba(217, 4, 41, 0.4);
    --pd-dark: #0d1117;
    --pd-title: #0f172a;
    --pd-text: #475569;
    --pd-border: #e2e8f0;
}

.product-detail-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.product-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Yapısı */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--pd-border);
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Sol Kolon: Görsel Galeri */
.product-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-box {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--pd-border);
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-image-box:hover img {
    transform: scale(1.03);
}

.zoom-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(217, 4, 41, 0.9);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
}

/* Küçük Galeri Görselleri Grid */
.gallery-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
}

.thumb-item {
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--pd-border);
    transition: all 0.2s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--pd-red);
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
}

/* Sağ Kolon: Bilgiler ve Butonlar */
.product-summary-wrapper {
    display: flex;
    flex-direction: column;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pd-red-soft);
    color: var(--pd-red);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 15px;
    border: 1px solid rgba(217, 4, 41, 0.15);
}

.product-title {
    font-size: 2.1rem;
    color: var(--pd-title);
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.25;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: var(--pd-red);
    border-radius: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 8px var(--pd-red-neon);
}

.product-short-desc {
    color: var(--pd-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ==========================================================================
   Resimdeki 4'lü Simgeli Özellik Kutuları (Tasarım, Üretim, Kalite, Servis)
   ========================================================================== */
.product-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 10px 0 30px 0;
    padding-top: 20px;
    border-top: 1px dashed var(--pd-border);
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff0f2;
    border: 1px solid rgba(217, 4, 41, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.feature-icon-circle i {
    font-size: 1.35rem;
    color: var(--pd-red);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-circle {
    background: var(--pd-red);
    border-color: var(--pd-red);
    box-shadow: 0 6px 18px rgba(217, 4, 41, 0.35);
}

.feature-card:hover .feature-icon-circle i {
    color: #ffffff;
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pd-red);
    margin: 0 0 6px 0;
}

.feature-card-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .product-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
}

/* Butonlar */
.action-buttons-box {
    display: flex;
    gap: 15px;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-whatsapp {
    flex: 1;
    min-width: 200px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #1da851;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-offer {
    flex: 1;
    min-width: 180px;
    background: var(--pd-red);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
}

.btn-offer:hover {
    background: var(--pd-red-hover);
    box-shadow: 0 6px 18px rgba(239, 35, 60, 0.4);
}

/* Alt Alandaki Tab Yapısı */
.product-tabs-section {
    margin-top: 50px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--pd-border);
}

.tab-header-nav {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid var(--pd-border);
    overflow-x: auto;
}

.tab-link {
    padding: 18px 28px;
    background: transparent;
    border: none;
    font-size: 0.98rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-link:hover {
    color: var(--pd-red);
}

.tab-link.active {
    color: var(--pd-red);
    background: #ffffff;
    border-bottom-color: var(--pd-red);
}

.tab-content-container {
    padding: 35px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-inner-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    color: var(--pd-title);
}

.tab-inner-content p {
    color: var(--pd-text);
    line-height: 1.7;
    font-size: 0.98rem;
}