/* ══ Отзывы покупателей (Ozon-стиль) ══ */
.pdr { margin: 40px 0; font-family: 'Manrope', sans-serif; }

/* Шапка */
.pdr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.pdr-title { font-family: 'Inter Tight', sans-serif; font-size: 40px; font-weight: 800;
  color: #14342a; margin: 0 0 10px; line-height: 1.05; letter-spacing: -0.5px; }
.pdr-sub { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #6b7280; }
.pdr-shield { width: 18px; height: 18px; color: #3d9a5b; flex-shrink: 0; }
.pdr-shield.sm { width: 15px; height: 15px; }
.pdr-nav { display: flex; gap: 10px; flex-shrink: 0; }
.pdr-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #e2e2e0;
  background: #fff; color: #4a4a4a; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background .15s, box-shadow .15s; }
.pdr-arrow svg { width: 20px; height: 20px; }
.pdr-arrow:hover { background: #f6f6f4; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.pdr-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; background: #fff; }

/* Карусель — слева по контейнеру, справа уходит до края экрана */
.pdr-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none;
  margin-right: calc(50% - 50vw); padding-right: calc(50vw - 50%); }
.pdr-track::-webkit-scrollbar { display: none; }
.pdr-summary, .pdr-card { flex: 0 0 300px; scroll-snap-align: start; background: #fff;
  border: 1px solid #ececec; border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column; }

/* Звёзды */
.pdr-star { color: #dcdcdc; font-size: 20px; line-height: 1; }
.pdr-star.on { color: #ffb400; }
.pdr-star.sm { font-size: 13px; }

/* Карточка-сводка */
.pdr-summary { align-items: center; text-align: center; }
.pdr-sum-num { font-family: 'Inter Tight', sans-serif; font-size: 56px; font-weight: 800;
  color: #1a1a1a; line-height: 1; }
.pdr-sum-stars { margin: 10px 0 6px; letter-spacing: 3px; }
.pdr-sum-count { font-size: 15px; color: #6b7280; margin-bottom: 22px; }
.pdr-dist { width: 100%; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.pdr-dist-row { display: flex; align-items: center; gap: 10px; }
.pdr-dist-star { display: flex; align-items: center; gap: 3px; width: 34px; font-size: 14px;
  color: #4a4a4a; flex-shrink: 0; }
.pdr-dist-bar { flex: 1; height: 8px; background: #edecea; border-radius: 4px; overflow: hidden; }
.pdr-dist-fill { display: block; height: 100%; background: #ffb400; border-radius: 4px; }
.pdr-dist-cnt { width: 20px; text-align: right; font-size: 14px; color: #6b7280; flex-shrink: 0; }
.pdr-verified-badge { margin-top: auto; width: 100%; display: flex; align-items: center;
  justify-content: center; gap: 8px; background: #eef6ee; color: #3d7a4e; border: 1px solid #dcecdf;
  border-radius: 12px; padding: 13px; font-size: 14px; font-weight: 600; }
.pdr-verified-badge .pdr-shield { color: #3d9a5b; }

/* Карточка отзыва */
.pdr-card-stars { letter-spacing: 2px; margin-bottom: 16px; }
.pdr-card-author { font-family: 'Inter Tight', sans-serif; font-size: 18px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 6px; }
.pdr-verified { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b7280;
  margin-bottom: 16px; }
.pdr-verified .pdr-shield { color: #3d9a5b; }
.pdr-card-body { flex: 1; overflow: hidden; }
.pdr-card.clamped .pdr-card-body { max-height: 232px; }
.pdr-block { margin-bottom: 14px; }
.pdr-badge { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 6px;
  padding: 3px 9px; margin-bottom: 7px; }
.pdr-badge-pro { background: #e8f3e8; color: #2f6b3f; }
.pdr-badge-con { background: #fdecec; color: #d64545; }
.pdr-badge-comment { background: #f0f1f3; color: #374151; font-family: inherit; line-height: 1.4; margin: 0 0 8px; }
.pdr-block-txt { font-size: 15px; color: #3a3a3a; line-height: 1.55; }
.pdr-comment { margin-bottom: 14px; }
.pdr-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pdr-photo { width: 66px; height: 66px; border-radius: 8px; overflow: hidden; display: block; }
.pdr-photo img { width: 100%; height: 100%; object-fit: cover; }
.pdr-reply { margin-top: 12px; padding: 12px 14px; background: #f4f7f4; border-radius: 10px;
  font-size: 14px; color: #3a3a3a; line-height: 1.5; }
.pdr-reply-label { display: block; font-weight: 700; color: #2f6b3f; margin-bottom: 4px; font-size: 13px; }
.pdr-readmore { align-self: flex-start; background: none; border: none; padding: 8px 0 0;
  color: #1a1a1a; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; }
.pdr-readmore:hover { text-decoration: underline; }
.pdr-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0f0ee; }
.pdr-date { font-size: 13px; color: #9ca3af; }
.pdr-helpful { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #9ca3af; }
.pdr-vote { background: none; border: none; cursor: pointer; font-size: 15px; padding: 0; }
.pdr-vote:disabled { opacity: .5; cursor: default; }
.pdr-up-count { font-weight: 600; color: #6b7280; }

@media (max-width: 640px) {
  .pdr-title { font-size: 30px; }
  .pdr-summary, .pdr-card { flex-basis: 84vw; }
}

/* ══ Форма отзыва (оставляем как было) ══ */
/* Отдельный источник: без звёзд и подтверждения покупки. */
.pdr-card--instagram { position:relative; align-self:flex-start; overflow:hidden; background:linear-gradient(155deg,#fff 62%,#fff5ef); border-color:#ecd9df; }
.pdr-card--instagram::before { content:''; position:absolute; inset:0 0 auto; height:3px; background:linear-gradient(90deg,#edb757,#e87891,#a683bc); }
.pdr-social-source { display:flex; align-items:center; gap:7px; font-size:11px; font-weight:650; color:#75506b; margin-bottom:22px; }
.pdr-social-dot { width:7px; height:7px; border-radius:50%; background:linear-gradient(135deg,#f4b66a,#c77aa9); flex:none; }
.pdr-social-author { display:flex; align-items:center; gap:12px; margin-bottom:19px; }
.pdr-social-avatar { display:flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; border:2px solid #dd90a9; border-radius:50%; background:#fff5f0; color:#966477; }
.pdr-social-avatar svg { width:24px; height:24px; }
.pdr-social-author .pdr-card-author { font-size:16px; margin-bottom:3px; }
.pdr-social-context { font-size:11px; color:#635f59; }
.pdr-social-quote { display:block; height:29px; font-family:Georgia,serif; font-size:48px; line-height:1; color:#dc93ab; }
.pdr-card--instagram .pdr-comment { color:#343b33; line-height:1.7; margin:0 0 14px; border:0; padding:0; }
.pdr-social-health { font-size:11px; line-height:1.6; color:#634b2b; background:#fff0d8; padding:12px; border-radius:9px; margin:0 0 16px; }
.pdr-social-foot { border-color:#eddfe0; }
.pdr-social-like { display:inline-flex; align-items:center; gap:8px; border:0; border-radius:7px; background:transparent; padding:7px 5px; color:#865062; font:600 12px 'Manrope',sans-serif; cursor:pointer; }
.pdr-social-like svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; }
.pdr-social-like:hover { background:#fbe9ee; }
.pdr-social-like[aria-pressed=true] { color:#bf405d; }
.pdr-social-like[aria-pressed=true] svg { fill:currentColor; }
.pdr-social-like:focus-visible { outline:none; background:#22372b; color:#fff; text-decoration:underline; }
.pdr-social-note { margin-top:9px; color:#735b65; font-size:10px; line-height:1.5; }

.rv-form { margin: 28px 0; padding: 22px; border: 1px solid #ececec; border-radius: 16px;
  background: #fff; max-width: 620px; }
.rv-form-title { font-family: 'Inter Tight', sans-serif; font-size: 17px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 14px; }
.rv-form-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rv-input-stars { display: inline-flex; flex-direction: row-reverse; }
.rv-input-stars input { display: none; }
.rv-input-stars label { font-size: 26px; color: #dcdcdc; cursor: pointer; padding: 0 2px; }
.rv-input-stars input:checked ~ label,
.rv-input-stars label:hover, .rv-input-stars label:hover ~ label { color: #ffb400; }
.rv-ta { width: 100%; border: 1px solid #e2e2e0; border-radius: 10px; padding: 10px 12px;
  font-family: 'Manrope', sans-serif; font-size: 14px; margin-bottom: 10px; resize: vertical; }
.rv-photo-upload { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.rv-photo-btn { display: inline-flex; align-items: center; gap: 6px; background: #f4f7f4;
  border: 1px solid #dcecdf; border-radius: 10px; padding: 9px 14px; font-size: 13px;
  color: #2f6b3f; cursor: pointer; }
.rv-photo-names { font-size: 12px; color: #9ca3af; }
.rv-submit { background: #22372b; color: #fff; border: none; border-radius: 10px;
  padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer; }
.rv-submit:hover { background: #2f4a3a; }
.rv-form-note { margin-left: 12px; font-size: 13px; color: #b45309; }
.rv-hint { color: #6b7280; font-size: 14px; margin: 18px 0; }
.rv-hint a { color: #2f6b3f; font-weight: 600; }
.rv-empty { color: #6b7280; font-size: 15px; padding: 20px 0; }

/* Превью загружаемых фото в форме отзыва (добавление по одному, удаление) */
.rv-photo-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.rv-photo-item {
  position: relative; width: 78px; height: 78px; border-radius: 10px;
  overflow: hidden; border: 1px solid #e0e0e0; background: #f5f5f5;
}
.rv-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-photo-del {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff;
  font-size: 15px; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; padding: 0; transition: background .15s;
}
.rv-photo-del:hover { background: rgba(200,30,30,.9); }

/* Окно благодарности от Владимира после отправки отзыва */
.rv-thanks-overlay {
  position: fixed; inset: 0; background: rgba(20,30,15,.55);
  display: flex; align-items: center; justify-content: center; z-index: 100000;
  padding: 20px; animation: rvThanksFade .25s ease;
}
@keyframes rvThanksFade { from { opacity: 0; } to { opacity: 1; } }
.rv-thanks-card {
  position: relative; background: #fff; border-radius: 22px; max-width: 420px; width: 100%;
  padding: 34px 30px 30px; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.32);
  animation: rvThanksUp .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes rvThanksUp { from { transform: translateY(18px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.rv-thanks-photo {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 3px solid #a3e043; margin: 0 auto 16px; display: block;
}
/* Видео-благодарность в окне после отзыва */
.rv-thanks-video-block { margin: 0 auto 18px; }
.rv-thanks-video-wrap {
  position: relative; width: 168px; margin: 0 auto; cursor: pointer;
  border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.rv-thanks-video {
  display: block; width: 168px; height: 264px; object-fit: cover; background: #000;
}
.rv-thanks-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; border: none; padding: 0;
  background: rgba(0,0,0,.48); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.rv-thanks-play svg { width: 26px; height: 26px; margin-left: 3px; }
.rv-thanks-play:hover { background: rgba(122,187,38,.92); transform: translate(-50%,-50%) scale(1.06); }
.rv-thanks-video-wrap.playing .rv-thanks-play { display: none; }
.rv-thanks-video-cap {
  display: block; margin-top: 9px; font-size: 12.5px; font-weight: 600; color: #6aa61f;
}
.rv-thanks-title {
  font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 22px;
  color: #1b2b15; margin-bottom: 12px;
}
.rv-thanks-text { font-size: 15px; line-height: 1.55; color: #3a4a33; margin-bottom: 16px; }
.rv-thanks-sign { font-size: 13px; font-weight: 600; color: #6aa61f; margin-bottom: 22px; }
.rv-thanks-btn {
  background: #a3e043; color: #1b2b15; border: none; border-radius: 12px;
  padding: 12px 40px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .18s;
}
.rv-thanks-btn:hover { background: #8fce30; }
.rv-thanks-close {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border: none; background: transparent; font-size: 26px; line-height: 1;
  color: #aaa; cursor: pointer; padding: 0;
}
.rv-thanks-close:hover { color: #333; }
