

/* Start:/bitrix/components/dev/greenpark.restoran_besed_calc/templates/.default/style.css?17659155045934*/
:root {
    --primary-color: #89a500; /* Темно-зеленый из вашей таблицы */
    --secondary-color: #6c8100;
    --light-bg: #f8f9fa;
    --dark-bg: #e9ecef;
    --text-color: #343a40;
    --accent-color: #ffc107;
}



.calculator-wrapper {
    width: 100%;

    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.content-box .calculator-wrapper i {font-style: normal}

/* --- 1. ТАБЫ (ВЕРХНЕЕ МЕНЮ) --- */
.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;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.tab-button i { margin-right: 8px; }
.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: 25px;
}

.tab-content.hidden { display: none; }

.section-title {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.info-badge {
    background-color: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
}

/* ГРУППА ВЫБОРА БЕСЕДКИ */
.gazebo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.option-btn {
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}
.option-btn:hover { border-color: var(--primary-color); }

.option-btn.selected {
    background-color: #e8f5e9;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}
.option-btn.selected::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
}

.gz-name { font-weight: bold; font-size: 16px; margin-bottom: 5px; color: var(--text-color); }
.gz-info { font-size: 12px; color: #666; margin-bottom: 8px; }
.gz-price { font-weight: bold; color: var(--primary-color); font-size: 14px; }
.gz-price .note { font-weight: normal; font-size: 0.9em; color: #777; }

/* ПЕРЕКЛЮЧАТЕЛЬ ДНЯ НЕДЕЛИ */
.day-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: #f1f1f1;
    padding: 5px;
    border-radius: 8px;
}
.day-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}
.day-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* БЛОКИ СПЕЦИАЛЬНЫХ ВВОДОВ */
.special-input-block {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeeba;
}
.menu-input-row {
    margin-top: 10px;
}
.menu-input-row label {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}
.menu-input-row input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.menu-note {
    font-size: 12px;
    color: #856404;
    margin-top: 5px;
    font-style: italic;
}


/* УСЛУГИ И ПРИГОТОВЛЕНИЕ */
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #dee2e6;
}
.service-label { flex-grow: 1; font-size: 14px; padding-right: 10px; }
.service-controls { display: flex; align-items: center; gap: 10px; }

.qty-input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-align: center;
}
.price-display { font-weight: bold; width: 80px; text-align: right; font-size: 14px; color: #555; }

/* ИТОГО */
.price-summary-block {
    padding: 20px;
    border-radius: 10px;
    background-color: #e8f5e9;
    margin-top: 30px;
    text-align: center;
    border: 1px solid #c8e6c9;
}
.price-label { font-size: 16px; color: #495057; }
.price-value {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 5px;
}
.price-note { font-size: 13px; color: #666; margin-top: 10px; min-height: 20px; }

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: opacity 0.3s;
}
.cta-button:hover { opacity: 0.9; }
.cta-button:disabled { background-color: #ccc; cursor: not-allowed; }

@media (max-width: 600px) {
    .gazebo-list { grid-template-columns: 1fr; }
    .service-row { flex-wrap: wrap; }
    .service-label { width: 100%; margin-bottom: 5px; }
    .service-controls { width: 100%; justify-content: space-between; }
}
/* End */
/* /bitrix/components/dev/greenpark.restoran_besed_calc/templates/.default/style.css?17659155045934 */
