/* SauryaHSE – Brand page redesign */

.sbp {
	--sbp-blue: #0171bd;
	--sbp-blue-dark: #015a96;
	--sbp-blue-tint: #e8f2fa;
	--sbp-blue-line: #b9d6ec;
	--sbp-ink: #1f2a33;
	--sbp-text: #4a5560;
	--sbp-muted: #5f6b75;
	--sbp-line: #e3e7eb;
	--sbp-line-strong: #d5dbe0;
	--sbp-bg: #f6f8fa;
	--sbp-placeholder: #eef2f5;
	--sbp-radius: 12px;
	/* Distance of the sticky media from the top. Raise it if your header is sticky. */
	--sbp-sticky-top: 32px;

	color: var(--sbp-ink);
	font-family: inherit;
}
.admin-bar .sbp { --sbp-sticky-top: 64px; }

.sbp *,
.sbp *::before,
.sbp *::after { box-sizing: border-box; }

.sbp .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.sbp-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

.sbp-icon { flex: none; }

.sbp-link {
	color: var(--sbp-blue);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.sbp-link:hover { color: var(--sbp-blue-dark); text-decoration: underline; }

.sbp :focus-visible {
	outline: 2px solid var(--sbp-blue);
	outline-offset: 2px;
}

/* Buttons ---------------------------------------------------------------- */

.sbp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 8px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.sbp-btn--primary { background: var(--sbp-blue); color: #fff; }
.sbp-btn--primary:hover { background: var(--sbp-blue-dark); color: #fff; }
.sbp-btn--outline { background: #fff; color: var(--sbp-blue); border-color: var(--sbp-blue); }
.sbp-btn--outline:hover { background: var(--sbp-blue); color: #fff; }
.sbp-btn--ghost { background: #fff; color: var(--sbp-ink); border-color: var(--sbp-line-strong); }
.sbp-btn--ghost:hover { border-color: var(--sbp-ink); }

.sbp-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--sbp-ink);
	cursor: pointer;
	border-radius: 8px;
}

/* Brand header (compact) -------------------------------------------------- */

.sbp-hero { padding: 24px 0 56px; background: #fff; }

.sbp-breadcrumb ol{display: flex;flex-wrap: wrap;gap: 8px;margin: 0 0 28px;padding: 0;list-style-type: none;font-size:13px;
	color: var(--sbp-muted);}
.sbp-breadcrumb ol li{list-style-type: none;}
.sbp-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--sbp-line-strong); }
.sbp-breadcrumb a { color: var(--sbp-muted); text-decoration: none; }
.sbp-breadcrumb a:hover { color: var(--sbp-blue); }
.sbp-breadcrumb [aria-current] { color: var(--sbp-ink); }

/*
 * Two columns. The media column stretches to the full row height, and the
 * media inside it is sticky — so it stays in view while the description
 * scrolls, then releases and moves up when the description ends.
 * (Sticky stops working if a parent has overflow: hidden.)
 */
.sbp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: stretch;
}
.sbp-hero__grid--no-media { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

.sbp-hero__content { min-width: 0; }

.sbp-hero__logo {
	display: block;
	max-width: 180px;
	max-height: 56px;
	width: auto;
	height: auto;
	margin-bottom: 20px;
}

.sbp-hero__title {
	margin: 0 0 20px;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--sbp-ink);
}

.sbp-hero__desc {
	font-size: 16px;
	line-height: 1.7;
	color: var(--sbp-text);
}
.sbp-hero__desc > :first-child { margin-top: 0; }
.sbp-hero__desc > :last-child { margin-bottom: 0; }
.sbp-hero__desc h2,
.sbp-hero__desc h3,
.sbp-hero__desc h4 { color: var(--sbp-ink); line-height: 1.3; margin: 1.6em 0 .5em; }
.sbp-hero__desc h2 { font-size: 22px; }
.sbp-hero__desc h3 { font-size: 18px; }
.sbp-hero__desc a { color: var(--sbp-blue); }
.sbp-hero__desc img { max-width: 100%; height: auto; }

.sbp-hero__media-col { min-width: 0; }

.sbp-hero__media {
	position: sticky;
	top: var(--sbp-sticky-top);
	border-radius: 14px;
	overflow: hidden;
	background: var(--sbp-placeholder);
	aspect-ratio: 4 / 3;
}
.sbp-hero__media video,
.sbp-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Header image slider */
.sbp-slider { position: relative; width: 100%; height: 100%; }
.sbp-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .6s ease;
}
.sbp-slider__slide.is-active { opacity: 1; }
.sbp-slider__dots {
	position: absolute;
	left: 0; right: 0; bottom: 8px;
	display: flex;
	justify-content: center;
}
.sbp-slider__dot {
	width: 28px; height: 28px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sbp-slider__dot::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #fff;
	opacity: .6;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.sbp-slider__dot.is-active::before { opacity: 1; background: var(--sbp-blue); }

/* Products section ------------------------------------------------------- */

.sbp-products {
	background: var(--sbp-bg);
	border-top: 1px solid var(--sbp-line);
	padding: 32px 0 64px;
	scroll-margin-top: var(--sbp-sticky-top);
}
.sbp-products.is-loading .sbp-main { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* Category tabs */
.sbp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.sbp-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--sbp-line-strong);
	background: #fff;
	color: var(--sbp-ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.sbp-tab span { color: var(--sbp-muted); font-weight: 500; }
.sbp-tab:hover { border-color: var(--sbp-blue); color: var(--sbp-blue); }
.sbp-tab.is-active { background: var(--sbp-blue); border-color: var(--sbp-blue); color: #fff; font-weight: 600; }
.sbp-tab.is-active span { color: #d7e9f6; }

.sbp-form { margin: 0; }

.sbp-layout {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

/* Sidebar */
.sbp-sidebar {
	flex: 0 0 300px;
	width: 300px;
	background: #fff;
	border: 1px solid var(--sbp-line);
	border-radius: var(--sbp-radius);
	overflow: hidden;
}
.sbp-sidebar__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--sbp-line);
	min-height: 56px;
}
.sbp-sidebar__title { margin: 0; font-size: 16px; font-weight: 700; flex: 1; color: var(--sbp-ink); }
.sbp-sidebar__close,
.sbp-sidebar__foot { display: none; }

.sbp-group,
.sbp-more-filters { border-bottom: 1px solid var(--sbp-line); }
.sbp-more-filters .sbp-group:last-child { border-bottom: 0; }
.sbp-more-filters .sbp-group { border-top: 1px solid var(--sbp-line); border-bottom: 0; }

.sbp-group__head,
.sbp-more-filters__head {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 20px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--sbp-ink);
	user-select: none;
}
.sbp-group__head::-webkit-details-marker,
.sbp-more-filters__head::-webkit-details-marker { display: none; }
.sbp-group__label,
.sbp-more-filters__head span { flex: 1; }
.sbp-more-filters__head { color: var(--sbp-blue); background: #fbfcfd; }
.sbp-group__badge {
	min-width: 20px; height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sbp-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.sbp-group__head .sbp-icon,
.sbp-more-filters__head .sbp-icon { transition: transform .2s; }
.sbp-group[open] > .sbp-group__head .sbp-icon--chevron,
.sbp-more-filters[open] > .sbp-more-filters__head .sbp-icon--chevron { transform: rotate(180deg); }

.sbp-group__body { padding: 0 20px 18px; }

.sbp-option__input {
	position: absolute;
	opacity: 0;
	width: 1px; height: 1px;
	margin: 0;
}
.sbp-option { position: relative; }
.sbp-is-extra { display: none; }
.sbp-show-all .sbp-is-extra { display: block; }

/* Application – image tiles */
.sbp-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sbp-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--sbp-line);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.sbp-tile:hover { border-color: var(--sbp-blue); box-shadow: 0 4px 14px rgba(1, 113, 189, .14); }
.sbp-tile__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: var(--sbp-placeholder);
	color: #8a96a0;
	overflow: hidden;
}
.sbp-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbp-tile__img .sbp-icon { width: 24px; height: 24px; }
.sbp-tile__name {
	padding: 8px 10px 10px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--sbp-ink);
}
.sbp-tile__tick {
	position: absolute;
	top: 6px; right: 6px;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--sbp-blue);
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
}
.sbp-tile__tick .sbp-icon { width: 13px; height: 13px; stroke-width: 3; }

.sbp-option__input:checked + .sbp-tile {
	border: 2px solid var(--sbp-blue);
	background: var(--sbp-blue-tint);
}
.sbp-option__input:checked + .sbp-tile .sbp-tile__name { color: var(--sbp-blue-dark); font-weight: 600; padding: 7px 9px 9px; }
.sbp-option__input:checked + .sbp-tile .sbp-tile__tick { display: flex; }
.sbp-option__input:focus-visible + .sbp-tile,
.sbp-option__input:focus-visible + .sbp-check .sbp-check__box {
	outline: 2px solid var(--sbp-blue);
	outline-offset: 2px;
}

/* Checkbox lists */
.sbp-checks { margin: 0; padding: 0; list-style: none; }
.sbp-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 38px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--sbp-text);
	cursor: pointer;
}
.sbp-check:hover .sbp-check__name { color: var(--sbp-ink); }
.sbp-check__box {
	flex: none;
	width: 18px; height: 18px;
	border: 1.5px solid #9aa5ae;
	border-radius: 4px;
	background: #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sbp-check__box .sbp-icon { width: 12px; height: 12px; stroke-width: 3; opacity: 0; }
.sbp-check__name { flex: 1; }
.sbp-check__count { font-size: 12px; color: var(--sbp-muted); }
.sbp-option__input:checked + .sbp-check .sbp-check__box { background: var(--sbp-blue); border-color: var(--sbp-blue); }
.sbp-option__input:checked + .sbp-check .sbp-check__box .sbp-icon { opacity: 1; }
.sbp-option__input:checked + .sbp-check .sbp-check__name { color: var(--sbp-ink); font-weight: 500; }

.sbp-option.is-disabled .sbp-tile,
.sbp-option.is-disabled .sbp-check { opacity: .45; cursor: not-allowed; }
.sbp-option.is-disabled .sbp-tile:hover { border-color: var(--sbp-line); box-shadow: none; }

.sbp-more {
	margin-top: 10px;
	padding: 10px 0;
	border: 0;
	background: none;
	color: var(--sbp-blue);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.sbp-more:hover { text-decoration: underline; }

.sbp-nojs-apply { margin: 16px 20px; width: calc(100% - 40px); }
.sbp-js .sbp-nojs-apply { display: none; }

/* Main column */
.sbp-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.sbp-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.sbp-count { margin: 0; font-size: 14px; color: var(--sbp-text); }
.sbp-count strong { color: var(--sbp-ink); }
.sbp-toolbar__controls { display: flex; flex-wrap: wrap; gap: 10px; }

.sbp-search {
	position: relative;
	display: flex;
	align-items: center;
}
.sbp-search .sbp-icon { position: absolute; left: 14px; color: var(--sbp-muted); pointer-events: none; }
.sbp-search input {
	width: 260px;
	height: 44px;
	margin: 0;
	padding: 0 14px 0 40px;
	border: 1px solid var(--sbp-line-strong);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--sbp-ink);
}
.sbp-search input:focus { border-color: var(--sbp-blue); outline: none; box-shadow: 0 0 0 3px rgba(1, 113, 189, .15); }

.sbp-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sbp-text); }
.sbp-sort select {
	height: 44px;
	margin: 0;
	padding: 0 36px 0 12px;
	border: 1px solid var(--sbp-line-strong);
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f2a33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	font-size: 14px;
	color: var(--sbp-ink);
	cursor: pointer;
}

.sbp-filter-toggle { display: none; }

/* Active filter chips */
.sbp-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sbp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--sbp-blue-line);
	background: var(--sbp-blue-tint);
	color: var(--sbp-blue-dark);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.sbp-chip .sbp-icon { width: 12px; height: 12px; stroke-width: 3; }
.sbp-chip:hover { border-color: var(--sbp-blue); color: var(--sbp-blue-dark); }

/* Product grid */
.sbp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sbp-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sbp-line);
	border-radius: var(--sbp-radius);
	overflow: hidden;
	transition: box-shadow .2s, border-color .2s;
}
.sbp-card:hover { border-color: var(--sbp-line-strong); box-shadow: 0 6px 20px rgba(31, 42, 51, .08); }
.sbp-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #fff;
	border-bottom: 1px solid var(--sbp-line);
}
.sbp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	display: block;
}
.sbp-card__badge {
	position: absolute;
	top: 12px; left: 12px;
	padding: 4px 8px;
	border-radius: 4px;
	background: var(--sbp-blue-tint);
	color: var(--sbp-blue-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.sbp-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 16px;
}
.sbp-card__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.sbp-card__title a { color: var(--sbp-ink); text-decoration: none; }
.sbp-card__title a:hover { color: var(--sbp-blue); }
.sbp-card__sku { margin: 0; font-size: 12.5px; color: var(--sbp-muted); }
.sbp-card__desc { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--sbp-text); flex: 1; }
.sbp-card__cta { margin-top: 12px; width: 100%; }

.sbp-empty {
	padding: 56px 24px;
	text-align: center;
	background: #fff;
	border: 1px dashed var(--sbp-line-strong);
	border-radius: var(--sbp-radius);
}
.sbp-empty__title { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: var(--sbp-ink); }

/* Pagination */
.sbp-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 16px;
}
.sbp-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid var(--sbp-line-strong);
	background: #fff;
	color: var(--sbp-ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
a.sbp-page:hover { border-color: var(--sbp-blue); color: var(--sbp-blue); }
.sbp-page.is-current { background: var(--sbp-blue); border-color: var(--sbp-blue); color: #fff; font-weight: 600; }
.sbp-page--gap { border: 0; background: none; min-width: 24px; padding: 0; color: var(--sbp-muted); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1199px) {
	.sbp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-hero__grid { gap: 40px; }
}

@media (max-width: 991px) {
	.sbp-container { padding: 0 20px; }

	/* Header: one column, media above the description, not sticky. */
	.sbp-hero { padding-bottom: 40px; }
	.sbp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sbp-hero__media-col { order: -1; }
	.sbp-hero__media { position: relative; top: auto; }

	/* Filters become a bottom sheet. */
	.sbp-filter-toggle { display: inline-flex; }
	.sbp-toolbar { gap: 10px; }
	.sbp-count { order: 3; width: 100%; }
	.sbp-toolbar__controls { flex: 1 1 100%; }
	.sbp-search { flex: 1 1 200px; }
	.sbp-search input { width: 100%; }

	.sbp-sidebar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 100001;
		width: auto;
		max-height: 88vh;
		display: flex;
		flex-direction: column;
		border-radius: 18px 18px 0 0;
		border: 0;
		transform: translateY(105%);
		visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
	}
	.sbp-sidebar.is-open {
		transform: none;
		visibility: visible;
		transition: transform .25s ease;
	}
	.sbp-sidebar__close { display: inline-flex; margin-right: -12px; }
	.sbp-sidebar__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
	.sbp-sidebar__foot {
		display: flex;
		gap: 10px;
		padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--sbp-line);
	}
	.sbp-sidebar__foot .sbp-btn--ghost { flex: 1; }
	.sbp-sidebar__foot .sbp-btn--primary { flex: 2; }

	.sbp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.sbp-overlay {
		position: fixed;
		inset: 0;
		z-index: 100000;
		background: rgba(31, 42, 51, .45);
	}
	body.sbp-sheet-open { overflow: hidden; }
}

@media (max-width: 599px) {
	.sbp-grid { gap: 12px; }
	.sbp-card__body { padding: 12px; }
	.sbp-card__title { font-size: 14px; }
	.sbp-card__desc { display: none; }
	.sbp-card__badge { top: 8px; left: 8px; }
	.sbp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-page--nav span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.sbp *, .sbp *::before { transition: none !important; }
}
