/* === Tablet: шапка в 2 строки: поиск на отдельной строке, ниже центр-группа === */
@media (min-width: 781px) and (max-width: 1279px) {
	/* Flex-раскладка с переносом на 2 строки */
	#header { display: flex; flex-wrap: wrap !important; align-items: center !important; justify-content: center !important; gap: 12px !important; }
	#header .blocks { float: none !important; }
	#header > section.blocks { flex: 0 1 auto !important; min-width: 0 !important; width: auto !important; max-width: none !important; }
	#header > section.blocks[class*="grid_"] { width: auto !important; }

	/* Разрешаем нормальный перенос контента между строками шапки */
	#zone1, #header { white-space: normal !important; }

	/* Порядок блоков: логотип → каталог → поиск (всё в 1-й строке) → центр-группа */
	#block15 { order: 10 !important; }
	#block58 { order: 20 !important; }
	#block33 { order: 30 !important; }
	#block17 { order: 40 !important; flex: 0 0 auto !important; }
	#block36 { order: 41 !important; flex: 0 0 auto !important; }
	#block47 { order: 42 !important; flex: 0 0 auto !important; }
	#block5  { order: 43 !important; flex: 0 0 auto !important; }

	/* Поиск — отдельной строкой на всю ширину; под ним всегда центр-группа */
	#block33 { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
	#block33 .blk_body_wrap { max-width: 100% !important; }
	#block33 .header_search, #block33 .searchform { display: flex !important; align-items: center !important; }
	#block33 .searchform-inp { flex: 1 1 auto !important; min-width: 0 !important; }
	#block33 .searchform-inp input.inp { width: 100% !important; min-width: 0 !important; }

	/* Логотип и каталог в одной строке с поиском (авто-ширина, возможно сжатие) */
	#block15, #block58 { flex: 0 1 auto !important; width: auto !important; max-width: none !important; }

	/* Центр-группа неизменно на второй строке — форсируем перенос перед ней */
	#block17::before { content: ""; flex-basis: 100% !important; width: 100% !important; }

	/* Внутри #block17 удерживаем элементы в одну линию */
	#block17 .blk_body_wrap,
	#block17 .tel_links { display: flex !important; align-items: center !important; justify-content: center !important; gap: 12px !important; white-space: nowrap !important; min-width: 0 !important; }
	#block17 .whatsap a,
	#block17 .tel_lp_item a { display: inline-flex !important; align-items: center !important; white-space: nowrap !important; line-height: 1.2 !important; }
	#block17 .whatsap,
	#block17 .tel_lp_item { margin: 0 !important; padding: 0 !important; }

	/* Группа иконок — одна линия, стабильные интервалы, по центру */
	#block36 .blk_body_wrap,
	#block47 .blk_body_wrap,
	#block5 .blk_body_wrap { display: flex !important; align-items: center !important; justify-content: center !important; gap: 14px !important; }

	/* Вторая строка — центр-группа должна быть по центру на всю ширину */
	#block17, #block36, #block47, #block5 { align-self: center !important; }
	#block36 .regper_link a,
	#block47 .regper_link a,
	#block5 .basket_mini_a { display: inline-flex !important; width: 30px !important; height: 30px !important; align-items: center !important; justify-content: center !important; }

	/* Снимаем возможные ограничители ширины */
	#header, #zone1 { min-width: 0 !important; }

}

/* === Tablet: WhatsApp над номером в #block17 === */
@media (min-width: 781px) and (max-width: 1279px) {
    /* Внутри блока телефонов размещаем элементы в колонку */
    #block17 .tel_links {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        white-space: normal !important;
    }
    /* Сами ссылки не переносятся внутри строки */
    #block17 .whatsap a,
    #block17 .tel_lp_item a {
        white-space: nowrap !important;
    }
}

body,
#main,
#topcontact .phone,
#submenu ul li a,
.ssubm,
.typeblock header,
.typeblock header a,
.commenttype1 li div.name b,
div.dialog .h1,
table,
td,
footer a,
.spoler.act a,
.contact_title,
.vkladki ul.kz_tabs_items a span.vk_op {
    color: #2a2a2a;
}

.text_block,
.txt {
    font-size: 14px;
}

.submenutype1,
.modal_head,
ul.h_menu_sec,
.btn-strt,
a.btn-strt-a,
span.radio:before,
.catalog-items .fast_prew,
.slider-blue .irs-slider,
.slider-blue span.irs-bar,
.filter-main-slider .irs-bar,
body .mainmenubg,
a.btn-a,
ul.left_m_sec li.menu_open span.menu_plus:before,
ul.left_m_sec li.menu_open span.menu_plus:after,
body .blocks .owl-nav div,
body .blocks .owl-dot span,
body .owl-carousel .owl-nav div,
body .owl-carousel .owl-dot span,
.filter_m_hide .filter_m_hide_footer,
.news-date>*,
.template-1 li.sub,
#cart-info .t-border,
.cart-tags a:hover,
.template-type2 #cart-info .tabs .tab a.active,
.incart-typefull1 .incart_up,
.incart-typefull1 .incart_down,
.radio-standart .rdo-st:before,
.userline-option .chb-standart label input[type='checkbox']:checked+span {
    background-color: #0147b1;
}

.mblk-type-2 li.active>a,
.ask_question a,
.fast_buy a,
.kz_napisat a,
#cart-info-mini:before,
.template-type2 .map_marker.icons:before {
    color: #0147b1;
}

#cart-info .tabs .tab a.active {
    color: #0147b1 !important;
}

body .mainmenubg-font,
body .mainmenubg-font-bf:before,
body .mainmenubg-font-hov:hover,
body .mainmenubg-font-hov-bf:hover:before,
.txt ul li:before,
.txt ol li:before,
body .load-more a {
    color: #0147b1;
}

body .mainmenubg-bordb {
    border-bottom-color: #0147b1;
}

body .mainmenubg-bord,
body .mainmenubg-bord-hov:hover,
body .admtab,
.ask_question a span,
#cart-info ul.tabs,
.fast_buy a span,
.cart-tags a,
.kz_napisat a,
.template-type2 .fast_buy a,
.radio-standart input:checked+.rdo-st,
.userline-option .chb-standart label input[type='checkbox']:checked+span {
    border-color: #0147b1;
}

body .mainmenubg-bord-hov-sh:hover,
body .load-more a {
    border-color: #0147b1;
    box-shadow: inset 0 0 0 1px #0147b1;
}

a {
    color: #0147b1;
    border-bottom-color: #0147b1;
}

ul.left_m_sec li.menu_open span.menu_plus:before,
ul.left_m_sec li.menu_open span.menu_plus:after {
    background: #0147b1;
}

body {
    background-position: 0 0;
}

body {
    background-repeat: repeat;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
}

body.innerpage {
    background-position: 0 0;
}

#site {
    background-position: 0 0;
}

#site {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body .btn-strt,
body .btn-bg,
body .btn-strt-a,
body .slider-blue .irs-slider,
body .slider-blue .irs-slider,
body .slider-blue span.irs-bar {
    background-color: #e73d25;
    color: #ffffff;
}

body span.podbor_add_g:before,
body .btn-strt input {
    color: #ffffff;
}

body .iconsCol:before {
    color: #0147b1;
}

body .cart-btn a,
body .cart-btn a:before,
.cart-btn.incart-type1 .incart_up:before,
.cart-btn.incart-type1 .incart_down:before {
    color: #ffffff !important;
}

.catalog-item {
    background-color: #ffffff;
}

.catalog-item .blk_text {
    color: #818181;
}

.normal_price {
    color: #222222;
}

.last_price,
.card_price_second .last_price {
    color: #c3bcbc;
}

.new_price {
    color: #f25a5a;
}

.catalog-item {
    box-shadow: 0px 0px 0px 1pxpx #cacaca;
}

.catalog-items {
    padding: 1pxpx;
}

.catalog-item {
    border-radius: 0pxpx;
}

.catalog-item:hover {
    box-shadow: 0px 0px 0px 1pxpx rgba(0, 0, 0, 0.5);
}

.blk_name a {
    color: #818181;



}

body .typeblock article .smallcart_info .i {
    color: #0147b1;
}

.subdivision-items .image-default:before,
.subdivision-items-list .image-default:before {
    padding-top: 75%
}

.subdivision-items .sub {
    max-width: 100%;
    width: 290px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.catalog-items .image-default:before,
.catalog-items-list .image-default:before {
    padding-top: 85%
}

.catalog-items .obj {
    max-width: 100%;
    width: 215px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.count-catalog-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-catalog-2 .obj {
    width: calc(((100% + 10px) / 2) - 10px);
}

.count-catalog-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-catalog-3 .obj {
    width: calc(((100% + 10px) / 3) - 10px);
}

.count-catalog-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-catalog-4 .obj {
    width: calc(((100% + 10px) / 4) - 10px);
}

.count-catalog-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-catalog-5 .obj {
    width: calc(((100% + 10px) / 5) - 10px);
}

.count-catalog-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-catalog-6 .obj {
    width: calc(((100% + 10px) / 6) - 10px);
}

.count-catalog-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-catalog-7 .obj {
    width: calc(((100% + 10px) / 7) - 10px);
}

.count-catalog-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-catalog-8 .obj {
    width: calc(((100% + 10px) / 8) - 10px);
}

.count-catalog-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-catalog-9 .obj {
    width: calc(((100% + 10px) / 9) - 10px);
}

.count-catalog-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-catalog-10 .obj {
    width: calc(((100% + 10px) / 10) - 10px);
}

.count-catalog-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-catalog-11 .obj {
    width: calc(((100% + 10px) / 11) - 10px);
}

.count-catalog-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-catalog-12 .obj {
    width: calc(((100% + 10px) / 12) - 10px);
}

.count-catalog-12 .obj:nth-child(12n) {
    margin-right: 0;
}

.gallery-items .image-default:before,
.gallery-items-list .image-default:before {
    padding-top: 60%
}

.gallery-items .obj {
    max-width: 100%;
    width: 270px;
    margin-right: 7px;
    margin-bottom: 7px;
}

.count-gallery-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-gallery-2 .obj {
    width: calc(((100% + 7px) / 2) - 7px);
}

.count-gallery-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-gallery-3 .obj {
    width: calc(((100% + 7px) / 3) - 7px);
}

.count-gallery-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-gallery-4 .obj {
    width: calc(((100% + 7px) / 4) - 7px);
}

.count-gallery-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-gallery-5 .obj {
    width: calc(((100% + 7px) / 5) - 7px);
}

.count-gallery-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-gallery-6 .obj {
    width: calc(((100% + 7px) / 6) - 7px);
}

.count-gallery-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-gallery-7 .obj {
    width: calc(((100% + 7px) / 7) - 7px);
}

.count-gallery-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-gallery-8 .obj {
    width: calc(((100% + 7px) / 8) - 7px);
}

.count-gallery-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-gallery-9 .obj {
    width: calc(((100% + 7px) / 9) - 7px);
}

.count-gallery-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-gallery-10 .obj {
    width: calc(((100% + 7px) / 10) - 7px);
}

.count-gallery-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-gallery-11 .obj {
    width: calc(((100% + 7px) / 11) - 7px);
}

.count-gallery-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-gallery-12 .obj {
    width: calc(((100% + 7px) / 12) - 7px);
}

.count-gallery-12 .obj:nth-child(12n) {
    margin-right: 0;
}

.vendor-items .image-default:before,
.vendor-items-list .image-default:before {
    padding-top: 60%
}

.vendor-items .obj {
    max-width: 100%;
    width: 140px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.count-vendor-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-vendor-2 .obj {
    width: calc(((100% + 10px) / 2) - 10px);
}

.count-vendor-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-vendor-3 .obj {
    width: calc(((100% + 10px) / 3) - 10px);
}

.count-vendor-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-vendor-4 .obj {
    width: calc(((100% + 10px) / 4) - 10px);
}

.count-vendor-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-vendor-5 .obj {
    width: calc(((100% + 10px) / 5) - 10px);
}

.count-vendor-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-vendor-6 .obj {
    width: calc(((100% + 10px) / 6) - 10px);
}

.count-vendor-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-vendor-7 .obj {
    width: calc(((100% + 10px) / 7) - 10px);
}

.count-vendor-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-vendor-8 .obj {
    width: calc(((100% + 10px) / 8) - 10px);
}

.count-vendor-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-vendor-9 .obj {
    width: calc(((100% + 10px) / 9) - 10px);
}

.count-vendor-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-vendor-10 .obj {
    width: calc(((100% + 10px) / 10) - 10px);
}

.count-vendor-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-vendor-11 .obj {
    width: calc(((100% + 10px) / 11) - 10px);
}

.count-vendor-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-vendor-12 .obj {
    width: calc(((100% + 10px) / 12) - 10px);
}

.count-vendor-12 .obj:nth-child(12n) {
    margin-right: 0;
}

.advantage-items .image-default:before,
.advantage-items-list .image-default:before {
    padding-top: 60%
}

.advantage-items .obj {
    max-width: 100%;
    width: 140px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.count-advantage-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-advantage-2 .obj {
    width: calc(((100% + 15px) / 2) - 15px);
}

.count-advantage-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-advantage-3 .obj {
    width: calc(((100% + 15px) / 3) - 15px);
}

.count-advantage-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-advantage-4 .obj {
    width: calc(((100% + 15px) / 4) - 15px);
}

.count-advantage-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-advantage-5 .obj {
    width: calc(((100% + 15px) / 5) - 15px);
}

.count-advantage-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-advantage-6 .obj {
    width: calc(((100% + 15px) / 6) - 15px);
}

.count-advantage-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-advantage-7 .obj {
    width: calc(((100% + 15px) / 7) - 15px);
}

.count-advantage-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-advantage-8 .obj {
    width: calc(((100% + 15px) / 8) - 15px);
}

.count-advantage-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-advantage-9 .obj {
    width: calc(((100% + 15px) / 9) - 15px);
}

.count-advantage-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-advantage-10 .obj {
    width: calc(((100% + 15px) / 10) - 15px);
}

.count-advantage-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-advantage-11 .obj {
    width: calc(((100% + 15px) / 11) - 15px);
}

.count-advantage-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-advantage-12 .obj {
    width: calc(((100% + 15px) / 12) - 15px);
}

.count-advantage-12 .obj:nth-child(12n) {
    margin-right: 0;
}

.portfolio-items .image-default:before,
.portfolio-items-list .image-default:before {
    padding-top: 60%
}

.portfolio-items .obj {
    max-width: 100%;
    width: 245px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.count-portfolio-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-portfolio-2 .obj {
    width: calc(((100% + 15px) / 2) - 15px);
}

.count-portfolio-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-portfolio-3 .obj {
    width: calc(((100% + 15px) / 3) - 15px);
}

.count-portfolio-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-portfolio-4 .obj {
    width: calc(((100% + 15px) / 4) - 15px);
}

.count-portfolio-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-portfolio-5 .obj {
    width: calc(((100% + 15px) / 5) - 15px);
}

.count-portfolio-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-portfolio-6 .obj {
    width: calc(((100% + 15px) / 6) - 15px);
}

.count-portfolio-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-portfolio-7 .obj {
    width: calc(((100% + 15px) / 7) - 15px);
}

.count-portfolio-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-portfolio-8 .obj {
    width: calc(((100% + 15px) / 8) - 15px);
}

.count-portfolio-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-portfolio-9 .obj {
    width: calc(((100% + 15px) / 9) - 15px);
}

.count-portfolio-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-portfolio-10 .obj {
    width: calc(((100% + 15px) / 10) - 15px);
}

.count-portfolio-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-portfolio-11 .obj {
    width: calc(((100% + 15px) / 11) - 15px);
}

.count-portfolio-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-portfolio-12 .obj {
    width: calc(((100% + 15px) / 12) - 15px);
}

.count-portfolio-12 .obj:nth-child(12n) {
    margin-right: 0;
}

.news-items .image-default:before,
.news-items-list .image-default:before {
    padding-top: 60%
}

.news-items .obj {
    max-width: 100%;
    width: 220px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.count-news-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-news-2 .obj {
    width: calc(((100% + 10px) / 2) - 10px);
}

.count-news-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-news-3 .obj {
    width: calc(((100% + 10px) / 3) - 10px);
}

.count-news-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-news-4 .obj {
    width: calc(((100% + 10px) / 4) - 10px);
}

.count-news-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-news-5 .obj {
    width: calc(((100% + 10px) / 5) - 10px);
}

.count-news-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-news-6 .obj {
    width: calc(((100% + 10px) / 6) - 10px);
}

.count-news-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-news-7 .obj {
    width: calc(((100% + 10px) / 7) - 10px);
}

.count-news-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-news-8 .obj {
    width: calc(((100% + 10px) / 8) - 10px);
}

.count-news-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-news-9 .obj {
    width: calc(((100% + 10px) / 9) - 10px);
}

.count-news-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-news-10 .obj {
    width: calc(((100% + 10px) / 10) - 10px);
}

.count-news-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-news-11 .obj {
    width: calc(((100% + 10px) / 11) - 10px);
}

.count-news-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-news-12 .obj {
    width: calc(((100% + 10px) / 12) - 10px);
}

.count-news-12 .obj:nth-child(12n) {
    margin-right: 0;
}

.gencomponent-items .image-default:before,
.gencomponent-items-list .image-default:before {
    padding-top: 60%
}

.gencomponent-items .obj {
    max-width: 100%;
    width: 140px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.count-gencomponent-1 .obj {
    width: 100%;
    margin-right: 0;
}

.count-gencomponent-2 .obj {
    width: calc(((100% + 15px) / 2) - 15px);
}

.count-gencomponent-2 .obj:nth-child(2n) {
    margin-right: 0;
}

.count-gencomponent-3 .obj {
    width: calc(((100% + 15px) / 3) - 15px);
}

.count-gencomponent-3 .obj:nth-child(3n) {
    margin-right: 0;
}

.count-gencomponent-4 .obj {
    width: calc(((100% + 15px) / 4) - 15px);
}

.count-gencomponent-4 .obj:nth-child(4n) {
    margin-right: 0;
}

.count-gencomponent-5 .obj {
    width: calc(((100% + 15px) / 5) - 15px);
}

.count-gencomponent-5 .obj:nth-child(5n) {
    margin-right: 0;
}

.count-gencomponent-6 .obj {
    width: calc(((100% + 15px) / 6) - 15px);
}

.count-gencomponent-6 .obj:nth-child(6n) {
    margin-right: 0;
}

.count-gencomponent-7 .obj {
    width: calc(((100% + 15px) / 7) - 15px);
}

.count-gencomponent-7 .obj:nth-child(7n) {
    margin-right: 0;
}

.count-gencomponent-8 .obj {
    width: calc(((100% + 15px) / 8) - 15px);
}

.count-gencomponent-8 .obj:nth-child(8n) {
    margin-right: 0;
}

.count-gencomponent-9 .obj {
    width: calc(((100% + 15px) / 9) - 15px);
}

.count-gencomponent-9 .obj:nth-child(9n) {
    margin-right: 0;
}

.count-gencomponent-10 .obj {
    width: calc(((100% + 15px) / 10) - 15px);
}

.count-gencomponent-10 .obj:nth-child(10n) {
    margin-right: 0;
}

.count-gencomponent-11 .obj {
    width: calc(((100% + 15px) / 11) - 15px);
}

.count-gencomponent-11 .obj:nth-child(11n) {
    margin-right: 0;
}

.count-gencomponent-12 .obj {
    width: calc(((100% + 15px) / 12) - 15px);
}

.count-gencomponent-12 .obj:nth-child(12n) {
    margin-right: 0;
}

#block1 .blk_head {
    text-align: left;
}

#block1 .blk_body {
    text-align: left;
}

#block1 .blk_head .h2,
#block1 .blk_head a {
    font-size: 28px;
}

#block51 .blk_head {
    text-align: left;
}

#block51 .blk_body {
    text-align: left;
}

body #block51.thismenu .blk_body ul>li>a {
    color: #000000;

    font-size: 14px;

}

body #block51.thismenu .blk_body ul>li.active>a {
    color: #0147b1;

}

#block3 .blk_head {
    text-align: left;
}

#block3 .blk_body {
    text-align: left;
}

#block3 .blk_head .h2,
#block3 .blk_head a {
    font-size: 28px;
}

#block55 .blk_head {
    text-align: left;
}

#block55 .blk_body {
    text-align: left;
}

#block4 {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

#block4 .blk_head {
    -webkit-border-top-left-radius: 9px;
    -webkit-border-top-right-radius: 9px;
    -moz-border-radius-topleft: 9px;
    -moz-border-radius-topright: 9px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

#block4 #slider {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

#block4 .blk_head {
    text-align: left;
}

#block4 .blk_body {
    text-align: left;
}

#block4 .blk_head .h2,
#block4 .blk_head a {
    font-size: 18px;
}

#block5 .blk_head {
    text-align: left;
}

#block5 .blk_body {
    text-align: right;
}

#block5 .blk_head .h2,
#block5 .blk_head a {
    font-size: 18px;
}

#block13 .blk_head {
    text-align: left;
}

#block13 .blk_body {
    text-align: left;
}

#block13 .blk_head .h2,
#block13 .blk_head a {
    font-size: 18px;
}

.block15 .blk_head.nobg,
#block15 .blk_head.nobg a,
#block15 .blk_body,
#block15 .tel_lp_item a {
    color: #818181 !important;
}

#block15 .blk_body a {
    color: #818181;
}

ul.left_m_sec li.menu_open span.menu_plus:before,
ul.left_m_sec li.menu_open span.menu_plus:after {
    background: #818181;
}

#block15 .blk_head {
    text-align: left;
}

#block15 .blk_body {
    text-align: left;
}

#block15 .blk_head .h2,
#block15 .blk_head a {
    font-size: 18px;
}

.block17 .blk_head.nobg,
#block17 .blk_head.nobg a,
#block17 .blk_body,
#block17 .tel_lp_item a {
    color: #000000 !important;
}

#block17 .blk_body a {
    color: #000000;
}

ul.left_m_sec li.menu_open span.menu_plus:before,
ul.left_m_sec li.menu_open span.menu_plus:after {
    background: #000000;
}

#block17 .blk_body .iconsCol:before {
    color: #000000;
}

#block17 .blk_head {
    text-align: left;
}

#block17 .blk_body {
    text-align: right;
}

#block17 .blk_head .h2,
#block17 .blk_head a {
    font-size: 18px;
}

#block19 .blk_head {
    text-align: left;
}

#block19 .blk_body {
    text-align: left;
}

#block19 .blk_head .h2,
#block19 .blk_head a {
    font-size: 22px;
}

#block26 .blk_head {
    text-align: left;
}

#block26 .blk_body {
    text-align: left;
}

#block26 .blk_head .h2,
#block26 .blk_head a {
    font-size: 28px;
}

#block26 .subdivision-items .image-default:before,
#block26 .subdivision-items-list .image-default:before {
    padding-top: 75%
}

#block26 .subdivision-items .sub {
    max-width: 100%;
    width: 215px;
    margin-right: 10px;
    margin-bottom: 10px;
}

body #block26.thismenu .blk_body ul>li>a {


    font-size: 14px;

}

#block46 .blk_head {
    text-align: left;
}

#block46 .blk_body {
    text-align: right;
}

#block28 .blk_head {
    text-align: left;
}

#block28 .blk_body {
    text-align: left;
}

#block28 .blk_head .h2,
#block28 .blk_head a {
    font-size: 18px;
}

#block33 .blk_body .iconsCol:before {
    color: #818181;
}

#block33 .blk_head {
    text-align: left;
}

#block33 .blk_body {
    text-align: left;
}

#block33 .blk_head .h2,
#block33 .blk_head a {
    font-size: 18px;
}

#block34 .blk_head {
    text-align: left;
}

#block34 .blk_body {
    text-align: left;
}

#block34 .blk_head .h2,
#block34 .blk_head a {
    font-size: 18px;
}

#block35 .blk_head {
    text-align: left;
}

#block35 .blk_body {
    text-align: left;
}

#block35 .blk_head .h2,
#block35 .blk_head a {
    font-size: 18px;
}

#block36 .blk_head {
    text-align: left;
}

#block36 .blk_body {
    text-align: center;
}

#block39 {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

#block39 #slider {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

#block39 .blk_head {
    text-align: left;
}

#block39 .blk_body {
    text-align: left;
}

#block39 {
    padding: 1px;
    box-shadow: 0px 0px 0px 1px #e6e6e6 inset;
}

#block39 .blk_head {
    border-bottom: 1px rgba(230, 230, 230, 0.2) solid;
}

#block39 .blk_body>ul>li:first-of-type {
    border-top: 0px;
}

#block39 .blk_body>ul>li:last-of-type {
    border-bottom: 0px;
}

#block39 .blk_head .h2,
#block39 .blk_head a {
    color: #0147b1;
}

#block39 .blk_head .h2,
#block39 .blk_head a {
    font-size: 18px;
}

body #block39.thismenu .blk_body ul>li>a {
    color: #000000;

    font-size: 14px;

}

body #block39.thismenu .blk_body ul>li.active>a {
    color: #0147b1;

}

#block40,
#block40 ul.h_menu_sec,
#block40 ul.h_menu_third {
    background-color: #ffffff !important;
}

#block40 .blk_head {
    text-align: left;
}

#block40 .blk_body {
    text-align: left;
}

#block45 .blk_head {
    text-align: left;
}

#block45 .blk_body {
    text-align: left;
}

#block47 .blk_body a {
    color: #000000;
}

ul.left_m_sec li.menu_open span.menu_plus:before,
ul.left_m_sec li.menu_open span.menu_plus:after {
    background: #000000;
}

#block47 .blk_body .iconsCol:before {
    color: #000000;
}

#block47 .blk_head {
    text-align: left;
}

#block47 .blk_body {
    text-align: left;
}

#block64 .blk_head {
    text-align: left;
}

#block64 .blk_body {
    text-align: left;
}

#block50 .blk_head {
    text-align: left;
}

#block50 .blk_body {
    text-align: center;
}

#block53 .blk_head {
    text-align: left;
}

#block53 .blk_body {
    text-align: left;
}

#block54 .blk_head {
    text-align: left;
}

#block54 .blk_body {
    text-align: left;
}

#block54 .advantage-items .image-default:before,
#block54 .advantage-items-list .image-default:before {
    padding-top: 55%
}

#block54 .advantage-items .obj {
    max-width: 100%;
    width: 140px;
    margin-right: 15px;
    margin-bottom: 15px;
}

#block54 .count-advantage-1 .obj {
    width: 100%;
    margin-right: 0;
}

#block54 .count-advantage-2 .obj {
    width: calc(((100% + 15px) / 2) - 15px);
}

#block54 .count-advantage-2 .obj:nth-child(2n) {
    margin-right: 0;
}

#block54 .count-advantage-3 .obj {
    width: calc(((100% + 15px) / 3) - 15px);
}

#block54 .count-advantage-3 .obj:nth-child(3n) {
    margin-right: 0;
}

#block54 .count-advantage-4 .obj {
    width: calc(((100% + 15px) / 4) - 15px);
}

#block54 .count-advantage-4 .obj:nth-child(4n) {
    margin-right: 0;
}

#block54 .count-advantage-5 .obj {
    width: calc(((100% + 15px) / 5) - 15px);
}

#block54 .count-advantage-5 .obj:nth-child(5n) {
    margin-right: 0;
}

#block54 .count-advantage-6 .obj {
    width: calc(((100% + 15px) / 6) - 15px);
}

#block54 .count-advantage-6 .obj:nth-child(6n) {
    margin-right: 0;
}

#block54 .count-advantage-7 .obj {
    width: calc(((100% + 15px) / 7) - 15px);
}

#block54 .count-advantage-7 .obj:nth-child(7n) {
    margin-right: 0;
}

#block54 .count-advantage-8 .obj {
    width: calc(((100% + 15px) / 8) - 15px);
}

#block54 .count-advantage-8 .obj:nth-child(8n) {
    margin-right: 0;
}

#block54 .count-advantage-9 .obj {
    width: calc(((100% + 15px) / 9) - 15px);
}

#block54 .count-advantage-9 .obj:nth-child(9n) {
    margin-right: 0;
}

#block54 .count-advantage-10 .obj {
    width: calc(((100% + 15px) / 10) - 15px);
}

#block54 .count-advantage-10 .obj:nth-child(10n) {
    margin-right: 0;
}

#block54 .count-advantage-11 .obj {
    width: calc(((100% + 15px) / 11) - 15px);
}

#block54 .count-advantage-11 .obj:nth-child(11n) {
    margin-right: 0;
}

#block54 .count-advantage-12 .obj {
    width: calc(((100% + 15px) / 12) - 15px);
}

#block54 .count-advantage-12 .obj:nth-child(12n) {
    margin-right: 0;
}

#block56 .blk_head {
    text-align: left;
}

#block56 .blk_body {
    text-align: left;
}

#block56 .blk_head .h2,
#block56 .blk_head a {
    font-size: 22px;
}

body #block56.thismenu .blk_body ul>li>a {


    font-size: 14px;

}

#block57 .blk_head {
    text-align: left;
}

#block57 .blk_body {
    text-align: left;
}

#block58 .blk_head {
    text-align: left;
}

#block58 .blk_body {
    text-align: left;
}

body #block58.thismenu .blk_body ul>li>a {
    color: #000000;

    font-size: 14px;

}

body #block58.thismenu .blk_body ul>li.active>a {
    color: #0147b1;

}

#block59 {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}

#block59 #slider {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}

#block59 .blk_head {
    text-align: left;
}

#block59 .blk_body {
    text-align: left;
}

#block59 {
    padding: 1px;
    box-shadow: 0px 0px 0px 1px #e6e6e6 inset;
}

#block59 .blk_head {
    border-bottom: 1px rgba(230, 230, 230, 0.2) solid;
}

#block59 .blk_body>ul>li:first-of-type {
    border-top: 0px;
}

#block59 .blk_body>ul>li:last-of-type {
    border-bottom: 0px;
}

#block59 .blk_head .h2,
#block59 .blk_head a {
    font-size: 18px;
}

#block60 {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}

#block60 #slider {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}

#block60 .blk_head {
    text-align: left;
}

#block60 .blk_body {
    text-align: left;
}

#block60 {
    padding: 1px;
    box-shadow: 0px 0px 0px 1px #e6e6e6 inset;
}

#block60 .blk_head {
    border-bottom: 1px rgba(230, 230, 230, 0.2) solid;
}

#block60 .blk_body>ul>li:first-of-type {
    border-top: 0px;
}

#block60 .blk_body>ul>li:last-of-type {
    border-bottom: 0px;
}

#block60 .blk_head .h2,
#block60 .blk_head a {
    color: #0147b1;
}

#block60 .blk_head .h2,
#block60 .blk_head a {
    font-size: 18px;
}

body #block60.thismenu .blk_body ul>li>a {
    color: #000000;

    font-size: 14px;

}

body #block60.thismenu .blk_body ul>li.active>a {
    color: #0147b1;

}

#block61 .blk_head {
    text-align: left;
}

#block61 .blk_body {
    text-align: left;
}

#block62 .blk_head {
    text-align: left;
}

#block62 .blk_body {
    text-align: left;
}

#block63 .blk_head {
    text-align: left;
}

#block63 .blk_body {
    text-align: left;
}

#block64 .blk_head {
    text-align: left;
}

#block64 .blk_body {
    text-align: left;
}

#block65 .blk_head {
    text-align: left;
}

#block65 .blk_body {
    text-align: left;
}

#block65 .subdivision-items .image-default:before,
#block65 .subdivision-items-list .image-default:before {
    padding-top: 75%
}

#block65 .subdivision-items .sub {
    max-width: 100%;
    width: 290px;
    margin-right: 10px;
    margin-bottom: 10px;
}

body #block65.thismenu .blk_body ul>li>a {


    font-size: 14px;

}

#block66 .blk_head {
    text-align: left;
}

#block66 .blk_body {
    text-align: left;
}

#block64 .blk_head {
    text-align: left;
}

#block64 .blk_body {
    text-align: left;
}

#zone13 .blocks {
    height: 45px;
    line-height: 45px;
}

@media only screen and (max-width: 780px) {
    #zone13 .blocks {
        height: auto;
        line-height: normal;
    }
}

#zone13 .logo-img img {
    max-height: 45px;
}

#zone13 .zone-bg {
    background-color: #dee5f4;
}

#zone13>* {
    height: 45px;
    min-height: 45px;
}

@media only screen and (max-width: 780px) {
    #zone13>*:not(.zone-bg) {
        height: auto;
        min-height: auto;
    }

    #zone13>.zone-bg {
        height: 100%;
    }
}

#zone13 .blocks {
    margin-bottom: 0;
}

#zone1 .blocks {
    height: 120px;
    line-height: 120px;
}

@media only screen and (max-width: 780px) {
    #zone1 .blocks {
        height: auto;
        line-height: normal;
    }
}

#zone1 .logo-img img {
    max-height: 120px;
}

#zone1>* {
    height: 120px;
    min-height: 120px;
}

@media only screen and (max-width: 780px) {
    #zone1>*:not(.zone-bg) {
        height: auto;
        min-height: auto;
    }

    #zone1>.zone-bg {
        height: 100%;
    }
}

@media only screen and (max-width: 780px) {
    #zone2>.zone-bg {
        height: 100%;
    }
}

#zone3 {
    text-align: center;
}

#zone3 .blocks {
    float: none;
    display: inline-block;
}

@media only screen and (max-width: 780px) {

    #zone3>.zone-bg {
        height: 100%;
    }
}

#zone3 .blocks {
    margin-bottom: 0;
}

#zone4 {
    text-align: center;
}

#zone4 .blocks {
    float: none;
    display: inline-block;
}

@media only screen and (max-width: 780px) {
    #zone4>.zone-bg {
        height: 100%;
    }
}

@media only screen and (max-width: 780px) {

    #zone5>.zone-bg {
        height: 100%;
    }
}

#zone9 {
    padding-top: 50px;
    padding-bottom: 35px;
}

#zone9 .zone-bg {
    background-color: #f6f8ff;
    background-image: url('/a/farma/files/323153/392385/rr3r.png');
    background-position: center center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 780px) {

    #zone9>.zone-bg {
        height: 100%;
    }
}

#zone9 .blocks {
    margin-bottom: 0;
}

#zone11 {
    padding-top: 40px;
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

@media only screen and (max-width: 780px) {

    #zone11>.zone-bg {
        height: 100%;
    }
}

#zone11 .blocks {
    margin-bottom: 0;
}

#zone10 {
    padding-top: 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
}

#zone10 .zone-bg {
    background-color: #f5f8ff;
}

@media only screen and (max-width: 780px) {

    #zone10>.zone-bg {
        height: 100%;
    }
}

#zone6 {
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    z-index: 2;
}

#zone6 .zone-bg {
    background-color: #dee5f4;
}

@media only screen and (max-width: 780px) {

    #zone6>.zone-bg {
        height: 100%;
    }
}

#zone6 .blocks {
    margin-bottom: 0;
}

@media only screen and (max-width: 780px) {

    #zone12>.zone-bg {
        height: 100%;
    }
}

.сonfirm-actions-text table th,
.сonfirm-actions-text table td {
    padding: 4px 10px;
}

.сonfirm-actions-text table th {
    text-align: left;
}

.сonfirm-actions-text table {
    margin: 20px 0;
}

th.store-select {
    padding: 17px;
}

th.store-select .chb-standart span.chb-text {
    text-align: left;
    margin: 0 0 0 30px;
    font-size: 16px;
    font-weight: normal;
}

.store_info {
    width: 25%;
}

.ob-table .store td {
    position: relative;
}

.bc_interes {
    display: none !important;
}


.store-btn {
    width: 100px !important;
    position: absolute;
    top: 10px;
    right: 0;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 20px;
    font-weight: bold;
    background: #9d9d9d;
    cursor: pointer;
}

.ob-table .store div {
    width: 400px;
    margin-bottom: 5px;
}

.ob-table .store div span.name {
    margin-right: 16px;
    width: 60px;
    display: inline-block;
}

tr.store {
    width: 100%;
}

.store-btn a {
    text-decoration: none;
    color: #fff;
}

.store-btn.active {
    background: #e76e62;
}

td.bt_img .image-default {
    margin: 0 auto;
}

div#lightcase-content #cart-info {
    margin: 30px 0 0;
}

section#block40 {
    width: 100%;
}


.bc_wrap .left-logo,
span.bc_logo {
    display: none !important;
}

span.logo-subname {
    font-size: 16px !important;
    line-height: 1.2em !important;
    color: rgb(45 133 78 / 61%);
}

body {
    font-family: "Inter", sans-serif;
}

.basket_mini_a {
    padding: 0;
    height: 30px;
    width: 30px;
    position: relative;
}

#block5 {
    width: 30px;
}

section.basket_mini_open_border_solid .basket_mini_open {
    border: none;
    display: flex;
    gap: 4px;
    align-items: center;
    flex-direction: column;
    /* цена/надпись под иконкой */
}

#block5 .basket_mini_a:before {
    color: #818181;
    content: '';
    background: url(/a/farma/files//userfiles/images/cart.svg);
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    width: 30px;
    height: 30px;
    background-size: 100%;
    left: 0;
    position: absolute;
    background-position: center;
}

span.basket_m_button {
    font-size: 0;
    text-transform: none;
    font-weight: 600;
    letter-spacing: normal;
    width: 30px;
    height: 30px;
    left: 0;
    top: 0;
    position: absolute;
}

#block36 .regper_link a {
    width: 30px;
    height: 30px;
    font-size: 0;
    border-bottom: none;
    line-height: normal;
}

#block36 .regper_link,
#block47 .regper_link {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    line-height: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#block36 {
    top: -19px;
    width: 30px;
}

#block36 .icons.i_user2:before {
    top: 0;
    /* выравниваем по одной линии с другими иконками */
    left: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: '';
    background: url(/a/farma/files//userfiles/images/profile.svg);
    background-repeat: no-repeat;
    background-size: 95%;
    background-position: center;
    pointer-events: none;
}

#block17 {
    width: 245px;
    padding-right: 35px;
}

.tel_lp_item,
.tel_lp_item a {
    font-size: 18px;
    font-weight: 500;
    color: black;
}

.header_search {
    border: 1px solid #cacaca;
    border-radius: 30px;
}

form.searchform .inp {
    border-radius: 30px;
}

form.searchform .btn-strt {
    right: 0;
    top: -1px;
    height: 46px;
    border-radius: 0 30px 30px 0;
    background: #0147b1;
}

.header_search .btn-strt input {
    padding: 4px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 30px 30px 0;
}

ul.menu_catalog>li.active,
ul.menu_catalog>li:hover {
    background: transparent;
}

ul.menu_catalog>li {
    border-top: none;
}

#sidebar span.menu_title {
    padding: 12px 11px 8px 0;
}

.catalog-items .obj {
    height: 100%;
    border-radius: 5px;
}

.owl-stage {
    display: block;
}

#block3 .news-items .news-item .image-default,
.news-item .image-default {
    height: 180px;
}

.template-1 .news-item .news-date {
    position: absolute;
    top: 195px;
}

.template-1 .news-item .news-data {
    padding: 57px 0px 17px;
}

.news-date>* {
    padding: 6px 18px;
    border-radius: 15px;
    background-color: transparent;
    font-size: 14px;
}

.news-item .news-name {
    font-size: 16px;
}

.line_info {
    background-color: transparent;
    padding: 0;
}

ul.left_m_sec>li {
    padding: 5px 0 0 10px;
}

#sidebar .blk_head {
    margin-bottom: 0;
}

#block39 .blk_body {
    padding: 0;
}

.catalog-item:hover {
    box-shadow: 0px 0px 0px 1px rgb(1 71 177);
}

ul.soc_bar li>a {
    background: transparent;
}

.soc_link:before {
    box-shadow: 0 0 0 1px #6eb62a;
    border-radius: 100px;
}

.regper_link.iconsCol.icons.i_sendmail a {
    padding: 15px 21px 16px 21px;
    border-bottom: none;
    border-radius: 50px;
    color: white;
    margin-left: 0 !important;
}

.icons.i_sendmail:before {
    display: none;
}

.regper_link {
    margin-left: 0;
    margin-right: 0;
}

#block43 {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

#block43 .blk_body {
    padding: 0;
}

#block21 .field-title {
    position: absolute;
    left: 12px;
    top: 9px;
}

#block21 .input-field-standart label.field-title.active {
    opacity: 0 !important;
}

#block21 .input-field-standart input.inp,
#block21 .input-field-standart textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #007739;
    border-radius: 0;
}

.btn-strt,
.btn-strt input {
    border-radius: 50px;
    background: #0147b1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#block21 {
    padding-left: 75px;
    float: rigth;
}

#block44 .advantage-items .obj {
    margin-bottom: 0;
}

#block44 .advantage-items .obj .image-default {
    background: white;
    border-radius: 5px;
}

.wcommunity_wrap:before {
    box-shadow: none !important;
}

.blk_head .h2 {
    font-weight: 600;
    color: #0147b1;
    font-size: 28px;
}

.bannerText-center .slider-data {
    display: flex;
    height: 100%;
    align-items: center;
    top: 0 !important;
    text-align: left;
    padding-left: 50px;
}

.slider-name span {
    display: inline-block;
    padding: 13px 10px 5px;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    line-height: 1.4em;
    letter-spacing: 1px;
}

.bannerText-center .slider-data-second {
    max-width: 58%;
}

.slider-text {
    font-size: 28px;
    color: #0147b1;
    text-transform: uppercase;
    font-weight: 600;
}

.blk_name a {
    font-weight: 500;
    color: black;
}

.catalog-item .blk_price {
    font-size: 18px;
    font-weight: 500;
}

.nav-type-2 .blk_head .owl-nav div {
    width: 35px !important;
    height: 35px !important;
}

.nav-type-2 .blk_head .owl-nav .owl-prev,
.nav-type-2 .blk_head .owl-nav div {
    border-radius: 100px;
}

li.xleb-item:first-child>span {
    padding-left: 0;
}

section#block40 {
    margin-bottom: 0;
}

h1 {
    font-weight: 600;
}

.subdivision-top li.sub-li a {
    border-radius: 100px;
    padding: 6px 2px 7px;
}

.subdivision-top li.sub-li a:hover {
    filter: brightness(1.1);
}

.subdivision-top li.sub-li a:hover span {
    background: transparent;
}

.subdiv-stati .news-item .news-date,
.kz_form.otz_form_main .fo_name {
    display: none;
}

.subdiv-stati.this-stati .news-item .news-data {
    padding: 17px 0px 17px !important;
}

.kz_form {
    background-color: transparent;
    padding: 35px 45px 5px;
    border: 1px solid rgb(1 71 177 / 40%);
}

.kz_form .fo_inp input {
    padding: 9px 0;
}

ul.subdivision-items .wrapper {
    display: flex;
    background: transparent;
    padding: 15px;
}

ul.subdivision-items .wrapper .name a {
    background: #f0f2f6;
    color: #0147b1;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
}

ul.subdivision-items li {
    background-color: #f0f2f6 !important;
}

ul.subdivision-items .wrapper .sub-img-wrapper.image-default {
    width: 90px;
    height: 90px;
    min-width: 90px;
}

.template-1 li.sub:hover .image-default a:before {
    background: transparent;
}

.template-1 li.sub:hover .image-default a:after {
    opacity: 0;
}

.catalog-table .incart-type1 a,
.catalog-table .inorder-type1 a {
    border-radius: 30px;
}

.catalog-table .incart-type1,
.catalog-table .inorder-type1 {
    border-radius: 30px;
}

.cart-btn.incart-type1.mainmenubg.active,
a.basket_b_oform.btn-strt-a {
    border-radius: 30px;
}

#cart-info-mini a {
    color: #02773a;
}

a.incart-js.mainmenubg.icons.i_cart {
    border-radius: 8px;
}

.catalog-item-full.template-type1 .incart-typefull1>*,
.catalog-item-full.template-type1 .inorder-typefull1>* {
    border-radius: 8px;
}

.tabs-body {
    background: #ffffff !important;
}

.incart-typefull1 .incart-num input {
    background: #f0f0f0;
}

.cart-btn .incart_up:before,
.cart-btn .incart_down:before {
    color: #fff !important;
}

span.basket_m_price {
    position: relative;
    top: 0;
    padding-left: 0;
    line-height: 1;
    font-size: 12px;
    white-space: nowrap;
}

.subdiv-reviews .kz_form .fo_inp input {
    border: 1px solid #fff;
}

.kz_form .fo_name {
    width: 35px;
    ;
}

#profile-page a.btn-strt-a {
    border-radius: 30px;
}

.basket_m_spisok {
    border: none;
    box-shadow: 0 4px 30px 0 rgb(19 28 39 / 23%);
}

.store-select {
    height: 15px !important;
}

.mini_card_open_active .basket_mini_open .basket_mini_a {
    background: transparent;
    border: none;
    height: 32px;
}

input#big-checkout {
    font-size: 18px;
}

#block1 {
    margin-bottom: 0;
}

#block25,
block26 {
    margin-bottom: 35px;
}

#zone10 {
    padding-top: 48px;
}

#block43 {
    padding-top: 16px;
}

li.xleb-item:first-child>a {
    padding-left: 0;
}

#zone1 .logo-img img {
    max-height: 90px;
}

#block51 .blk_body {
    padding: 0;
}

#block51 .blk_body {
    text-align: right;
}

#block51 {
    background: transparent;
}

ul.header_menu>li.active>a>span,
ul.header_menu>li:hover>a>span {
    border-left: none;
}

ul.header_menu>li.active>a>span,
ul.header_menu>li:hover>a>span {
    border-right: none;
}

ul.header_menu>li:first-of-type>a {
    border-left: none;
}

ul.header_menu>li>a>span.mn_sp_1 {
    border-right: none;
}

.tel_lnk_text {
    font-size: 12px;
}

ul.header_menu>li:last-child>a>span.mn_sp_1 {
    padding-right: 0;
}

ul.header_menu>li>a>span.mn_sp_1 {
    padding: 12px 12px 12px;
    border: none;
}

#block17 .blk_body .iconsCol:before {
    color: #0147b1;
    content: '\e9bd';

}

#block17 .tel_lnk_text {
    margin-bottom: 2px;
}

a.vcatalog {
    text-decoration: none;
    padding: 10px 25px 11px;
    font-size: 16px;
    background: #E73D25;
    border-radius: 6px;
    color: white;
    font-weight: 400;
    text-transform: none;
}

.slider-text p:last-child {
    margin-top: 10px;
}

.slider-text br {
    display: none;
}

.slider-text p {
    margin-bottom: 0;
}

.slider-text span,
.slider-name span {
    padding: 0;
}

.slider-img {
    line-height: 0;
}

/* Безопасная рамка для данных слайдера */
#block4 .slider-data,
#block4 .slider-data-second {
    box-sizing: border-box;
}

section.slider-items {
    box-sizing: border-box;
}

/* 🔹 Исправления для слайдера и кнопок */
section.slider-items .slider-item img {
    min-width: 100%;
    min-height: 175px;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Планшеты: предотвращаем обрезание/вылезание слайдера и растягивание шапки */
@media (min-width: 781px) and (max-width: 1279px) {

    html,
    body {
        overflow-x: hidden;
    }

    #block4 .blk_body_wrap {
        overflow: hidden;
        padding-left: 12px;
        padding-right: 12px;
        /* внутренние отступы у слайдера на планшетах */
    }

    section.slider-items,
    section.slider-items .slider-item,
    section.slider-items .slider-img {
        max-width: 100%;
    }

    section.slider-items .slider-item img {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        object-fit: cover;
    }

    /* Шапка может переноситься на новую строку, чтобы не расширять страницу */
    header,
    .header,
    .top-bar,
    .main-header,
    .header-wrapper {
        white-space: normal !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
    }

    .header>*,
    .top-bar>*,
    .main-header>*,
    .header-wrapper>* {
        white-space: normal !important;
        flex-shrink: 1 !important;
    }

    .header_search,
    .header_search .btn-strt,
    .search-form,
    .search-form * {
        white-space: normal !important;
    }
}

/* 🔹 ГЛОБАЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ ШАПКИ - ПРЕДОТВРАЩЕНИЕ СЪЕЗЖАНИЯ ЭЛЕМЕНТОВ */
/* Предотвращаем перенос строк в шапке на всех устройствах */
header,
.header,
.top-bar,
.main-header,
.header-wrapper {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: visible !important;
    /* Изменено с hidden на visible для выпадающих списков */
}

/* Элементы шапки остаются в одной строке */
.header>*,
.top-bar>*,
.main-header>*,
.header-wrapper>* {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Поиск и кнопки не сжимаются */
.header_search,
.header_search .btn-strt,
.search-form,
.search-form * {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Навигационные ссылки не переносятся */
nav,
nav *,
.nav,
.nav * {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Кнопки и ссылки в шапке не переносятся */
.header a,
.header button,
.top-bar a,
.top-bar button {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* 🔹 КОНКРЕТНЫЕ ИСПРАВЛЕНИЯ ДЛЯ ЭЛЕМЕНТОВ ШАПКИ НА ВСЕХ УСТРОЙСТВАХ */
/* Предотвращаем съезжание надписей "Условия доставки", "Лицензии", "Контакты" */
.top-bar,
.top-bar *,
.header-top,
.header-top * {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    float: none !important;
}

/* Поисковая строка не сжимается */
.search-form,
.search-form *,
.search-container,
.search-container * {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: auto !important;
}

/* Кнопки и ссылки в шапке не переносятся */
.top-bar a,
.top-bar span,
.header-top a,
.header-top span {
    white-space: nowrap !important;
    display: inline-block !important;
    float: none !important;
}

/* Принудительно убираем перенос строк */
.top-bar,
.header-top {
    line-height: normal !important;
    height: auto !important;
    overflow: visible !important;
}

/* 🔹 Адаптивность для планшетов (включая правки сетки и слайдера) */
@media (max-width: 1279px) and (min-width: 781px) {

    /* Шапка в потоке на планшетах: убираем необходимость компенсатора */
    .topfix {
        height: 0 !important;
        margin: 0 !important;
    }

    /* Гарантируем, что верхние зоны поверх контента и имеют фон */
    #zone13,
    #zone1,
    #header {
        position: relative;
        z-index: 1000;
    }

    #header {
        background: #ffffff;
    }

    /* Отключаем фиксирование верха: шапка и зона становятся статичными */
    .zone-fixtop,
    #zone1,
    #header {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    /* Снимаем жёсткую высоту у внутренних элементов шапки */
    #zone1>* {
        height: auto !important;
        min-height: auto !important;
    }

    /* Слайдер и его обёртки ниже по слою */
    #block4,
    .slider-items,
    .bannerText-center {
        position: relative;
        z-index: 1;
    }

    /* На всякий случай убираем возможные отрицательные отступы у слайдера */
    #block4 {
        margin-top: 0 !important;
    }

    html,
    body {
        overflow-x: hidden;
    }

    /* делаем контейнер резиновым в этом диапазоне, чтобы фиксированная сетка не выталкивала ширину */
    body {
        min-width: 0;
    }

    .container_12 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sitew1200 .container_12,
    .container_12w,
    .centerwrap,
    .zone .container,
    .zone .container_12 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .zone .container-zone {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* выравниваем колонки в процентах, убираем фиксированные поля */
    .container_12 .grid_1,
    .container_12 .grid_2,
    .container_12 .grid_3,
    .container_12 .grid_4,
    .container_12 .grid_5,
    .container_12 .grid_6,
    .container_12 .grid_7,
    .container_12 .grid_8,
    .container_12 .grid_9,
    .container_12 .grid_10,
    .container_12 .grid_11,
    .container_12 .grid_12 {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0.5%;
        padding-right: 0.5%;
    }

    .container_12 .grid_1 {
        width: 8.333%;
    }

    .container_12 .grid_2 {
        width: 16.666%;
    }

    .container_12 .grid_3 {
        width: 25%;
    }

    .container_12 .grid_4 {
        width: 33.333%;
    }

    .container_12 .grid_5 {
        width: 41.666%;
    }

    .container_12 .grid_6 {
        width: 50%;
    }

    .container_12 .grid_7 {
        width: 58.333%;
    }

    .container_12 .grid_8 {
        width: 66.666%;
    }

    .container_12 .grid_9 {
        width: 75%;
    }

    .container_12 .grid_10 {
        width: 83.333%;
    }

    .container_12 .grid_11 {
        width: 91.666%;
    }

    .container_12 .grid_12 {
        width: 100%;
    }

    /* внутренние отступы у слайдера и защита от «обрезания» */
    #block4 .blk_body_wrap {
        overflow: hidden;
        padding-left: 12px;
        padding-right: 12px;
    }

    section.slider-items,
    section.slider-items .slider-item,
    section.slider-items .slider-img {
        max-width: 100%;
    }

    section.slider-items .slider-item img {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        object-fit: cover;
    }

    /* Контент ниже слайдера: резиновая ширина контейнеров и равные боковые отступы */
    .centerwrap,
    .container_12w,
    .zone .container,
    .zone .container_12 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .centerwrap.container.container_12,
    .zone .container-zone {
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box;
    }

    /* Блоки в зонах тянутся на всю строку */
    #zone3 .blocks,
    #zone4 .blocks {
        float: none !important;
        display: block !important;
        width: 100% !important;
    }

    /* Контентная область и сайдбар встают в столбец и занимают всю ширину */
    #sidebar,
    #content {
        width: 100% !important;
        float: none !important;
    }

    /* Сам блоки #block57 и #block61 на 100% и по центру */
    #block57,
    #block61 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Block 57 responsive catalog carousel */
    #block57 .blk_body_wrap {
        overflow: hidden !important;
    }

    #block57 .catalog-items.owl-carousel {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    #block57 .catalog-items.owl-carousel .owl-stage-outer {
        width: 100% !important;
        overflow: hidden !important;
    }

    #block57 .catalog-items.owl-carousel .owl-item>.catalog-item.obj {
        width: 100% !important;
        max-width: 100% !important;
    }

    #block57 .catalog-items .image-default img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    #block57 .catalog-items .obj {
        width: auto !important;
        max-width: 100% !important;
    }

    #block57 .catalog-item .blk_first {
        height: auto !important;
    }

    /* Block 61 (Новинки) — те же правила для карусели */
    #block61 .blk_body_wrap {
        overflow: hidden !important;
    }

    #block61 .catalog-items.owl-carousel {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    #block61 .catalog-items.owl-carousel .owl-stage-outer {
        width: 100% !important;
        overflow: hidden !important;
    }

    #block61 .catalog-items.owl-carousel .owl-item>.catalog-item.obj {
        width: 100% !important;
        max-width: 100% !important;
    }

    #block61 .catalog-items .image-default img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    #block61 .catalog-items .obj {
        width: auto !important;
        max-width: 100% !important;
    }

    #block61 .catalog-item .blk_first {
        height: auto !important;
    }

    /* Block 26 (Популярные категории лекарств) — центр, полная ширина, равные отступы */
    #block26 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    #block26 .blk_body_wrap {
        overflow: hidden !important;
    }

    #block26 .subdivision-items {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    #block26 .subdivision-items>li.sub {
        width: auto !important;
        margin: 0 !important;
        float: none !important;
    }

    /* Block 53 (Позаботьтесь о своём здоровье) — центр, полная ширина, равные отступы */
    #block53 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    #block53 .blk_body_wrap {
        overflow: hidden !important;
    }

    #block53 .benefits-section {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    #block53 .benefit-card {
        width: auto !important;
    }

    #block53 .benefit-card img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Block 1 (ФАРМА+ надежная интернет-аптека) — центр, полная ширина, равные отступы */
    #block1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    #block1 .blk_body_wrap {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Block 54 (Преимущества) — центр, полная ширина, равные отступы */
    #block54 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    #block54 .blk_body_wrap {
        overflow: hidden !important;
    }

    #block54 .advantage-items {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
        /* симметричные края */
        box-sizing: border-box !important;
        list-style: none !important;
        display: grid !important;
        /* auto-fit растягивает существующие элементы и не оставляет «пустых» колонок справа */
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
        grid-auto-flow: row dense !important;
        gap: 12px !important;
        align-items: stretch !important;
        justify-items: stretch !important;
    }

    #block54 .blk_body {
        padding: 0 !important;
    }

    #block54 .advantage-items>li {
        width: auto !important;
        margin: 0 !important;
        float: none !important;
        padding: 0 !important;
    }

    /* убираем фикс ширины карточек внутри сетки */
    #block54 .advantage-items .obj {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* Явно выравниваем зону 9 (подвал/преимущества) на планшетах */
    #zone9 .container,
    #zone9 .container_12 {
        width: 100% !important;
        max-width: 100% !important;
    }

    #zone9 .blocks {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        clear: both !important;
    }

    a.vcatalog {
        padding: 8px 20px 9px;
        font-size: 14px;
    }

    .header_search .btn-strt input {
        padding: 4px 20px;
        font-size: 12px;
    }

    #block15 {
        width: 120px;
    }

    #block50 {
        width: 150px;
    }

    #block49 {
        width: 200px;
    }

    /* 🔹 Предотвращаем съезжание элементов шапки */
    .header_search,
    .header_search .btn-strt {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Разрешаем сжатие/перенос в шапке, чтобы высота считалась корректно */
    header,
    .header,
    .top-bar,
    .main-header {
        flex-wrap: wrap !important;
        white-space: normal !important;
        overflow: visible !important;
        /* Добавляем для выпадающих списков */
    }

    #header>section.blocks {
        flex: 0 1 auto !important;
    }

    /* Элементы шапки остаются в одной строке */
    .header>*,
    .top-bar>*,
    .main-header>* {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* 🔹 Скрываем каталог товаров справа на планшетах */
    #block39 {
        display: none !important;
    }

    /* Каталог видим и адаптивен на планшетах */
    #block58 {
        display: block !important;
        width: auto !important;
        flex: 0 1 auto;
    }

    #header {
        display: flex;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    #header>section.blocks {
        flex-shrink: 1 !important;
    }

    #block58 .menu-button {
        max-width: 100%;
    }

    #block58 .menu-button-head {
        display: inline-flex;
        align-items: center;
        height: 40px;
        border-radius: 20px;
        padding: 0 28px 0 42px;
        /* справа под стрелку, слева под бургер */
        box-sizing: border-box;
        min-width: 120px;
        max-width: 280px;
        flex: 1 1 auto;
        position: relative;
        overflow: visible;
        /* не режем псевдо-иконки */
    }

    #block58 .menu-button-head:before {
        /* бургер */
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    #block58 .menu-button-head:after {
        /* стрелка */
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    #block58 .menu-button-head>span {
        display: block;
        line-height: 40px;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        min-width: 0;
        /* позволяет тексту сжиматься внутри flex-контейнера */
        flex: 1 1 auto;
    }

    /* Заголовок над слайдером (#block62) — по центру, резина и ровные отступы */
    #block62 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    #block62 .blk_body_wrap {
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    #block62 h1 {
        text-align: center !important;
        margin: 0 auto !important;
        line-height: 1.3 !important;
    }

    #block62 h1,
    #block62 h1 span {
        font-size: clamp(18px, 2.6vw, 28px) !important;
    }

    /* Иконки (кабинет, избранное, корзина) — центрируем группу в шапке */
    /* Группа: WhatsApp/телефон + иконки стоят рядом и по центру */
    #block36 {
        margin-left: 0 !important;
    }

    #block5 {
        margin-right: 0 !important;
    }

    #block36,
    #block47,
    #block5 {
        align-self: center !important;
    }

    /* задаём порядок, чтобы блоки шли подряд: WhatsApp -> иконки */
    #block17 {
        order: 50 !important;
    }

    #block36 {
        order: 51 !important;
    }

    #block47 {
        order: 52 !important;
    }

    #block5 {
        order: 53 !important;
    }

    #block17,
    #block36,
    #block47,
    #block5 {
        flex: 0 0 auto !important;
    }

    #block36 .blk_body_wrap,
    #block47 .blk_body_wrap,
    #block5 .blk_body_wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        /* расстояние между иконками */
    }

    /* добавим локальные отступы к самим ссылкам/иконкам, если gap перебивается */
    #block36 .regper_link,
    #block47 .regper_link,
    #block5 .basket_mini_a {
        margin: 0 6px !important;
    }

    /* WhatsApp + телефон (блок #block17) по центру и на одном уровне с иконками */
    #block17 {
        width: auto !important;
    }

    #block17 .blk_body_wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        /* центрируем содержимое блока */
        gap: 12px !important;
        white-space: nowrap !important;
        min-width: 0 !important;
    }

    #block17 .whatsap a,
    #block17 .tel_lp_item a {
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1.2 !important;
    }

    #block17 .whatsap {
        margin-right: 6px !important;
    }

    #block17 .tel_lp_item {
        margin-left: 6px !important;
    }
}

@media (max-width: 960px) {
    a.vcatalog {
        padding: 6px 15px 7px;
        font-size: 12px;
    }

    .header_search .btn-strt input {
        padding: 3px 15px;
        font-size: 11px;
    }

    #block15 {
        width: 100px;
    }

    #block50 {
        width: 120px;
    }

    #block49 {
        width: 150px;
    }

    /* 🔹 Предотвращаем съезжание элементов шапки на средних экранах */
    .header_search,
    .header_search .btn-strt {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Предотвращаем перенос строк в шапке */
    header,
    .header,
    .top-bar,
    .main-header {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: visible !important;
        /* Добавляем для выпадающих списков */
    }

    /* Элементы шапки остаются в одной строке */
    .header>*,
    .top-bar>*,
    .main-header>* {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}

#block47 {
    width: 30px;
    top: -14px;
}

#block33 {

    width: 35%;
    padding-right: 8px;
}

#block15 {
    width: 150px;
}

#block50 .blockText.txt a span {
    padding-left: 22px;
    position: relative;
}

#block50 .blockText.txt a span:before {
    content: "\e9b5";
    position: absolute;
    left: 0;
    top: -1px;
    font-family: krz-font;
    font-size: 15px;
}

#block49 .blockText.txt:before {
    content: '\e9b6';
    font-family: 'krz-font';
    color: #0147b1;
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

#block49 .blockText.txt {
    padding-left: 24px;
    position: relative;
}

.regper_link.i_city:before {
    content: '\e91c';
    top: 13px;
    left: 0;
    font-size: 15px;
}

#block28 .blk_body {
    line-height: 35px;
}

#block28 .regper_link.iconsCol.icons.i_city {
    padding-left: 22px;
}

#block47 .regper_link.iconsCol.icons.i_favorite {
    width: 30px;
    height: 30px;
    font-size: 0;
}

#block47 .blk_body .iconsCol:before {
    color: #000000;
    width: 30px;
    height: 30px;
    background: url(/a/farma/files//userfiles/images/like.svg) no-repeat;
    top: 0;
    left: -1px;
    background-size: 95%;
    pointer-events: none;
    background-position: center;
}

a#link-favorite {
    width: 30px;
    height: 30px;
    text-decoration: none;
    border-bottom: none;
}

ul.header_menu>li.active>a>span.mn_sp_1:before {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 55px;
    height: 3px;
    content: '';
    background: rgb(1 71 177 / 40%);
    bottom: -2px;
    border-radius: 3px 3px 0 0;
}

.header_search .btn-strt input {
    background: #cc3d28;
}

.port-item-name {
    font-size: 16px;
    margin-bottom: 7px;
}

.port-item-data {
    padding: 15px;
    background: #f0f2f6;
}

.port-item-name a {
    text-decoration: none;
    color: #0147b1;
    FONT-WEIGHT: 600;
}

.portfolio-items .obj:hover .port-item-data {
    background: #dee5f4;
}

.portfolio-items .obj .port-item-data {
    transition: .2s all;
}

#block39 ul.menu_catalog>li:hover>a>span {
    color: #0147b1;
}

#block1 .text-items.txt {
    font-size: 16px;
}

#block26 {
    padding-top: 18px;
}

#block53 {
    margin-bottom: 13px;
}

ul.header_menu>li:hover>a>span.mn_sp_1 {
    background: transparent;
}

.template-2 .adv-info .image-default {
    width: 30%;
}

.template-2 .adv-data {
    width: 70%;
}

.template-2 .adv-name {
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    margin: 0 0 8px 0;
}

#block54 .adv-info {
    display: flex;
    align-items: center;
    padding: 20px;
}

#block54 .advantage-items .obj {
    box-shadow: 0 0 0 1px rgb(1 71 177 / 45%);
    min-height: 99px;
    display: flex;
    align-items: center;
}

#block54 .advantage-items {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
}

/* Растягиваем каждый элемент внутри сетки на всю ширину колонки */
@media (min-width: 781px) and (max-width: 1279px) {
    #block54 .advantage-items>li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        display: block !important;
        box-sizing: border-box !important;
        justify-self: stretch !important;
    }

    /* перебиваем все счётчики вида .count-advantage-4 */
    #block54 .count-advantage-4>li,
    #block54 .count-advantage-4 .obj {
        width: 100% !important;
        margin: 0 !important;
    }

    #block54 .advantage-items>li>*,
    #block54 .advantage-items .obj,
    #block54 .advantage-items .adv-info {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

#block54 .image-default {
    height: 50px;
    width: 50px;
}

#block54 .adv-data {
    width: calc(100% - 50px);
    padding: 0px 10px 0 15px;
}

#block1 {
    padding-bottom: 20px;
}

.icons.i_cart1:before {
    display: none;
}

.innerpage section#zone1 {
    border-bottom: 1px solid #dee5f4;
    margin-bottom: 30px;
}

.blocks.class2020 .obj {
    border-radius: 0;
}

#block3 .otzyvy_blk {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#block3 .otzyvy_blk .otzyv_item.obj:nth-child(4n) {
    margin-right: 0;
}

#block3 .otzyvy_blk .otzyv_item.obj {
    width: calc(100% / 4 - 10px);
    margin-right: 10px;
}

.otzyvy_blk .otz_name {
    color: #0147b1;
    font-size: 15px;
    font-weight: 500;
}

.otzyvy_blk .otz_text {
    color: #282828;
    font-size: 13px;
}

label.favorit_title {
    font-size: 14px;
    padding-left: 5px;
}

.cart-param {
    margin-top: 10px;
}

.fast_buy a {
    border-radius: 30px;
    font-weight: 500;
}

#lightcase-case.card-fast-prew a.mdl_podrobnee {
    border-radius: 30px;
    text-transform: none;
    margin-top: 10px;
}

.template-type2 .gallery,
.template-type2 .card_info_first,
.template-type2 .card_info_second {
    background: transparent;
    border: none;
}

.template-type2 .gallery {
    padding: 0;
}

.template-type2 .card_btn {
    width: auto;
}

.fast_buy.fast_buy_second a {
    padding: 0 10px;
}

span.basket_m_button:after {
    top: 0;
}

div#cart-param-2 th {
    vertical-align: top;
}

#block58 .blk_body {
    padding: 0px;
}

#block58 .menu-button {
    border: 1px solid #cacaca;
    border-radius: 30px;
    height: 46px;
    padding: 3px 19px;
}

.menu-button-body {
    max-height: 45vh !important;
    /* Устанавливаем фиксированную высоту для скролла */
    height: 45vh !important;
    /* Фиксированная высота */
    overflow-y: auto !important;
    /* Вертикальный скролл */
    overflow-x: hidden !important;
    width: 280px !important;
    min-width: 280px !important;
    background: #fff !important;
    border-radius: 12px !important;
    /* Закругляем углы */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    padding: 5px !important;
    position: absolute !important;
    z-index: 9999 !important;
    /* Увеличиваем z-index чтобы быть выше всех элементов */
    /* Убираем clip-path который обрезает содержимое */
    clip-path: none !important;
    /* Принудительно показываем весь контент */
    display: block !important;
    visibility: visible !important;
    /* Убираем любые ограничения */
    min-height: auto !important;
    /* Убираем любые трансформации */
    transform: none !important;
    filter: none !important;
}



/* Обычные пункты меню */
.menu-button-body li {
    max-width: 100% !important;
    overflow: visible !important;
    /* Убираем обрезание */
    text-overflow: clip !important;
    /* Убираем многоточие */
    white-space: normal !important;
    /* Разрешает перенос текста */
    word-wrap: break-word !important;
    /* Перенос длинных слов */
    word-break: break-word !important;
    /* Принудительный перенос */
    line-height: 1.4 !important;
    position: relative !important;
    /* Нужно для вложенных меню */
    padding: 10px 15px !important;
    /* Добавляем отступы для лучшей читаемости */
    border-bottom: 1px solid #f0f0f0 !important;
    /* Добавляем разделители между пунктами */
    margin: 0 !important;
    /* Убираем отступы */
    /* Принудительно показываем весь контент */
    display: block !important;
    visibility: visible !important;
    /* Убираем любые ограничения */
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    /* Убираем любые трансформации */
    transform: none !important;
    filter: none !important;
    /* Оптимизация для скролла */
    flex-shrink: 0 !important;
}

/* Убираем разделитель у последнего пункта */
.menu-button-body li:last-child {
    border-bottom: none !important;
}

/* Стилизация скроллбара для WebKit (Chrome, Safari) */
.menu-button-body::-webkit-scrollbar {
    width: 8px;
    /* Увеличиваем толщину скроллбара */
}

.menu-button-body::-webkit-scrollbar-thumb {
    background-color: #0147b1;
    /* Цвет ползунка - синий как в дизайне */
    border-radius: 4px;
    /* Скругление */
    border: 1px solid #fff;
    /* Белая рамка */
}

.menu-button-body::-webkit-scrollbar-thumb:hover {
    background-color: #003399;
    /* Темно-синий при наведении */
}

.menu-button-body::-webkit-scrollbar-track {
    background: #f8f9fa;
    /* Светло-серый фон скроллбара */
    border-radius: 4px;
}

/* Стили для Firefox */
.menu-button-body {
    scrollbar-width: thin !important;
    /* Тонкий скролл */
    scrollbar-color: #0147b1 #f8f9fa !important;
    /* Ползунок / трек - синий и светло-серый */
}

/* 🔹 СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ ПРЕДОТВРАЩЕНИЯ КОНФЛИКТОВ С ШАПКОЙ */
/* Принудительно убираем влияние глобальных стилей шапки на выпадающий список */
.menu-button-body,
.menu-button-body * {
    /* Принудительно показываем весь контент */
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    /* Убираем любые ограничения */
    max-height: none !important;
    height: auto !important;
    min-height: auto !important;
    /* Принудительно показываем */
    display: block !important;
    visibility: visible !important;
    /* Убираем любые трансформации */
    transform: none !important;
    filter: none !important;
}

/* 🔹 ПРИНУДИТЕЛЬНО ВОССТАНАВЛИВАЕМ СКРОЛЛ И ВЫСОТУ */
/* Перезаписываем все конфликтующие стили для выпадающего списка */
.menu-button-body {
    max-height: 45vh !important;
    /* Фиксированная высота для скролла */
    height: 45vh !important;
    /* Фиксированная высота */
    overflow-y: auto !important;
    /* Вертикальный скролл */
    overflow-x: hidden !important;
    width: 280px !important;
    min-width: 280px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    padding: 5px !important;
    position: absolute !important;
    z-index: 9999 !important;
    clip-path: none !important;
    display: block !important;
    visibility: visible !important;
    min-height: auto !important;
    transform: none !important;
    filter: none !important;
}

/* 🔹 ПРИНУДИТЕЛЬНО УБИРАЕМ ВЛИЯНИЕ ГЛОБАЛЬНЫХ СТИЛЕЙ ШАПКИ */
/* Все родительские контейнеры выпадающего списка не должны блокировать его */
#block58 .menu-button-body,
#block58 .menu-button-body * {
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    /* Убираем любые ограничения */
    max-height: none !important;
    height: auto !important;
    min-height: auto !important;
    /* Принудительно показываем */
    display: block !important;
    visibility: visible !important;
    /* Убираем любые трансформации */
    transform: none !important;
    filter: none !important;
}

/* 🔹 ПРИНУДИТЕЛЬНО ВОССТАНАВЛИВАЕМ СКРОЛЛ И ВЫСОТУ ДЛЯ РОДИТЕЛЬСКИХ КОНТЕЙНЕРОВ */
#block58 .menu-button-body {
    max-height: 45vh !important;
    /* Фиксированная высота для скролла */
    height: 45vh !important;
    /* Фиксированная высота */
    overflow-y: auto !important;
    /* Вертикальный скролл */
    overflow-x: hidden !important;
}

/* 🔹 СПЕЦИАЛЬНАЯ ЗАЩИТА ВЫПАДАЮЩЕГО СПИСКА ОТ СТИЛЕЙ ШАПКИ */
/* Принудительно убираем влияние overflow: hidden с шапки на выпадающий список */
header .menu-button-body,
.header .menu-button-body,
.top-bar .menu-button-body,
.main-header .menu-button-body,
.header-wrapper .menu-button-body,
header #block58,
.header #block58,
.top-bar #block58,
.main-header #block58,
.header-wrapper #block58 {
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    max-height: none !important;
    height: auto !important;
    min-height: auto !important;
    display: block !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}

/* 🔹 ПРИНУДИТЕЛЬНО ВОССТАНАВЛИВАЕМ СКРОЛЛ И ВЫСОТУ ДЛЯ ВСЕХ ВАРИАНТОВ */
header .menu-button-body,
.header .menu-button-body,
.top-bar .menu-button-body,
.main-header .menu-button-body,
.header-wrapper .menu-button-body {
    max-height: 45vh !important;
    /* Фиксированная высота для скролла */
    height: 45vh !important;
    /* Фиксированная высота */
    overflow-y: auto !important;
    /* Вертикальный скролл */
    overflow-x: hidden !important;
}

#zone1 .zone-bg {
    background-color: #fff;
}

.mainpage h1 {
    font-size: 26px;
    color: #0147b1;
}

.nostock,
.nostock::before {
    color: #0348b2;
    border-color: #84a6d9;
}

h1 {
    font-size: 33px;
}

/* Обёртка для всех карточек */
.benefits-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    /* Растягивает карточки до одинаковой высоты */

}

/* Карточка */
.benefit-card {
    width: 300px;
    background: white;
    border-radius: 12px;
    /* Более плавные углы */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    /* Позволяет текстовому блоку растягиваться */
    justify-content: space-between;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Изображение */
.benefit-card img {
    width: 300px;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Текстовый блок */
.benefit-info {
    flex-grow: 1;
    /* Растягивает блок, чтобы все карточки были одинаковыми */
    padding: 15px;
    background: #eef3ff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Выравниваем текст вверху */
}

/* Заголовок */
.benefit-info h3 {
    color: #003399;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Описание */
.benefit-info p {
    font-size: 14px;
    color: #333;
    flex-grow: 1;
    /* Растягивает текст, чтобы кнопки были на одной линии */
}

.whatsapp-button {
    position: fixed;
    right: 30px;
    bottom: 74px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #25D366;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23FFF' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3e%3c/svg%3e");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.whatsapp-button:before,
.whatsapp-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #25D366;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}

.whatsapp-button:after {
    animation-delay: .5s;
}

@keyframes border-animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

#bottombut {
    bottom: 27px;
    right: 60px;
}

.whatsap {
    color: #38c500;
    position: relative;
    display: block;
}

.whatsap:before {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 2px;
    content: '\e986';
    font-family: 'krz-font' !important;
    font-size: 16px;
    color: #38c500;
    line-height: 20px;
}

.whatsap a {
    text-decoration: none;
    border-bottom: 1px dotted;
    display: inline-block;
    line-height: 14px;
}

.podbor_checkb {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

.podbor_name {
    font-weight: 700;
}

#block17 .blk_body {
    line-height: 102px;
}

ul.filter-for-name>li.filter-letter {
    border: 1px solid #1152b4;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
    position: relative;
    cursor: pointer;
    color: #0f50b3;
    background: rgba(84, 85, 92, 0.03);
    font-weight: 700;
    margin-right: 2px;
    margin-bottom: 5px;
    border-radius: 5px;
}

ul.filter-names li a {
    font-size: 12px;
    color: #0f50b3;
}

.filter-name li {
    border-radius: 5px;
}

ul.filter-names {
    border: 1px solid rgb(7 74 176);
    border-radius: 5px;
}

.filter-for-name-box {
    padding-left: 2px;
}

#block66 .blk_body {
    padding: unset;
}

.benefit-title {
    font-weight: 600;
    color: #0050c7;
    /* синий как в других карточках */
    font-size: 18px;
    margin-bottom: 8px;
    text-align: center;
}

.benefit-description {
    text-align: center;
}

/* 🔹 ФИНАЛЬНОЕ ПРАВИЛО ДЛЯ СКРОЛЛА И ВЫСОТЫ ВЫПАДАЮЩЕГО СПИСКА */
/* Это правило должно быть последним и перезаписывать все остальные */
.menu-button-body,
#block58 .menu-button-body,
header .menu-button-body,
.header .menu-button-body,
.top-bar .menu-button-body,
.main-header .menu-button-body,
.header-wrapper .menu-button-body {
    max-height: 45vh !important;
    /* Фиксированная высота для скролла */
    height: 45vh !important;
    /* Фиксированная высота */
    overflow-y: auto !important;
    /* Вертикальный скролл */
    overflow-x: hidden !important;
    width: 280px !important;
    min-width: 280px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    padding: 5px !important;
    position: absolute !important;
    z-index: 9999 !important;
    clip-path: none !important;
    display: block !important;
    visibility: visible !important;
    min-height: auto !important;
    transform: none !important;
    filter: none !important;
}

@media screen and (max-width: 1279px) and (min-width: 781px) {
    span.logo-subname {
        font-size: 12px !important;
    }

    .tel_lp_item,
    .tel_lp_item a {
        font-size: 16px;
    }

    #block17 {
        padding-right: 25px;
        width: 215px;
    }

    .icons.i_tel:before {
        font-size: 16px;
    }

    span.basket_m_price {
        top: 0;
        font-size: 12px;
    }

    #block5 .blk_body .iconsCol:before {
        top: 8px;
        width: 20px;
        height: 20px;
        left: -4px;
    }

    #logo.mainlogo-name .logo-img img {
        padding-right: 15px;
    }

    .slider-name span {
        font-size: 26px;
    }

    a.vcatalog {
        padding: 12px 30px 13px;
    }

    .slider-text {
        font-size: 26px;
    }

    .bannerText-center .slider-data {
        padding-left: 35px;
    }

    #block26 .blk_head .h2,
    #block26 .blk_head a,
    #block25 .blk_head .h2,
    #block25 .blk_head a,
    #block1 .blk_head .h2,
    #block1 .blk_head a,
    #block3 .blk_head .h2,
    #block3 .blk_head a {
        font-size: 24px;
    }

    #block21 {
        padding-left: 0;
        width: 215px;
        float: right;
    }

    .store_price {
        width: 140px;
    }

    .store_phone {
        width: 145px;
    }

    h3 {
        font-size: 15px;
    }

    #content .txt .obj {
        margin-bottom: 15px;
    }

    .difference_price {
        font-size: 12px;
    }

    .card_price_second .last_price {
        font-size: 16px;
    }

    .card_btn {
        width: 260px;
    }

    .mini_card_open_active .basket_mini_open .basket_mini_a {
        height: 21px;
    }

    .basket_blks .total_blk span.btn-strt {
        width: 250px;
    }

    #block33 {
        width: 385px;
        padding-right: 20px;
    }

    ul.header_menu>li>a>span.mn_sp_1 {
        padding: 12px 7px 12px;
    }

    .text_block,
    .txt,
    #block28 .regper_link a {
        font-size: 13px;
    }

    #block50 {
        width: 170px;
    }

    #block49 {
        width: 250px;
    }

    #block28 {
        width: 175px;
    }

    #block51 {
        width: 280px;
    }

    #block54 .adv-info {
        padding: 10px;
    }

    #block54 .image-default {
        height: 35px;
        width: 35px;
    }

    #block54 .adv-data {
        width: calc(100% - 35px);
        padding: 0px 0 0 10px;
    }

    #block54 .advantage-items .obj {
        min-height: 72px;
    }

    .template-2 .adv-name {
        font-size: 12px;
    }

    .otzyvy_blk .otz_title .kz_otz_time {
        margin-bottom: 7px;
    }

    h1 {
        font-size: 30px;
    }

    #block39 .blk_head .h2,
    #block39 .blk_head a {
        font-size: 20px;
    }

    /* 🔹 Исправления для планшетов - предотвращение съезжания кнопок */
    @media (max-width: 1280px) and (min-width: 780px) {

        /* 🔹 АДАПТИВНЫЕ БЛОКИ КОНТЕНТА */
        #block40 {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 15px !important;
            box-sizing: border-box !important;
        }

        /* 🔹 ПЕРЕНОС И ВЫРАВНИВАНИЕ БЛОКА КОНТАКТОВ ВЛЕВО (НЕ ОБРЕЗАЕМСЯ) */
        #block19 {
            width: 300px !important;
            min-width: 300px !important;
            max-width: 300px !important;
            margin: 0 10px 0 0 !important;
            /* стабильный отступ от правого края */
            padding: 0 15px !important;
            box-sizing: border-box !important;
            float: right !important;
            /* при классической сетке прижимаем вправо */
            clear: none !important;
            overflow: visible !important;
            text-align: left !important;
            display: block !important;
            flex: 0 0 300px !important;
            /* фиксируем базис в flex-контейнере */
            align-self: center !important;
            /* выравнивание для flex */
            justify-self: end !important;
            /* выравнивание для grid - к правому краю */
            position: relative !important;
            left: auto !important;
            right: auto !important;
            transform: none !important;
        }

        #block19 .blk_head,
        #block19 .blk_body {
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
            overflow: visible !important;
        }

        #block19 .contacts-items,
        #block19 .contacts-items .obj {
            width: 100% !important;
            max-width: 100% !important;
            overflow: visible !important;
        }

        #block19 .blk_body_wrap {
            width: auto !important;
            max-width: 100% !important;
        }

        /* 🔹 АДАПТИВНАЯ СЕТКА */
        .container-zone {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 15px !important;
            box-sizing: border-box !important;
        }

        /* 🔹 Планшеты: растягиваем блок слайдера #block4 на всю ширину */
        #block4.blocks.grid_9 {
            width: 100% !important;
            max-width: 100% !important;
            float: none !important;
            margin: 0 !important;
        }

        /* Как на мобильной: убираем внутренние отступы у обёртки слайдера */
        #block4 .blk_body,
        #block4 .blk_body_wrap {
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
        }

        /* Слайдер внутри #block4: 100% ширины (поля уже у родителя) */
        #block4 section.slider-items {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 !important;
            box-sizing: border-box !important;
            margin: 0 auto !important;
            overflow: hidden !important;
        }

        #block4 .slider-img,
        #block4 .slider-img img {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            object-fit: cover !important;
        }

        /* Перебиваем style.css: там img у слайда ставят width:auto !important */
        #block4 section.slider-items .slider-item .slider-img>img,
        #block4 section.slider-items .slider-item>img {
            width: 100% !important;
            height: auto !important;
            object-fit: cover !important;
            display: block;
        }

        /* Центрируем и даём внутренние поля, как у контента */
        #block4 .blk_body_wrap {
            padding-left: 15px !important;
            padding-right: 15px !important;
            box-sizing: border-box !important;
            margin: 0 auto !important;
        }

        #block4 .bannerText-center .slider-data {
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            padding: 0 15px 0 15px !important;
            /* уменьшаем левый отступ до 15px */
            box-sizing: border-box !important;
            top: 0 !important;
            text-align: left !important;
        }

        /* 🔹 Планшеты: каталог-слидер тянется/сжимается по ширине экрана */
        .catalog-items.owl-carousel {
            width: calc(100% - 30px) !important;
            /* по 15px слева/справа */
            max-width: 100% !important;
            padding: 0 !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
        }

        .catalog-items.owl-carousel .owl-stage-outer {
            width: 100% !important;
            overflow: hidden !important;
        }

        /* Карточки и изображения остаются адаптивными внутри контейнера */
        .catalog-items .image-default img {
            width: 100% !important;
            height: auto !important;
            object-fit: cover !important;
        }

        /* 🔹 ГЛОБАЛЬНАЯ АДАПТИВНОСТЬ КОНТЕНТА НА ПЛАНШЕТАХ */
        html,
        body,
        #site,
        #main,
        #content,
        .page-content {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 auto !important;
            overflow-x: hidden !important;
        }

        .container,
        .container_12,
        .container.container_12,
        .zone .container,
        .container-zone {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 15px !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
        }

        .blocks,
        .blk_head,
        .blk_body,
        .block,
        .obj {
            max-width: 100% !important;
            box-sizing: border-box !important;
            overflow: visible !important;
        }

        /* 🔹 СЛАЙДЕРЫ И МЕДИА */
        section.slider-items,
        .slider-items,
        .slider,
        .owl-carousel {
            width: 100% !important;
            max-width: 100% !important;
        }

        .slider-img {
            width: 100% !important;
            max-width: 100% !important;
        }

        iframe,
        video {
            max-width: 100% !important;
            width: 100% !important;
            height: auto !important;
        }

        /* 🔹 ГРИД КОЛОНКИ В ПРОЦЕНТАХ */
        .grid_12 {
            width: 100% !important;
        }

        .grid_9 {
            width: 75% !important;
        }

        .grid_8 {
            width: 66.666% !important;
        }

        .grid_6 {
            width: 50% !important;
        }

        .grid_4 {
            width: 33.333% !important;
        }

        .grid_3 {
            width: 25% !important;
        }

        [class*="grid_"] {
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        /* 🔹 АДАПТИВНЫЕ КНОПКИ И ПОИСК */
        a.vcatalog {
            padding: 8px 15px 9px !important;
            font-size: 14px !important;
            white-space: nowrap !important;
            width: auto !important;
            min-width: 120px !important;
            max-width: 200px !important;
        }

        .header_search {
            width: auto !important;
            min-width: 200px !important;
            max-width: 400px !important;
            flex: 1 !important;
        }

        .header_search .btn-strt input {
            padding: 4px 15px !important;
            font-size: 12px !important;
            white-space: nowrap !important;
            width: 100% !important;
        }

        /* 🔹 АДАПТИВНАЯ ШАПКА */
        header,
        .header,
        .top-bar,
        .main-header {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 15px !important;
            box-sizing: border-box !important;
        }

        /* 🔹 СКРЫВАЕМ ПРАВЫЙ КАТАЛОГ НА ПЛАНШЕТАХ */
        #block39 {
            display: none !important;
        }

        /* 🔹 СКРЫВАЕМ ЛЕВЫЙ СТАТИЧНЫЙ КАТАЛОГ НА ПЛАНШЕТАХ */
        #block60 {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            position: absolute !important;
            left: -9999px !important;
            top: -9999px !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
        }

        /* 🔹 ИСПРАВЛЯЕМ ВЫПАДАЮЩИЙ СПИСОК КАТАЛОГА */
        .menu-button-body {
            max-height: 95vh !important;
            overflow-y: auto !important;
            clip-path: none !important;
        }

        .menu-button-body li {
            overflow: visible !important;
            text-overflow: clip !important;
            padding: 10px 15px !important;
            border-bottom: 1px solid #f0f0f0 !important;
            margin: 0 !important;
        }

        .menu-button-body li:last-child {
            border-bottom: none !important;
        }

        /* 🔹 ПРЕДОТВРАЩЕНИЕ ГОРИЗОНТАЛЬНЫХ СКРОЛЛОВ */
        body,
        html {
            overflow-x: hidden !important;
            overflow-y: auto !important;
            max-width: 100% !important;
        }

        #main,
        #content,
        #site {
            width: 100% !important;
            max-width: 100% !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
        }

        /* 🔹 АДАПТИВНАЯ ШАПКА - ПРЕДОТВРАЩЕНИЕ СЪЕЗЖАНИЯ НАДПИСЕЙ */
        .top-bar,
        .header-top {
            display: flex !important;
            flex-wrap: nowrap !important;
            /* НЕ ПЕРЕНОСИМ НА НОВУЮ СТРОКУ! */
            gap: 8px !important;
            /* Уменьшаем отступы между элементами */
            justify-content: flex-start !important;
            align-items: flex-start !important;
            padding: 10px 15px !important;
            box-sizing: border-box !important;
            overflow: visible !important;
            /* Показываем все элементы */
        }

        .top-bar>*,
        .header-top>* {
            flex-shrink: 1 !important;
            /* ЭЛЕМЕНТЫ СЖИМАЮТСЯ ПОД РАЗМЕР ЭКРАНА! */
            white-space: nowrap !important;
            margin: 0 !important;
            min-width: auto !important;
            /* Убираем минимальную ширину */
            max-width: none !important;
            /* Убираем максимальную ширину */
        }

        /* 🔹 АДАПТИВНЫЕ ЭЛЕМЕНТЫ ШАПКИ */
        .regper_link.i_city {
            margin-right: 15px !important;
            /* Уменьшаем отступ */
        }

        .regper_link.i_sendmail {
            margin-right: 15px !important;
            /* Уменьшаем отступ */
        }

        /* 🔹 АДАПТИВНОЕ МЕНЮ ШАПКИ - ВСЕ В ОДНОЙ СТРОКЕ! */
        ul.header_menu {
            display: flex !important;
            flex-wrap: nowrap !important;
            /* НЕ ПЕРЕНОСИМ НА НОВУЮ СТРОКУ! */
            gap: 5px !important;
            /* Минимальные отступы между пунктами */
            justify-content: flex-start !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: visible !important;
            /* Показываем все элементы */
        }

        ul.header_menu>li {
            flex-shrink: 1 !important;
            /* ЭЛЕМЕНТЫ СЖИМАЮТСЯ ПОД РАЗМЕР ЭКРАНА! */
            white-space: nowrap !important;
            min-width: auto !important;
            /* Убираем минимальную ширину */
            max-width: none !important;
            /* Убираем максимальную ширину */
        }

        ul.header_menu>li>a>span.mn_sp_1 {
            padding: 6px 8px !important;
            /* Уменьшаем отступы */
            font-size: 12px !important;
            /* Уменьшаем размер шрифта */
            white-space: nowrap !important;
            overflow: visible !important;
            /* Показываем весь текст */
            text-overflow: clip !important;
            /* Не обрезаем текст */
        }

        /* 🔹 АДАПТИВНЫЙ ПОДВАЛ */
        .benefits-section {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 15px !important;
            justify-content: flex-start !important;
            align-items: flex-start !important;
            padding: 20px 15px !important;
            box-sizing: border-box !important;
        }

        .benefits-section .benefit-item {
            flex: 1 1 200px !important;
            min-width: 200px !important;
            max-width: 300px !important;
            margin-bottom: 15px !important;
        }

        /* 🔹 АДАПТИВНЫЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ - РАЗМЕРЫ НЕ МЕНЯЮТСЯ, ТОЛЬКО ПЕРЕНОС! */
        .advantage-item,
        .advantage-item.obj {
            display: flex !important;
            flex: 0 0 auto !important;
            /* НЕ РАСТЯГИВАЕМСЯ И НЕ СЖИМАЕМСЯ */
            width: 180px !important;
            /* Фиксированная ширина как у 4-го блока */
            min-width: 180px !important;
            /* Минимальная ширина */
            max-width: 180px !important;
            /* Максимальная ширина */
            margin: 0 5px 10px 0 !important;
            /* Отступы между элементами */
            box-sizing: border-box !important;
            min-height: 72px !important;
        }

        /* 🔹 АДАПТИВНАЯ ОБЕРТКА ЭЛЕМЕНТОВ ПРЕИМУЩЕСТВ */
        .advantage-items {
            display: flex !important;
            flex-wrap: wrap !important;
            /* ПЕРЕНОСИМ НА НОВУЮ СТРОКУ! */
            gap: 10px !important;
            /* Отступы между элементами */
            justify-content: flex-start !important;
            /* ВЫРАВНИВАЕМ ПО ЛЕВОМУ КРАЮ! */
            align-items: flex-start !important;
            /* Выравниваем по верху */
            padding: 10px !important;
            /* Отступы */
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        /* 🔹 ПРИНУДИТЕЛЬНО ИСПРАВЛЯЕМ #block54 - ПЕРЕНАСИМ ЭЛЕМЕНТЫ! */
        #block54 .advantage-items {
            display: flex !important;
            flex-wrap: wrap !important;
            /* ПЕРЕНОСИМ НА НОВУЮ СТРОКУ! */
            gap: 10px !important;
            /* Уменьшаем отступы между элементами */
            justify-content: flex-start !important;
            /* ВЫРАВНИВАЕМ ПО ЛЕВОМУ КРАЮ! */
            align-items: flex-start !important;
            /* Выравниваем по верху */
            padding: 10px !important;
            /* Уменьшаем отступы */
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            overflow: visible !important;
            /* Показываем все элементы */
        }

        /* 🔹 КОМПАКТНЫЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ - ФИКСИРОВАННАЯ ШИРИНА */
        #block54 .advantage-items .obj {
            flex: 0 0 auto !important;
            /* НЕ РАСТЯГИВАЕМСЯ И НЕ СЖИМАЕМСЯ */
            width: 180px !important;
            /* Фиксированная ширина как у 4-го блока */
            min-width: 180px !important;
            /* Минимальная ширина */
            max-width: 180px !important;
            /* Максимальная ширина */
            margin: 0 5px 10px 0 !important;
            /* Отступы между элементами */
            box-sizing: border-box !important;
            min-height: 72px !important;
            display: flex !important;
            align-items: flex-start !important;
            overflow: visible !important;
            /* Показываем все содержимое */
            padding: 0 !important;
            /* Убираем внутренние отступы */
        }

        #block54 .adv-info {
            display: flex !important;
            align-items: flex-start !important;
            padding: 10px !important;
            /* Стандартные отступы */
            width: 100% !important;
            box-sizing: border-box !important;
            flex-wrap: wrap !important;
            /* ПЕРЕНОСИМ ТЕКСТ НА НОВУЮ СТРОКУ! */
            gap: 10px !important;
            /* Отступ между иконкой и текстом */
            justify-content: flex-start !important;
            min-height: 72px !important;
        }

        #block54 .image-default {
            height: 35px !important;
            /* Возвращаем стандартный размер иконки */
            width: 35px !important;
            flex-shrink: 0 !important;
            /* Иконка не сжимается */
            margin: 0 !important;
        }

        #block54 .adv-data {
            flex: 0 1 auto !important;
            /* Текст НЕ растягивает блок */
            min-width: 0 !important;
            /* Позволяет сжиматься */
            padding: 0 !important;
            /* Убираем отступы */
            overflow: visible !important;
            /* Показываем весь текст */
            width: auto !important;
            /* Автоматическая ширина по содержимому */
            max-width: calc(100% - 45px) !important;
            /* Максимальная ширина минус иконка и отступ */
        }

        #block54 .adv-name {
            font-size: 12px !important;
            /* Стандартный размер шрифта */
            white-space: normal !important;
            /* ПЕРЕНОСИМ ТЕКСТ НА НОВУЮ СТРОКУ! */
            overflow: visible !important;
            /* Показываем весь текст */
            text-overflow: clip !important;
            /* Не обрезаем текст */
            word-wrap: break-word !important;
            /* Переносим длинные слова */
            line-height: 1.3 !important;
            /* Оптимальная высота строки */
            margin: 0 !important;
        }

        /* 🔹 АДАПТИВНЫЕ КОЛОНКИ ПОДВАЛА */
        .footer-content {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 20px !important;
            justify-content: flex-start !important;
            align-items: flex-start !important;
            padding: 20px 15px !important;
            box-sizing: border-box !important;
        }

        .footer-column {
            flex: 1 1 250px !important;
            min-width: 250px !important;
            margin-bottom: 20px !important;
        }

        /* 🔹 АДАПТИВНЫЕ ИКОНКИ И ТЕКСТ */
        .benefit-icon,
        .footer-icon {
            width: 40px !important;
            height: 40px !important;
            flex-shrink: 0 !important;
        }

        .benefit-title,
        .footer-title {
            font-size: 16px !important;
            margin-bottom: 8px !important;
            white-space: normal !important;
            word-wrap: break-word !important;
        }

        .benefit-description,
        .footer-text {
            font-size: 14px !important;
            line-height: 1.4 !important;
            white-space: normal !important;
            word-wrap: break-word !important;
        }

        /* 🔹 КОМПАКТНЫЕ ВНУТРЕННИЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ */
        .advantage-item .adv-info {
            display: flex !important;
            align-items: flex-start !important;
            gap: 10px !important;
            width: 100% !important;
            min-height: 72px !important;
            padding: 10px !important;
            box-sizing: border-box !important;
            flex-wrap: wrap !important;
            /* ПЕРЕНОСИМ ТЕКСТ НА НОВУЮ СТРОКУ! */
            justify-content: flex-start !important;
            align-items: flex-start !important;
        }

        .advantage-item .image-default {
            height: 35px !important;
            width: 35px !important;
            flex-shrink: 0 !important;
            /* Иконка не сжимается */
            margin: 0 !important;
        }

        .advantage-item .adv-data {
            flex: 0 1 auto !important;
            /* Текст НЕ растягивает блок */
            min-width: 0 !important;
            /* Позволяет сжиматься */
            padding: 0 !important;
            overflow: visible !important;
            /* Показываем весь текст */
            width: auto !important;
            /* Автоматическая ширина по содержимому */
            max-width: calc(100% - 45px) !important;
            /* Максимальная ширина минус иконка и отступ */
        }

        .advantage-item .adv-name {
            font-size: 12px !important;
            white-space: normal !important;
            /* ПЕРЕНОСИМ ТЕКСТ НА НОВУЮ СТРОКУ! */
            overflow: visible !important;
            /* Показываем весь текст */
            text-overflow: clip !important;
            /* Не обрезаем текст */
            word-wrap: break-word !important;
            /* Переносим длинные слова */
            line-height: 1.3 !important;
            /* Оптимальная высота строки */
            margin: 0 !important;
        }



        /* 🔹 УМЕНЬШАЕМ ШИРИНУ БЛОКА ГОРОДА В 2 РАЗА ДЛЯ ПЛАНШЕТОВ */
        #block28 {
            width: 87.5px !important;
            /* 175px / 2 = 87.5px */
            min-width: 87.5px !important;
            max-width: 87.5px !important;
            padding: 0 !important;
            margin: 0 !important;
            box-sizing: border-box !important;
        }

        #block28 .blk_body {
            width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        #block28 .regper_link.iconsCol.icons.i_city {
            padding-left: 15px !important;
            /* Уменьшаем отступ для иконки */
            font-size: 12px !important;
            /* Уменьшаем размер шрифта */
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        #block28 .regper_link.iconsCol.icons.i_city a {
            font-size: 12px !important;
            /* Уменьшаем размер шрифта ссылки */
            padding: 5px 0 !important;
            /* Уменьшаем вертикальные отступы */
            display: block !important;
            width: 100% !important;
            text-align: left !important;
        }

        /* 🔹 ПРЕДОТВРАЩЕНИЕ СЪЕЗЖАНИЯ НАДПИСЕЙ В ШАПКЕ */
        /* Принудительно убираем перенос строк для всех элементов шапки */
        .top-bar,
        .header-top,
        .main-header {
            flex-wrap: nowrap !important;
            white-space: nowrap !important;
            overflow: visible !important;
        }

        /* Элементы шапки не сжимаются и не переносятся */
        .top-bar>*,
        .header-top>*,
        .main-header>* {
            flex-shrink: 0 !important;
            white-space: nowrap !important;
            min-width: auto !important;
            max-width: none !important;
            overflow: visible !important;
        }

        /* Меню навигации всегда в одной строке */
        ul.header_menu {
            flex-wrap: nowrap !important;
            white-space: nowrap !important;
            overflow: visible !important;
            gap: 8px !important;
        }

        ul.header_menu>li {
            flex-shrink: 0 !important;
            white-space: nowrap !important;
            min-width: auto !important;
            max-width: none !important;
            overflow: visible !important;
        }

        ul.header_menu>li>a>span.mn_sp_1 {
            padding: 6px 8px !important;
            font-size: 12px !important;
            white-space: nowrap !important;
            overflow: visible !important;
            text-overflow: clip !important;
        }

        /* Уменьшаем отступы между элементами шапки */
        .regper_link.i_city {
            margin-right: 15px !important;
        }

        .regper_link.i_sendmail {
            margin-right: 15px !important;
        }

        /* 🔹 КОМПАКТНЫЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ - ФИКСИРОВАННАЯ ШИРИНА */
        /* При ширине экрана от 781px до 1280px элементы автоматически переносятся */
        #block54 .advantage-items .obj:nth-child(3),
        #block54 .advantage-items .obj:nth-child(4) {
            flex: 0 0 auto !important;
            /* НЕ РАСТЯГИВАЕМСЯ И НЕ СЖИМАЕМСЯ */
            width: 180px !important;
            /* Фиксированная ширина как у 4-го блока */
            min-width: 180px !important;
            /* Минимальная ширина */
            max-width: 180px !important;
            /* Максимальная ширина */
            margin: 0 5px 10px 0 !important;
            /* Отступы между элементами */
            clear: none !important;
            /* Убираем принудительный перенос */
        }

        /* 🔹 ПРИНУДИТЕЛЬНО ПЕРЕНОСИМ ВСЕ ЭЛЕМЕНТЫ ПРИ НЕХВАТКЕ МЕСТА */
        #block54 .advantage-items {
            flex-wrap: wrap !important;
            /* ПЕРЕНОСИМ НА НОВУЮ СТРОКУ! */
            justify-content: flex-start !important;
            /* ВЫРАВНИВАЕМ ПО ЛЕВОМУ КРАЮ! */
            align-items: flex-start !important;
            /* Выравниваем по верху */
            gap: 10px !important;
            /* Отступы между элементами */
            width: 100% !important;
            max-width: 100% !important;
            overflow: visible !important;
            /* Показываем все элементы */
        }



        /* 🔹 КОМПАКТНЫЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ - ФИКСИРОВАННАЯ ШИРИНА */
        .advantage-items.template-2.count-advantage-4 .advantage-item.obj:nth-child(3),
        .advantage-items.template-2.count-advantage-4 .advantage-item.obj:nth-child(4) {
            flex: 0 0 auto !important;
            /* НЕ РАСТЯГИВАЕМСЯ И НЕ СЖИМАЕМСЯ */
            width: 180px !important;
            /* Фиксированная ширина как у 4-го блока */
            min-width: 180px !important;
            /* Минимальная ширина */
            max-width: 180px !important;
            /* Максимальная ширина */
            margin: 0 5px 10px 0 !important;
            /* Отступы между элементами */
            clear: none !important;
            /* Убираем принудительный перенос */
        }

        /* 🔹 АДАПТИВНЫЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ - АВТОМАТИЧЕСКИ ПОДСТРАИВАЮТСЯ ПОД ШИРИНУ ЭКРАНА */
        .advantage-items.template-2.count-advantage-4 {
            display: flex !important;
            flex-wrap: wrap !important;
            /* ПЕРЕНОСИМ НА НОВУЮ СТРОКУ! */
            gap: 10px !important;
            /* Отступы между элементами */
            justify-content: flex-start !important;
            /* ВЫРАВНИВАЕМ ПО ЛЕВОМУ КРАЮ! */
            align-items: flex-start !important;
            /* Выравниваем по верху */
            width: 100% !important;
            max-width: 100% !important;
            overflow: visible !important;
            /* Показываем все элементы */
            padding: 10px !important;
            box-sizing: border-box !important;
        }

        /* 🔹 КОМПАКТНЫЕ ЭЛЕМЕНТЫ ПРЕИМУЩЕСТВ - ФИКСИРОВАННАЯ ШИРИНА */
        .advantage-items.template-2.count-advantage-4 .advantage-item.obj {
            flex: 0 0 auto !important;
            /* НЕ РАСТЯГИВАЕМСЯ И НЕ СЖИМАЕМСЯ */
            width: 180px !important;
            /* Фиксированная ширина как у 4-го блока */
            min-width: 180px !important;
            /* Минимальная ширина */
            max-width: 180px !important;
            /* Максимальная ширина */
            margin: 0 5px 10px 0 !important;
            /* Отступы между элементами */
            box-sizing: border-box !important;
            min-height: 72px !important;
            display: flex !important;
            align-items: flex-start !important;
            overflow: visible !important;
            padding: 0 !important;
        }

        /* 🔹 ПРАВИЛЬНЫЙ ПЕРЕНОС ТЕКСТА ВНУТРИ БЛОКОВ - ШИРИНА БЛОКОВ НЕ МЕНЯЕТСЯ */
        .advantage-item .adv-name,
        #block54 .adv-name {
            font-size: 12px !important;
            /* Стандартный размер шрифта */
            white-space: normal !important;
            /* ПЕРЕНОСИМ ТЕКСТ НА НОВУЮ СТРОКУ! */
            overflow: visible !important;
            /* Показываем весь текст */
            text-overflow: clip !important;
            /* Не обрезаем текст */
            word-wrap: break-word !important;
            /* Переносим длинные слова */
            word-break: break-word !important;
            /* Принудительно переносим слова */
            line-height: 1.3 !important;
            /* Оптимальная высота строки */
            margin: 0 !important;
            width: 100% !important;
            /* Текст занимает всю доступную ширину блока */
            box-sizing: border-box !important;
        }

        /* 🔹 КОМПАКТНЫЕ БЛОКИ КАК 4-Й БЛОК - ТЕКСТ ВМЕЩАЕТСЯ */
        .advantage-item,
        .advantage-item.obj,
        #block54 .advantage-items .obj {
            flex: 0 0 auto !important;
            /* НЕ РАСТЯГИВАЕМСЯ И НЕ СЖИМАЕМСЯ */
            width: 180px !important;
            /* Фиксированная ширина как у 4-го блока */
            min-width: 180px !important;
            /* Минимальная ширина */
            max-width: 180px !important;
            /* Максимальная ширина */
            margin: 0 5px 10px 0 !important;
            /* Отступы между элементами */
            box-sizing: border-box !important;
            min-height: 72px !important;
            display: flex !important;
            align-items: flex-start !important;
            overflow: visible !important;
            padding: 0 !important;
        }

        /* 🔹 ТОЧЕЧНО: уменьшаем элемент преимуществ с классом obj2692 на планшетах */
        #block54 .advantage-items .obj.obj2692 {
            width: 160px !important;
            min-width: 160px !important;
            max-width: 160px !important;
        }

        #block54 .advantage-items .obj.obj2692 .adv-info {
            padding: 8px !important;
        }

        #block54 .advantage-items .obj.obj2692 .image-default {
            height: 30px !important;
            width: 30px !important;
        }

        #block54 .advantage-items .obj.obj2692 .adv-name {
            font-size: 11px !important;
            line-height: 1.25 !important;
        }
    }
}

@media screen and (max-width: 780px) {
    #logo.mainlogo-name .logo-img img {
        height: 40px !important;
    }

    span.logo-subname {
        font-size: 12px !important;
    }

    .logo-img {
        margin-bottom: 0;
    }

    #block15 .blk_body a {
        padding: 10px 0;
    }

    #block25 {
        padding-top: 15px;
    }

    #block3 {
        margin-bottom: 0;
    }

    #zone10 {
        padding-top: 40px;
        padding-bottom: 0;
    }

    #block19 {
        margin-bottom: 0;
    }

    #block43 .blk_body {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #block43 .blk_body .blk_body_wrap {
        width: 300px;
    }

    #block21 {
        padding-left: 0 !important;
    }

    .btn-strt input {
        padding: 20px 25px 20px;
    }

    .mh-line-btn a {
        border-radius: 100px;
    }

    .mh-line-btn.mh-line-contacts a {
        background: #0147b1;
    }

    .tel_mobl {
        padding: 22px 15px 29px;
        text-align: left;
    }

    .regper_mobl.iconsCol.icons.i_sendmail a:before {
        content: '\e9ee';
        width: 20px;
        height: 20px;
        position: absolute;
        left: -25px;
        top: 4px;
        font-family: 'krz-font';
        font-size: 15px;
    }

    .tel_mobl .regper_mobl.icons:before {
        left: -25px;
    }

    #block40 .blk_body {
        text-align: center;
        padding: 0;
    }

    .zone-title,
    .zone-sort {
        background: #f6f8ff;
    }

    .subdivision-top .subivision-ul li.sub-li a {
        height: 40px;
    }

    .subdivision-items .sub,
    .subivision-ul .sub-li {
        min-height: 60px;
    }

    .subdivision-top .subivision-ul {
        padding: 20px 15px 0;
    }

    .subdiv-informaciya .subdivision-top .sub:first-child,
    .subdivision-top .sub-li:first-child,
    .subdiv-pomocsh .subdivision-top .sub:first-child,
    .subdiv-pomocsh .subdivision-top .sub-li:first-child {
        border-top: none;
    }

    .subdiv-informaciya .subdivision-top .subivision-ul .sub-li,
    .subdiv-pomocsh .subdivision-top .subivision-ul .sub-li,
    .subdiv-about .subdivision-top .subivision-ul .sub-li {
        border-bottom: none;
    }

    .subdivision-top .subivision-ul li.sub-li a span,
    .subdiv-about .subdivision-top .subivision-ul li.sub-li a span {
        color: white !important;
    }

    ul.subdivision-items .wrapper .name a {
        background: transparent;
    }

    .subdivision-items .wrapper {
        border-bottom: 1px solid rgb(223 223 223) !important;
    }

    .store-list .store {
        flex-wrap: wrap;
    }

    .catalog-item-full .store_price {
        padding: 20px 0;
    }

    #zone13 {
        display: none;
    }

    #zone1 .logo-img img {
        max-height: 65px;
    }

    section.slider-items .slider-item img {
        min-width: auto;
        min-height: auto;
        object-fit: cover;
    }

    #block54 .advantage-items {
        flex-wrap: wrap;
    }

    #block26 .blk_head {
        padding-bottom: 10px;
    }

    #block26 {
        padding-top: 25px;
    }

    #block53 {
        margin-bottom: 18px;
        padding-top: 22px;
    }

    #block1 {
        padding-bottom: 0;
    }

    #zone9 {
        padding-top: 40px;
        padding-bottom: 25px;
    }

    .blocks .blk_head,
    .blocks .blk_body,
    #content .blk_head {
        padding-left: 15px;
        padding-right: 15px;
    }

    #block1 .text-items.txt {
        font-size: 14px;
    }

    #block3 .otzyvy_blk .otzyv_item.obj {
        width: 100%;
        margin-right: 0;
    }

    #block3 .blk_head {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #zone11 {
        padding-bottom: 25px;
    }

    #logo .logo-img img {
        max-height: 65px;
    }

    .innerpage section#zone1 {
        border-bottom: none;
        margin-bottom: 0;
    }

    .template-type2 .gallery {
        padding: 21px;
    }

    /* 🔹 Адаптивность для мобильных */
    @media (max-width: 960px) {
        .benefits-section {
            flex-direction: column;
            /* Карточки в столбик */
            align-items: center;
        }

        .benefit-card {
            width: 90%;
            /* Уменьшаем ширину, чтобы красиво смотрелось */
            max-width: 300px;
            /* Ограничиваем максимальную ширину */
        }
    }

    .whatsapp-button {
        position: fixed;
        right: -8px;
        bottom: 50px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        width: 60px;
        height: 60px;
        z-index: 9999;
        background-color: #25D366;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23FFF' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3e%3c/svg%3e");
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .whatsapp-button:before,
    .whatsapp-button:after {
        content: " ";
        display: block;
        position: absolute;
        border: 1px solid #25D366;
        left: -20px;
        right: -20px;
        top: -20px;
        bottom: -20px;
        border-radius: 50%;
        animation: border-animate 1.5s linear infinite;
        opacity: 0;
    }

    .whatsapp-button:after {
        animation-delay: .5s;
    }

    @keyframes border-animate {
        0% {
            transform: scale(0.5);
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            transform: scale(1.2);
            opacity: 0;
        }
    }

    #bottombut {
        bottom: 24px !important;
        right: 25px;
    }

    .whatsap {

        color: #38c500;
        position: relative;
        padding-left: 30px;
        display: block;

    }

    h1 {
        font-size: 25px;
    }

    /* 🔹 Исправления для мобильных - предотвращение съезжания кнопок */
    @media (max-width: 780px) {

        /* Исправляем размеры блоков для мобильных */
        #block15 {
            width: 100% !important;
            min-width: 100%;
            margin-bottom: 10px;
        }

        #block50 {
            width: 100% !important;
            min-width: 100%;
            margin-bottom: 10px;
        }

        #block49 {
            width: 100% !important;
            min-width: 100%;
            margin-bottom: 10px;
        }

        #block28 {
            width: 100% !important;
            min-width: 100%;
            margin-bottom: 10px;
        }

        #block51 {
            width: 100% !important;
            min-width: 100%;
            margin-bottom: 10px;
        }

        /* Адаптируем кнопки для мобильных */
        a.vcatalog {
            padding: 6px 15px 7px;
            font-size: 12px;
            white-space: nowrap;
            display: block;
            text-align: center;
            margin-bottom: 5px;
        }

        .header_search .btn-strt input {
            padding: 3px 15px;
            font-size: 11px;
            white-space: nowrap;
        }

        /* Исправляем слайдер для мобильных */
        section.slider-items .slider-item img {
            min-width: 100%;
            max-width: 100%;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        /* Адаптируем поиск для мобильных */
        .header_search {
            margin-bottom: 15px;
        }

        /* Адаптируем меню для мобильных */
        ul.header_menu>li>a>span.mn_sp_1 {
            padding: 8px 5px 8px;
            font-size: 12px;
        }
    }
}