/* Gladiator СПб — основные стили */

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #051c2c;
	--navy2: #0d3047;
	--blue: #e2231a;
	--blue-d: #b8160f;
	--ink: #111a2e;
	--muted: #5d6679;
	--line: #e3e7ef;
	--bg: #f3f5f9;
	--white: #fff;
	--ok: #13a05b;
	--r: 14px;
	--wrap: 1280px;
	--head-h: 76px;
	--shadow: 0 6px 24px rgba(5, 28, 44, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
	margin: 0;
	font: 400 16px/1.55 "Montserrat", Arial, sans-serif;
	color: var(--ink);
	background: var(--white);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; }

.gspb-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.gspb-ic { width: 20px; height: 20px; flex: none; }
.gspb-hidden { display: none !important; }

/* ---------- кнопки ---------- */

.gspb-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .pmcl-cart {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 0; border-radius: 10px;
	background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2;
	cursor: pointer; transition: background .15s, transform .15s; text-decoration: none;
}
.gspb-btn:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--blue-d); color: #fff; }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--blue); color: #fff; }
.woocommerce .button.alt:hover, .woocommerce button.button.alt:hover { background: var(--blue-d); }
.woocommerce .button:disabled, .woocommerce button.button:disabled[disabled] { background: #9fb4cc; color: #fff; padding: 12px 22px; }
.gspb-btn--lg { padding: 16px 28px; font-size: 16px; }
.gspb-btn--line { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.gspb-btn--line:hover { background: rgba(255, 255, 255, .1); }
.gspb-btn--ghost { background: var(--bg); color: var(--navy); }
.gspb-btn--ghost:hover { background: #e6ebf3; color: var(--navy); }
.gspb-btn .gspb-ic { width: 18px; height: 18px; }

.gspb-msg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 36px; height: 36px; border-radius: 50%; color: #fff; }
.gspb-msg .gspb-ic { width: 19px; height: 19px; }
.gspb-msg--whatsapp { background: #25d366; }
.gspb-msg--telegram { background: #29a9eb; }
.gspb-msg--max { background: linear-gradient(135deg, #4b3cff, #8f3cff); }
.gspb-msg:hover { color: #fff; filter: brightness(1.08); }

/* ---------- верхняя полоса ---------- */

.gspb-top { background: var(--navy); color: #c9d3ea; font-size: 13px; }
.gspb-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.gspb-top__links { display: flex; gap: 24px; min-width: 0; }
.gspb-top__links a { display: inline-flex; align-items: center; gap: 6px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gspb-top__links a:hover { color: #fff; }
.gspb-top__links .gspb-ic { width: 15px; height: 15px; color: var(--blue); }
.gspb-top__msg { display: flex; gap: 8px; }
.gspb-top__msg .gspb-msg { width: 28px; height: 28px; }
.gspb-top__msg .gspb-msg .gspb-ic { width: 15px; height: 15px; }

/* ---------- шапка ---------- */

.gspb-head { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.admin-bar .gspb-head { top: 32px; }
.gspb-head.is-scrolled { box-shadow: 0 4px 20px rgba(5, 28, 44, .08); }
.gspb-head__in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }

.gspb-logo { display: flex; flex-direction: column; line-height: 1; color: var(--navy); flex: none; }
.gspb-logo:hover { color: var(--navy); }
.gspb-logo__name { font-size: 26px; font-weight: 900; letter-spacing: .06em; font-style: italic; }
.gspb-logo__name::after { content: ""; display: block; height: 3px; width: 100%; margin-top: 4px; background: linear-gradient(90deg, var(--blue), transparent); border-radius: 2px; }
.gspb-logo__sub { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }
.gspb-logo__img { display: block; height: 40px; width: auto; max-width: 190px; object-fit: contain; object-position: left; }
.gspb-logo--light .gspb-logo__img { filter: brightness(0) invert(1); }
.gspb-logo--light { color: #fff; }
.gspb-logo--light:hover { color: #fff; }
.gspb-logo--light .gspb-logo__sub { color: #9fb0d0; }

.gspb-nav { flex: 1; min-width: 0; }
.gspb-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gspb-nav .menu > li { position: relative; }
.gspb-nav .menu > li > a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.gspb-nav .menu > li > a:hover, .gspb-nav .current-menu-item > a, .gspb-nav .current-menu-ancestor > a { color: var(--blue-d); background: var(--bg); }
.gspb-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.gspb-nav li:hover > .sub-menu, .gspb-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gspb-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.gspb-nav .sub-menu a:hover { background: var(--bg); color: var(--blue-d); }
.gspb-nav__contacts { display: none; }

.gspb-head__phones { display: flex; gap: 20px; }
.gspb-head__phones a { display: flex; flex-direction: column; color: var(--navy); line-height: 1.15; }
.gspb-head__phones span { font-weight: 800; font-size: 16px; white-space: nowrap; }
.gspb-head__phones small { font-size: 12px; color: var(--muted); }
.gspb-head__phones a:hover span { color: var(--blue-d); }

.gspb-head__tools { display: flex; gap: 6px; margin-left: auto; }
.gspb-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg); color: var(--navy); cursor: pointer; }
.gspb-iconbtn:hover { background: #e6ebf3; color: var(--blue-d); }
.gspb-head__call { display: none; }
.gspb-cart__n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.gspb-cart__n.is-empty { display: none; }
.gspb-burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--navy); padding: 0; cursor: pointer; }
.gspb-burger .gspb-ic { width: 26px; height: 26px; }
.gspb-burger .i-close { display: none; }

.gspb-search { border-top: 1px solid var(--line); background: #fff; }
.gspb-search__in { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.gspb-search input[type=search] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: 10px; font-size: 16px; outline: none; }
.gspb-search input[type=search]:focus { border-color: var(--blue); }

/* ---------- главная: баннер ---------- */

.gspb-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 75% 60%, #1d4f6e 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); }
.gspb-hero::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 70%; background: radial-gradient(ellipse, rgba(226, 35, 26, .25), transparent 70%); pointer-events: none; }
.gspb-hero__in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
.gspb-hero h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 20px; }
.gspb-hero h1 span { color: var(--blue); }
.gspb-hero p { font-size: 18px; color: #c9d3ea; max-width: 560px; margin: 0 0 30px; }
.gspb-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.gspb-hero__img { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 100%; }
/* чёрный мотор на тёмном фоне — светлое пятно за ним */
.gspb-hero__img::before { content: ""; position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(220, 235, 245, .55) 0%, rgba(160, 195, 220, .18) 45%, transparent 70%); }
.gspb-hero__img img { position: relative; max-height: 470px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.gspb-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 14px; border-radius: 30px; background: rgba(226, 35, 26, .18); color: #ffb3ae; font-size: 14px; font-weight: 700; }
.gspb-badge .gspb-ic { width: 16px; height: 16px; }

/* ---------- главная: преимущества ---------- */

.gspb-perks { background: var(--navy2); padding: 0 0 28px; }
.gspb-perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gspb-perk { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .06); color: #fff; transition: background .15s; }
.gspb-perk:hover { background: rgba(255, 255, 255, .11); color: #fff; }
.gspb-perk .gspb-ic { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--blue); }
.gspb-perk b { font-size: 16px; }
.gspb-perk span { font-size: 13px; color: #9fb0d0; line-height: 1.35; }

/* ---------- секции ---------- */

.gspb-sec { padding: 64px 0; }
.gspb-sec--alt { background: var(--bg); }
.gspb-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.gspb-sec__head h2, .gspb-visit h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 900; text-transform: uppercase; }
.gspb-sec__head h2::after, .gspb-visit h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--blue); }

.gspb-cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.gspb-card { position: relative; display: flex; justify-content: space-between; min-height: 280px; padding: 28px; border-radius: 18px; background: var(--bg); color: var(--ink); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gspb-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.gspb-card--motor { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; }
.gspb-card--motor:hover { color: #fff; }
.gspb-card__text { position: relative; z-index: 1; display: flex; flex-direction: column; }
.gspb-card h2 { font-size: 22px; font-weight: 900; text-transform: uppercase; }
.gspb-card ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 15px; }
.gspb-card li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.gspb-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.gspb-card--motor ul { color: #c9d3ea; }
.gspb-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-d); }
.gspb-card--motor .gspb-card__go { color: #ff6b63; }
.gspb-card:hover .gspb-card__go .gspb-ic { transform: translateX(4px); }
.gspb-card__go .gspb-ic { transition: transform .15s; }
.gspb-card > img { position: absolute; right: 18px; bottom: 0; max-height: 92%; width: auto; max-width: 42%; object-fit: contain; }
.gspb-card--motor > img { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .4)); }
.gspb-card__ic { position: absolute; right: -14px; bottom: -14px; width: 150px; height: 150px; color: rgba(226, 35, 26, .14); stroke-width: 1.4; }

.gspb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gspb-step { padding: 26px; border-radius: var(--r); background: #fff; }
.gspb-step b { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 18px; }
.gspb-step h3 { font-size: 18px; }
.gspb-step p { margin: 0; color: var(--muted); }

.gspb-visit { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.gspb-visit__text p { display: flex; gap: 10px; margin: 20px 0 0; color: var(--muted); }
.gspb-visit__text .gspb-ic { color: var(--blue); margin-top: 2px; }
.gspb-visit__addr { font-weight: 700; color: var(--ink) !important; }
.gspb-visit__phone { display: block; margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--navy); }
.gspb-visit__phone small { font-size: 13px; font-weight: 500; color: var(--muted); }
.gspb-visit__map { border-radius: 18px; overflow: hidden; background: var(--bg); }
.gspb-visit__map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- карусель ---------- */

.gspb-car__nav { display: flex; gap: 8px; }
.gspb-car__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gspb-car__btn:hover { background: var(--blue); color: #fff; }
.gspb-car__btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--navy); }
.woocommerce ul.products.gspb-car__track { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 16px; margin: -4px -4px 0; }
.gspb-car__track::-webkit-scrollbar { display: none; }
.woocommerce ul.products.gspb-car__track li.product { scroll-snap-align: start; }

/* ---------- WooCommerce: сетка карточек ---------- */

.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0 0 30px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none; width: auto; margin: 0; position: relative;
	display: flex; flex-direction: column; padding: 16px; border-radius: var(--r); background: #fff;
	box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; margin: 0 0 12px; background: #fff; border-radius: 10px; }
.gspb-sku { font-size: 12px; color: var(--muted); font-weight: 600; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 4px 0 10px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.woocommerce ul.products li.product .price { margin: auto 0 0; color: var(--navy); font-size: 20px; font-weight: 800; display: flex; flex-direction: column-reverse; }
.woocommerce ul.products li.product .price del { font-size: 14px; color: var(--muted); font-weight: 500; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: 14px; width: 100%; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; margin-top: 8px; font-size: 14px; font-weight: 600; }
.gspb-cb { order: 10; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0 0; padding: 7px 10px; border-radius: 8px; background: #e8f3ff; color: var(--blue-d); font-size: 12px; font-weight: 600; }
.gspb-cb b { font-size: 14px; white-space: nowrap; }
.woocommerce span.onsale { min-height: 0; min-width: 0; padding: 4px 10px; line-height: 1.4; border-radius: 20px; background: #e00000; font-size: 12px; top: 12px; left: 12px; right: auto; margin: 0; }

.gspb-shop { padding-top: 24px; padding-bottom: 60px; }
.gspb-crumbs, .woocommerce .woocommerce-breadcrumb { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.gspb-crumbs a { color: var(--muted); }
.gspb-crumbs a:hover { color: var(--blue-d); }
.gspb-crumbs .sep { margin: 0 8px; opacity: .5; }
.woocommerce-products-header__title, .gspb-page__title, .woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.woocommerce .woocommerce-ordering select, .woocommerce select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce .quantity .qty, .gspb-content input[type=text], .gspb-content input[type=email], .gspb-content input[type=tel], .gspb-content textarea, .search-form input[type=search] {
	height: 46px; padding: 0 14px; border: 1px solid #cfd6e3; border-radius: 10px; background: #fff; font-size: 16px; outline: none;
}
.woocommerce form .form-row textarea { height: 110px; padding: 12px 14px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--blue); }

/* категории-плитки */
.woocommerce ul.products li.product-category a { color: var(--ink); text-align: center; }
.woocommerce ul.products li.product-category h2 { font-size: 16px; font-weight: 800; padding: 6px 0 0; }
.woocommerce ul.products li.product-category mark { background: none; color: var(--muted); font-weight: 500; }

/* пагинация */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; padding: 11px; border-radius: 10px; background: var(--bg); color: var(--ink); font-weight: 700; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--blue); color: #fff; }

/* ---------- карточка товара ---------- */

.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; margin: 0; }
.woocommerce div.product div.images { grid-column: 1; }
.woocommerce div.product div.images img { border-radius: var(--r); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--navy); font-size: 32px; font-weight: 900; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.woocommerce div.product p.price del { order: 2; font-size: 18px; font-weight: 500; color: var(--muted); }
.woocommerce div.product p.price ins { text-decoration: none; }
.pmcb-note { display: block; width: 100%; order: 3; margin-top: 6px; padding: 8px 12px; border-radius: 8px; background: #e8f3ff; color: var(--blue-d); font-size: 14px; font-weight: 600; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce .quantity .qty { width: 80px; text-align: center; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; padding: 14px 28px; font-size: 16px; }
.woocommerce div.product .stock { font-weight: 700; }
.woocommerce div.product .stock.in-stock { color: var(--ok); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.gspb-ask { margin: 8px 0 0; padding: 16px; border-radius: var(--r); background: var(--bg); }
.gspb-ask > span { display: block; font-weight: 700; margin-bottom: 10px; }
.gspb-ask__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gspb-ask .gspb-msg { width: 44px; height: 44px; }

.woocommerce div.product .woocommerce-tabs { margin-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; margin: 0 0 20px; padding: 0; border-bottom: 2px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { box-shadow: inset 0 -3px 0 var(--blue); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; font-style: normal; text-align: left; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 26px; font-weight: 900; text-transform: uppercase; margin-top: 50px; }

/* ---------- корзина и оформление ---------- */

.woocommerce-cart .gspb-page, .woocommerce-checkout .gspb-page { padding-top: 30px; }
.woocommerce table.shop_table { border-radius: var(--r); border-color: var(--line); border-collapse: separate; }
.woocommerce table.shop_table th { background: var(--bg); }
.woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce a.remove { color: #c00 !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { padding: 20px; border-radius: var(--r); background: var(--bg); }
.woocommerce-checkout #payment { background: #fff; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box { background: var(--bg); color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg); }
.woocommerce-checkout #place_order { width: 100%; padding: 16px; font-size: 17px; }
.woocommerce-checkout .gspb-pd-consent { margin: 14px 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9fb; color: var(--ink); font-size: 14px; line-height: 1.5; }
.woocommerce-checkout .gspb-pd-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.woocommerce-checkout .gspb-pd-consent input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #e2231a; }
.woocommerce-checkout .gspb-pd-consent a { color: #c91e18; text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--blue); background: var(--bg); border-radius: 10px; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--blue); }

/* блоки WooCommerce (корзина/оформление на блоках) */
.wc-block-components-button:not(.is-link) { border-radius: 10px !important; background: var(--blue) !important; color: #fff !important; font-weight: 700 !important; }

/* ---------- страницы ---------- */

.gspb-page { padding-top: 34px; padding-bottom: 64px; }
.gspb-content { max-width: 880px; font-size: 16px; }
.woocommerce-cart .gspb-content, .woocommerce-checkout .gspb-content, .woocommerce-account .gspb-content, .gspb-content:has(.pmz-app) { max-width: none; }
.gspb-content h2 { font-size: 26px; margin-top: 1.4em; }
.gspb-content h3 { font-size: 20px; margin-top: 1.3em; }
.gspb-content table { width: 100%; border-collapse: collapse; }
.gspb-content th, .gspb-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.gspb-content img { border-radius: 12px; }
.gspb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gspb-post img { border-radius: 12px; }
.gspb-post h2 { font-size: 19px; margin-top: 12px; }

/* список моторов плагина кэшбэка (шаблон рассчитан на Impreza) */
.pmcl-page .l-section-h { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 60px; }

/* ---------- подвал ---------- */

.gspb-foot { background: var(--navy); color: #b3c0dc; font-size: 15px; }
.gspb-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.gspb-foot__brand p { margin: 18px 0 0; max-width: 360px; line-height: 1.6; }
.gspb-foot .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gspb-foot .menu a { color: #fff; font-weight: 600; }
.gspb-foot .menu a:hover { color: var(--blue); }
.gspb-foot__contacts > a, .gspb-foot__contacts > p { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: #b3c0dc; }
.gspb-foot__contacts .gspb-ic { color: var(--blue); margin-top: 2px; width: 18px; height: 18px; }
.gspb-foot__phone { font-size: 20px; font-weight: 800; color: #fff !important; align-items: baseline !important; }
.gspb-foot__phone small { font-size: 13px; font-weight: 500; color: #8fa0c4; }
.gspb-foot__msg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gspb-foot__msg .gspb-msg { width: auto; height: 40px; padding: 0 16px 0 12px; border-radius: 20px; font-size: 14px; font-weight: 700; }
.gspb-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #7f8fb2; }
.gspb-foot__bottom a { color: #7f8fb2; }

/* ---------- адаптив ---------- */

@media (max-width: 1500px) {
	.gspb-head__phones a:nth-child(2) { display: none; }
}

@media (max-width: 1200px) {
	.gspb-nav .menu > li > a { padding: 10px 9px; font-size: 14px; }
}

@media (max-width: 1024px) {
	:root { --head-h: 64px; }
	.gspb-top__links a:nth-child(2) { display: none; }
	.gspb-burger { display: inline-flex; align-items: center; justify-content: center; margin-left: -10px; }
	.gspb-head__in { gap: 10px; }
	.gspb-head__phones { display: none; }
	.gspb-head__call { display: inline-flex; }
	.gspb-logo__name { font-size: 22px; }

	.gspb-nav { position: fixed; z-index: 49; left: 0; right: 0; top: var(--nav-top, 104px); bottom: 0; overflow-y: auto; padding: 12px 20px 30px; background: #fff; transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.gspb-nav-open .gspb-nav { transform: none; visibility: visible; }
	.gspb-nav-open { overflow: hidden; }
	.gspb-nav-open .gspb-burger .i-open { display: none; }
	.gspb-nav-open .gspb-burger .i-close { display: block; }
	.gspb-nav .menu { flex-direction: column; gap: 0; }
	.gspb-nav .menu > li > a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; background: none !important; }
	.gspb-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 8px 14px; min-width: 0; }
	.gspb-nav .sub-menu a { padding: 10px 4px; font-size: 15px; }
	.gspb-nav__contacts { display: grid; gap: 10px; margin-top: 22px; }
	.gspb-nav__contacts a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--bg); color: var(--navy); font-weight: 800; font-size: 17px; }
	.gspb-nav__contacts small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
	.gspb-nav__contacts .gspb-ic { color: var(--blue); }

	.gspb-hero__in { grid-template-columns: 1fr 34%; min-height: 0; gap: 20px; }
	.gspb-hero__img img { max-height: 380px; }
	.gspb-perks__grid { grid-template-columns: repeat(2, 1fr); }
	.gspb-cards { grid-template-columns: 1fr 1fr; }
	.gspb-card--motor { grid-column: 1 / -1; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); }
	.woocommerce ul.products.gspb-car__track { grid-auto-columns: calc((100% - 40px) / 3); }
	.gspb-visit { grid-template-columns: 1fr; }
	.gspb-foot__grid { grid-template-columns: 1fr 1fr; }
	.gspb-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .gspb-head { top: 46px; }
}

@media (max-width: 767px) {
	.gspb-wrap { padding: 0 16px; }
	.gspb-top__links a:first-child { font-size: 12px; }
	.gspb-logo__sub { font-size: 10px; }
	.gspb-logo__img { height: 30px; max-width: 150px; }
	.gspb-iconbtn { width: 42px; height: 42px; }

	.gspb-hero__in { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 0; gap: 0; }
	.gspb-hero h1 { font-size: 27px; margin-bottom: 14px; }
	.gspb-hero p { font-size: 15px; margin-bottom: 22px; }
	.gspb-badge { font-size: 12px; margin-bottom: 14px; }
	.gspb-hero__btns .gspb-btn { flex: 1 1 100%; }
	.gspb-hero__img { justify-content: center; margin-top: 22px; }
	.gspb-hero__img img { max-height: 260px; }
	.gspb-perks { padding: 16px 0 20px; }
	.gspb-perks__grid { gap: 10px; }
	.gspb-perk { grid-template-columns: 1fr; padding: 14px; row-gap: 4px; }
	.gspb-perk .gspb-ic { grid-row: auto; width: 40px; height: 40px; padding: 9px; margin-bottom: 6px; }
	.gspb-perk b { font-size: 14px; }
	.gspb-perk span { font-size: 12px; }

	.gspb-sec { padding: 40px 0; }
	.gspb-sec__head { margin-bottom: 18px; }
	.gspb-cards { grid-template-columns: 1fr; gap: 14px; }
	.gspb-card { min-height: 0; padding: 22px; }
	.gspb-card--motor { min-height: 250px; }
	.gspb-card h2 { font-size: 19px; }
	.gspb-card > img { max-width: 34%; right: 8px; }
	.gspb-card:has(> img) .gspb-card__text { max-width: 64%; }
	.gspb-card__ic { width: 110px; height: 110px; }
	.gspb-steps { grid-template-columns: 1fr; gap: 12px; }
	.gspb-step { padding: 20px; }
	.gspb-visit__map iframe { height: 300px; }

	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.woocommerce ul.products.gspb-car__track { grid-auto-columns: 72%; gap: 12px; }
	.woocommerce ul.products li.product { padding: 10px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
	.woocommerce ul.products li.product .price { font-size: 16px; }
	.woocommerce ul.products li.product .button { padding: 10px 8px; font-size: 13px; }
	.gspb-cb { flex-direction: column; align-items: flex-start; gap: 0; font-size: 11px; padding: 6px 8px; }
	.gspb-cb b { font-size: 13px; }

	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images { margin-bottom: 20px; }
	.woocommerce div.product p.price { font-size: 26px; }
	.woocommerce div.product form.cart .button { min-width: 0; }

	.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { float: none; margin: 0 0 12px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
	.gspb-posts { grid-template-columns: 1fr; }

	.gspb-foot__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
	.gspb-foot__bottom { flex-direction: column; }
}

/* Убираем узкие float-ширины WooCommerce у колонок страницы товара. */
@media (min-width: 768px) {
	.single-product #content div.product {
		display: grid !important;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
		column-gap: 48px;
	}
	.single-product #content div.product > .images {
		grid-column: 1 !important;
		width: auto !important;
		max-width: none !important;
		float: none !important;
	}
	.single-product #content div.product > .summary {
		grid-column: 2 !important;
		width: auto !important;
		max-width: none !important;
		float: none !important;
		justify-self: stretch;
	}
	.single-product #content div.product > .summary > * {
		max-width: none;
	}
}

/* Уведомление о cookie и ссылка для повторного выбора. */
.gspb-cookie-banner[hidden], .gspb-cookie-settings[hidden] { display: none !important; }
.gspb-cookie-banner {
	position: fixed; z-index: 100000; left: 24px; right: 24px; bottom: 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	max-width: 1120px; margin: 0 auto; padding: 18px 20px;
	border: 1px solid #dce3ed; border-radius: 14px; background: #fff;
	box-shadow: 0 12px 42px rgba(0, 16, 48, .2); color: var(--ink);
}
.gspb-cookie-banner__copy { min-width: 0; }
.gspb-cookie-banner__copy strong { display: block; margin: 0 0 5px; color: var(--navy); font-size: 16px; }
.gspb-cookie-banner__copy p { margin: 0; font-size: 13px; line-height: 1.55; }
.gspb-cookie-banner__copy a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 2px; }
.gspb-cookie-banner__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 8px; }
.gspb-cookie-banner__actions button, .gspb-cookie-settings {
	min-height: 42px; padding: 10px 14px; border: 1px solid var(--blue); border-radius: 9px;
	font: inherit; font-size: 13px; font-weight: 750; cursor: pointer;
}
.gspb-cookie-banner__accept { background: var(--blue); color: #fff; }
.gspb-cookie-banner__accept:hover { background: var(--blue-d); }
.gspb-cookie-banner__necessary { background: #fff; color: var(--navy); }
.gspb-cookie-banner__necessary:hover { background: #f3f7fc; }
.gspb-cookie-settings {
	position: fixed; z-index: 99999; right: 16px; bottom: 16px; min-height: 38px;
	padding: 8px 12px; background: #fff; color: var(--navy); box-shadow: 0 4px 18px rgba(0, 16, 48, .16);
}
.gspb-cookie-banner button:focus-visible, .gspb-cookie-settings:focus-visible { outline: 3px solid #78b9ff; outline-offset: 3px; }
@media (max-width: 767px) {
	.gspb-cookie-banner { left: 10px; right: 10px; bottom: 10px; display: block; padding: 16px; }
	.gspb-cookie-banner__copy p { font-size: 12px; }
	.gspb-cookie-banner__actions { display: grid; grid-template-columns: 1fr; margin-top: 12px; }
	.gspb-cookie-banner__actions button { width: 100%; min-height: 44px; }
	.gspb-cookie-settings { right: 10px; bottom: 10px; }
}

/* Страница мотора: галерея, ключевые характеристики и покупка */
.single-product .woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; column-gap: 48px; row-gap: 0; }
.single-product .woocommerce div.product .images,
.single-product .woocommerce div.product .summary { min-width: 0; width: 100% !important; max-width: none; float: none !important; }
.single-product .woocommerce div.product .images { grid-column: 1; }
.single-product .woocommerce div.product .summary { grid-column: 2; }
.single-product .gspb-product-crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.single-product .gspb-product-crumbs a { color: var(--muted); }
.single-product .gspb-product-crumbs a:hover { color: var(--blue-d); }
.single-product .woocommerce div.product .product_title { margin: 0 0 16px; color: var(--navy); font-size: clamp(28px, 3vw, 40px); line-height: 1.17; overflow-wrap: anywhere; }
.single-product .woocommerce div.product p.price,
.single-product .woocommerce div.product span.price { margin: 0 0 18px; color: var(--navy); font-size: 30px; line-height: 1.2; }
.single-product .gspb-product-highlights { display: grid; gap: 8px; margin: 0 0 18px; padding: 16px 18px 16px 36px; border: 1px solid var(--line); border-radius: 12px; background: #f8f9fb; color: var(--ink); font-size: 15px; line-height: 1.5; }
.single-product .gspb-product-highlights li::marker { color: var(--blue); }
.single-product .woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 10px; }
.single-product .woocommerce div.product form.cart .button { flex: 1 1 220px; min-width: 0; }
.single-product .woocommerce div.product .gspb-oneclick-open--single { width: 100%; min-height: 50px; margin: 0 0 12px; border: 1px solid var(--blue); border-radius: 10px; background: #fff; color: var(--blue-d); font-weight: 800; }
.single-product .woocommerce div.product .gspb-oneclick-open--single:hover { background: #fff4f3; color: var(--blue-d); }
.single-product .gspb-product-parts { display: block; margin: 12px 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--bg); color: var(--navy); font-weight: 700; line-height: 1.45; }
.single-product .woocommerce div.product .product_meta { padding-top: 14px; border-top: 1px solid var(--line); }
.single-product .woocommerce div.product .woocommerce-tabs { margin-top: 38px; }
.single-product .woocommerce div.product .woocommerce-tabs .panel { max-width: 960px; line-height: 1.7; }
.single-product .woocommerce table.shop_attributes { width: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.single-product .woocommerce table.shop_attributes th,
.single-product .woocommerce table.shop_attributes td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.single-product .woocommerce table.shop_attributes tr:last-child th,
.single-product .woocommerce table.shop_attributes tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) {
	.single-product .woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.single-product .woocommerce div.product .images,
	.single-product .woocommerce div.product .summary { grid-column: 1; }
	.single-product .gspb-product-crumbs { margin-bottom: 4px; font-size: 12px; }
	.single-product .woocommerce div.product .product_title { font-size: 27px; }
	.single-product .woocommerce div.product p.price,
	.single-product .woocommerce div.product span.price { font-size: 27px; }
	.single-product .gspb-product-highlights { padding: 13px 14px 13px 32px; font-size: 14px; }
	.single-product .woocommerce div.product form.cart .button { flex-basis: 100%; }
	.single-product .woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
	.single-product .woocommerce table.shop_attributes th,
	.single-product .woocommerce table.shop_attributes td { padding: 9px 10px; font-size: 13px; }
}

/* ---------- каталог запчастей (плагин pod-motorom-gladiator) — цвета Gladiator ---------- */
.gspb-main .pmz {
	--pmz-blue: #e2231a;
	--pmz-blue-dark: #b8160f;
	--pmz-navy: #051c2c;
	--pmz-water: #fdeeed;
	--pmz-line: #e6e2e2;
}

/* ---------- каталог моторов: горизонтальные карточки, как в каталоге «Под мотором» ---------- */
.term-lodochnye-motory.woocommerce ul.products,
.term-lodochnye-motory.woocommerce-page ul.products {
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}
.term-lodochnye-motory.woocommerce ul.products li.product,
.term-lodochnye-motory.woocommerce-page ul.products li.product {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) 220px;
	align-items: center;
	gap: 12px 20px;
	min-width: 0;
	padding: 16px;
}
.term-lodochnye-motory.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.term-lodochnye-motory.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
	display: grid;
	grid-column: 1 / 3;
	grid-template-columns: 180px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	align-items: start;
	gap: 4px 18px;
	min-width: 0;
}
.term-lodochnye-motory.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.term-lodochnye-motory.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
	grid-column: 1;
	grid-row: 1 / 4;
	width: 100%;
	margin: 0;
}
.term-lodochnye-motory .gspb-sku { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; }
.term-lodochnye-motory.woocommerce ul.products li.product .woocommerce-loop-product__title,
.term-lodochnye-motory.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	grid-column: 2;
	grid-row: 2;
	min-width: 0;
	padding: 2px 0 8px;
	font-size: 18px;
	line-height: 1.35;
	overflow-wrap: anywhere;
	word-break: normal;
}
.term-lodochnye-motory.woocommerce ul.products li.product .price,
.term-lodochnye-motory.woocommerce-page ul.products li.product .price {
	grid-column: 2;
	grid-row: 3;
	align-self: end;
	margin: 0;
	font-size: 22px;
}
.term-lodochnye-motory.woocommerce ul.products li.product > a.button,
.term-lodochnye-motory.woocommerce-page ul.products li.product > a.button {
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 14px 12px;
	text-align: center;
	white-space: normal;
}
.term-lodochnye-motory.woocommerce ul.products li.product > a.added_to_cart,
.term-lodochnye-motory.woocommerce-page ul.products li.product > a.added_to_cart {
	grid-column: 3;
	grid-row: 2;
	min-width: 0;
	overflow-wrap: anywhere;
}
.term-lodochnye-motory.woocommerce ul.products li.product > .gspb-oneclick-open,
.term-lodochnye-motory.woocommerce-page ul.products li.product > .gspb-oneclick-open {
	grid-column: 3;
	grid-row: 2;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 12px 10px;
	border: 1px solid #e2231a;
	border-radius: 9px;
	background: #fff;
	color: #c91e18;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	white-space: normal;
}
.term-lodochnye-motory.woocommerce ul.products li.product > .gspb-oneclick-open:hover,
.term-lodochnye-motory.woocommerce-page ul.products li.product > .gspb-oneclick-open:hover { background: #fff4f3; color: #a91610; }

@media (max-width: 767px) {
	.term-lodochnye-motory.woocommerce ul.products,
	.term-lodochnye-motory.woocommerce-page ul.products {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product,
	.term-lodochnye-motory.woocommerce-page ul.products li.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 12px;
		border-radius: 12px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
	.term-lodochnye-motory.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
		grid-column: 1;
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		gap: 3px 12px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
	.term-lodochnye-motory.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
		grid-row: 1 / 4;
		align-self: start;
		width: 88px;
		max-width: 100%;
		aspect-ratio: 1;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.term-lodochnye-motory.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
		font-size: 15px;
		line-height: 1.3;
		padding: 2px 0 5px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product .price,
	.term-lodochnye-motory.woocommerce-page ul.products li.product .price { font-size: 18px; }
	.term-lodochnye-motory.woocommerce ul.products li.product > a.button,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > a.button {
		grid-column: 1;
		grid-row: auto;
		width: 100%;
		padding: 12px 14px;
		font-size: 14px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product > a.added_to_cart,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > a.added_to_cart { grid-column: 1; grid-row: auto; }
	.term-lodochnye-motory.woocommerce ul.products li.product > .gspb-oneclick-open,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > .gspb-oneclick-open { grid-column: 1; grid-row: auto; padding: 11px 12px; }
}
/* WooCommerce adds percentage widths to .columns-4 at mobile breakpoints; reset them for the list layout. */
.term-lodochnye-motory.woocommerce ul.products li.product,
.term-lodochnye-motory.woocommerce-page ul.products li.product {
	float: none;
	width: 100%;
	margin: 0;
}


/* Мощность, характеристики и наличие в каталоге моторов */
.term-lodochnye-motory .gspb-power-filter {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}
.term-lodochnye-motory .gspb-power-filter__label,
.term-lodochnye-motory .gspb-stroke-filter > span { color: var(--navy); font-weight: 800; }
.term-lodochnye-motory .gspb-stroke-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.term-lodochnye-motory .gspb-power-filter__options { display: flex; flex-wrap: wrap; gap: 7px; }
.term-lodochnye-motory .gspb-power-filter button {
	min-width: 42px;
	padding: 7px 11px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.term-lodochnye-motory .gspb-power-filter button:hover,
.term-lodochnye-motory .gspb-power-filter button.is-active { border-color: #e2231a; background: #e2231a; color: #fff; }
.term-lodochnye-motory ul.products li.product[hidden] { display: none !important; }
.term-lodochnye-motory.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.term-lodochnye-motory.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
	grid-template-rows: auto auto auto auto;
}
.term-lodochnye-motory.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.term-lodochnye-motory.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img { grid-row: 1 / 5; }
.term-lodochnye-motory .gspb-motor-meta { grid-column: 2; grid-row: 3; min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.term-lodochnye-motory .gspb-motor-specs { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.term-lodochnye-motory .gspb-motor-specs span { overflow-wrap: anywhere; }
.term-lodochnye-motory .gspb-motor-specs b { color: var(--ink); }
.term-lodochnye-motory .gspb-motor-stock { margin-top: 5px; color: #a45b00; font-size: 13px; font-weight: 700; }
.term-lodochnye-motory .gspb-motor-stock.is-instock { color: #24804b; }
.term-lodochnye-motory.woocommerce ul.products li.product .price,
.term-lodochnye-motory.woocommerce-page ul.products li.product .price { grid-row: 4; }
@media (max-width: 767px) {
	.term-lodochnye-motory .gspb-power-filter { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 14px; padding: 12px; }
	.term-lodochnye-motory .gspb-power-filter__options { gap: 6px; }
	.term-lodochnye-motory .gspb-stroke-filter { gap: 8px 12px; }
	.term-lodochnye-motory .gspb-power-filter button { min-width: 38px; padding: 7px 10px; font-size: 13px; }
	.term-lodochnye-motory .gspb-motor-meta { grid-column: 2; grid-row: 3; font-size: 11px; }
	.term-lodochnye-motory .gspb-motor-specs { display: grid; gap: 1px; }
}

/* Быстрый заказ из карточки мотора */
dialog.gspb-oneclick { width: min(460px, calc(100vw - 28px)); max-width: none; max-height: calc(100vh - 28px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
dialog.gspb-oneclick::backdrop { background: rgba(5, 20, 42, .62); }
.gspb-oneclick__form { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px; }
.gspb-oneclick__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f1f3f8; color: #536077; font-size: 24px; line-height: 1; cursor: pointer; }
.gspb-oneclick__title { margin: 0; padding-right: 42px; color: var(--navy); font-size: 22px; font-weight: 800; }
.gspb-oneclick__product { margin: 0; padding: 12px 14px; border-radius: 9px; background: var(--bg); font-weight: 700; }
.gspb-oneclick__note, .gspb-oneclick__message { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.gspb-oneclick__form > label:not(.gspb-oneclick__consent) { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 700; }
.gspb-oneclick__form > label > span { color: var(--muted); font-size: 12px; font-weight: 400; }
.gspb-oneclick__form input:not([type=hidden]) { box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; }
.gspb-oneclick__form input:focus { outline: 2px solid rgba(226,35,26,.2); border-color: #e2231a; }
.gspb-oneclick__form input.gspb-oneclick__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gspb-oneclick__form .gspb-oneclick__consent { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: 12px; font-weight: 400; line-height: 1.45; }
.gspb-oneclick__consent input { flex: 0 0 18px; width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; accent-color: #e2231a; }
.gspb-oneclick__consent a { color: #c91e18; text-decoration: underline; }
.gspb-oneclick__send { width: 100%; min-height: 48px; margin: 0; border: 0; border-radius: 8px; background: #e2231a; color: #fff; font-size: 16px; font-weight: 700; }
.gspb-oneclick__send:disabled { opacity: .6; }
.gspb-oneclick__message:empty { display: none; }
.gspb-oneclick__message.is-ok { color: #21824b; font-weight: 700; }
.gspb-oneclick__message.is-error { color: #c91e18; }
@media (max-width: 767px) { .gspb-oneclick__form { padding: 22px 18px 18px; } .gspb-oneclick__title { font-size: 20px; } }
.woocommerce-checkout #billing_phone_field .optional { display: none !important; }
.woocommerce-checkout #billing_phone_field label::after { content: " *"; color: #c91e18; font-weight: 700; }

/* Карточки моторов: компоновка как в каталоге «Под мотором» */
.term-lodochnye-motory.woocommerce ul.products li.product,
.term-lodochnye-motory.woocommerce-page ul.products li.product {
	grid-template-columns: 180px minmax(0, 1fr) 250px;
	grid-template-rows: auto auto auto auto;
	align-items: center;
	gap: 8px 22px;
	padding: 18px 20px;
	border: 1px solid #e6e9ef;
	border-radius: 14px;
	box-shadow: none;
}
.term-lodochnye-motory.woocommerce ul.products li.product:hover,
.term-lodochnye-motory.woocommerce-page ul.products li.product:hover {
	border-color: #cdd5e2;
	box-shadow: 0 8px 24px rgba(0, 16, 48, .08);
}
.term-lodochnye-motory.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.term-lodochnye-motory.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link { display: contents; }
.term-lodochnye-motory.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img,
.term-lodochnye-motory.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link img {
	grid-column: 1;
	grid-row: 1 / 5;
	align-self: center;
	width: 100%;
	max-width: 180px;
	aspect-ratio: 1;
	object-fit: contain;
	margin: 0;
	border-radius: 10px;
	background: #fff;
}
.term-lodochnye-motory .gspb-sku { grid-column: 2; grid-row: 1; align-self: end; }
.term-lodochnye-motory.woocommerce ul.products li.product .woocommerce-loop-product__title,
.term-lodochnye-motory.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	padding: 0 0 8px;
	color: #17164f;
	font-size: 20px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.term-lodochnye-motory .gspb-motor-meta { display: contents; }
.term-lodochnye-motory .gspb-motor-specs {
	grid-column: 2;
	grid-row: 3;
	align-self: start;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	color: #535a66;
	font-size: 14px;
	line-height: 1.55;
}
.term-lodochnye-motory .gspb-motor-stock {
	grid-column: 3;
	grid-row: 2;
	align-self: start;
	margin: -8px 0 0;
	padding: 0 16px 12px;
	border: 1px solid #e6e9ef;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: #fff;
	color: #a45b00;
	font-size: 14px;
}
.term-lodochnye-motory .gspb-motor-stock.is-instock { color: #24804b; }
.term-lodochnye-motory.woocommerce ul.products li.product .price,
.term-lodochnye-motory.woocommerce-page ul.products li.product .price {
	grid-column: 3;
	grid-row: 1;
	align-self: end;
	margin: 0;
	padding: 14px 16px 8px;
	border: 1px solid #e6e9ef;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	color: #17164f;
	font-size: 24px;
	line-height: 1.2;
}
.term-lodochnye-motory.woocommerce ul.products li.product > a.button,
.term-lodochnye-motory.woocommerce-page ul.products li.product > a.button,
.term-lodochnye-motory.woocommerce ul.products li.product > .gspb-oneclick-open,
.term-lodochnye-motory.woocommerce-page ul.products li.product > .gspb-oneclick-open {
	grid-column: 3;
	width: 100%;
	margin: 0;
}
.term-lodochnye-motory.woocommerce ul.products li.product > a.button,
.term-lodochnye-motory.woocommerce-page ul.products li.product > a.button { grid-row: 3; }
.term-lodochnye-motory.woocommerce ul.products li.product > .gspb-oneclick-open,
.term-lodochnye-motory.woocommerce-page ul.products li.product > .gspb-oneclick-open { grid-row: 4; }
@media (min-width: 768px) and (max-width: 1000px) {
	.term-lodochnye-motory.woocommerce ul.products li.product,
	.term-lodochnye-motory.woocommerce-page ul.products li.product {
		grid-template-columns: 145px minmax(0, 1fr) 205px;
		gap: 8px 16px;
		padding: 14px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.term-lodochnye-motory.woocommerce-page ul.products li.product .woocommerce-loop-product__title { font-size: 17px; }
}
@media (max-width: 767px) {
	.term-lodochnye-motory.woocommerce ul.products li.product,
	.term-lodochnye-motory.woocommerce-page ul.products li.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 12px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link {
		display: grid;
		grid-column: 1;
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
		gap: 3px 12px;
		min-width: 0;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link img {
		grid-column: 1;
		grid-row: 1 / 5;
		align-self: start;
		width: 88px;
		max-width: 100%;
		aspect-ratio: 1;
		margin: 0;
	}
	.term-lodochnye-motory .gspb-sku { grid-column: 2; grid-row: 1; }
	.term-lodochnye-motory.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.term-lodochnye-motory.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
		grid-column: 2;
		grid-row: 2;
		padding: 2px 0 5px;
		font-size: 15px;
		line-height: 1.3;
	}
	.term-lodochnye-motory .gspb-motor-meta {
		display: block;
		grid-column: 2;
		grid-row: 3;
		min-width: 0;
		font-size: 11px;
	}
	.term-lodochnye-motory .gspb-motor-specs { display: grid; gap: 1px; font-size: 11px; }
	.term-lodochnye-motory .gspb-motor-stock {
		display: block;
		margin: 4px 0 0;
		padding: 0;
		border: 0;
		background: transparent;
		font-size: 11px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product .price,
	.term-lodochnye-motory.woocommerce-page ul.products li.product .price {
		grid-column: 2;
		grid-row: 4;
		align-self: end;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		font-size: 18px;
	}
	.term-lodochnye-motory.woocommerce ul.products li.product > a.button,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > a.button,
	.term-lodochnye-motory.woocommerce ul.products li.product > .gspb-oneclick-open,
	.term-lodochnye-motory.woocommerce-page ul.products li.product > .gspb-oneclick-open {
		grid-column: 1;
		grid-row: auto;
		width: 100%;
		padding: 11px 12px;
		font-size: 14px;
	}
}
