/* Нова продуктова страница (v2). Mobile first: базовите стилове са за телефон, разширенията – в media заявките.
 * Всичко е под .pv2, за да не засяга останалия сайт. Шрифтовете са тези на сайта.
 * Цветът на линковете при hover се задава чрез --bs-link-hover-color (style.css го налага с !important). */

.pv2 {
  --pv2-ink: #141210;
  --pv2-text: #3f3a34;
  --pv2-muted: #57514a;
  --pv2-soft: #8c8680;
  --pv2-faint: #c8c3bc;
  --pv2-line: rgba(20, 18, 16, .1);
  --pv2-track: #f0ede8;
  --pv2-bg: #faf9f7;
  --pv2-accent: #fd4f00;
  --pv2-accent-dark: #e44700;
  --pv2-green: #1f9d57;
  --pv2-head-font: "Roboto Condensed", sans-serif;
  --bs-link-hover-color: var(--pv2-ink);
  color: var(--pv2-ink);
  background: #fff;
  padding: 12px 0 40px;
}

.pv2 a {
  color: inherit;
  text-decoration: none;
}

.pv2-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Етикети и заглавия */
.pv2 .pv2-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pv2-soft);
}

.pv2 .pv2-label-accent {
  color: var(--pv2-accent);
}

.pv2 .pv2-label-center {
  text-align: center;
  margin-bottom: 18px;
}

.pv2 .pv2-minilabel {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pv2-faint);
}

.pv2 .pv2-sub {
  margin: 0;
  font-size: 13px;
  color: var(--pv2-soft);
}

.pv2 .pv2-h2 {
  margin: 0;
  font-family: var(--pv2-head-font);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--pv2-ink);
}

.pv2 .pv2-h3 {
  margin: 0;
  font-family: var(--pv2-head-font);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}

.pv2-head {
  margin-bottom: 20px;
}

.pv2-head .pv2-h2 + .pv2-sub {
  margin-top: 8px;
}

.pv2-head-center {
  text-align: center;
}

.pv2-section {
  margin-top: 40px;
}

.pv2-narrow,
.pv2-text {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Навигация */
.pv2-crumbs {
  font-size: 12px;
  color: var(--pv2-soft);
  text-align: center;
}

.pv2-crumbs p {
  margin: 0;
}

.pv2-crumbs a {
  color: var(--pv2-soft);
}

.pv2-crumbs .separator {
  color: var(--pv2-faint);
}

.pv2-crumbs .last {
  color: var(--pv2-muted);
}

/* Заглавна част */
.pv2-hero {
  margin-top: 20px;
  text-align: center;
}

.pv2 .pv2-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--pv2-head-font);
  font-weight: 600;
}

.pv2 .pv2-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--pv2-ink);
}

.pv2 .pv2-brand:hover {
  color: var(--pv2-accent);
  --bs-link-hover-color: var(--pv2-accent);
}

.pv2-name {
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -.01em;
}

.pv2 .pv2-kicker {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pv2-accent);
}

.pv2-image {
  margin: 20px auto 0;
  max-width: 260px;
}

.pv2-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

/* Любими / сравни */
.pv2 .pv2-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
}

.pv2 .pv2-actions .favorite-icon,
.pv2 .pv2-actions .compare-icon {
  position: static;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid rgba(20, 18, 16, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--pv2-ink);
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}

.pv2 .pv2-actions .favorite-icon:hover,
.pv2 .pv2-actions .compare-icon:hover {
  border-color: var(--pv2-ink);
}

.pv2 .pv2-actions .favorite-icon svg,
.pv2 .pv2-actions .compare-icon svg {
  width: 18px;
  height: 18px;
  margin: 0;
}

.pv2 .pv2-actions .favorite-icon.favorite-active,
.pv2 .pv2-actions .compare-icon.active {
  border-color: var(--pv2-accent);
  color: var(--pv2-accent);
  --bs-link-hover-color: var(--pv2-accent);
}

.pv2 .pv2-actions .favorite-icon {
  flex-direction: row-reverse;
}

.pv2 .pv2-actions .favorite-icon div {
  display: inline;
  white-space: nowrap;
}

/* Обобщение на цената под флакона */
.pv2 .pv2-price-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  margin: 14px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--pv2-line);
  border-radius: 12px;
  text-align: left;
  transition: border-color .15s;
}

.pv2 .pv2-price-summary:hover {
  border-color: var(--pv2-ink);
}

.pv2-price-summary-label {
  font-size: 12px;
  color: var(--pv2-soft);
}

.pv2-price-summary strong {
  grid-row: span 2;
  font-size: 22px;
  font-weight: 700;
}

.pv2-price-summary-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--pv2-accent);
}

/* AI обзор */
.pv2-ai {
  margin-top: 28px;
  padding: 18px 18px 18px 20px;
  border-left: 3px solid var(--pv2-accent);
  border-radius: 12px;
  background: var(--pv2-bg);
}

.pv2-ai-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pv2-text);
}

.pv2-ai-text > :last-child {
  margin-bottom: 0;
}

/* Ленти: ароматен профил, сезони */
.pv2-bars {
  display: flex;
  flex-direction: column;
}

.pv2-bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 36px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 18, 16, .06);
}

.pv2-bars-compact .pv2-bar-row {
  grid-template-columns: 52px 1fr 34px;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 0;
}

.pv2-bar-name {
  font-size: 13px;
  color: var(--pv2-muted);
}

.pv2-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--pv2-track);
}

.pv2-bar-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--pv2-ink);
}

.pv2-bar-fill.is-accent {
  background: var(--pv2-accent);
}

.pv2-bar-fill.is-mid {
  background: rgba(20, 18, 16, .45);
}

.pv2-bar-fill.is-low {
  background: rgba(20, 18, 16, .18);
}

.pv2-bar-pct {
  font-size: 11px;
  font-weight: 600;
  color: var(--pv2-faint);
  text-align: right;
}

.pv2-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 359.98px) {
  .pv2-grid2 {
    grid-template-columns: 1fr;
  }
}

/* Оферти */
.pv2-store-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv2-store {
  padding: 16px;
  border: 1px solid var(--pv2-line);
  border-radius: 14px;
  background: #fff;
}

.pv2-store.is-best {
  border-color: var(--pv2-ink);
}

.pv2-store-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pv2-store-logo img {
  display: block;
  width: auto;
  max-width: 120px;
  height: 28px;
  object-fit: contain;
}

.pv2-store-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px 8px;
  text-align: right;
}

.pv2-old {
  font-size: 13px;
  color: var(--pv2-faint);
  text-decoration: line-through;
}

.pv2-now {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.pv2-save {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--pv2-accent);
}

.pv2-store-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--pv2-muted);
}

.pv2-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(253, 79, 0, .1);
  color: var(--pv2-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pv2-stock {
  color: var(--pv2-green);
  font-weight: 600;
}

.pv2-stock::before {
  content: "✓ ";
}

.pv2-variants {
  display: flex;
  gap: 8px;
  margin: 12px -16px 0;
  padding: 0 16px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pv2-variants::-webkit-scrollbar {
  display: none;
}

/* Размерите се разпъват по равно на целия ред (2 × 50%, 3 × 33.3%…);
   когато не се събират (под 84px всеки), остават 84px и редът се плъзга. */
.pv2 .pv2-variant {
  position: relative;
  flex: 1 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 84px;
  padding: 14px 12px 9px;
  overflow: hidden;
  border: 1.5px solid var(--pv2-line);
  border-radius: 10px;
  text-align: center;
  transition: border-color .15s;
}

.pv2 .pv2-variant:hover {
  border-color: var(--pv2-ink);
}

.pv2 .pv2-variant:focus {
  outline: 0;
}

.pv2 .pv2-variant:focus-visible {
  border-color: var(--pv2-ink);
}

.pv2 .pv2-variant.is-cheapest {
  background: var(--pv2-bg);
}

.pv2-from {
  font-size: 13px;
  color: var(--pv2-soft);
}

.pv2-variant-size {
  font-size: 12px;
  font-weight: 700;
}

.pv2-variant-price {
  margin-top: 2px;
  font-size: 12px;
  color: var(--pv2-muted);
}

/* Отстъпката е в горния десен ъгъл, вътре в бутона (не се реже от превъртането). */
.pv2-variant-off {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 5px 2px 6px;
  border-radius: 0 0 0 6px;
  background: var(--pv2-ink);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

/* „Към магазина“ и промо кодът – на един ред, както в старата версия. */
.pv2-store-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.pv2 .pv2-store-actions > a {
  flex: 1 1 0;
  min-width: 0;
}

/* CTA към магазина – единственото оранжево копче (както в целия сайт) */
.pv2 .pv2-cta.cta-button-a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 10px;
  border-radius: 10px;
  background: var(--pv2-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.pv2 .pv2-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}

.pv2 .pv2-promo.promocode-button-a {
  --bs-link-hover-color: var(--pv2-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 8px;
  border: 1.5px dashed var(--pv2-accent);
  border-radius: 10px;
  background: #fff;
  color: var(--pv2-accent);
}

/* Етикетът стои върху рамката (както в старата версия). */
.pv2 .pv2-promo label {
  position: absolute;
  top: -9px;
  left: 10px;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 0 4px;
  overflow: hidden;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--pv2-soft);
  cursor: pointer;
}

.pv2 .pv2-promo span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
}

.pv2 .pv2-promo svg {
  width: 14px;
  height: 14px;
}

.pv2 .pv2-note,
.pv2 .pv2-empty {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--pv2-soft);
  text-align: center;
}

/* Пирамида */
.pv2-pyramid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 16px;
  border-left: 2px solid rgba(253, 79, 0, .2);
}

.pv2 .pv2-tier-title {
  margin: 0 0 12px;
  font-family: var(--pv2-head-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--pv2-accent);
}

.pv2-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.pv2 .pv2-note-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pv2-text);
}

.pv2 .pv2-note-chip:hover span {
  text-decoration: underline;
}

.pv2-note-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pv2-bg);
}

/* Текст */
.pv2-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pv2-text);
}

.pv2-prose > :first-child {
  font-size: 17px;
}

/* Дълъг текст: показват се първите редове, останалото – с бутон (текстът е в HTML заради SEO). */
.pv2-prose.is-collapsed {
  position: relative;
  max-height: 300px;
  overflow: hidden;
}

.pv2-prose.is-collapsed::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.pv2 .pv2-readmore {
  display: block;
  margin: 12px auto 0;
  padding: 10px 22px;
  border: 1.5px solid rgba(20, 18, 16, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--pv2-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.pv2 .pv2-readmore:hover {
  border-color: var(--pv2-ink);
}

.pv2-prose a {
  text-decoration: underline;
}

.pv2-prose h2,
.pv2-prose h3 {
  margin: 28px 0 12px;
  font-family: var(--pv2-head-font);
  font-size: 21px;
}

.pv2-fact {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--pv2-line);
  border-radius: 12px;
}

.pv2-fact-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pv2-text);
}

.pv2-fact-text > :last-child {
  margin-bottom: 0;
}

.pv2-perfumers {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--pv2-bg);
}

.pv2-perfumer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.pv2 .pv2-perfumer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--pv2-head-font);
  font-size: 19px;
  font-weight: 600;
}

.pv2 .pv2-perfumer:hover span {
  text-decoration: underline;
}

.pv2-perfumer img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Скали */
.pv2-segments {
  display: flex;
  gap: 5px;
}

.pv2-segments span {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: #ece9e4;
}

.pv2-segments span.is-on {
  background: var(--pv2-accent);
}

.pv2 .pv2-scale-value {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--pv2-muted);
}

.pv2-slider {
  position: relative;
  height: 7px;
  margin: 6px 0 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #fd4f00, #ece9e4 50%, #141210);
}

.pv2-slider-fill {
  background: #ece9e4;
}

.pv2-slider-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--pv2-accent);
}

.pv2-slider-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--pv2-accent);
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.pv2-slider-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--pv2-soft);
}

/* Карусели */
.pv2-carousel {
  max-width: none;
}

.pv2-carousel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pv2 .pv2-more {
  --bs-link-hover-color: var(--pv2-accent-dark);
  flex: none;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--pv2-accent);
}

.pv2-track {
  display: flex;
  gap: 12px;
  margin: 0 -16px;
  padding: 2px 16px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  /* proximity: плъзгането не „подскача“ обратно както при mandatory */
  scroll-snap-type: x proximity;
  scroll-padding: 0 16px;
  scrollbar-width: none;
}

/* Влачене с мишката (js/fragrance-v2.js) */
@media (hover: hover) and (pointer: fine) {
  .pv2-track {
    cursor: grab;
  }
}

.pv2-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.pv2-track.is-dragging .pv2-card {
  pointer-events: none;
}

.pv2-track img {
  -webkit-user-drag: none;
  user-select: none;
}

.pv2-track::-webkit-scrollbar {
  display: none;
}

.pv2 .pv2-card {
  /* на телефон ~2.4 карти на екран: по-големи карти се плъзгат по-лесно */
  flex: 0 0 clamp(136px, 40vw, 170px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  scroll-snap-align: start;
}

.pv2-card-media {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--pv2-bg);
}

.pv2-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .2s;
}

.pv2 .pv2-card:hover .pv2-card-media img {
  transform: scale(1.04);
}

.pv2-card-brand {
  font-size: 11px;
  color: var(--pv2-soft);
}

.pv2-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.pv2-card-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--pv2-accent);
}

/* Видео */
.pv2-video-box {
  overflow: hidden;
  border-radius: 14px;
}

.pv2-video-box .placeholder-content {
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--pv2-ink) !important;
  color: rgba(255, 255, 255, .7);
}

.pv2-video-box iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* Ревюта (Site Reviews). Плъгинът не се променя – само стилове тук, със селектори под .pv2-reviews.
 * Звездите на плъгина се задават с CSS променливите --glsr-star-*; тук са в цвета на сайта. */
.pv2-reviews {
  --pv2-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fd4f00' d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95z'/%3E%3C/svg%3E");
  --pv2-star-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e3e0db' d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95z'/%3E%3C/svg%3E");
  --glsr-star-full: var(--pv2-star);
  --glsr-star-empty: var(--pv2-star-empty);
  --glsr-star-half: linear-gradient(90deg, transparent 50%, #fff 50%), var(--pv2-star);
  --glsr-review-star: 16px;
  --glsr-form-star: 32px;
}

.pv2-rv {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Обобщение: средна оценка, звезди, брой */
.pv2-rv-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pv2-line);
}

.pv2-rv-score {
  font-family: var(--pv2-head-font);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}

.pv2-rv-stars {
  position: relative;
  width: 120px;
  height: 22px;
  background: var(--pv2-star-empty) repeat-x 0 0 / 24px 22px;
}

.pv2-rv-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--pv2-star) repeat-x 0 0 / 24px 22px;
}

.pv2 .pv2-rv-count,
.pv2 .pv2-rv-empty {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--pv2-soft);
}

.pv2-rv.is-empty .pv2-rv-summary {
  flex-direction: column;
  text-align: center;
}

.pv2-rv.is-empty .pv2-rv-empty {
  margin: 0;
}

/* Форма */
.pv2-rv-form .pv2-h3 {
  margin-bottom: 14px;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form .glsr-field {
  margin: 0;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form input.glsr-input,
.pv2 .pv2-reviews .glsr-default form.glsr-form textarea.glsr-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(20, 18, 16, .16) !important;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pv2-ink);
  transition: border-color .15s;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form input.glsr-input:focus,
.pv2 .pv2-reviews .glsr-default form.glsr-form textarea.glsr-textarea:focus {
  border-color: var(--pv2-ink) !important;
  outline: 0;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form textarea.glsr-textarea {
  min-height: 120px;
  resize: vertical;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form .glsr-field-error {
  margin-top: 4px;
  font-size: 12px;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form .wp-block-buttons {
  display: block;
  margin: 4px 0 0;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form .wp-block-button {
  display: block;
  width: 100%;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form .glsr-button {
  width: 100%;
  min-height: 48px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--pv2-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s;
}

.pv2 .pv2-reviews .glsr-default form.glsr-form .glsr-button:hover {
  background: #3a3632;
  color: #fff;
}

/* Списък с ревюта – карти */
.pv2 .pv2-reviews .glsr-default .glsr-reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv2 .pv2-reviews div.glsr-reviews-wrap,
.pv2 .pv2-reviews div.glsr.glsr-default {
  margin-bottom: 0;
}

.pv2 .pv2-reviews .glsr-default .glsr-review {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-areas:
    "avatar author date"
    "avatar rating rating"
    "content content content";
  align-items: center;
  gap: 2px 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--pv2-line);
  border-radius: 14px;
  background: #fff;
}

.pv2 .pv2-reviews .glsr-review-avatar {
  grid-area: avatar;
  align-self: start;
}

.pv2 .pv2-reviews .glsr-review-avatar img {
  display: block;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
}

.pv2 .pv2-reviews .glsr-review-author {
  grid-area: author;
  font-size: 15px;
  font-weight: 700;
}

.pv2 .pv2-reviews div.glsr-review-date {
  grid-area: date;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--pv2-soft);
}

.pv2 .pv2-reviews div.glsr-review-rating {
  grid-area: rating;
  display: flex;
  justify-content: flex-start;
}

.pv2 .pv2-reviews .glsr-review-rating .glsr-stars {
  justify-content: flex-start;
}

.pv2 .pv2-reviews div.glsr-review-content {
  grid-area: content;
  margin-top: 12px;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--pv2-text);
}

.pv2 .pv2-reviews .glsr-review-content p {
  margin: 0;
}

.pv2 .pv2-reviews .glsr-read-more a {
  --bs-link-hover-color: var(--pv2-ink);
  color: var(--pv2-ink);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  text-decoration: underline;
}

.pv2 .pv2-reviews .glsr-review-response {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--pv2-bg);
  font-size: 14px;
}

.pv2 .pv2-reviews .glsr-pagination {
  margin-top: 16px;
}

/* Предимства / недостатъци */
.pv2-proscons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.pv2-pc {
  padding: 0;
}

.pv2-pc ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv2-pc li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pv2-text);
}

.pv2-pc li::before {
  flex: none;
  font-weight: 700;
}

.pv2-pc-pros .pv2-label,
.pv2-pc-pros li::before {
  color: var(--pv2-green);
}

.pv2-pc-pros li::before {
  content: "+";
}

.pv2-pc-cons .pv2-label,
.pv2-pc-cons li::before {
  color: var(--pv2-accent);
}

.pv2-pc-cons li::before {
  content: "−";
}

/* Лента с цена на мобилен */
.pv2 .pv2-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 10px;
  background: var(--pv2-ink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transform: translateY(calc(100% + 40px));
  transition: transform .25s ease;
  --bs-link-hover-color: #fff;
}

.pv2 .pv2-sticky.is-visible {
  transform: none;
}

.pv2-sticky-price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pv2-sticky-price small {
  font-size: 11px;
  opacity: .7;
}

.pv2-sticky-price strong {
  font-size: 17px;
}

.pv2-sticky-btn {
  padding: 10px 18px;
  border-radius: 5px;
  background: var(--pv2-accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* ------- Таблет и нагоре ------- */
@media (min-width: 576px) {
  .pv2-grid2 {
    gap: 40px;
  }

  .pv2-proscons {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .pv2 .pv2-card {
    flex-basis: 150px;
  }
}

@media (min-width: 768px) {
  .pv2 {
    padding-top: 28px;
  }

  .pv2-wrap {
    padding: 0 24px;
  }

  .pv2-name {
    font-size: 58px;
  }

  .pv2 .pv2-brand {
    font-size: 14px;
  }

  .pv2-image {
    max-width: 300px;
    margin-top: 28px;
  }

  .pv2-image img {
    max-height: 380px;
  }

  .pv2 .pv2-actions {
    justify-content: center;
  }

  .pv2 .pv2-actions .favorite-icon,
  .pv2 .pv2-actions .compare-icon {
    flex: 0 0 auto;
    min-width: 180px;
  }

  .pv2 .pv2-price-summary {
    max-width: 420px;
    margin: 18px auto 0;
  }

  .pv2-section {
    margin-top: 64px;
  }

  .pv2-ai {
    max-width: 620px;
    margin: 40px auto 0;
    padding: 24px 28px;
  }

  .pv2 .pv2-h2 {
    font-size: 32px;
  }

  .pv2-store {
    padding: 20px 22px;
  }

  .pv2-variants {
    margin: 14px -22px 0;
    padding: 0 22px 2px;
  }

  .pv2-pyramid {
    padding: 0;
    border: 0;
    text-align: center;
    gap: 30px;
  }

  .pv2-notes {
    justify-content: center;
    gap: 22px;
  }

  .pv2 .pv2-note-chip {
    flex-direction: column;
    width: 84px;
    font-size: 12px;
  }

  .pv2-note-chip img {
    width: 60px;
    height: 60px;
  }

  .pv2-perfumers {
    text-align: center;
  }

  /* Ревюта: обобщение вляво, форма вдясно, списък отдолу (дизайн 1a) */
  .pv2-rv {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-areas:
      "summary form"
      "list list";
    gap: 40px;
  }

  .pv2-rv-summary {
    grid-area: summary;
    flex-direction: column;
    align-self: start;
    padding: 20px 32px 20px 0;
    border-right: 1px solid var(--pv2-line);
    border-bottom: 0;
    text-align: center;
  }

  .pv2-rv-score {
    font-size: 64px;
  }

  .pv2-rv-stars {
    margin: 0 auto;
  }

  .pv2-rv-form {
    grid-area: form;
  }

  .pv2-rv-list {
    grid-area: list;
  }

  .pv2 .pv2-reviews .glsr-default form.glsr-form .wp-block-button {
    width: auto;
  }

  .pv2 .pv2-reviews .glsr-default form.glsr-form .glsr-button {
    width: auto;
  }

  .pv2-perfumer-list {
    justify-content: center;
  }

  .pv2-track {
    margin: 0;
    padding: 2px 0 12px;
    scroll-padding: 0;
  }

  .pv2 .pv2-card {
    flex-basis: 160px;
  }

  .pv2 .pv2-sticky {
    display: none;
  }
}

@media (min-width: 992px) {
  .pv2-wrap {
    max-width: 880px;
  }

  .pv2-hero,
  .pv2-offers,
  .pv2-reviews,
  .pv2-video {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Стрелки на каруселите (добавят се от JS само при мишка) */
.pv2-arrows {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.pv2-carousel-head .pv2-more + .pv2-arrows {
  margin-left: 12px;
}

.pv2-arrows button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--pv2-line);
  border-radius: 50%;
  background: #fff;
  color: var(--pv2-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.pv2-arrows button:hover {
  border-color: var(--pv2-ink);
}

.pv2-arrows button:disabled {
  opacity: .3;
  cursor: default;
}
