/* Breadcrumb */
.breadcrumb-section {
    padding: 1.5rem 0 1rem;
    background-color: #f8f9fa;
}

.custom-breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    color: var(--biir-burgundy);
}

.custom-breadcrumb .active {
    color: #333;
    font-weight: 500;
}

/* Section produit */
.product-detail-section {
    padding: 2rem 0 4rem;
}

/* Header Desktop */
.product-header-desktop {
    margin-bottom: 2rem;
}

.product-title-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.product-price-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.price-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--biir-burgundy);
}

.price-old {
    font-size: 1.3rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.badge-promo {
    background: var(--biir-burgundy);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-add-cart-header {
    background: var(--biir-burgundy);
    color: white;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: auto;
}

.btn-add-cart-header:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Galerie d'images simplifiée */
.image-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 5px 0;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--biir-burgundy);
    transform: scale(1.05);
}

.thumbnail-item:hover {
    border-color: var(--biir-burgundy);
    opacity: 0.8;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation images */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.image-nav-btn:hover {
    background: rgba(0,0,0,0.8);
}

.image-nav-btn.prev {
    left: 10px;
}

.image-nav-btn.next {
    right: 10px;
}

/* Contenu */
.product-content {
    padding-left: 2rem;
}

.detail-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.detail-section-title:first-child {
    margin-top: 0;
}

.product-description-text {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Spécifications */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.spec-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.3rem;
}

.spec-value {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

/* Tags */
.product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag-badge {
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #495057;
}

/* Section similaires */
.similar-products-section {
    /* margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0; */
    padding-bottom: 4rem;
}

.section-title-similar {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Product Cards pour similaires */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: #f8f9fa;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.product-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--biir-burgundy);
}

.product-price-old {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.product-action-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.product-action-btn:hover {
    background: var(--biir-burgundy);
    border-color: var(--biir-burgundy);
    color: white;
}

/* .main-image-container img{
    width: 100%;
} */

/* Responsive */
@media (max-width: 991px) {
    .main-image-container {
        height: 400px;
    }

    .product-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .product-title-main {
        font-size: 1.8rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .product-header-desktop {
        margin-bottom: 1.5rem;
    }

    .product-price-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .btn-add-cart-header {
        margin-left: 0;
        margin-top: 0.75rem;
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }

    .price-old {
        font-size: 1rem;
        margin-right: 5px;
    }
}

@media (max-width: 575px) {
    .main-image-container {
        height: 300px;
    }

    .product-title-main {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .price-value {
        font-size: 1.3rem;
    }

    .price-label {
        font-size: 0.85rem;
    }

    .badge-promo {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .product-content {
        margin-top: 1.5rem;
    }

    .detail-section-title {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
}