.tarif {
    padding: 40px 30px;
    gap: 20px;
    align-items: stretch;
}

.tarif .card {
    background: #f4f4ff;
    max-width: 300px;
    min-width: 260px;
    border-radius: 2px;
    border: 1.5px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tarif .card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 24px rgba(0, 0, 51, 0.08);
}

.tarif .card .card-header {
    padding: 20px 24px 0;
}

.tarif .card .label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sec-color);
    background: none !important;
    border-radius: 0;
    padding: 0;
    width: fit-content;
}

.tarif .card .card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.tarif .card .specs-row {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.tarif .card .spec-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-right: 1px solid #e0e0e0;
    text-align: center;
}

.tarif .card .spec-item:last-child {
    border-right: none;
}

.tarif .card .spec-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sec-color);
}

.tarif .card .spec-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.tarif .card .spec-sub {
    font-size: 10px;
    color: var(--lite-gray);
}

.tarif .card .net-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.tarif .card .net-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.tarif .card .net-key {
    color: var(--sec-color);
    font-size: 12px;
}

.tarif .card .net-val {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--black-color);
}

.tarif .card .net-val img {
    width: 16px;
    height: auto;
}

.tarif .card .sec {
    color: var(--sec-color);
    font-size: 12px;
}

.tarif .card .bold {
    font-weight: 700;
}

.tarif form {
    display: contents;
}

.tarif .price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tarif select {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    color: var(--black-color);
    background: #f5f5fa;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 12px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: auto;
}

.tarif select:hover,
.tarif select:focus {
    border-color: var(--primary-color);
}

.tarif .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

button.def {
    width: 100%;
    padding: 13px;
    background: var(--primary-color);
    color: #efefef;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-top: 4px;
}

button.def:hover {
    opacity: 0.82;
}

.tarif .card.card-pro {
    border-color: var(--primary-color);
    box-shadow: 0 4px 24px rgba(0, 0, 51, 0.1);
}