/* ─────────────────────────────────────
   ХАРАКТЕРИСТИКИ ТОВАРУ - сітка
   ───────────────────────────────────── */
/* ══ Варіант 3: два стовпці з пунктиром ══ */

#tab-specification .short-attribute {
    all: unset !important;
    display: flex !important;
    align-items: baseline !important;
    padding: 9px 10px !important;
    margin: 0 -10px !important;
    border-radius: 6px !important;
    cursor: default !important;
    transition: background 0.15s ease !important;
    min-width: 0 !important;
}

    #tab-specification .short-attribute:hover {
        background: var(--color-gray-2) !important;
    }

#tab-specification .attr-name,
#tab-specification .attr-name span {
    all: unset !important;
    display: block !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    color: #777 !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
}

    /* Пунктирна лінія через псевдоелемент */
    #tab-specification .attr-name::after {
        content: '' !important;
        display: none !important;
    }

#tab-specification .attr-text {
    all: unset !important;
    display: flex !important;
    align-items: baseline !important;
    flex: 1 !important;
    min-width: 0 !important;
}

    #tab-specification .attr-text::before {
        content: '' !important;
        display: block !important;
        flex: 1 !important;
        min-width: 16px !important;
        height: 0 !important;
        border-bottom: 1.5px dashed var(--color-gray-4) !important;
        margin: 0 8px 3px !important;
        flex-shrink: 1 !important;
    }

    #tab-specification .attr-text span {
        all: unset !important;
        display: block !important;
        flex-shrink: 0 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        max-width: 50% !important;
        text-align: right !important;
    }

/* Сітка два стовпці */
#tab-specification {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 32px !important;
    row-gap: 0 !important;
}

    #tab-specification .ch-h2 {
        grid-column: 1 / -1 !important;
        margin-bottom: 8px !important;
    }

/* Адаптив */
@media (max-width: 480px) {
    #tab-specification {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }
}



/* ═══════════════════════════════════════════════
   PRODUCT DESCRIPTION — DESIGN SYSTEM
   ═══════════════════════════════════════════════ */

.tab-pane {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    border: none !important;
}

/* ── Токени ── */
:root {
    --accent: #f5c800;
    --accent-light: #fffdf0;
    --accent-border: #f5e76b;
    --text-primary: #111;
    --text-secondary: #777;
    --text-muted: #999;
    --text-placeholder: #bbb;
    --bg-page: #fff;
    --bg-subtle: #fafafa;
    --bg-dark: #111;
    --border: #f0f0f0;
    --border-hover: #e0e0e0;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
}

/* ══════════════════════════════════════
   ОБГОРТКА
══════════════════════════════════════ */
.product-description {
    font-family: 'Rubik', sans-serif;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /*max-width: 740px;*/
    margin: 0 auto;
}

/* ══════════════════════════════════════
   СЕКЦІЇ
══════════════════════════════════════ */
.pd-section {
    padding: 25px 0;
    /*border-bottom: 1px solid var(--border);*/
}

    .pd-section:last-child {
        border: none;
        padding-bottom: 0;
    }

/* ── Заголовки секцій ── */
.pd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
}

.pd-eyebrow-num {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: .04em;
}

.pd-eyebrow-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-placeholder);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pd-section-title {
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 700;
    letter-spacing: -.3px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.pd-section-sub {
    font-size: 13px;
    color: var(--text-muted);
    /*margin-bottom: 22px;*/
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: HERO (блок 1 — цінність)
══════════════════════════════════════ */
.pd-hero {
    background: var(--bg-dark);
    border-radius: var(--radius-2xl);
    padding: 44px 44px 40px;
    margin-bottom: 8px;
    color: #fff;
    transition: box-shadow .3s;
}

    .pd-hero:hover {
        box-shadow: 0 12px 48px rgba(0,0,0,.18);
    }

.pd-hero-title {
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.6px;
    margin-bottom: 16px;
}

    .pd-hero-title strong {
        color: var(--accent);
        font-style: normal;
    }

.pd-hero-lead {
    font-size: clamp(14px, 2.2vw, 15px);
    color: rgba(255,255,255,.52);
    line-height: 1.75;
    /*max-width: 480px;*/
    margin-bottom: 28px;
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: TAG / ЧІП
══════════════════════════════════════ */
.pd-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.pd-tag {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    padding: 5px 13px;
    border-radius: 20px;
    transition: background .2s, color .2s;
}

    .pd-tag:hover {
        background: rgba(255,255,255,.15);
        color: rgba(255,255,255,.9);
    }
/* Варіант на світлому фоні */
.pd-tag--light {
    color: var(--text-secondary);
    background: var(--border);
}

    .pd-tag--light:hover {
        background: var(--accent);
        color: var(--text-primary);
    }

/* ══════════════════════════════════════
   КОМПОНЕНТ: CARD — картка (аудиторія / поради)
══════════════════════════════════════ */
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pd-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.pd-card {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-subtle);
    transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
    cursor: default;
}

    .pd-card:hover {
        border-color: var(--accent);
        background: var(--bg-page);
        box-shadow: 0 4px 20px rgba(245,200,0,.12);
        transform: translateY(-2px);
    }

.pd-card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.pd-card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: PARAM-ROW — характеристика + вигода
══════════════════════════════════════ */
.pd-params {
    /* display: flex;
    flex-direction: column; */

    display: table;
    width: 100%; /* або auto */
    border-collapse: collapse; /* якщо потрібні лінії між рядками */
}

.pd-param-row {
    /* display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px; */

    display: table-row;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
    transition: background .2s;
}

    .pd-param-row:last-child {
        border: none;
    }

    .pd-param-row:hover {
        background: var(--bg-subtle);
    }

.pd-param-row-sub1, .pd-param-row-sub2 {
    display: table-cell;
    padding: 16px 12px;
    vertical-align: top;
}
.pd-param-row-sub1 {
    display: table-cell;   /* вже для всіх рядків */
    vertical-align: top;   /* вирівнювання по верху */
}

.pd-param-row-sub1 span {
    display: block;        /* ставимо в стовпчик */
}


.pd-param-val {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.5px;
}

.pd-param-unit {
    font-size: 10px;
    color: var(--text-placeholder);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pd-param-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
}

.pd-param-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pd-chip {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #555;
    background: var(--border);
    padding: 3px 9px;
    border-radius: 20px;
    transition: background .2s, color .2s;
}

.pd-param-row:hover .pd-chip {
    background: var(--accent);
    color: var(--text-primary);
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: HIGHLIGHT — жовтий акцентний блок
══════════════════════════════════════ */
.pd-highlight {
    background: var(--accent);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 22px;
    transition: box-shadow .2s, transform .2s;
}

    .pd-highlight:hover {
        box-shadow: 0 6px 28px rgba(245,200,0,.35);
        transform: translateY(-2px);
    }

.pd-highlight-big {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    flex-shrink: 0;
}

.pd-highlight-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pd-highlight-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: KPI-ROW — набір цифр
══════════════════════════════════════ */
.pd-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.pd-kpi {
    padding: 18px 16px;
    background: var(--bg-subtle);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color .2s, box-shadow .2s, transform .2s;
    cursor: default;
}

    .pd-kpi:hover {
        border-color: #ddd;
        box-shadow: 0 4px 16px rgba(0,0,0,.06);
        transform: translateY(-2px);
    }

.pd-kpi-num {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1;
    margin-bottom: 6px;
}

.pd-kpi-label {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: BENEFIT-LIST — список переваг (з точкою)
══════════════════════════════════════ */
.pd-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-benefit-item {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-subtle);
    align-items: flex-start;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    cursor: default;
}

    .pd-benefit-item:hover {
        border-color: var(--border-hover);
        box-shadow: 0 4px 16px rgba(0,0,0,.05);
        transform: translateY(-1px);
    }

.pd-benefit-item--accent {
    background: var(--accent-light);
    border-color: var(--accent-border);
}

    .pd-benefit-item--accent:hover {
        border-color: var(--accent);
        box-shadow: 0 4px 16px rgba(245,200,0,.15);
    }

.pd-benefit-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

.pd-benefit-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pd-benefit-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.pd-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7a6000;
    background: var(--accent);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: SPEC-TABLE — таблиця технічних характеристик
══════════════════════════════════════ */
.pd-spec-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.pd-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 8px;
    border-bottom: 1px solid #f5f5f5;
    gap: 12px;
    border-radius: 6px;
    transition: background .18s;
}

    .pd-spec-row:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .pd-spec-row:hover {
        background: var(--bg-subtle);
    }

.pd-spec-label {
    font-size: 13px;
    color: var(--text-muted);
}

.pd-spec-val {
    font-size: 14px;
    font-weight: 600;
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: STAT-ROW — рядок з іконкою/цифрою + пояснення (блок 4)
══════════════════════════════════════ */
.pd-stat-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-stat-row {
    display: flex;
    gap: 16px;
    padding: 16px 12px;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
    border-radius: var(--radius-md);
    transition: background .2s;
}

    .pd-stat-row:last-child {
        border: none;
    }

    .pd-stat-row:hover {
        background: var(--bg-subtle);
    }

.pd-stat-ico {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.pd-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.pd-stat-value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

/* ══════════════════════════════════════
   КОМПОНЕНТ: NOTE — виноска / попередження
══════════════════════════════════════ */
.pd-note {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--bg-subtle);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

/* ══════════════════════════════════════
   LAYOUT: двоколонковий блок (текст + стати)
══════════════════════════════════════ */
.pd-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.pd-split--text-wide {
    grid-template-columns: 1.4fr 1fr;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 600px) {
    .pd-hero {
        padding: 28px 24px 26px;
        border-radius: var(--radius-xl);
    }

    .pd-hero-title {
        font-size: 26px;
    }

    .pd-hero-lead {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .pd-grid {
        grid-template-columns: 1fr;
    }

    .pd-grid--3 {
        grid-template-columns: 1fr 1fr;
    }

    .pd-kpi-row {
        grid-template-columns: 1fr 1fr;
    }

        .pd-kpi-row .pd-kpi:last-child {
            grid-column: 1 / -1;
        }

    .pd-param-row {
        grid-template-columns: 72px 1fr;
        gap: 14px;
    }

    .pd-param-val {
        font-size: 22px;
    }

    .pd-highlight {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .pd-highlight-big {
        font-size: 44px;
    }

    .pd-spec-table {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pd-spec-row:nth-last-child(-n+2) {
        border-bottom: 1px solid #f5f5f5;
    }

    .pd-spec-row:last-child {
        border-bottom: none;
    }

    .pd-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-split--text-wide {
        grid-template-columns: 1fr;
    }

    .pd-section-title {
        font-size: 18px;
    }

    .pd-section {
        padding: 36px 0;
    }
}

@media (min-width: 1024px) {
    .pd-hero {
        padding: 52px 52px 48px;
    }

    .pd-hero-title {
        font-size: 38px;
    }

    .pd-grid {
        gap: 10px;
    }

    .pd-kpi-row {
        gap: 10px;
    }

    .pd-benefit-list {
        gap: 8px;
    }
}