/* Делаем текст и ссылки в подвале белыми */
.site-footer, .site-footer p, .site-footer li {
    color: #ffffff !important;
}
.site-footer a {
    color: #ffffff !important;
    text-decoration: none;
}
/* Цвет ссылок при наведении мыши (светло-серый) */
.site-footer a:hover {
    color: #cccccc !important;
}


/* Базовые стили для умной шапки */
#masthead {
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: transform 0.3s ease-in-out; /* Плавная анимация */
}

/* Класс, который будет прятать шапку при скролле вниз */
#masthead.header-hidden {
    transform: translateY(-100%);
}

/* Полное скрытие всплывающих окон (попапов) плагина Wishlist */
#tinvwl_popup_container, 
.tinv-modal, 
.tinvwl-notification {
    display: none !important;
}

/* Перекрашиваем стандартные звезды рейтинга WooCommerce и плагина отзывов в черный/минималистичный цвет */
.star-rating span::before, 
.ivole-star-rating span::before,
div.star-rating::before,
.cr-star-rating span::before,
.cr-review-rating span::before {
    color: #111111 !important; /* Глубокий черный цвет под стиль сайта */
}

/* Если плагин использует иконки SVG для звезд в блоках отзывов */
.cr-rating svg, 
.ivole-rating svg,
.star-rating svg {
    fill: #111111 !important;
}

/* Современный стиль ссылок в текстовых абзацах и списках */
.entry-content p a, 
main p a, 
.page p a,
.entry-content li a, 
main li a, 
.page li a {
    color: #111111; 
    font-weight: 500; 
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.25); 
    text-decoration-thickness: 1px; 
    text-underline-offset: 4px; 
    text-decoration-skip-ink: auto; 
    transition: all 0.25s ease-in-out; 
}

/* Поведение при наведении курсора */
.entry-content p a:hover, 
main p a:hover, 
.page p a:hover,
.entry-content li a:hover, 
main li a:hover, 
.page li a:hover {
    color: #000000;
    text-decoration-color: #000000; 
    text-underline-offset: 5px; 
}

/*изменение цвета соц сетей в товарах */
div.sharedaddy div.sd-block ul li a.sd-button:not(.share-more) {
    background-color: #000000 !important;
    color: #ffffff !important;
}