/*page recherche*/

.edit-button {
  border: none;
  background-color: transparent;
}

.recherche {
  margin-top: 2%;
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 600;
  font-family: Manrope;
}

.recap {
  color: var(--text-secondary);
  margin-top: 0;
  text-decoration: underline;
}

.recommended {
  background-color: #21B830;
  color: var(--background-primary);
  padding: 1%;
  font-size: 1.1rem;
  width: 60%;
  font-family: Manrope;
}

.titre {
  font-weight: 600;
}

.frame-31 {
  background-color: var(--background-primary);
  padding: 2%;
  border-radius: 12px;
  border: 2px solid;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.button-text {
  margin-left: 5px;
}

.frame-30 {
  flex: 1.5;
}

.date {
  margin-top: -15px;
  color: var(--text-secondary);
}

.rounded-line {
  border: 1px solid;
  border-color: var(--border-secondary);
  border-radius: 20px;
  padding: 0.5%;
  padding-left: 2%;
  width: 80%;
}

.columns {
  display: flex;
  justify-content: space-between;
  background-color: var(--background-secondary);
  gap: 3%;
  border-radius: 12px;
  margin-top: 3%;
  padding-left: 3%;
  width: 92%;
}

.column {
  flex: 1;
}

.category {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.tarifs {
  margin-top: 0;
  font-size: 1.1rem;
  font-family: Manrope;
}

.total {
  color: var(--text-secondary);
  margin: 1%;
}

.prix {
  font-size: 1.4rem;
  font-family: Manrope;
  margin: 1%;
}

.radio-button-input {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 0;
  padding-top: 10px;
}

input#radioButton {
  width: 20px;
  height: 20px;
}

input#radioButton1 {
  width: 20px;
  height: 20px;
}

.radio-button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
}

.radio-button:checked {
  background-color: var(--background-secondary);
  border-color: var(--text-primary);
  border: 6px solid;
}

.frame-31 {
  border: 1px solid var(--border-secondary);
  transition: border-color 0.3s ease-in-out;
}

.frame-31.selected {
  border-color: var(--text-primary);
  border: 2px solid;
}

.return {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: Manrope;
  text-decoration: underline;
  padding: 1%;
  cursor: pointer;
}

.adding-to-cart {

  background: linear-gradient(263.46deg, var(--linear-primary) 0%, var(--linear-secondary) 100%);
  color: var(--background-secondary);
  font-weight: 600;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  display: flex;
  justify-content: center;
}

.adding-to-cart:hover {
  border: var(--text-primary);
}


/*footer*/

.footerContainer {
  margin-right: 5%;
  margin-left: 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* page animation */
.patience {
  font-size: 1.2rem;
  font-family: Manrope;
}

#lottie-container {
  height: 80%;
  margin-left: auto;
  margin-right: auto;
}

.overlay-container {
  position: relative;
}

.overlay-content {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -90%);
  text-align: center;
  color: rgb(0, 0, 0);
}

.overlay-text {
  margin-bottom: 2%;
  font-weight: 600;
}

.larger-text {
  font-size: 1.9rem;
  font-family: Manrope;
}

.highlighted-text {
  color: var(--linear-primary);
}

#intence-progress-bar {
  width: 0%;
  height: 15px;
  background: linear-gradient(263.46deg, var(--linear-primary) 0%, var(--linear-secondary) 100%);
  position: relative;
  border-radius: 192px;
}

.success {
  display: none;
  border-radius: 10px;
  text-align: center;
  position: absolute;
  left: 50%;
  color: var(--linear-primary);
  animation: slide-up 0.3s ease-in-out forwards;
}

@keyframes slide-up {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -150%);
    opacity: 1;
  }
}

.success img {
  max-width: 150px;
}

.found-text {
  font-size: 3.5rem;
  font-weight: bolder;
  margin-top: 1%;
  font-family: Manrope;
}

/* animation affichage page résultat recherche */
.page-slide {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: 'Manrope', sans-serif;
  overflow-y: auto;
  background-color: var(--background-primary);
  transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.5s ease-in-out;
}

.page-slide.active {
  bottom: 0;
  opacity: 1;
}

.page-slide.hidden {
  opacity: 0;
}

/* animation ajouter au panier */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lottie-animation-panier {
  width: 30%;
  margin-left: auto;
  margin-right: auto;
}


/********responsive**********/


@media (min-width: 800px) {
  .carousel-container {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    position: relative;
    align-items: flex-start;
    overflow-x: hidden;
    gap: 30px;
    max-width: 100%;
    padding: 10px 3%;
  }

  .see-more-offers {
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 60%;
    font-family: Manrope;
  }

  .search-box {
    padding-left: 3%;
  }

  .success {
    top: 70%;
  }

  .carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
  }

  .carousel-arrow {
    background-color: var(--background-primary);
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
    font-family: Manrope;
  }

  .background {
    position: relative;
    z-index: -1;
    opacity: 0.5;
  }

  .background-square {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-secondary);
  }

  .square1 {
    width: 900px;
    height: 900px;
    margin-top: 300px;
    right: -25px;
  }

  .square2 {
    width: 600px;
    height: 600px;
    margin-top: 450px;
    right: 110px;
  }

  .square3 {
    width: 300px;
    height: 300px;
    margin-top: 600px;
    right: 250px;
  }

  .frame-31 {
    padding-top: 1%;
    padding-bottom: 1%;
    min-width: 300px;
  }

  #bottom-section {
    display: none;
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: transparent;
  }
}

@media (max-width: 800px) {
  #lottie-container {
    width: 50%;
  }

  #lottie-animation-panier {
    width: 60%;
  }

  .search-box {
    padding: 7%;
    padding-bottom: 1%;
  }

  .carousel-container {
    padding: 7%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .carousel-controls {
    display: none;
  }

  .overlay-content {
    width: 300px;
  }

  .larger-text {
    font-size: 1.6rem;
    width: 300px;
    font-family: Manrope;
  }

  .recherche {
    margin-top: 5%;
  }

  .frame-31 {
    padding: 6%;
  }

  .found-text {
    font-size: 3rem;
    font-family: Manrope;
  }

  .recommended {
    padding: 2%;
    font-size: 0.9rem;
    width: 35%;
    font-family: Manrope;
  }

  #bottom-section {
    position: sticky;
    align-items: center;
    bottom: 0;
    margin-top: 20px;
    background-color: var(--background-primary);
  }

  .columns {
    width: 70%;
  }

  .success {
    transform: translate(-50%, 100%);
    top: 55%;
  }

  @keyframes slide-up {
    from {
      transform: translate(-50%, 120%);
    }

    to {
      transform: translate(-50%, -90%);
    }
  }
}

@media (max-width: 500px) {
  .recherche {
    font-size: 1.5rem;
    font-family: Manrope;
  }

  .patience {
    font-size: 1rem;
    font-family: Manrope;
  }

  .recommended {
    width: 55%;
  }

  .columns {
    width: 85%;
  }

  .adding-to-cart {
    font-size: 0.9rem;
    font-family: Manrope;
  }

  .return {
    font-size: 0.9rem;
    font-family: Manrope;
    font-weight: 600;
    text-decoration: underline;
    padding: 1%;
    width: 40%;
  }

  .rounded-line {
    width: 65%;
  }

  #lottie-container {
    width: 100%;
  }

  .found-text {
    font-size: 2.9rem;
    width: max-content;
  }

  .success {
    transform: translate(-50%, 130%);
    font-size: 1.3rem;

  }
}