/*
Theme Name: Escort
Author: 
Version: 2.0
*/






.filters-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}
.filter-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    flex-direction: row;
    justify-content: space-between;
}
  .filter__chips {
    background: var(--black);
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}
  .filter__chips.selected {
    background: var(--red);
    position: relative;
  }
.filter-item  {
    width: 100%;
}
.big-filter__reset {
    background: none;
}

.documents-results {
        margin-top: 60px;
}

.documents-section {
    margin: 0 auto;
    max-width: 1400px;
    padding-bottom: 100px;
}

. {
    display: block;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: white;
    background-color: var(--red);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: -0.28px;
    transition: all 0.5s;
    white-space: nowrap;
    width: fit-content;
}

    .checkbox-dropdown {
        position: relative;
        width: 100%;
    }

    .checkbox-dropdown__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-radius: 6px;
         background: var(--light-gray);
        cursor: pointer;
        transition: border-color 0.2s;
    }

    .checkbox-dropdown__toggle:hover {
        border-color: #999;
    }

    .checkbox-dropdown__toggle.active {
        border-color: #dc2626;
    }

    .checkbox-dropdown__selected {
        color: #333;
        font-size: 14px;
    }

    .checkbox-dropdown__arrow {
        color: #666;
        transition: transform 0.2s;
    }

    .checkbox-dropdown__toggle.active .checkbox-dropdown__arrow {
        transform: rotate(180deg);
    }

    .checkbox-dropdown__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: none;
        max-height: 300px;
        overflow: hidden;
        margin-top: 4px;
    }

    .checkbox-dropdown__menu.show {
        display: flex;
        flex-direction: column;
    }

    .checkbox-dropdown__search {
        padding: 12px;
        border-bottom: 1px solid #eee;
    }

    .checkbox-dropdown__search-input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

    .checkbox-dropdown__search-input:focus {
        outline: none;
        border-color: #dc2626;
    }

    .checkbox-dropdown__options {
        flex: 1;
        overflow-y: auto;
        max-height: 200px;
    }

    .checkbox-option {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .checkbox-option:hover {
        background: #f5f5f5;
    }

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

    .checkbox-option__text {
        font-size: 14px;
        color: #333;
    }

    .checkbox-dropdown__actions {
        display: flex;
        justify-content: space-between;
        padding: 12px;
        border-top: 1px solid #eee;
        background: #f9f9f9;
    }

    .checkbox-dropdown__select-all,
    .checkbox-dropdown__clear {
        padding: 6px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.2s;
    }

    .checkbox-dropdown__select-all:hover,
    .checkbox-dropdown__clear:hover {
        border-color: #dc2626;
        color: #dc2626;
    }

    .main__wrapper .filter {
        z-index: 10;
    }

    .escort-who-we-are {
        height: 700px;
    }

.wpcf7 form.sent .wpcf7-response-output {
    color: #ffffff;
}

    @media screen and (max-width: 1279px) {
        .escort-who-we-are {
            height: 640px;
        }
    }


    /* Адаптивность */
    @media (max-width: 768px) {
        .filters-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        
        .checkbox-dropdown__menu {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90vw;
            max-width: 400px;
            max-height: 70vh;
        }
    }

    /* Индикатор загрузки и ошибки */
    .loading {
        text-align: center;
        padding: 40px;
        color: #666;
        font-style: italic;
        grid-column: 1 / -1;
    }

    .error {
        text-align: center;
        padding: 40px;
        color: #dc2626;
        grid-column: 1 / -1;
    }

    .privacy-link,
    .privacy-link:visited,
    .privacy-link:hover,
    .privacy-link:active,
    .agreement-link,
    .agreement-link:visited,
    .agreement-link:hover,
    .agreement-link:active {
        color: var(--gray);
    }



.products .filter__button {
    display: none;
}


.main__wrapper_support {
    display: block;
    margin: 0 auto;
    max-width: 1400px;
    padding-bottom: 100px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #ffffff;
}

.wpcf7 form.spam .wpcf7-response-output {
    color: #ffffff;
}

@media (max-width: 768px) {
    .filters-grid
     {display: grid;}
    }

.lang-selector:has(.trp-shortcode-switcher__wrapper) {
  padding: 0;
}

.lang-selector:has(.trp-shortcode-switcher__wrapper)::after {
  content: unset;
}

.trp-shortcode-switcher {
        padding: 0px 0 !important;
}


@media screen and (max-width: 767px) {
    .modal__nav:has(.modal__link_icon) > *:nth-child(n + 3) {
        display: inherit;
    }
}





/*.header__button {
    padding: 10px;
    background-color: #353535;
    border-radius: 3px;
    width: 123px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__button a {
    text-decoration: none;
    color: #ffffff;
}
.header__contact a {
    text-decoration: none;
    color: #181818;
    font-size: 14px;
    line-height: 145%;
    font-weight: 700;
}
*/