/* .nav-custom .nav-item.nav-link {
  color: white !important;
} */

.navbar .navbar-toggler {
  color: black;
  border: 2px solid #14452f;
}
.line-image {
  width: 100%;
  position: absolute;
  object-fit: contain;
  top: 0;
  right: 0;
  left: 0;
}
.section-trophic .trophic-container {
  padding-bottom: 60px;
  padding-top: 80px;
}
.wapper-infor-product .button-buy-now:hover {
  opacity: 0.8;
}
.wapper-infor-product .button-buy-now {
  display: flex;
  background-color: #14452f;
  padding-left: 20px;
  padding-right: 20px;
  align-items: center;
  height: 40px;
  color: white;
  border-radius: 20px;
  border: 0;
}

/* Simple slider (product detail) */
.wapper-infor-product .simple-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  max-height: 520px; /* constrain slider height so images don't overflow the column */
}
.wapper-infor-product .simple-slider .slides {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.6s ease;
}
.wapper-infor-product .simple-slider .slide {
  flex: 0 0 100%;
  max-width: 100%;
  display: flex;
  align-items: left;
  justify-content: left;
}
.wapper-infor-product .simple-slider .slide img {
  max-width: 500px;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.wapper-infor-product .simple-slider .slide.active img {
  /* Slight improvement for when image is active */
  object-fit: contain;
}

@media (max-width: 767px) {
  .wapper-infor-product .simple-slider {
    max-height: 420px;
  }
  .wapper-infor-product .simple-slider .slide img {
    object-fit: contain;
    max-height: 100%;
  }
}

@media (min-width: 1200px) {
  .wapper-infor-product .simple-slider {
    max-height: 640px;
  }
}
.section-trophic .trophic-container .trophics {
  /* max-width: 900px; */
  margin-right: auto;
  margin-left: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.section-trophic
  .trophic-container
  .trophics
  .trophic-item
  .trophic-item-content {
  max-width: 330px;
  margin: auto;
}
.section-trophic .trophic-container .trophics .trophic-item {
  width: 100%;
  text-align: center;
  padding-right: 10px;
  padding-left: 10px;
}

.nutritional-information .paper {
  background-color: #f9fdff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 10px;
  border-radius: 5px;
}

@media (min-width: 576px) {
  .section-trophic
    .trophic-container
    .trophics
    .trophic-item
    .trophic-item-content {
    max-width: auto;
    margin: auto;
  }
  .section-trophic .trophic-container .trophics .trophic-item {
    width: calc(100% / 2);
  }
}
@media (min-width: 768px) {
  .section-trophic .trophic-container .trophics .trophic-item {
    width: calc(100% / 3);
  }
  .wapper-infor-product .wraper-image-product {
    max-width: auto;
  }
}
@media (min-width: 992px) {
  .nav-custom .navbar-nav .nav-item {
    color: black;
  }
  .section-trophic .trophic-container .trophics .trophic-item {
    width: 20%;
  }
}

.animation-content {
  animation-name: content_modal;
  animation-duration: 2s;
}

@keyframes content_modal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*  animation response form */

.buy-now-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
}
.buy-now-options {
    opacity: 0;
    transition: opacity 0.1s;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.buy-now-container:hover .buy-now-options {
    opacity: 1;
    pointer-events: auto;
}
.button-buy-now:hover {
    background: #145c32;
    box-shadow: 0 4px 16px rgba(25,135,84,0.15);
}
.milk-type-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
}
.milk-type-button {
    background: #ffffff;
    color: #111111;
    border: 2px solid rgba(0, 0, 0, 0.08);
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 2px 8px 18px rgba(16, 24, 40, 0.08), 2px 2px 6px rgba(16, 24, 40, 0.04);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.milk-type-button.active {
    background: border-box;
    transform: translateY(-6px);
    box-shadow: 1px 18px 36px rgba(16, 24, 40, 0.12), 7px 6px 12px rgba(16, 24, 40, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}
.milk-type-button:focus { 
  outline: none; 
}