/*
Theme Name: XON
Theme URI: https://xon.uz
Author: IPROD
Description: Тема для ЧП «XON» — оргтехника, расходные материалы и сервис. Каталог на WooCommerce, услуги отдельным типом записей, демо-контент ставится в один клик.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xon
Tags: business, e-commerce, custom-menu, featured-images, translation-ready
*/

/* Базовые стили лежат в assets/css/main.css. Здесь — фирменная палитра XON
   (градиент логотипа) и разметка новых блоков главной. Файл подключается последним. */

/* ===================== 1. Палитра ===================== */
:root {
	--xon-navy: #001141;
	--xon-blue-900: #0a2a9a;
	--xon-blue-700: #0043ce;
	--xon-blue-500: #0f62fe;
	--xon-blue-300: #2b8af8;
	--xon-sky: #8cc6ff;
	--xon-grad: linear-gradient(120deg, #0032b8 0%, #0f62fe 62%, #146cf0 100%);
	--xon-grad-hover: linear-gradient(120deg, #001e7e 0%, #0043ce 58%, #0f62fe 100%);
	--xon-grad-header: linear-gradient(90deg, #001141 0%, #08237f 55%, #0a3fbf 100%);
	--xon-grad-dark: linear-gradient(100deg, #001141 0%, #06237a 48%, #0a3fbf 100%);
	--xon-card: #f3f5f9;
	--xon-card-hover: #e8edf6;
	--xon-hd: 125px; /* высота шапки (верхняя строка + меню) */
}

/* ===================== 2. Кнопки: перелив как в логотипе ===================== */
.rr-btn {
	background-color: #0f62fe;
	background-image: var(--xon-grad);
	color: #fff;
	isolation: isolate;
}
.rr-btn::before { content: none !important; }
.rr-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--xon-grad-hover);
	opacity: 0;
	transition: opacity .25s ease;
	z-index: -1;
	border-radius: inherit;
}
.rr-btn:hover,
.rr-btn:focus-visible { color: #fff; background-color: #0f62fe; background-image: var(--xon-grad); }
.rr-btn:hover::after { opacity: 1; }
.rr-btn.btn-hover-white:hover { color: #fff; }

.rr-btn.btn-white { background: #fff; color: var(--xon-navy); }
.rr-btn.btn-white::after { background: #e4eeff; }
.rr-btn.btn-white:hover { color: var(--xon-navy); background: #fff; }

.rr-btn.btn-transparent { background: transparent; color: var(--xon-navy); border: 2px solid var(--xon-blue-500); }
.rr-btn.btn-transparent::after { background-image: var(--xon-grad); }
.rr-btn.btn-transparent:hover { color: #fff; background: transparent; }
.rr-btn.btn-transparent.btn-text-color-white { color: #fff; border-color: rgba(255, 255, 255, .85); }
.rr-btn.btn-transparent.btn-text-color-white::after { background: #fff; }
.rr-btn.btn-transparent.btn-text-color-white:hover { color: var(--xon-navy); border-color: #fff; }

/* ===================== 3. Шапка: градиент, бренд-блок ===================== */
.header__area.header-2,
#header-sticky.rs-sticky { background: var(--xon-grad-header) !important; }
.header-top { background: rgba(0, 7, 36, .28) !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.xon-brand { display: inline-flex; align-items: center; text-decoration: none; }
.xon-brand__mark { height: 58px; width: auto; display: block; }
.footer-lead__brand .xon-brand__mark { height: 66px; }
.offcanvas__logo .xon-brand__mark { height: 46px !important; width: auto !important; max-width: none !important; }
@media (max-width: 1199px) {
	.xon-brand--header .xon-brand__mark { height: 50px; }
	.header__area#header-sticky .header__main { gap: 14px; }
	.header__area#header-sticky .header__main .main-menu nav > ul { gap: 10px; }
	.header__area#header-sticky .header__main .main-menu nav > ul > li > a { font-size: 13px; }
	.header__area#header-sticky .header__main .header__action { gap: 8px; }
	.header__area#header-sticky .header__btn-wrap .rr-btn { padding: 0 14px; min-height: 46px; font-size: 14px; }
}
@media (max-width: 575px) {
	.xon-brand__mark { height: 46px; }
}

/* ===================== 4. Подвал: чуть светлее ===================== */
.footer-lead__contact--phones a { color: inherit; }
.footer-lead__contact--phones a:hover { color: var(--xon-sky); }
.footer__area-common.background { background: #0c2a68; }
.footer__bottom-home-1-bg { background-color: #081f52; }
.footer-lead { border-bottom-color: rgba(255, 255, 255, .14); }
.footer__copyright p, .footer__copyright-note { color: rgba(255, 255, 255, .72); }
.footer__copyright-note a { color: var(--xon-sky); }
.footer__area-common { padding-top: 36px !important; }
.footer-lead { padding-bottom: 24px; margin-bottom: 24px; gap: 24px 40px; }
.footer-lead__brand p { margin-top: 12px; }
.footer-lead__contacts { gap: 14px 24px; }
.footer__widget-title h4 { margin-top: 0 !important; margin-bottom: 12px !important; font-size: 17px; }
.footer__link ul { grid-gap: 8px; }
.footer__link ul li a { font-size: 15px; line-height: 22px; padding: 2px 0; }
.footer-wrap > [class*="col-"] { margin-bottom: 12px !important; }
.footer__bottom { padding: 14px 0; }
.footer__area-common.background .footer-wrap { padding-bottom: 30px; }
.pswp { display: none !important; }
.footer__acc-btn { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; color: inherit; font: inherit; }
.footer__acc-icon { display: none; }
@media (max-width: 767px) {
	.footer-lead { padding-bottom: 18px; margin-bottom: 8px; gap: 18px; }
	.footer-lead__contacts { gap: 10px 20px; }
	.footer-wrap > [class*="col-"] { margin-bottom: 0 !important; }
	.footer__widget--acc { border-top: 1px solid rgba(255, 255, 255, .14); }
	.footer__widget--acc .footer__widget-title h4 { margin: 0 !important; }
	.footer__acc-btn { cursor: pointer; padding: 14px 64px 14px 0; -webkit-tap-highlight-color: transparent; }
	.footer__acc-icon { display: block; position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
	.footer__acc-icon::before, .footer__acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--xon-sky); border-radius: 2px; transition: transform .3s ease; }
	.footer__acc-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
	.footer__acc-icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
	.is-open .footer__acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
	.is-open .footer__acc-icon::before { transform: translate(-50%, -50%) rotate(180deg); }
	.footer__widget--acc .footer__link { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
	.footer__widget--acc .footer__link-inner { min-height: 0; overflow: hidden; }
	.footer__widget--acc .footer__link ul { padding-bottom: 6px; }
	.footer__widget--acc.is-open .footer__link { grid-template-rows: 1fr; }
	.footer__widget--acc .footer__link ul li a { padding: 6px 0; }
	.footer-wrap { padding-bottom: 10px; }
}

/* ===================== 5. Первый экран: фон клиента + настоящий текст ===================== */
.xon-hero { padding: var(--xon-hd) 0 0; }
.xon-hero .container { max-width: none; padding: 0; }
.xon-cats .container, .xon-pop .container { max-width: 1290px; }
.xon-hero__swiper { position: relative; background: #eaf0f8; height: calc(100vh - var(--xon-hd)); min-height: 560px; max-height: 1000px; }
.xon-hero__swiper .swiper-slide { height: 100%; }
.xon-hero__slide { position: relative; height: 100%; overflow: hidden; }
.xon-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.xon-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .62) 30%, rgba(255, 255, 255, .18) 52%, rgba(255, 255, 255, 0) 66%); }
.xon-hero .container.xon-hero__wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; max-width: 1320px; margin: 0 auto; padding: 0 15px; }
.xon-hero__content { max-width: 640px; padding: 56px 0 96px; }
.xon-hero__title { margin: 0 0 16px; font-family: var(--rr-ff-heading); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.xon-hero__title span { display: block; }
.xon-hero__title .is-navy { color: #0b1a3d; }
.xon-hero__title .is-blue { color: #1a6ff3; }
.xon-hero__lead { font-size: clamp(15px, 1.45vw, 22px); line-height: 1.35; color: #14213d; margin: 0 0 26px; max-width: 540px; }
.xon-hero__feats { list-style: none; margin: 0 0 30px; padding: 0; display: flex; gap: 12px; }
.xon-hero__feats li { display: flex; flex-direction: column; align-items: center; text-align: center; width: 130px; gap: 10px; font-size: 13.5px; line-height: 1.25; color: #0b1a3d; font-weight: 500; }
.xon-hero__ico { width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 2px solid #cfe0fb; display: inline-flex; align-items: center; justify-content: center; color: #1a6ff3; flex: 0 0 auto; }
.xon-hero__ico--sm { width: 42px; height: 42px; }
.xon-hero__ico--ring { width: 48px; height: 48px; background: transparent; border-color: #1a6ff3; color: #0b1a3d; }
.xon-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.xon-hero__pill { display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px; border-radius: 6px; background: linear-gradient(120deg, #0a2a8a 0%, #1457d8 100%); color: #fff; font-family: var(--rr-ff-heading); font-weight: 600; font-size: 15px; line-height: 1.2; }
.xon-hero__pill:hover, .xon-hero__pill:focus { color: #fff; }
.xon-hero__pill-ico { display: inline-flex; color: #fff; }
.xon-hero__pill-tag { background: var(--xon-grad); padding: 11px 16px; border-radius: 4px; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; font-weight: 700; }
.xon-hero__brands { position: absolute; left: 15px; bottom: 34px; display: inline-flex; align-items: center; gap: 30px; background: #fff; border-radius: 12px; padding: 14px 28px; }
.xon-hero__brands img { height: 34px; width: auto; display: block; }
.xon-hero__brands img[alt="HP"] { height: 44px; }
.xon-hero__brands img[alt="Epson"] { height: 30px; }
.xon-hero__brands--top { left: auto; right: 15px; top: 24px; bottom: auto; }
.xon-hero__extra { position: absolute; left: 15px; bottom: 34px; display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.xon-hero__extra li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #0b1a3d; max-width: 250px; line-height: 1.25; font-weight: 500; background: rgba(255, 255, 255, .86); border-radius: 999px; padding: 6px 16px 6px 6px; }
.xon-hero__side { display: none; }
.xon-hero__side li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #0b1a3d; max-width: 215px; line-height: 1.25; font-weight: 500; }
.xon-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
	background: rgba(255, 255, 255, .88); color: var(--xon-navy);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	transition: background .2s;
}
.xon-hero__nav:hover { background: #fff; }
.xon-hero__nav { top: auto; bottom: 30px; transform: none; }
.xon-hero__nav--prev { right: 160px; left: auto; }
.xon-hero__nav--next { right: 100px; }
.xon-hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.xon-hero__dot { width: 10px; height: 10px; border-radius: 5px; background: rgba(11, 26, 61, .3); border: 0; padding: 0; cursor: pointer; transition: width .2s, background .2s; }
.xon-hero__dot.is-active { background: #1a6ff3; width: 26px; }
@media (max-height: 780px) and (min-width: 768px) {
	.xon-hero__content { padding: 40px 0 84px; }
	.xon-hero__title { font-size: clamp(28px, 3.7vw, 52px); }
	.xon-hero__ico { width: 54px; height: 54px; }
	.xon-hero__feats { margin-bottom: 22px; }
}
@media (max-width: 1399px) { .xon-hero__side { display: none; } }
@media (max-width: 1199px) {
	.xon-hero__brands--top { display: none; }
	.xon-hero__extra { display: none; }
	.xon-hero__content { padding-bottom: 84px; }
}
@media (max-width: 767px) {
	:root { --xon-hd: 88px; }
	.xon-hero__swiper { height: auto; min-height: 0; max-height: none; }
	.xon-hero__swiper .swiper-slide { height: auto; }
	.xon-hero__slide { height: 100%; min-height: 100%; }
	.xon-hero__shade { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .82) 60%, rgba(255, 255, 255, .55) 100%); }
	.xon-hero__wrap { align-items: flex-start; }
	.xon-hero__content { padding: 34px 0 56px; max-width: 100%; }
	.xon-hero__title { font-size: 28px; }
	.xon-hero__lead { font-size: 15px; margin-bottom: 18px; }
	.xon-hero__feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; margin-bottom: 22px; }
	.xon-hero__feats li { flex-direction: row; text-align: left; width: auto; gap: 10px; font-size: 13px; }
	.xon-hero__ico { width: 44px; height: 44px; }
	.xon-hero__ico svg { width: 20px; height: 20px; }
	.xon-hero__actions .rr-btn, .xon-hero__pill { width: 100%; justify-content: center; }
	.xon-hero__brands, .xon-hero__extra, .xon-hero__side { display: none; }
	.xon-hero__nav { display: none; }
	.xon-hero__dots { bottom: 12px; }
}

/* ===================== 6. Популярные категории ===================== */
.xon-cats { padding: 48px 0 56px; }
.xon-cats__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.xon-cats__head h2, .xon-pop__title { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--xon-navy); }
.xon-cats__all, .xon-pop__all { font-size: 15px; font-weight: 600; color: var(--xon-blue-500); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: gap .2s, color .2s; }
.xon-cats__all:hover, .xon-pop__all:hover { gap: 12px; color: var(--xon-blue-700); }
.xon-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.xon-cats__card { display: flex; flex-direction: column; background: var(--xon-card); border-radius: 14px; padding: 18px 16px 16px; min-height: 212px; color: var(--xon-navy); transition: background .2s; }
.xon-cats__card:hover { background: var(--xon-card-hover); color: var(--xon-navy); }
.xon-cats__img { display: block; height: 136px; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: #e6eaf0; }
.xon-cats__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .25s; }
.xon-cats__card:hover .xon-cats__img img { transform: scale(1.04); }
.xon-cats__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.xon-cats__name { font-family: var(--rr-ff-heading); font-size: 15px; font-weight: 600; line-height: 1.25; }
.xon-cats__arrow { flex: 0 0 auto; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.xon-cats__card:hover .xon-cats__arrow { transform: translateX(4px); }
@media (max-width: 1199px) { .xon-cats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) {
	.xon-cats { padding: 36px 0 40px; }
	.xon-cats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.xon-cats__card { padding: 14px 12px 12px; min-height: 176px; }
	.xon-cats__img { height: 104px; margin-bottom: 10px; }
	.xon-cats__head h2, .xon-pop__title { font-size: 24px; }
}

/* ===================== 7. Баннер «Сервисный центр» / «Акции» ===================== */
.xon-sb { position: relative; overflow: hidden; background: var(--xon-grad-dark); color: #fff; }
.xon-sb__inner { position: relative; }
.xon-sb__media { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.xon-sb__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.xon-sb__body { position: relative; z-index: 2; max-width: 52%; padding: 64px 0 66px; }
.xon-sb__title { color: #fff; font-size: 44px; line-height: 1.1; font-weight: 800; margin: 0 0 12px; }
.xon-sb__title span { color: var(--xon-sky); }
.xon-sb__lead { font-size: 20px; line-height: 1.4; color: rgba(255, 255, 255, .88); margin: 0 0 28px; max-width: 540px; }
.xon-sb__feats { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.xon-sb__feats li { display: flex; align-items: center; gap: 12px; padding-right: 22px; margin-right: 22px; border-right: 1px solid rgba(255, 255, 255, .22); font-size: 15px; line-height: 1.3; max-width: 236px; }
.xon-sb__feats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.xon-sb__feats svg { flex: 0 0 auto; }
.xon-sb__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.xon-sb--promo { background: linear-gradient(260deg, #001141 0%, #06237a 48%, #0a3fbf 100%); }
.xon-sb--promo .xon-sb__media { right: auto; left: 0; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.xon-sb--promo .xon-sb__body { margin-left: auto; }
@media (max-width: 991px) {
	.xon-sb__inner { display: flex; flex-direction: column; }
	.xon-sb__body { max-width: 100%; padding: 44px 0 40px; }
	.xon-sb__media { position: relative; width: 100%; height: 300px; clip-path: none !important; }
	.xon-sb__media img { object-position: center 30%; }
	.xon-sb__title { font-size: 34px; }
	.xon-sb__lead { font-size: 18px; }
	.xon-sb__feats li { border-right: 0; margin-right: 0; padding-right: 0; flex: 1 1 100%; max-width: 100%; }
}
@media (max-width: 575px) {
	.xon-sb__title { font-size: 28px; }
	.xon-sb__media { height: 240px; }
	.xon-sb__btns .rr-btn { width: 100%; }
}

/* Баннер клиента «Сервисный центр XON»: картинка + настоящая кнопка поверх пустого поля */
.xon-sbimg { position: relative; width: 100%; background: #07225f; line-height: 0; }
.xon-sbimg img { display: block; width: 100%; height: auto; }
.xon-sbimg__btn { position: absolute; left: 2.8%; top: 75.6%; width: 24%; height: 19.6%; min-height: 0; padding: 0; border-radius: 10px; font-size: clamp(14px, 1.15vw, 21px); line-height: 1; }
@media (min-width: 992px) { .xon-sb--mobile-only { display: none; } }
@media (max-width: 991px) { .xon-sbimg { display: none; } }

/* Кнопка «наверх» — над плавающими кнопками связи */
.backtotop-wrap { bottom: 286px !important; right: 21px !important; }
@media (max-width: 575px) { .backtotop-wrap { bottom: 242px !important; right: 12px !important; } }

/* ===================== 8. Популярные товары ===================== */
.xon-pop { padding: 64px 0; }
.xon-pop__head { display: flex; align-items: center; gap: 20px 26px; flex-wrap: wrap; margin-bottom: 24px; }
.xon-pop__title { white-space: nowrap; }
.xon-pop__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.xon-pop__tab { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 15px; font-weight: 500; color: #5b6472; position: relative; transition: color .2s; }
.xon-pop__tab:hover { color: var(--xon-blue-500); }
.xon-pop__tab.is-active { color: var(--xon-blue-500); font-weight: 600; }
.xon-pop__tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--xon-grad); border-radius: 2px; }
.xon-pop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.xon-pop__card { display: flex; flex-direction: column; background: var(--xon-card); border-radius: 14px; padding: 14px; transition: background .2s; }
.xon-pop__card:hover { background: var(--xon-card-hover); }
.xon-pop__card.is-hidden { display: none; }
.xon-pop__media { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; height: 200px; margin-bottom: 14px; overflow: hidden; }
.xon-pop__media img { max-width: 86%; max-height: 86%; width: auto; height: auto; object-fit: contain; transition: transform .25s; }
.xon-pop__card:hover .xon-pop__media img { transform: scale(1.04); }
.xon-pop__name { margin: 0 0 8px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.xon-pop__name a { color: var(--xon-navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xon-pop__name a:hover { color: var(--xon-blue-500); }
.xon-pop__specs { list-style: none; margin: 0 0 12px; padding: 0; flex: 1 1 auto; }
.xon-pop__specs li { font-size: 13px; line-height: 1.5; color: #6b7482; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xon-pop__price { font-size: 18px; font-weight: 800; color: var(--xon-navy); margin-bottom: 12px; line-height: 1.2; }
.xon-pop__price .xon-price-request { font-size: 15px; font-weight: 600; color: #3d4756; }
.xon-pop__actions { display: flex; align-items: center; gap: 12px; }
.xon-pop__btn { flex: 1 1 auto; min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.xon-pop__more { font-size: 14px; font-weight: 600; color: var(--xon-navy); white-space: nowrap; }
.xon-pop__more:hover { color: var(--xon-blue-500); }
@media (max-width: 1199px) { .xon-pop__grid { gap: 14px; } .xon-pop__media { height: 170px; } }
@media (max-width: 991px) { .xon-pop__grid { grid-template-columns: repeat(2, 1fr); } .xon-pop__head { gap: 14px; } .xon-pop__all { margin-left: auto; } }
@media (max-width: 767px) {
	.xon-pop { padding: 40px 0; }
	.xon-pop__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.xon-pop__card { padding: 10px; border-radius: 12px; }
	.xon-pop__media { height: 140px; margin-bottom: 10px; }
	.xon-pop__name { font-size: 14px; margin-bottom: 6px; }
	.xon-pop__specs { margin-bottom: 8px; }
	.xon-pop__specs li { font-size: 12px; line-height: 1.4; }
	.xon-pop__specs li:nth-child(n+3) { display: none; }
	.xon-pop__price { font-size: 15px; margin-bottom: 10px; }
	.xon-pop__price .xon-price-request { font-size: 13px; }
	.xon-pop__actions { flex-direction: column; gap: 6px; }
	.xon-pop__btn { width: 100%; min-height: 40px; font-size: 14px; }
	.xon-pop__more { display: none; }
	.xon-pop__tabs { gap: 6px 14px; }
}

/* Плавающие кнопки связи: нейтральная тень вместо цветного свечения */
.xon-float__btn { box-shadow: 0 4px 14px rgba(0, 0, 0, .18) !important; }
.xon-float__btn:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .22) !important; }

/* Похожие позиции на странице товара: 4 карточки в ряд */
@media (min-width: 992px) {
	.xon-related > [class*="col-"] { flex: 0 0 25%; width: 25%; max-width: 25%; }
}
/* На сером фоне секции карточки белые, иначе сливаются с фоном */
.xon-related .rr-fea-product__item { background: #fff !important; }
.xon-related .rr-fea-product__item:hover { background: #f6f9ff !important; }
.xon-related .rr-fea-product__thumb { background: var(--xon-card); }

/* Сайдбар каталога: на десктопе разделы всегда раскрыты, на телефоне — по кнопке; без «прилипания» */
@media (min-width: 992px) { .xon-filter__toggle { cursor: default; } .xon-filter__toggle::after { display: none; } }
@media (max-width: 991px) { .xon-filter { position: static; gap: 14px; } .xon-filter__cta { display: none; } }

/* Пагинация каталога переносится, а не вылезает за экран */
.xon-pagination { flex-wrap: wrap; }

/* Мобилка: табы «Доставка / Гарантия / Как оформить» с отступами; бренды в карусели */
@media (max-width: 767px) {
	.nav-inner-3 .all-button { gap: 10px !important; row-gap: 10px !important; }
	.nav-inner-3 .nav-link-3 { margin: 0 !important; }
	.brand__active { overflow: hidden; }
	.brand__thumb img { max-height: 40px; width: auto; }
}

/* ===================== 9. Карточки каталога: без теней ===================== */
.rr-fea-product__item { box-shadow: none !important; background: var(--xon-card) !important; border-radius: 14px; }
.rr-fea-product__item:hover { box-shadow: none !important; background: var(--xon-card-hover) !important; }
.rr-fea-product__thumb { background: #fff; border-radius: 10px; overflow: hidden; }
.xon-price-badge { border: 0; }

/* Оформление заказа: 3 этапа */
.xon-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.xon-steps li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.xon-steps__num { flex: 0 0 auto; font-family: var(--rr-ff-heading); font-weight: 800; font-size: 22px; line-height: 1; color: var(--xon-blue-500); padding-top: 2px; }

/* ===================== ШАПКА: светло-синяя (вариант 4, выбор клиента) ===================== */
.header__area.header-2, #header-sticky.rs-sticky { background: #e8f1ff !important; }
.header-top { background: #d6e5ff !important; border-bottom: 0; }
.header-top .header-top-menu li, .header-top .header-top-socail-menu span a { color: #0b1f4a !important; }
.header-top svg { fill: #0b1f4a !important; }
#header-sticky .main-menu nav > ul > li > a, .rs-sticky.header-2 .main-menu .mobile-menu ul li a { color: #0b1f4a !important; font-weight: 600; }
#header-sticky .main-menu nav > ul > li > a:hover, .rs-sticky.header-2 .main-menu .mobile-menu ul li a:hover { color: #1a6ff3 !important; }
#header-sticky .main-menu nav > ul > li.has-dropdown > a::after { color: #0b1f4a; }
#header-sticky .header__action .search-icon svg { fill: #0b1f4a !important; }
#header-sticky .header__btn-wrap .rr-btn { background-color: #0f62fe; background-image: var(--xon-grad); color: #fff; }
#header-sticky .header__btn-wrap .rr-btn:hover { color: #fff; }
#header-sticky .header__hamburger .bar-icon span { background: #0b1f4a !important; }
/* пункты меню растянуты по ширине между логотипом и кнопкой */
.header__area#header-sticky .header__main .header__middle { flex: 1 1 auto; padding: 0 28px; }
.header__area#header-sticky .header__main .main-menu nav > ul { justify-content: space-between; width: 100%; }
@media (max-width: 1199px) { .header__area#header-sticky .header__main .header__middle { padding: 0 14px; } }


/* ==== ШАПКА РАЗДЕЛА КАТАЛОГА С БАННЕРОМ (картинки клиента, 30.09.2026) ==== */
.xon-cathero{position:relative;background:#eef3fb var(--xon-cathero-bg) no-repeat right center;background-size:cover;min-height:calc(380px + var(--xon-hd));padding-top:var(--xon-hd);display:flex;align-items:center;overflow:hidden}
.xon-cathero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0,rgba(255,255,255,.94) 28%,rgba(255,255,255,.55) 46%,rgba(255,255,255,0) 62%)}
.xon-cathero .container{position:relative;z-index:1}
.xon-cathero__in{max-width:540px;padding:48px 0}
.xon-cathero__title{font-size:46px;line-height:1.1;font-weight:700;color:#001141;margin:0 0 16px}
.xon-cathero__crumbs{font-size:15px;color:#4a5878;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.xon-cathero__crumbs a{color:#0f62fe}
.xon-cathero__crumbs a:hover{text-decoration:underline}
.xon-cathero__sep{color:#9aa6c2}
@media (max-width:1199px){.xon-cathero{min-height:calc(320px + var(--xon-hd))}.xon-cathero__title{font-size:40px}}
@media (max-width:991px){.xon-cathero{min-height:calc(250px + var(--xon-hd));background-position:72% center}.xon-cathero__title{font-size:34px}.xon-cathero::before{background:linear-gradient(90deg,rgba(255,255,255,.97) 0,rgba(255,255,255,.92) 40%,rgba(255,255,255,.5) 62%,rgba(255,255,255,0) 80%)}}
@media (max-width:575px){.xon-cathero{min-height:0;background-position:78% center}.xon-cathero__in{padding:30px 0 26px;max-width:72%}.xon-cathero__title{font-size:26px;margin-bottom:10px}.xon-cathero__crumbs{font-size:13px}.xon-cathero__crumbs>span:last-child,.xon-cathero__crumbs>.xon-cathero__sep:nth-last-child(2){display:none}.xon-cathero::before{background:linear-gradient(90deg,rgba(255,255,255,.96) 0,rgba(255,255,255,.9) 55%,rgba(255,255,255,.35) 80%,rgba(255,255,255,0) 100%)}}


/* ==== АКЦИОННЫЙ БАННЕР НА ГЛАВНОЙ (картинка клиента 05.10.2026) ==== */
.xon-pbimg{position:relative}
.xon-pbimg img{display:block;width:100%;height:auto}
.xon-pbimg__body{position:absolute;left:0;top:50%;transform:translateY(-50%);width:34%;padding-left:calc((100% - 1300px) / 2 + 15px);box-sizing:content-box}
@media (max-width:1330px){.xon-pbimg__body{padding-left:15px;width:36%}}
.xon-pbimg__title{font-size:clamp(22px,2.6vw,44px);line-height:1.1;color:#001141;font-weight:700;margin:0 0 .4em}
.xon-pbimg__title span{color:#0f62fe}
.xon-pbimg__lead{font-size:clamp(13px,1.1vw,18px);color:#33415c;margin:0 0 1.1em;max-width:420px}
.xon-pbimg .rr-btn{font-size:clamp(13px,1vw,16px);padding:.75em 1.6em}
@media (max-width:991px){.xon-pbimg{display:none}}

/* ===== 09.11.2026: оформление ===== */
html, body { overflow-x: clip; }

/* Кнопка-контур: при наведении заливка градиентом без светлого ободка */
.rr-btn.btn-transparent:not(.btn-text-color-white) { background: #fff; border: 2px solid var(--xon-blue-500); }
.rr-btn.btn-transparent:not(.btn-text-color-white)::after { display: none; }
.rr-btn.btn-transparent:not(.btn-text-color-white):hover,
.rr-btn.btn-transparent:not(.btn-text-color-white):focus-visible { color: #fff; background: var(--xon-grad) border-box; border-color: transparent; }
.rr-btn:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.rr-btn svg { flex: none; }

/* Карточка товара */
.xon-product__title { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; color: var(--xon-navy); overflow-wrap: anywhere; }
.xon-product__excerpt { color: #4b5563; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.xon-product__excerpt p:last-child { margin-bottom: 0; }
.xon-product__excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }

/* Описание товара */
.xon-desc { font-size: 16px; line-height: 1.7; color: #374151; overflow-wrap: anywhere; }
.xon-desc .xon-desc__title { font-size: 28px; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid #e5e7eb; color: var(--xon-navy); }
.xon-desc p { margin: 0 0 14px; }
.xon-desc h2, .xon-desc h3, .xon-desc h4 { font-size: 21px; line-height: 1.35; color: var(--xon-navy); margin: 34px 0 14px; }
.xon-desc h4 { font-size: 18px; }
.xon-desc ul, .xon-desc ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.xon-desc ul li, .xon-desc ol li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.xon-desc ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--xon-blue-500); }
.xon-desc ol { counter-reset: xo; }
.xon-desc ol li { counter-increment: xo; padding-left: 28px; }
.xon-desc ol li::before { content: counter(xo) "."; position: absolute; left: 0; font-weight: 600; color: var(--xon-blue-500); }
.xon-desc img { max-width: 100%; height: auto; border-radius: 8px; }
.xon-desc a { color: var(--xon-blue-500); text-decoration: underline; text-underline-offset: 3px; }

table.xon-specs { width: 100%; border-collapse: collapse; margin: 6px 0 24px; font-size: 15px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; display: table; }
table.xon-specs th, table.xon-specs td { padding: 11px 16px; border-bottom: 1px solid #e5e7eb; vertical-align: top; text-align: left; }
table.xon-specs th { width: 34%; font-weight: 600; color: var(--xon-navy); background: #f6f8fc; }
table.xon-specs tr:last-child th, table.xon-specs tr:last-child td { border-bottom: 0; }
@media (max-width: 575px) {
	table.xon-specs th, table.xon-specs td { display: block; width: 100%; }
	table.xon-specs th { border-bottom: 0; padding-bottom: 4px; }
	table.xon-specs td { padding-top: 4px; }
	.xon-desc .xon-desc__title { font-size: 24px; }
	.xon-desc h2, .xon-desc h3 { font-size: 19px; }
}

/* Длинные названия в шапке страницы и крошках */
.breadcrumb__title, .xon-cathero h1, .page-title, h1 { overflow-wrap: anywhere; }

table.xon-specs th.xon-specs__group { background: #eaf1ff; color: var(--xon-navy); font-size: 16px; font-weight: 700; width: auto; padding: 12px 16px; }
table.xon-specs th.xon-specs__group:only-child { display: table-cell; }
.xon-desc table.xon-specs + table.xon-specs { margin-top: -10px; }

/* Цена в карточке — под названием, а не поверх фото */
.xon-card-price { margin-top: 6px; font-weight: 700; font-size: 17px; color: var(--xon-blue-500); }
.xon-card-price .xon-price-request { color: var(--xon-navy); font-weight: 600; font-size: 15px; }
.xon-card-price del { color: #9ca3af; font-weight: 400; font-size: 14px; margin-right: 6px; }
.xon-card-price ins { text-decoration: none; }

/* Кнопки в карточке товара на телефоне — одинаковой ширины */
@media (max-width: 575px) {
	.xon-product__info .d-flex.gap-3 > .rr-btn { flex: 1 1 100%; justify-content: center; }
}
/* Хлебные крошки на телефоне: последний пункт в одну строку с многоточием */
@media (max-width: 767px) {
	.breadcrumb__menu li.active { display: none; }
	.breadcrumb__menu ul li:nth-last-child(2)::before { display: none; }
}

/* ===== 11.11.2026: параллакс баннеров (inc/parallax.php) ===== */
.xon-plx-on .xon-hero__bg,
.xon-plx-on .xon-sb__media img,
.xon-plx-layer { will-change: transform; transform-origin: center center; }
.xon-sb__media { overflow: hidden; }
.xon-plx-on .xon-hero__content { will-change: transform, opacity; }

/* Шапки разделов и страниц: картинка — отдельным слоем, двигается через --xon-py */
.xon-plx-on .xon-cathero { background-image: none; isolation: isolate; }
.xon-plx-on .xon-cathero::after {
	content: ""; position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; z-index: -1;
	background: var(--xon-cathero-bg) no-repeat right center; background-size: cover;
	transform: translate3d(0, var(--xon-py, 0px), 0); will-change: transform;
}
@media (max-width: 991px) { .xon-plx-on .xon-cathero::after { background-position: 72% center; } }

/* Блок «Не нашли нужную позицию?» */
.xon-plx-host { background-image: none !important; position: relative; overflow: hidden; }
.xon-plx-layer { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; background-size: cover; background-position: center; pointer-events: none; }
.xon-plx-host > .container { position: relative; z-index: 2; }
.xon-plx-host > .xon-cta__overlay { z-index: 1; }

/* Фото в «Снабжении офиса» */
.xon-plx-on .latest-Choose-us__media img { will-change: transform; }

/* Сервисный баннер-картинка: текст вшит в картинку, поэтому вместо сдвига — мягкий блик */
.xon-sbimg { overflow: hidden; }
.xon-sbimg::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
	background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 100%);
	transform: skewX(-12deg); animation: xon-shine 7s ease-in-out infinite;
}
@keyframes xon-shine { 0%, 55% { left: -40%; } 85%, 100% { left: 120%; } }
.xon-sbimg__btn { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
	.xon-sbimg::after { animation: none; display: none; }
}

/* ===== 11.11.2026 (2): объём сервисного баннера, мышь на первом экране, сетка точек ===== */
.xon-sbimg { isolation: isolate; }
.xon-sbimg__win { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
	clip-path: polygon(64.6% 0, 75.3% 50.1%, 65.6% 100%, 100% 100%, 100% 0); }
.xon-sbimg__win img.xon-sbimg__photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 72% 50%; will-change: transform; }
.xon-sbimg__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(120, 180, 255, .20), rgba(120, 180, 255, 0) 70%); mix-blend-mode: screen; }
.xon-sbimg.is-hover .xon-sbimg__glow { opacity: 1; }
.xon-sbimg::after { z-index: 1; }
.xon-sbimg__btn { z-index: 2; }

.xon-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
