/* ============================================
   NOS SÉLECTIONS - Articles par menu dynamique
   ============================================ */

.selections-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.selections-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.selections-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary, #2563eb);
    margin-bottom: 0.8rem;
}

.selections-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--black, #1a1a2e);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.selections-divider {
    width: 60px;
    height: 3px;
    background: var(--primary, #2563eb);
    border-radius: 3px;
    margin: 0 auto;
}

/* Bloc menu */
.selections-menu-block {
    margin-bottom: 4rem;
}

.selections-menu-block:last-child {
    margin-bottom: 1rem;
}

.selections-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--gray-light, #f5f5f5);
}

.selections-menu-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--black, #1a1a2e);
    margin: 0;
}

.selections-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.selections-menu-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

.selections-menu-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.selections-menu-link:hover svg {
    transform: translateX(3px);
}

/* Grille produits */
.selections-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Carte produit */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.05);
}

.product-card-category {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--black, #1a1a2e);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.product-card-fav {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    padding: 0;
    z-index: 2;
}

.product-card-fav svg {
    width: 18px;
    height: 18px;
    stroke: #999;
    fill: none;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.product-card-fav:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.product-card-fav:hover svg {
    stroke: var(--accent, #e94560);
}

.product-card-fav.active svg {
    fill: var(--accent, #e94560);
    stroke: var(--accent, #e94560);
}

.product-card-body {
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black, #1a1a2e);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary, #2563eb);
    margin-bottom: 0.8rem;
}

/* ===== ACTIONS CARTE PRODUIT ===== */
.product-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.product-card-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex: 1;
    padding: 0.65rem 0.5rem;
    background: #f3f4f6;
    color: #1a1a2e;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.product-card-details:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.product-card-details svg {
    width: 14px;
    height: 14px;
}

.product-card-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex: 1;
    padding: 0.65rem 0.5rem;
    background: var(--black, #1a1a2e);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.product-card-add:hover {
    background: var(--primary, #2563eb);
    transform: translateY(-1px);
}

.product-card-add svg {
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .selections-section {
        padding: 3rem 1.2rem 1.5rem;
    }
    .selections-title {
        font-size: 2rem;
    }
    .selections-menu-title {
        font-size: 1.4rem;
    }
    .selections-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 576px) {
    .selections-section {
        padding: 2.5rem 1rem 1rem;
    }
    .selections-header {
        margin-bottom: 2.5rem;
    }
    .selections-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    .selections-title {
        font-size: 1.6rem;
    }
    .selections-menu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .selections-menu-title {
        font-size: 1.3rem;
    }
    .selections-menu-link {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    .selections-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .product-card-body {
        padding: 0.7rem 0.8rem 0.8rem;
    }
    .product-card-name {
        font-size: 0.85rem;
    }
    .product-card-price {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    .product-card-details,
    .product-card-add {
        font-size: 0.72rem;
        padding: 0.55rem 0.4rem;
    }
}

@media (max-width: 400px) {
    .selections-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}