@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: url("../images/bg.svg") no-repeat center center/cover;
  min-height: 100vh;
  touch-action: manipulation;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  user-select: none;
  transition: all 0.2s ease;
}

a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* General */
.button {
  border: none;
  background-color: transparent;
  font-size: calc(15px + 0.390625vw);
  font-weight: 500;
  font-family: inherit;
  color: white;
  padding: 15px 30px;
  border-radius: 16px;
  transition: 0.2s;
  text-align: center;
}
.button:hover {
  box-shadow: inset 100px 100px rgba(255, 255, 255, 0.1);
  transition: 0.2s;
  cursor: pointer;
}
.button-rounded:hover {
  box-shadow: inset 100px 100px rgba(255, 255, 255, 0.1),
    0 5px 5px rgb(0 0 0 / 20%);
  transition: 0.2s;
  cursor: pointer;
}
.button-rounded {
  border-radius: 100px;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 5px rgb(0 0 0 / 20%);
  width: 100px;
  height: 100px;
  transition: 0.2s;
}
.button-rounded img {
  display: block;
  width: 64px;
  height: 64px;
}

.button-primary {
  border: 4px solid #d05c09;
  background: linear-gradient(
    90deg,
    rgba(248, 111, 11, 1) 3%,
    rgba(236, 226, 0, 1) 100%
  );
}
.button-secondary {
  border: 4px solid #412dfc;
  background: linear-gradient(90deg, #445be8 22%, rgba(79, 144, 240, 1) 100%);
}

.bottom-logo {
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

/* Start */
.start {
  padding: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.start-wrapper {
  margin: auto;
  max-width: 1920px;
}
.start-title {
  font-weight: 500;
  text-align: center;
  letter-spacing: 5px;
  line-height: 1.5;
}
.start-tap-image {
  display: block;
  max-width: 201px;
  width: 100%;
  margin: 0 auto;
  object-fit: none;
}
/* ToS */
.tos {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.tos-wrapper {
  margin: auto;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
}
.tos-description {
  line-height: 1.7;
  font-weight: 500;
  font-size: calc(15px + 0.390625vw);
}
.tos-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 130px;
  margin-left: -100px;
}

/* Chat */
.chat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  margin: 0 auto;
}
.chat-messages {
  padding: 30px;
  overflow-y: auto;
  scrollbar-color: #445be8 transparent;
  scrollbar-width: thin;
  
  position: static;
}
.chat-message {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  word-wrap: break-word;
}
.chat-message.user {
  justify-content: end;
}
.chat-message-avatar {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-top: auto;
}
.chat-message.user .chat-message-avatar {
  display: none;
}
.chat-message-container {
  border-radius: 20px;
  padding: 20px 30px;
  font-weight: 500;
  max-width: 800px;
  margin: 0;
}
.chat-message.bot .chat-message-container {
  border: 2px solid #d8d8d8;
  background-color: #f2f2f2;
  color: #252525;
}
.chat-message.user .chat-message-container {
  background: linear-gradient(90deg, rgba(79, 144, 240, 1) 22%, #445be8 100%);
  color: white;
}
.chat-message-text {
  margin: 0;
}
.chat-form-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  position: static;
}
.chat-form-wrapper {
  background-color: #fafafa;
  border: 4px solid #402dfc;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 30px;
  box-shadow: 0 0 60px rgb(64 45 252 / 20%);
}
.chat-form-wrapper-icon {
  display: block;
  width: 30px;
  height: 30px;
}
#chat-form-input {
  background-color: transparent;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  border: none;
  box-sizing: border-box;
  width: 100%;
  outline: none;
}
.chat-form-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.chat-form-buttons .button-primary {
  background: linear-gradient(
    90deg,
    rgba(236, 226, 0, 1) 3%,
    rgba(248, 111, 11, 1) 100%
  );
}

.chat-form-buttons .button-secondary {
  background: linear-gradient(90deg, rgba(79, 144, 240, 1) 22%, #445be8 100%);
}

.chat-activity-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 10000;
}
.chat-activity-modal.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s, visibility 0.2s;
}

.chat-activity-modal-container {
  background-color: white;
  border-radius: 36px;
  padding: 30px;
  width: 100%;
  max-width: 814px;
  width: 100%;
  margin: 0 auto;
}

.chat-activity-modal-container-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.chat-activity-modal-container-buttons .button {
  width: 100%;
}

.chat-activity-modal-container-icon {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.chat-activity-modal-container-description {
  font-weight: 600;
  text-align: center;
  margin-top: 60px;
}

.chat-activity-modal-container-resume {
  color: #b1b1f4;
  font-weight: 700;
  text-align: center;
}

/*!* Product details *!*/
/*.chat-message-container.product {*/
/*  max-width: 1440px !important;*/
/*}*/
.chat-message-description {
  margin: 0;
}
.product-image {
  display: block;
  width: 100%;
  max-width: 375px;
  height: 375px;
  border: 2px solid black;
  border-radius: 33px;
  background-color: white;
}
.product-details {
  display: flex;
  flex-direction: column;
}
.product-brand {
  background-color: #d9d9d9;
  padding: 20px;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  margin-top: 20px;
}
.product-price {
  margin-top: 20px;
  font-weight: 700;
}
.product-features-title {
  color: #6b6b6c;
  font-weight: 400;
}
/* Feedbacks */
.feedback {
  background-color: #f2f2f2;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.feedback.active {
  box-shadow: 0 4px 234px #d7d7d8;
  transform: translateY(0);
  display: block;
  animation: slideUp 0.3s ease-in-out;
}
.feedback-text {
  margin: 0;
  font-weight: 600;
}
.feedback-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feedback-button {
  color: white;
  border: none;
  background-color: transparent;
  transition: 0.2s;
  border-radius: 16px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.feedback-button:disabled {
  opacity: 0.5;
  cursor: unset;
}
.feedback-button.primary {
  border: 2px solid #412dfc;
  background: linear-gradient(90deg, #445be8 22%, rgba(79, 144, 240, 1) 100%);
}
.feedback-button.secondary {
  border: 2px solid #d05c09;
  background: linear-gradient(
    90deg,
    rgba(248, 111, 11, 1) 3%,
    rgba(236, 226, 0, 1) 100%
  );
}
.bouncing-dots {
  display: inline-block;
}

.bouncing-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 2px;
  background-color: #333;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.bouncing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.bouncing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

/* Media queries */
@media screen and (min-width: 768px) {
  .tos {
    height: 100vh;
  }
  .tos-description {
    line-height: 1.7;
    font-weight: 500;
    font-size: calc(15px + 0.390625vw);
    text-align: justify;
    text-align-last: justify;
  }
  .tos-description-span {
    text-align-last: left;
    display: block;
    word-spacing: 5px;
  }
}
@media screen and (min-width: 1024px) {
  /* General */
  body {
    overflow: hidden;
  }

  .button {
    font-size: 1.875rem;
    padding: 20px;
  }
  /* Start */
  .start {
    padding: 30px;
  }
  .start-title {
    font-size: 3.5rem;
  }
  .start-wrapper {
    position: relative;
  }
  .start-tap-image {
    position: fixed;
    right: calc(50% - 260px);
    bottom: calc(50% - 280px);
  }
  .tos {
    gap: 60px;
  }
  /* ToS */
  .tos-description {
    /* font-size: 2.3rem; */
    font-size: calc(20px + 0.390625vw);
  }
  .tos-buttons {
    display: grid;
    grid-template-columns: repeat(2, 280px);
  }
  /* Chat */
  .chat-activity-modal-container {
    padding: 50px 35px;
  }
  .chat-activity-modal-container-description {
    font-size: 1.75rem;
  }
  .chat-activity-modal-container-resume {
    font-size: 1.75rem;
  }
  .chat-activity-modal-container-buttons {
    display: grid;
    grid-template-columns: repeat(2, 274px);
    justify-content: center;
    gap: 30px;
  }
  .chat-message {
    flex-direction: row;
  }
  .chat-message-text {
    font-size: 1.875rem;
  }
  .chat-form-wrapper {
    width: 100%;
  }
  .chat-form-container {
    padding: 60px;
    flex-direction: row;
    justify-content: space-between;
  }
  #chat-form-input {
    font-size: 1.953rem;
  }
  .chat-form-buttons {
    margin: 0;
  }
  /* Product details */
  .chat-message-container.product {
    display: flex;
    flex-direction: column;
  }
  .chat-message-description {
    font-size: 1.875rem;
  }
  .container-title {
    font-size: 1.8rem;
  }
  .product {
    display: flex;
    gap: 30px;
  }
  .product-name {
    font-size: 1.875rem;
    margin: 0 0 20px 0;
  }
  .product-brand {
    font-size: 1.875rem;
    width: max-content;
  }
  .product-price {
    font-size: 1.875rem;
  }
  .product-features-title {
    font-size: 1.8rem;
    color: #6b6b6c;
    margin-bottom: 0;
  }
  .product-features {
    margin: 0;
    padding: 0 0 0 30px;
  }
  .product-features-item {
    font-size: 1.6rem;
  }
  /* Feedback */
  .feedback {
    margin-left: 70px;
    flex-direction: row;
    align-items: center;
    width: max-content;
    gap: 100px;
  }
  .feedback-text {
    margin: 0;
    font-size: 1.5rem;
  }
  .feedback-buttons {
    flex-direction: row;
  }
  .feedback-button {
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
  }
}
.word-suggestions div {
  display: inline-block;
  padding: 15px;
  margin-right: 20px; 
  background-color: #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  
}
.element-word {
  margin-top: 100px;margin-left: 200px;
}
@media screen and (min-width: 1920px) {
  .tos-wrapper {
    max-width: unset;
    gap: 30px;
  }
  .tos-description {
    font-size: calc(35px + 0.390625vw);
  }
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.chat-message-container.carousel-container {
  width: 100%;
  max-width: none;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  display: flex;
  justify-content: center;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
}

.carousel-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.carousel-card {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  background: transparent;
  padding: 2rem 2rem 5rem 2rem;
  margin: 0 auto;
  gap: 2rem;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 260px;
}

.carousel-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.carousel-product-intro {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
}

.product-name {
  font-size: 1.6rem;
  font-weight: 700;
}

.product-brand {
  font-size: 1rem;
  padding: 12px 18px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
}

.product-features {
  font-size: 1.05rem;
}

.product-features li {
  font-size: 1.05rem;
  line-height: 1.6;
}



.carousel-card-main {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
  width: 100%;
}



/* Flèches navigation */
.carousel-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #444;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.left {
  left: -10px;
}

.carousel-arrow.right {
  right: -10px;
}



/* Bouton de localisation */
.btn-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* Taille agrandie */
  padding: 16px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 220px;
  height: 50px;

  /* Style */
  background-color: #8c8c8c;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;

  position: absolute;
  bottom: 10px;
  left: 10px;
}



.btn-location i {
  font-size: 1rem;
}

.btn-location:hover {
  background-color: #6e6e6e;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .carousel-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 3rem;
  }

  .carousel-card-main {
    flex-direction: column;
    align-items: center;
  }

  .btn-location {
    position: static;
    margin-top: 1rem;
  }

  .product-image {
    width: 100%;
    max-width: 220px;
  }
}


@media screen and (min-width: 1024px) {
  .carousel-product-intro {
    font-size: 1.5rem;
  }

  .product-name {
    font-size: 2rem;
  }

  .product-brand {
    font-size: 1.25rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .product-features li {
    font-size: 1.2rem;
  }
}

.escalade-popup {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

.escalade-popup-container {
  background-color: #ffffff;
  border-radius: 36px;
  padding: 50px; /* plus d'aération */
  max-width: 750px; /* popup élargie */
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.escalade-popup-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px auto;
  display: block;
}

.escalade-popup-description {
  font-weight: 400; /* retiré le gras */
  font-size: 1.25rem;
  color: #111827;
  margin: 0;
  line-height: 1.8;
}

.escalade-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.escalade-popup-buttons .button {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .escalade-popup-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .escalade-popup-buttons .button {
    width: 274px;
  }

  .escalade-popup-description {
    font-size: 1.75rem;
  }
}


.popup-localisation {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(0, 0, 0, 0.6); z-index: 2000;
}
.popup-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.popup-content {
  position: relative; background: white;
  padding: 20px; border-radius: 12px;
  z-index: 2100;
  width: 80%;
  max-width: 700px;
}


#svgModal .modal-content {
  max-width: 1000px;
  width: 95%;
}


#svgMap path {
  fill: #e0e0e0;
  transition: fill 0.3s ease;
}

#svgMap path.selected {
  fill: #FFD700 !important;  /* jaune pour le surlignage */
}

.select-description {
  line-height: 1.7;
  font-weight: 500;
  font-size: calc(15px + 0.390625vw);
}
.select-description {
  /* font-size: 2.3rem; */
  font-size: calc(20px + 0.390625vw);
}
.select-description {
  line-height: 1.7;
  font-weight: 500;
  font-size: calc(15px + 0.390625vw);
  text-align: justify;
  /*text-align-last: justify;*/
}
.select-wrapper {
  margin: auto;
  max-width: 1920px;
  flex-direction: column;
}
/* select page html*/
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; /* ← Ajout utile pour le texte */
  gap: 15px;
  padding: 20px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  min-width: 360px;
  transition: transform 0.2s ease;
}
.tos-buttons-select {
  display: grid;
  grid-template-columns: repeat(2, 280px);
}
.tos-buttons-select {

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 130px;
  
}
.btn img {
  width: 80px;
  height: 80px;
}

.btn:hover {
  transform: scale(1.05);
}

.locate {
  border: 4px solid #d05c09;
  background: linear-gradient(to right, #ff7e00, #fbd200);
}

.chatt {
  background: linear-gradient(to right, #4a90e2, #5fa3ff);
  border: 4px solid #412dfc;
}
.buttonss {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.container {
  position: relative; /* Contexte pour position absolue des enfants */
  display: flex;
  padding: 20px;
  gap: 40px;
  max-width: 1500px;
  margin: auto;
  width: 100%;
  flex: 1;
  
}

/* Carte */
.map-section {
  position: relative;
  flex: 1;
  min-width: 0; /* Needed for proper flex behavior */
}

.map {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  max-height: 600px;
}

.zone-indicator {
  position: absolute;
  top: 95px;
  left: 320px;
  background: red;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 4px;
}

.clignote {
  animation: clignoter 1s infinite;
}

@keyframes clignoter {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.vous-etes-ici {
  position: absolute;
  left: 380px;
  top: 380px;
  font-size: 14px;
  font-weight: bold;
  background: white;
  padding: 2px 5px;
  border-radius: 4px;
}

/* Sidebar */
.sidebar {
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /*overflow-y: auto;*/
  margin-right: -60px;
  max-height: calc(100vh - 100px);
}
.sidebar-data {
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  margin-left: auto;
  max-height: calc(100vh - 100px);
}
/* Custom scrollbar */
.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #445be8;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #445be8;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 40px;
  border: 2px solid #a2a2ff;
  border-radius: 30px;
  font-size: 16px;
  box-sizing: border-box;
}

.search-box .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

/* Filtres */
.filters {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.filters select {
  flex: 1;
  min-width: 100px;
  padding: 10px;
  border: 2px solid #4a90e2;
  border-radius: 20px;
  font-weight: bold;
  background-color: white;
  cursor: pointer;
}

/* Produits */
.produits-container {
  flex: 1;
  overflow-y: auto;
}

.produit {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.produit img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}

.produit .info {
  flex: 1;
  min-width: 0; /* Prevent text overflow */
}

.produit h4 {
  font-size: 14px;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.produit .marque {
  background: #eee;
  padding: 4px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 5px;
  font-size: 12px;
}

.btn-locate {
  background: linear-gradient(to right, #ff7e00, #fbd200);
  border: none;
  align-items: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
}



.btn-locate img {
  width: 20px;
  height: 20px;
}

/* Pagination */
.pagination {
  display: flex;
  
  margin-top: 12px;
  
}

.pagination button {
  padding: 8px 12px;
  border: 1px solid #445be8;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination button.active {
  background: #445be8;
  color: white;
  border-color: #445be8;
}

.pagination button:hover:not(.active) {
  background: #f0f0ff;
}

/* Footer */
footer {
  
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  
  background: white;
}

footer img {
  height: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }
  
  .map-section {
    order: 2;
  }
  
  .sidebar {
    width: 100%;
    max-height: none;
  }
  
  .zone-indicator {
    top: 50px;
    left: 30%;
  }
  
  .vous-etes-ici {
    left: 60%;
    top: 60%;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  
  .filters select {
    min-width: calc(50% - 10px);
  }
  
  .produit {
    flex-wrap: wrap;
  }
  
  .produit .info {
    min-width: calc(100% - 95px);
  }
  
  .zone-indicator {
    font-size: 12px;
    top: 30px;
    left: 20%;
  }
  
  .vous-etes-ici {
    font-size: 12px;
    left: 50%;
    top: 70%;
  }
}

/* Carousel */

/* responsive */
.element-word {
  margin-top: 100px;margin-left: 200px;
}
@media screen and (min-width: 1920px) {
  .tos-wrapper {
    max-width: unset;
    gap: 30px;
  }
  .select-wrapper {
    max-width: unset;
    gap: 30px;
  }
  .tos-description {
    font-size: calc(35px + 0.390625vw);
  }
  .select-description {
    font-size: calc(35px + 0.390625vw);
  }
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}


.chat-message-container.carousel-container {
  width: 100%;
  max-width: none;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  display: flex;
  justify-content: center;
}
.chat-message-container.carousel-container {
  max-width: 100%;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;

}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  background: transparent;
  border-radius: 0;
  box-sizing: border-box;

  padding: 1rem;
  margin-top: 1rem;
  border-radius: 15px;
  background: #f4f4f4;
  width: 100%;
  margin-left: auto;
  margin-right: auto;

}

.carousel-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.carousel-card {

  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  background: transparent;
  padding: 2rem 2rem 5rem 2rem;
  margin: 0 auto;
  gap: 2rem;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 260px;
}

.carousel-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.carousel-product-intro {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
}

.product-name {
  font-size: 1.6rem;
  font-weight: 700;
}

.product-brand {
  font-size: 1rem;
  padding: 12px 18px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
}

.product-features {
  font-size: 1.05rem;
}

.product-features li {
  font-size: 1.05rem;
  line-height: 1.6;
}



.carousel-card-main {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;

  display: flex;
  flex-direction: row;
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
  align-items: center;
}
.carousel-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.carousel-product-intro {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 0 1rem;
}

.carousel-card-main {
  display: flex;
  flex-direction: row;
  gap: 2rem;

  align-items: flex-start;
  width: 100%;
}




/* Flèches navigation */
.carousel-arrow {
  background: none;
  border: none;
  font-size: 2rem;

.product-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 2px solid black;
  border-radius: 20px;
  object-fit: contain;
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  font-size: 1.2rem;
}



.carousel-arrow {
  background: rgba(255, 255, 255, 0.8); /* Fond légèrement visible */
  border: none;
  font-size: 2.5rem; /* Taille augmentée */

  cursor: pointer;
  color: #444;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.left {
  left: -10px;
}

.carousel-arrow.right {
  right: -10px;
}



/* Bouton de localisation */
.btn-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* Taille agrandie */
  padding: 16px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 220px;
  height: 50px;

  /* Style */
  background-color: #8c8c8c;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;

  position: absolute;
  bottom: 10px;
  left: 10px;
}



.btn-location i {
  font-size: 1rem;
}

.btn-location:hover {
  background-color: #6e6e6e;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .carousel-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 3rem;
  }

  .carousel-card-main {
    flex-direction: column;
    align-items: center;
  }

  .btn-location {
    position: static;
    margin-top: 1rem;
  }

  .product-image {
    width: 100%;
    max-width: 220px;
  }
}


@media screen and (min-width: 1024px) {
  .carousel-product-intro {
    font-size: 1.5rem;
  }

  .product-name {
    font-size: 2rem;
  }

  .product-brand {
    font-size: 1.25rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .product-features li {
    font-size: 1.2rem;
  }
}

.escalade-popup {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

.escalade-popup-container {
  background-color: #ffffff;
  border-radius: 36px;
  padding: 50px; /* plus d'aération */
  max-width: 750px; /* popup élargie */
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.escalade-popup-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px auto;
  display: block;
}

.escalade-popup-description {
  font-weight: 400; /* retiré le gras */
  font-size: 1.25rem;
  color: #111827;
  margin: 0;
  line-height: 1.8;
}

.escalade-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.escalade-popup-buttons .button {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .escalade-popup-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .escalade-popup-buttons .button {
    width: 274px;
  }

  .escalade-popup-description {
    font-size: 1.75rem;
  }
}


.popup-localisation {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(0, 0, 0, 0.6); z-index: 2000;
}
.popup-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.popup-content {
  position: relative; background: white;
  padding: 20px; border-radius: 12px;
  z-index: 2100;
  width: 80%;
  max-width: 700px;
}


#svgModal .modal-content {
  max-width: 1000px;
  width: 95%;
}


#svgMap path {
  fill: #e0e0e0;
  transition: fill 0.3s ease;
}

#svgMap path.selected {
  fill: #FFD700 !important;  /* jaune pour le surlignage */
}


  width: 60px; /* Largeur fixe */
  height: 60px; /* Hauteur fixe */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Forme circulaire */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre subtile */
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.9); /* Fond plus visible au survol */
  color: #000; /* Couleur plus foncée */
  transform: translateY(-50%) scale(1.1); /* Légère augmentation de taille */
}

.carousel-arrow.right {
  right: 20px; /* Espace depuis le bord */
}

.carousel-arrow.left {
  left: 20px; /* Espace depuis le bord */
}
.carousel-arrow {
  background: #445be8;
  color: white;
}
.carousel-arrow:hover {
  background: #445be8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.product-category {
  display: block;
  margin: 5px 0;
  color: #666;
  font-size: 0.9em;
  background: #f3f3f3;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}
/* Nouveau style pour les fiches produit uniques */
.single-product-card {
  display: flex;
  flex-direction: row;
  background: transparent;
  padding: 5px 5px;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
  align-items: center;
}
.locate-button {
  background-color: #7a7a7a;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 20px 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    /* gap: 10px; */
    cursor: pointer;
    font-family: Arial, sans-serif;
    width: 223px;
    overflow: hidden;
    justify-content: center;

}


.home-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100px;
  height: 100px;
  
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.home-button:hover {
  background-color: #000000;
}

.home-button img {
  width: 100px;
  height: 100px;
}
/* Your existing styles */
.popup-overlay-sortir {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000080;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content-sortir {
  background-color: white;
  padding: 50px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-buttons-sortir {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.popup-buttons-sortir button {
  padding: 30px 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin:20px;
}

.popup-buttons-sortir button:first-child {
  background-color:#445be8;
  color: white;
}

.popup-buttons-sortir button:last-child {
  background-color: #ff7e00;
  color: white;
}

.dots-text {
  font-size: 1.875rem;
  color: #111010;
  animation: fade-blink 2s ease-in-out infinite;
}

@keyframes fade-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.waiting-message {
  font-style: italic;
  color: #666;
  transition: opacity 0.5s ease;
}
.product-image-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px; 
  margin: auto;

}

.product-image-carousel img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Flèches internes ❮ ❯ */
.carousel-arrow.inner-left,
.carousel-arrow.inner-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #444;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  z-index: 5;
  transition: background-color 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.carousel-arrow.inner-left {
  left: -10px;
}

.carousel-arrow.inner-right {
  right: -10px;
}

.carousel-arrow.inner-left:hover,
.carousel-arrow.inner-right:hover {
  background-color: #ddd;
}

.image-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.product-reference {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  background-color: #e6e6e6;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}



.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #bbb;
  transition: all 0.3s ease;
}

.dot.active {
  width: 12px;
  height: 12px;
  background-color: #333;
}


.popup-close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1000;
}
.popup-close-button:hover {
  color: #000;
}

