.product-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    /* background-position: center; */
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    background-repeat: no-repeat;
}

.breadcrumb-nav {
    background: #af9130;
    display: flex;
    justify-content: center;
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    font-size: 23px;
    font-weight: bold;
}

.breadcrumb-wrapper {
    text-transform: uppercase;
}

.breadcrumb-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: white;
}

.breadcrumb-separator {

    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: white;
    font-weight: bold;
}

/* BOUTIQUE.CSS - Styles pour la page boutique avec menu accordéon */

/* Breadcrumb personnalisé */

/* Sidebar Styles */
.sidebar-card {
    border: none;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.sidebar-card .card-header {
    background: #af9130;
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem;
    border: none;
}

.sidebar-card .card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding: 0 !important;
}

/* Scrollbar personnalisée */
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #af9130 0%, #764ba2 100%);
    border-radius: 10px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #af9130 0%, #6a4190 100%);
}

/* Catégories de base */
.category-item {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    color: #495057;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    position: relative;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background: #af9130;
    color: white;
    padding-left: 25px;
}

.category-item.active {
    background: #af9130;
    color: white;
}

.category-item .fa-tag,
.category-item .fa-store,
.category-item .fa-circle,
.category-item .fa-circle-notch {
    transition: all 0.3s ease;
    width: 16px;
    text-align: center;
}

.category-item.active .fa-tag,
.category-item.active .fa-store,
.category-item.active .fa-circle,
.category-item.active .fa-circle-notch {
    color: white;
}

/* Catégories parentes avec enfants */
.category-parent {
    border-bottom: 1px solid #f8f9fa;
}

.category-header {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    color: #495057;
    font-weight: 600;
}

.category-header:hover {
    background: #af9130;
    color: white;
}

.category-header .category-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #6c757d;
}

.category-parent.open .category-header {
    background: #af9130;
    color: white;
}

.category-parent.open .category-header .category-arrow {
    transform: rotate(180deg);
    color: #0d6efd;
}

/* Enfants des catégories */
.category-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #fafafa;
}

.category-parent.open .category-children {
    max-height: 500px;
}

/* Sous-catégories */
.sub-parent {
    border-bottom: none;
}

.sub-header {
    padding: 10px 20px 10px 30px;
    font-weight: 500;
    font-size: 0.95rem;
    background-color: #f8f9fa;
}

.sub-header:hover {
    background-color: #e9ecef;
}

.sub-parent.open .sub-header {
    background-color: #e3f2fd;
}

.sub-children {
    background-color: #f5f5f5;
}

.sub-item {
    padding: 8px 20px 8px 40px;
    font-size: 0.9rem;
    font-weight: 400;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e9ecef;
}

.sub-item:hover {
    background-color: #e9ecef;
    padding-left: 45px;
}

.sub-item:last-child {
    border-bottom: none;
}

/* Icônes spécifiques */
.sub-header .fa-circle {
    font-size: 6px;
    color: #6c757d;
}

.sub-item .fa-circle-notch {
    font-size: 6px;
    color: #adb5bd;
}

/* Search Styles */
.sidebar-card .input-group {
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-card .input-group-text {
    background: linear-gradient(135deg, #af9130 0%, #764ba2 100%);
    border: none;
    color: white;
}

.sidebar-card .form-control {
    border: 1px solid #e9ecef;
    border-left: none;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.sidebar-card .form-control:focus {
    border-color: #af9130;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Products Grid */
#products-container {
    min-height: 400px;
}

/* Spinner de chargement */
.spinner-border.text-primary {
    color: #af9130 !important;
    width: 3rem;
    height: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-scroll {
        max-height: 300px;
    }

    .category-header {
        padding: 10px 15px;
    }

    .category-item {
        padding: 10px 15px;
    }

    .sub-header {
        padding: 8px 15px 8px 25px;
    }

    .sub-item {
        padding: 6px 15px 6px 35px;
    }
}

.card-text {
    margin-bottom: 0;
}

.btn-primary {
    background-color: #af9130;
    border-color: #af9130
}

/* ================== Sidebar ================== */
.card.sidebar-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card.sidebar-card .card-header {
    background-color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    color: #af9130;
    border-bottom: 1px solid #eaeaea;
}

/* Categories without list-group */
.category-item {
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.category-item:hover {
    background-color: #af9130;
    color: #fff;
}

.category-item.active {
    background-color: #af9130;
    color: #fff;
}

/* Search Input */
.card.sidebar-card .input-group .form-control {
    border-radius: 8px;
    border-left: 0;
}

.card.sidebar-card .input-group .input-group-text {
    border-radius: 8px 0 0 8px;
    background: #fff;
    border-right: 0;
    color: #6c757d;
}

.sidebar-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.25rem;
}

/* ================== Products ================== */
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.product-card .card-title a {
    font-weight: 600;
    color: #212529;
    transition: color 0.2s;
}

.product-card .card-title a:hover {
    color: #af9130;
}

/* Quantity Buttons */
.quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn.plus,
.quantity-btn.minus {
    border: 1px solid #af9130;
    color: #af9130;
    background: #fff;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #af9130;
    color: #fff;
}

/* Add to cart button always at bottom */
.add-to-cart-form {
    margin-top: auto;
}