/* === СБРОС И БАЗА === */
.page-discounted-servers {
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
}

/* === ЗАГОЛОВОК (ИЗМЕНЕНО ПО ВАШЕМУ ЗАПРОСУ) === */
.ds-header {
    background: transparent;       /* Фон убран */
    border: 1px dashed #cbd5e1;    /* Пунктирная рамка возвращена */
    padding: 40px 50px;            /* Оставили большие отступы */
    text-align: left;              /* Оставили текст слева */
    border-radius: 12px;           /* Оставили скругление */
    margin-bottom: 50px;
    margin-top: 80px;
}

.ds-title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: #5d5a88;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.ds-subtitle {
    font-size: 15px;
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
}

/* === ФИЛЬТРЫ === */
.ds-filters-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.ds-filter-group {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.ds-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 10px;
}

/* Кнопка открытия фильтра */
.ds-select-btn {
    width: 100%;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}
.ds-select-btn:hover { border-color: #94a3b8; }
.ds-select-btn.active { border-color: #000; }

/* Выпадающий список */
.ds-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 50;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}
.ds-dropdown.show { display: block; }

/* Опции */
.ds-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}
.ds-option:hover { background: #f1f5f9; }

.ds-option input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #000;
}

.ds-option span {
    font-size: 14px;
    font-weight: 500;
    cursor: default; 
    pointer-events: none;
    user-select: none;
}

/* === СЕТКА ТАРИФОВ === */
.ds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* КАРТОЧКА ТАРИФА */
.ds-card {
    background: #fff;
    border: 1px dashed #cbd5e1; /* Серый пунктир */
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.ds-card:hover {
    border-color: #94a3b8;
}

.ds-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #000;
}

.ds-price-box {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}
.ds-price {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
}
.ds-price small {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}
.ds-vat {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 5px;
}

.ds-specs-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
}

.ds-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}
.ds-specs-list li {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.ds-specs-list li::before {
    content: "•";
    margin-right: 8px;
    font-weight: bold;
    color: #000;
}

/* Кнопки */
.ds-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    gap: 8px;
    transition: 0.3s;
    border: 2px solid #000;
}
.ds-btn-primary {
    color: #000;
    background: transparent;
}
.ds-btn-primary:hover {
    background: #000;
    color: #fff;
}
.ds-btn-disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

/* === ПАГИНАЦИЯ === */
.ds-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 10px;
}
.ds-page-item { cursor: pointer; user-select: none; }
.ds-page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    color: #000;
    transition: all 0.2s;
    background: #fff;
}
.ds-page-link:hover { background: #f8fafc; border-color: #94a3b8; }
.ds-page-item.active .ds-page-link {
    background: #000;
    color: #fff;
    border-color: #000;
}
.ds-page-item.disabled .ds-page-link {
    color: #cbd5e1;
    pointer-events: none;
    border-color: #f1f5f9;
}

/* === FEATURES AND SERVICES BLOCK === */
.fs-section {
    margin-top: 80px;
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 120px; 
}

.fs-main-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    color: #1e293b;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.fs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* КАРТОЧКА FEATURES */
.fs-card {
    border-radius: 20px;
    padding: 30px;
    border: 1px dashed #F5AD1B; /* Оранжевый пунктир */
}

.fs-card:hover {
    background: #fff; 
}

.fs-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #5d5a88;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #cbd5e1;
}

.fs-title i { color: #000; }

.fs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-list li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.fs-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

.fs-list li strong {
    color: #1e293b;
    font-weight: 700;
}

/* Адаптив */
@media (max-width: 1100px) { .ds-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 992px) { .fs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .ds-grid { grid-template-columns: 1fr; }
    .ds-filters-wrapper { flex-direction: column; align-items: stretch; }
    .fs-grid { grid-template-columns: 1fr; }
    .fs-card { padding: 20px; }
}