/* Breadcrumb */
.breadcrumb-section {
    padding: 1.5rem 0 1rem;
    background: white;
}

.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 panier */
.cart-section {
    padding: 2rem 0 4rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

/* Tableau Desktop */
.cart-table-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-table {
    width: 100%;
    margin-bottom: 0;
}

.cart-table thead {
    border-bottom: 2px solid #e9ecef;
}

.cart-table th {
    font-weight: 600;
    color: #333;
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
}

.cart-table td {
    padding: 1.5rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.product-info-panier {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panier-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-details {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.product-price-text {
    color: #6c757d;
    font-size: 0.85rem;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.4rem;
}

.btn-delete {
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.btn-delete:hover {
    color: #dc3545;
}

/* Liste mobile */
.cart-mobile-list {
    display: none;
}

.cart-mobile-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mobile-item-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-panier-product-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mobile-product-info {
    flex: 1;
}

.mobile-product-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.mobile-product-price {
    color: #6c757d;
    font-size: 0.9rem;
}

.mobile-product-quantity {
    color: #6c757d;
    font-size: 0.85rem;
}

.mobile-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.mobile-total-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.mobile-total-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* Section résumé */
.checkout-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--biir-burgundy);
    box-shadow: 0 0 0 0.2rem rgba(107, 41, 66, 0.15);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-label {
    color: #6c757d;
}

.summary-value {
    color: #333;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 2px solid #e9ecef;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    background: var(--biir-burgundy);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: #4A1F30;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .cart-table-wrapper {
        display: none;
    }

    .cart-mobile-list {
        display: block;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .checkout-section {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .breadcrumb-section {
        padding: 1rem 0 0.5rem;
    }

    .cart-section {
        padding: 1rem 0 2rem;
    }

    .cart-mobile-item {
        padding: 1rem;
    }
}