/* HEADER */
.promo-banner {
  background-color: #ca0000;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.promo-content {
  flex: 1;
  text-align: center;
}

.code {
  font-weight: bold;
  background-color: #fff176;
  padding: 4px 8px;
  border-radius: 4px;
  margin: 0 5px;
}

.promo-close {
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    padding-right: 50px;
}

body.with-promo {
  padding-top: 60px; /* hauteur de la bannière */
}


body{
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #FFFFFFDF;
}

.header2 {
    background: #FFFFFFDF;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header2 img.logo {
    width: 51px;
    height: auto;
}

.logo {
    width: 15px;
    height: auto;
    display: block;
    padding: 5px;
}

.nav {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 20px; 
}

.nav-mobile {
    display: none;
}

.nav li {
    margin: 0 15px;
    font-size: 18px;
}

.nav a {
    text-decoration: none;
    color: black;
    font-weight: regular;
}

.nav a:hover {
    text-decoration: none;
    color: rgb(150, 150, 150);
    font-weight: regular;
}

.nav2 {
    display: flex;
    align-items: center;
    padding: 10px;
}

.logo-panier {
    width: 40px;
    height: auto;
}

/* Nombre d'articles dans le panier */
#cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  height: 20px;            
  min-width: 20px;          
  padding: 0 6px;           
  border-radius: 9999px;    
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Conteneur principal du produit */

.hero {
    background: url('Images/Index/back2.webp') no-repeat center center/cover;
    height: 874px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero .overlay {
    color: rgb(255, 255, 255);
    font-weight: 100;
    padding: 20px;
   
}

.hero h1 {
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black;
    font-size: 100px;
}

.hero .buttons button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    font-size: 25px;
}

.hero .buttons button:hover {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    cursor: pointer;
    font-size: 25px;
}


.services {
    display: flex;
    justify-content: space-around;
    background: #FFFFFFDF;
    padding: 15px;
    text-align: center;
}

.delivery-icon {
    font-size: 50px;
    color: #000000;
}

.sevice-details {
    font-weight: 600;
    width: 200px;
}

.section-title {
    font-size: 40px;
    text-align: center;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-shadow: none;
}

.produit-link {
    text-decoration: none; 
    display: inline-block;
    cursor: pointer;
}

.product-card {
    width: 100%;
    height: auto;
    padding: 0; 
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.product-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-image {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%; 
    max-height: 500px; 
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s; 
}

.product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.color-options {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid #ddd;
    cursor: pointer;
}

.color.blue { background-color: #3777a4; }
.color.black { background-color: #000; }
.color.brown { background-color: #582900; }
.color.pink { background-color: #ffc0cb; }
.color.green { background-color: #008000; }
.color.white { background-color: #FFFFFF; }
.color.grey { background-color: #808080; }
.color.beige { background-color: #f5f5dc; }
.color.darkgreen { background-color: #006400; }
.color.violet { background-color: #a020f0; }
.color.red { background-color: #FF0000; }
.color.bleuciel { background-color: #add8e6; }
.color.wood { background-color: #deb887; }
.color.coble { background-color: #c5c3c2; }

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #000000;
}

.product-name:hover {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: rgb(150, 150, 150);
}

.rating {
    color: gold;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-top: 10px;
}

.price:hover {
    font-size: 20px;
    font-weight: bold;
    color: rgb(150, 150, 150);
    margin-top: 10px;
}

.image-box {
    position: relative;
    background-size: cover;
    background-position: center;
}
.no-grid {
    min-width: 350px;
    height: 500px;
    flex: 1;
}

.polo-details {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #FFFFFFDF;
    padding: 5px 20px;
}

.polo-name {
    font-size: 22px;
    font-weight: 600;
    line-height: 3px;
}

.polo-price {
    color: #000000;
    font-weight: 800;
    font-size: 14px;
    line-height: 3px;
}

.featured {
    margin: 100px;
}

.vetement-grid {
    display: grid;
    min-height: 150vh;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 400px);
    gap: 10px;
}



.vetement-grid1 {
    background-image: url(Images/Homme/I1.png);
    grid-column: 1/3;
    grid-row: 1/3;
}

.vetement-grid2 {
    background-image: url(Images/Accessoire/I17.1.png);
    grid-column: 3/5;
}

.vetement-grid3 {
    background-image: url(Images/Accessoire/I21.png);
    grid-column: 3/5;
}

.vetement-grid4 {
    background-image: url(Images/Accessoire/I18.png);
    grid-column: 1;
    grid-row: 3/5;
}

.vetement-grid5 {
    background-image: url(Images/Accessoire/I19.png);
    grid-column: 2/4;
    grid-row: 3/5;

}

.vetement-grid6 {
    background-image: url(Images/Femme/I14.png);
    grid-column: 4;
    grid-row: 3/5;
}

/* ✅ FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    margin-top: 40px;
}

footer .cgv {
    color: #fff;
    text-decoration: none;
}

footer .cgv:hover {
    text-decoration: underline;
}

/*  Responsive Design pour toutes les tailles d'écran  */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/*  HEADER  */
.header2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  width: 100%;
  height: 80px;
  background-color: white;
  z-index: 1000;
  position: relative;
}

/*  LOGO  */
.logo {
  display: block;
  width: 70px;
  height: auto;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/*  MENU BURGER  */
.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%); 
  top: 50%;
  color: black;
  background: none;
  border: none;
  z-index: 1001;
}

/*  PANIER  */
.nav2 {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
}

.logo-panier {
  width: 40px;
  height: auto;
  display: block;
}

/*  MENU MOBILE */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 30px;
        cursor: pointer;
        background: none;
        border: none;
        z-index: 1100;
        color: black;
    }

    .nav {
        display: none;
    }

    .header2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        background-color: white;
        position: relative;
        z-index: 1000;
    }

    .nav-mobile {
        display: none;
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px); 
        max-width: 320px; 
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        text-align: center;
        padding: 10px;
    }

    .nav-mobile.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-mobile a {
        text-decoration: none;
        color: black;
        padding: 12px;
        width: 100%;
        font-size: 18px;
        text-align: center;
        border-bottom: 1px solid #ccc;
        display: block;
    }

    .nav-mobile a:hover {
        color: rgb(150, 150, 150);
     }

    .nav-mobile a:last-child {
        border-bottom: none;
    }
}

/*  PANIER EN HAUT Ã€ DROITE  */
.nav2 {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* HERO SECTION */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 7vw !important; 
        text-align: center;
        line-height: 1.1;
    }

    .hero .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hero .buttons button {
        font-size: 4vw !important; 
        padding: 8px 12px;
        min-width: 120px;
        max-width: 60%;
        background-color: black;
        color: white;
        border: none;
        cursor: pointer;
    }
}


@media (max-width: 768px) {
    .service-item p {
        font-size: 14px; 
        text-align: center;
    }

    .delivery-icon {
        font-size: 30px; 
    }
}


/*  PRODUITS "NOS MEILLEURES VENTES" */
@media (max-width: 768px) {
    .product-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 20px;
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        box-shadow: none;
        padding: 0;
    }
    /* Produits affichés en 2 colonnes sur mobile sans cadre blanc */
    .product-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
        justify-content: center;
        padding: 10px;
        margin-top: 100px;
    }

    .product-card {
        width: 100%; 
        height: auto;
        background: none; 
        box-shadow: none; 
        border-radius: 0; 
        padding: 0; 
    }
    /*  Footer  */
    footer {
        padding: 20px 15px;
        text-align: center;
        font-size: 14px;
        color: #ffffff;
        margin: 0;
      }
      footer a.cgv {
        color: #ffffff;
        text-decoration: none;
      }
}


/* GRID "VÊTEMENTS PHARES" */
@media (max-width: 768px) {
    .vetement-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .vetement-grid > a {
        width: 100% !important;
        min-height: 400px;
        padding: 0 !important;
        margin: 0 !important;
        display: block;
        position: relative;
    }
    .polo-details {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.8);
        padding: 10px;
        text-align: center;
        width: 100% !important;
    }
    .polo-name {
        font-size: 18px;
        font-weight: 600;
        color: black;
    }
    .polo-price {
        font-size: 16px;
        font-weight: 800;
        color: black;
    }
}

/* Cacher le menu burger sur PC */
@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }
}


@media (min-width: 769px) {
    .product-container {
        display: flex; 
        flex-wrap: wrap; 
        justify-content: space-between; 
        margin-right: 20px; 
    }
    .product-card {
        margin: 10px;
        margin: 10px;
        max-width: 4000px;
    }

}

@media (min-width: 1600px) {
    .vetement-grid {
        display: grid;
        min-height: 300px;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 470px);
        gap: 10px;
    }

    .polo-details {
        position: absolute;
        width: 100%;
        bottom: 0;
        background-color: #FFFFFFDF;
        padding: 5px 20px;
        align-items: center;
    }
    
    .polo-name {
        font-size: 22px;
        font-weight: 600;
        line-height: 3px;
        
    }
    
    .polo-price {
        color: #000000;
        font-weight: 800;
        font-size: 14px;
        line-height: 3px;
    }
    
    .featured {
        margin: 100px;
    }
}