/* =========================
   SHOP HERO HEADER
   ========================= */

.shop-hero {
    position: relative;
    width: 100%;
    height: 450px;
    max-height: 450px;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* permet à l'image de passer sous la navbar */
    margin-top: -80px;
    padding-top: 80px;
    overflow: hidden;
}

/* Dégradé noir en bas */
.shop-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0)
    );
    pointer-events: none;
}


.shop-hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.85)
    );

    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-hero-title {
    color: #ffffff;
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================
   SHOP – STRUCTURE DE BASE
   ========================= */

.shop {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    
}

/* Titre */
.shop-header {
    margin-bottom: 30px;
}

.shop-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
}

/* Layout principal */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: flex-start; 
}

/* Zone produits */
.shop-products {
    width: 100%;
}

/* Welcome */
.shop-welcome {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px dashed #555;
}

/* Grid produits (temporaire) */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Carte produit fake */
.shop-item {
    height: 160px;
    border: 1px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Filtres */
.shop-filters {
    border: 1px solid #666;
    padding: 20px;
    
}

.filters-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

/* Bouton panier */
.shop-cart-btn {
    display: block;
    margin-top: 20px;
    padding: 12px;
    text-align: center;
    border: 1px solid #666;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.package-title {
    margin-bottom: 10px;
    font-size: 18px;
}

.package-image {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.package-price {
    margin-bottom: 10px;
    font-weight: bold;
}

.package-buy {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #666;
    text-decoration: none;
    font-weight: bold;
}
.shop-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-category-item {
    margin-bottom: 10px;
}

.shop-category-item a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    font-weight: bold;
}



.shop-card-image {
    cursor: pointer;
    width: 100%;
    height: 220px;           /* 👈 taille de l’image visible */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.shop-card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.shop-card-image:hover img {
    transform: scale(1.08);
}
.shop-filters {
    position: relative;
    padding: 60px 35px;
    background-image: url('../img/boutique-filtre-fond.png');
    background-size: cover;     /* 👈 remplit le bloc */
    background-repeat: no-repeat;
    background-position: center;
    border: none;
}
.shop-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 274px;
    height: 47px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    color: #fff;

    transition: transform 0.2s ease, filter 0.2s ease;
    will-change: transform;
}

.shop-filter-btn span {
    pointer-events: none;
}
.filter-hayas {
    background-image: url('../img/filtre-hayas.png');
    transform: translateY(22px);
}
.filter-hayas:hover,
.filter-hayas.active {
    background-image: url('../img/filtre-hayas-survol.png');
transform: translateY(22px) scale(1.03);

}

.filter-sanctions {
    background-image: url('../img/filtre-sanctions.png');
    transform: translateY(22px);
}
.filter-sanctions:hover,
.filter-sanctions.active {
    background-image: url('../img/filtre-sanctions-survol.png');
transform: translateY(22px) scale(1.03);

}


.filter-mysteri-box {
    background-image: url('../img/filtre-mysteri-box.png');
    transform: translateY(22px);
}
.filter-mysteri-box:hover,
.filter-mysteri-box.active {
    background-image: url('../img/filtre-mysteri-box-survol.png');
transform: translateY(22px) scale(1.03);

}



.filter-boosts {
    background-image: url('../img/filtre-boosts.png');
    transform: translateY(22px);
}
.filter-boosts:hover,
.filter-boosts.active {
    background-image: url('../img/filtre-boosts-survol.png');
transform: translateY(22px) scale(1.03);

}


.filter-pass-express-a-vie {
    background-image: url('../img/filtre-pass-express.png');
    transform: translateY(22px);
}
.filter-pass-express-a-vie:hover,
.filter-pass-express-a-vie.active {
    background-image: url('../img/filtre-pass-express-survol.png');
transform: translateY(22px) scale(1.03);

}
.shop-filter-btn {
    transition: background-image 0.15s ease;
}

.shop-filter-btn span {
    display: none;
}
.filter-panier {
    background-image: url('../img/filtre-panier.png');
    transform: translateY(44px);
    transition: background-image 0.15s ease, transform 0.15s ease;
}
.filter-panier:hover,
.filter-panier.active {
    background-image: url('../img/filtre-panier-survol.png');
}
/* =========================
   SHOP CARD – CONTOUR (COMPACT)
   ========================= */

.shop-card-frame {
    width: 320px;
    height: 460px;

    background-image: url('../img/boutique-card-article.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenu interne */
.shop-card {
    width: 270px;
    height: 380px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    position: relative;
}


/* Image produit */
.shop-card-image {
    width: 100%;
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 45px;   /* 👈 DESCEND L’IMAGE */
    margin-bottom: 0;
}
.shop-card-body {
    margin-top: 35px;  /* 👈 DESCEND LE TEXTE */
}

/* =========================
   SHOP – BOUTON ACHETER
   ========================= */

/* Form centré sous chaque card */
.shop-buy-form {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

/* Bouton image */
.shop-buy-btn {
    width: 150px;
    height: 47px;

    background-image: url('../img/boutique-card-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    background-color: transparent;
    border: none;
    padding: 0;

    cursor: pointer;
    font-size: 0;

    /* état normal */
    transform: scale(1.05);
    filter: drop-shadow(0 0 0 rgba(252, 213, 80, 0));

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

/* Hover visible */
.shop-buy-btn:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(252, 213, 80, 0.65));
}

/* =========================
   MODAL SHOP – PREMIUM
   ========================= */

.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;
}


.shop-modal.active {
    display: block;
}

.shop-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

/* CONTENEUR PRINCIPAL */
.shop-modal-content {
    position: relative;
    max-width: 520px;
    margin: 24vh auto;
    padding: 35px 30px 40px;

    background: #000;
    border: 2px solid #fcd550;
    border-radius: 40px;

    text-align: center;
    color: #fff;

    box-shadow:
        0 0 25px rgba(252, 213, 80, 0.35),
        inset 0 0 30px rgba(252, 213, 80, 0.08);

    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* BOUTON FERMER */
.shop-modal-close {
    position: absolute;
    top: 14px;
    right: 20px;

    background: none;
    border: none;
    color: #fcd550;
    font-size: 30px;
    cursor: pointer;
}

/* IMAGE */
.shop-modal-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.shop-modal-image-wrapper img {
    max-width: 65%;
    max-height: 220px;
    object-fit: contain;

    filter: drop-shadow(0 0 12px rgba(252, 213, 80, 0.35));
}

/* TITRE */
.shop-modal-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fcd550;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DESCRIPTION */
.shop-modal-description {
    font-size: 15px;
    line-height: 1.7;
    color: #ddd;

    padding: 0 10px;
}

/* Si la description contient des <p> */
.shop-modal-description p {
    margin-bottom: 12px;
}

/* =========================
   BOUTON ACHAT MODAL (IMAGE)
   ========================= */

.shop-modal-buy-form {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.shop-modal-buy-btn {
    width: 150px;
    height: 47px;

    background-image: url('../img/boutique-card-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    background-color: transparent;
    border: none;
    padding: 0;

    cursor: pointer;
    font-size: 0; /* cache le texte */

    transform: scale(1.08);
    filter: drop-shadow(0 0 0 rgba(252, 213, 80, 0));

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.shop-modal-buy-btn:hover {
    transform: scale(1.18) translateY(-2px);
    filter: drop-shadow(0 0 12px rgba(252, 213, 80, 0.75));
}
.filters-title {
    visibility: hidden;
}

