/*
 Theme Name:   Rehub Blank Child
 Theme URI:    https://cuponcod.ru
 Description:  Дочерняя тема для Rehub
 Author:       Твоё имя
 Author URI:   https://cuponcod.ru
 Template:     rehub-theme
 Version:      1.0.0
*/

/* Подключаем стили родительской темы и Google Fonts */
@import url("../rehub-theme/style.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font: inherit;
}
article, aside, details, figcaption, figure, footer, header, nav, section {
    display: block;
}
table {
    border-collapse: collapse;
    width: 100%;
}
td, th {
    padding: 0.5rem 0.75rem;
}
blockquote, q {
    quotes: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* Typography */
body {
    background: #fff;
    color: #212529;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}
a {
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover, a:active {
    color: #ff6200;
}
/*Шрифт H1 */
/* Адаптивный и аккуратный h1 для статьи/категории */
article h1, .post h1 {
    font-weight: 500;                 /* чуть меньше жирности */
    font-size: clamp(16px, 2vw, 18px); /* адаптивный размер: минимум 18px, максимум 24px */
    line-height: 1.4;                 /* удобный интервал между строк */
    margin: 0 0 24px 0;               /* отступ снизу */
    color: #212529;                   /* цвет текста */
}
/*
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
}
h1 { font-size: clamp(1.75rem, 4vw, 1.5rem); line-height: 1.2; margin: 1rem 0; }
*/

h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; margin: 0.75rem 0; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.4; margin: 0.5rem 0; }
h4 { font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.5; margin: 0.5rem 0; }
h5 { font-size: clamp(0.875rem, 1.5vw, 1.25rem); line-height: 1.6; margin: 0.25rem 0; }
h6 { font-size: clamp(0.75rem, 1.2vw, 1rem); line-height: 1.7; margin: 0.25rem 0; }
article p, .post p {
    margin-bottom: 1.5rem;
}
p strong { font-weight: bold; }
p em { font-style: italic; }
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Icons */
@font-face {
    font-family: 'rhicons';
    src: url('rhicons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
[class*="re-icon"], [class*="meta"]:before, .gs-prev-next-button svg, .wpsm-button.loading:after, .re_filter_panel ul.re_filter_ul li span.active:after {
    font-family: 'rhicons', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header and Menu */
#main_header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: relative;
    z-index: 998;
}
header .logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}
.logo {
    max-width: 200px;
    margin-right: 20px;
}
.logo .textlogo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}
.logo .sloganlogo {
    font-size: 0.875rem;
    color: #6c757d;
}
.header-actions-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.main-nav {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
}
nav.top_menu > ul {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
nav.top_menu > ul > li > a {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #212529;
    padding: 0.75rem 0.9375rem;
    display: inline-block;
    transition: color 0.3s ease;
}
nav.top_menu > ul > li > a:hover {
    color: #ff6200;
}
nav.top_menu ul.sub-menu {
    position: absolute;
    z-index: 9999999;
    width: 220px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
nav.top_menu ul.sub-menu > li > a {
    font-size: 0.875rem;
    color: #212529;
    padding: 0.625rem 1.25rem;
    display: block;
}
nav.top_menu > ul > li.hovered > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Slider */
.gspb_container.gspb_container-gsbp-6c115b23-c258 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem;
}
.gspb_smartscroll {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.gspb_smartscroll::-webkit-scrollbar {
    display: none;
}
.wpsm_recent_posts_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 0.625rem 0;
}
.col_item.item-small-news {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fafcfd;
    border: 1px solid #d5dce1;
    border-radius: 0.5rem;
    padding: 0.625rem;
    min-width: 300px;
    flex: 0 0 auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.col_item.item-small-news:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.img-centered-flex {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.9375rem;
}
.img-centered-flex img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}
.item-small-news-details {
    flex: 1;
    width: calc(100% - 95px);
}
.item-small-news-details a {
    color: #212529;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}
.item-small-news-details a:hover {
    color: #ff6200;
}
.post-meta {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.625rem;
}
.gspb_smartscroll_btns {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 0.9375rem;
}
.gs-prev-next-button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.gs-prev-next-button:hover {
    background: #0056b3;
}
.gs-prev-next-button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Mobile Menu */
@media (max-width: 767px) {
    /* Контейнер меню */
    .responsive_nav_wrap {
        display: block;
        position: relative;
        z-index: 9999;
    }
    .main-nav {
        display: block;
    }

    /* Слайд-меню */
    #slide-menu-mobile {
        display: block;
    }
    #slide-menu-mobile ul.off-canvas {
        position: fixed;
        width: 280px;
        top: 0;
        left: 0;
        bottom: 0;
        padding: 0.9375rem;
        background: #fff;
        z-index: 999999;
        transform: translate3d(-100%, 0, 1px);
        transition: transform 0.3s ease;
    }
    #slide-menu-mobile ul.off-canvas-active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        opacity: 1;
    }

    /* Кнопка меню */
    .mobile_menu_toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border: none;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        z-index: 10000;
        transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    }
    .mobile_menu_toggle:hover {
        background: linear-gradient(135deg, #0056b3, #003d80);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }
    .mobile_menu_toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
        position: relative;
    }
    .mobile_menu_toggle span::before,
    .mobile_menu_toggle span::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: #fff;
        left: 0;
    }
    .mobile_menu_toggle span::before {
        top: -6px;
    }
    .mobile_menu_toggle span::after {
        top: 6px;
    }
    .mobile_menu_toggle.active span {
        background: transparent;
    }
    .mobile_menu_toggle.active span::before {
        transform: translateY(6px) rotate(45deg);
    }
    .mobile_menu_toggle.active span::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Логотип — уменьшение на мобильных */
.logo_image_mobile img {
    width: 120px !important;  /* нужная ширина на мобильном */
    height: auto !important;  /* сохраняем пропорции */
}
}


/* Responsive Slider */
@media (max-width: 768px) {
    .wpsm_recent_posts_list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        grid-template-columns: none;
    }
    .col_item.item-small-news {
        min-width: 250px;
        flex-direction: row;
        align-items: flex-start;
    }
    .img-centered-flex {
        width: 60px;
        height: 60px;
        margin-right: 0.625rem;
    }
    .item-small-news-details {
        width: calc(100% - 70px);
        padding-left: 0.625rem;
    }
    .item-small-news-details a {
        font-size: 0.875rem;
    }
    .post-meta {
        font-size: 0.75rem;
    }
}
@media (max-width: 480px) {
    .wpsm_recent_posts_list {
        gap: 0.9375rem;
    }
    .col_item.item-small-news {
        min-width: 100%;
        flex-direction: column;
    }
    .img-centered-flex {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 0.625rem;
    }
    .item-small-news-details {
        width: 100%;
        padding-left: 0;
    }
    .item-small-news-details a {
        font-size: 1rem;
        line-height: 1.5;
    }
    .post-meta {
        font-size: 0.8125rem;
    }
    .responsive_nav_wrap {
        padding: 0.5rem;
    }
    #slide-menu-mobile ul.off-canvas {
        width: 100%;
    }
    .mobile_menu_toggle {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    .mobile_menu_toggle span, .mobile_menu_toggle span::before, .mobile_menu_toggle span::after {
        width: 18px;
    }
    .mobile_menu_toggle span::before {
        top: -5px;
    }
    .mobile_menu_toggle span::after {
        top: 5px;
    }
}

/* Buttons */
.wpsm-button {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
}
.wpsm-button:hover {
    background: linear-gradient(135deg, #0056b3, #003d80);
    transform: translateY(-2px);
}
.wpsm-button.white {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #212529;
}
.wpsm-button.white:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}
.wpsm-button.small { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.wpsm-button.medium { padding: 0.5rem 1rem; font-size: 0.875rem; }
.wpsm-button.big { padding: 0.75rem 1.5rem; font-size: 1rem; }
.wpsm-button.giant { padding: 1rem 2rem; font-size: 1.125rem; }

/* Social Icons */
.social_icon a {
    background: #007bff;
    color: #fff;
    display: inline-block;
    margin-right: 0.3125rem;
    font-size: 1rem;
    line-height: 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    text-align: center;
    transition: background-color 0.3s ease;
}
.social_icon a:hover {
    background: #0056b3;
}
.social_icon .fb { background: #1877f2; }
.social_icon .tw { background: #1da1f2; }
.social_icon .ins { background: #e4405f; }
.social_icon .yt { background: #ff0000; }

/* Pros and Cons */
.wpsm_pros .title_pros, .wpsm_cons .title_cons {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}
.wpsm_pros .title_pros { color: #28a745; }
.wpsm_cons .title_cons { color: #dc3545; }
.wpsm_pros ul li, .wpsm_cons ul li {
    list-style: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
.wpsm_pros ul li:before {
    content: '\e907';
    color: #28a745;
    padding-right: 0.5rem;
}
.wpsm_cons ul li:before {
    content: '\f00d';
    color: #dc3545;
    padding-right: 0.5rem;
}

/* Tabs */
.rehub_woo_review .rehub_woo_tabs_menu {
    margin: 1.25rem 0 0;
    display: flex;
    border-bottom: 1px solid #dee2e6;
}
.rehub_woo_review .rehub_woo_tabs_menu li {
    padding: 0.625rem 1.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #212529;
    transition: background 0.3s ease;
}
.rehub_woo_review .rehub_woo_tabs_menu li:hover {
    background: #f8f9fa;
}
.rehub_woo_review .rehub_woo_tabs_menu li.current {
    border-bottom: 2px solid #ff6200;
    color: #ff6200;
}
@media (max-width: 500px) {
    .rehub_woo_review .rehub_woo_tabs_menu li {
        border: 1px solid #dee2e6;
        margin-bottom: 0.3125rem;
        border-radius: 4px;
    }
    .rehub_woo_review .rehub_woo_tabs_menu li.current {
        background: #ff6200;
        color: #fff;
        border: none;
    }
}

/* Footer */
.rh-footer {
    background: #f8f9fa;
    padding: 1.25rem;
    text-align: center;
    border-top: 1px solid #dee2e6;
    font-size: 0.875rem;
    color: #6c757d;
}
.rh-footer a {
    color: #007bff;
}
.rh-footer a:hover {
    color: #ff6200;
}

/* Column Wrappers */
.rh-flex-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}
.col_item {
    #background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.9375rem;
    transition: box-shadow 0.3s ease;
}
.col_item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
@media (max-width: 767px) {
    .rh-flex-columns {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
@media (max-width: 479px) {
    .rh-flex-columns, .wpsm_recent_posts_list {
        grid-template-columns: 1fr;
    }
}

/* Miscellaneous */
.rh-hov-bor-line.below-border > a:after, .rh-border-line.below-border:after {
    top: auto;
    bottom: 0;
    background: #0693E3;
}
.pb5 {
    padding-bottom: 5px;
    background: #0693e321;
    border-radius: 3px;
}
.lazyloaded, .lazyload {
    opacity: 1;
    transition: opacity 0.3s ease;
}
#rhLoader {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 999999999;
}
.preloader-cell {
    font-size: 2rem;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* Фон модального окна */
#pgwModal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* затемнённый фон */
    z-index: 9999;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}

/* Контейнер модального окна */
#pgwModal .pm-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* выравнивание сверху */
    min-height: 100vh;
    padding: 20px;
}

/* Основной блок модалки */
#pgwModal .pm-body {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 100%;
    padding: 30px 25px;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 80px; /* регулируется по необходимости */
    animation: modalFadeIn 0.3s ease;
}

/* Кнопка закрытия */
#pgwModal .pm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    background: #f1f1f1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

#pgwModal .pm-close:hover {
    background: #e0e0e0;
    color: #000;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    /* Контейнер */
    #pgwModal .pm-container {
        padding: 5px 10px; /* минимальные боковые отступы */
        justify-content: center;
        align-items: flex-start; /* выравнивание сверху */
    }

    /* Основной блок модалки */
    #pgwModal .pm-body {
        width: 95% !important;       /* чуть меньше полной ширины */
        max-width: 95% !important;
        margin-top: 20px !important; /* поднять выше */
        padding: 15px 10px !important; /* компактный внутренний padding */
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    }

    /* Кнопка закрытия */
    #pgwModal .pm-close {
        top: 8px;
        right: 8px;
        width: 26px;
        height: 26px;
    }

    /* Текст и элементы формы внутри модалки */
    #pgwModal .pm-body input,
    #pgwModal .pm-body button,
    #pgwModal .pm-body label {
        font-size: 14px;
    }
}

/* Анимация появления */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mb20 {
    margin-bottom: 0px !important;
}

/* Заголовок */
.re_title_inmodal {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0px;
    text-align: center;
    color: #222;
}

/* Поля формы */
.re-form-group {
    margin-bottom: 20px;
}
.re-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
}
.re-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}
.re-form-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 6px rgba(0,123,255,0.3);
}

/* Кнопка */
.wpsm-button.rehub_main_btn {
    width: 100%;
    padding: 12px 0;
    background: #007bff;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.wpsm-button.rehub_main_btn:hover {
    background: #0056b3;
}

/* Ссылка "Lost Password?" */
a.alignright {
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
}
a.alignright:hover {
    text-decoration: underline;
}

/* Footer модалки */
.rehub-login-popup-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}
.rehub-login-popup-footer .color_link {
    color: #007bff;
    cursor: pointer;
    font-weight: 500;
}
.rehub-login-popup-footer .color_link:hover {
    text-decoration: underline;
}

/* Чекбокс */
input[type="checkbox"] {
    margin-right: 6px;
}

/* ======================================== */
/*          Слайдер товаров CuponCod       */
/* ======================================== */

/* Общий контейнер слайдера */
.wp-block-greenshift-blocks-container.gspb_container {
    margin: 30px auto;
    padding: 0;
    max-width: 1200px;
    position: relative;
}

/* Карточки товаров */
.wp-block-rehub-simple-list .col_item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
}

/* Наведение на карточку */
.wp-block-rehub-simple-list .col_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* Изображение товара */
.col_item figure {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin: 0;
}

.col_item figure img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

/* Детали товара */
.item-small-news-details {
    flex-grow: 1;
    padding-left: 15px;
}

.item-small-news-details a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.item-small-news-details a:hover {
    color: #007bff;
}

/* Метаданные (дата и комментарии) */
.post-meta {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    display: flex;           /* горизонтальное выравнивание */
    align-items: center;     /* по центру иконки */
    gap: 5px;                /* расстояние между иконкой и числом */
}

.post-meta .comm_count_meta {
    display: flex;
    align-items: center;
}

/* ======================================== */
/*            Кнопки навигации             */
/* ======================================== */
/* Контейнер стрелок растянуть на всю высоту слайдера */
#gspb_container-id-gsbp-6c115b23-c258.gspb_container .gspb_smartscroll_btns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;          /* растянуть по высоте слайдера */
    display: flex;
    justify-content: space-between;
    pointer-events: auto;
    z-index: 99;
    padding: 0 10px;       /* отступ от краёв */
	pointer-events: none; /* клики проходят через контейнер */
}

/* Стрелки по центру контейнера */
#gspb_container-id-gsbp-6c115b23-c258.gspb_container .gs-prev-next-button {
    top: 34%; /* центрирование под карточки */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    position: absolute;
    z-index: 100;
    transition: transform 0.3s, background 0.3s;
    pointer-events: auto;
}

/* При наведении объединяем translateY и scale */
#gspb_container-id-gsbp-6c115b23-c258.gspb_container .gs-prev-next-button:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(255,255,255,1);
}


#gspb_container-id-gsbp-6c115b23-c258.gspb_container .gs-prev-next-button svg {
    width: 16px;
    height: 16px;
    fill: #007bff;
}

/* ======================================== */
/*            Скрыть слайдер на мобильных  */
/* ======================================== */
@media screen and (max-width: 768px) {
    .wp-block-greenshift-blocks-container.gspb_container {
        display: none;
    }
}
body .font130 {
    font-size: 110%;
}

/* Общие стили формы */
.wpfepp-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
}

.wpfepp-form .wpfepp-form-field-container {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.wpfepp-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.wpfepp-form input[type="text"],
.wpfepp-form input[type="url"],
.wpfepp-form textarea,
.wpfepp-form select {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.wpfepp-form input[type="text"]:focus,
.wpfepp-form input[type="url"]:focus,
.wpfepp-form textarea:focus,
.wpfepp-form select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
    outline: none;
}

.wpfepp-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Стили для кнопок */
.wpfepp-footer .wpfepp-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 10px;
}

.wpfepp-footer .wpfepp-submit-button {
    background: #007bff;
    color: #fff;
}

.wpfepp-footer .wpfepp-submit-button:hover {
    background: #0056b3;
}

.wpfepp-footer .wpfepp-save-button {
    background: #6c757d;
    color: #fff;
}

.wpfepp-footer .wpfepp-save-button:hover {
    background: #5a6268;
}

/* Изображение */
.wpfepp-thumbnail-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpfepp-thumbnail-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.wpfepp-thumbnail-link:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .wpfepp-form {
        padding: 20px;
    }
    .wpfepp-footer .wpfepp-button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .wpfepp-form {
        padding: 15px;
    }
    .wpfepp-form input,
    .wpfepp-form textarea,
    .wpfepp-form select {
        font-size: 13px;
    }
}

/* --- Комментарии --- */
#comments {
    max-width: 800px;
    margin: 30px auto;
    font-family: 'Arial', sans-serif;
}

/* Заголовки */
.title_comments,
.comment-reply-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Форма комментариев */
.comment-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}
.comment-respond {
    box-shadow: 0 0 0 0 rgb(119 25 25 / 0%) !important;
    background: #ffffff !important;
}

.comment-form textarea:focus,
.comment-form input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
    outline: none;
}

/* Placeholder */
.comment-form textarea::placeholder,
.comment-form input::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Поля в ряд */
.usr_re,
.email_re,
.site_re {
    margin-bottom: 15px;
}

.usr_re input,
.email_re input,
.site_re input {
    width: 100%;
}

/* Кнопка */
.comment-form .submit {
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form .submit:hover {
    background: #0056b3;
}

/* Чекбокс */
.comment-form-cookies-consent {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-right: 8px;
}

/* Разделитель для clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Адаптивность */
@media (max-width: 768px) {
    .comment-form {
        padding: 20px;
    }
    .comment-form .submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .comment-form {
        padding: 15px;
    }
    .comment-form input,
    .comment-form textarea {
        font-size: 13px;
    }
}

/* Общий стиль кнопок */
.wpfepp-button {
    display: inline-block;
    min-width: 140px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    letter-spacing: 0.3px;
    transition: background 0.2s ease-in-out;
}

/* Синяя кнопка (Отправить) */
.wpfepp-submit-button.blue {
    background: #1877f2 !important;
    color: #fff !important;
}

.wpfepp-submit-button.blue:hover {
    background: #145dbf !important;
}

/* Красная кнопка (В черновик) */
.wpfepp-save-button.cancel {
    background: #de1414 !important;
    color: #fff !important;
}

.wpfepp-save-button.cancel:hover {
    background: #a50e0e !important;
}

/* Иконка */
.rhicon.dashicons-update {
    margin-left: 10px;
    font-size: 18px;
    vertical-align: middle;
    color: #666;
}
.advert-text-box {
    margin-top: 20px;
    padding: 14px 18px;
    background: #f9f9f9;
    border-left: 4px solid #de1414;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Скрыть заголовки + список на мобильных
@media (max-width: 767px) {
  #gspb_heading-id-gsbp-31e510f7-5255,
  #gspb_heading-id-gsbp-a024455e-d002,
  #gspb_heading-id-gsbp-215ec8db-a097,
  .wp-block-rehub-tax-archive {
    display: none !important;
  }
}
/* Универсальное скрытие блока по ширине экрана
@media (max-width: 767px) { 
    .wp-block-greenshift-blocks-iconlist {
        display: none !important;
    }
}
 */
 
/* Скрыть футер на мобильных */
@media (max-width: 768px) {
  .footer-bottom.dark_style {
    display: none !important;
  }
}

/* Скраваем блок с магазинами 
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}
*/
/*Закругление иконок магазина на главной */
.rh-cash-tax img {
    border-radius: 3px;
}

.rh_gr_img figure img, .rh_gr_img_first figure img {
    border-radius: 3px;
}

/* Скрываем блок с описанием на мобильных и планшетах */
@media (max-width: 1024px) {
    article.top_rating_text.post.mb15 {
        display: none;
    }
}
.mb25 {
    margin-bottom: 10px !important;
}
