/*
Theme Name:        Mechano
Text Domain:       mechano
Version:           1000.0.0
Description:       Car Repair & Auto Services WordPress Theme
Tested up to:      6.8
Requires at least: 6.2
Requires PHP:      7.0
Tags:              portfolio
Author:            Pixelwars
Author URI:        https://themeforest.net/user/pixelwars
Theme URI:         https://themeforest.net/user/pixelwars/portfolio
License:           ThemeForest License
License URI:       https://themeforest.net/licenses
Domain Path:       /languages
*/


/*
    Do not remove any of the commented text above as it is used by the theme for proper function!
*/


/* Plugin: "Top 10 - Popular Posts" */

.tptn_counter {
	display: none;
}

/* Plugin: "Top 10 - Popular Posts" */



.search-toggle {
    /*display:none !important;*/
}


.site-header .social-container .button {
    
    color:white;
    margin-right:50px;
}

.is-visible .social-container .button {
    color:inherit;
}


/* Основные стили для стилизации select языков */
.pll-switcher-select {
    position: relative;
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

/* Контейнер для стилизованного select */
.lang-select-container {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

/* Стилизованный select - выглядит как наш dropdown */
.pll-switcher-select {
    display: flex;
    align-items: center;
    padding: 0px 12px;
    background: rgba(255, 255, 255, 0.1);
    /*border: 1px 1px 0px 1px solid rgba(255, 255, 255, 0.2);*/
    border-radius: 0px;
    min-width: 50px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    user-select: none;
    color: #ffffff;
    backdrop-filter: blur(10px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 14px;
    font-weight: 400;
    height:100%;
    width:60px;
}

.pll-switcher-select:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.pll-switcher-select:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.2);
}

/* Стрелочка для select */
.social-container {
    position: relative;
}

.social-container .pll-switcher-select::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.social-container .pll-switcher-select:focus::after {
    transform: translateY(-50%) rotate(180deg);
    color: #ffffff;
}

/* Опции select */
.pll-switcher-select option {
    background: #2c2c2c;
    color: #ffffff;
    padding: 10px 12px;
    border: none;
    transition: all 0.2s ease;
}

.pll-switcher-select option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pll-switcher-select option:checked {
    background: rgba(0, 124, 186, 0.3);
}

/* Скрываем оригинальный label */
.social-container label.screen-reader-text {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ STICKY ХЕДЕРА */
.site-header.clone.is-visible .pll-switcher-select,
header.clone.is-visible .pll-switcher-select,
#masthead.clone.is-visible .pll-switcher-select {
    background: #2c2c2c !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.site-header.clone.is-visible .pll-switcher-select option,
header.clone.is-visible .pll-switcher-select option,
#masthead.clone.is-visible .pll-switcher-select option {
    background: #1a1a1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Убираем свечение для sticky */
.site-header.clone.is-visible .pll-switcher-select:focus,
header.clone.is-visible .pll-switcher-select:focus,
#masthead.clone.is-visible .pll-switcher-select:focus {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Адаптивные стили для мобильных */
@media (max-width: 768px) {
    .pll-switcher-select {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .social-container .pll-switcher-select::after {
        right: 8px;
    }
}

/* Дополнительная защита от перекрытия sticky элементами */
.social-container {
    isolation: isolate;
}

/* Стили для лучшей видимости на очень темных фонах */
@media (prefers-color-scheme: dark) {
    .pll-switcher-select {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
    }
    
    .pll-switcher-select option {
        background: rgba(20, 20, 20, 0.98);
        border-color: rgba(255, 255, 255, 0.25);
    }
    
    /* ТЕМНАЯ ТЕМА ДЛЯ STICKY */
    .site-header.clone.is-visible .pll-switcher-select,
    header.clone.is-visible .pll-switcher-select,
    #masthead.clone.is-visible .pll-switcher-select {
        background: #222222 !important;
    }
    
    .site-header.clone.is-visible .pll-switcher-select option,
    header.clone.is-visible .pll-switcher-select option,
    #masthead.clone.is-visible .pll-switcher-select option {
        background: #111111 !important;
    }
}

/* Эффект свечения для активного состояния */
.pll-switcher-select:focus {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 
                0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Плавная анимация для backdrop-filter */
@supports (backdrop-filter: blur(10px)) {
    .pll-switcher-select {
        backdrop-filter: blur(15px);
    }
    
    /* УБИРАЕМ BACKDROP-FILTER ДЛЯ STICKY */
    .site-header.clone.is-visible .pll-switcher-select,
    header.clone.is-visible .pll-switcher-select,
    #masthead.clone.is-visible .pll-switcher-select {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .pll-switcher-select {
        background: rgba(50, 50, 50, 0.9);
    }
    
    .pll-switcher-select option {
        background: rgba(30, 30, 30, 0.98);
    }
}

/* Принудительные стили с высоким приоритетом */
.pll-switcher-select {
    z-index: 9999 !important;
}

/* Убираем возможные конфликты с другими стилями */
.social-container .pll-switcher-select * {
    box-sizing: border-box;
}

/* Дополнительные стили для конкретного сайта */
.admin-bar .pll-switcher-select {
    z-index: 999998;
}

/* Стили для Firefox */
@-moz-document url-prefix() {
    .pll-switcher-select {
        background-image: none;
        text-indent: 0.01px;
        text-overflow: '';
    }
}

/* Стили для Safari */
@supports (-webkit-appearance: none) {
    .pll-switcher-select {
        background-image: none;
    }
}

/* Дополнительные стили для стрелочки */
.social-container {
    position: relative;
}

.social-container::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.social-container:has(.pll-switcher-select:focus)::after {
    transform: translateY(-50%) rotate(180deg);
    color: #ffffff;
}




/*топ бар*/

.top-bar-right .car-service-btn, .car-service-trigger:hover {
    padding:0px !important;
    background:none;
    border: none !important;;
}

.top-bar-right .car-service-btn:hover {
   
    background:none!important;
    box-shadow:unset !important;
    transform:unset !important;
    border-radius: 0px !important;
    border: none !important;
}


/*Второй блок, кружки*/
.qodef-qi-process.qodef-item-layout--horizontal .qodef-e-number {
    
    display:none;
}






