/*
 * STG — модерен визуален слой (v1, 01.12.2026)
 * Само визуални промени: не пипа текстове, линкове, заглавия или структурата на страниците.
 * Ползва вече заредените шрифтове на темата (Roboto Condensed / Montserrat) — без нови заявки.
 */

:root {
	--stg-accent: #A32929;
	--stg-accent-dark: #7f1f1f;
	--stg-ink: #16181d;
	--stg-graphite: #2b2f36;
	--stg-muted: #6b7079;
	--stg-line: #e6e7ea;
	--stg-surface: #f5f6f8;
	--stg-radius: 10px;
	--stg-radius-sm: 6px;
	--stg-shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 4px 14px rgba(22, 24, 29, .06);
	--stg-shadow-hover: 0 2px 4px rgba(22, 24, 29, .08), 0 12px 28px rgba(22, 24, 29, .12);
	--stg-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Типография ---------- */
body {
	color: var(--stg-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	letter-spacing: -0.01em;
	line-height: 1.2;
}

p {
	line-height: 1.65;
}

/* Заглавия на секции („Най-нови продукти“, „Промоции на месеца“) */
.underline-title {
	border-bottom: 1px solid var(--stg-line);
	padding-bottom: 14px;
	margin-bottom: 8px;
	font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.underline-title span:before {
	height: 3px;
	bottom: -2px;
	width: 100%;
	border-radius: 2px;
	background-color: var(--stg-accent);
}

/* ---------- Бутони ---------- */
.btn-primary,
.btn-primary:visited,
.btn-primary:disabled,
.single-product .product-add-to-cart-btn .button-add,
.tax-product_cat .product-add-to-cart-btn .button-add,
.woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button {
	border-radius: var(--stg-radius-sm) !important;
	letter-spacing: 0.04em;
	padding: 0.6rem 1.25rem;
	transition: background-color .2s var(--stg-ease), color .2s var(--stg-ease),
		border-color .2s var(--stg-ease), transform .2s var(--stg-ease), box-shadow .2s var(--stg-ease);
}

.btn-primary:hover,
.btn-primary:focus,
.single-product .product-add-to-cart-btn .button-add:hover,
.tax-product_cat .product-add-to-cart-btn .button-add:hover {
	background-color: var(--stg-accent-dark);
	border-color: var(--stg-accent-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(163, 41, 41, .25);
}

.btn-primary:focus-visible,
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--stg-accent);
	outline-offset: 2px;
}

/* ---------- Продуктови карти (слайдери на началната страница и „Промоции“) ---------- */
.products-slider .slide-item .product-slide-item-inner-wrapper {
	border: 1px solid var(--stg-line);
	border-radius: var(--stg-radius);
	box-shadow: var(--stg-shadow);
	padding: 0 18px 16px;
	overflow: hidden;
	transition: box-shadow .25s var(--stg-ease), transform .25s var(--stg-ease), border-color .25s var(--stg-ease);
}

.products-slider .slide-item .product-slide-item-inner-wrapper:hover {
	box-shadow: var(--stg-shadow-hover);
	border-color: #d9dbe0;
	transform: translateY(-3px);
}

.products-slider .slide-item .product-slide-item-inner-wrapper:hover img {
	transform: scale(1.04);
	transition: transform .5s var(--stg-ease);
}

.products-slider .slide-item .product-slide-item-inner-wrapper .product-thumb {
	padding-top: 18px;
}

.products-slider .slide-item .product-slide-item-inner-wrapper .product-thumb img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* Заглавие: до 2 реда, еднаква височина на картите */
.products-slider .slide-item .product-slide-item-inner-wrapper .product-title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	min-height: calc(1.35em * 2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 8px;
}

.products-slider .slide-item .product-slide-item-inner-wrapper .product-title a {
	color: var(--stg-ink);
	text-decoration: none;
}

.products-slider .slide-item .product-slide-item-inner-wrapper .product-title a:hover {
	color: var(--stg-accent);
}

/* Цени */
.products-slider .product-price,
.products-slider .promo-price,
.products-slider .promotional-price {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--stg-ink);
}

.products-slider .promo-price,
.products-slider .promotional-price {
	color: var(--stg-accent);
}

.products-slider .product-price-wrapper .regular-price {
	color: var(--stg-muted);
	font-size: 0.95rem;
}

.products-slider .product-price-wrapper .regular-price:before {
	transform: none;
	top: 50%;
	background-color: var(--stg-muted);
}

/* Етикети „Нов“ / „Промо“ — като значки */
.products-slider .slide-item .product-slide-item-inner-wrapper .promo-label,
.products-slider .slide-item .product-slide-item-inner-wrapper .new-label {
	top: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-shadow: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.products-slider .slide-item .product-slide-item-inner-wrapper .new-label {
	background: var(--stg-graphite);
}

.products-slider .slide-item .product-slide-item-inner-wrapper .promo-label {
	background: var(--stg-accent);
}

/* Долен блок с „Купи“ и сърце */
/* Нови продукти и Промоции — лента с плъзгане, когато слайдерът не работи (03.12.2026).
   На телефон (под 480 px) слайдерът е изключен нарочно (unslick) и 10-те карти стояха една под друга
   на цял екран (~3900 px на секция). Също и преди първо докосване (WP Rocket забавя скриптовете).
   Сега картите са в хоризонтална лента, по 2 на екран, плъзгат се с пръст. */
.products-slider.recent-products:not(.slick-initialized),
.products-slider.monthly-promo:not(.slick-initialized) {
	display: flex !important;
	align-items: stretch;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	padding: 6px 12px 16px;
	scroll-padding-left: 12px;
	scrollbar-width: thin;
}

.products-slider.recent-products:not(.slick-initialized) > .slide-item,
.products-slider.monthly-promo:not(.slick-initialized) > .slide-item {
	flex: 0 0 44%;
	max-width: 44%;
	padding: 0 !important;
	scroll-snap-align: start;
	display: flex !important;
}

@media (min-width: 600px) {
	.products-slider.recent-products:not(.slick-initialized) > .slide-item,
	.products-slider.monthly-promo:not(.slick-initialized) > .slide-item {
		flex-basis: 31%;
		max-width: 31%;
	}
}

@media (min-width: 900px) {
	.products-slider.recent-products:not(.slick-initialized) > .slide-item,
	.products-slider.monthly-promo:not(.slick-initialized) > .slide-item {
		flex-basis: 23.5%;
		max-width: 23.5%;
	}
}

@media (min-width: 1200px) {
	.products-slider.recent-products:not(.slick-initialized) > .slide-item,
	.products-slider.monthly-promo:not(.slick-initialized) > .slide-item {
		flex-basis: 19%;
		max-width: 19%;
	}
}

.products-slider.recent-products:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper,
.products-slider.monthly-promo:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper {
	position: relative !important;
	left: auto;
	right: auto;
	margin: 0 !important;
	width: 100%;
	padding: 0 12px 12px;
}

.products-slider.recent-products:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper .promo-label,
.products-slider.recent-products:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper .new-label,
.products-slider.monthly-promo:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper .promo-label,
.products-slider.monthly-promo:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper .new-label {
	top: 8px !important;
	right: 8px !important;
	padding: 3px 8px;
	font-size: 0.66rem;
}

.products-slider.recent-products:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper .product-title,
.products-slider.monthly-promo:not(.slick-initialized) .slide-item .product-slide-item-inner-wrapper .product-title {
	font-size: 0.85rem;
}

.products-slider.recent-products:not(.slick-initialized) .product-price-wrapper,
.products-slider.monthly-promo:not(.slick-initialized) .product-price-wrapper {
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 2px;
}

.products-slider.recent-products:not(.slick-initialized) .product-price-wrapper .regular-price,
.products-slider.monthly-promo:not(.slick-initialized) .product-price-wrapper .regular-price {
	margin-right: 8px;
	text-decoration: line-through;
}

.products-slider.recent-products:not(.slick-initialized) .product-price-wrapper .regular-price:before,
.products-slider.monthly-promo:not(.slick-initialized) .product-price-wrapper .regular-price:before {
	display: none;
}

.products-slider.recent-products:not(.slick-initialized) .bottom-slide-block,
.products-slider.monthly-promo:not(.slick-initialized) .bottom-slide-block {
	display: flex !important;
	margin-top: auto;
}

.products-slider.recent-products:not(.slick-initialized) .slider-add-to-cart,
.products-slider.monthly-promo:not(.slick-initialized) .slider-add-to-cart {
	flex: 1 1 auto;
	min-width: 0;
}

.products-slider.recent-products:not(.slick-initialized) .slider-add-to-cart a.button,
.products-slider.monthly-promo:not(.slick-initialized) .slider-add-to-cart a.button {
	width: 100%;
	padding-left: 6px;
	padding-right: 6px;
	text-align: center;
}

.products-slider .bottom-slide-block {
	gap: 8px;
	align-items: center;
	padding-top: 10px;
}

.products-slider .slider-add-to-cart a.button {
	border-radius: var(--stg-radius-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Бутони „Виж още“ */
#load-more-button,
#load-more-recent-button {
	margin-top: 12px;
	background: transparent;
	color: var(--stg-ink);
	border-color: var(--stg-ink);
}

#load-more-button:hover,
#load-more-recent-button:hover {
	background: var(--stg-ink);
	border-color: var(--stg-ink);
	color: #fff;
	box-shadow: none;
}

/* ---------- Банери на категориите (началната страница) ---------- */
.main-front-page-slider .slide-item,
.banner-block {
	border-radius: var(--stg-radius);
	overflow: hidden;
}

.main-front-page-slider .inner-wrapper h2,
.banner-block h2 {
	letter-spacing: -0.015em;
}

/* Бутоните в слайдера са с вграден черен фон — правим ги по-изчистени, без да местим позицията им */
.main-front-page-slider .btn.btn-primary {
	background-color: rgba(22, 24, 29, .85) !important;
	border-color: rgba(255, 255, 255, .25);
	backdrop-filter: blur(4px);
}

.main-front-page-slider .btn.btn-primary:hover {
	background-color: var(--stg-accent) !important;
	border-color: var(--stg-accent);
}

/* Текстът под слайдера (H1 + въведение) */
.mobile-title-front-section h1 {
	font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem);
	letter-spacing: 0.01em;
	line-height: 1.35;
	margin: 8px 0 12px;
}

.mobile-title-front-section h1 a {
	text-decoration: none;
	transition: color .2s var(--stg-ease);
}

.mobile-title-front-section h1 a[href]:hover {
	color: var(--stg-accent) !important;
}

.mobile-title-front-section p {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	color: var(--stg-muted);
}

/* ---------- Блок с предимства (качество, доставка, асортимент) ---------- */
.front-page .section-spacer-regular:last-of-type .col-md-4 > .text-center {
	height: 100%;
	padding: 28px 22px 18px;
	background: var(--stg-surface);
	border: 1px solid var(--stg-line);
	border-radius: var(--stg-radius);
	transition: box-shadow .25s var(--stg-ease), transform .25s var(--stg-ease);
}

.front-page .section-spacer-regular:last-of-type .col-md-4 > .text-center:hover {
	box-shadow: var(--stg-shadow);
	transform: translateY(-2px);
}

.front-page .section-spacer-regular:last-of-type .col-md-4 img {
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.front-page .section-spacer-regular:last-of-type .col-md-4 {
		margin-bottom: 12px;
	}
}

/* ---------- Бюлетин ---------- */
.subscribe-form-outer {
	border-radius: var(--stg-radius);
	overflow: hidden;
}

.subscribe-form-outer input[type="email"],
.subscribe-form-outer input[type="text"] {
	border-radius: var(--stg-radius-sm);
}

/* ---------- Полета и форми (общо) ---------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
textarea,
select {
	border-radius: var(--stg-radius-sm);
	transition: border-color .2s var(--stg-ease), box-shadow .2s var(--stg-ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	border-color: var(--stg-accent);
	box-shadow: 0 0 0 3px rgba(163, 41, 41, .12);
	outline: none;
}

/* ---------- Плавно скролиране, с уважение към „намалено движение“ ---------- */
html {
	scroll-behavior: smooth;
}

/* ---------- Залепнал header (само на компютър и таблет) ---------- */
@media (min-width: 768px) {
	header#masthead.site-header {
		position: -webkit-sticky;
		position: sticky;
		top: calc(-1 * var(--stg-topbar-h, 0px));
		z-index: 1000;
		background: #fff;
		transition: box-shadow .25s var(--stg-ease);
	}

	header#masthead.site-header.is-stuck {
		box-shadow: 0 6px 20px rgba(22, 24, 29, .1);
	}

	header#masthead.site-header .middle-header {
		transition: padding .25s var(--stg-ease);
	}

	header#masthead.site-header.is-stuck .middle-header {
		padding-top: 6px;
		padding-bottom: 6px;
	}

	header#masthead.site-header .site-branding img {
		transition: height .25s var(--stg-ease);
	}

	header#masthead.site-header.is-stuck .site-branding img {
		height: 44px;
		width: auto;
	}

	body.admin-bar header#masthead.site-header {
		top: calc(32px - var(--stg-topbar-h, 0px));
	}
}

/* ---------- Ивица с логата на марките ---------- */
.stg-brands {
	margin: 8px 0 36px;
	padding: 28px 28px 24px;
	border: 1px solid var(--stg-line);
	border-radius: 14px;
	background: linear-gradient(180deg, #fff 0%, var(--stg-surface) 100%);
}

.stg-brands-head {
	text-align: center;
	margin-bottom: 20px;
}

.stg-brands-title {
	margin: 0 0 6px;
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.65rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.stg-brands-title:after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: 10px auto 0;
	border-radius: 2px;
	background: var(--stg-accent);
}

.stg-brands-sub {
	margin: 0;
	color: var(--stg-muted);
	font-size: 0.95rem;
}

.stg-brands-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.stg-brands-list li {
	margin: 0;
}

a.stg-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	padding: 14px 18px;
	border: 1px solid var(--stg-line);
	border-radius: var(--stg-radius);
	background: #fff;
	transition: border-color .2s var(--stg-ease), box-shadow .2s var(--stg-ease), transform .2s var(--stg-ease);
}

a.stg-brand img {
	max-width: 100%;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1) contrast(1.05);
	opacity: .7;
	transition: filter .25s var(--stg-ease), opacity .25s var(--stg-ease);
}

a.stg-brand:hover,
a.stg-brand:focus-visible {
	border-color: rgba(163, 41, 41, .35);
	box-shadow: var(--stg-shadow-hover);
	transform: translateY(-2px);
}

a.stg-brand:hover img,
a.stg-brand:focus-visible img {
	filter: none;
	opacity: 1;
}

@media (max-width: 767px) {
	.stg-brands {
		padding: 22px 14px 18px;
	}

	/* На телефон: хоризонтален ред с плъзгане */
	.stg-brands-list {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
		scrollbar-width: none;
	}

	.stg-brands-list::-webkit-scrollbar {
		display: none;
	}

	.stg-brands-list li {
		flex: 0 0 132px;
		scroll-snap-align: start;
	}

	a.stg-brand {
		height: 72px;
	}

	a.stg-brand img {
		filter: none;
		opacity: 1;
	}
}

/* ---------- Долна лента за навигация (само телефон) ---------- */
.stg-mbar {
	display: none;
}

@media (max-width: 767px) {
	.stg-mbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		align-items: end;
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--stg-line);
		box-shadow: 0 -6px 20px rgba(22, 24, 29, .08);
	}

	body {
		padding-bottom: calc(66px + env(safe-area-inset-bottom));
	}

	.stg-mbar-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 3px;
		min-height: 50px;
		padding: 4px 2px 2px;
		border: 0;
		background: none;
		color: #4a4f57 !important;
		font-family: inherit;
		font-size: 10.5px;
		font-weight: 600;
		line-height: 1.1;
		letter-spacing: 0.01em;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
	}

	.stg-mbar-item svg {
		width: 24px;
		height: 24px;
	}

	.stg-mbar-item.is-current,
	.stg-mbar-item:active {
		color: var(--stg-accent) !important;
	}

	/* Централният бутон „Обади се" */
	.stg-mbar-call {
		color: var(--stg-ink) !important;
	}

	.stg-mbar-call-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		margin-top: -22px;
		border-radius: 50%;
		background: var(--stg-accent);
		color: #fff;
		box-shadow: 0 6px 16px rgba(163, 41, 41, .4), 0 0 0 4px #fff;
	}

	.stg-mbar-call-icon svg {
		width: 22px;
		height: 22px;
	}

	.stg-mbar-cart {
		position: relative;
		display: inline-flex;
	}

	.stg-mbar-count {
		position: absolute;
		top: -5px;
		right: -9px;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		border-radius: 999px;
		background: var(--stg-accent);
		color: #fff;
		font-size: 10px;
		font-weight: 700;
		line-height: 17px;
		text-align: center;
	}

	.stg-mbar-count.is-empty {
		display: none;
	}

	/* Плаващото кошче на плъгина за количка се дублира с лентата — скриваме го на телефон */
	.xoo-wsc-basket {
		display: none !important;
	}

	/* Банерът за лоялната програма да не се застъпва с лентата */
	#loyalty-banner {
		padding-bottom: calc(20px + 66px + env(safe-area-inset-bottom));
	}
}

/* ---------- Блок Техническа консултация (на мястото на бюлетина) ---------- */
.stg-consult {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding: 40px 44px;
	border-radius: 14px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(163, 41, 41, .45) 0%, rgba(163, 41, 41, 0) 55%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px),
		linear-gradient(160deg, #23262c 0%, #16181d 100%);
	box-shadow: 0 20px 44px rgba(22, 24, 29, .22);
}

.stg-consult:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--stg-accent);
}

.stg-consult-kicker {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(163, 41, 41, .9);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stg-consult-title {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
}

.stg-consult-lead {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .78);
	max-width: 560px;
}

.stg-consult-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.stg-consult-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, .92);
	font-weight: 500;
}

.stg-consult-list svg {
	flex: 0 0 auto;
	padding: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #ff8a8a;
}

.stg-consult-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

a.stg-consult-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-radius: var(--stg-radius);
	text-decoration: none !important;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
	transition: transform .2s var(--stg-ease), background-color .2s var(--stg-ease), border-color .2s var(--stg-ease), box-shadow .2s var(--stg-ease);
}

a.stg-consult-btn span {
	display: flex;
	flex-direction: column;
}

a.stg-consult-btn small {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: .8;
}

a.stg-consult-btn svg {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
}

a.stg-consult-btn--primary {
	background: var(--stg-accent);
	color: #fff !important;
	border: 1px solid var(--stg-accent);
}

a.stg-consult-btn--primary:hover {
	background: var(--stg-accent-dark);
	border-color: var(--stg-accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(163, 41, 41, .35);
}

a.stg-consult-btn--ghost {
	background: rgba(255, 255, 255, .04);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .25);
}

a.stg-consult-btn--ghost:hover {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .5);
	transform: translateY(-2px);
}

.stg-consult-hours {
	margin: 2px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
	text-align: center;
}

@media (max-width: 991px) {
	.stg-consult {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 30px 24px 26px 28px;
	}
}

/* ---------- Мега меню Категории: изчистени карти със снимки ---------- */
.stg-mega-panel {
	padding: 24px 28px 26px;
	border-radius: 0 var(--stg-radius) var(--stg-radius) 0;
	box-shadow: 0 24px 48px rgba(22, 24, 29, .16);
}

.stg-mega-head {
	border-bottom: 1px solid var(--stg-line);
	padding-bottom: 12px;
	margin-bottom: 20px;
	font-size: 18px;
	letter-spacing: -0.01em;
	position: relative;
}

.stg-mega-head:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 56px;
	height: 3px;
	border-radius: 2px;
	background: var(--stg-accent);
}

.stg-mega-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.stg-mega-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

header.site-header .header-menu-category-item.with-nav nav a.stg-mega-card {
	gap: 10px;
	padding: 10px 10px 12px;
	border: 1px solid var(--stg-line);
	border-radius: var(--stg-radius);
	background: #fff;
	font-weight: 700;
	transition: border-color .2s var(--stg-ease), box-shadow .2s var(--stg-ease), transform .2s var(--stg-ease);
}

header.site-header .header-menu-category-item.with-nav nav a.stg-mega-card:hover,
header.site-header .header-menu-category-item.with-nav nav a.stg-mega-card:focus-visible {
	border-color: rgba(163, 41, 41, .35);
	box-shadow: var(--stg-shadow-hover);
	transform: translateY(-2px);
	color: var(--stg-accent);
}

/* Рамка за снимката: еднакъв размер за всички категории */
.stg-mega-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 10px;
	border-radius: var(--stg-radius-sm);
	background: var(--stg-surface);
	overflow: hidden;
}

.stg-mega-img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .35s var(--stg-ease);
}

header.site-header .header-menu-category-item.with-nav nav a.stg-mega-card:hover .stg-mega-img {
	transform: scale(1.06);
}

.stg-mega-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	color: var(--stg-accent);
	font-size: 24px;
	font-weight: 800;
	box-shadow: inset 0 0 0 1px var(--stg-line);
}

.stg-mega-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.3em * 2);
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
}

/* Подкатегории под картата */
.stg-mega-sub {
	margin: 10px 2px 0;
}

header.site-header .header-menu-category-item.with-nav nav .stg-mega-sub a {
	position: relative;
	padding: 3px 0 3px 12px;
	transition: color .15s var(--stg-ease);
}

header.site-header .header-menu-category-item.with-nav nav .stg-mega-sub a:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #c3c6cc;
	transform: translateY(-50%);
}

header.site-header .header-menu-category-item.with-nav nav .stg-mega-sub a:hover:before {
	background: var(--stg-accent);
}

header.site-header .header-menu-category-item.with-nav nav .stg-mega-more a {
	padding-left: 12px;
	font-size: 11px;
	letter-spacing: 0.04em;
}

/* Още категории като чипове */
.stg-mega-rest {
	margin-top: 22px;
	padding-top: 16px;
}

.stg-mega-rest ul {
	columns: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

header.site-header .header-menu-category-item.with-nav nav .stg-mega-rest a {
	padding: 5px 12px;
	border: 1px solid var(--stg-line);
	border-radius: 999px;
	background: #fff;
	transition: border-color .15s var(--stg-ease), color .15s var(--stg-ease);
}

header.site-header .header-menu-category-item.with-nav nav .stg-mega-rest a:hover {
	border-color: var(--stg-accent);
}

@media (max-width: 1199px) {
	.stg-mega-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Странична количка: плътни бутони и заглавие ---------- */
.xoo-wsc-ft-buttons-cont {
	gap: 8px !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border-radius: var(--stg-radius-sm) !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-decoration: none !important;
	transition: background-color .2s var(--stg-ease), border-color .2s var(--stg-ease), color .2s var(--stg-ease);
}

/* Продължи да пазаруваш — бял с тъмна рамка */
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-continue {
	background: #fff !important;
	color: var(--stg-ink) !important;
	border: 2px solid var(--stg-ink) !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-continue:hover {
	background: var(--stg-ink) !important;
	color: #fff !important;
}

/* Количка — плътен графит */
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-cart {
	background: var(--stg-graphite) !important;
	color: #fff !important;
	border: 2px solid var(--stg-graphite) !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-cart:hover {
	background: var(--stg-ink) !important;
	border-color: var(--stg-ink) !important;
}

/* Поръчка — червен */
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-checkout {
	background: var(--stg-accent) !important;
	color: #fff !important;
	border: 2px solid var(--stg-accent) !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-checkout:hover {
	background: var(--stg-accent-dark) !important;
	border-color: var(--stg-accent-dark) !important;
}

.xoo-wsch-text {
	font-weight: 800;
	letter-spacing: -0.01em;
}

.xoo-wsc-ft-totals {
	font-weight: 700;
}

/* ---------- Банер (слайдер) на началната страница ---------- */
.slider-section-wrapper .main-front-page-slider {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(22, 24, 29, .18);
}

.slider-section-wrapper .main-front-page-slider .slide-item {
	position: relative;
	height: 440px;
	/* Бордо: дълбок червен фон със светъл отблясък, фини диагонални линии и геометричен акцент */
	background:
		radial-gradient(60% 90% at 18% 20%, rgba(255, 120, 120, .22) 0%, rgba(255, 120, 120, 0) 60%),
		linear-gradient(118deg, transparent 0 58%, rgba(255, 255, 255, .06) 58% 58.4%, transparent 58.4% 64%, rgba(255, 255, 255, .05) 64% 64.3%, transparent 64.3%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 14px),
		linear-gradient(135deg, #8e1f26 0%, #6d151c 45%, #4a0d13 100%) !important;
}

/* Бордо версия: светли елементи върху червения фон (с „body" за по-висок приоритет) */
body .slider-section-wrapper .main-front-page-slider .slide-item .inner-wrapper:before {
	background: rgba(255, 255, 255, .14) !important;
	border: 1px solid rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

body .slider-section-wrapper .main-front-page-slider .slide-item .btn.btn-primary {
	background: #fff !important;
	color: #7a1a21 !important;
	box-shadow: 0 10px 26px rgba(40, 0, 6, .35) !important;
}

body .slider-section-wrapper .main-front-page-slider .slide-item .btn.btn-primary:hover {
	background: #16181d !important;
	color: #fff !important;
}

body .slider-section-wrapper .main-front-page-slider .slick-dots li.slick-active button {
	background: #fff !important;
}

body .slider-section-wrapper .main-front-page-slider .slick-arrow:hover {
	background: #fff !important;
	border-color: #fff !important;
}

body .slider-section-wrapper .main-front-page-slider .slick-arrow:hover:after {
	border-color: #7a1a21 !important;
}

/* Сянката под банера — в бордо */
body .slider-section-wrapper .main-front-page-slider {
	box-shadow: 0 20px 44px rgba(122, 26, 33, .28);
}

/* Скорост: банерът (03.12.2026). WP Rocket пуска скриптовете чак при първо движение/скрол, а дотогава
   всички 5 слайда стояха един под друг (~2100 px) и се теглеха всички 5 снимки. Сега до старта на слайдера
   се вижда само първият слайд; снимките на другите се теглят чак когато слайдерът тръгне. */
.slider-section-wrapper .main-front-page-slider:not(.slick-initialized) > .slide-item:not(:first-child) {
	display: none !important;
}

/* Снимката вдясно — по-широка и плавно преливаща във фона */
.slider-section-wrapper .main-front-page-slider .slide-item:before {
	width: 52% !important;
	background-size: cover !important;
	background-position: center !important;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
	opacity: .95;
}

.slider-section-wrapper .main-front-page-slider .slide-item .inner-wrapper {
	position: relative;
	z-index: 9;
}

.slider-section-wrapper .main-front-page-slider .slide-item .inner-wrapper:before {
	content: "Сейнт Джордж Груп";
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(163, 41, 41, .9);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.slider-section-wrapper .main-front-page-slider .slide-item h2 {
	margin-bottom: 12px;
	font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem) !important;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.slider-section-wrapper .main-front-page-slider .slide-item p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 520px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, .82) !important;
	font-size: 1rem;
	line-height: 1.6;
}

/* Бутонът: в нормалния поток под текста, червен, с ясна стрелка */
.slider-section-wrapper .main-front-page-slider .slide-item .btn.btn-primary {
	position: static !important;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0 !important;
	border-radius: var(--stg-radius-sm) !important;
	background: var(--stg-accent) !important;
	color: #fff !important;
	backdrop-filter: none;
	box-shadow: 0 10px 24px rgba(163, 41, 41, .35);
}

.slider-section-wrapper .main-front-page-slider .slide-item .btn.btn-primary:hover {
	background: #fff !important;
	color: var(--stg-accent) !important;
	transform: translateY(-2px);
}

/* Точки и стрелки */
.slider-section-wrapper .main-front-page-slider .slick-dots {
	bottom: 18px;
	gap: 8px;
}

.slider-section-wrapper .main-front-page-slider .slick-dots li button {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	background: rgba(255, 255, 255, .4);
	transition: width .25s var(--stg-ease), background-color .25s var(--stg-ease);
}

.slider-section-wrapper .main-front-page-slider .slick-dots li.slick-active button {
	width: 26px;
	background: var(--stg-accent);
}

.slider-section-wrapper .main-front-page-slider .slick-arrow {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .35) !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	transform: translateY(-50%) !important;
	font-size: 0;
	color: transparent;
	transition: background-color .2s var(--stg-ease), border-color .2s var(--stg-ease);
}

.slider-section-wrapper .main-front-page-slider .slick-arrow:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.slider-section-wrapper .main-front-page-slider .slick-next:after {
	transform: translate(-65%, -50%) rotate(45deg);
}

.slider-section-wrapper .main-front-page-slider .slick-prev:after {
	transform: translate(-35%, -50%) rotate(-135deg);
}

.slider-section-wrapper .main-front-page-slider .slick-arrow:hover {
	background: var(--stg-accent);
	border-color: var(--stg-accent) !important;
}

@media (max-width: 767px) {
	.slider-section-wrapper .main-front-page-slider {
		border-radius: 12px;
	}

	.slider-section-wrapper .main-front-page-slider .slide-item {
		height: 420px;
		align-items: flex-end;
		padding-bottom: 52px;
	}

	.slider-section-wrapper .main-front-page-slider .slide-item:before {
		width: 100% !important;
		-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%);
		mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%);
		opacity: .55;
	}

	.slider-section-wrapper .main-front-page-slider .slick-arrow {
		display: none !important;
	}
}

/* ---------- Футър ---------- */
footer.site-footer.stg-footer {
	position: relative;
	margin-top: 40px;
	color: rgba(255, 255, 255, .78);
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(163, 41, 41, .28) 0%, rgba(163, 41, 41, 0) 55%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px),
		linear-gradient(170deg, #1d2025 0%, #121417 100%) !important;
	background-image:
		radial-gradient(70% 120% at 100% 0%, rgba(163, 41, 41, .28) 0%, rgba(163, 41, 41, 0) 55%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px),
		linear-gradient(170deg, #1d2025 0%, #121417 100%) !important;
	border-top: 4px solid var(--stg-accent);
}

.stg-footer a {
	color: rgba(255, 255, 255, .78) !important;
	text-decoration: none !important;
	transition: color .15s var(--stg-ease);
}

.stg-footer a:hover {
	color: #fff !important;
}

.stg-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stg-footer-main {
	padding: 52px 0 28px;
}

.stg-footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
	gap: 36px;
}

.stg-footer-logo img {
	display: block;
	height: 44px;
	width: auto;
	margin-bottom: 16px;
}

.stg-footer-about p {
	margin: 0 0 18px;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, .7);
}

.stg-footer-social {
	display: flex;
	gap: 10px;
}

.stg-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	transition: background-color .2s var(--stg-ease), border-color .2s var(--stg-ease);
}

.stg-footer-social a:hover {
	background: var(--stg-accent);
	border-color: var(--stg-accent);
}

.stg-footer-social svg {
	width: 18px;
	height: 18px;
}

.stg-footer-title {
	position: relative;
	margin: 4px 0 18px;
	padding-bottom: 10px;
	color: #fff !important;
	font-size: 0.95rem !important;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.stg-footer-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	border-radius: 2px;
	background: var(--stg-accent);
}

.stg-footer-links li,
.stg-footer-menus li {
	margin: 0 0 9px;
	padding: 0;
}

.stg-footer-links a,
.stg-footer-menus a {
	font-size: 0.9rem;
	font-weight: 500;
}

.stg-footer-links a:hover,
.stg-footer-menus a:hover {
	padding-left: 4px;
}

.stg-footer-links a.is-more {
	color: #ff8a8a !important;
	font-weight: 700;
}

.stg-footer-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 0.9rem;
	line-height: 1.45;
}

.stg-footer-contacts svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: #ff8a8a;
}

a.stg-footer-cta {
	display: inline-flex;
	margin-top: 6px;
	padding: 10px 18px;
	border-radius: var(--stg-radius-sm);
	background: var(--stg-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.9rem;
}

a.stg-footer-cta:hover {
	background: #fff;
	color: var(--stg-accent) !important;
}

.stg-footer-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px 28px;
	margin-top: 36px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.stg-footer-badge-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.stg-footer-badge-label {
	margin-right: 4px;
	color: rgba(255, 255, 255, .5);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stg-footer-chip {
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	color: rgba(255, 255, 255, .85);
	font-size: 0.8rem;
	font-weight: 600;
}

.stg-footer-bottom {
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, .08);
	background: rgba(0, 0, 0, .25);
}

.stg-footer-bottom .container-fluid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 20px;
}

.stg-footer-copy {
	margin: 0;
	color: rgba(255, 255, 255, .55);
	font-size: 0.82rem;
}

.stg-footer-credit {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, .45) !important;
}

@media (max-width: 991px) {
	.stg-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 575px) {
	.stg-footer-main {
		padding-top: 40px;
	}

	.stg-footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.stg-footer-badges {
		flex-direction: column;
	}
}

/* ==================================================================
 * v2 — 03.12.2026: търсачка и числа на началната страница, „Какво обработвате?",
 * подсказки на търсачката, подбор по материал, бърза поръчка, B2B на продукта,
 * залепнал „Купи" на телефон, промоции 2 на ред, каталози, блог, категории.
 * ================================================================== */

/* ---------- Начална страница: блок под банера ---------- */
.stg-hero .col-md-12 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stg-hero .col-md-12 > h1 { order: 1; }
.stg-hero .col-md-12 > p { order: 2; font-size: .95rem; }
.stg-hero-tools { order: 3; width: 100%; max-width: 980px; margin: 6px auto 10px; }

.stg-hero-search .aws-container .aws-search-form {
	height: 58px;
	border: 2px solid var(--stg-graphite);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--stg-shadow);
}

.stg-hero-search .aws-container .aws-search-field {
	font-size: 17px;
	padding: 0 18px;
}

.stg-hero-search .aws-container .aws-search-form .aws-form-btn {
	background: var(--stg-accent);
	border: 0;
	min-width: 62px;
}

.stg-hero-search .aws-container .aws-search-form .aws-search-btn_icon { color: #fff; }

.stg-hero-hints {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 8px;
	margin: 12px 0 0 !important;
	font-size: .85rem;
	color: var(--stg-muted);
}

.stg-hero-hints a {
	padding: 3px 10px;
	border: 1px solid var(--stg-line);
	border-radius: 999px;
	background: #fff;
	color: var(--stg-graphite) !important;
	text-decoration: none;
	transition: border-color .2s var(--stg-ease), background-color .2s var(--stg-ease);
}

.stg-hero-hints a:hover { border-color: var(--stg-graphite); background: var(--stg-surface); }

.stg-hero-hints a.stg-hero-quick {
	border: 0;
	background: none;
	font-weight: 700;
	color: var(--stg-accent) !important;
}

.stg-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.stg-hero-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 10px;
	border: 1px solid var(--stg-line);
	border-radius: var(--stg-radius);
	background: var(--stg-surface);
}

.stg-hero-stats b {
	font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem);
	font-weight: 800;
	color: var(--stg-ink);
	line-height: 1.15;
}

.stg-hero-stats span { font-size: .8rem; color: var(--stg-muted); line-height: 1.3; }

.stg-material {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	margin-top: 20px;
}

.stg-material-label {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: .9rem;
	color: var(--stg-ink);
}

.stg-material-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

a.stg-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border: 1px solid #cfd2d8;
	border-radius: 999px;
	background: #fff;
	color: var(--stg-graphite) !important;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s var(--stg-ease);
}

a.stg-chip:hover { border-color: var(--stg-graphite); background: var(--stg-graphite); color: #fff !important; }
a.stg-chip.is-active { border-color: var(--stg-accent); background: var(--stg-accent); color: #fff !important; }
a.stg-chip--more { border-style: dashed; }

@media (max-width: 767px) {
	.stg-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stg-hero-search .aws-container .aws-search-form { height: 52px; }
	.stg-hero-search .aws-container .aws-search-field { font-size: 16px; }
	.stg-material-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	a.stg-chip { flex: 0 0 auto; }
}

/* ---------- Подсказки на търсачката (Advanced Woo Search) ---------- */
.aws-search-result {
	border: 1px solid var(--stg-line) !important;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 14px 34px rgba(22, 24, 29, .16) !important;
	overflow: hidden;
	font-family: inherit !important;
}

.aws-search-result ul li { border-bottom: 1px solid #f0f1f3 !important; }
.aws-search-result .aws_result_link { padding: 10px 12px !important; }
.aws-search-result ul li:hover, .aws-search-result ul li.hovered { background: var(--stg-surface) !important; }
.aws-search-result .aws_result_image img { width: 54px !important; height: 54px !important; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--stg-line); }
.aws-search-result .aws_result_title { font-size: 14px !important; font-weight: 600; color: var(--stg-ink) !important; line-height: 1.3; }
.aws-search-result .aws_result_sku { font-size: 12px !important; color: var(--stg-muted) !important; }
.aws-search-result .aws_result_price { font-size: 14px !important; font-weight: 800; color: var(--stg-ink) !important; }
.aws-search-result .aws_search_more a { display: block; padding: 12px !important; font-weight: 700; color: var(--stg-accent) !important; text-align: center; background: #fff; }
.aws-search-result .aws_result_term { font-weight: 700; }

/* ---------- Ивица с марките: етикет „Представител" ---------- */
.stg-rep-badge {
	display: inline-block;
	padding: 2px 8px;
	margin-right: 4px;
	border-radius: 4px;
	background: var(--stg-graphite);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	vertical-align: 1px;
}

/* ---------- Продукт: цена без ДДС, оферта, залепнал „Купи" ---------- */
.stg-net {
	display: block;
	margin-top: 4px;
	font-size: .85rem;
	font-weight: 500;
	color: var(--stg-muted);
}

a.stg-quote {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 4px;
	padding: 9px 14px;
	border: 1px dashed #b9bdc5;
	border-radius: var(--stg-radius-sm);
	color: var(--stg-graphite) !important;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	transition: border-color .2s var(--stg-ease), background-color .2s var(--stg-ease);
}

a.stg-quote:hover { border-style: solid; border-color: var(--stg-graphite); background: var(--stg-surface); }

.stg-stickybuy { display: none; }

@media (max-width: 767px) {
	.stg-stickybuy {
		position: fixed;
		left: 0;
		right: 0;
		bottom: calc(62px + env(safe-area-inset-bottom));
		z-index: 9989;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 8px 12px;
		background: #fff;
		border-top: 1px solid var(--stg-line);
		box-shadow: 0 -6px 18px rgba(22, 24, 29, .1);
		transform: translateY(130%);
		transition: transform .25s var(--stg-ease);
	}

	.stg-stickybuy.is-visible { transform: translateY(0); }
	.stg-stickybuy-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
	.stg-stickybuy-name { font-size: .78rem; color: var(--stg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.stg-stickybuy-price { font-size: 1.05rem; font-weight: 800; color: var(--stg-ink); }

	.stg-stickybuy-btn {
		flex: 0 0 auto;
		padding: 11px 26px;
		border: 0;
		border-radius: var(--stg-radius-sm);
		background: var(--stg-accent);
		color: #fff;
		font-weight: 800;
		letter-spacing: .03em;
	}
}

/* ---------- „Промоции": 2 продукта на ред на малък телефон ---------- */
@media (max-width: 575px) {
	.promotions-wrapper .products-slider.no-slider {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.promotions-wrapper .products-slider.no-slider .slide-item {
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.promotions-wrapper .products-slider.no-slider .product-slide-item-inner-wrapper { padding: 0 10px 12px; height: 100%; }
	.promotions-wrapper .products-slider.no-slider .product-title { font-size: .85rem; }
	.promotions-wrapper .products-slider.no-slider .product-price,
	.promotions-wrapper .products-slider.no-slider .promotional-price { font-size: .9rem; }
	.promotions-wrapper .products-slider.no-slider .bottom-slide-block { flex-wrap: wrap; gap: 6px; }
}

/* ---------- Подбор по материал ---------- */
.stg-matpage { padding: 10px 0 40px; }
.stg-matpage-head { max-width: 900px; margin-bottom: 24px; }
.stg-matpage-head h1 { font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); position: relative; padding-bottom: 12px; }
.stg-matpage-head h1:after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--stg-accent); }
.stg-matpage-lead { color: var(--stg-muted); }
.stg-matpage-head .stg-material-chips { justify-content: flex-start; }
.stg-matgroup { margin-top: 28px; }
.stg-matgroup-title { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding-bottom: 8px; border-bottom: 1px solid var(--stg-line); margin-bottom: 14px; }
.stg-matgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
a.stg-matcard { display: flex; flex-direction: column; height: 100%; padding: 12px; border: 1px solid var(--stg-line); border-radius: var(--stg-radius); background: #fff; color: var(--stg-ink) !important; text-decoration: none; box-shadow: var(--stg-shadow); transition: box-shadow .25s var(--stg-ease), transform .25s var(--stg-ease); }
a.stg-matcard:hover { box-shadow: var(--stg-shadow-hover); transform: translateY(-2px); }
.stg-matcard-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: var(--stg-radius-sm); background: var(--stg-surface); overflow: hidden; }
.stg-matcard-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.stg-matcard-ph { font-size: 2rem; font-weight: 800; color: #c4c7cd; }
.stg-matcard-parent { font-size: .72rem; color: var(--stg-muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.stg-matcard-name { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.stg-matcard-count { margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--stg-muted); }
.stg-matnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px; border: 1px solid var(--stg-line); border-radius: var(--stg-radius); background: var(--stg-surface); }
.stg-matnav-count { font-weight: 800; margin-right: 4px; }
.stg-matnav a { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--stg-line); font-size: .82rem; color: var(--stg-graphite) !important; text-decoration: none; }
.stg-matnav a:hover { border-color: var(--stg-graphite); }
.stg-matnav small { color: var(--stg-muted); font-weight: 700; }
.stg-matgroup { scroll-margin-top: 110px; }
.stg-matgroup-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--stg-line); margin-bottom: 14px; }
.stg-matgroup-head .stg-matgroup-title { border: 0; margin: 0; }
.stg-matgroup-title small { display: block; font-size: .72rem; font-weight: 700; color: var(--stg-muted); letter-spacing: .03em; }
a.stg-matgroup-link { padding-bottom: 8px; font-size: .85rem; font-weight: 700; color: var(--stg-accent) !important; white-space: nowrap; text-decoration: none; }
.stg-matprod { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px; border: 1px solid var(--stg-line); border-radius: var(--stg-radius); background: #fff; box-shadow: var(--stg-shadow); transition: box-shadow .25s var(--stg-ease); }
.stg-matprod:hover { box-shadow: var(--stg-shadow-hover); }
a.stg-matprod-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--stg-radius-sm); background: #fff; overflow: hidden; }
a.stg-matprod-img img { width: 100%; height: 100%; object-fit: contain; }
a.stg-matprod-name { font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--stg-ink) !important; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.stg-matprod-name:hover { color: var(--stg-accent) !important; }
.stg-matprod-stock { font-size: .75rem; color: var(--stg-muted); }
.stg-matprod-stock.is-in { color: #1f8a4c; }
.stg-matprod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stg-matprod-price { font-weight: 800; font-size: .98rem; }
a.stg-matprod-buy, a.stg-matprod-more { padding: 7px 14px !important; border-radius: var(--stg-radius-sm) !important; background: var(--stg-accent) !important; color: #fff !important; font-size: .82rem !important; font-weight: 700; text-decoration: none; border: 0 !important; line-height: 1.2 !important; }
a.stg-matprod-more { background: var(--stg-graphite) !important; }
a.stg-matprod-buy.added:after { content: " ✓"; }
.stg-matpage .added_to_cart { display: none !important; }
@media (max-width: 575px) { .stg-matgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .stg-matgroup-head { flex-direction: column; align-items: flex-start; gap: 2px; } }
.stg-matpage-empty, .stg-matpage-note { color: var(--stg-muted); margin-top: 24px; }
.stg-matpage-note { font-size: .85rem; }

/* ---------- Бърза поръчка по код ---------- */
.stg-qo { padding: 10px 0 40px; }
.stg-qo-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.stg-qo h1 { font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.stg-qo-lead { color: var(--stg-muted); }
.stg-qo-lead code { background: var(--stg-surface); padding: 1px 6px; border-radius: 4px; color: var(--stg-ink); }
.stg-qo-form textarea { width: 100%; padding: 14px; border: 2px solid var(--stg-line); border-radius: var(--stg-radius); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.6; }
.stg-qo-form textarea:focus { outline: none; border-color: var(--stg-graphite); }
.stg-qo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 12px; }
.stg-qo-btn { padding: 12px 26px; border: 0; border-radius: var(--stg-radius-sm); background: var(--stg-accent); color: #fff; font-weight: 800; letter-spacing: .03em; }
.stg-qo-btn:disabled { opacity: .6; }
a.stg-qo-cart { font-weight: 700; color: var(--stg-graphite) !important; }
.stg-qo-result { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.stg-qo-result li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 9px 12px; border-radius: var(--stg-radius-sm); border: 1px solid var(--stg-line); font-size: .9rem; }
.stg-qo-result li.is-ok { border-color: #bfe3cd; background: #f1faf4; }
.stg-qo-result li.is-err { border-color: #f0c9c9; background: #fdf3f3; }
.stg-qo-result li span { margin-left: auto; font-weight: 700; }
.stg-qo-result li.is-ok span { color: #1f8a4c; }
.stg-qo-result li.is-err span { color: var(--stg-accent); }
.stg-qo-side { padding: 22px; border-radius: var(--stg-radius); background: var(--stg-graphite); color: #fff; }
.stg-qo-side h2 { font-size: 1.1rem; font-weight: 800; color: #fff; }
.stg-qo-side p { color: rgba(255, 255, 255, .8); font-size: .9rem; }
a.stg-qo-sidebtn, a.stg-qo-sidecall { display: block; text-align: center; padding: 11px; border-radius: var(--stg-radius-sm); font-weight: 800; text-decoration: none; margin-top: 10px; }
a.stg-qo-sidebtn { background: var(--stg-accent); color: #fff !important; }
a.stg-qo-sidecall { border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.stg-qo-hours { margin: 10px 0 0; font-size: .8rem !important; text-align: center; }
@media (max-width: 767px) { .stg-qo-wrap { grid-template-columns: 1fr; } }

/* ---------- „Категории": заглавие ---------- */
.stg-cats-head { margin: 6px 0 22px; }
.stg-cats-h1 { font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); position: relative; padding-bottom: 12px; margin-bottom: 8px; }
.stg-cats-h1:after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--stg-accent); }
.stg-cats-sub { color: var(--stg-muted); margin: 0; }
.stg-cats-sub a { color: var(--stg-graphite) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Каталози ---------- */
.stg-catcard { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--stg-line); border-radius: var(--stg-radius); background: #fff; box-shadow: var(--stg-shadow); overflow: hidden; transition: box-shadow .25s var(--stg-ease), transform .25s var(--stg-ease); }
.stg-catcard:hover { box-shadow: var(--stg-shadow-hover); transform: translateY(-2px); }
.stg-catcard-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; padding: 14px; background: var(--stg-surface); }
.stg-catcard-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 6px 18px rgba(22, 24, 29, .15); }
.stg-catcard-ph { font-size: 1.6rem; font-weight: 800; color: #c4c7cd; }
.stg-catcard-body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; padding: 12px 14px 14px; }
.stg-catcard-title { font-size: .95rem !important; font-weight: 700; line-height: 1.3; margin: 0; color: var(--stg-ink); }
a.stg-catcard-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; border-radius: var(--stg-radius-sm); background: var(--stg-graphite); color: #fff !important; font-size: .85rem; font-weight: 700; text-decoration: none; transition: background-color .2s var(--stg-ease); }
a.stg-catcard-btn:hover { background: var(--stg-accent); }
a.stg-catcard-btn.is-ghost { background: #fff; color: var(--stg-graphite) !important; border: 1px solid #cfd2d8; }

/* ---------- Блог ---------- */
.stg-post-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--stg-line); border-radius: var(--stg-radius); background: #fff; box-shadow: var(--stg-shadow); overflow: hidden; transition: box-shadow .25s var(--stg-ease), transform .25s var(--stg-ease); }
.stg-post-card:hover { box-shadow: var(--stg-shadow-hover); transform: translateY(-2px); }
.stg-post-card-img { display: block; aspect-ratio: 16 / 9; background: var(--stg-surface); overflow: hidden; }
.stg-post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--stg-ease); }
.stg-post-card:hover .stg-post-card-img img { transform: scale(1.04); }
.stg-post-card-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 800; font-size: 1.6rem; color: #c4c7cd; }
.stg-post-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.stg-post-card-date { font-size: .78rem; color: var(--stg-muted); text-transform: uppercase; letter-spacing: .04em; }
.stg-post-card-title { font-size: 1.08rem !important; font-weight: 800; line-height: 1.3; margin: 6px 0 8px; }
.stg-post-card-title a { color: var(--stg-ink) !important; text-decoration: none; }
.stg-post-card-title a:hover { color: var(--stg-accent) !important; }
.stg-post-card-text { color: var(--stg-muted); font-size: .9rem; flex: 1 1 auto; }
a.stg-post-card-more { margin-top: 6px; font-weight: 700; color: var(--stg-accent) !important; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
