/* Пилот вариативных товаров: селектор и таблица вариаций */
.zl-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 16px 0 4px;
}
.zl-picker__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}
.zl-picker__label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}
.zl-picker__select {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #222;
    cursor: pointer;
}
.zl-picker__select:focus {
    outline: none;
    border-color: #999;
}
.zl-variations {
    margin-top: 60px;
}
.zl-variations__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.zl-variations__scroll {
    overflow-x: auto;
}
.zl-var-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 640px;
}
.zl-var-table th {
    text-align: left;
    padding: 12px 16px;
    background: #f5f5f5;
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #e2e2e2;
    white-space: nowrap;
}
.zl-var-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #ececec;
    color: #222;
}
.zl-var-row {
    cursor: pointer;
}
.zl-var-row:hover {
    background: #f8f8f8;
}
.zl-var-row.is-current {
    background: #f1f7ef;
}
.zl-instock { color: #4bae4f; font-weight: 600; }
.zl-outofstock { color: #c33; font-weight: 600; }
@media (max-width: 767px) {
    .zl-picker__field { min-width: 46%; flex: 1 1 46%; }
    .zl-variations { margin-top: 36px; }
    .zl-variations__title { font-size: 19px; }
    .zl-var-table { font-size: 13px; }
    .zl-var-table th, .zl-var-table td { padding: 8px 10px; }
}

/* Компактная таблица вариаций: скрытые строки + кнопка */
.zl-var-row--extra {
    display: none;
}
.zl-variations.is-expanded .zl-var-row--extra {
    display: table-row;
}
.zl-vars-more {
    display: block;
    margin: 16px auto 0;
    padding: 0 28px;
    height: 40px;
    line-height: 38px;
    background: #fff;
    border: 1px solid #005ea4;
    border-radius: 6px;
    color: #005ea4;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.zl-vars-more:hover {
    background: #005ea4;
    color: #fff;
}

/* Кнопка «Выбрать вариант» в каталоге — как «В корзину» */
.product-card__buy a.btn {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0;
    font-size: 13px;
    text-align: center;
}

/* Артикул на вариативной карточке крупнее (+2px) */
.zl-variable-product .pv__art {
    font-size: 14px;
}
