.product-default figure img {
    transition: opacity 0.3s ease-in-out;
    height: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/**** PACKS PRODUCTES ****/
  /* Pack preview */
  #pack-preview {
    /*height: 300px; /* Set the desired height */
    /*overflow-y: auto;*/
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
  }
  
  /* Product image */
  #pack-preview .product-image {
    width: 50px;
    height: 50px;
    object-fit: contain; /* Ensure the image covers the container */
    margin-right: 10px; /* Adjust margin as needed */
  }
  
  /* Product text */
  #pack-preview .product-text {
    padding: 0.75rem 0.75rem 0.75rem 0rem;
    flex: 1; /* Allow the text to take up remaining space */
    overflow: hidden; /* Hide any overflow text */
    /*white-space: nowrap; /* Prevent text wrapping */
    /*text-overflow: ellipsis; /* Show ellipsis (...) for overflow text */
  }
  
  /* Description styling */
  #pack-preview .product-title {
    max-height: 3em; /* Two lines of text */
    overflow: hidden;
    font-size: smaller;
    margin-bottom: 0px;
    color: #6c757d;
  }
  
  /* Description styling */
  #pack-preview .product-price {
    text-align: end;
    min-width:75px;
    font-size: smaller;
    margin-bottom: 0px;
    color: #6c757d;
  }
  
  /* Description styling */
  .total-price {
    text-align: end;
    min-width:75px;
    font-size: smaller;
    margin-bottom: 0px;
    color: #6c757d;
  }
  
  /* Description styling */
  #pack-preview .product-description {
    /*max-height: 3em; /* Two lines of text */
    overflow: hidden;
    margin-bottom: 0px;
    font-size: smaller;
    color: #6c757d;
  }
  
  /* Product image container */
  #pack-preview .product-image-container {
    display: flex;
    align-items: center; /* Vertically center the image and text */
  }

  #pack-preview .list-group {
    padding: 1rem;
  }

  #pack-preview .list-row-item {
    padding: 0.75rem;
  }
  
  /* Preview row container */
  #pack-preview .preview-row {
    flex: 1; /* Occupy remaining width */
    display: flex;
    align-items: center;
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

  /* Preview row container */
  #pack-preview .product-types {
    color: var(--salle-color-01);
  }

  /*Checkbox*/
  /* Bootstrap-like checkbox styles */
#pack-preview .checkbox-custom {
  display: inline-flex; /* Use flexbox for better alignment */
  align-items: center; /* Align items vertically */
  cursor: pointer;
  position: relative;
  padding-left: 30px; /* Adjust the padding as needed */
}

#pack-preview .checkbox-custom input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
}

#pack-preview .checkbox-custom .checkmark {
  position: absolute;
  top: -5;
  left: 0;
  height: 2rem; /* Adjust the size of the checkbox */
  width: 2rem; /* Adjust the size of the checkbox */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#pack-preview .checkbox-custom .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

#pack-preview .checkbox-custom input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}

#pack-preview .checkbox-custom .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Disabled checkbox styles */
.checkbox-custom input[type="checkbox"]:disabled ~ .checkmark {
  background-color: #f8f8f8;
  border-color: #dcdcdc;
  cursor: not-allowed;
}

.checkbox-custom input[type="checkbox"]:disabled ~ .checkmark:after {
  border-color: #aaa;
}

/**  CART DROPDOWN **/
.product-pack-details{
  font-size: smaller;
}

.pack-card-body {
  font-size: smaller;
  padding: 1rem 1rem;
  border-top: 0;
  border-radius: 0;
  font-size: 1.3rem;
}

.collapse-block {
  display: block;
  border-bottom: 1px solid #e6ebee;
}

.pack-card-body-details {
  display:flex;
}

.flex-table {
  list-style-type: none;
  padding: 0;
}

.flex-row {
  display: flex;
}

.flex-cell {
  flex: 2.5;
}

.align-right {
  text-align: right;
  flex:1.5;
}

#cart-pack-details td{
  border-top: none !important;
  padding: 0rem 1rem 1rem 1rem;
}

#cart-pack-details td.product-col{
  padding: 0rem 0.8rem 1rem 0;
}

#cart-pack-details .product-image-container{
  width: 6rem; 
  margin-left: auto;
  margin-right: auto;
}

#cart-pack-details .product-col{
  font-size: 1.4rem;
}

#whishlist-pack-details td, #whishlist-pack-content td{
  border-top: none !important;
  padding: 0px 5px 0px 16px;
}

#whishlist-pack-details .product-image-container{
  width: 6rem; 
  margin-left: auto;
  margin-right: auto;
}

#whishlist-pack-details .product-col{
  font-size: 1.4rem;
}



