/* ==========================================================================
   TheCBD.ru — Product Detail Page (PDP)
   Figma Node 7306:6823 (Карточка товара, 1440px)
   Строго по Figma MCP + общая дизайн-система tokens.css / base.css / home.css
   ========================================================================== */

.cbd-pdp-page {
  background: var(--color-bg-page, #ffffff);
  padding-top: 32px;
  font-family: var(--font-sans);
  color: var(--color-text-primary, #202c25);
}

.cbd-pdp-page .cbd-section {
  padding-top: 88px;
  padding-bottom: 60px;
}

.cbd-pdp-container {
  max-width: 1253px;
  width: 100%;
  margin-inline: auto;
}

.cbd-pdp-col-713 {
  max-width: 713px;
  width: 100%;
}

.cbd-pdp-h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: #111827;
  text-transform: uppercase;
}

/* ==========================================================================
   Хлебные крошки (Figma 7306:6850)
   ========================================================================== */
.cbd-pdp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  min-height: 38px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
}

.cbd-pdp-crumbs a {
  color: #aeaeae;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cbd-pdp-crumbs a:hover {
  color: var(--color-brand-accent, #3f892c);
}

.cbd-pdp-crumbs__sep--muted {
  color: rgba(25, 25, 25, 0.07);
}

.cbd-pdp-crumbs__sep--dark,
.cbd-pdp-crumbs__current {
  color: #191919;
}

/* ==========================================================================
   2-колоночный макет (фиксирует правую панель до FAQ и убирает пустой зазор под галереей)
   ========================================================================== */
.cbd-pdp-layout {
  display: grid;
  grid-template-columns: 713px 516px;
  grid-template-rows: max-content 1fr;
  justify-content: space-between;
  column-gap: 24px;
  align-items: start;
}

.cbd-pdp-gallery {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 670px;
  max-width: 100%;
}

.cbd-pdp-details {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.cbd-pdp-sidebar {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  min-width: 0;
}

.cbd-pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 107px;
  flex-shrink: 0;
}

.cbd-pdp-thumb {
  position: relative;
  width: 107px;
  height: 138px;
  padding: 5px;
  background: #eef0f3;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.cbd-pdp-thumb.is-active {
  border-color: #3f892c;
}

.cbd-pdp-thumb__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.cbd-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cbd-pdp-stage {
  width: 535px;
  height: 600px;
  background: #f1f1f1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  overflow: hidden;
}

.cbd-pdp-stage__img {
  width: 405px;
  height: 540px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Правая sticky-панель */
.cbd-pdp-panel {
  position: sticky;
  top: 152px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 516px;
}

.cbd-pdp-panel__header {
  width: 100%;
  margin-bottom: 31px;
}

.cbd-pdp-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
}

.cbd-pdp-brand {
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  color: #3f892c;
  text-transform: uppercase;
  text-decoration: none;
}

.cbd-pdp-rating {
  display: flex;
  align-items: center;
  gap: 25px;
}

.cbd-pdp-rating__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cbd-pdp-rating__score {
  margin-left: -18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #3f892c;
}

.cbd-pdp-rating__count {
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #979797;
  text-decoration: none;
}

.cbd-pdp-rating__count:hover {
  color: #3f892c;
}

.cbd-pdp-h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 31.98px;
  color: #000000;
}

/* Баннер калькулятора (7306:7210) */
.cbd-pdp-calc {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 503px;
  min-height: 50px;
  padding: 6px 18px 6px 16px;
  margin-bottom: 31px;
  background: rgba(213, 231, 208, 0.55);
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.cbd-pdp-calc.is-open {
  margin-bottom: 12px;
}

.cbd-pdp-calc:hover {
  background: rgba(213, 231, 208, 0.8);
}

.cbd-pdp-calc__icon {
  flex-shrink: 0;
}

.cbd-pdp-calc__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cbd-pdp-calc__title {
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: #111827;
}

.cbd-pdp-calc__sub {
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #6b7280;
}

.cbd-pdp-calc__cta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  color: #3f892c;
  text-decoration: underline;
}

/* Раскрывающийся блок калькулятора (Figma 7473:2148) */
.cbd-pdp-calc-drawer {
  width: 100%;
  max-width: 503px;
  background: #ffffff;
  border: 1px solid #dce4d9;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 31px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cbd-pdp-calc-drawer[hidden] {
  display: none;
}

.cbd-pdp-calc-drawer__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  text-transform: uppercase;
}

.cbd-pdp-calc-drawer__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.cbd-pdp-calc-drawer__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #5b685f;
}

.cbd-pdp-calc-drawer__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cbd-pdp-calc-drawer__submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #317627;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cbd-pdp-calc-drawer__submit:hover {
  background: #275f1f;
}

/* Варианты: концентрация и объем (7634:8397) */
.cbd-pdp-variants {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 31px;
}

.cbd-pdp-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cbd-pdp-group__label {
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: #000000;
}

.cbd-pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.cbd-pdp-chip {
  width: 66px;
  height: 38px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cbd-pdp-chip:hover {
  border-color: #3f892c;
}

.cbd-pdp-chip.is-active {
  background: #3f892c;
  border-color: #3f892c;
  color: #ffffff;
}

/* Цена и бейджи (7638:8422) */
.cbd-pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 9px;
  margin-bottom: 31px;
}

.cbd-pdp-price-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-right: 4px;
}

.cbd-pdp-price-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  color: #3f892c;
  padding-left: 2px;
}

.cbd-pdp-price-vals {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.cbd-pdp-price-current {
  font-size: 38px;
  font-weight: 600;
  line-height: 38px;
  color: #3f892c;
  white-space: nowrap;
}

.cbd-pdp-price-old {
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  color: #979797;
  text-decoration: line-through;
  white-space: nowrap;
}

.cbd-pdp-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-family: "Manrope", var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.cbd-pdp-cashback-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e6efe2;
  color: #317627;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  white-space: nowrap;
}

/* Кнопка корзины + иконки (7638:8421) */
.cbd-pdp-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  max-width: 505px;
  margin-bottom: 31px;
}

.cbd-pdp-add-btn {
  flex: 1;
  min-width: 0;
  height: 50px;
  background: #191919;
  border: 1px solid #191919;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transition: background var(--transition-fast);
}

.cbd-pdp-add-btn:hover {
  background: #2f2f2f;
}

.cbd-pdp-add-btn.is-added {
  background: #3f892c;
  border-color: #3f892c;
}

.cbd-pdp-icon-btn {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.cbd-pdp-icon-btn:hover {
  border-color: #3f892c;
}

.cbd-pdp-icon-btn.is-active {
  border-color: #ef4444;
  background: #fef2f2;
}

/* Баннер Яндекс Сплит (7306:7228) */
.cbd-pdp-split {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 505px;
  padding: 16px;
  margin-bottom: 31px;
  background: #f3f4f6;
  border-radius: 12px;
}

.cbd-pdp-split__btn {
  width: 150px;
  height: 35px;
  border-radius: 50px;
  background: #f6f6f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbd-pdp-split__logo {
  position: relative;
  width: 113px;
  height: 17px;
  overflow: hidden;
}

.cbd-pdp-split__part {
  position: absolute;
}

.cbd-pdp-split__part img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.cbd-pdp-split__part--v0 { inset: 11.61% 56.64% 4.92% 0; }
.cbd-pdp-split__part--v1 { inset: 10.58% 30.58% 15.74% 62.71%; }
.cbd-pdp-split__part--v2 { inset: 31.4% 23.34% 16.77% 70.58%; }
.cbd-pdp-split__part--v3 { inset: 31.4% 15.77% 15.74% 77.59%; }
.cbd-pdp-split__part--v4 { inset: 31.4% 7.97% 16.77% 85.78%; }
.cbd-pdp-split__part--v5 { inset: 31.4% 0.7% 16.77% 93.11%; }
.cbd-pdp-split__part--icon {
  inset: 0 40.46% 4.87% 47.01%;
  -webkit-mask-image: url("/assets/product/split-mask.svg");
  mask-image: url("/assets/product/split-mask.svg");
  -webkit-mask-size: 16.168px 16.171px;
  mask-size: 16.168px 16.171px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: -0.01px 0;
  mask-position: -0.01px 0;
}

.cbd-pdp-split__text {
  font-family: "Manrope", var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.38;
  color: #1f2937;
}

.cbd-pdp-split__green {
  color: #3f892c;
  font-weight: 700;
}

/* Капсула бесплатной доставки (Figma 7715:5854) */
.cbd-pdp-free-deliv {
  position: relative;
  width: 100%;
  max-width: 504px;
  height: 131px;
  margin-bottom: 31px;
}

.cbd-pdp-free-deliv__card {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 66px;
  padding: 11px 12px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 38px;
}

.cbd-pdp-free-deliv__track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 12px 0 6px;
  background: #e6efe2;
  border-radius: 24px;
}

.cbd-pdp-free-deliv__courier {
  position: relative;
  width: 42px;
  height: 31px;
  flex-shrink: 0;
}

.cbd-pdp-free-deliv__courier img {
  position: absolute;
  max-width: none;
}

.cbd-pdp-courier__circle { left: 0; top: 0; width: 31px; height: 31px; }
.cbd-pdp-courier__tab { left: 23px; top: 9px; width: 19px; height: 13px; }
.cbd-pdp-courier__head { left: 14.5px; top: 6.5px; width: 5px; height: 5px; }
.cbd-pdp-courier__body { left: 6px; top: 12px; width: 20px; height: 13px; }

.cbd-pdp-free-deliv__amount {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #3f892c;
  white-space: nowrap;
  flex-shrink: 0;
}

.cbd-pdp-free-deliv__bar {
  flex: 1;
  min-width: 40px;
  height: 6px;
  background: #ffffff;
  border-radius: 3px;
  overflow: hidden;
}

.cbd-pdp-free-deliv__fill {
  width: 23%;
  height: 100%;
  background: #3f892c;
  border-radius: 3px;
}

.cbd-pdp-free-deliv__target {
  width: 46px;
  height: 33px;
  border-radius: 18px;
  background: #e6efe2;
  border: 1.5px dashed #3f892c;
  font-family: "Roboto", var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #3f892c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.cbd-pdp-free-deliv__badge {
  position: absolute;
  top: 7px;
  right: 12px;
  width: 66px;
  height: 32px;
  background: #3f892c;
  border-radius: 8px;
  transform: rotate(10deg);
  font-family: "Roboto", var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbd-pdp-free-deliv__note {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Roboto", var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #111827;
}

/* Блок доставки (Figma 7306:7286) */
.cbd-pdp-deliv {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 505px;
  padding: 16px;
  border: 1px solid #c4d4bf;
  border-radius: 12px;
  background: #ffffff;
}

.cbd-pdp-deliv__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.cbd-pdp-deliv__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: "Manrope", var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.cbd-pdp-deliv__text strong {
  font-weight: 700;
}

.cbd-pdp-deliv__eta {
  flex-shrink: 0;
  font-family: "Manrope", var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  white-space: nowrap;
}

.cbd-pdp-deliv__cta {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: rgba(196, 212, 191, 0.27);
  color: #111827;
  font-family: "Manrope", var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cbd-pdp-deliv__cta:hover {
  background: rgba(196, 212, 191, 0.45);
}

/* ==========================================================================
   1. Секция «ОПИСАНИЕ» (Figma 7306:6837) + Дисклеймер (7306:6848)
   ========================================================================== */
.cbd-pdp-desc {
  margin-top: 75px;
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.cbd-pdp-desc__p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #000000;
}

.cbd-pdp-dosage-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-pdp-dosage-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: #111827;
}

.cbd-pdp-dosage-card__list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #000000;
}

.cbd-pdp-dosage-card__note {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #6b7280;
}

.cbd-pdp-disclaimer {
  margin-top: 37px;
  padding: 13px 10px;
  border-radius: 12px;
  background: rgba(63, 137, 44, 0.1);
  text-align: center;
}

.cbd-pdp-disclaimer p {
  margin: 0;
  font-family: "Oswald", var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.01em;
  color: #3f892c;
  text-transform: uppercase;
}

/* ==========================================================================
   2. Секция «ХАРАКТЕРИСТИКИ» (Figma 7306:7114–7133)
   ========================================================================== */
.cbd-pdp-specs {
  margin-top: 78px;
}

.cbd-pdp-specs__list {
  margin-top: 22px;
}

.cbd-pdp-specs__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
}

.cbd-pdp-specs__row + .cbd-pdp-specs__row {
  border-top: 1px solid #e5e7eb;
}

.cbd-pdp-specs__label {
  width: 180px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: #6b7280;
}

.cbd-pdp-specs__val {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  color: #000000;
}

/* ==========================================================================
   3. Секция «ОТЗЫВЫ» (Figma 7483:4494)
   ========================================================================== */
.cbd-pdp-reviews {
  margin-top: 79px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cbd-pdp-rating-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.cbd-pdp-rating-box__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cbd-pdp-rating-box__label {
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
}

.cbd-pdp-rating-box__score-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbd-pdp-rating-box__num {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.cbd-pdp-stars-gold {
  display: inline-flex;
  gap: 2px;
  font-size: 18px;
  line-height: 1;
  color: #ffcc00;
}

.cbd-pdp-stars-gold--sm {
  font-size: 16px;
}

.cbd-pdp-soft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: rgba(63, 137, 44, 0.1);
  color: #3f892c;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.cbd-pdp-soft-btn:hover {
  background: rgba(63, 137, 44, 0.18);
}

.cbd-pdp-rating-box__btn {
  width: 185px;
  flex-shrink: 0;
}

.cbd-pdp-soft-btn--full {
  width: 100%;
}

.cbd-pdp-review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.cbd-pdp-review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbd-pdp-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 600;
  flex-shrink: 0;
}

.cbd-pdp-avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.cbd-pdp-avatar--md {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.cbd-pdp-avatar--seller {
  width: 28px;
  height: 28px;
  background: rgba(63, 137, 44, 0.1);
  color: #3f892c;
  font-size: 12px;
  font-weight: 700;
}

.cbd-pdp-review-card__meta,
.cbd-pdp-qa-card__meta,
.cbd-pdp-qa-answer__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cbd-pdp-review-card__meta strong,
.cbd-pdp-qa-card__meta strong {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.cbd-pdp-review-card__meta span,
.cbd-pdp-qa-card__meta span {
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}

.cbd-pdp-review-card__sub {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbd-pdp-green-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(63, 137, 44, 0.1);
  color: #3f892c;
  font-size: 12px;
  font-weight: 500;
}

.cbd-pdp-review-card__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
}

/* ==========================================================================
   4. Секция «ВОПРОСЫ ПОКУПАТЕЛЕЙ» (Figma 7476:994)
   ========================================================================== */
.cbd-pdp-qa {
  margin-top: 89px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbd-pdp-qa-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.cbd-pdp-qa-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.cbd-pdp-qa-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cbd-pdp-qa-field--search {
  flex: 1 1 0;
  min-width: 180px;
}

.cbd-pdp-qa-toolbar__right {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cbd-pdp-qa-field--sort {
  width: 236px;
  flex-shrink: 0;
}

.cbd-pdp-qa-label {
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: #000000;
}

.cbd-pdp-qa-input {
  width: 100%;
  height: 47px;
  padding: 0 20px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.cbd-pdp-qa-input::placeholder {
  color: #aeaeae;
}

.cbd-pdp-qa-input:focus {
  border-color: #3f892c;
}

.cbd-pdp-qa-select .cbd-select__trigger {
  height: 47px;
  padding: 0 12px 0 14px;
  background: #f4f4f4;
  font-size: 13px;
  white-space: nowrap;
}

.cbd-pdp-qa-count {
  display: inline-flex;
  align-items: center;
  height: 47px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4f4f4;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.cbd-pdp-qa-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-pdp-qa-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.cbd-pdp-qa-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cbd-pdp-qa-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbd-pdp-qa-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.cbd-pdp-qa-status--answered {
  background: rgba(63, 137, 44, 0.1);
  color: #3f892c;
}

.cbd-pdp-qa-status--unanswered {
  background: #f4f4f4;
  border: 1px solid #d3d3d3;
  color: #6b7280;
}

.cbd-pdp-qa-card__question {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.cbd-pdp-qa-answer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.cbd-pdp-qa-answer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cbd-pdp-qa-answer__seller {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cbd-pdp-qa-answer__meta strong {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.cbd-pdp-qa-answer__meta span {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
}

.cbd-pdp-qa-verified {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(63, 137, 44, 0.1);
  color: #3f892c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.cbd-pdp-qa-answer__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #6b7280;
}

.cbd-pdp-qa-foot {
  display: flex;
  gap: 24px;
  width: 100%;
}

.cbd-pdp-qa-foot .cbd-pdp-soft-btn {
  flex: 1 1 0;
}

/* ==========================================================================
   5. Секция «ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ» (Figma 7306:6948)
   ========================================================================== */
.cbd-pdp-faq {
  max-width: 1242px;
  width: 100%;
  margin-top: 126px;
}

.cbd-pdp-faq__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-pdp-faq-row {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.cbd-pdp-faq-row__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.cbd-pdp-faq-row__summary::-webkit-details-marker {
  display: none;
}

.cbd-pdp-faq-row__plus {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cbd-pdp-faq-row[open] .cbd-pdp-faq-row__plus {
  transform: rotate(45deg);
}

.cbd-pdp-faq-row__body {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}

.cbd-pdp-faq-row__body p {
  margin: 0;
}

/* ==========================================================================
   Модальное окно доставки
   ========================================================================== */
.cbd-pdp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cbd-pdp-modal.is-open {
  display: flex;
}

.cbd-pdp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
}

.cbd-pdp-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.cbd-pdp-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cbd-pdp-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.cbd-pdp-modal__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: 20px;
  color: #374151;
  cursor: pointer;
}

.cbd-pdp-modal__sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: #6b7280;
}

.cbd-pdp-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cbd-pdp-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
}

.cbd-pdp-modal__item strong {
  display: block;
  color: #111827;
  margin-bottom: 2px;
}

.cbd-pdp-modal__item p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.cbd-pdp-modal__item > span {
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.cbd-pdp-modal__free {
  color: #3f892c !important;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1320px) {
  .cbd-pdp-container {
    padding-inline: 32px;
  }

  .cbd-pdp-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, 505px);
    column-gap: 32px;
  }

  .cbd-pdp-gallery {
    width: 100%;
  }

  .cbd-pdp-stage {
    flex: 1;
    width: auto;
    height: 520px;
  }
}

@media (max-width: 1024px) {
  .cbd-pdp-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .cbd-pdp-panel {
    position: static;
    max-width: 100%;
  }

  .cbd-pdp-calc,
  .cbd-pdp-calc-drawer,
  .cbd-pdp-actions,
  .cbd-pdp-split,
  .cbd-pdp-free-deliv,
  .cbd-pdp-deliv {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .cbd-pdp-page {
    padding-top: 16px;
  }

  .cbd-pdp-container {
    padding-inline: 16px;
  }

  .cbd-pdp-gallery {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .cbd-pdp-thumbs {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
  }

  .cbd-pdp-thumb {
    width: 78px;
    height: 98px;
    flex-shrink: 0;
  }

  .cbd-pdp-stage {
    width: 100%;
    height: 340px;
    padding: 20px;
  }

  .cbd-pdp-stage__img {
    height: 100%;
    width: auto;
  }

  .cbd-pdp-panel__top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cbd-pdp-h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .cbd-pdp-price-current {
    font-size: 30px;
    line-height: 30px;
  }

  .cbd-pdp-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .cbd-pdp-free-deliv__amount {
    font-size: 18px;
  }

  .cbd-pdp-free-deliv__target {
    width: 40px;
    height: 28px;
    font-size: 15px;
  }

  .cbd-pdp-free-deliv__badge {
    width: 54px;
    height: 26px;
    font-size: 14px;
    top: 10px;
  }

  .cbd-pdp-specs__row {
    flex-direction: column;
    gap: 6px;
  }

  .cbd-pdp-specs__label {
    width: auto;
  }

  .cbd-pdp-rating-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cbd-pdp-rating-box__btn {
    width: 100%;
  }

  .cbd-pdp-qa-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .cbd-pdp-qa-toolbar__right {
    width: 100%;
    flex-wrap: wrap;
  }

  .cbd-pdp-calc-drawer {
    padding: 20px;
  }

  .cbd-pdp-qa-field--sort {
    flex: 1;
    min-width: 210px;
  }

  .cbd-pdp-qa-foot {
    flex-direction: column;
    gap: 12px;
  }

  .cbd-pdp-desc,
  .cbd-pdp-specs,
  .cbd-pdp-reviews,
  .cbd-pdp-qa,
  .cbd-pdp-faq {
    margin-top: 48px;
  }

  .cbd-pdp-page .cbd-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }
}
