/**
 * Боковая панель товара — галерея и данные с маркетплейсов (без остатков/продаж)
 */
:root {
  --product-dock-w: min(440px, 96vw);
}

.product-side-drawer .pdp-hdr {
  padding: 14px 16px;
}

.product-side-drawer .pdp-title {
  font-size: 15px;
  font-weight: 700;
  -webkit-line-clamp: 3;
}

.product-side-drawer .pdp-sub {
  font-size: 11px;
  margin-top: 4px;
  font-family: inherit;
  line-height: 1.4;
}

.product-side-drawer .pdp-body {
  padding: 12px 14px 20px;
}

.pdp-gallery {
  margin-bottom: 14px;
}

.pdp-photo-main-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.pdp-photo-main {
  width: 100%;
  max-height: min(52vh, 360px);
  min-height: 200px;
  border-radius: 0;
  border: none;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.pdp-photo-main-ph {
  width: 100%;
  min-height: 200px;
  height: auto;
  border-radius: 14px;
  font-size: 48px;
}

.pdp-photo-cap {
  font-size: 12px;
  padding: 4px 10px;
}

.pdp-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.pdp-photo-nav:hover {
  background: rgba(0, 0, 0, 0.65);
}

.pdp-photo-nav--prev {
  left: 8px;
}

.pdp-photo-nav--next {
  right: 8px;
}

.pdp-photo-thumbs {
  gap: 8px;
  margin-top: 10px;
}

.pdp-thumb {
  border-radius: 10px;
}

.pdp-thumb.active {
  border-color: var(--text2);
  box-shadow: 0 0 0 2px var(--text2);
}

.pdp-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.pdp-mp {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.pdp-mp-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.pdp-mp-hd .pb {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.pdp-mp-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
}

.pdp-ratings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.pdp-rating-star {
  font-size: 15px;
  font-weight: 800;
  color: #f5c542;
}

.pdp-rating-reviews,
.pdp-content-rating {
  font-size: 12px;
  color: var(--text2);
  font-weight: 600;
}

.pdp-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  line-height: 1.4;
}

.pdp-meta-lbl {
  color: var(--text2);
  flex: 0 0 auto;
}

.pdp-meta-lbl::after {
  content: ':';
}

.pdp-meta-val {
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}

.pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.pdp-size-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
}

.pdp-desc-block {
  margin-top: 4px;
}

.pdp-desc-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
  margin-bottom: 6px;
}

.pdp-desc-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: none;
}

.pdp-desc-text--clamp {
  max-height: 200px;
  overflow-y: auto;
}

.pdp-desc-more {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.pdp-empty-msg {
  margin: 0;
  font-size: 12px;
  color: var(--text3);
}

.pdp-mp--empty {
  opacity: 0.85;
}

.pdp-barcode-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text2);
  word-break: break-all;
}

.pdp-barcode-foot b {
  color: var(--text);
  font-weight: 700;
}
