/* ================================================================= */
/* --- MƏHSUL DETAL SƏHİFƏSİ STİLİ --- */
/* ================================================================= */

/* Naviqasiya İzləri (Breadcrumb) */
.breadcrumb-nav {
    padding: 20px 0 10px 0;
    font-size: 14px;
    color: #A0908C;
}
.breadcrumb-nav a {
    color: #6C544F;
}
.breadcrumb-nav a:hover {
    color: #B8860B;
}
.breadcrumb-nav i {
    font-size: 10px;
    margin: 0 8px;
}
.breadcrumb-nav span {
    color: #B8860B;
    font-weight: bold;
}

/* Əsas Detal Bölməsi */
.product-detail-section {
    padding: 30px 0;
    background-color: #F8F8F4;
}

.product-detail-wrapper {
    display: flex;
    gap: 40px;
}

/* Şəkil Qalereyası (Sol tərəf) */
.product-gallery {
    flex-basis: 55%;
}

.main-image-container {
    width: 100%;
    height: 450px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}
.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail-images .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #E0DED1;
    border-radius: 5px;
    cursor: pointer;
    transition: border 0.3s, transform 0.2s;
}

.thumbnail-images .thumbnail:hover {
    border-color: #B8860B;
    transform: scale(1.05);
}

.thumbnail-images .thumbnail.active {
    border-color: #B8860B;
    box-shadow: 0 0 0 2px #B8860B;
}

/* Məhsul Məlumatı (Sağ tərəf) */
.product-info-details {
    flex-basis: 45%;
    background-color: #FFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.product-detail-title {
    font-size: 30px;
    color: #4B3832;
    margin-top: 0;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #A0908C;
    margin-bottom: 15px;
}

.product-rating .gold {
    color: #FFD700;
}

.separator {
    border: none;
    border-top: 1px solid #E0DED1;
    margin: 15px 0;
}

.product-price-block {
    margin-bottom: 20px;
}

.product-price-block .old-price {
    text-decoration: line-through;
    color: #A0908C;
    font-size: 20px;
    margin-right: 15px;
}

.product-price-block .current-price {
    font-size: 36px;
    font-weight: bold;
    color: #B8860B;
}

.availability {
    font-weight: bold;
    margin-bottom: 20px;
}
.availability.in-stock {
    color: #5cb85c;
}
.availability i {
    margin-right: 5px;
}

.product-options label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #4B3832;
}

.option-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #E0DED1;
    border-radius: 5px;
    margin-bottom: 25px;
    background-color: #F8F8F4;
    color: #4B3832;
}

/* Düymələr */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 50%;
}

.btn-order {
    background-color: #B8860B;
    color: white;
}
.btn-order:hover {
    background-color: #9A6F0B;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
}

.delivery-info p {
    font-size: 14px;
    color: #6C544F;
    margin: 5px 0;
}
.delivery-info i {
    color: #B8860B;
    margin-right: 8px;
}

/* Təsvir və Xüsusiyyətlər Bölməsi */
.description-section {
    padding: 20px 0 50px 0;
    background-color: #FFF;
}

.description-section .section-title {
    font-size: 28px;
    color: #4B3832;
    margin-bottom: 20px;
    border-bottom: 2px solid #E0DED1;
    padding-bottom: 10px;
}

.description-content p {
    margin-bottom: 15px;
    color: #4B3832;
}

.features-list {
    background-color: #F0EAD6;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}
.features-list h4 {
    color: #4B3832;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px dashed #B8860B;
    padding-bottom: 5px;
}
.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.features-list li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #6C544F;
}
.features-list li i {
    color: #B8860B;
    margin-right: 8px;
}


/* Oxşar Məhsullar Bölməsi */
.related-products-section {
    padding: 30px 0 50px 0;
    text-align: center;
    background-color: #F8F8F4;
}

.related-products-section .section-title {
    font-size: 30px;
    color: #4B3832;
    margin-bottom: 30px;
}

/* Oxşar Məhsullar üçün 4 Sütunlu Grid istifadə edirik */
.related-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* Oxşar Məhsul Kartları üçün əsas .product-card stili istifadə olunur */
/* Qiymət tək qalanda alt footer stillərini tənzimləyək */
.related-products-section .product-card .product-footer {
    justify-content: center;
    border: none;
    padding-top: 0;
}
.related-products-section .product-card .product-body {
    padding: 10px 15px;
}


/* ================================================================= */
/* --- RESPONSİV DETAL SƏHİFƏSİ DÜZƏLİŞLƏRİ (MOBİL) --- */
/* ================================================================= */
@media (max-width: 768px) {
    
    .product-detail-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }
    
    .product-gallery, .product-info-details {
        flex-basis: 100%;
    }
    
    .main-image-container {
        height: 300px; /* Mobil üçün kiçik şəkil */
    }
    
    .thumbnail-images {
        justify-content: center;
    }
    .thumbnail-images .thumbnail {
        width: 60px;
        height: 60px;
    }

    .product-info-details {
        padding: 20px;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .product-price-block .current-price {
        font-size: 30px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%; /* Mobil üçün tam genişlikdə düymələr */
    }

    /* Təsvir bölməsi */
    .description-section {
        padding: 10px 10px 30px 10px;
    }
    
    .description-section .section-title {
        font-size: 22px;
    }
    
    /* Oxşar Məhsullar 2x2 */
    .related-products-section {
        padding: 30px 10px;
    }
    .related-products-section .section-title {
        font-size: 24px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 mobil grid */
        gap: 15px;
    }
    
    .breadcrumb-nav {
        padding-left: 10px;
    }
}