/* LSB Soundprogroup — стили компонентов дизайн-системы. Цвета и шрифты — из theme.json (tokens.json). */

:root {
	--lsb-blue: var(--wp--preset--color--lsb-blue, #1B40A0);
	--lsb-blue-deep: var(--wp--preset--color--lsb-blue-deep, #122E7A);
	--lsb-blue-tint: var(--wp--preset--color--lsb-blue-tint, #E6ECFA);
	--stage: var(--wp--preset--color--stage, #0A1433);
	--stage-raised: var(--wp--preset--color--stage-raised, #16224D);
	--script-red: var(--wp--preset--color--script-red, #F01414);
	--red-ink: var(--wp--preset--color--red-ink, #C40E0E);
	--signal-green: var(--wp--preset--color--signal-green, #50C708);
	--green-ink: var(--wp--preset--color--green-ink, #1F7300);
	--signal-amber: var(--wp--preset--color--signal-amber, #F2A100);
	--tape: var(--wp--preset--color--tape, #F8E8B0);
	--tape-ink: var(--wp--preset--color--tape-ink, #4D3B00);
	--paper: var(--wp--preset--color--paper, #FFFFFF);
	--paper-2: var(--wp--preset--color--paper-2, #F2F4F8);
	--line: var(--wp--preset--color--line, #D7DCE6);
	--line-strong: var(--wp--preset--color--line-strong, #9AA4B8);
	--ink: var(--wp--preset--color--ink, #0B1230);
	--ink-2: var(--wp--preset--color--ink-2, #3E4862);
	--ink-3: var(--wp--preset--color--ink-3, #5B6580);
	--on-stage: var(--wp--preset--color--on-stage, #FFFFFF);
	--on-stage-2: var(--wp--preset--color--on-stage-2, #B6C1DE);
	--line-stage: var(--wp--preset--color--line-stage, #2A3866);
	--line-green: var(--wp--preset--color--line-green, #06C755);
	--line-green-ink: var(--wp--preset--color--line-green-ink, #03341A);
	--f-display: var(--wp--preset--font-family--display, "Chakra Petch", "IBM Plex Sans Thai", system-ui, sans-serif);
	--f-body: var(--wp--preset--font-family--body, "IBM Plex Sans Thai", system-ui, sans-serif);
	--f-mono: var(--wp--preset--font-family--mono, "IBM Plex Mono", ui-monospace, monospace);
	--lift: 0 6px 18px rgba(10, 20, 51, .12);
	--gutter: 32px;
}
@media (max-width: 700px) {
	:root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--lsb-blue); outline-offset: 2px; }
.lsb-stage :focus-visible, .lsb-topbar :focus-visible, .lsb-footer :focus-visible, .lsb-rack :focus-visible, .lsb-hotbar :focus-visible { outline-color: #fff; }

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.lsb-wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main.lsb-main { padding-bottom: 56px; }
.lsb-main > .wp-block-group { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Кнопки (Button) ---------- */
.lsb-btn, .wp-element-button, .wp-block-button__link {
	height: 48px; padding: 0 20px; border: 0; border-radius: 2px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 15px/1 var(--f-display); letter-spacing: .3px; text-decoration: none; white-space: nowrap;
}
.lsb-btn--primary, .wp-element-button, .wp-block-button__link { background: var(--lsb-blue); color: #fff; }
.lsb-btn--primary:hover, .wp-element-button:hover, .wp-block-button__link:hover { background: var(--lsb-blue-deep); color: #fff; }
.lsb-btn--quote { background: var(--paper); color: var(--lsb-blue); box-shadow: inset 0 0 0 1.5px var(--lsb-blue); }
.lsb-btn--quote:hover { background: var(--lsb-blue-tint); color: var(--lsb-blue-deep); }
.lsb-btn--line { background: var(--line-green); color: var(--line-green-ink); }
.lsb-btn--line:hover { color: var(--line-green-ink); filter: brightness(.95); }
.lsb-btn--stage { background: var(--on-stage); color: var(--stage); }
.lsb-btn--stage:hover { color: var(--stage); background: var(--lsb-blue-tint); }
.lsb-btn--ghost { background: transparent; color: var(--on-stage); box-shadow: inset 0 0 0 1.5px var(--on-stage-2); }
.lsb-btn--square { width: 48px; padding: 0; }
.lsb-btn--block { width: 100%; }
.lsb-btn--wide { flex: 1 1 auto; }
.lsb-icon { flex: none; }

/* ---------- Теги, лента, бренд, артикул ---------- */
.lsb-tag { display: inline-block; transform: skewX(-12deg); padding: 2px 10px; border-radius: 2px; font: 700 13px/18px var(--f-display); letter-spacing: .5px; white-space: nowrap; }
.lsb-tag > span { display: inline-block; transform: skewX(12deg); }
.lsb-tag--special { background: var(--red-ink); color: #fff; }
.lsb-tag--hot { background: var(--script-red); color: #fff; font-size: 18px; line-height: 24px; padding: 2px 12px; }
.lsb-tag--ask { background: var(--paper); color: var(--red-ink); box-shadow: inset 0 0 0 1.5px var(--red-ink); }
.lsb-tag--new { background: var(--stage); color: var(--on-stage); }
.lsb-tape { align-self: flex-start; display: inline-block; background: var(--tape); color: var(--tape-ink); font: 500 12px/16px var(--f-body); padding: 2px 8px; }
.lsb-brand { font: 600 12px/16px var(--f-display); letter-spacing: 1.6px; text-transform: uppercase; color: var(--lsb-blue-deep); }
.lsb-brand--l { font-size: 13px; }
.lsb-sku { font: 500 13px/18px var(--f-mono); color: var(--ink-3); }
.lsb-led { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--signal-green); }

/* ---------- Наличие и LED-шкала (SignalMeter) ---------- */
.lsb-stock { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/18px var(--f-body); }
.lsb-stock__dot { width: 10px; height: 10px; border-radius: 999px; }
.lsb-stock--in { color: var(--green-ink); }
.lsb-stock--in .lsb-stock__dot { background: var(--signal-green); }
.lsb-stock--out { color: var(--ink-3); }
.lsb-stock--out .lsb-stock__dot { background: var(--line-strong); }
.lsb-meter { display: inline-flex; gap: 2px; vertical-align: middle; }
.lsb-meter__seg { width: 6px; height: 9px; border-radius: 1px; background: var(--line); }
.lsb-meter__seg.is-g { background: var(--signal-green); }
.lsb-meter__seg.is-a { background: var(--signal-amber); }
.lsb-meter__seg.is-r { background: var(--script-red); }

/* ---------- Цена ---------- */
.lsb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.lsb-price__now { font: 600 22px/28px var(--f-display); color: var(--ink); }
.lsb-price--sale .lsb-price__now { color: var(--red-ink); }
.lsb-price__old { font: 400 14px/20px var(--f-body); color: var(--ink-3); }
.lsb-price--muted .lsb-price__now { color: var(--ink-3); }
.lsb-price--big .lsb-price__now { font-size: 32px; line-height: 38px; }
.lsb-price--big .lsb-price__old { font-size: 17px; }

/* ---------- Шапка ---------- */
.lsb-topbar { background: var(--stage); color: var(--on-stage-2); font: 400 14px/20px var(--f-body); }
.lsb-topbar__in { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.lsb-topbar__contacts, .lsb-topbar__links { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.lsb-topbar__hot { display: inline-flex; align-items: center; gap: 8px; }
.lsb-topbar__num { color: #fff; font: 600 14px/20px var(--f-display); }
.lsb-topbar a { color: var(--on-stage-2); }
.lsb-topbar a.lsb-topbar__num, .lsb-topbar a.lsb-topbar__line { color: #fff; }
.lsb-topbar a:hover { color: #fff; }

.lsb-header { background: var(--paper); position: relative; z-index: 50; }
.lsb-header__row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.lsb-logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.lsb-logo img { width: 52px; height: 52px; object-fit: contain; }
.lsb-logo__name { display: block; font: 700 22px/26px var(--f-display); color: var(--ink); }
.lsb-logo__tag { display: block; font: 400 13px/18px var(--f-body); color: var(--ink-3); }
.lsb-search { flex: 1 1 380px; min-width: 0; margin: 0; }
.lsb-search .wp-block-search__inside-wrapper { display: flex; border: 0; padding: 0; }
.lsb-search .wp-block-search__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1.5px solid var(--ink); border-right: 0; border-radius: 2px 0 0 2px; font: 400 15px/1 var(--f-body); color: var(--ink); background: var(--paper); }
.lsb-search .wp-block-search__input::placeholder { color: var(--ink-3); opacity: 1; }
.lsb-search .wp-block-search__button { margin: 0; height: 48px; border-radius: 0 2px 2px 0; padding: 0 20px; }
.lsb-search .wp-block-search__button svg { width: 18px; height: 18px; fill: currentColor; }
.lsb-hactions { display: flex; gap: 8px; align-items: center; flex: none; }
.lsb-hactions__cart { position: relative; }
.lsb-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red-ink); color: #fff; font: 600 12px/20px var(--f-body); text-align: center; }

.lsb-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.lsb-nav__in { display: flex; align-items: stretch; gap: 0; }
.lsb-quicknav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.lsb-quicknav .wp-block-navigation__container { flex-wrap: nowrap; gap: 0; }
.lsb-quicknav .wp-block-navigation-item__content { display: block; padding: 12px 16px; font: 600 15px/24px var(--f-display); color: var(--ink); white-space: nowrap; }
.lsb-quicknav .wp-block-navigation-item__content:hover { color: var(--lsb-blue); }
.lsb-quicknav .lsb-nav--promo .wp-block-navigation-item__content { color: var(--red-ink); }

/* ---------- Мегаменю ---------- */
.lsb-mm { flex: none; }
.lsb-mm__toggle { height: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; background: var(--stage); color: #fff; font: 600 15px/24px var(--f-display); cursor: pointer; }
.lsb-mm.is-open .lsb-mm__toggle { background: var(--lsb-blue); }
.lsb-mm__ico-close, .lsb-mm.is-open .lsb-mm__ico-open, .lsb-mm.is-open .lsb-mm__caret { display: none; }
.lsb-mm.is-open .lsb-mm__ico-close { display: inline-flex; }
.lsb-mm__ico-open, .lsb-mm__caret { display: inline-flex; }
.lsb-mm__backdrop { position: fixed; inset: 0; background: rgba(10, 20, 51, .45); z-index: 40; }
.lsb-mm__panel { position: absolute; left: 0; right: 0; z-index: 60; background: var(--paper); box-shadow: var(--lift); }
.lsb-mm__groups { list-style: none; margin: 0; padding: 0; }
.lsb-mm__gbtn { width: 100%; min-height: 56px; padding: 8px 20px; border: 0; background: transparent; display: flex; align-items: center; gap: 12px; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.lsb-mm__gtext { flex: 1; display: flex; flex-direction: column; line-height: 20px; }
.lsb-mm__gname { font: 600 16px/22px var(--f-display); }
.lsb-mm__gn { font-size: 12px; color: var(--ink-3); }
.lsb-mm__orbit circle { stroke: var(--line-strong); }
.lsb-mm__gbtn[aria-expanded="true"] { background: var(--paper); color: var(--lsb-blue); }
.lsb-mm__gbtn[aria-expanded="true"] .lsb-mm__orbit circle:first-child { stroke: var(--lsb-blue); }
.lsb-mm__gbtn[aria-expanded="true"] .lsb-mm__orbit circle:last-child { stroke: var(--script-red); }
.lsb-mm__ghead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.lsb-mm__gtitle { margin: 0; font: 600 24px/32px var(--f-display); }
.lsb-mm__ghead a { font: 600 14px/20px var(--f-display); white-space: nowrap; }
.lsb-mm__cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lsb-mm__cat { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; }
.lsb-mm__cat:hover, .lsb-mm__cat[aria-current] { border-color: var(--lsb-blue); color: var(--ink); }
.lsb-mm__img { flex: none; width: 48px; height: 48px; object-fit: contain; display: flex; align-items: center; justify-content: center; }
.lsb-mm__cattext { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 20px; }
.lsb-mm__catname { font: 600 15px/20px var(--f-body); }
.lsb-mm__catn { font-size: 12px; color: var(--ink-3); }
.lsb-mm__btitle { font: 600 15px/22px var(--f-display); margin-bottom: 8px; }
.lsb-mm__side { display: flex; flex-direction: column; gap: 12px; }
.lsb-mm__promo { flex: 1; background: var(--tape); color: var(--tape-ink); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.lsb-mm__promo .lsb-tag { align-self: flex-start; }
.lsb-mm__promoname { font: 600 17px/24px var(--f-display); color: var(--ink); }
.lsb-mm__promoprice { font: 600 20px/26px var(--f-display); color: var(--red-ink); }
.lsb-mm__promoprice s { font: 400 14px/20px var(--f-body); color: var(--ink-3); }
.lsb-mm__promoimg { flex: 1; min-height: 110px; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 8px; }
.lsb-mm__promoimg img { max-height: 140px; width: auto; }
.lsb-mm__promocta { font: 600 14px/20px var(--f-display); color: var(--ink); }
.lsb-mm__line { background: var(--stage); color: #fff; border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.lsb-mm__line span { font-size: 13px; color: var(--on-stage-2); }
.lsb-mm__line strong { font: 600 16px/22px var(--f-display); }
.lsb-mm__line:hover { color: #fff; background: var(--stage-raised); }
.lsb-mm__mhead { display: none; }

@media (min-width: 960px) {
	.lsb-nav { position: relative; }
	.lsb-mm__panel { top: 100%; left: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))); min-height: 560px; }
	.lsb-mm__groups { width: 300px; min-height: 560px; padding: 12px 0; background: var(--paper-2); border-right: 1px solid var(--line); }
	.lsb-mm__gpanel { position: absolute; left: 300px; top: 0; right: 0; bottom: 0; display: flex; gap: 24px; padding: 24px 24px 24px 28px; }
	.lsb-mm__gpanel[hidden] { display: none; }
	.lsb-mm__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
	.lsb-mm__side { width: 236px; flex: none; }
	.lsb-mm__gbtn .lsb-icon { opacity: .6; }
}
@media (max-width: 959px) {
	.lsb-mm__panel { position: fixed; inset: 0; z-index: 100; overflow-y: auto; box-shadow: none; }
	.lsb-mm__backdrop { display: none; }
	.lsb-mm__mhead { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); background: var(--stage); color: #fff; font: 600 18px/24px var(--f-display); position: sticky; top: 0; z-index: 1; }
	.lsb-mm__close { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
	.lsb-mm__group { border-bottom: 1px solid var(--line); }
	.lsb-mm__gbtn { padding: 8px var(--gutter); }
	.lsb-mm__gbtn .lsb-icon { transform: rotate(90deg); transition: transform .15s; }
	.lsb-mm__gbtn[aria-expanded="true"] { background: var(--paper-2); }
	.lsb-mm__gbtn[aria-expanded="true"] .lsb-icon { transform: rotate(-90deg); }
	.lsb-mm__gpanel { padding: 12px var(--gutter) 20px; background: var(--paper-2); display: flex; flex-direction: column; gap: 16px; }
	.lsb-mm__gpanel[hidden] { display: none; }
	.lsb-mm__main { display: flex; flex-direction: column; gap: 16px; }
	.lsb-mm__ghead { border-bottom-width: 1px; }
	.lsb-mm__gtitle { font-size: 18px; line-height: 24px; }
	.lsb-mm__cats { grid-template-columns: 1fr; gap: 6px; }
	.lsb-mm__cat { background: var(--paper); }
	.lsb-mm__promo { display: none; }
	html.lsb-mm-open { overflow: hidden; }
}

/* ---------- Чипы ---------- */
.lsb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lsb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); font: 600 12px/18px var(--f-display); letter-spacing: 1px; color: var(--ink-2); text-decoration: none; background: var(--paper); }
.lsb-chip:hover { box-shadow: inset 0 0 0 1px var(--lsb-blue); color: var(--lsb-blue); }
.lsb-chip.is-on { background: var(--lsb-blue-tint); box-shadow: inset 0 0 0 1px var(--lsb-blue); color: var(--lsb-blue-deep); }
.lsb-chip__n { font: 500 12px/18px var(--f-mono); color: var(--ink-3); letter-spacing: 0; }

/* ---------- Рэк-рейка (RackHeader) ---------- */
.lsb-rack { display: flex; align-items: stretch; background: var(--stage); color: var(--on-stage); min-height: 60px; margin: 48px 0 20px; position: relative; padding: 0 28px; }
.lsb-rack::before, .lsb-rack::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line-stage); }
.lsb-rack::before { left: 10px; }
.lsb-rack::after { right: 10px; }
.lsb-rack > * { margin: 0 !important; }
.lsb-rack__ch { background: var(--stage-raised); display: flex !important; align-items: center; gap: 8px; padding: 0 16px; font: 700 14px/16px var(--f-display) !important; letter-spacing: 1px; color: #fff; }
.lsb-rack__ch::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--signal-green); }
.lsb-rack--amber .lsb-rack__ch::before { background: var(--signal-amber); }
.lsb-rack h2, .lsb-rack .lsb-rack__title { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 20px; font: 600 24px/32px var(--f-display); color: #fff; }
.lsb-rack__more { display: flex !important; align-items: center; padding: 0 20px; border-left: 1px solid var(--line-stage); font: 600 14px/20px var(--f-display) !important; }
.lsb-rack__more a { color: #fff; text-decoration: none; }
.lsb-rack__more a:hover { color: var(--on-stage-2); }
@media (max-width: 700px) {
	.lsb-rack { padding: 0; min-height: 52px; margin-top: 36px; }
	.lsb-rack::before, .lsb-rack::after { display: none; }
	.lsb-rack h2, .lsb-rack .lsb-rack__title { font-size: 19px; line-height: 26px; padding: 8px 12px; }
	.lsb-rack__ch { padding: 0 12px; }
	.lsb-rack__more { padding: 0 14px; }
	.lsb-rack__more a { font-size: 0 !important; }
	.lsb-rack__more a::after { content: "→"; font-size: 18px; }
}
/* Заголовок секции «линейкой» (как в концепции для 05, 07, 08) */
.lsb-rule { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin: 48px 0 20px; }
.lsb-rule > * { margin: 0 !important; }
.lsb-rule h2 { font: 600 24px/32px var(--f-display); }
.lsb-rule h2 .lsb-num { color: var(--lsb-blue); margin-right: 6px; }
.lsb-rule a { font: 600 14px/20px var(--f-display); }
@media (max-width: 700px) { .lsb-rule h2 { font-size: 20px; line-height: 28px; } }

/* ---------- Карточка товара (ProductCard) ---------- */
.lsb-grid, .wc-block-product-template.lsb-grid, .lsb-products .wc-block-product-template { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lsb-products .wc-block-product-template > li, .lsb-grid > li { margin: 0 !important; width: auto !important; max-width: none !important; padding: 0; display: flex; }
.lsb-grid--4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lsb-card { position: relative; width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; transition: box-shadow .15s; }
.lsb-card:hover { box-shadow: var(--lift); }
.lsb-card__photo { height: 190px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); padding: 12px; background: var(--paper); border-radius: 4px 4px 0 0; }
.lsb-card__img { width: auto !important; height: auto !important; max-width: 100%; max-height: 164px; object-fit: contain; }
.lsb-card__noimg { opacity: .6; }
.lsb-card__tag { position: absolute; top: 12px; left: 12px; }
.lsb-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lsb-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; }
.lsb-card__meta .lsb-sku { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.lsb-card__name { margin: 0; font: 600 15px/22px var(--f-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lsb-card__name a { color: var(--ink); text-decoration: none; }
.lsb-card__name a:hover { color: var(--lsb-blue); }
.lsb-card .lsb-price { margin-top: auto; padding-top: 6px; }
.lsb-card__acts { display: grid; grid-template-columns: 1fr 44px; gap: 8px; margin-top: 8px; }
.lsb-card__acts .lsb-btn { height: 44px; font-size: 14px; padding: 0 10px; }
.lsb-card__acts .lsb-btn--square { width: 44px; padding: 0; }
.lsb-card__acts .lsb-btn--block { grid-column: 1 / -1; }
.lsb-card--ask .lsb-price__now, .lsb-card--sold .lsb-price__now { font-size: 20px; }
@media (max-width: 700px) {
	.lsb-grid, .lsb-products .wc-block-product-template, .lsb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.lsb-card__photo { height: 150px; padding: 8px; }
	.lsb-card__img { max-height: 130px; }
	.lsb-card__body { padding: 10px; }
	.lsb-card__name { font-size: 14px; line-height: 20px; }
	.lsb-card__meta { flex-direction: column; align-items: flex-start; gap: 0; }
	.lsb-card__meta .lsb-sku { max-width: 100%; }
	.lsb-price__now { font-size: 19px; line-height: 24px; }
	.lsb-card__acts { grid-template-columns: 1fr 40px; gap: 6px; }
	.lsb-card__acts .lsb-btn { height: 40px; font-size: 13px; }
	.lsb-card__acts .lsb-btn--square { width: 40px; }
	.lsb-card__tag { top: 8px; left: 8px; }
	.lsb-card__tag .lsb-tag { font-size: 12px; padding: 1px 8px; }
}

/* ---------- Главная: hero ---------- */
.lsb-herozone { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.lsb-herozone__in { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 24px; padding-bottom: 16px; }
.lsb-hero { flex: 2 1 640px; min-width: 0; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; min-height: 420px; }
.lsb-hero__slide { display: flex; flex-wrap: wrap; min-height: 420px; }
.lsb-hero__slide[hidden] { display: none; }
.lsb-hero__text { flex: 1 1 340px; min-width: 0; padding: 40px 40px 80px; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; z-index: 1; }
.lsb-hero__text .lsb-tag { align-self: flex-start; font-size: 15px; line-height: 22px; padding: 3px 14px; }
.lsb-hero__title { margin: 0; font: 600 36px/44px var(--f-display); color: var(--ink); }
.lsb-hero__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.lsb-hero__media { flex: 1 1 300px; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.lsb-hero__orbit { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); }
.lsb-hero__orbit circle:last-child { stroke-width: 2.5; }
.lsb-hero__img { position: relative; max-height: 320px; width: auto !important; max-width: 100%; }
.lsb-hero__nav { position: absolute; left: 40px; bottom: 24px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.lsb-hero__prev, .lsb-hero__next { width: 36px; height: 36px; border: 0; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lsb-hero__dots { display: flex; gap: 4px; }
.lsb-hero__dot { width: 12px; height: 4px; padding: 0; border: 0; background: var(--line); cursor: pointer; }
.lsb-hero__dot[aria-current] { width: 28px; background: var(--lsb-blue); }
.lsb-solutions { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lsb-solution { flex: 1; min-height: 202px; border-radius: 4px; padding: 24px; display: flex; gap: 12px; overflow: hidden; margin: 0 !important; }
.lsb-solution > .wp-block-group { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.lsb-solution p { margin: 0; }
.lsb-solution .wp-block-image { width: 120px; flex: none; margin: 0; display: flex; align-items: center; justify-content: center; background: var(--paper); border-radius: 2px; padding: 8px; }
.lsb-solution .wp-block-image img { max-height: 140px; width: auto; }
.lsb-solution--stage { background: var(--stage); color: #fff; }
.lsb-solution--blue { background: var(--lsb-blue); color: #fff; }
.lsb-solution__kicker { font-size: 13px; line-height: 18px; color: var(--on-stage-2); }
.lsb-solution--blue .lsb-solution__kicker, .lsb-solution--blue .lsb-solution__text { color: var(--lsb-blue-tint); }
.lsb-solution__title { font: 600 24px/30px var(--f-display) !important; margin: 0 !important; color: #fff; }
.lsb-solution__text { font-size: 14px; line-height: 22px; color: var(--on-stage-2); }
.lsb-solution__cta { margin-top: auto !important; font: 600 14px/20px var(--f-display); }
.lsb-solution__cta a { color: #fff; text-decoration: none; }
.lsb-solution__cta a:hover { text-decoration: underline; }
.lsb-trust { margin: 0 0 24px !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.lsb-trust > * { margin: 0 !important; padding: 14px 18px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); }
.lsb-trust > *:last-child { border-right: 0; }
.lsb-trust__item p { margin: 0; }
.lsb-trust__a { font: 600 15px/20px var(--f-body); color: var(--ink); }
.lsb-trust__b { font: 400 13px/20px var(--f-body); color: var(--ink-3); }
@media (max-width: 700px) {
	.lsb-herozone__in { padding-top: 16px; }
	.lsb-hero, .lsb-hero__slide { min-height: 0; }
	.lsb-hero__text { padding: 24px 20px 12px; order: 2; }
	.lsb-hero__media { order: 1; padding: 16px; min-height: 200px; flex-basis: 100%; }
	.lsb-hero__img { max-height: 200px; }
	.lsb-hero__orbit { width: 260px; height: 260px; right: -40px; }
	.lsb-hero__title { font-size: 24px; line-height: 32px; }
	.lsb-hero__nav { position: static; padding: 0 20px 20px; }
	.lsb-hero__acts .lsb-btn { flex: 1 1 100%; }
	.lsb-solution { min-height: 0; padding: 18px; }
	.lsb-solution .wp-block-image { width: 96px; }
	.lsb-solution__title { font-size: 20px !important; line-height: 26px !important; }
	.lsb-trust > * { border-right: 0; border-bottom: 1px solid var(--line); }
	.lsb-trust > *:last-child { border-bottom: 0; }
}

/* ---------- Плитки категорий (CategoryPlate) ---------- */
.lsb-plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.lsb-plate { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); align-items: center; text-decoration: none; height: 100%; }
.lsb-plate:hover { border-color: var(--lsb-blue); color: var(--ink); }
.lsb-plate__img { flex: none; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.lsb-plate__img img { max-width: 64px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.lsb-plate__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lsb-plate__name { font: 600 17px/24px var(--f-display); }
.lsb-plate__brands { font: 600 11px/16px var(--f-display); letter-spacing: 1.2px; text-transform: uppercase; color: var(--lsb-blue-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsb-plate__foot { display: flex; justify-content: space-between; align-items: center; font: 400 13px/18px var(--f-body); color: var(--ink-3); margin-top: 2px; }
@media (max-width: 700px) {
	.lsb-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.lsb-plate { flex-direction: column; align-items: flex-start; padding: 10px; gap: 6px; }
	.lsb-plate__img { width: 48px; height: 48px; }
	.lsb-plate__img img { max-width: 48px; max-height: 48px; }
	.lsb-plate__name { font-size: 15px; line-height: 20px; }
	.lsb-plate__text { width: 100%; }
}

/* ---------- Вкладки «เลือกซื้อตามหมวด» ---------- */
.lsb-tabs__list { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; scrollbar-width: none; }
.lsb-tabs__tab { flex: none; height: 48px; padding: 0 18px; border: 0; background: transparent; cursor: pointer; font: 600 15px/1 var(--f-display); color: var(--ink-2); }
.lsb-tabs__tab[aria-selected="true"] { color: var(--lsb-blue); box-shadow: inset 0 -3px 0 var(--lsb-blue); }
.lsb-tabs__panel { display: flex; flex-wrap: wrap; gap: 16px; }
.lsb-tabs__panel[hidden] { display: none; }
.lsb-tabs__intro { flex: 1 1 260px; min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--paper-2); }
.lsb-tabs__intro h3 { margin: 0; font: 600 22px/28px var(--f-display); }
.lsb-tabs__intro p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.lsb-tabs__panel .lsb-grid { flex: 999 1 640px; min-width: 0; }
.lsb-more { margin-top: auto; font: 600 15px/22px var(--f-display); }

/* ---------- Промо-баннеры, бренды, B2B ---------- */
.lsb-promos { margin-top: 48px !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.lsb-promo { min-height: 160px; border-radius: 4px; padding: 24px 28px; display: flex; gap: 16px; align-items: center; margin: 0 !important; }
.lsb-promo > .wp-block-group { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.lsb-promo p { margin: 0; }
.lsb-promo .wp-block-image { margin: 0; width: 140px; flex: none; background: var(--paper); padding: 8px; border-radius: 2px; }
.lsb-promo .wp-block-image img { max-height: 110px; width: auto; margin: 0 auto; display: block; }
.lsb-promo--tape { background: var(--tape); color: var(--tape-ink); }
.lsb-promo--tint { background: var(--lsb-blue-tint); color: var(--ink); }
.lsb-promo__title { font: 600 24px/30px var(--f-display) !important; margin: 0 !important; color: var(--ink); }
.lsb-promo__kicker { font: 600 14px/20px var(--f-body); color: var(--lsb-blue-deep); }
.lsb-promo a { color: inherit; }
.lsb-promo__cta a { font: 600 14px/20px var(--f-display); color: var(--lsb-blue); }
@media (max-width: 700px) { .lsb-promos { grid-template-columns: 1fr; } .lsb-promo { padding: 18px; } .lsb-promo .wp-block-image { width: 96px; } }

.lsb-brandgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-left: 1px solid var(--line); }
.lsb-brandgrid a { height: 60px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--f-display); letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); text-decoration: none; padding: 0 8px; text-align: center; }
.lsb-brandgrid a:hover { color: var(--lsb-blue); background: var(--paper-2); }
@media (max-width: 700px) { .lsb-brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lsb-brandgrid a { font-size: 13px; height: 52px; } }

.lsb-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border: 1px solid var(--line); gap: 0 !important; }
.lsb-steps > * { margin: 0 !important; padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.lsb-steps > *:last-child { border-right: 0; }
.lsb-step__n { font: 700 32px/36px var(--f-display) !important; color: var(--lsb-blue); margin: 0 !important; }
.lsb-steps h3 { margin: 0; font: 600 19px/26px var(--f-display); }
.lsb-steps p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.lsb-services { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 16px !important; }
.lsb-services > * { margin: 0 !important; padding: 16px; border: 1px solid var(--line); border-radius: 4px; }
.lsb-services h3 { margin: 0 0 4px; font: 600 17px/24px var(--f-display); }
.lsb-services p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.lsb-tapes { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.lsb-tapes p { margin: 0; background: var(--tape); color: var(--tape-ink); font: 500 13px/18px var(--f-body); padding: 4px 10px; }
@media (max-width: 700px) { .lsb-steps > * { border-right: 0; border-bottom: 1px solid var(--line); } .lsb-steps > *:last-child { border-bottom: 0; } }

/* ---------- Проекты, клиенты, статьи ---------- */
.lsb-tiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lsb-tile { margin: 0 !important; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.lsb-tile .wp-block-image { margin: 0; height: 180px; overflow: hidden; background: var(--paper-2); }
.lsb-tile .wp-block-image img { width: 100%; height: 180px; object-fit: cover; }
.lsb-tile > .wp-block-group { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.lsb-tile p { margin: 0; }
.lsb-tile__kicker { font-size: 13px; line-height: 20px; color: var(--ink-3); }
.lsb-tile__title { font: 600 17px/24px var(--f-display); }
.lsb-tile__title a { color: var(--ink); text-decoration: none; }
.lsb-tile__title a:hover { color: var(--lsb-blue); }
.lsb-tiles--articles .wp-block-image, .lsb-tiles--articles .wp-block-image img { height: 140px; }
.lsb-tiles--articles { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lsb-clients { margin-top: 20px !important; padding: 16px 20px; background: var(--paper-2); border-radius: 4px; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.lsb-clients strong { font: 600 15px/22px var(--f-display); color: var(--ink); margin-right: 12px; }
.lsb-clients span { display: inline-block; padding: 0 12px; border-left: 1px solid var(--line); }
@media (max-width: 700px) { .lsb-tiles, .lsb-tiles--articles { grid-template-columns: 1fr; } }

/* ---------- SEO-текст и FAQ ---------- */
.lsb-seo { display: flex !important; flex-wrap: wrap; gap: 32px; padding: 48px 0 8px; }
.lsb-seo > * { flex: 1 1 460px; min-width: 0; margin: 0 !important; }
.lsb-seo h2 { margin: 0 0 12px; font: 600 24px/32px var(--f-display); }
.lsb-seo p { color: var(--ink-2); margin: 0 0 12px; }
.lsb-seo h3 { font: 600 18px/26px var(--f-display); margin: 16px 0 8px; }
.lsb-seo details.lsb-readmore > summary { cursor: pointer; font: 600 15px/22px var(--f-display); color: var(--lsb-blue); list-style: none; }
.lsb-seo details.lsb-readmore > summary::-webkit-details-marker { display: none; }
.lsb-seo details.lsb-readmore[open] > summary { margin-bottom: 12px; }
.lsb-faq { border-top: 1px solid var(--line); }
.lsb-faq details { border-bottom: 1px solid var(--line); margin: 0 !important; }
.lsb-faq summary { min-height: 52px; padding: 12px 32px 12px 0; cursor: pointer; font: 600 16px/24px var(--f-body); color: var(--ink); list-style: none; position: relative; }
.lsb-faq summary::-webkit-details-marker { display: none; }
.lsb-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 600 20px/24px var(--f-display); color: var(--lsb-blue); }
.lsb-faq details[open] summary::after { content: "−"; }
.lsb-faq details p { margin: 0 0 14px; font-size: 15px; line-height: 24px; color: var(--ink-2); }

/* ---------- Hotline ---------- */
.lsb-hotline { border: 1px solid var(--line); border-radius: 4px; padding: 16px; background: var(--paper); }
.lsb-hotline__cap { font: 600 14px/18px var(--f-display); color: var(--lsb-blue-deep); }
.lsb-hotline__num { display: block; font: 600 26px/32px var(--f-display); color: var(--ink); text-decoration: none; margin: 4px 0; }
.lsb-hotline__sub { font-size: 14px; line-height: 22px; color: var(--ink-2); }
.lsb-hotline__sub a { color: var(--ink-2); }
.lsb-hotline__btns { display: flex; gap: 8px; margin-top: 12px; }
.lsb-hotline__btns .lsb-btn { flex: 1; height: 44px; font-size: 14px; padding: 0 10px; }
.lsb-band { background: var(--lsb-blue); color: #fff; }
.lsb-band__in { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.lsb-band__qr { width: 112px; height: 112px; background: #fff; padding: 6px; }
.lsb-band__text { flex: 1 1 360px; min-width: 0; color: var(--lsb-blue-tint); }
.lsb-band__num { display: block; color: #fff; font: 600 44px/52px var(--f-display); text-decoration: none; }
.lsb-band__num:hover { color: #fff; }
.lsb-band__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.lsb-band__acts .lsb-btn { height: 52px; padding: 0 24px; }
.lsb-hotbar { display: none; }
@media (max-width: 700px) {
	.lsb-band__qr { display: none; }
	.lsb-band__num { font-size: 34px; line-height: 42px; }
	.lsb-band__acts { width: 100%; }
	.lsb-band__acts .lsb-btn { flex: 1; }
	.lsb-hotbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--stage); padding-bottom: env(safe-area-inset-bottom); }
	.lsb-hotbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; color: #fff; text-decoration: none; font: 600 12px/16px var(--f-display); }
	.lsb-hotbar a + a { border-left: 1px solid var(--line-stage); }
	body { padding-bottom: 64px; }
}

/* ---------- Подвал ---------- */
.lsb-footer { background: var(--stage); color: var(--on-stage-2); font-size: 14px; line-height: 22px; }
.lsb-footer a { color: var(--on-stage-2); text-decoration: none; }
.lsb-footer a:hover { color: #fff; }
.lsb-footer__cols { display: grid !important; grid-template-columns: 2fr repeat(3, minmax(160px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.lsb-footer__cols > * { margin: 0 !important; }
.lsb-footer h2 { font: 600 15px/22px var(--f-display); color: #fff; margin: 0 0 10px; }
.lsb-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lsb-finfo p { margin: 0 0 4px; }
.lsb-finfo__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 700 18px/24px var(--f-display); color: #fff; }
.lsb-finfo__logo { width: 44px; height: 44px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lsb-footer__bottom { border-top: 1px solid var(--line-stage); padding-top: 16px; padding-bottom: 28px; font-size: 13px; margin: 0 auto !important; }
.lsb-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .lsb-footer__cols { grid-template-columns: 1fr 1fr; } .lsb-footer__cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Категория ---------- */
.lsb-crumbs { font: 400 14px/22px var(--f-body); color: var(--ink-3); padding: 16px 0 8px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.lsb-crumbs a { color: var(--ink-2); }
.lsb-crumbs__sep { color: var(--line-strong); }
.wc-block-breadcrumbs { margin: 0; }
.lsb-cathead { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 8px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.lsb-cathead__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lsb-cathead__title { margin: 0; font: 600 40px/48px var(--f-display); }
.lsb-cathead__count { display: flex; align-items: center; gap: 10px; font: 500 14px/20px var(--f-body); color: var(--ink-2); }
.lsb-cathead__count .lsb-meter__seg { width: 10px; height: 14px; }
.lsb-cathead__count .lsb-meter { gap: 3px; }
.lsb-cathead .lsb-hotline { flex: 0 1 340px; }
.lsb-toolbar { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px !important; }
.lsb-toolbar > * { margin: 0 !important; }
.woocommerce-result-count { font-size: 14px; color: var(--ink-3); margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { height: 44px; padding: 0 36px 0 12px; border: 1.5px solid var(--line-strong); border-radius: 2px; font: 400 15px/1 var(--f-body); color: var(--ink); background: var(--paper); }
.wp-block-query-pagination, .wc-block-pagination { margin-top: 24px !important; gap: 6px; font: 600 15px/1 var(--f-display); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--lsb-blue); border-color: var(--lsb-blue); color: #fff; }
.lsb-catdesc { margin-top: 40px; color: var(--ink-2); max-width: 900px; }
.lsb-empty { padding: 40px 0; display: flex; gap: 16px; align-items: center; color: var(--ink-2); }
@media (max-width: 700px) {
	.lsb-cathead__title { font-size: 28px; line-height: 36px; }
	.lsb-cathead .lsb-hotline { display: none; }
	.lsb-cathead__subs .lsb-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.lsb-cathead__subs .lsb-chip { white-space: nowrap; }
}

/* ---------- Товар ---------- */
.lsb-product { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 8px 0 8px; }
.lsb-product > * { margin: 0 !important; }
.lsb-media { position: relative; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.lsb-media__stage { min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 32px; }
.lsb-media__fig { margin: 0; }
.lsb-media__fig[hidden] { display: none; }
.lsb-media__img { width: auto !important; height: auto !important; max-width: 100%; max-height: 560px; display: block; }
.lsb-media__tag { position: absolute; top: 16px; left: 16px; z-index: 1; }
.lsb-media__tag .lsb-tag { font-size: 15px; line-height: 22px; padding: 3px 14px; }
.lsb-media__thumbs { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }
.lsb-media__thumb { width: 64px; height: 64px; padding: 4px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); cursor: pointer; }
.lsb-media__thumb[aria-current] { border-color: var(--lsb-blue); box-shadow: inset 0 0 0 1px var(--lsb-blue); }
.lsb-media__thumb img { width: 100%; height: 100%; object-fit: contain; }
.lsb-media--empty { min-height: 320px; display: flex; align-items: center; justify-content: center; }
.lsb-pinfo { display: flex; flex-direction: column; gap: 12px; }
.lsb-pinfo h1 { margin: 0; font: 600 30px/38px var(--f-display); }
.lsb-pinfo .wp-block-post-excerpt, .lsb-pinfo .wc-block-components-product-summary { margin: 0; color: var(--ink-2); }
.lsb-pinfo .wp-block-post-excerpt__excerpt { margin: 0; }
.lsb-buybox { display: flex; flex-direction: column; gap: 12px; }
.lsb-buybox__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; order: -2; }
.lsb-buybox__model { font-size: 14px; color: var(--ink-3); }
.lsb-buybox__price { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lsb-buybox__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.lsb-buy { display: flex; gap: 8px; margin: 0; flex: 1 1 260px; }
.lsb-buy .lsb-btn { flex: 1; }
.lsb-qty { width: 72px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 2px; text-align: center; font: 500 16px/1 var(--f-mono); color: var(--ink); }
.lsb-buybox__acts > .lsb-btn--quote { flex: 1 1 220px; }
.lsb-buybox__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lsb-buybox__trust li { background: var(--tape); color: var(--tape-ink); font: 500 13px/18px var(--f-body); padding: 4px 10px; }
.lsb-buybox__trust a { color: var(--tape-ink); text-decoration: underline; }
.lsb-pdesc { max-width: 900px; }
.lsb-pdesc img { height: auto; }
.lsb-pdesc iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; width: 640px; border: 0; }
.lsb-pdesc h3 { font-size: 20px; line-height: 28px; margin: 24px 0 8px; }
.lsb-pdesc ul { padding-left: 1.2em; }
.lsb-table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 22px; margin: 16px 0; }
.lsb-table td, .lsb-table th { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
.lsb-spec { max-width: 900px; margin-top: 8px; }
.lsb-spec__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.lsb-spec__title { margin: 0; font: 600 20px/28px var(--f-display); }
.lsb-spec__table { width: 100%; border-collapse: collapse; }
.lsb-spec__table th, .lsb-spec__table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lsb-spec__table th { width: 40%; padding-right: 16px; font: 500 14px/22px var(--f-body); color: var(--ink-2); }
.lsb-spec__table td { font: 400 14px/22px var(--f-mono); color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 900px) {
	.lsb-product { grid-template-columns: 1fr; gap: 20px; }
	.lsb-media__stage { min-height: 260px; padding: 16px; }
	.lsb-media__img { max-height: 320px; }
	.lsb-pinfo h1 { font-size: 24px; line-height: 32px; }
	.lsb-spec__table th { width: 45%; }
}

/* ---------- Уведомления WooCommerce, корзина ---------- */
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 2px; font-family: var(--f-body); }
.woocommerce-message, .woocommerce-info { border-left: 4px solid var(--lsb-blue); background: var(--lsb-blue-tint); padding: 12px 16px; margin: 16px 0; list-style: none; }
.woocommerce-error { border-left: 4px solid var(--red-ink); background: #fff; padding: 12px 16px; margin: 16px 0; list-style: none; }
.woocommerce-message .button { margin-left: 12px; }

/* ---------- Адаптив шапки ---------- */
@media (max-width: 700px) {
	.lsb-hide-s { display: none !important; }
	.lsb-topbar { font-size: 13px; }
	.lsb-topbar__in { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
	.lsb-header__row { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.lsb-logo { flex: 1; min-width: 0; }
	.lsb-logo img { width: 44px; height: 44px; }
	.lsb-logo__name { font-size: 20px; }
	.lsb-logo__tag { font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.lsb-search { order: 3; flex: 1 1 100%; }
	.lsb-search .wp-block-search__button { padding: 0 14px; }
	.lsb-hactions__quote { width: 48px; padding: 0; }
	.lsb-mm__toggle { padding: 12px 14px; }
	.lsb-quicknav .wp-block-navigation-item__content { padding: 12px 12px; font-size: 14px; }
}
@media (min-width: 701px) { .lsb-show-s { display: none !important; } }
.lsb-buybox__title { margin: 0; font: 600 30px/38px var(--f-display); color: var(--ink); }
.lsb-buybox__short { margin: 0; color: var(--ink-2); }
.lsb-pdetails .lsb-spec { margin-top: 32px; }
@media (max-width: 900px) { .lsb-buybox__title { font-size: 24px; line-height: 32px; } }
@media (min-width: 1100px) { .lsb-plates { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lsb-note { font-size: 13px; line-height: 20px; color: var(--ink-3); margin: 10px 0 0; }

.lsb-sku__label { font-family: var(--f-body); }
.lsb-logo > span { min-width: 0; overflow: hidden; }
@media (max-width: 700px) {
	.lsb-home .lsb-products .wc-block-product-template > li:nth-child(n+5) { display: none; }
}
