.pd-crumb {
  background: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 11px 0;
  font-size: 0.78rem;
  color: #aaa;
}
.pd-crumb .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pd-crumb a {
  color: #888;
  text-decoration: none;
}
.pd-crumb a:hover {
  color: var(--orange);
}
.pd-crumb span {
  color: #111;
  font-weight: 600;
}
.pd-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .pd-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
}
.pd-gallery {
  position: sticky;
  top: 80px;
  align-self: start;
}
.pd-main-img {
  position: relative;
  background: #f8f8f8;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #eee;
}
.pd-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.pd-badge-disc {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
}
.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 68px;
  height: 68px;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #f5f5f5;
}
.pd-thumb.active,
.pd-thumb:hover {
  border-color: var(--orange);
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3eb;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.pd-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
}
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-price-block {
  background: linear-gradient(135deg, #fff8f3, #fff3e0);
  border: 1.5px solid #ffd6a0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-price {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
}
.pd-old-price {
  font-size: 1rem;
  color: #bbb;
  text-decoration: line-through;
}
.pd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-qty-wrap {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 9px;
  overflow: hidden;
  height: 48px;
}
.pd-qty-btn {
  width: 44px;
  height: 100%;
  background: #f5f5f5;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #555;
  font-weight: 700;
}
.pd-qty-val {
  width: 48px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 1rem;
}
.pd-add-cart {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pd-add-cart:hover {
  background: var(--orange);
}
.pd-desc {
  color: #555;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 8px;
}
.pd-related {
  margin-top: 48px;
  border-top: 1px solid #eee;
  padding-top: 28px;
}
.pd-related h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.pd-rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.pd-rel-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.pd-rel-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.pd-rel-img {
  height: 140px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-rel-body {
  padding: 10px;
}
.pd-rel-name {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-rel-price {
  font-weight: 800;
  margin-top: 6px;
}
