/*
Theme Name: WPCommunity Child
Theme URI: https://wpshop.ru/themes/wpcommunity
Author: WPShop.ru
Author URI: http://wpshop.ru/
Template: wpcommunity
Version: 1.0.0
Text Domain: wpcommunity
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

/* ==========================================================================
   ПОДКЛЮЧЕНИЕ ШРИФТА GOLOS TEXT
   ========================================================================== */

/* 1. Импорт шрифта из Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&display=swap');

/* 2. Стили для лицевой части сайта (Фронтенд) */
body, p, li, input, textarea, select, .navigation, .entry-content,
:not(#wpadminbar) span, 
:not(#wpadminbar) a {
    font-family: 'Golos Text', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, 
.entry-title, 
.wpshop-block-title, 
.widget-title, 
.site-title {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 600;
}

/* Исправление для иконок админ-панели */
#wpadminbar *, #wpadminbar .ab-icon:before, #wpadminbar .dashicons:before {
    font-family: dashicons !important;
}

/* 3. Стили для текстового редактора (Гутенберг) */
.editor-styles-wrapper, 
.editor-styles-wrapper p, 
.editor-styles-wrapper .block-editor-block-list__block,
.editor-styles-wrapper h1, 
.editor-styles-wrapper h2, 
.editor-styles-wrapper h3, 
.editor-styles-wrapper h4, 
.editor-styles-wrapper .editor-post-title__input {
    font-family: 'Golos Text', sans-serif !important;
}

/* ==========================================================================
   Конец ПОДКЛЮЧЕНИЯ ШРИФТА GOLOS TEXT
   ========================================================================== */
/* ==========================================================================
   Цвета голосовалок
   ========================================================================== */
/* Повышаем приоритет, добавляя body перед каждым селектором */

body .vote:not(.disabled) .vote__minus:hover {
    opacity: 1;
    color: #3276ff;
}

body .vote:not(.disabled) .vote__plus:hover {
    opacity: 1;
    color: var(--wpsc-text-red-color);
}

body .vote .vote__minus.active {
    color: #3276ff;
}

body .vote .vote__plus.active {
    color: var(--wpsc-text-red-color);
}
			
/* ==========================================================================
   Конец Цвета голосовалок
   ========================================================================== */			
