/* Card */

.card-product {
  display: flex;
  flex-direction: column;
  /* max-width: 320px; */
  /*max-width: 290px;*/
  margin: 0 auto;
  padding: 0 20px;
  border: 1px solid var(--color-gray-600);
  transition: all .4s;
  background: #fff;
}

.card-product:hover {
  border: 1px solid var(--color-orange-800);
  transition-delay: 300ms;
}

.card-product__wrapper-image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 246px;
  height: 194px;
  background-color: #fff;
}

.card-product__wrapper-image img {
  max-height: 194px;
}

.card-product__tag-promotion {
  position: absolute;
  width: 24% !important;
  height: auto !important;
  top: 0;
  left: 0;
  z-index: 5;
}

.card-product h3 {
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 400;
  color: #000;
}

.card-product h5 {
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 400;
  color: #000;
  margin-top: 5px;
}

.product-ref {
  margin-top: 6px;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 400;
  color: #000;
}

.buy_together__total_price,
.card-product h4 {
  display: flex;
  margin-top: 12px;
  padding: 0;
  font-size: clamp(1.4rem, 5vw, 2.8rem);
  font-weight: 500;
  color: #000;
}

.buy_together__total_price span,
.card-product h4 span {
  margin-top: 14px;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
}

.buy_together__total_price+p,
.card-product h4+p {
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 300;
  color: #000;
}

.--card-button {
  margin: 0px auto;
  padding: 10px 24px;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 500;
  color: var(--color-orange-800);
  opacity: 0;
  transition: all 0.4s;
}

.card-product:hover .--card-button,
.card-product:focus .--card-button {
  margin: 16px auto;
  color: #fff;
  opacity: 1;
  transition: all 0.4s;
}

.product-description__wrapper-price__discount {
  font-weight: 400;
  font-size: clamp(1.2rem, 5vw, 1.2rem);
  color: var(--color-gray-800);
  text-decoration: line-through;
}

.product-description__wrapper-price__mark {
  max-width: max-content;
  padding: 4px 6px;
  font-weight: 900;
  font-size: clamp(1.2rem, 5vw, 1.2rem);
  color: #fff;
  background-color: var(--red);
}

nav[role=navigation] {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

nav[role=navigation] a,
nav[role=navigation] span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #4A5568;
  background: #ffffff;
  border: 1px solid #CBD5E0;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav[role=navigation] a:hover {
  background: #edf2f7;
  color: var(--color-orange-950);
}

nav[role=navigation] a {
  background: var(--color-orange-900);
  color: #fff;
  border-color: var(--color-orange-900);
}

nav[role=navigation] span {
  color: #A0AEC0;
  background: #E2E8F0;
  cursor: not-allowed;
}

@media (max-width: 768px) {

  /* Card */
  .card-product {
    max-width: 200px;
    margin: unset;
    padding: 12px 12px;
  }

  .card-product:hover {
    border: 1px solid var(--color-orange-800);
    transition-delay: 0ms;
  }

  .card-product__wrapper-image {
    max-width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .card-product h3 {
    font-size: clamp(1.4rem, 5vw, 1.4rem);
  }

  .product-ref {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
  }

  .buy_together__total_price,
  .card-product h4 {
    align-items: center;
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .buy_together__total_price span,
  .card-product h4 span {
    margin-top: 0px;
  }

  .--card-button {
    display: none;
    padding: 10px clamp(2px, 3vw, 24px);
    font-size: clamp(1.2rem, 5vw, 1.3rem);
    max-height: 0px;
    transition: all 0.2s !important;
  }

  .card-product:hover .--card-button,
  .card-product:focus .--card-button {
    max-height: 50px;
    transition: all 0.2s !important;
  }
}