:root {
	--wd-text-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,255,255);
	--wd-alternative-color: rgba(28,97,231,0.2);
	--btn-default-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-bgcolor: rgb(225,235,255);
	--btn-default-bgcolor-hover: rgb(219,227,249);
	--btn-default-color: rgb(28,97,231);
	--btn-default-color-hover: rgb(28,97,231);
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(28,97,231);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(0,0,0);
	--wd-link-color-hover: rgb(0,0,0);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(55,68,71);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
	text-transform: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}



.wd-page-title {
background-color: rgb(28,97,231);
}

body {
    --wd-sticky-nav-w: 0px !important;
}

.wd-sticky-nav.wd-hide-md {
    display: none !important;
}
/* Настройка отступов для шапки */
.whb-header .container, 
.whb-header .container-fluid {
    padding-left: 3em !important;
    padding-right: 3em !important;
}

.whb-main-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer-container {
    padding-left: 3em !important;
    padding-right: 3em !important;
}

.wd-copyrights.copyrights-wrapper {
    position: relative;
    padding-top: 20px; /* или ваш текущий отступ сверху */
    border-top: none !important; /* Убираем стандартную рамку */
    margin-top: 20px; /* Добавляем расстояние от контента */
}

.wd-copyrights.copyrights-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -3em; /* Компенсация вашего padding-left: 3em */
    right: -3em; /* Компенсация вашего padding-right: 3em */
    border-top: 1px solid #dcdcdc; /* Цвет линии */
}


/* ========= СТРОКА КОНТАКТА ========= */
.footer-contact-row {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;               /* минимальный отступ иконка↔текст */
    margin-bottom: 1.2em !important;
}

/* Обёртка-колонка: обнуляем старые width/margin */
.footer-contact-row > .wp-block-wd-column.icon-part {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Внутренний блок иконки: высота ~= высоте текста */
.footer-contact-row .wp-block-wd-icon.icon-part {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Сама картинка-SVG */
.footer-contact-row .wp-block-wd-icon.icon-part img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

/* ========= ПЕРЕКРАСКА ИКОНОК ========= */
/* Сработает либо filter, либо mask — что поддержится браузером */

/* EMAIL */
footer.wd-footer .footer-contact-row img[src*="email-svgrepo-com"] {
    filter: brightness(0) invert(1) !important;  /* чёрный → белый */
    background-color: transparent !important;
    -webkit-mask: url("https://rf-tex.ru/wp-content/uploads/2026/08/email-svgrepo-com.svg") center / contain no-repeat !important;
            mask: url("https://rf-tex.ru/wp-content/uploads/2026/08/email-svgrepo-com.svg") center / contain no-repeat !important;
}

/* TELEPHONE */
footer.wd-footer .footer-contact-row img[src*="telephone-signal-svgrepo-com"] {
    filter: brightness(0) invert(1) !important;
    background-color: transparent !important;
    -webkit-mask: url("https://rf-tex.ru/wp-content/uploads/2026/08/telephone-signal-svgrepo-com.svg") center / contain no-repeat !important;
            mask: url("https://rf-tex.ru/wp-content/uploads/2026/08/telephone-signal-svgrepo-com.svg") center / contain no-repeat !important;
}

/* Ховер — белый остаётся, можно подставить акцент позже */

/* ========= ТЕКСТОВЫЙ БЛОК ========= */
.footer-contact-row .text-part {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-contact-row .text-part h2 {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.footer-contact-row .text-part p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}











.wd-products {
    margin: 0 !important;
    padding: 0 !important;
}

.wd-products .product-grid-item {
    margin: 0 !important;
    padding: 0 !important;
}
.wd-product-wrapper{
    margin: 0 !important;
    padding: 0 !important;
}








/* =============================================
   КНОПКА ПРОКРУТКИ ВВЕРХ (КОРРЕКТНАЯ)
   ============================================= */

/* Оставляем стандартное поведение темы (показывается после прокрутки),
   но меняем дизайн */

.scrollToTop {
    width: 50px !important;
    height: 50px !important;
    border-radius: 4px !important;
    background: rgb(203, 208, 204) !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transition: background 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.scrollToTop:hover {
    background: rgb(124, 127, 126) !important;
}

/* Скрываем все внутренние элементы, если они есть */
.scrollToTop svg,
.scrollToTop img,
.scrollToTop .wd-icon,
.scrollToTop span,
.scrollToTop i {
    display: none !important;
}

/* Удаляем старые псевдоэлементы у самой кнопки */
.scrollToTop::before,
.scrollToTop::after {
    content: none !important;
}

/* Добавляем свою стрелку через ::before (но только один раз) */
.scrollToTop::before {
    content: "↑" !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1 !important;
    display: block !important;
    position: static !important;
    /* Убираем всё лишнее */
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.scrollToTop:hover::before {
    color: #ffffff !important;
}










/* Переключеталь сайдбара */

#toggle-sidebar-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    z-index: 9999 !important;
    width: 52px !important;
    height: 40px !important;
    background: rgb(203, 208, 204) !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    transition: background 0.3s ease !important;
    padding: 0 6px !important;
}

#toggle-sidebar-btn:hover {
    background: rgb(124, 127, 126) !important;
}

/* Обе иконки всегда видны */
#toggle-sidebar-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #000000 !important;
    fill: none !important;
    transition: stroke 0.3s ease, transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

#toggle-sidebar-btn:hover svg {
    stroke: #ffffff !important;
}

/* Двойная стрелка - поворачивается в зависимости от состояния */
body:not(.sidebar-hidden) #toggle-sidebar-btn .icon-double {
    transform: rotate(0deg) !important;
}

body.sidebar-hidden #toggle-sidebar-btn .icon-double {
    transform: rotate(180deg) !important;
}

/* Иконка гамбургер - всегда видна, не меняется */
#toggle-sidebar-btn .icon-hamburger {
    /* Всегда видна */
}

/* Сайдбар */

body.sidebar-hidden .wd-content-layout .menu-sidebar {
    display: none !important;
}

body.sidebar-hidden .wd-content-layout .my-vertical-border {
    flex: 1 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.sidebar-hidden .wd-content-layout .my-vertical-border::before {
    display: none !important;
}

/* ===== СКРЫВАЕМ КНОПКУ НА МОБИЛЬНЫХ ===== */
@media (max-width: 1024px) {
    #toggle-sidebar-btn {
        display: none !important;
    }
}

/* ===== АДАПТИВНОСТЬ (МОБИЛЬНЫЕ) ===== */
@media (max-width: 768px) {
    body:not(.sidebar-visible) .wd-content-layout .menu-sidebar {
        display: none !important;
    }
    
    body.sidebar-visible .wd-content-layout .menu-sidebar {
        display: block !important;
    }
}










@media (min-width: 1920px) {
    .wd-content-layout,
    .container,
    .wd-container {
        max-width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}



















/* =============================================
   МОБИЛЬНАЯ ВЕРСИЯ — НОВЫЕ ПРАВКИ
   ============================================= */
@media (max-width: 767px) {

    /* ---------- 1. ПОЛНОСТЬЮ УБИРАЕМ САЙДБАР ---------- */
    .menu-sidebar,
    .e-con.menu-sidebar,
    .elementor-element.menu-sidebar,
    .wd-content-layout .menu-sidebar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: 0 0 0 !important;
        width: 0 !important;
    }

    /* Убираем вертикальную границу от сайдбара */
    .my-vertical-border::before {
        display: none !important;
    }

    /* Контент занимает всю ширину */
    .my-vertical-border {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        min-height: auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* ---------- 2. HERO-БЛОК "НА РЫНКЕ БОЛЕЕ 10 ЛЕТ" ---------- */
    #swb-hero-title,
    .swb-hero__title {
        font-size: 20px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin: 0 0 10px 0 !important;
    }

    /* Параграф под заголовком — уменьшаем, растягиваем по ширине */
    .wd-text-block.reset-last-child.text-center p,
    .wd-text-block.reset-last-child.text-center span {
        font-size: 12px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    /* Сам блок — по всей ширине */
    .wd-text-block.reset-last-child.text-center {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ---------- 3. FULL-HEIGHT КОНТЕЙНЕР — ОТСТУПЫ 1em ---------- */
    .full-height-container,
    .elementor-element.full-height-container,
    .e-con.full-height-container {
        padding-left: 1em !important;
        padding-right: 1em !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ---------- 4. ИКОНКИ — 2 В РЯД, ИКОНКА И ТЕКСТ В РЯД ---------- */

    /* Сетка — 2 колонки, gap поменьше */
    .equal-height-grid,
    .e-con.equal-height-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Карточка — иконка слева, текст справа */
    .equal-height-grid .icon-text-box {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 8px 10px !important;
        height: auto !important;
        min-height: 56px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Иконка — фиксированный размер, не сжимается */
    .equal-height-grid .icon-text-box img,
    .equal-height-grid .icon-text-box .elementor-image img,
    .equal-height-grid .icon-text-box .elementor-widget-image img,
    .equal-height-grid .icon-text-box .elementor-widget-image a img {
        height: 28px !important;
        width: 28px !important;
        max-width: 28px !important;
        min-width: 28px !important;
        object-fit: contain !important;
        display: block !important;
        flex: 0 0 28px !important;
    }

    /* Обёртка иконки — не сжимается */
    .equal-height-grid .icon-text-box .elementor-image,
    .equal-height-grid .icon-text-box .elementor-widget-image,
    .equal-height-grid .icon-text-box .elementor-widget-image a {
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        flex: 0 0 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Текст — компактный, обрезается по 2 строкам */
    .equal-height-grid .icon-text-box,
    .equal-height-grid .icon-text-box *:not(svg):not(path):not(img) {
        font-size: 10px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        color: #374447 !important;
    }

    .equal-height-grid .icon-text-box .elementor-widget-text-editor,
    .equal-height-grid .icon-text-box .elementor-text-editor,
    .equal-height-grid .icon-text-box .elementor-widget-container {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Убираем <br> внутри текста, чтобы не было лишних переносов */
    .equal-height-grid .icon-text-box p br {
        display: none !important;
    }

    /* ---------- 5. ПРОЧИЕ ПРАВКИ (СТРАХОВКА) ---------- */

    /* Карточки товаров — во всю ширину */
    .wd-products .product-grid-item,
    .wd-products .wd-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Кнопка прокрутки вверх */
    .scrollToTop,
    .scrollToTop.button-show {
        width: 38px !important;
        height: 38px !important;
        bottom: 15px !important;
        right: 15px !important;
    }

    .scrollToTop::before {
        font-size: 20px !important;
    }

    /* Описание товара — 3 строки с многоточием */
    .wd-loop-prod-short-desc,
    .wd-loop-prod-short-desc p {
        font-size: 12px !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

   

    /* Общие отступы по краям */
    .whb-header .container,
    .whb-header .container-fluid,
    .footer-container {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    /* Запрет горизонтального скролла */
    html, body {
        overflow-x: hidden !important;
    }
}









/* =============================================
   КРАТКОЕ ОПИСАНИЕ ТОВАРА — 8 СТРОК, СПИСОК
   ============================================= */

body .wd-product .wd-loop-prod-short-desc,
body .wd-product .wd-loop-prod-short-desc.wd-align,
body .wd-product .wd-loop-prod-short-desc.wd-4377ab33 {
    display: block !important;
    line-height: 1.45 !important;
    margin-bottom: 1em !important;
    /* max-height и overflow убраны */
}

body .wd-product .wd-loop-prod-short-desc > p,
body .wd-product .wd-loop-prod-short-desc p {
    display: block !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}

body .wd-product .wd-loop-prod-short-desc ul,
body .wd-product .wd-loop-prod-short-desc.wd-align ul {
    display: block !important;
    list-style: disc outside !important;
    list-style-type: disc !important;
    padding-left: 22px !important;
    margin: 6px 0 8px 0 !important;
}

body .wd-product .wd-loop-prod-short-desc ol,
body .wd-product .wd-loop-prod-short-desc.wd-align ol {
    display: block !important;
    list-style: decimal outside !important;
    list-style-type: decimal !important;
    padding-left: 22px !important;
    margin: 6px 0 8px 0 !important;
}

body .wd-product .wd-loop-prod-short-desc li,
body .wd-product .wd-loop-prod-short-desc.wd-align li {
    display: list-item !important;
    list-style: inherit !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}

body .wd-product .wd-loop-prod-short-desc li p,
body .wd-product .wd-loop-prod-short-desc li p.ds-markdown-paragraph {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}

/* Отключаем любые ::before/::after, которые могли остаться */
body .wd-product .wd-loop-prod-short-desc li::before,
body .wd-product .wd-loop-prod-short-desc li::after {
    content: none !important;
    display: none !important;
}


/* =============================================
   2. КНОПКА "ЗАПРОСИТЬ ЦЕНУ" — ПРИЖАТА К НИЗУ КАРТОЧКИ
   ============================================= */

/* Сетка — растягиваем карточки по высоте */
.wd-products.wd-grid-g {
    align-items: stretch !important;
}

/* Сам продукт — flex-колонка */
body .wd-product.wd-col,
body .wd-product.wd-grid-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Обёртка карточки */
body .wd-product > .wd-product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
}

/* Верхний контейнер (с тенью) */
body .wd-product .wd-product-wrapper > .wp-block-wd-container {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
}

/* Внутренняя строка (thumb + текст) */
body .wd-product .wd-product-wrapper .wp-block-wd-container.wd-dir-row {
    display: flex !important;
    flex-direction: row !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
}

/* Левая колонка с картинкой — растягиваем по высоте */
body .wd-product .wd-product-wrapper .wp-block-wd-container.wd-dir-row > .wp-block-wd-container:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
}

/* Правая колонка с текстом и кнопкой — flex-колонка */
body .wd-product .wd-product-wrapper .wp-block-wd-container.wd-dir-col.wd-14070b5d,
body .wd-product .wd-product-wrapper .wp-block-wd-container.wd-dir-row > .wp-block-wd-container:last-child {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
}

/* Блок кнопки — прижимается к низу */
body .wd-product .wd-product-wrapper .yith-ywraq-add-to-quote,
body .wd-product .wd-product-wrapper [class*="add-to-quote-"] {
    margin-top: auto !important;
    padding-top: 12px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

body .wd-product .wd-product-wrapper .yith-ywraq-add-to-quote {
    margin-top: auto !important;
    padding-top: 12px !important;
    flex-shrink: 0 !important;
    text-align: left !important;
}
/* Скрываем "clear" под кнопкой — он мешает отступу */
body .wd-product .wd-product-wrapper .yith-ywraq-add-to-quote + .clear {
    display: none !important;
}







.yith-ywraq-add-to-quote,
.yith-ywraq-add-to-quote .button,
.button.add-request-quote-button,
.woocommerce a.button.add-request-quote-button {
    text-transform: none !important;
}








/* =============================================
   КНОПКИ НА СТРАНИЦЕ ЗАПРОСА ЦЕНЫ (YITH)
   ============================================= */

/* "Обновить список" */
input[name="update_raq"],
input.button[name="update_raq"] {
    background-color: rgb(203, 208, 204) !important;
    border: 1px solid rgb(203, 208, 204) !important;
    color: #ffffff !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    text-transform: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

input[name="update_raq"]:hover,
input.button[name="update_raq"]:hover {
    background-color: rgb(124, 127, 126) !important;
    border-color: rgb(124, 127, 126) !important;
    color: #ffffff !important;
}

/* "Отправить запрос" */
input.raq-send-request,
input.button.raq-send-request,
.ywraq_send_request,
input[name="send_raq"] {
    background-color: rgb(203, 208, 204) !important;
    border: 1px solid rgb(203, 208, 204) !important;
    color: #ffffff !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    text-transform: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

input.raq-send-request:hover,
input.button.raq-send-request:hover,
.ywraq_send_request:hover,
input[name="send_raq"]:hover {
    background-color: rgb(124, 127, 126) !important;
    border-color: rgb(124, 127, 126) !important;
    color: #ffffff !important;
}

/* Подстраховка: любые кнопки внутри формы запроса */
.yith-ywraq-request-quote-form input[type="submit"],
form.ywraq-request-quote-form input[type="submit"],
.ywraq-request-quote-form input.button {
    background-color: rgb(203, 208, 204) !important;
    border: 1px solid rgb(203, 208, 204) !important;
    color: #ffffff !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    text-transform: none !important;
}

.yith-ywraq-request-quote-form input[type="submit"]:hover,
form.ywraq-request-quote-form input[type="submit"]:hover,
.ywraq-request-quote-form input.button:hover {
    background-color: rgb(124, 127, 126) !important;
    border-color: rgb(124, 127, 126) !important;
}