.product-boxes {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.product-box {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 5px 8px 20px 4px #7b808a16;
  transition: all 0.25s;
  height: max-content;
}
.product-box:hover {
  transform: scale(1.03);
}
.product-img {
  border-radius: 0.5rem;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #edf1fd;
}
.product-img img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.product-details {
  margin-top: 1rem;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: calc(100% - 30px) 30px;
  gap: 0.5rem;
}
.product-texts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: auto;
}
.product-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.15rem;
  color: #343434;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-explain,
.product-explain * {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: #b5bcc5;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.5em 0 0.5rem;
}
.price {
  font-weight: 600;
  font-size: 1.25rem;
  color: #343434;
}
.sale-img {
  object-fit: cover;
  width: 90px;
}
.price.past {
  color: #b5bcc5;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: line-through;
}
.small-shop-btn {
  width: 100%;
  margin: 0.75rem 0 0.5rem 0;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  background-color: var(--gizem);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 0.75rem;
  transition: all 0.25s;
  outline: none !important;
  border: none;
  animation: pulse-mor 1.5s infinite;
}
.small-shop-btn:active {
  transform: scale(0.9);
}
@media screen and (max-width: 768px) {
  .product-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 400px) {
  .product-boxes {
    grid-template-columns: repeat(1, 1fr);
  }
}

/***********/

.breadcrumbs {
  position: relative;
  width: 100%;
  margin: 1rem 0;
}
.breadcrumbs span {
  font-size: 0.9rem;
  color: #949fae;
}
.breadcrumbs span:nth-last-child(1) {
  color: var(--gizem);
}
.breadcrumbs span::after {
  content: "/";
  padding: 0 0.5rem;
}
.breadcrumbs span:nth-last-child(1)::after {
  display: none;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  align-items: flex-start;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
}
.product-detail-image {
  width: 100%;
  max-height: 600px;
  padding: 1rem;
  display: grid;
  place-items: center;
  background-color: #fff;
  border-radius: 1rem;
}
.product-detail-image img {
  max-width: 450px;
  aspect-ratio: 1 / 1;
  height: 100%;
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.product-detail-infos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-detail-title {
  font-weight: 700;
  font-size: 2rem;
  color: #343434;
}
.product-detail-explain {
  font-size: 0.9rem;
  color: #343434;
}
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-price {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  color: #343434;
  font-weight: 600;
}
.price-explain {
  font-size: 0.75rem;
  margin-bottom: 0;
  color: #949fae;
}
.product-detail-explain ol,
.product-detail-explain ul {
  margin: 1rem 0 1rem 2rem;
}
.product-detail-explain h1 {
  font-weight: 700;
  font-size: 2rem;
  color: #343434;
  margin: 1rem 0;
}
.product-detail-explain h2,
.product-detail-explain h3,
.product-detail-explain h4,
.product-detail-explain h5,
.product-detail-explain h6 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #343434;
  margin: 1rem 0;
}
.product-detail-explain img {
  max-width: 100%;
  object-fit: cover;
}
.shop-btn {
  width: max-content;
  margin-top: 1rem;
  padding: 1rem 4rem;
  background-color: var(--gizem);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  border-radius: .75rem;
  transition: all 0.25s;
  outline: none !important;
  border: none;
  cursor: pointer;
  animation: pulse-mor 1.5s infinite;
}
.small-shop-btn.not-click,
.shop-btn.not-click{
    background-color: #949fae;
    animation: none;
    pointer-events: none;
    cursor: not-allowed;
}
.shop-btn:active {
  transform: scale(0.9);
}
.other-image{
    width: 100%;
    background-color: #fff;
    padding: .75rem;
    border-radius: .5rem;
}
.other-image img{
    width: 100%;
    object-fit: cover;
}
@media screen and (max-width: 830px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .breadcrumbs span {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 450px) {
  .shop-links button,
  .shop-links a {
    width: 100%;
  }
  .shop-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
