/* Виджет тарифов Digital-Smeta */
.ds-tariff-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #eef2f4;
}

.ds-tariff-widget * {
    box-sizing: border-box;
}

.ds-widget-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #3c3c3c;
    margin-bottom: 30px;
}

.ds-tariff-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ds-table-header {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2px;
    background: #d9d9d9;
    padding: 2px;
}

.ds-header-cell {
    background: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #3c3c3c;
}

.ds-header-cell:first-child {
    text-align: left;
    padding-left: 20px;
    border-radius: 20px 0 0 0;
}

.ds-header-cell:last-child {
    border-radius: 0 20px 0 0;
}

.ds-price-row {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2px;
    background: #d9d9d9;
    padding: 2px;
}

.ds-price-cell {
    background: #d9d9d9;
    padding: 12px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #3c3c3c;
}

.ds-price-cell:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
}

.ds-price-value {
    font-size: 16px;
    color: #3c3c3c;
}

.ds-price-yearly {
    font-size: 14px;
    color: #19aef9;
    display: block;
    margin-top: 4px;
}

.ds-category-header {
    display: grid;
    grid-template-columns: 1fr;
    background: #5e9ea7;
    padding: 12px 20px;
    margin-top: 2px;
}

.ds-category-title {
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.ds-feature-row {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2px;
    background: #d9d9d9;
    padding: 2px;
}

.ds-feature-cell {
    background: #d9d9d9;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #3c3c3c;
}

.ds-feature-cell:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 500;
}

.ds-feature-check {
    color: #16a34a;
    font-size: 18px;
}

.ds-feature-cross {
    color: #dc2626;
    font-size: 18px;
}

.ds-feature-limit {
    font-weight: 600;
    color: #3c3c3c;
}

.ds-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.ds-error {
    text-align: center;
    padding: 40px;
    color: #dc2626;
}

@media (max-width: 768px) {
    .ds-table-header,
    .ds-price-row,
    .ds-feature-row {
        grid-template-columns: 1fr;
    }

    .ds-header-cell:not(:first-child),
    .ds-price-cell:not(:first-child),
    .ds-feature-cell:not(:first-child) {
        display: none;
    }
}
