/* Блок умов «Доставка / Оплата / Гарантії» (рендер — includes/product_terms.php).
 * Спільний для сторінки товару (product.php) і блоку конструктора сторінок
 * product_terms (page.php, index.php, CMS-гілка product.php, канвас редактора). */
.product-terms {
    flex-basis: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: var(--g-pd-block-gap, 40px) auto;
    padding: var(--g-pd-block-padding, 40px);
    background-color: var(--g-on-color-soft, #f9f9f9);
    border-radius: 10px;
    color: var(--g-ink, #222);
    font-size: var(--g-pd-text-size, 16px);
    font-weight: var(--g-pd-text-weight, 400);
    line-height: var(--g-pd-line-height, 1.6);
}
.product-terms-col { min-width: 0; }
.product-terms-icon {
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.product-terms h2 {
    margin: 0 0 16px;
    font-size: var(--g-pd-heading-size, 22px);
    font-weight: var(--g-pd-heading-weight, 600);
    line-height: 1.35;
}
.product-terms-text p { margin: 0 0 var(--g-pd-paragraph-gap, 14px); }
.product-terms-text ul { margin: 0; padding: 0; list-style: none; }
.product-terms-text li {
    position: relative;
    margin-bottom: var(--g-pd-paragraph-gap, 14px);
    padding-left: 28px;
}
.product-terms-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5.2 7.7l-6.3 6.6-4-4 1.4-1.4 2.6 2.6 4.9-5.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5.2 7.7l-6.3 6.6-4-4 1.4-1.4 2.6 2.6 4.9-5.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.product-terms-text > :last-child,
.product-terms-text li:last-child { margin-bottom: 0; }
.product-terms-text a { color: inherit; text-decoration: underline; }
@media (max-width: 768px) {
    .product-terms {
        gap: 24px;
        margin: min(var(--g-pd-block-gap, 40px), 24px) auto;
        padding: min(var(--g-pd-block-padding, 40px), 24px) min(var(--g-pd-block-padding, 40px), 16px);
    }
    .product-terms h2 { font-size: min(var(--g-pd-heading-size, 22px), 19px); }
}
