/* Карточка товара (PDP) — в общей палитре сайта */

.pdp-page {
  padding-top: 168px;
  padding-bottom: 80px;
  background: var(--bg);
  min-height: 50vh;
}

/* ── Единые блоки карточки товара (одна визуальная система с каталогом / ЛК) ── */
.pdp-block {
  position: relative;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 22px rgba(15, 32, 53, 0.06);
}

.pdp-block--media {
  padding: 16px 18px 18px;
}

.pdp-block--media .pdp-hero {
  border: none;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(15, 32, 53, 0.04);
}

.pdp-block--trust {
  padding: 18px 20px 16px;
}

.pdp-block--trust {
  padding: 0;
  overflow: hidden;
}

.pdp-block--trust .pdp-trust {
  margin: 0;
}

/* ── New certificate cards block ─────────────────────────── */
.pdp-block--certs {
  padding: 0;
  overflow: hidden;
}

.pdp-certs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
}

.pdp-certs-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pdp-certs-head h2 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.pdp-certs-head-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(6, 86, 185, 0.10);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-certs-head-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(6, 86, 185, 0.10);
  border-radius: 20px;
  padding: 2px 9px;
  line-height: 1.4;
}

.pdp-certs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pdp-certs-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f5faff;
}

.pdp-certs-toggle__chev {
  transition: transform 0.22s ease;
}

.pdp-certs-toggle[aria-expanded="true"] .pdp-certs-toggle__chev {
  transform: rotate(180deg);
}

.pdp-certs-grid {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 720px) {
  .pdp-certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .pdp-certs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pdp-certs-grid.is-collapsed {
  display: none;
}

.pdp-block--certs:has(.pdp-certs-grid.is-collapsed) .pdp-certs-head {
  border-bottom: none;
}

.pdp-certs-grid:not(.is-collapsed) .pdp-cert {
  animation: pdpCertReveal 0.3s ease both;
}

.pdp-certs-grid:not(.is-collapsed) .pdp-cert:nth-child(1) { animation-delay: 0s; }
.pdp-certs-grid:not(.is-collapsed) .pdp-cert:nth-child(2) { animation-delay: 0.04s; }
.pdp-certs-grid:not(.is-collapsed) .pdp-cert:nth-child(3) { animation-delay: 0.08s; }
.pdp-certs-grid:not(.is-collapsed) .pdp-cert:nth-child(4) { animation-delay: 0.12s; }
.pdp-certs-grid:not(.is-collapsed) .pdp-cert:nth-child(5) { animation-delay: 0.16s; }
.pdp-certs-grid:not(.is-collapsed) .pdp-cert:nth-child(6) { animation-delay: 0.2s; }

@keyframes pdpCertReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdp-cert {
  margin: 0;
}

.pdp-cert-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.pdp-cert-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(6, 86, 185, 0.10);
  transform: translateY(-2px);
}

.pdp-cert-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-cert-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.3;
  border-radius: 7px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6ff 0%, #e3eefc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pdp-cert-card:hover .pdp-cert-thumb img {
  transform: scale(1.04);
}

.pdp-cert-thumb--placeholder {
  color: var(--blue);
  opacity: 0.55;
}

.pdp-cert-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.3;
}

.pdp-cert-badge--green  { background: #1e9d6e; }
.pdp-cert-badge--navy   { background: #1c3d7c; }
.pdp-cert-badge--red    { background: #d23f3f; }
.pdp-cert-badge--gold   { background: #b88512; }

.pdp-cert-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px 2px;
}

.pdp-cert-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.pdp-cert-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

/* ── details/summary toggle ──────────────────────────────── */
.pdp-trust-details {
  border: none;
}

.pdp-trust-details > .pdp-trust {
  padding: 0 14px 14px;
  animation: trustOpen 0.22s ease;
}

@keyframes trustOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdp-trust-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.pdp-trust-summary::-webkit-details-marker { display: none; }

.pdp-trust-summary:hover {
  background: #f5faff;
}

.pdp-trust-summary__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(6, 86, 185, 0.10);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-trust-summary__label {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.pdp-trust-summary__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(6, 86, 185, 0.10);
  border-radius: 20px;
  padding: 1px 8px;
  line-height: 1.6;
}

.pdp-trust-summary__chev {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.22s ease;
}

.pdp-trust-details[open] .pdp-trust-summary__chev {
  transform: rotate(180deg);
}

.pdp-trust-details[open] .pdp-trust-summary {
  border-bottom: 1px solid var(--line);
}

.pdp-block--tabs {
  padding: 0;
  overflow: hidden;
}

.pdp-block--tabs .pdp-tabs {
  margin-top: 0;
  border-bottom: none;
}

.pdp-block--tabs .pdp-tab-list {
  padding: 10px 14px 0;
  margin: 0;
  background: linear-gradient(180deg, #fafcfe 0%, #f4f9ff 100%);
  border-bottom: 1px solid var(--line);
}

.pdp-block--tabs .pdp-panels {
  padding: 22px 22px 26px;
}

.pdp-brandline {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp-brandline em {
  font-style: normal;
  color: var(--blue);
  font-weight: 800;
}

.pdp-block.pdp-consult {
  background: linear-gradient(160deg, #f0f7ff, #e8f2fc);
  padding: 22px 24px;
}

/* Похожие устройства в сайдбаре PDP */
.pdp-block.pdp-related {
  padding: 18px 18px 16px;
}

.pdp-related-title {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.pdp-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pdp-related-card:hover {
  border-color: rgba(6, 86, 185, 0.38);
  box-shadow: 0 4px 16px rgba(15, 32, 53, 0.07);
}

.pdp-related-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f5f8ff 0%, #eef4fb 100%);
  border: 1px solid rgba(15, 32, 53, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pdp-related-thumb img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.pdp-related-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.pdp-related-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.pdp-related-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 1200px) {
  .pdp-page { padding-top: 96px; }
}

@media (max-width: 768px) {
  .pdp-page { padding-top: 20px; }
}

.pdp-page .wrap {
  max-width: 1200px;
}

.pdp-head {
  position: relative;
  margin-bottom: 22px;
  padding: 20px 26px 18px;
  overflow: hidden;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 22px rgba(15, 32, 53, 0.06);
}

.pdp-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue, #0656b9), var(--teal, #00bddc));
  opacity: 0.92;
}

.pdp-bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.pdp-bc a {
  color: var(--blue);
  text-decoration: none;
}

.pdp-bc a:hover { text-decoration: underline; }

.pdp-bc-sep { color: #b8c8dc; }

.pdp-title {
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  font-weight: 750;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  max-width: 980px;
}

.pdp-sku {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #e2e9f1;
  border-radius: 999px;
  background: #f6f9fc;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7d93;
  line-height: 1;
}

.pdp-sku strong {
  color: var(--blue);
  font-weight: 750;
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px 32px;
  align-items: start;
}

@media (max-width: 960px) {
  .pdp-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pdp-head {
    padding: 20px 18px 18px;
    border-radius: 14px;
  }
}

/* ── Вы недавно смотрели (карточки в духе каталога, минимализм) ── */
.pdp-recent {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pdp-recent[hidden] {
  display: none !important;
}

.pdp-recent-title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pdp-recent-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.pdp-recent-track li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.pdp-recent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pdp-recent-card:hover {
  border-color: #c8d8e8;
  box-shadow: 0 10px 28px rgba(15, 32, 53, 0.07);
}

.pdp-recent-card:focus-within {
  border-color: rgba(6, 86, 185, 0.25);
}

.pdp-recent-card-tools {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .pdp-recent-card-tools {
    opacity: 0;
  }

  .pdp-recent-card:hover .pdp-recent-card-tools,
  .pdp-recent-card:focus-within .pdp-recent-card-tools {
    opacity: 1;
  }
}

.pdp-recent-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #9aa8bc;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(15, 32, 53, 0.08);
  transition: color 0.15s, background 0.15s, transform 0.12s;
}

.pdp-recent-tool:hover {
  color: var(--blue);
  background: #fff;
}

.pdp-recent-tool--fav:hover {
  color: #c41e3a;
}

.pdp-recent-tool--fav.is-active {
  color: #b81832;
  background: rgba(196, 30, 58, 0.08);
}

.pdp-recent-tool:active {
  transform: scale(0.96);
}

.pdp-recent-tool svg {
  display: block;
}

.pdp-recent-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 148px;
  margin: 22px 4px 10px;
  text-decoration: none;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 32, 53, 0.06);
  overflow: hidden;
  color: inherit;
}

.pdp-recent-card-media:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-recent-card-media img {
  max-width: 100%;
  max-height: 124px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pdp-recent-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 2px;
}

.pdp-recent-card-heading {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.pdp-recent-card-heading a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.pdp-recent-card-heading a:hover {
  color: var(--blue);
}

.pdp-recent-sku {
  margin: 0 0 8px;
  font-size: 0.74rem;
  color: var(--muted);
}

.pdp-recent-sku span {
  color: #7a8fa6;
}

.pdp-recent-desc {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-recent-specs {
  margin: 0 0 10px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #7a8fa6;
}

.pdp-recent-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 500;
}

.pdp-recent-avail--ok {
  color: #1a8f4a;
}

.pdp-recent-avail--no {
  color: #9aa8bc;
}

.pdp-recent-price-row {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.pdp-recent-price {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pdp-recent-price .rub {
  font-weight: 700;
  margin-left: 2px;
  font-size: 0.92em;
  opacity: 0.9;
}

.pdp-recent-old-price {
  font-size: 0.8rem;
  font-weight: 500;
  color: #9aa8bc;
  text-decoration: line-through;
}

.pdp-recent-cta {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 11px 16px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s, background 0.15s, color 0.15s;
  box-sizing: border-box;
}

a.pdp-recent-cta {
  background: var(--blue);
  color: #fff;
}

a.pdp-recent-cta:hover {
  filter: brightness(1.05);
}

.pdp-recent-cta--soon {
  background: #e8eef4;
  color: #5a6b80;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 900px) {
  .pdp-recent-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pdp-recent-track {
    grid-template-columns: 1fr;
  }

  .pdp-recent {
    margin-top: 28px;
    padding-top: 22px;
  }

  .pdp-recent-card-tools {
    opacity: 1;
  }
}

.pdp-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pdp-gallery-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.pdp-gallery-row .pdp-hero {
  order: -1;
  width: 100%;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

@media (min-width: 520px) {
  .pdp-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
}

.pdp-thumb {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  padding: 4px;
  border: 2px solid #e0e8f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-thumb:hover,
.pdp-thumb.is-active {
  border-color: var(--blue);
}

.pdp-thumb.is-active {
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.25),
    0 8px 20px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.pdp-thumb:hover:not(.is-active) {
  box-shadow: 0 4px 12px rgba(15, 32, 53, 0.08);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .pdp-thumb:hover,
  .pdp-thumb.is-active {
    transform: none;
  }

  .pdp-hero img {
    transition: none !important;
  }
}

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

.pdp-hero {
  position: relative;
  flex: 1;
  min-height: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pdp-hero-open {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  align-self: stretch;
  min-height: 232px;
  border-radius: 12px;
  transition: box-shadow 0.2s;
}

.pdp-hero-open:hover {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.pdp-hero-open:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.pdp-hero img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 1;
  transform: scale(1);
  transform-origin: center center;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ══ SCHEMA LIGHTBOX ════════════════════════════════════════ */

.slb {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slb[hidden] { display: none !important; }

.slb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.96);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.slb--open .slb-backdrop { opacity: 1; }

.slb-wrap {
  position: relative;
  z-index: 1;
  width: min(98vw, 1100px);
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.slb--open .slb-wrap {
  opacity: 1;
  transform: none;
}

.slb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  gap: 16px;
}

.slb-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  flex: 1;
}

.slb-counter {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.slb-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.slb-close:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.slb-close:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }

.slb-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  min-height: 0;
  padding: 0 56px;
}

.slb-stage {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100svh - 180px);
}

.slb-img {
  max-width: 100%;
  max-height: calc(100svh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
  background: #fff;
}

.slb-img--visible { opacity: 1; }

.slb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.slb-prev { left: 6px; }
.slb-next { right: 6px; }

.slb-nav:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.slb-nav:active { background: rgba(255, 255, 255, 0.22); }
.slb-nav:focus-visible { outline: 2px solid rgba(255,255,255,0.45); outline-offset: 2px; }

.slb-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.slb-thumbs::-webkit-scrollbar { display: none; }

.slb-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 42px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  opacity: 0.45;
  transition: border-color 0.18s, opacity 0.18s;
}

.slb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.slb-thumb:hover { opacity: 0.8; }
.slb-thumb.is-active { border-color: rgba(255,255,255,0.7); opacity: 1; }
.slb-thumb:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }

@media (max-width: 600px) {
  .slb-stage-wrap { padding: 0 40px; }
  .slb-prev { left: 2px; }
  .slb-next { right: 2px; }
  .slb-thumb { width: 48px; height: 34px; }
}

/* ════════════════════════════════════════════════════════════ */

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.pdp-lightbox[hidden] {
  display: none !important;
}

.pdp-lightbox-scrim {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(10, 18, 32, 0.88);
  cursor: pointer;
}

.pdp-lightbox-frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: min(96vw, 1200px);
  max-height: calc(100vh - 32px);
}

.pdp-lightbox-stage {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100vh - 32px);
}

.pdp-lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.pdp-lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1a2a3d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.15s, transform 0.15s;
}

.pdp-lightbox-close:hover {
  background: #fff;
  transform: scale(1.05);
}

.pdp-lightbox-close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-lightbox-nav {
  flex-shrink: 0;
  width: 44px;
  height: 72px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}

.pdp-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pdp-lightbox-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pdp-lightbox-nav[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .pdp-lightbox-nav {
    width: 36px;
    height: 56px;
    font-size: 1.4rem;
  }

  .pdp-lightbox-close {
    top: 4px;
    right: 4px;
  }
}

.pdp-hero-placeholder {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(145deg, #e8f2ff, #d4e8ff);
  opacity: 0.9;
}

/* display:block выше перебивает нативное скрытие [hidden] — без этого заглушка видна рядом с фото */
.pdp-hero-placeholder[hidden] {
  display: none !important;
}

.pdp-thumb.is-hidden {
  display: none !important;
}

.pdp-gallery-row--no-thumbs .pdp-thumbs {
  display: none;
}

/* Маркетинговые блоки на PDP (единая стилистика с .pdp-block) */
.pdp-story {
  padding: 20px 22px 18px;
}

.pdp-story__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.pdp-story__body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.pdp-story__body p {
  margin: 0 0 12px;
}

.pdp-story__body p:last-child {
  margin-bottom: 0;
}

.pdp-story__lead-strong {
  font-weight: 600;
  margin-bottom: 8px !important;
}

.pdp-story-list {
  margin: 0 0 0 1.1em;
  padding: 0;
  list-style: disc;
}

.pdp-story-list li {
  margin-bottom: 6px;
}

.pdp-story-list li:last-child {
  margin-bottom: 0;
}

.pdp-story__sub {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
}

.pdp-story__foot {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

.pdp-story__asterisk {
  margin-right: 0.2em;
  color: var(--blue);
  font-weight: 700;
}

.pdp-story-details {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafcfe;
  overflow: hidden;
}

.pdp-story-details__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  user-select: none;
}

.pdp-story-details__summary::-webkit-details-marker {
  display: none;
}

.pdp-story-details__summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.pdp-story-details[open] .pdp-story-details__summary::after {
  transform: rotate(225deg);
  margin-top: 2px;
}

.pdp-story-details__panel {
  padding: 0 14px 14px;
  border-top: 1px solid #eef3f8;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
}

.pdp-story-details__panel p {
  margin: 12px 0 0;
}

.pdp-story-details__panel p:first-child {
  margin-top: 12px;
}

#pdp-story-intro {
  scroll-margin-top: 104px;
}

@media (min-width: 1201px) {
  #pdp-story-intro {
    scroll-margin-top: 176px;
  }
}

a.pdp-cart--learn {
  text-decoration: none;
  box-sizing: border-box;
}

/* Видео «в действии» (только на отдельных PDP, напр. А1) */
.pdp-video {
  margin-top: 0;
  padding: 20px 22px 18px;
}

.pdp-video-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.pdp-video-lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.pdp-video-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0f2035;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 540px);
}

.pdp-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-specs {
  padding: 20px 22px 16px;
}

.pdp-specs h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.pdp-spec-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.875rem;
  padding: 7px 0;
  border-bottom: 1px solid #f0f4f8;
  color: var(--text);
}

.pdp-spec-row::after {
  content: "";
  flex: 1;
  min-width: 8px;
  order: 2;
}

.pdp-spec-label {
  flex-shrink: 0;
  color: var(--muted);
  order: 1;
  max-width: 55%;
  line-height: 1.35;
}

.pdp-spec-sublabel {
  display: block;
  margin-top: 3px;
  font-size: 0.76em;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
  opacity: 0.92;
}

.pdp-spec-val {
  flex-shrink: 0;
  font-weight: 600;
  text-align: right;
  order: 3;
  line-height: 1.35;
}

.pdp-spec-val--accent {
  color: var(--blue);
}

.pdp-specs-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.pdp-specs-more::after {
  content: "↓";
  font-size: 0.85em;
}

.pdp-specs-more:hover { text-decoration: underline; }

/* ── Модальное окно консультации ─────────────────────────────── */
.pdp-cmodal-overlay[hidden] {
  display: none;
}

.pdp-cmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 20, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}

.pdp-cmodal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 20, 60, 0.18);
}

.pdp-cmodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f4f8;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.15s;
}

.pdp-cmodal-close:hover {
  background: #e2e8f0;
}

.pdp-cmodal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.pdp-cmodal-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.5;
}

.pdp-cform {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.pdp-cform-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdp-cform-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.pdp-cform-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1.5px solid #d4e2f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
  outline: none;
}

.pdp-cform-input:focus {
  border-color: var(--blue);
}

.pdp-cform-input:disabled {
  opacity: 0.55;
  background: #f4f8fc;
}

.pdp-cform-textarea {
  resize: vertical;
  min-height: 72px;
}

.pdp-cform-submit {
  align-self: stretch;
  padding: 11px 20px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
}

.pdp-cform-submit:hover {
  filter: brightness(1.07);
}

.pdp-cform-submit:active {
  transform: scale(0.98);
}

.pdp-cform-submit:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── Загрузка файла в форме консультации ─────────────────────── */
.pdp-cform-hint {
  font-weight: 400;
  color: #9baabf;
}

.pdp-cfile-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px dashed #c8d8ea;
  border-radius: 8px;
  background: #f7fafd;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  user-select: none;
}

.pdp-cfile-zone:hover,
.pdp-cfile-zone--drag {
  border-color: var(--blue);
  background: #eef5ff;
}

.pdp-cfile-zone--has-file {
  border-style: solid;
  border-color: #5ba7f7;
  background: #eef5ff;
}

.pdp-cfile-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.pdp-cfile-ico {
  flex-shrink: 0;
  color: #7baed4;
}

.pdp-cfile-zone--has-file .pdp-cfile-ico {
  color: var(--blue);
}

.pdp-cfile-label {
  font-size: 0.83rem;
  color: #7090b0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-cfile-zone--has-file .pdp-cfile-label {
  color: var(--text);
  font-weight: 500;
}

.pdp-cfile-clear {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: #dce8f5;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
  cursor: pointer;
  color: #4a6a90;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}

.pdp-cfile-clear:hover {
  background: #f0d5d5;
  color: #c03030;
}

.pdp-cfile-err {
  margin: 4px 0 0;
}

.pdp-cfile-err[hidden] {
  display: none;
}

.pdp-cform-req {
  color: #e04040;
}

.pdp-cform-input--error {
  border-color: #e04040;
  background: #fff5f5;
}

.pdp-cform-input--error:focus {
  border-color: #e04040;
}

.pdp-cform-err {
  font-size: 0.75rem;
  color: #e04040;
  margin: 2px 0 0;
}

.pdp-cform-legal {
  font-size: 0.72rem;
  color: #9baabf;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.pdp-cform-legal a {
  color: inherit;
  text-decoration: underline;
}

.pdp-cform-success[hidden] {
  display: none;
}

.pdp-cform-success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e8f4ea;
  color: #2d6a3e;
  font-size: 0.88rem;
  font-weight: 600;
}

.pdp-consult h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.pdp-consult p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.pdp-consult .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  transition: filter 0.2s, transform 0.15s;
}

.pdp-consult .btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.pdp-consult .btn:hover {
  filter: brightness(1.05);
}

/* top = отступ под фикс. шапку (.site-header), как у .pdp-page — иначе карточка залезает под шапку */
.pdp-aside {
  position: sticky;
  top: 168px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1200px) {
  .pdp-aside {
    top: 96px;
  }
}

.pdp-buy-card {
  padding: 22px 20px;
  border-radius: 18px;
}

.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a8f4a;
  margin-bottom: 12px;
}

.pdp-stock--muted {
  color: #9aa8bc;
}

.pdp-cart--soon:disabled {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: #e8ecf2;
  color: #7d8ca3;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: not-allowed;
  margin-bottom: 16px;
}

.pdp-price-row {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.pdp-price-row--on-request {
  font-size: clamp(1.28rem, 2.6vw, 1.62rem);
  letter-spacing: -0.015em;
  color: var(--text);
}

.pdp-total {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.pdp-total strong {
  color: var(--text);
  font-weight: 700;
}

.pdp-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  background: #fff;
}

.pdp-qty button {
  width: 40px;
  height: 42px;
  border: none;
  background: #f0f6fc;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.pdp-qty button:hover {
  background: #e2ecf8;
}

.pdp-qty input {
  width: 48px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}

.pdp-cart {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: filter 0.15s;
}

.pdp-cart:hover {
  filter: brightness(1.06);
}

.pdp-cart--in-cart {
  background: #e8f2ff;
  color: var(--blue);
  border: 1.5px solid rgba(6, 86, 185, 0.32);
  box-sizing: border-box;
}

.pdp-cart--in-cart:hover {
  filter: brightness(0.97);
  background: #dceaff;
}

.pdp-cart-check {
  flex-shrink: 0;
  margin-top: 1px;
}

.pdp-cart-label {
  white-space: nowrap;
}

.pdp-min-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.pdp-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #8a9eb4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
}

.pdp-icon-btn:hover {
  color: var(--blue);
  border-color: #c4d8f0;
}

.pdp-icon-btn.is-active {
  color: var(--blue);
  border-color: rgba(6, 86, 185, 0.35);
  background: rgba(6, 86, 185, 0.06);
}

.pdp-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .pdp-trust:not(.pdp-trust--scroll) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pdp-trust:not(.pdp-trust--scroll) {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Компактный блок сертификатов — сетка 2 колонки */
.pdp-trust.pdp-trust--scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0;
  margin-top: 4px;
  list-style: none;
  overflow: visible;
}

.pdp-trust.pdp-trust--scroll li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f5faff;
  border: 1px solid #dbeeff;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  transition: background 0.15s, box-shadow 0.15s;
}

.pdp-trust.pdp-trust--scroll li:hover {
  background: #eaf3ff;
  box-shadow: 0 2px 8px rgba(6, 86, 185, 0.09);
  transform: none;
}

.pdp-trust li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: linear-gradient(160deg, #f5faff 0%, #eef5fd 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.815rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pdp-trust li:hover {
  border-color: #b8d8f5;
  box-shadow: 0 2px 10px rgba(6, 86, 185, 0.08);
  transform: none;
}

.pdp-trust-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(6, 86, 185, 0.10);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.pdp-trust-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(6, 86, 185, 0.3);
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.pdp-trust-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

.pdp-trust-doc-trigger {
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 4px;
  max-width: 100%;
  text-decoration: underline;
  text-decoration-color: rgba(6, 86, 185, 0.2);
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.pdp-trust-doc-trigger:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

.pdp-trust-doc-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-doc-pop-layer {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.pdp-doc-pop-layer[hidden] {
  display: none !important;
}

.pdp-doc-pop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.82);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pdp-doc-pop-layer--open .pdp-doc-pop-backdrop {
  opacity: 1;
}

.pdp-doc-pop {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 24px 22px 22px;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(5, 10, 20, 0.35);
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pdp-doc-pop-layer--open .pdp-doc-pop {
  opacity: 1;
  transform: none;
}

.pdp-doc-pop-layer--img .pdp-doc-pop {
  max-width: min(96vw, 900px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pdp-doc-pop-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: -4px 0 14px;
  padding-bottom: 2px;
}

.pdp-doc-pop-toolbar[hidden],
.pdp-doc-pop-img-wrap[hidden],
.pdp-doc-pop-spinner[hidden] {
  display: none !important;
}

.pdp-doc-pop-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #f0f6fc;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}

.pdp-doc-pop-toolbar button:hover:not(:disabled) {
  background: #dceaf8;
}

.pdp-doc-pop-toolbar button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-doc-pop-page {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
  min-width: 4.5rem;
  text-align: center;
}

.pdp-doc-pop-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.pdp-doc-pop-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.pdp-doc-pop-spinner[hidden] { display: none !important; }

.pdp-spin {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(6, 86, 185, 0.15);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: pdpSpinAnim 0.72s linear infinite;
}

@keyframes pdpSpinAnim {
  to { transform: rotate(360deg); }
}

.pdp-doc-pop-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(80vh, 960px);
  margin: 0;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pdp-doc-pop-img--visible {
  opacity: 1;
}

.pdp-doc-pop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: #f0f6fc;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pdp-doc-pop-close:hover {
  background: #e2ecf8;
  color: var(--text);
}

.pdp-doc-pop-title {
  margin: 0 36px 12px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.pdp-doc-pop-msg {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.pdp-tabs {
  margin-top: 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: clamp(88px, 12vw, 140px);
}

.pdp-tab-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pdp-tab-list::-webkit-scrollbar {
  display: none;
}

.pdp-tab-list > li {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .pdp-tab-list > li {
    flex: 1 1 auto;
    min-width: max-content;
  }
}

.pdp-tab {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: clamp(0.72rem, 0.7vw + 0.62rem, 0.82rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.pdp-tab:hover {
  color: var(--blue);
}

.pdp-tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.pdp-panels {
  padding: 24px 0 0;
}

.pdp-panel {
  display: none;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.pdp-panel.is-active {
  display: block;
}

.pdp-panel p + p {
  margin-top: 12px;
}

.pdp-reviews-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pdp-reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.pdp-reviews-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 14px;
}

.pdp-reviews-stats-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c5d4e8;
  flex-shrink: 0;
}

.pdp-reviews-stat {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  white-space: nowrap;
}

.pdp-reviews-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #c9d6e4;
}

.pdp-reviews-stars svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.pdp-reviews-write {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.pdp-reviews-write:hover {
  filter: brightness(1.06);
}

.pdp-reviews-write:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.pdp-reviews-note {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: #f8fbff;
}

.pdp-reviews-note[hidden] {
  display: none;
}

.pdp-reviews-empty {
  margin: 0;
  padding: 18px 16px;
  font-size: 0.95rem;
  color: var(--text);
}

/* ── Вкладка «Вопрос-ответ» ─────────────────────────────── */
.pdp-faq-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pdp-faq-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.pdp-faq-count {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.pdp-faq-new {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.pdp-faq-new:hover {
  filter: brightness(1.06);
}

.pdp-faq-new:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.pdp-faq-empty {
  margin: 0;
  padding: 18px 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

/* Модальные окна (вопрос, заявка): прокрутка у слоя, не внутри карточки */
.pdp-faq-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 99991;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: max(20px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.pdp-faq-modal-layer[hidden] {
  display: none !important;
}

.pdp-faq-modal-backdrop {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background: rgba(15, 32, 53, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.pdp-faq-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: auto;
  padding: 30px 28px 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 189, 220, 0.10), transparent 34%),
    linear-gradient(165deg, #f8fbff 0%, #ffffff 44%, #ffffff 100%);
  border: 1px solid rgba(6, 86, 185, 0.10);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 4px 24px rgba(15, 32, 53, 0.06),
    0 30px 70px rgba(15, 32, 53, 0.18);
}

.pdp-faq-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: rgba(15, 32, 53, 0.06);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.pdp-faq-modal-close:hover {
  background: rgba(6, 86, 185, 0.1);
  color: var(--text);
}

.pdp-faq-modal-title {
  margin: 2px 44px 8px 0;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: var(--text);
}

.pdp-faq-modal-lead {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 32, 53, 0.08);
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--muted);
}

.pdp-faq-field {
  margin-bottom: 11px;
}

.pdp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.pdp-faq-field--suggest {
  position: relative;
}

.pdp-faq-label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.pdp-faq-label-muted {
  color: var(--muted);
  font-weight: 500;
}

.pdp-faq-input,
.pdp-faq-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid rgba(15, 32, 53, 0.11);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.pdp-faq-input:focus,
.pdp-faq-textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 86, 185, 0.10);
}

.pdp-faq-input--readonly {
  background: linear-gradient(180deg, #f2f7fc 0%, #f7fafd 100%);
  color: var(--text);
  font-weight: 500;
  border-color: rgba(15, 32, 53, 0.08);
  cursor: default;
}

/* Товары в заявке (несколько позиций) */
.pdp-req-products-field {
  margin-bottom: 16px;
}

.pdp-req-products {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-req-products-empty {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 32, 53, 0.14);
  background: rgba(244, 249, 255, 0.7);
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.pdp-req-product {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(218, 238, 255, 0.95);
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 1px 8px rgba(15, 32, 53, 0.04);
}

.pdp-req-product-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdp-req-product-series {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.pdp-req-product-title {
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-req-product-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #5a6578;
  background: #eef2f7;
}

.pdp-req-qty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.pdp-req-qty-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdp-req-qty-input {
  width: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 32, 53, 0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  background: #fff;
}

.pdp-req-qty-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6, 86, 185, 0.12);
}

.pdp-req-product-remove {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(15, 32, 53, 0.06);
  color: #6a7d94;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pdp-req-product-remove:hover {
  background: rgba(196, 30, 58, 0.1);
  color: #b81832;
}

.pdp-req-add {
  padding-top: 4px;
}

.pdp-req-add-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.pdp-req-add-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.pdp-req-add-btn {
  padding: 11px 18px;
  border: none;
  border-radius: 999px;
  background: #e8f2ff;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, filter 0.15s;
}

.pdp-req-add-btn:hover:not(:disabled) {
  background: #dceaff;
  filter: brightness(1.02);
}

.pdp-req-add-btn:disabled,
#pdpReqAddSelect:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .pdp-req-product {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "main main"
      "qty remove";
  }
  .pdp-req-product-main { grid-area: main; }
  .pdp-req-qty-wrap { grid-area: qty; justify-self: start; }
  .pdp-req-product-remove { grid-area: remove; justify-self: end; }
  .pdp-req-add-row {
    grid-template-columns: 1fr;
  }
  .pdp-req-add-btn {
    width: 100%;
  }
}

.pdp-inn-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  z-index: 5;
  max-height: 230px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(15, 32, 53, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 32, 53, 0.16);
}

.pdp-inn-suggest[hidden] {
  display: none !important;
}

.pdp-inn-suggest-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border: none;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pdp-inn-suggest-item:hover,
.pdp-inn-suggest-item:focus-visible {
  outline: none;
  background: #f0f6fc;
}

.pdp-inn-suggest-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.pdp-inn-suggest-meta {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--muted);
}

.pdp-faq-textarea {
  resize: vertical;
  min-height: 64px;
  line-height: 1.45;
}

.pdp-faq-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 16px;
  padding-top: 4px;
}

.pdp-faq-submit {
  padding: 11px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(165deg, #0b6fd6 0%, var(--blue) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(6, 86, 185, 0.28);
  transition: filter 0.15s, box-shadow 0.15s, transform 0.12s;
}

.pdp-faq-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 16px rgba(6, 86, 185, 0.32);
}

.pdp-faq-submit:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.pdp-faq-cancel {
  padding: 11px 18px;
  border: 1px solid rgba(15, 32, 53, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pdp-faq-cancel:hover {
  background: #f0f6fc;
  border-color: rgba(15, 32, 53, 0.22);
}

.pdp-faq-success {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  padding-top: 4px;
}

.pdp-faq-success[hidden] {
  display: none !important;
}

.pdp-faq-success p {
  margin: 0 0 12px;
}

.pdp-faq-success-fallback {
  font-size: 0.9rem;
  color: var(--muted);
}

.pdp-faq-success-fallback a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 86, 185, 0.25);
}

.pdp-faq-success-fallback a:hover {
  color: var(--deep1);
  border-bottom-color: var(--deep1);
}

.pdp-faq-success .pdp-faq-submit {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .pdp-faq-top {
    gap: 10px 14px;
    padding: 12px 14px;
  }
  .pdp-faq-count {
    font-size: 0.95rem;
  }
  .pdp-faq-new {
    margin-left: 0;
    width: 100%;
  }
  .pdp-faq-empty {
    padding: 14px;
  }

  .pdp-faq-modal-layer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pdp-faq-modal {
    max-width: none;
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .pdp-faq-modal-title {
    font-size: 1.05rem;
  }
  .pdp-faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pdp-reviews-top {
    gap: 10px 14px;
    padding: 12px 14px;
  }
  .pdp-reviews-stat {
    font-size: 0.95rem;
  }
  .pdp-reviews-write {
    margin-left: 0;
    width: 100%;
  }
  .pdp-reviews-note,
  .pdp-reviews-empty {
    padding: 12px 14px;
  }
}

.pdp-feat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.pdp-feat-ico {
  flex-shrink: 0;
  width: 1.25em;
  font-weight: 800;
  color: #1a8f4a;
  line-height: 1.45;
}

.pdp-desc-media-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px 28px;
  margin: 22px 0 10px;
}

.pdp-desc-media-row .pdp-desc-anim {
  margin: 0;
  flex: 1 1 0%;
  min-width: 0;
  max-width: min(640px, calc(100% - 268px));
}

.pdp-desc-media-row .pdp-desc-schema-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  gap: 12px;
  flex: 0 0 auto;
  min-width: min(228px, 100%);
}

.pdp-desc-media-row .pdp-desc-schema-actions .pdp-schema-btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.pdp-desc-gif-row .pdp-desc-schema-actions--gif-row {
  flex: 0 0 auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: stretch;
  justify-content: center;
  gap: 12px;
  min-width: min(228px, 100%);
}

.pdp-desc-gif-row .pdp-desc-schema-actions .pdp-schema-btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.pdp-desc-anim img,
.pdp-desc-anim video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.pdp-desc-anim--solo {
  margin: 18px 0 8px;
  max-width: min(640px, 100%);
}

/* GIF по ширине строки «…и шкафов.» — общая обёртка pdp-desc-gif-wrap */
.pdp-desc-gif-wrap {
  margin-top: 12px;
  max-width: 100%;
}

.pdp-desc-gif-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px 20px;
  max-width: 100%;
}

.pdp-desc-details {
  margin: 10px 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(15, 32, 53, 0.09);
  background: rgba(250, 252, 255, 0.92);
  overflow: hidden;
}

.pdp-desc-details-sum {
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--blue);
  user-select: none;
}

.pdp-desc-details-sum::-webkit-details-marker {
  display: none;
}

.pdp-desc-details-sum::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  margin-right: 6px;
  font-weight: 700;
  opacity: 0.85;
}

.pdp-desc-details[open] > .pdp-desc-details-sum::before {
  content: "–";
}

.pdp-desc-details-body {
  padding: 4px 16px 14px;
  border-top: 1px solid rgba(15, 32, 53, 0.06);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.pdp-desc-details-body p:last-child {
  margin-bottom: 0;
}

.pdp-desc-lead-strong {
  font-weight: 650;
  margin: 0 0 10px;
  color: var(--text);
}

.pdp-desc-list-plain {
  margin: 0 0 6px;
  padding-left: 1.2rem;
}

.pdp-desc-list-plain li {
  margin: 4px 0;
}

/* Гиф слева, кнопки справа — колонку кнопок не сжимаем */
.pdp-desc-gif-row .pdp-desc-anim--gif-sm {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: min(560px, calc(100% - 268px));
  margin-bottom: 0;
}

.pdp-desc-gif-row .pdp-desc-anim--gif-sm img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

.pdp-desc-passport-btn {
  flex: 0 0 auto;
}

.pdp-desc-gif-wrap .pdp-desc-anim--solo {
  margin-top: 10px;
  margin-bottom: 8px;
}

/* Одиночная гифка сразу в .pdp-desc-gif-wrap (без .pdp-desc-gif-row) */
.pdp-desc-gif-wrap > .pdp-desc-anim--gif-sm {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.pdp-desc-gif-wrap > .pdp-desc-anim--gif-sm img {
  width: 100%;
  height: auto;
  display: block;
}

/* Одиночная кнопка «Паспорт» в тексте описания (напр. Б6) */
.pdp-schema-btns--solo-desc {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(16px, 2.6vw, 24px);
  margin-bottom: 8px;
  padding-top: 4px;
}

/* Одна кнопка у гифки (Б7): справа и по вертикали по центру гифки */
.pdp-desc-gif-row .pdp-desc-anim.pdp-desc-anim--gif-sm.pdp-desc-anim--solo {
  margin: 0;
  align-self: center;
}

.pdp-desc-gif-row .pdp-desc-schema-actions--gif-row.pdp-desc-schema-actions--single-pass {
  align-self: center;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.pdp-desc-gif-row .pdp-desc-schema-actions--single-pass .pdp-schema-btn {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-schema-btn {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.pdp-schema-btn:hover {
  border-color: #b8cce0;
  color: var(--blue);
  background-color: rgba(37, 99, 235, 0.04);
}

.pdp-schema-btn:active {
  background-color: rgba(37, 99, 235, 0.07);
}

.pdp-schema-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-schema-btn-ico {
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.pdp-schema-btn:hover .pdp-schema-btn-ico {
  opacity: 0.85;
}

.pdp-schema-btn-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

button.pdp-schema-btn {
  cursor: pointer;
  font-family: inherit;
}

a.pdp-schema-btn {
  cursor: pointer;
  font-family: inherit;
}

.pdp-desc-passport-btn.pdp-schema-btn {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.pdp-desc-passport-btn.pdp-schema-btn:hover {
  background: #1d4ed8;
  color: #fff;
  border-color: transparent;
}

.pdp-desc-passport-btn.pdp-schema-btn:active {
  background: #1e40af;
}

.pdp-desc-passport-btn.pdp-schema-btn .pdp-schema-btn-ico {
  opacity: 0.92;
}

.pdp-desc-passport-btn.pdp-schema-btn:hover .pdp-schema-btn-ico {
  opacity: 1;
}

.pdp-desc-passport-btn.pdp-schema-btn:focus-visible {
  outline-color: var(--blue);
}

.pdp-schema-cta {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .pdp-desc-media-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
  }

  .pdp-desc-media-row .pdp-desc-anim {
    max-width: 100%;
  }

  .pdp-desc-media-row .pdp-desc-schema-actions {
    width: 100%;
    flex-direction: column;
    min-width: 0;
    align-items: stretch;
  }

  .pdp-desc-schema-actions--gif-row {
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
  }

  .pdp-desc-schema-actions--gif-row.pdp-desc-schema-actions--single-pass {
    align-items: center;
  }

  .pdp-desc-schema-actions--single-pass .pdp-schema-btn {
    width: auto;
    max-width: 100%;
  }

  .pdp-desc-gif-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
  }

  .pdp-desc-gif-row .pdp-desc-anim--gif-sm {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .pdp-desc-gif-row .pdp-desc-schema-actions .pdp-schema-btn-label {
    font-size: 0.62rem;
  }

  .pdp-desc-passport-btn.pdp-schema-btn {
    padding: 10px 12px;
  }
}

.pdp-subh {
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--text);
}

.pdp-panel .pdp-subh:first-child {
  margin-top: 0;
}

.pdp-log-table-wrap {
  overflow-x: auto;
  margin-top: 4px;
  -webkit-overflow-scrolling: touch;
}

.pdp-log-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pdp-log-table th,
.pdp-log-table td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.pdp-log-table thead th {
  background: #f0f6fc;
  font-weight: 700;
  color: var(--text);
}

.pdp-log-table tbody td:first-child {
  font-weight: 600;
  color: var(--muted);
  max-width: 220px;
}

/* Мобильные: широкая таблица логистики не помещается, родитель .pdp-block--tabs с overflow:hidden,
   у body overflow-x:hidden — горизонтальный скролл часто не работает. Карточки по строкам. */
@media (max-width: 720px) {
  .pdp-block--tabs {
    overflow: visible;
  }

  .pdp-log-table-wrap {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
  }

  .pdp-log-table {
    min-width: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .pdp-log-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pdp-log-table tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 32, 53, 0.05);
  }

  .pdp-log-table tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px !important;
    border: none !important;
    border-bottom: 1px solid var(--line) !important;
    max-width: none !important;
    font-weight: 400 !important;
    color: var(--text) !important;
    vertical-align: top;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .pdp-log-table tbody tr td:last-child {
    border-bottom: none !important;
  }

  .pdp-log-table tbody td:first-child {
    background: #f0f6fc;
    font-weight: 700 !important;
    color: var(--text) !important;
  }

  /* Совпадает с заголовками столбцов в разметке PDP */
  .pdp-log-table tbody td:nth-child(n + 2)::before {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.2;
  }

  .pdp-log-table tbody td:nth-child(2)::before {
    content: "Индивидуальная";
  }

  .pdp-log-table tbody td:nth-child(3)::before {
    content: "Групповая";
  }

  .pdp-log-table tbody td:nth-child(4)::before {
    content: "Транспортная";
  }
}

.pdp-char-dl {
  margin: 0;
  padding: 0;
}

.pdp-char-dl > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: var(--text);
}

.pdp-char-dl > div::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted #c5d6e8;
  min-width: 12px;
  order: 2;
  margin: 0 4px;
  position: relative;
  top: -0.15em;
}

.pdp-char-dl dt {
  margin: 0;
  flex: 0 1 auto;
  max-width: min(68%, 26rem);
  min-width: 0;
  color: var(--muted);
  font-weight: 400;
  order: 1;
}

.pdp-char-dl-row--singleline {
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
}

.pdp-char-dl-row--singleline dt {
  white-space: nowrap;
  max-width: none;
  flex: 0 0 auto;
}

.pdp-char-dl-row--singleline dd {
  flex-shrink: 0;
}

.pdp-char-dl-row--singleline::after {
  flex: 1 1 auto;
  min-width: 12px;
}

.pdp-char-dl dd {
  margin: 0;
  flex-shrink: 0;
  font-weight: 600;
  text-align: right;
  order: 3;
}

@media (max-width: 540px) {
  .pdp-char-dl > div {
    flex-wrap: wrap;
  }

  .pdp-char-dl > div.pdp-char-dl-row--singleline {
    flex-wrap: nowrap;
    align-items: center;
  }

  .pdp-char-dl > div::after {
    display: none;
  }

  .pdp-char-dl > div.pdp-char-dl-row--singleline::after {
    display: block;
  }

  .pdp-char-dl dt {
    max-width: 100%;
  }

  .pdp-char-dl > div.pdp-char-dl-row--singleline dt {
    max-width: none;
  }

  .pdp-char-dl dd {
    width: 100%;
    text-align: left;
    padding-left: 0;
    margin-top: 2px;
  }

  .pdp-char-dl > div.pdp-char-dl-row--singleline dd {
    width: auto;
    margin-top: 0;
    margin-left: 0;
    text-align: right;
    flex-shrink: 0;
  }
}

/* ── «Поделиться»: компактное окно (соцсети + копирование ссылки) ─ */
.pdp-share-layer {
  position: fixed;
  inset: 0;
  z-index: 99992;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: max(20px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.pdp-share-layer[hidden] {
  display: none !important;
}

.pdp-share-backdrop {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background: rgba(15, 32, 53, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.pdp-share-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 32, 53, 0.08);
  box-shadow:
    0 4px 24px rgba(15, 32, 53, 0.08),
    0 20px 48px rgba(15, 32, 53, 0.12);
  overflow: hidden;
}

.pdp-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #eef1f5;
  border-bottom: 1px solid #e2e6ec;
}

.pdp-share-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pdp-share-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: #dfe3ea;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pdp-share-close:hover {
  background: #d0d5de;
}

.pdp-share-close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-share-body {
  padding: 20px 18px 22px;
  background: #fff;
}

.pdp-share-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pdp-share-soc {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.pdp-share-soc:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.pdp-share-soc:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-share-soc--vk {
  background: #4c6b8a;
  font-size: 0.7rem;
}

.pdp-share-soc--ok {
  background: #ee8208;
  font-size: 0.68rem;
}

.pdp-share-soc--tg {
  background: #2aabee;
}

.pdp-share-soc--wa {
  background: #25d366;
}

.pdp-share-soc svg {
  display: block;
  width: 22px;
  height: 22px;
}

.pdp-share-copy {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: #edf0f4;
  color: #5a6d80;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.pdp-share-copy:hover {
  background: #e3e8ef;
  color: var(--text);
}

.pdp-share-copy:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pdp-share-copy.is-done {
  background: #e8f4ea;
  color: #2d6a3e;
}

/* ── Editorial text + photo sections (Б200) ──────────────────── */
.pdp-editorial {
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.pdp-editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
  align-items: center;
}

.pdp-editorial-block--img-left .pdp-editorial-img {
  order: -1;
}

.pdp-editorial-text h3.pdp-subh {
  margin-top: 0;
}

.pdp-editorial-img {
  border-radius: 14px;
  overflow: hidden;
  background: #f0f4f8;
  box-shadow: 0 4px 20px rgba(0, 30, 60, 0.08);
}

.pdp-editorial-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

@media (max-width: 800px) {
  .pdp-editorial-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pdp-editorial-block--img-left .pdp-editorial-img {
    order: 0;
  }

  .pdp-editorial-img {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

