.custom-bar-container {
  position: relative;
  margin: 20px 70px;
}

.custom-bar {
  border: none;
  height: 2px;
  background-color: #515134;
  margin: 0;
}

.bar-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -12px; /* Ajuste cette valeur si nécessaire */
  background-color: white; /* Pour le contraste */
  padding: 0 5px; /* Espace autour du texte */
  font-weight: bold; /* Pour rendre le texte plus visible */
  
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: 30px;
  width: 100%; /* Optionnel */
  max-width: 600px; /* Limite la largeur */
}
/* PRODUCTS */
.product {
  position: relative;
  overflow: hidden;
}

.product-category {
  padding: 0 10vw;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  text-transform: capitalize;
}

.product-container {
  padding: 0 10vw;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  width: 250px;
  height: 450px;
  margin-right: 40px;
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-tag {
  position: absolute;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  color: #ff7d7d;
  right: 10px;
  top: 10px;
  text-transform: capitalize;
}

.card-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 90%;
  color: #fff;
  text-transform: capitalize;
  border: none;
  outline: none;
  background: black;
  border-radius: 5px;
  transition: 0.5s;
  cursor: pointer;
  opacity: 1;  /* Button is always visible */
}



.card-btn:hover {
  background: #ffff00;
  color: black;
}

.product-info {
  width: 100%;
  height: 100px;
  padding-top: 10px;
}

.product-brand {
  font-size: 40px;
}

.product-short-description {
  width: 100%;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  opacity: 0.5;
  text-transform: capitalize;
  margin: 5px 0;
}

.price {
  font-weight: 900;
  font-size: 20px;
}

.actual-price {
  margin-left: 20px;
  opacity: 0.5;
  text-decoration: line-through;
}

.pre-btn,
.nxt-btn {
  border: none;
  width: 10vw;
  height: 100%;
  position: absolute;
  bottom: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  cursor: pointer;
  z-index: 8;
}

.pre-btn {
  left: 0;
  transform: rotate(180deg);
}

.nxt-btn {
  right: 0;
}

.pre-btn img,
.nxt-btn img {
  opacity: 0.2;
}

.pre-btn:hover img,
.nxt-btn:hover img {
  opacity: 1;
}

.collection-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

.collection {
  position: relative;
}



.collection p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 50px;
  text-transform: capitalize;
}

.collection:nth-child(3) {
  grid-column: span 2;
  margin-bottom: 10px;
}
@media only screen and (max-width: 767px) {
  .product-card {
    flex: 0 0 100%; /* Chaque carte prend 100% de la largeur */
    box-sizing: border-box; /* S'assure que le padding et la bordure sont inclus dans la largeur */
}

}