.product-page {
  min-height: 30rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  padding-right: 10vw !important;
}

.product-page .path {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  margin: 1rem 0;
}

.product-page .path a:not(:last-child) {
  border-right: 1px solid #eee;
  padding-right: 0.5rem;
  font-weight: 500;
}

.product-page .content {
  display: flex;
  align-items: stretch;
  justify-content: start;
  gap: 2rem;
  padding: 2rem 0;
}

.product-page .content .gallery {
  width: 40%;
}

.product-page .content .details {
  width: 55%;
}

.product-page .content .gallery .current__image {
  width: 100%;
  height: 30rem;
  background-color: #eee;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-page .content .gallery .current__image img {
  height: 27.5rem;
  width: 100%;
  object-fit: contain;
}

.product-page .content .gallery .others {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.product-page .content .gallery .others .img {
  width: 120px;
  padding: 5px;
  background-color: #eee;
  border-radius: 4px;
  cursor: pointer;
}

.product-page .content .gallery .others .img img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}

.product-page .content .details .description {
  margin: 1rem 0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-page .content .details .description .btn-read-more {
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
  cursor: pointer;
}

.product-page .content .details .description p {
  margin-bottom: 1rem;
}

.product-page .content .details .price {
  margin-bottom: 1rem;
}
.product-page .content .details .price .row {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.product-page .content .details .price .row .price-value {
  font-weight: 600;
  font-size: 2rem;
}

.product-page .content .details .price .row .promotion {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.product-page .content .details .price .row .old-price {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: line-through;
}

.product-page .content .details .price .row .sub-title {
  font-size: 0.8rem;
  font-weight: 300;
}

.product-page .content .details .colors .values {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}

.product-page .content .details .colors .values .color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #88888836;
}

.product-page .content .details .tags span {
  text-decoration: underline;
  color: var(--primary-color);
  cursor: pointer;
  margin-right: 5px;
  font-weight: 300;
}

.product-page .content .details .block {
  margin-bottom: 0.5rem;
}

.product-page .content .details .buy {
  margin-top: 1rem;
  margin-bottom: 2rem !important;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.product-page .content .details .buy .input {
  padding: 0.5rem 0.7rem;
  border: 1px solid #c0bfbf;
}

.product-page .content .details .buy .input input {
  width: 60px;
  border: none;
  outline: none;
  font-weight: 500;
  font-size: 1rem;
}

.product-page .content .details .buy .btn {
  padding: 0.7rem 0.7rem;
  border: 1.6px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
}

.product-page .content .details .buy button:disabled {
  cursor: not-allowed;
  background-color: #76767691;
}

.login-prompt {
  padding-bottom: 2rem !important;
}

.login-prompt a {
  font-weight: 500;
  color: var(--secondary-color);
}

.product-page .content .details .buy .primary {
  background-color: var(--primary-color);
  color: white;
}

.product-page .content .details .block-ln:not(:last-child) {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.product-page .content .details .block-ln .row {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2rem;
}

.product-page .content .details .block-ln .row .label {
  width: 20%;
  font-weight: 300;
  font-size: 0.9rem;
}

.out-of-stock {
  background-color: rgba(255, 0, 0, 0.096);
  padding: 0.8rem 1rem;
  color: crimson;

  font-weight: 500;
  font-size: 1.2rem;
  margin: 1rem 0;
}

@media only screen and (max-width: 997px) {
  .product-page .path {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .product-page .content {
    flex-direction: column;
    gap: 1rem;
    padding: 0rem 0;
  }

  .product-page .content .gallery {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: start;
  }

  .product-page .content .details {
    width: 100%;
  }

  .product-page .content .gallery .current__image {
    height: 25rem;
    margin-bottom: 0;
    margin-right: 1rem;
  }

  .product-page .content .gallery .current__image img {
    height: 22.5rem;
    width: 100%;
    object-fit: contain;
  }

  .product-page .content .gallery .others {
    flex-direction: column;
    gap: 0.5rem;
  }

  .product-page .content .gallery .others .img {
    width: 150px;
    padding: 5px;
    background-color: #eee;
    border-radius: 4px;
    cursor: pointer;
  }

  .product-page .content .gallery .others .img img {
    height: 70px;
  }

  .product-page .content .details h1 {
    font-size: 1.4rem;
  }

  .product-page .content .details .price .row {
    flex-wrap: wrap;
  }

  .product-page .content .details .price .row .price-value {
    font-size: 1.3rem;
  }

  .product-page .content .details .colors .values {
    flex-wrap: wrap;
  }

  .product-page .content .details .block-ln .row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .product-page .content .details .block-ln .row .label {
    width: 40%;
  }
}

@media only screen and (max-width: 560px) {
  .product-page .content .gallery {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
  }

  .product-page .content .details {
    width: 100%;
  }

  .product-page .content .gallery .current__image {
    height: 15rem;
    margin-bottom: 0;
    margin-right: 1rem;
  }

  .product-page .content .gallery .current__image img {
    height: 12.5rem;
    width: 100%;
    object-fit: contain;
  }

  .product-page .content .gallery .others {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .product-page .content .gallery .others .img {
    width: 80px;
  }

  .product-page .content .gallery .others .img img {
    height: 50px;
  }

  .product-page .content .details h1 {
    font-size: 1.2rem;
  }

  .product-page .content .details .price .row .price-value {
    font-size: 1.1rem;
  }
}
