/* ===========================================================
   ШИХОН: компоненты по системе оформления (theme.css).
   Подключается последним и задаёт единый вид кнопок, полей, карточек и блоков.
   =========================================================== */

:root { --wrap: 1116px; }
@media (min-width: 1400px) { :root { --wrap: 1296px; } }

/* --- Шапка --- */
.sh-top { background: var(--ink); }
.sh-top-row { min-height: 40px; }
.sh-links a { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sh-links a:hover { color: var(--brand); }
.sh-cta { height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.sh-cta:hover { background: #2a2a2e; color: #fff; }
.shm-link { height: 46px; padding: 0 26px; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; }
.sh-search-form table { height: 46px; border-radius: var(--r-pill); background: var(--field); border-color: var(--line-strong); }
.sh-search-form table:focus-within { background: #fff; border-color: var(--brand); box-shadow: var(--focus-ring); }
.sh-search-form input.query { height: 44px; padding: 0 20px 0 24px; border-radius: var(--r-pill) 0 0 var(--r-pill); font-weight: 500; }
.sh-search-form td:last-child { width: 56px; }
.sh-search-form input#button { width: 56px; }
.sh-bar .site-header-actions > a { border-radius: 14px; font-weight: 600; }
.sh-bar .site-header-actions > a:hover { background: var(--panel); color: var(--ink); }
.shm-panel { padding: 28px 32px; border-radius: var(--r-xl); box-shadow: var(--shadow-hover); }
.shm-root { font-weight: 800; }
.shm-sub a { font-weight: 500; }
.sh-hours-pop { border-radius: var(--r-lg); font-weight: 500; }

/* --- Главная: слайдер и преимущества внутри сетки сайта --- */
.sh-hero { width: min(calc(100% - 24px), var(--wrap)); margin: 20px auto 0; border-radius: var(--r-xl); }
.sh-hero-text { max-width: none; padding: 0 var(--s7) var(--s6); }
.sh-hero-title { font-weight: 800; }
.sh-hero-btn { padding: 0 24px; height: 44px; display: inline-flex; align-items: center; border-radius: var(--r-pill); font-weight: 700; }
.sh-hero-arrow { background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.sh-benefits { padding: 20px 0 0; background: transparent; }
.sh-benefits .sh-container { padding: 0; width: min(calc(100% - 24px), var(--wrap)); }
.sh-benefits-list { gap: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card); }
.sh-benefit { padding: 18px 22px; font-size: 13.5px; font-weight: 700; }
.sh-benefit + .sh-benefit { border-left: 1px solid var(--line); }
.sh-home-block { margin: var(--s7) 0 0; }
.sh-home-block h2, .sh-home-head h2 { font-size: 26px; font-weight: 800; }
.sh-home-more { font-weight: 700; }

/* --- Плитки разделов и услуг --- */
.sc-tile { border-radius: var(--r-xl); }
.sc-tile:hover { box-shadow: var(--shadow-hover); }
.sc-name { font-size: 17px; font-weight: 800; }
.sc-meta { font-weight: 600; }

/* --- Компактные «таблетки» подразделов (2-й и 3-й уровень каталога) --- */
.cl-chips-wrap { margin: 0 0 20px; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; }
.cl-chips-wrap .cl-chips { margin-bottom: 0; }
.cl-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 30px;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.cl-chip:hover { border-color: var(--ink); background: var(--panel); color: var(--ink); text-decoration: none; }
.cl-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cl-chip-name { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-chip-count { font-size: 12px; font-weight: 500; color: var(--muted-2); }
.cl-chip:hover .cl-chip-count { color: var(--muted); }

@media (max-width: 767.98px) {
	.cl-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.cl-chips::-webkit-scrollbar { display: none; }
	.cl-chip { flex: 0 0 auto; }
	.cl-chip-name { max-width: none; }
}

/* --- Карточки товаров --- */
.cl .cl-card { border-radius: var(--r-lg); background: #fff; }
.cl .cl-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.cl .cl-card-price { font-weight: 800; letter-spacing: -.01em; }
.cl .cl-card-title { font-weight: 700; }
.cl .cl-card-buy button.to_shopping { height: 42px; border-radius: var(--r-pill); border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; }
.cl .cl-card-buy button.to_shopping:hover { background: var(--ink); color: #fff; }
.cl .cl-card-tools .ci-action { border-radius: var(--r-md); }
.cl .cl-h1 { font-weight: 800; }

/* --- Страница товара --- */
.site-item-title { font-weight: 800; }
.si-main .site-item-gallery-main { border-radius: var(--r-xl); }
.si-buy .site-item-buybox { padding: 22px; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.si-buy .site-price { font-weight: 800; letter-spacing: -.02em; }
.si-buy button.to_shopping { height: 48px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 700; }
.si-buy button.to_shopping:hover { background: #2a2a2e; }
.si-buy .fast-order-open-btn { height: 42px; border-radius: var(--r-pill); background: var(--panel); font-weight: 700; color: var(--ink); }
.si-buy .fast-order-open-btn:hover { background: #ebebe6; color: var(--ink); }
.si-service .ci-action { border-radius: var(--r-md); font-weight: 600; }
.site-item-tabs { border-radius: var(--r-xl); }

/* --- Страницы, формы, корзина --- */
.sh-page { border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.sh-cart a.cart-order, .sh-cart input.button, .sh-cart input[type="submit"].button, .sh-cart #module_content input[type="submit"], .site-form .button-send, .sh-notfound-btn { min-height: 46px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 700; }
.sh-cart a.cart-order:hover, .sh-cart input.button:hover, .sh-cart #module_content input[type="submit"]:hover, .site-form .button-send:hover, .sh-notfound-btn:hover { background: #2a2a2e; color: #fff; }
.sh-cart a.cart-refresh, .sh-notfound-btn--ghost { border-radius: var(--r-pill); border-color: var(--line-strong); background: #fff; color: var(--ink) !important; font-weight: 700; }
.sh-cart a.cart-refresh:hover, .sh-notfound-btn--ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }

/* --- Подвал и баннер cookies --- */
.sh-foot-btn { min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--ink); font-weight: 700; }
.sh-foot-btn:hover { background: #2a2a2e; }
.sh-foot-title { font-weight: 800; }
.sh-cookie { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.sh-cookie-btn { min-height: 40px; padding: 0 26px; border-radius: var(--r-pill); background: var(--ink); font-weight: 700; text-transform: none; font-size: 13.5px; }
.sh-cookie-btn:hover { background: #2a2a2e; }

@media (max-width: 575.98px) {
	.sh-hero, .sh-benefits .sh-container { width: calc(100% - 24px); }
	.sh-hero-text { padding: 0 var(--s4) var(--s6); }
	.sh-benefit + .sh-benefit { border-left: 0; }
}

/* --- Раздел каталога: фильтр, хлебные крошки, сортировка --- */
.cf { --cf-accent: var(--ink); --cf-border: var(--line); --cf-soft: var(--panel); --cf-muted: var(--muted); --cf-focus: var(--brand); --cf-radius: var(--r-md); font-family: var(--font); }
.cl-side .cf-panel { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card); }
.cl-side .cf-head { padding-bottom: var(--s3); }
.cl-side .cf-title { font-size: 18px; }
.cl-side .cf-range-field { border-color: var(--line-strong); border-radius: 8px; background: var(--field); }
.cl-side .cf-range-field:focus-within { outline: 0; background: #fff; border-color: var(--brand); box-shadow: var(--focus-ring); }
.cl-side .cf-group-name { font-weight: 700; }
.cl .road-catalog, .site-breadcrumbs { margin: var(--s5) 0 var(--s4); font-size: 13px; }
.cl-layout { gap: var(--s6); }
.cl-sort-select { border-radius: var(--r-md); border-color: var(--line-strong); background-color: var(--field); }
@media (max-width: 991.98px) {
	.sh-benefits-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sh-benefit:nth-child(odd) { border-left: 0; }
	.sh-benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
	.sh-benefit { gap: 10px; padding: 14px 12px; font-size: 12px; }
	.sh-benefit img { flex-basis: 30px; width: 30px; height: 30px; }
}
@media (max-width: 575.98px) {
	.sh-home-block h2, .sh-home-head h2 { font-size: 21px; }
	.sh-home-block { margin-top: var(--s6); }
}

/* --- Метки на карточках --- */
.cl .cl-card { position: relative; }
.cl-card-badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.cl-card-photo { position: relative; }
.cl-badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 800; letter-spacing: .01em; line-height: 1.3; }
.cl-badge:empty { display: none; }
.cl-badge--hit { background: var(--ink); color: #fff; }
.cl-badge--new { background: var(--brand); color: #fff; }
.cl-badge--top { background: var(--navy); color: #fff; }
.cl-badge--promo { background: var(--accent-warm); color: var(--ink); }

/* --- Быстрый просмотр --- */
.cl-card-quick { position: absolute; z-index: 3; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: scale(.9); transition: opacity .15s ease, transform .15s ease, background-color .15s ease; }
.cl-card-quick::before { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: var(--ink); -webkit-mask: var(--sh-eye) center / contain no-repeat; mask: var(--sh-eye) center / contain no-repeat; }
.cl-card:hover .cl-card-quick, .cl-card-quick:focus-visible { opacity: 1; transform: none; }
.cl-card-quick:hover { background: var(--panel); }
@media (hover: none) { .cl-card-quick { opacity: 1; transform: none; } }
:root { --sh-eye: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.600-7 10-7 10 7 10 7-3.600 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>"); }
.qv-overlay { position: fixed; z-index: 1200; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--s4); background: rgba(11, 11, 11, .55); backdrop-filter: blur(2px); }
.qv-overlay[hidden] { display: none; }
html.qv-open { overflow: hidden; }
.qv-modal { position: relative; width: 100%; max-width: 880px; max-height: calc(100vh - 32px); overflow-y: auto; padding: var(--s6); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-hover); }
.qv-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--panel); cursor: pointer; }
.qv-close::before { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; background: var(--ink); -webkit-mask: var(--sh-x) center / contain no-repeat; mask: var(--sh-x) center / contain no-repeat; }
.qv-close:hover { background: #ebebe6; }
:root { --sh-x: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><path d='M6 6l12 12M18 6 6 18'/></svg>"); }
.qv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.qv-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); }
.qv-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.qv-title { margin: 0 var(--s7) var(--s2) 0; font-size: 22px; }
.qv-code { margin-bottom: var(--s3); font-size: 13px; color: var(--muted-2); }
.qv-specs { margin-bottom: var(--s4); font-size: 14px; color: var(--muted); }
.qv-buy .site-item-buybox { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: none; }
.qv-buy .site-price { font-size: 28px; font-weight: 800; color: var(--ink); }
.qv-buy .amount-cart-box, .qv-buy .amount-cart-box tbody { display: block; width: 100%; }
.qv-buy .amount-cart-box tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.qv-buy .amount-cart-box td { display: block; padding: 0; }
.qv-buy button.to_shopping { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-family: var(--font); font-weight: 700; cursor: pointer; }
.qv-buy .fast-order-open-btn { display: none; }
.qv-more { margin-top: var(--s3); }
.qv-note, .qv-loading { padding: var(--s5) 0; color: var(--muted); }
@media (max-width: 767.98px) { .qv-modal { padding: var(--s4); } .qv-grid { grid-template-columns: 1fr; gap: var(--s4); } .qv-photo { aspect-ratio: auto; height: 220px; } }

/* --- Единый бейдж наличия --- */
.cl .cl-card-stock { align-self: flex-start; padding: 3px 10px; border-radius: var(--r-pill); background: var(--success-soft); color: #1f7a47; font-size: 12px; font-weight: 700; }
.cl .cl-card-stock::before { width: 6px; height: 6px; }

/* --- Анимации: появление карточек и «подпрыгивание» счётчиков --- */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.rv.is-in { opacity: 1; transform: none; }
@keyframes sh-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.is-bump { animation: sh-bump .35s ease; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .is-bump { animation: none; } .cl-card-quick { transition: none; } }

/* --- Панель покупки при прокрутке страницы товара --- */
.ib { z-index: 850; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 -10px 28px -14px rgba(20, 20, 30, .25); }
.ib-in { max-width: var(--wrap); }
.ib-img { border: 1px solid var(--line); border-radius: var(--r-md); }
.ib-title { font-weight: 700; color: var(--ink); }
.ib-stock { font-weight: 700; color: #1f7a47; }
.ib-total { font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.ib-buy { min-height: 46px; background: var(--ink); font-family: var(--font); }
.ib-buy:hover { background: #2a2a2e; }
@media (max-width: 991.98px) { .ib { bottom: 64px; padding-bottom: 10px; } }

/* --- Тёмный подвал --- */
.sh-viewed { padding-top: var(--s7); }
.sh-foot { margin-top: var(--s8); background: var(--navy); color: rgba(255, 255, 255, .78); }
.sh-foot a { color: rgba(255, 255, 255, .78); }
.sh-foot a:hover { color: #fff; }
.sh-foot-title { color: #fff; border-bottom-color: rgba(255, 255, 255, .16); }
.sh-foot-logo img { filter: brightness(0) invert(1); }
.sh-foot-cont li { color: rgba(255, 255, 255, .78); }
.sh-foot-cont svg { color: var(--brand-light); }
.sh-foot-cont .sh-foot-tel { color: #fff; }
.sh-foot-btn { background: #fff; color: var(--ink) !important; }
.sh-foot-btn:hover { background: var(--panel); }
.sh-foot-pay { padding: 6px 10px; border-radius: var(--r-md); background: #fff; box-sizing: content-box; }
.sh-foot-about { color: rgba(255, 255, 255, .6); }
.sh-foot-pay-note { color: rgba(255, 255, 255, .55); }
.sh-foot-cats { border-top-color: rgba(255, 255, 255, .16); }
.sh-foot-cats .sh-foot-title { color: #fff; }
.sh-foot-tags a { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .82); }
.sh-foot-tags a:hover { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .12); color: #fff; }
.sh-foot-bottom { border-top: 0; background: var(--ink); color: rgba(255, 255, 255, .6); }
.sh-foot-docs a { color: rgba(255, 255, 255, .6); }
.sh-foot-docs a:hover { color: #fff; }
.sh-foot-note { color: rgba(255, 255, 255, .42); }

/* --- Подсказки в поиске --- */
.sh-search-form input#button { border-radius: 0 var(--r-pill) var(--r-pill) 0; }
.live-search-dropdown { margin-top: 8px; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-hover); font-family: var(--font); }
.live-search-item { gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r-md); color: var(--ink); }
.live-search-item:hover, .live-search-item--active { background: var(--panel); }
.live-search-item__photo { border-radius: var(--r-md); background: #fff; }
.live-search-item__name { font-weight: 600; color: var(--ink); }
.live-search-item__price { font-weight: 800; color: var(--ink); }
.live-search-more { border-radius: var(--r-md); font-weight: 700; color: var(--brand); }
.live-search-more:hover { background: var(--brand-soft); }

/* кнопки внутри текстовых страниц не должны получать вид ссылок */
.sh-content a.cart-empty-btn, .sh-content a.btn, .sh-content a.sh-notfound-btn { color: #fff; text-decoration: none; }
.sh-content a.btn-outline, .sh-content a.sh-notfound-btn--ghost { color: var(--ink); }

/* --- Личный кабинет и вход --- */
.account-btn { min-height: 46px; padding: 0 var(--s5); border-radius: var(--r-pill); background: var(--ink); color: #fff; font-family: var(--font); font-weight: 700; }
.account-btn:hover { background: #2a2a2e; color: #fff; }
.account-btn--secondary, .account-btn--outline { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.account-card { border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.account-menu__list a.account { display: block; margin-bottom: 2px; padding: 10px 14px; border: 0; border-radius: var(--r-md); color: var(--ink-2); font-weight: 600; }
.account-menu__list a.account:hover { background: var(--panel); color: var(--ink); }
.account-menu__list a.account--active { background: var(--ink); color: #fff; }
.account-choice label { border-radius: var(--r-pill); font-weight: 600; }
.account-choice label:has(input:checked) { border-color: var(--ink); color: var(--ink); background: var(--panel); }
.account-field input, .account-field select, .account-field textarea { border-radius: 8px; font-family: var(--font); }
body .account-btn { background: var(--ink); color: #fff; border-radius: var(--r-pill); }
body .account-btn:hover { background: #2a2a2e; color: #fff; }
body .account-menu__list a.account--active, body .account-menu__list a.account--active:hover { background: var(--ink); color: #fff; }

/* --- Формы заявок --- */
.site-form { max-width: 640px; }
.site-form .sh-form-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.site-form .sh-form-captcha input[type="text"] { width: 150px; margin: 0; }
.site-form .sh-form-captcha img { border: 1px solid var(--line); border-radius: var(--r-md); }
.site-form .form-consent { align-items: center; gap: var(--s3); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.site-form .form-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.site-form .button-send, .site-form .button-send.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer; }
.site-form .button-send:hover { background: #2a2a2e; }
.site-form .button-send-inactive { opacity: .4; cursor: not-allowed; }
.site-form input::placeholder, .site-form textarea::placeholder { color: var(--muted-2); font-weight: 500; }
.site-form .sometext, .sh-form-captcha .sometext { display: none !important; }
@media (max-width: 991.98px) { body .ib { bottom: 64px; z-index: 850; } }
body .ib-buy { background: var(--ink); }

/* --- Иконки преимуществ --- */
.sh-benefit-ico { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); color: var(--ink); }
@media (max-width: 575.98px) { .sh-benefit-ico { flex-basis: 36px; width: 36px; height: 36px; } .sh-benefit-ico svg { width: 20px; height: 20px; } }

/* --- Новости: карточки на главной и в архиве --- */
.sh-news { margin: 0 -8px; }
.sh-news > div { padding: 0 8px; margin-bottom: var(--s4); }
.sh-news-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); height: 100%; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow .15s ease, border-color .15s ease; }
.sh-news-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.sh-news-date { display: inline-flex; margin: 0; padding: 3px 10px; border-radius: var(--r-pill); background: var(--panel); font-size: 12px; font-weight: 700; color: var(--muted); }
.sh-news-item a, .sh-content .sh-news-item a { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); text-decoration: none; }
.sh-news-item a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.sh-news-item:hover a { color: var(--brand); }
.sh-content img { border-radius: var(--r-md); }

/* --- Корзина с товарами --- */
.sh-cart .row > .cart_col_name { font-weight: 700; letter-spacing: .04em; color: var(--muted-2); border-bottom-color: var(--line); }
.sh-cart .row.item { padding: var(--s5) 0; border-bottom-color: var(--line); }
.sh-cart .cart_foto img, .sh-cart .cart_foto img.foto_item_cart { padding: 6px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.sh-cart .cart_item_name a { font-size: 15px; font-weight: 700; color: var(--ink); }
.sh-cart .cart_item_name a:hover { color: var(--brand); text-decoration: none; }
.sh-cart input.amount { width: 64px; height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--field); font-family: var(--font); font-weight: 700; }
.sh-cart input.amount:focus { background: #fff; border-color: var(--brand); box-shadow: var(--focus-ring); }
.sh-cart .cart_item_price, .sh-cart .cart_item_price_full { font-weight: 800; }
.sh-cart .cart_item_del input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); }
.sh-cart #delimeter { border-top-color: var(--line); }
.sh-cart .cart_data_name { font-size: 15px; font-weight: 600; color: var(--muted); }
.sh-cart .cart_data_out { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.sh-cart .cart_data_out input.cardcode { border-radius: 8px; border-color: var(--line-strong); background: var(--field); }
.sh-cart .cart-discount-hint, .sh-cart .cart-gift-hint, .sh-cart .cart-account-hint { border-radius: var(--r-lg) !important; }

/* ---------- Контакты: карточки со значками и карта ---------- */
.sh-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4, 16px); margin: 0 0 var(--s6, 32px); }
.sh-contact-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--line, #e6e6e2); border-radius: var(--r-lg, 16px); background: var(--panel, #f4f4f1); }
.sh-contact-ico { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-md, 10px); background: var(--brand-soft, #e4eef9); color: var(--brand, #2868a8); }
.sh-contact-body { min-width: 0; }
.sh-contact-title { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #6b6b66; }
.sh-content .sh-contact-body p { margin: 0 0 2px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.sh-content .sh-contact-body a { color: inherit; text-decoration: none; }
.sh-content .sh-contact-body a:hover { color: var(--brand, #2868a8); }
.sh-map { overflow: hidden; border: 1px solid var(--line, #e6e6e2); border-radius: var(--r-lg, 16px); background: var(--panel, #f4f4f1); }
.sh-map iframe { display: block; width: 100%; border: 0; }
@media (max-width: 575px) { .sh-map iframe { height: 320px; } }

/* ---------- Корзина: кнопка удаления вместо флажка, аккуратная карточка позиции на телефоне ---------- */
.sh-cart .cart_item_del input[type="checkbox"], .sh-cart .cart-child-option-del input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; display: inline-block; vertical-align: middle; flex: 0 0 auto; width: 36px; height: 36px; margin: 0; padding: 0;
	border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12M9 7V4h6v3'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: border-color .15s ease, background-color .15s ease;
}
.sh-cart .cart-child-option-del input[type="checkbox"] { width: 28px; height: 28px; background-size: 15px; }
.sh-cart .cart_item_del input[type="checkbox"]:hover, .sh-cart .cart-child-option-del input[type="checkbox"]:hover { border-color: #c0392b; background-color: #fdf1ef; }
@media (max-width: 767.98px) {
	.sh-cart .row.item { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "foto name del" "foto amount price"; gap: 10px 12px; padding: 16px 0; align-items: center; }
	.sh-cart .cart_item_name { text-align: left; align-self: start; font-size: 14px; }
	.sh-cart .cart_item_name a { font-size: 14px; line-height: 1.4; }
	.sh-cart .cart_item_del { align-self: start; }
	.sh-cart .cart_amount { justify-self: start; }
	.sh-cart input.amount { width: 56px; height: 38px; font-size: 15px; }
	.sh-cart .cart_item_price_full { justify-self: end; text-align: right; font-size: 17px; font-weight: 800; color: var(--ink); }
	.sh-cart .cart_foto { align-self: start; }
	.sh-cart .cart_foto img, .sh-cart .cart_foto img.foto_item_cart { width: 84px; height: auto; }
}
.sh-cart #delimeter { margin: 0 0 8px; border-top: 0; }
@media (max-width: 767.98px) {
	.sh-cart .row.item .cart_item_name, .sh-cart .row.item .cart_item_name a { text-align: left !important; }
	.sh-cart .row.item .cart_item_name { padding-top: 2px; }
}

/* значки нижней панели телефона -- целый размер 24 px, штрихи не «плывут» */
@media (max-width: 991.98px) {
	.sh-bar .site-header-actions svg, .sh-bar .site-header-actions .customer-widget svg, .sh-tab svg { width: 24px !important; height: 24px !important; }
}

/* ---------- Карточка товара: центральная колонка ---------- */
.si-info { display: flex; flex-direction: column; align-items: flex-start; }
.si-info .si-meta { margin-bottom: 14px; }
.si-info .si-code { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--panel); color: #55554f; font-size: 13px; font-weight: 700; }
.si-info .si-short-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--ink); }
.si-info .site-item-attrs { width: 100%; margin: 0 0 14px; font-size: 14px; color: var(--ink); }
.si-info .item-specs { margin: 0; padding: 0; list-style: none; }
.si-info .item-specs li { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.si-info .item-specs li:first-child { border-top: 1px solid var(--line); }
.si-info .item-specs-name { flex: 0 0 46%; color: #6b6b66; }
.si-info .item-specs-value { flex: 1 1 auto; min-width: 0; font-weight: 700; text-align: left; }
.si-info .si-all-specs { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: none; }
.si-info .si-all-specs::after { content: '→'; transition: transform .15s ease; }
.si-info .si-all-specs:hover { text-decoration: none; color: var(--brand-dark); }
.si-info .si-all-specs:hover::after { transform: translateX(3px); }
.si-trust { width: 100%; display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.si-trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.si-trust-ico { flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--brand); }
@media (max-width: 575px) { .si-info .item-specs-name { flex-basis: 42%; } }

/* ---------- Карточка товара: вкладки ---------- */
.site-item-tabs { padding: 12px 32px 32px; margin-top: var(--s7, 40px); }
.site-item-tabs main { display: block; border-bottom: 0; }
.site-item-tabs main > input { position: absolute; opacity: 0; pointer-events: none; }
.site-item-tabs main > label { display: inline-flex; align-items: center; margin: 12px 6px 0 0; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #55554f; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.site-item-tabs main > label:hover { border-color: var(--line-strong); color: var(--ink); }
.site-item-tabs main > input:checked + label { border-color: var(--ink); background: var(--ink); color: #fff; }
.site-item-tabs main > input:focus-visible + label { box-shadow: var(--focus-ring); }
.site-item-tabs section { display: none; margin-top: 20px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.site-item-tabs #tab1:checked ~ #content1, .site-item-tabs #tab2:checked ~ #content2, .site-item-tabs #tab3:checked ~ #content3,
.site-item-tabs #tab4:checked ~ #content4, .site-item-tabs #tab5:checked ~ #content5 { display: block; }
.site-item-tabs #content1 { max-width: 860px; font-size: 15px; line-height: 1.75; }
.site-item-tabs #content1 p { margin: 0 0 12px; }
.site-item-tabs .sh-tab-grid .cl-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.site-item-tabs .sh-tab-grid .cl-card-code { display: none; }
@media (max-width: 767.98px) {
	.site-item-tabs { padding: 8px 16px 20px; }
	.site-item-tabs main { display: flex; flex-wrap: wrap; gap: 8px 6px; }
	.site-item-tabs main > label { margin: 8px 0 0; padding: 9px 14px; font-size: 13px; }
	.site-item-tabs main > section { flex: 0 0 100%; margin-top: 12px; padding-top: 16px; }
}
@media (max-width: 575.98px) {
	.site-item-tabs .sh-tab-grid .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.site-item-tabs .sh-tab-grid .cl-card-body { padding: 10px; }
	.site-item-tabs .sh-tab-grid .cl-card-title { font-size: 13px; }
	.site-item-tabs .sh-tab-grid .cl-card-price { font-size: 15px; }
	.site-item-tabs .sh-tab-grid .cl-card-tools { display: none; }
}

/* ---------- Копировальный центр: карточки услуг ---------- */
.sh-service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4, 16px); margin: 0 0 var(--s6, 32px); }
.sh-content .sh-service-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); color: var(--ink); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.sh-content .sh-service-card:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.sh-service-ico { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--brand); }
.sh-service-title { flex: 1 1 auto; font-size: 15px; font-weight: 700; line-height: 1.3; }
.sh-service-arrow { color: var(--brand); transition: transform .15s ease; }
.sh-service-card:hover .sh-service-arrow { transform: translateX(3px); }
.sh-content .sh-note { margin-top: 24px; color: #6b6b66; font-size: 14px; }

/* ---------- Наличие «под заказ» ---------- */
.cl .cl-card-stock.cl-card-stock--order { background: var(--accent-warm-soft, #fdf0dc); color: #9a5b0b; }
.ib-stock.ib-stock--order { color: #9a5b0b; }

/* ---------- Статус наличия в карточке товара ---------- */
.site-stock-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.site-stock { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; line-height: 1.3; }
.site-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.site-stock--in { color: var(--sr-success, #2e7d32); background: rgba(46, 125, 50, .10); }
.site-stock--order { color: #9a5b0b; background: var(--accent-warm-soft, #fdf0dc); }
.site-stock--none { color: var(--ink-2, #6b7280); background: var(--panel, #f4f4f0); }
.qv-buy .site-stock-row { margin: 4px 0 10px; }
.qv-buy .site-stock { padding: 3px 10px; font-size: 12px; }
