/* Containers and Layout */
.container_recomendation {
  max-width: 1200px;
  margin: 0 auto;

}

.main-wrapper {
  margin: 2rem;
  min-height: 100vh;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top :0px;
}

.flex {
  display: flex;
}

.flex1 {
  display: flex;
  justify-content: space-between;
}

/* Product Styles */
.product-div {
  margin: 1rem 0;
  padding:;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Auto-responsive grid */
  background-color: #fff;
  border-radius: 3px;
  gap: 20px;
}

.product-div-left,
.product-div-right {
  padding: 0px;
}

.img-container img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
}

.hover-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  gap: 8px;
}

.hover-container div {
  border: 2px solid rgba(252, 160, 175, 0.7);
  padding: 1rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.hover-container div:hover,
.active {
  border-color: rgb(255, 145, 163);
}

.hover-container div img {
  width: 50px;
}

.product-div-right span {
  margin-bottom: 8px; /* Consistent spacing */
}
.product-original-price {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
}
.product-name {
  font-size: 1.4em !important;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.9;
}

.product-price {
    color: #E94560;
  font-weight: 500;
  font-size: 24px;
  opacity: 0.9;
  margin-right: 10px;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.product-rating span {
  margin-right: 6px;
}

/*
.product-description {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.9;
  margin-top: 16px;
}
*/

.product-description {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #444; /* Gris foncé pour un effet luxueux */
}

.btn-groups {
   font-family: 'Cairo', sans-serif;
  margin-top: 16px;
  display: flex;
  gap: 12px; /* Space between buttons */
}
.button{
  font-size: 16px;
  font-family: inherit;
  text-transform: uppercase;
  padding: 15px 16px;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.add-cart-btn{
  font-size: 16px;
  font-family: inherit;
  text-transform: uppercase;
  padding: 15px 16px;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.buy-now-btn{
  font-size: 16px;
  font-family: inherit;
  text-transform: uppercase;
  padding: 15px 16px;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-groups button .fas {
  margin-right: 8px;
}

.add-cart-btn {
  background-color: #FF9F00;
  border: 2px solid #FF9F00;
}

.add-cart-btn:hover {
  background-color: #fff;
  color: #FF9F00;
}

.buy-now-btn {
  background-color: #000;
  border: 2px solid #000;
}

.buy-now-btn:hover {
  background-color: #fff;
  color: #000;
}

/* Description Section */
.product-description-section {
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.description-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

.description-content {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {


  .product-description-section {
    padding: 15px;
  }

  .description-title {
    font-size: 22px;
  }

  .description-content {
    font-size: 16px;
  }

  .btn-groups {
    flex-direction: column; /* Stack buttons */
    align-items: stretch;
  }

  .btn-groups button {
    width: 100%; /* Full width for small screens */
  }
}

.delivery-info {
    font-family:  'Cairo', sans-serif;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between icon badge and text */
    background-color: #fdfdfd; /* Light background */
    padding: 12px 16px;
    border: 1px solid #e0e0e0; /* Light border */
    border-radius: 12px; /* Rounded container edges */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.delivery-info:hover {
    transform: translateY(-3px); /* Lift on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.delivery-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FF5733; /* Festive gift red */
    color: white; /* Keeps the text/icon visible */
    border-radius: 50%; /* Circular badge */
    font-size: 18px;
    font-weight: bold; /* Enhances visibility of content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Adds depth */
    transition: transform 0.2s, box-shadow 0.2s; /* Smooth hover effect */
}

.delivery-text {
    font-size: 16px;
    font-weight: 500; /* Semi-bold for better readability */
    color: #333; /* Neutral dark text */
}