/**
 * DEJOIY Product Detail — trust strip + Buy Now.
 */

.djy-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin: 0.8rem 0 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  background: #f8fafc;
}

.djy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

.djy-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.djy-chip--link a {
  color: #7c3aed;
  text-decoration: none;
  border-bottom: 1px dashed rgba(124, 58, 237, 0.4);
}

.djy-chip--link a:hover {
  color: #6d28d9;
  border-bottom-style: solid;
}

.djy-buynow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 0 1.6rem;
  height: 46px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 46px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.djy-buynow:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

@media (max-width: 480px) {
  .djy-buynow {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
  }
}
/* ---- PDP: "You may also like" rail ---- */
.dpy-rail {
  margin: 22px auto 40px;
  max-width: 1260px;
  width: 100%;
}
.dpy-rail__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #140808;
  margin: 0 0 14px;
}
.dpy-rail__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.dpy-rail__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #eee4dd;
  border-radius: 14px;
  padding: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: #140808;
}
.dpy-rail__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(67, 20, 6, 0.09);
  border-color: #ff7c02;
}
.dpy-rail__img {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #faf5f1;
}
.dpy-rail__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.dpy-rail__card:hover .dpy-rail__img img {
  transform: scale(1.05);
}
.dpy-rail__name {
  font-size: 13px;
  line-height: 1.35;
  color: #4a3a30;
  font-weight: 500;
  min-height: 34px;
}
.dpy-rail__price {
  font-size: 15px;
  font-weight: 800;
  color: #e05d00;
}
.dpy-rail__price del {
  color: #b39b8c;
  font-weight: 500;
  font-size: 12px;
  margin-left: 6px;
}
@media (max-width: 1024px) {
  .dpy-rail__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .dpy-rail__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .dpy-rail__title {
    font-size: 18px;
  }
  .dpy-rail {
    padding: 0 16px;
    box-sizing: border-box;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .dpy-rail__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
