/* Therapy/Prices Styles */
.therapy-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.therapy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.therapy-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(25% - 20px);
    min-width: 220px;
    max-width: 250px;
}

.therapy-item h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.price {
    display: block;
    background-color: #809cfc;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    font-size: 0.7em;
}

/* Footer duplication issue fixed in template */

.therapy-item p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.3;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .therapy-item {
        flex: 0 1 calc(100% - 50px);
        margin: 0 auto;
        min-width: unset;
    }
    
    .therapy-row {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .therapy-item {
        padding: 15px;
    }
    
    h3 {
        font-size: 1.4em;
    }
}

/* Legal Agreement Styles */
.legal-agreement {
    margin: 15px 0;
    padding: 0;
    transition: all 0.3s ease;
}

.legal-agreement label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.legal-agreement input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.legal-agreement span {
    color: #666;
}

.legal-agreement a {
    color: #007BFF;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-agreement a:hover {
    color: #0056b3;
    text-decoration: underline;
}