

/* Start:/local/components/custom/product.configurator/templates/configurator/style.css?178046581011554*/
.product-configurator {
    max-width: 800px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
	font-size: 16px;
}

.step {
    /* padding: 20px; */
   /* background: #f9f9f9;*/
    border-radius: 8px;
}

.product-types-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.product-type-item {
    display: block;
    padding: 15px;
    background: #f5f5f5;
    border: 2px solid #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.product-type-item:hover {
    border-color: #36aee3;
    background: #f0f8ff;
}

.product-type-item input[type="radio"] {
    display: none;
}

.product-type-item input[type="radio"]:checked + span {
    color: #36aee3;
    font-weight: bold;
}

.filter-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.filter-options {
    margin-bottom: 30px;
}

.filter-option-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-option-item:hover {
    background: #e8f4fd;
}

.filter-option-item input[type="radio"] {
    margin-right: 10px;
}

.filter-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-next {
    background: #37ade2;
    color: white;
    float: right;
    padding: 19px 44px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
}

.btn-next:hover {
    background: #000;
    color: white!important;
}

.btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-back {
    background: #6c757d;
    color: white;
    border-radius: 15px!important;
    font-size: 16px!important;
    font-weight: 600!important;
}

.btn-back:hover {
    background: #000;
    color: white!important;
}

@media (min-width:769px){
    .btn-submit {
        width: 28%;
    }
}

@media (max-width:768px){
    .btn-submit {
        width: 65%;
    }
}

.btn-submit {
    background: #37ade2;
    color: white;
    padding: 18px 20px!important;
    font-size: 16px!important;
    float: right;
    border-radius: 15px!important;
    font-weight: 600!important;
    font-family: 'Onest', Arial, sans-serif, Arial, sans-serif;
}

.btn-submit:hover {
    background: #000;
    color: white!important;
} 

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: none !important;
    border-radius: 4px;
    font-size: 14px;
    border-radius: 10px!important;
    padding: 15px 13px;
    margin-bottom: 1%;
    background-color: #f5f5f5!important;
}


.checkbox-group {
    margin: 20px 0;
}

.checkbox-item {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
}

/*.result-modal {
    background: white;
    padding: 40px;
    border-radius: 8px;
    position: relative;
}*/

/* ========== Шаг 4: Результат ========== */
@media (min-width: 1090px){
    .step-4 {
        width: 1111px;
        margin-left: -23%;
        margin-top: 5%;
    }
}

@media (min-width: 769px) and (max-width: 1090px){
    .step-4 {
        width: 728px;      
        margin-top: 5%;
    }
}

@media (max-width: 768px){
    .step-4 {
        width: 400px;
        margin-left: -13%;
        margin-top: 5%;
    }
}


.result-modal {
    background: white;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
}

.result-content h2 {
    font-size: 20px;
   /* color: #36aee3;*/
    color: #000;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.result-content .content-1 {
    background-color: #36AEE3;
    border-radius: 16px!important;
    padding: 50px;
}

.result-content .content-2 {
    padding: 50px;
}

.result-content .content-2 .content-tittle {
    display: block;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000000;
}

.result-items {
    margin: 20px 0;
    padding: 0px;
  /*  background: #f8f9fa;*/
    border-radius: 8px;
    /*border-left: 4px solid #007bff;*/
}

.result-item {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item h3 {
    margin: 0;
    font-size: 18px;
    color: #007bff;
    font-weight: 600;
}

.result-item .result-item-tittle {
    font-size: 36px;
    margin-top: 0px;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1;
}

.result-description {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin: 25px 0;
    font-weight: 400;
}

.result-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.result-buttons .btn {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px!important;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    padding-top: 15px!important;
    padding-bottom: 15px!important;
    border-radius: 15px;
    font-family: 'Onest', Arial, sans-serif, Arial, sans-serif;
}

.result-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-restart {
    background: #37ade2;
    color: #fff;
    border: 2px solid #37ade2;
}

.btn-restart:hover {
    background: #000;
    border-color: #000;
    color: #fff!important;
}

.btn-submit-order {
    background: #37ade2;
    color: white;
    border: 2px solid #37ade2;
}

.btn-submit-order:hover {
    background: #000;
    border-color: #000;
    color: #fff!important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .result-modal {
        padding: 25px 20px;
    }
    
    .result-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .result-image {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .result-content {
        order: 2;
        width: 100%;
    }
    
    .result-content h2 {
        font-size: 22px;
        text-align: center;
    }

    .result-content .content-1 {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 0;
    }

    .result-content .content-2 {
        padding-left: 10px;
        padding-right: 0px;
    }

    .result-content .content-2 .content-tittle {
        font-size: 18px;
    }
    
    .result-description {
        font-size: 15px;
        text-align: center;
    }
    
    .result-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .result-buttons .btn {
        width: 100%;
        padding: 16px;
        font-size: 17px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .result-modal {
        padding: 30px;
    }
    
    .result-container {
        gap: 30px;
    }
    
    .result-content h2 {
        font-size: 24px;
    }
    
    .result-image {
        flex: 0 0 300px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .result-modal {
        padding: 20px 15px;
    }
    
    .result-content h2 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .result-items {
        padding: 15px;
    }
    
    .result-item h3 {
        font-size: 16px;
    }

    .result-item .result-item-tittle {
        font-size: 30px;
    }
    
    .result-description {
        font-size: 14px;
        margin: 20px 0;
        text-align: left;
    }
    
    .result-buttons {
        margin-top: 25px;
    }
    
    .result-buttons .btn {
        padding: 14px;
        font-size: 16px;
    }
}

/* Десктопная версия (картинка слева, контент справа) */
@media (min-width: 769px) {
    .result-container {
        flex-direction: row;
    }
    
    .result-image {
        order: 1;
    }
    
    .result-content {
        order: 2;
    }
}

/* ========== Шаг 4: Результат ========== */
.modal-close {
	position: relative;
    display: inline-block;
    float: right;
    top: -14px;
    right: -14px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background-color: #777;
    border-radius: 30px;
    width: 27px;
}

.modal-close:hover {
    color: #333;
}

.result-items {
    margin: 20px 0;
}

.result-item {
    padding: 0px;
    /*background: #f0f8ff;
    border-left: 4px solid #007bff;*/
    margin-bottom: 10px;
}

.result-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.btn-restart {
    background: #37ade2;
    color: #fff;
}

.btn-submit-order {
    background: #37ade2;
    color: white;
}

.modal-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    position: relative;
    left: 36%;
    top: 37%;
}

.modal-content h2 {
    color: #36aee3;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Onest', Arial, sans-serif;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/**/
.form-group.has-error input {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-text {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.checkbox-item.has-error {
    color: #dc3545;
}

.checkbox-item.has-error input[type="checkbox"] {
    border-color: #dc3545;
}

/* Подсветка валидного поля */
.form-group.valid input {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-group input::placeholder {
    opacity: 0.5;
    color: #000;
}

.modal-close-step-1 {
	position: relative;
    display: inline-block;
    float: right;
    top: -14px;
    right: -14px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background-color: #777;
    border-radius: 30px;
    width: 27px;
}

.modal-close-step-2 {
	position: relative;
    display: inline-block;
    float: right;
    top: -14px;
    right: -14px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background-color: #777;
    border-radius: 30px;
    width: 27px;
}

.modal-close-step-3 {
	position: relative;
    display: inline-block;
    float: right;
    top: -14px;
    right: -14px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background-color: #777;
    border-radius: 30px;
    width: 27px;
}


/* Форма обратной связи внутри результата */
.feedback-form {
    margin-top: 30px;
    padding-top: 0px;
   /* border-top: 2px solid #e9ecef;*/
}
/* End */
/* /local/components/custom/product.configurator/templates/configurator/style.css?178046581011554 */
