/* ═══════════════════════════════════════════
   Панельный вариант карточки товара
   Подключается ПОСЛЕ portit.css
   ═══════════════════════════════════════════ */

@media (min-width: 992px) {

  /* ── 1. Контейнер карточки ── */
  #product-info .row.portit-pdp {
    grid-template-columns: 11fr 9fr;
    column-gap: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(31, 41, 51, 0.07);
  }

  /* ── 2. Галерея (лево, 60 %) ── */
  #product-info .portit-pdp-gallery {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
  }

  /* ── 3. Панель покупки (право, 40 %) ── */
  #product-info #product-info-right {
    background: transparent;
    border-left: none;
    padding: 22px 28px 18px;
    display: flex;
    flex-direction: column;
  }

  /* ── 4. Заголовок ── */
  #product-info #product-info-right .portit-product-title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  /* ── 5. Характеристики (строки с точками, как в табе «Характеристики») ── */
  #product-info #product-info-right .portit-short-spec {
    margin: 0 0 8px;
  }

  #product-info #product-info-right .portit-short-spec-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #product-info #product-info-right .portit-short-spec-list .portit-spec-row {
    grid-column: 1;
    display: flex;
    align-items: baseline;
    min-height: 0;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  #product-info #product-info-right .portit-short-spec-list .portit-spec-row:hover {
    transform: none;
    box-shadow: none;
  }

  #product-info #product-info-right .portit-short-spec-list .portit-spec-ico {
    display: none;
  }

  #product-info #product-info-right .portit-short-spec-list .portit-spec-row dt {
    flex: 0 0 auto;
    order: 0;
    grid-row: unset;
    grid-column: unset;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
  }

  #product-info #product-info-right .portit-short-spec-list .portit-spec-row::after {
    content: '';
    order: 1;
    flex: 1 1 auto;
    min-width: 12px;
    height: 1px;
    margin: 0 6px;
    background-image: radial-gradient(circle, #c9d0d8 1px, transparent 1.5px);
    background-size: 6px 1px;
    background-repeat: repeat-x;
    background-position: left center;
    transform: translateY(-3px);
  }

  #product-info #product-info-right .portit-short-spec-list .portit-spec-row dd {
    flex: 0 0 auto;
    order: 2;
    grid-row: unset;
    grid-column: unset;
    font-size: 12px;
    font-weight: 600;
    color: var(--portit-dark);
    margin: 0;
    text-align: right;
    white-space: nowrap;
  }

  /* ── 5b. Ссылка «Все характеристики» ── */
  #product-info #product-info-right .portit-all-specs-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--portit-accent);
    text-decoration: none;
    transition: color .15s;
  }

  #product-info #product-info-right .portit-all-specs-link:hover {
    color: var(--portit-dark);
  }

  /* ── 6. Доставка ── */
  #product-info #product-info-right .portit-product-ship {
    margin-top: 4px;
    gap: 5px;
  }

  #product-info #product-info-right .portit-product-ship-pill {
    height: 26px;
    padding: 0 10px;
    border: 1px solid #e6ecf0;
    border-radius: 6px;
    background: #fff;
    gap: 5px;
  }

  /* ── 7. Цена + количество ── */
  #product-info #product-info-right .portit-buy {
    border: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
    overflow: visible;
  }

  #product-info #product-info-right .portit-buy-top {
    flex-direction: column;
  }

  #product-info #product-info-right .portit-buy-main {
    padding: 0;
    border-bottom: 0;
  }

  .pnl-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  #product-info #product-info-right .portit-buy-price {
    font-size: 22px;
    white-space: nowrap;
  }

  #product-info #product-info-right .portit-buy-qty {
    flex: 0 0 auto;
    border-left: 0;
    background: transparent;
    padding: 0;
    justify-content: flex-end;
    gap: 2px;
  }

  #product-info #product-info-right .portit-buy-qty .btn-minus,
  #product-info #product-info-right .portit-buy-qty .btn-plus {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    font-size: 12px;
  }

  #product-info #product-info-right .portit-buy-qty .plus-minus {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* ── 8. Кнопки ── */
  #product-info #product-info-right .portit-product-actions {
    margin-top: 8px;
    margin-bottom: 6px;
  }

  #product-info #product-info-right .portit-product-actions .portit-btn {
    width: 100%;
    justify-content: center;
  }

  /* ── 8b. «Счёт с НДС» — hover залитый ── */
  #product-info #product-info-right .portit-btn-quote:hover {
    background: var(--portit-accent);
    border-color: var(--portit-accent);
    color: #fff !important;
  }

  /* ── 9. Помощь-ссылки ── */
  #product-info #product-info-right .portit-product-help {
    flex-wrap: wrap;
    gap: 4px;
  }

  #product-info #product-info-right .portit-help-link {
    flex: 1 1 calc(50% - 4px);
    font-size: 11px;
  }

  /* ── 10. Buy-box и доверие ── */
  #product-info #product-info-right .portit-buy-box {
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  #product-info #product-info-right .portit-trust-facts {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(79, 95, 111, 0.10);
  }

  /* ── 11. Шапка табов (Характеристики | Описание | Отзывы) ── */
  #product-info .portit-pdp-tablist {
    background: transparent;
    border-left: 0;
    border-bottom: 2px solid #e6ecf0;
    min-height: 44px;
    padding: 0;
    gap: 4px;
  }

  #product-info .portit-pdp-tablist .nav-link {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    color: #6b7280;
    transition: color .15s;
  }

  #product-info .portit-pdp-tablist .nav-link:hover {
    color: var(--portit-dark);
  }

  #product-info .portit-pdp-tablist .nav-link.active {
    color: var(--portit-accent);
  }

  #product-info .portit-pdp-tablist .nav-link.active::after {
    left: 0;
    right: 0;
    height: 2px;
    bottom: -2px;
    background: var(--portit-accent);
    border-radius: 1px;
  }

  /* ── 12. Пилюли групп характеристик ── */
  #product-info .portit-spec-toc {
    padding-bottom: 14px;
    overflow: visible;
  }

  #product-info .portit-spec-toc a {
    border: 1px solid #e6ecf0;
    background: #f8f9fa;
    color: var(--portit-top);
    border-radius: 6px;
    transition: background .15s, color .15s, border-color .15s;
  }

  #product-info .portit-spec-toc a:hover,
  #product-info .portit-spec-toc a.is-hot {
    background: rgba(242, 53, 52, 0.08);
    color: var(--portit-accent);
    border-color: var(--portit-accent);
  }
}
