.elementor-kit-1218{--e-global-color-primary:#0E6A90;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#31CB46;--e-global-color-2302d19:#FFFFFF;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#FFFFFF;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-bottom:20px;}.elementor-element{--widgets-spacing:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */// выравнивание городов и подсказок
/* Для всех полей формы */
.wpcf7-form input, 
.wpcf7-form textarea, 
.wpcf7-form select {
    text-align: left !important;
}

/* Для подсказок яндекс карт */
.suggest-item {
    text-align: left !important;
}
.cf-box
{ width: 30%; 
margin-top: 10px;
}
label{
margin-bottom: 5px
}
/* Стили для блока с тарифами */
.route-tariffs-info {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #007cba;
}

.tariff-note {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.tariff-note strong {
    color: #333;
}
// основные стили аккордеона
.popular-routes-accordion {
    max-width: 600px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.routes-toggle {
    display: flex;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: none;
   background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: black;
}

.toggle-btn:hover {
    background: #e0e0e0;
    color: black;
}

.toggle-btn.active {
    background: #007cba;
    color: white;
}

.route-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background: white;
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.route-header:hover {
    background: #f9f9f9;
}

.route-header.active {
    background: #b8d3f1;
}

.route-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.route-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.distance {
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 3px;
}

.accordion-icon {
    color: #007cba;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.route-content {
    padding: 0 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.route-prices {
    margin-bottom: 15px;
}

.price-item {
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

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

.route-delivery {
    color: #666;
    font-size: 14px;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.routes-loading, .routes-error {
    text-align: center;
    padding: 30px;
    font-size: 16px;
}

.routes-loading {
    color: #007cba;
}

.routes-error {
    color: #d63638;
    background: #ffeaea;
    border-radius: 5px;
}

.skeleton .route-header h3 {
    background: #eee;
    color: transparent;
    border-radius: 3px;
    width: 200px;
    height: 20px;
}

.skeleton .distance {
    background: #eee;
    color: transparent;
    width: 80px;
}
/* POPUP стили */
.route-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.popup-content {
    position: relative;
    background: linear-gradient(340deg, #FFFFFF 0%, #69b7d7 100%);
    margin: 50px auto;
    padding: 30px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 25px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 100;
}

.popup-close:hover {
    color: #000;
}

.popup-content h3 {
    margin: 0 0 20px 0;
    color: #f7f7f7;
}

/* Стили для кликабельных цен */
.price-item {
    margin-bottom: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.price-item:hover {
    background: #f0f7ff;
    color: #007cba;
}

.price-item.active {
    background: #007cba;
    color: white;
}
// подсветка полей при ошибках
/* Стили для ошибок Contact Form 7 */
.wpcf7-not-valid {
    border: 2px solid #dc3232 !important;
    background-color: #fff6f6 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0 !important;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #46b450;
    background-color: #f7fff7;
    color: #2e5c2e;
}

.wpcf7-validation-errors {
    border: 2px solid #dc3232;
    background-color: #fff6f6;
    color: #a00;
}

/* Стили для полей формы в popup */
.popup-form .wdp_form_input input:not([type="submit"]),
.popup-form .wdp_form_input select,
.popup-form .wdp_form_input textarea {
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.popup-form .wdp_form_input input:focus,
.popup-form .wdp_form_input select:focus,
.popup-form .wdp_form_input textarea:focus {
    border-color: #007cba;
    outline: none;
}

/* Анимация появления ошибки */
@keyframes fieldError {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

.wpcf7-not-valid {
    animation: fieldError 0.8s ease;
}
/* ========== СТИЛИ ДЛЯ ОШИБОК CONTACT FORM 7 ========== */

/* Подсветка полей с ошибками Contact Form 7 */
.wpcf7-form-control.wpcf7-not-valid {
    border: 2px solid #dc3232 !important;
    background-color: #fff6f6 !important;
    box-shadow: 0 0 5px rgba(220, 50, 50, 0.3) !important;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    border-color: #dc3232 !important;
    box-shadow: 0 0 8px rgba(220, 50, 50, 0.5) !important;
}
/* ========== СТИЛИ ДЛЯ КНОПОК С HOVER-ЭФФЕКТОМ ========== */

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.price-row:hover {
    background-color: #f8f9fa;
}

.price-row:last-child {
    border-bottom: none;
}

.calculate-btn-hover {
    background: #31CB46;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(49, 203, 70, 0.3);
    white-space: nowrap;
    margin-left: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
}

.price-row:hover .calculate-btn-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.calculate-btn-hover:hover {
    background: #28a838;
    transform: translateY(-1px) translateX(0) !important;
    box-shadow: 0 3px 8px rgba(49, 203, 70, 0.4);
}

.calculate-btn-hover:active {
    transform: translateY(0) translateX(0) !important;
    box-shadow: 0 1px 3px rgba(49, 203, 70, 0.3);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    
    .calculate-btn-hover {
        margin-left: 0;
        margin-top: 8px;
        align-self: flex-end;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .price-row:hover {
        background-color: transparent;
    }
}
/* Стиль для кнопки Contact Form 7 в Elementor */
.wpcf7-form input[type=submit],
.wpcf7-form button[type=submit],
.elementor-widget-wpcf7-form [type=submit] {
    background: #31cb46 !important;
    border: none !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

/* При наведении мыши */
.wpcf7-form input[type=submit]:hover,
.wpcf7-form button[type=submit]:hover,
.elementor-widget-wpcf7-form [type=submit]:hover {
    background-color: #0073aa !important;
    transform: translateY(-2px) !important;
}
//  Ширина тарифов в аккордеоне
.routes-accordion#routes-accordion-579ce4f {
    padding-left: 20px !important;
    padding-right: 20px !important;
}/* End custom CSS */