/* ==========================================================================
   Home
   ========================================================================== */
@keyframes elPwDraw { to { stroke-dashoffset: 0 } }
@keyframes elPwPop { from { opacity: 0; transform: scale(.6) rotate(-8deg) } to { opacity: 1; transform: none } }
@keyframes elTbMarq { from { transform: translateX(0) } to { transform: translateX(calc(-50% - 20px)) } }

/* Top bar */
.el-topbar { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 12px; background: var(--ink); color: #fff; margin: -18px -18px -10px; padding: 7px 16px; }
.el-topbar:hover { color: #fff; }
.el-topbar__mid { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; overflow: hidden; }
.el-topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(226, 149, 58, .18); }
.el-topbar__txt { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; min-width: 0; }
.el-topbar__txt [data-tb=run] { display: inline-flex; gap: 40px; }
.el-topbar__txt [data-tb=dup] { display: none; }
.el-topbar__btn { background: #fff; color: var(--ink); font-weight: 700; font-size: 11.5px; padding: 6px 13px; border-radius: 9px; white-space: nowrap; flex: none; transition: background .15s, color .15s; }
.el-topbar:hover .el-topbar__btn { background: var(--accent); color: #fff; }
.el-topbar__end { display: flex; justify-content: flex-end; }
.el-topbar__link { position: absolute; inset: 0; z-index: 1; }
.el-topbar__x { position: relative; z-index: 2; width: 24px; height: 24px; padding: 0; border: 0; background: none; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); cursor: pointer; }
.el-topbar__x:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Layout */
.el-home { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; width: 100%; min-width: 0; }
.el-home__aside { flex: 0 1 240px; min-width: 206px; display: flex; flex-direction: column; gap: 14px; align-self: stretch; }
.el-home__asidebox { flex: 1 1 auto; min-height: 0; }
.el-home__nav { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d5dae4 transparent; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px 13px 16px; box-shadow: var(--sh-card); }
.el-home__logo { padding: 0 7px; }
.el-home__logo .el-logo__mark { box-shadow: 0 10px 22px rgba(36, 82, 230, .34); }
.el-nav--home > a, .el-nav--home .el-nav__tog { font-size: 13px; }
.el-nav--home .el-nav__badge { background: var(--red-t); }
.el-nav__sub--home { margin: 3px 0 6px 26px; padding-left: 12px; border-left: 1.5px solid var(--line); gap: 1px; }
.el-nav__sub--home a { padding: 7px 11px; border-radius: 10px; font-size: 12px; color: #565f6d; }
.el-nav__sub--home a:hover { background: var(--s1); }
.el-hr--home { margin: 12px 11px; }
.el-cab--home { background: var(--s1); padding: 14px 13px; gap: 11px; margin: 0 2px 4px; }
.el-cab--home .el-cab__t { font-size: 12.5px; line-height: 1.35; }
.el-cab--home .el-cab__d { font-size: 12px; font-weight: 600; color: var(--ink2, #2a3140); white-space: nowrap; }
.el-cab--home .el-cab__btns > * { padding: 9px 10px; }
.el-week { position: relative; overflow: hidden; border-radius: 20px; padding: 17px 16px; background: linear-gradient(158deg, #131a2b, #22315c); color: #fff; display: flex; flex-direction: column; flex: none; }
.el-week:hover { color: #fff; }
.el-week__c { position: absolute; right: -26px; bottom: -30px; width: 104px; height: 104px; border-radius: 50%; background: rgba(226, 149, 58, .2); }
.el-week > span:not(.el-week__c) { position: relative; }
.el-week__tag { font-size: 9.5px; letter-spacing: .14em; color: #e9b673; text-transform: uppercase; }
.el-week__t { font-family: var(--wix); font-weight: 700; font-size: 18px; line-height: 1.15; letter-spacing: -.02em; margin: 9px 0 6px; max-width: 150px; }
.el-week__d { color: rgba(255, 255, 255, .68); font-size: 11.5px; line-height: 1.45; }
.el-week__b { font-family: var(--wix); margin-top: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: 12px; padding: 9px 15px; border-radius: 10px; align-self: flex-start; transition: background .15s, color .15s; }
.el-week:hover .el-week__b { background: var(--accent); color: #fff; }
/* Logo and «Каталог» stay at the top while the menu scrolls */
.el-home__navhead { position: sticky; top: -20px; z-index: 2; display: flex; flex-direction: column; gap: 14px; margin: -20px -13px 0; padding: 20px 13px 6px; background: #fff; border-radius: 24px 24px 0 0; }
.el-home__navhead + * { margin-top: -6px; }
.el-home__prefs { display: flex; flex-direction: column; gap: 10px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 13px; box-shadow: var(--sh-card); }
.el-lang--plain { background: transparent; padding: 8px 12px; }
.el-lang--plain .el-lang__sw { background: var(--s1); border: 0; }
.el-theme-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--s1); border-radius: 14px; font-weight: 600; font-size: 11.5px; color: #565f6d; }

.el-home__col { flex: 1 1 470px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.el-rc { display: none; }

/* Home header: on desktop it sits on the grey page without a box and turns white once the page scrolls */
.el-hdr--home { position: sticky; top: 12px; z-index: 30; margin: -8px -10px 0; }
.el-hdr__phone--num span { display: none; }
@media (min-width: 761px) {
	.el-hdr--home { flex-wrap: nowrap; }
	.el-hdr--home .el-search { flex: 1 1 0; min-width: 180px; background: #fff; box-shadow: var(--sh-card); }
	.el-hdr--home .el-hdr__right { gap: 12px; }
	.el-hdr--home .el-hdr__catalog { display: none; }
	.el-hdr--home:not(.is-scrolled) { background: transparent; border-color: transparent; box-shadow: none; }
	.el-hdr--home { transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; }
	.el-hdr--home .el-hdr__burger { background: #fff; border: 1px solid var(--line2); }
	.el-hdr__phone--num { display: flex; width: auto; gap: 9px; padding: 0 12px 0 6px; background: none; color: var(--ink); cursor: pointer; }
	.el-hdr__phone--num:hover { background: #fff; color: var(--ink); }
	.el-hdr__phone--num > svg { color: var(--blue); width: 24px; height: 24px; }
	.el-hdr__phone--num span { display: block; }
	.el-hdr__phone--num b { display: block; font-family: var(--wix); font-weight: 700; font-size: 14.5px; line-height: 1.25; letter-spacing: -.02em; white-space: nowrap; }
	.el-hdr__phone--num small { display: block; font-size: 11px; line-height: 1.2; color: var(--ink4); white-space: nowrap; }
}
@media (min-width: 900px) {
	.el-hdr--home .el-hdr__burger, .el-hdr--home .el-hdr__logo { display: none; }
}

.el-home__main { flex: 1 1 420px; display: flex; flex-direction: column; gap: 30px; min-width: 0; }

/* Hero */

/* Trust */

/* Category shortcuts */

/* Promo cards */

/* Ink style */

/* Tint style */

/* Banners */

/* Series / brands */

/* Colors */

/* Kits */

/* SEO */

/* ---------- Responsive ---------- */
@media (max-width: 1179px) {
	.el-hdr__phone--num small { display: none; }
}
@media (max-width: 1099px) and (min-width: 761px) {
	.el-hdr .el-hdr__phone--num { display: grid; width: 44px; padding: 0; background: #fff; border: 1px solid var(--line2); box-sizing: border-box; }
	.el-hdr__phone--num > svg { width: 20px; height: 20px; }
	.el-hdr__phone--num span { display: none; }
}
@media (max-width: 899px) {
	.el-home__aside { display: none; }
}
@media (max-width: 760px) {
	
	
	
	
	.el-topbar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px 8px 8px 14px; margin: -8px -6px 0; }
	.el-topbar > span:not([class]), .el-topbar__btn { display: none; }
	.el-topbar__mid { justify-content: flex-start; }
	.el-topbar__txt { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.el-topbar__txt [data-tb=dup] { display: inline; }
	.el-topbar__txt [data-tb=run] { animation: elTbMarq 22s linear infinite; }
	.el-hdr--home { top: 8px; margin: 0; }
	.el-hdr--home .el-hdr__ico--sh, .el-hdr--home .el-hdr__me--sh { box-shadow: none; }
	.el-rc:not([hidden]) { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 12px 14px; align-items: center; gap: 12px; }
	.el-rc__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; }
	.el-rc__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; color: var(--ink); font-size: 13.5px; line-height: 1.35; }
	.el-rc__go { font-family: var(--wix); flex: none; height: 44px; padding: 0 18px; border-radius: 13px; background: var(--blue); color: #fff; display: flex; align-items: center; font-weight: 700; font-size: 13.5px; }
	.el-home__main { gap: 22px; }
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	[data-m=hscroll] { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -6px; padding: 0 6px 4px; scroll-padding: 0 6px; gap: 10px !important; }
	[data-m=hscroll] > * { scroll-snap-align: start; }
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
	.el-topbar__txt [data-tb=run] { animation: none; }
	.el-topbar__txt [data-tb=dup] { display: none; }
}

/* Filled buttons: colour sweeps in from the left on hover, slight press on click. */

/* Filled buttons: colour sweeps in from the left on hover, slight press on click. */
.el-week__b, .el-rc__go { background-image: linear-gradient(var(--fill), var(--fill)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; transition: background-size .5s var(--edge), color .35s ease, border-color .35s ease, transform .15s ease; }
.el-week__b:hover, .el-rc__go:hover { background-size: 100% 100%; }
.el-week__b:active, .el-rc__go:active { transform: scale(.98); }
.el-week__b { --fill: var(--accent); }
.el-rc__go { --fill: var(--blue-h); }
.el-week__b:hover { color: #fff; border-color: transparent; }

/* Signed-in left menu: the burger's cabinet block, tightened for the narrow column */
.el-home__nav .el-dcab .ac-sw { padding: 4px; }
.el-home__nav .ac-sw__row { gap: 8px; padding: 8px 6px; }
.el-home__nav .ac-sw__tile { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; }

/* Contacts at the bottom of the home left menu (the burger's block). */
.el-home__contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.el-home__contacts .el-msg { grid-template-columns: 1fr; }
.el-home__contacts .el-msg a { white-space: nowrap; }
.el-home__contacts .el-drawer__phone { padding: 0 2px; }
