.btn-back {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, #B50015, #8B0010);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 100;
}

.btn-back:hover {
    background: linear-gradient(135deg, #ff1a1a, #B50015);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(181, 0, 21, 0.4);
}

/* Style pour le bouton retirer */
.btn-add-cart.in-cart {
    background: rgba(181, 0, 21, 0.2);
    border-color: #B50015;
}

.btn-add-cart.in-cart .btn-text::before {
    content: "✓ ";
}

header {

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  padding: 30px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  overflow: hidden;

  height: 200px;

  background-color: rgb(0, 0, 0);
}



/* Conteneur du logo avec positionnement relatif */

.logo-container_distanciel {

  position: relative;

  z-index: 2;

  text-align: center;

}



/* Styles du logo avec animation de zoom */

.logo_distanciel {

  max-width: 250px;

  animation: zoom 9s forwards;

}


/* ------ RESPONSIVE DESIGN ------ */



/* Adaptation pour les écrans moyens (tablettes) */

@media (max-width: 768px) {

  header {

    height: 180px;

    padding: 20px 0;

  }



  .logo_distanciel {

    max-width: 200px;

  }



  .flags-container {

    margin-top: 15px;

  }



  .flag {

    width: 12px;

    height: 12px;

  }

}



/* Adaptation pour les petits écrans (mobiles) */

@media (max-width: 480px) {

  header {

    height: 150px;

    padding: 15px 0;

  }



  .logo_distanciel {

    max-width: 180px;

  }



  .flags-container {

    margin-top: 10px;

    gap: 8px;

  }



  .flag {

    width: 10px;

    height: 10px;

  }

}




/* Effet au survol des drapeaux */

.flag:hover {

  transform: scale(1.2);

  transition: transform 0.2s ease;

}



/* ------ OPTIMISATIONS PERFORMANCES ------ */



/* Optimisation GPU pour les animations */

.logo_distanciel,

.flag {

  will-change: transform;

}


