:root {
    --primary-color: #89a500;
    --secondary-color: #89a500;
    --light-bg: #f8f9fa;
    --dark-bg: #e9ecef;
    --text-color: #343a40;
}

.content-box .calculator-wrapper ul {list-style: none}
.content-box .calculator-wrapper i.fas {font-style: normal}

.calculator-wrapper {
    width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

/* ------------------------------------- */
/* --- 1. ТАБЫ (Горизонтальное меню) --- */
/* ------------------------------------- */
.calculator-wrapper .sidebar {
    width: 100%;
    background-color: var(--dark-bg);
    padding: 0;
    display: flex;
    justify-content: space-between; /* Равномерное распределение */
    border-bottom: 1px solid #dee2e6;
    overflow-x: auto; /* Скролл на очень маленьких экранах */
}
.tab-button {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.tab-button i { margin-right: 10px; font-size: 18px; }
.tab-button:hover { background-color: #e2e6ea; }
.tab-button.active {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 3px solid var(--primary-color);
}

/* ------------------------------------ */
/* --- 2. КОНТЕНТ (ПАРАМЕТРЫ) --- */
/* ------------------------------------ */
.content {
    padding: 30px;
}

.tab-content.hidden { display: none; }

.tab-content h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.info-badge {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 25px;
    border: 1px solid #ffeeba;
    text-align: center;
}

.section-title {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* КНОПКИ ОПЦИЙ */
.option-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.option-btn {
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    flex-grow: 1;
    text-align: center;
    min-width: 120px;
}
.option-btn.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}
.option-btn:disabled {
    background-color: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* СТИЛИ INPUT ДЛЯ САУНЫ (ВОССТАНОВЛЕНЫ) */
.counter-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.counter-group label {
    font-weight: 600;
    color: #495057;
    flex-grow: 1;
}
.counter-input {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 18px;
    width: 80px;
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
}
.counter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* БЛОК ПРОКАТА */
.rental-group {
    margin-top: 25px;
    padding: 20px;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background-color: #fff;
}
.rental-group.hidden { display: none; }

.rental-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.checkbox-row {
    margin-bottom: 8px;
}
.checkbox-row label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
}
.checkbox-row input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* БЛОК ИТОГОВОЙ ЦЕНЫ */
.price-summary-block {
    padding: 20px;
    border-radius: 10px;
    background-color: #e7f1ff;
    margin-top: 30px;
    text-align: center;
    border: 1px solid #b8daff;
}
.price-label { font-size: 16px; color: #495057; }
.price-value {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 5px;
    line-height: 1.2;
}
.price-note {
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
    min-height: 20px;
}

/* КНОПКА ЗАЯВКИ */
.cta-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cta-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}
.cta-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}


/* 5. Контакты и CTA */
.cta-section {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--pool-light-blue);
}
.btn-schedule {
    display: inline-block;
    background-color: var(--pool-blue);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    margin: 15px 0;
    transition: background 0.3s;
}
.btn-schedule:hover { background-color: #006cba; }

.phone-number {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-dark);
    display: block;
    margin-top: 10px;
}
.phone-label { color: var(--text-gray); font-size: 0.9em; }



/* АДАПТИВНОСТЬ */
@media (max-width: 600px) {
    .tab-button {
        padding: 12px 10px;
        font-size: 14px;
    }
    .tab-button i { margin-right: 5px; }
    .option-btn { width: 100%; } /* Кнопки на всю ширину на мобильных */
    .price-value { font-size: 32px; }
}
