@font-face {
    font-family: 'MaPoliceUnique'; 
    /* Utilise 'opentype' pour le .otf et 'truetype' pour le .ttf */
    src: url('font/GankerStorm-Regular.otf') format('opentype'),
         url('font/GankerStorm-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 2. Applique-la aux titres et textes */
.main-title {
    font-family: 'MaPoliceUnique', sans-serif !important;
    text-transform: uppercase; /* Souvent plus stylé avec ce genre de font */
    letter-spacing: 1px;       /* Pour plus de clarté si la police est dense */
}

.subtitle, .description, .cta-button {
    font-family: sans-serif;
}
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Coupe tout ce qui dépasse à droite */
}



/* --- 1. Reset de base (important pour la précision) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-radius;
    font-family: 'MaPoliceUnique'; /* Police comme dans l'image */
}

a {
    text-decoration: none;
    color: inherit; /* Les liens prennent la couleur du texte */
}

ul {
    list-style: none; /* Enlève les points des listes */
}

body {
    background-color: #ffffff; /* Fond blanc propre */
}

/* --- 2. Structure principale de la Navbar --- */
.navbar {
    width: 100%;
    padding: 15px 0; /* Espace vertical */
    border-bottom: 1px solid #f0f0f0; /* Petite bordure discrète */
}

.navbar-container {
    max-width: 1200px; /* Largeur max du contenu pour rester centré */
    margin: 0 auto; /* Centre la navbar */
    display: flex;
    justify-content: space-between; /* Espace égal entre les 3 blocs */
    align-items: center; /* Aligne tout verticalement */
    padding: 0 20px; /* Marges sur les côtés */
}

/* --- 3. Style section GAUCHE : Liens --- */
.nav-links {
    display: flex;
    gap: 25px; /* Espace entre chaque lien */
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: #666; /* Gris moyen pour les liens secondaires */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #000; /* Devient noir au survol */
}

/* --- 4. Style section CENTRALE : Logo --- */
.nav-logo a {
    font-size: 18px;
    font-weight: 700; /* Gras comme dans l'image */
    text-transform: uppercase; /* Tout en majuscules */
    color: #000;
    letter-spacing: 0.5px; /* Espacement léger des lettres */
}

/* --- 5. Style section DROITE : Actions --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre les icônes */
}

.nav-icon {
    color: #888;
    display: flex;
    align-items: center;
}

/* Compte Utilisateur */
.user-account {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Rond parfait */
    object-fit: cover;
}

.user-account svg {
    color: #888; /* Flèche vers le bas */
}

/* --- 6. Style Bouton Panier POINTU --- */
.cart-button {
    display: flex;
    align-items: center;
    padding: 6px;
    background-color: #f7f7f7; /* Gris très clair pour le fond du bouton */
    border-radius: 50px; /* Bords très arrondis (capsule) */
    font-size: 13px;
    gap: 8px; /* Espace icône/texte */
    transition: background-color 0.3s ease;
}

.cart-button:hover {
    background-color: #eee;
}

/* Icône panier dans le rond rouge */
.cart-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #ff6b6b; /* Rouge corail comme l'image */
    border-radius: 50%; /* Rond parfait */
}

.cart-count {
    font-weight: 400;
    color: #555;
    padding-right: 8px; /* Espace final */
}

/* ========================================= */
/* STYLE SECTION HERO (L'étape actuelle) */
/* ========================================= */

.hero-section {
    width: 100%;
    position: relative;
    padding: 60px 0 120px 0; /* Espace pour la section, ajusté pour que la carte produit ne dépasse pas */
    overflow: hidden; /* Pour couper tout ce qui dépasse si besoin */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px; /* On crée de la place pour que la tête du mannequin dépasse */
}

/* --- 1. Texte principal de fond --- */
.hero-bg-text {
    font-family: 'MaPoliceUnique';
    position: absolute;
    top: -40px;
    width: 100%;
    text-align: center;
    z-index: 13;
    color: #ff6b6b;
    /* Effet de lueur diffuse */
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.4), 
                 0 0 30px rgba(255, 107, 107, 0.2);
}

.hero-bg-text .text-thin {
    font-family: MaPoliceUnique;
    font-weight: 800; /* Assez épais mais moins que EDGE/VIBE */
    font-size: 45px;
    letter-spacing: -1px;
}

.hero-bg-text .text-bold {
    font-family: MaPoliceUnique;
    font-weight: 900; /* Très gras */
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* --- 2. Image principale PNG (Le Mannequin) --- */
.hero-main-image {
    position: absolute;
    top: -59px;; /* Remonte le mannequin au-dessus du cadre rouge */
    left: 50%;
    transform: translateX(-50%); /* Le centre parfaitement */
    height: 110%; /* L'agrandit pour qu'il soit imposant */
    z-index: 3;
    pointer-events: none;
}

/* --- 3. Panneau rouge arrondi --- */
.hero-content-panel {
    width: 100%;
    background-color: #ff6b6b;
    border-radius: 50px; /* Bords plus arrondis pour le côté "pointu" */
    padding: 80px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Ombre plus douce et diffuse */
    box-shadow: 0 30px 60px rgba(255, 107, 107, 0.25);
}
/* Bloc Texte Gauche */
.panel-left {
    max-width: 400px;
    color: white;
}

.panel-left .subtitle {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 15px;
}

.panel-left .main-title {
    font-family: 'Inter', sans-serif; /* Police comme sur l'image */
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: black;
}

.panel-left .description {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 30px;
}

.panel-left .cta-button {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15); /* Fond blanc transparent */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Bordure discrète */
    gap: 10px;
    transition: background-color 0.3s ease;
}

.panel-left .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Bloc Étoiles */
.review-block {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars-group {
    display: flex;
}

.avatars-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ff6b6b; /* Bordure rouge pour séparer */
    margin-left: -10px; /* Effet de superposition */
    object-fit: cover;
}

.avatars-group img:first-child { margin-left: 0; }

.stars-text {
    font-size: 12px;
    opacity: 0.9;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.star-icon { color: white; }

/* Bloc Icônes Droite */
.panel-right-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: white;
    align-items: center;
    padding-top: 10px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 11px;
    gap: 5px;
    opacity: 0.8;
}

.icon-item svg {
    opacity: 0.8;
}

/* --- 4. Carte Produit Secondaire (Positionnée en absolu) --- */
.featured-product-card {
    position: absolute;
    bottom: -50px; 
    right: 60px; 
    width: 220px;
    background-color: white;
    border-radius: 30px;
    padding: 20px;
    z-index: 4;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-label {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 15px;
}

.product-image-container {
    width: 100%;
    height: 180px;
    background-color: #f0f0f0; /* Fond gris clair pour l'image */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

.product-desc {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-bottom: 15px;
}

.price-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #ff6b6b; /* Prix en rouge */
}

.tag-icon { font-size: 16px; }



/* Style commun pour tous les nouveaux éléments sur les côtés */
.side-element {
    position: absolute;
    z-index: 1; /* Derrière le mannequin et le panel */
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-element img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Positionnement des CHAUSSURES (Cercles) --- */
.shoes-left {
    top: -7px;
    left: -246px;
    width: 245px;; /* Ajuste la taille selon tes besoins */
}

.shoes-right {
    top: -21px;
    right: -226px;
    width: 245px;
}

/* --- Positionnement des PNG (Rectangles) --- */
.png-left {
    bottom: -130px;
    left: -241px;
    width: 250px;
}

.png-right {
      bottom: -194px;
    right: -293px;
    width: 333px;
}

/* Optionnel : Un petit effet de flottement pour rendre ça "spécial" */
.side-element {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}





/* --- SECTION TRENDING --- */
.trending-section {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 20px;
}

.trending-header {
    text-align: center;
    margin-bottom: 60px;
}

.trending-title {
    font-family: 'MaPoliceUnique', sans-serif; /* Ta police personnalisée */
    font-size: 48px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.trending-subtitle {
    font-size: 16px;
    color: #888;
}

/* --- GRILLE --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.product-item {
    transition: transform 0.4s ease, opacity 0.4s ease; /* Ajoute l'opacité ici */
    cursor: pointer;
}
.product-img-box {
    background-color: #f8f8f8; /* Fond gris très clair */
    border-radius: 30px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-img-box img {
    width: 93%;
    transition: transform 0.5s ease;
    border-radius: 13px;
}

/* --- EFFET AU SURVOL --- */
.product-item:hover .product-img-box {
    background-color: #ff6b6b10; /* Légère teinte rouge au survol */
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.product-item:hover img {
    transform: scale(1.1) rotate(-5deg); /* Petit zoom et rotation style street */
}

.product-info {
    margin-top: 20px;
    text-align: center;
        font-family: inter;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-info p {
    color: #ff6b6b; /* Rappel de ta couleur phare */
    font-weight: 600;
        font-family: inter;
}

.tag-new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}



.filter-container {
   display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    margin-top: 50px;
}

.filter-btn {
    padding: 12px 25px;
    border-radius: 30px;
    border: 2px solid #f0f0f0;
    background: white;
    font-family: 'MaPoliceUnique', sans-serif; /* Utilisation de ta police */
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

/* Style du bouton sélectionné */
.filter-btn.active, .filter-btn:hover {
    background-color: #ff6b6b; /* Ta couleur phare */
    border-color: #ff6b6b;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
    transform: translateY(-3px);
}


.promo-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.promo-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Une carte plus large que l'autre */
    gap: 30px;
}

.promo-card {
    position: relative;
    border-radius: 40px;
    padding: 50px;
    overflow: hidden; /* Important pour les images qui dépassent */
    min-height: 350px;
    display: flex;
    align-items: center;
    transition: transform 0.4s ease;
}

.promo-card:hover {
    transform: translateY(-10px);
}

/* Style de la carte Promo (Rouge comme ton thème) */
.discount-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    color: white;
}

/* Style de la carte Join (Noir/Sombre pour le contraste) */
.join-card {
    background: #1a1a1a;
    color: white;
}

.promo-title {
    font-family: 'MaPoliceUnique', sans-serif;
    font-size: 60px;
    line-height: 0.9;
    margin-bottom: 15px;
}

.promo-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 250px;
    margin-bottom: 25px;
}

/* Boutons des cartes */
.promo-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #ff6b6b;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.promo-btn.light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* L'image qui flotte (Effet Spécial) */
.promo-float-img {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-41%) rotate(15deg);
    width: 428px;
    filter: drop-shadow(20px 10px 30px rgba(0, 0, 0, 0.2));
    pointer-events: none;
}






/*colloection .pp*/
 /* Styles spécifiques à la page Detail */
        .product-detail-container {
            max-width: 1200px;
            margin: 120px auto 50px;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }

        /* Galerie d'images */
        .product-gallery {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .main-img-box {
            background-color: #f4f4f4;
            border-radius: 30px;
            overflow: hidden;
            aspect-ratio: 1/1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .main-img-box img { width: 100%; height: 100%; object-fit: cover; }

        /* Infos produit */
        .product-status {
            color: #ff6b6b;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 2px;
            margin-bottom: 10px;
            display: block;
        }
        .product-title {
            font-family: 'Poppins', sans-serif;
            font-size: 3.5rem;
            line-height: 1;
            margin-bottom: 20px;
            text-transform: uppercase;
        }
        .product-price {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 30px;
        }

        /* Sélecteurs */
        .selector-label {
            font-weight: 700;
            margin-bottom: 10px;
            display: block;
            text-transform: uppercase;
            font-size: 0.9rem;
        }
        .size-options { display: flex; gap: 10px; margin-bottom: 30px; }
        .size-btn {
            border: 2px solid #ddd;
            background: none;
            padding: 10px 20px;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
        }
        .size-btn:hover, .size-btn.active { border-color: #111; background: #111; color: #fff; }

        /* Bouton Action */
        .add-to-cart-btn {
            background-color: #ff6b6b;
            color: white;
            border: none;
            padding: 20px;
            border-radius: 20px;
            width: 100%;
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            font-weight: 800;
            cursor: pointer;
            transition: 0.3s;
            text-transform: uppercase;
        }
        .add-to-cart-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3); }

        .description-box { margin-top: 40px; border-top: 1px solid #eee; padding-top: 20px; }
        .description-box p { color: #666; line-height: 1.6; }

        @media (max-width: 900px) {
            .product-detail-container { grid-template-columns: 1fr; margin-top: 80px; }
            .product-title { font-size: 2.5rem; }
        }

/* RESPONSIVE */
@media (max-width: 768px) {
    .promo-container {
        grid-template-columns: 1fr; /* On empile sur mobile */
    }
    .promo-title {
        font-size: 40px;
    }
}





@media (max-width: 768px) {
    /* On réduit la taille du texte de fond */
    .hero-bg-text {
        font-size: 40px; /* Beaucoup plus petit sur mobile */
        top: 20px;
    }

    /* On adapte l'image du mannequin */
    .hero-main-image {
        height: auto;
        width: 100%; /* Elle prend toute la largeur */
        position: relative; /* On la remet dans le flux normal */
        top: 0;
    }

    /* Le panneau rouge devient vertical */
    .hero-content-panel {
        flex-direction: column;
        padding: 40px 20px;
        margin-top: -50px; /* Pour faire chevaucher un peu le mannequin */
    }

    /* On cache ou on réduit les images sur les côtés (PNG et Shoes) */
    .side-element {
        display: none; /* Souvent mieux de les cacher sur mobile pour la clarté */
    }

    /* On ajuste la carte produit featured */
    .featured-product-card {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 20px;
    }
}
