/**
 * Storecraft Furniture — demo layout styles (header-3, homepage sections, footer-3).
 * Visual reference: https://demo.hudawp.com/storecraft-furniture/
 */

:root {
	--hbs-demo-container: 1600px;
	--hbs-demo-border: #e5e7eb;
	--hbs-demo-muted: #6b7280;
	--hbs-demo-primary: #1a1a2e;
	--hbs-demo-nl-bg: #1e2a3a;
	--hbs-demo-footer-bg: #e8eef3;
}

/* ============================= HEADER V3 ============================= */

/* Logo + search scroll away; only the menu bar stays pinned. */
#header.hbs-header.hbs-header-v3.hbs-header--solid,
#header.hbs-header.hbs-header-v3.hbs-header--transparent.is-scrolled {
	position: relative;
	top: auto;
	box-shadow: none;
}

.hbs-header-v3 {
	--hbs-h3-topbar-bg: #1a1a1a;
	background: #fff;
}

.hbs-h3-topbar {
	background: var(--hbs-h3-topbar-bg);
	color: #fff;
}

.hbs-h3-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	padding: 6px 0;
}

.hbs-h3-topbar__announcement {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
}

.hbs-h3-topbar__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
}

.hbs-h3-topbar__socials {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hbs-h3-topbar__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	opacity: 0.92;
}

.hbs-h3-topbar__socials a:hover,
.hbs-h3-topbar__socials a:focus {
	opacity: 1;
}

.hbs-h3-topbar__currency {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
}

.hbs-h3-main {
	background: #fff;
	border-bottom: 1px solid var(--hbs-demo-border);
}

.hbs-h3-main__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 78px;
	padding: 12px 0;
}

.hbs-h3-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.hbs-h3-mobile-toggle span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: #111;
}

.hbs-h3-brand {
	flex-shrink: 0;
}

.hbs-h3-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.hbs-h3-logo .hbs-logo-image img,
.hbs-h3-logo .hbs-logo-image .custom-logo {
	display: block;
	max-height: 40px;
	width: auto;
}

.hbs-h3-logo__title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
	line-height: 1;
}

.hbs-h3-search {
	flex: 0 1 480px;
	width: 480px;
	max-width: 480px;
	min-width: 220px;
	margin-left: auto;
}

.hbs-h3-search__form {
	display: flex;
	align-items: stretch;
	height: 46px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	margin: 0;
}

.hbs-h3-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0 16px;
	font-size: 14px;
	color: #111;
	margin: 0;
}

.hbs-h3-search__input::placeholder {
	color: var(--hbs-demo-muted);
}

.hbs-h3-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 0 22px;
	border: 0;
	background: var(--hbs-demo-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin: 0;
}

.hbs-h3-search__submit-text {
	display: inline;
}

.hbs-h3-promo-wrap {
	position: relative;
	flex-shrink: 0;
}

.hbs-h3-promo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 210px;
	padding: 10px 14px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	text-align: left;
}

.hbs-h3-promo__icon {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(229, 39, 39, 0.14);
	color: #e52727;
	font-size: 14px;
	flex-shrink: 0;
}

.hbs-h3-promo__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.2;
}

.hbs-h3-promo__text strong {
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

.hbs-h3-promo__text small {
	font-size: 12px;
	color: var(--hbs-demo-muted);
}

.hbs-h3-promo__caret {
	font-size: 10px;
	color: var(--hbs-demo-muted);
}

.hbs-h3-navbar {
	position: sticky;
	top: 0;
	z-index: 1100;
	background: #fff;
	border-bottom: 1px solid var(--hbs-demo-border);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.admin-bar .hbs-h3-navbar {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .hbs-h3-navbar {
		top: 46px;
	}
}

.hbs-h3-navbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 52px;
}

.hbs-h3-nav {
	flex: 1;
	min-width: 0;
}

.hbs-h3-nav .hbs-nav-menu {
	justify-content: flex-start;
	gap: 0 28px;
}

.hbs-h3-utilities {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.hbs-h3-utilities--mobile {
	display: none;
}

.hbs-h3-utility,
.hbs-h3-help__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.hbs-h3-utility i {
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
	width: 1.125em;
	text-align: center;
}

.hbs-h3-utility--cart {
	position: relative;
}

.hbs-h3-utility .hbs-h3-utility__count,
.hbs-h3-utility .hbs-badge.count {
	position: static;
	top: auto;
	right: auto;
	margin-left: 2px;
}

.hbs-h3-utility--cart .hbs-h3-utility__count,
.hbs-h3-utility--cart .hbs-badge.count {
	position: static;
	top: auto;
	right: auto;
	margin-left: 2px;
	transform: none;
}

.hbs-h3-utility__count {
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.hbs-h3-help {
	position: relative;
}

.hbs-h3-help__caret {
	font-size: 10px;
	color: var(--hbs-demo-muted);
}

.hbs-h3-help__dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	background: #fff;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 8px;
	box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
	padding: 6px 0;
	z-index: 80;
}

.hbs-h3-help__dropdown[hidden] {
	display: none !important;
}

.hbs-h3-help__dropdown a {
	display: block;
	padding: 9px 16px;
	font-size: 13px;
	color: #111;
	text-decoration: none;
}

.hbs-h3-help__dropdown a:hover,
.hbs-h3-help__dropdown a:focus {
	background: #f3f4f6;
}

@media (max-width: 1199px) {
	.hbs-h3-promo-wrap {
		display: none;
	}
}

@media (max-width: 991px) {
	.hbs-h3-mobile-toggle {
		display: inline-flex;
		position: relative;
		z-index: 10;
	}

	.hbs-h3-navbar {
		display: none;
	}

	.hbs-h3-main__inner {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: center;
		gap: 10px 8px;
		flex-wrap: nowrap;
		min-height: auto;
		padding: 10px 0;
	}

	.hbs-h3-mobile-toggle {
		grid-column: 1;
		grid-row: 1;
	}

	.hbs-h3-brand {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}

	.hbs-h3-utilities--mobile {
		display: flex;
		grid-column: 3;
		grid-row: 1;
		margin-left: 0;
		gap: 0;
		flex-wrap: nowrap;
	}

	.hbs-h3-search {
		order: unset;
		grid-column: 1 / -1;
		grid-row: 2;
		flex: none;
		width: 100%;
		min-width: 0;
	}

	.hbs-h3-navbar .hbs-h3-nav {
		display: none;
	}

	.hbs-h3-utilities--desktop {
		display: none;
	}

	.hbs-h3-utility,
	.hbs-h3-help__toggle {
		padding: 6px 8px;
		gap: 6px;
	}

	.hbs-h3-help__caret {
		display: none;
	}

	.hbs-h3-logo__title {
		font-size: 18px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.hbs-h3-utility span:not(.hbs-h3-utility__count):not(.screen-reader-text):not(.hbs-h3-utility__label),
	.hbs-h3-help__toggle span:not(.screen-reader-text) {
		display: none;
	}

	.hbs-h3-utility--cart .hbs-h3-utility__label {
		display: none;
	}

	.hbs-h3-utility--cart .hbs-h3-utility__count,
	.hbs-h3-utility--cart .hbs-badge.count {
		position: absolute;
		top: 2px;
		right: 2px;
		min-width: 16px;
		height: 16px;
		margin-left: 0;
		padding: 0 4px;
		font-size: 10px;
		line-height: 16px;
		transform: translate(35%, -35%);
	}

	.hbs-h3-topbar__socials {
		display: none;
	}

	#header .hbs-header-bar-inner {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr) auto;
	}
}

@media (max-width: 575px) {
	.hbs-h3-search__submit-text {
		display: none;
	}

	.hbs-h3-search__submit {
		padding: 0 16px;
	}
}

/* ============================= HERO SLIDER ============================= */

.hbs-hero-demo {
	padding: 16px 0 0;
	background: #fff;
}

.hbs-hero-demo__outer {
	max-width: var(--hbs-demo-container);
	margin: 0 auto;
	padding: 0 24px;
}

.hbs-hero-demo__viewport {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
}

.hbs-hero-demo .carousel-inner,
.hbs-hero-demo .carousel-item,
.hbs-hero-demo .hbs-slider-slide {
	height: min(78vh, 720px);
	min-height: 420px;
}

.hbs-hero-demo .hbs-slider-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
}

.hbs-hero-demo .hbs-slider-overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hbs-hero-demo .hbs-slider-content {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.hbs-hero-demo .hbs-slider-subheading {
	display: inline-block;
	margin: 0 0 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(4px);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbs-hero-demo .hbs-slider-title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 16px;
}

.hbs-hero-demo .hbs-slider-description {
	margin: 0 auto 24px;
	max-width: 640px;
	font-size: 16px;
	line-height: 1.6;
}

.hbs-hero-demo .hbs-slider-buttons {
	justify-content: center;
}

.hbs-hero-demo .sbtn1 {
	padding: 14px 28px;
	border-radius: 999px;
	border: 0;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.hbs-hero-demo .sbtn1--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #fff;
}

.hbs-hero-demo .sbtn1:hover,
.hbs-hero-demo .sbtn1:focus {
	background: #111;
	color: #fff;
	border-color: #111;
}

.hbs-hero-demo .carousel-indicators {
	bottom: 24px;
}

.hbs-hero-demo .hbs-slider-next-preview {
	display: none !important;
}

/* ============================= CATEGORIES CAROUSEL ============================= */

.hbs-cat-carousel-section {
	padding: 28px 0 36px;
	background: #fff;
}

.hbs-cat-carousel__wrap {
	position: relative;
}

.hbs-cat-carousel__arrow {
	position: absolute;
	top: 38%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 15px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 50%;
	background: #fff;
	color: #111;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hbs-cat-carousel__arrow i,
.hbs-featured-slider__arrow i,
.hbs-blog-carousel__arrow i {
	font-size: 14px;
	line-height: 1;
}

.hbs-cat-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.hbs-cat-carousel__arrow--prev {
	left: -8px;
}

.hbs-cat-carousel__arrow--next {
	right: -8px;
}

.hbs-cat-carousel__viewport {
	overflow: hidden;
}

.hbs-cat-carousel__track {
	display: flex;
	gap: 16px;
	transition: transform 0.35s ease;
	will-change: transform;
}

.hbs-cat-carousel__card {
	flex: 0 0 calc((100% - 7 * 16px) / 8);
	min-width: 110px;
	text-decoration: none;
	color: #111;
}

.hbs-cat-carousel__media {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 1 / 1;
	background: #f3f4f6;
}

.hbs-cat-carousel__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.hbs-cat-carousel__card:hover .hbs-cat-carousel__media img,
.hbs-cat-carousel__card:focus .hbs-cat-carousel__media img {
	transform: scale(1.04);
}

.hbs-cat-carousel__name {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

@media (max-width: 1199px) {
	.hbs-cat-carousel__card {
		flex: 0 0 calc((100% - 5 * 16px) / 6);
	}
}

@media (max-width: 767px) {
	.hbs-cat-carousel__card {
		flex: 0 0 calc((100% - 3 * 16px) / 4);
	}
}

@media (max-width: 575px) {
	.hbs-cat-carousel__card {
		flex: 0 0 calc((100% - 2 * 16px) / 3);
	}
}

/* ============================= FEATURED PRODUCTS ============================= */

.hbs-featured-section {
	padding: 48px 0;
	background: #fff;
}

.hbs-featured-section__heading {
	margin: 0 0 24px;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #111;
}

.hbs-featured-section__layout {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 24px;
	align-items: stretch;
}

.hbs-featured-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	background: #111;
	color: #fff;
	min-height: 100%;
}

.hbs-featured-promo__media {
	position: absolute;
	inset: 0;
}

.hbs-featured-promo__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.hbs-featured-promo__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	padding: 24px;
}

.hbs-featured-promo__kicker {
	margin: 0 0 8px;
	font-size: 13px;
	color: #ffffff;
}

.hbs-featured-promo__title {
	margin: 0 0 16px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #ffffff;
}

.hbs-featured-promo__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 10px 18px;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.hbs-featured-slider {
	position: relative;
}

.hbs-featured-slider__arrow {
	position: absolute;
	top: 38%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 15px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 50%;
	background: #fff;
	color: #111;
	cursor: pointer;
}

.hbs-featured-slider__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.hbs-featured-slider__arrow--prev {
	left: -8px;
}

.hbs-featured-slider__arrow--next {
	right: -8px;
}

.hbs-featured-slider__viewport {
	overflow: hidden;
}

.hbs-featured-slider__track {
	display: flex;
	gap: 20px;
	transition: transform 0.35s ease;
}

.hbs-featured-card {
	flex: 0 0 calc((100% - 40px) / 3);
	min-width: 0;
}

.hbs-featured-card__media {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #f3f4f6;
	aspect-ratio: 1 / 1;
}

.hbs-featured-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hbs-featured-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.hbs-featured-card__badge--sale {
	background: #e52727;
}

.hbs-featured-card__actions {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	gap: 8px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hbs-featured-card:hover .hbs-featured-card__actions,
.hbs-featured-card:focus-within .hbs-featured-card__actions {
	opacity: 1;
	transform: translateY(0);
}

.hbs-featured-card__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	color: #111;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hbs-featured-card__brand {
	margin: 14px 0 4px;
	font-size: 12px;
	color: var(--hbs-demo-muted);
}

.hbs-featured-card__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.hbs-featured-card__title a {
	color: #111;
	text-decoration: none;
}

.hbs-featured-card__price {
	font-size: 15px;
	font-weight: 600;
	color: #111;
}

.hbs-featured-card__price del {
	color: #888;
	font-weight: 400;
	margin-right: 6px;
}

.hbs-featured-card__price ins {
	text-decoration: none;
	color: #e52727;
}

@media (max-width: 991px) {
	.hbs-featured-section {
		padding: 32px 0;
		overflow: hidden;
	}

	.hbs-featured-section .container-fluid {
		padding-left: 16px;
		padding-right: 16px;
		max-width: 100%;
		overflow: hidden;
	}

	.hbs-featured-section__heading {
		margin-bottom: 16px;
		font-size: 1.5rem;
	}

	.hbs-featured-section__layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hbs-featured-promo {
		min-height: 200px;
		max-width: 100%;
	}

	.hbs-featured-slider {
		padding: 0 4px;
		max-width: 100%;
	}

	.hbs-featured-slider__arrow--prev {
		left: 0;
	}

	.hbs-featured-slider__arrow--next {
		right: 0;
	}

	.hbs-featured-card {
		flex: 0 0 calc((100% - 40px) / 2);
	}
}

@media (max-width: 767px) {
	.hbs-featured-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}
}

@media (max-width: 575px) {
	.hbs-featured-card {
		flex: 0 0 82%;
	}
}

/* ============================= BANNER / LIVING ============================= */

.hbs-living-banner {
	padding: 56px 0;
	background: #fff;
}

.hbs-living-banner__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.hbs-living-banner__media {
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 4 / 3;
	background: #f3f4f6;
}

.hbs-living-banner__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hbs-living-banner__eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hbs-demo-muted);
}

.hbs-living-banner__heading {
	margin: 0 0 16px;
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	color: #111;
}

.hbs-living-banner__text {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.65;
	color: #555;
}

.hbs-living-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hbs-living-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hbs-living-banner__btn--primary {
	background: #111;
	color: #fff;
	border: 1px solid #111;
}

.hbs-living-banner__btn--secondary {
	background: #fff;
	color: #111;
	border: 1px solid #111;
}

.hbs-living-banner__btn--primary:hover,
.hbs-living-banner__btn--primary:focus {
	background: #000;
	color: #fff;
}

.hbs-living-banner__btn--secondary:hover,
.hbs-living-banner__btn--secondary:focus {
	background: #111;
	color: #fff;
}

@media (max-width: 991px) {
	.hbs-living-banner__layout {
		grid-template-columns: 1fr;
	}
}

/* ============================= BLOG ============================= */

.hbs-blog-demo {
	padding: 56px 0;
	background: #fff;
}

.hbs-blog-demo__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.hbs-blog-demo__heading {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
}

.hbs-blog-demo__view-all {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hbs-blog-carousel {
	position: relative;
}

.hbs-blog-carousel__arrow {
	position: absolute;
	top: 38%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 15px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 50%;
	background: #fff;
	color: #111;
	cursor: pointer;
}

.hbs-blog-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.hbs-blog-carousel__arrow--prev {
	left: -12px;
}

.hbs-blog-carousel__arrow--next {
	right: -12px;
}

.hbs-blog-carousel__viewport {
	overflow: hidden;
}

.hbs-blog-carousel__track {
	display: flex;
	gap: 24px;
	transition: transform 0.35s ease;
}

.hbs-blog-demo__card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - 72px) / 4);
	min-width: 0;
}

.hbs-blog-demo__media {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 4 / 5;
	background: #f3f4f6;
	margin-bottom: 14px;
}

.hbs-blog-demo__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.hbs-blog-demo__card:hover .hbs-blog-demo__media img {
	transform: scale(1.03);
}

.hbs-blog-demo__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--hbs-demo-muted);
}

.hbs-blog-demo__category {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #111;
	font-size: 12px;
	font-weight: 600;
}

.hbs-blog-demo__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hbs-blog-demo__title {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
}

.hbs-blog-demo__title a {
	color: #111;
	text-decoration: none;
}

.hbs-blog-demo__btn {
	display: inline-flex;
	align-self: flex-start;
	padding: 10px 18px;
	border: 1px solid #111;
	border-radius: 999px;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.hbs-blog-demo__btn:hover,
.hbs-blog-demo__btn:focus {
	background: #111;
	color: #fff;
}

@media (max-width: 1199px) {
	.hbs-blog-demo__card {
		flex: 0 0 calc((100% - 48px) / 3);
	}
}

@media (max-width: 991px) {
	.hbs-blog-demo__card {
		flex: 0 0 calc((100% - 24px) / 2);
	}

	.hbs-blog-carousel__arrow--prev {
		left: 0;
	}

	.hbs-blog-carousel__arrow--next {
		right: 0;
	}
}

@media (max-width: 575px) {
	.hbs-blog-demo__card {
		flex: 0 0 100%;
	}
}

/* ============================= FEATURES / USPS BAR ============================= */

.hbs-usps-bar {
	padding: 40px 0 48px;
	background: #fff;
	border-top: 1px solid var(--hbs-demo-border);
}

.hbs-usps-bar__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}

.hbs-usps-bar__item {
	text-align: left;
}

.hbs-usps-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #111;
}

.hbs-usps-bar__title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #111;
}

.hbs-usps-bar__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--hbs-demo-muted);
}

@media (max-width: 991px) {
	.hbs-usps-bar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.hbs-usps-bar__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================= FOOTER V3 ============================= */

.hbs-footer-v3 {
	font-family: inherit;
}

.hbs-footer-v3__newsletter {
	background: var(--hbs-demo-nl-bg);
	padding: 44px 0;
	color: #fff;
}

.hbs-footer-v3__newsletter-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.hbs-footer-v3__newsletter-copy {
	flex: 1 1 420px;
	max-width: 620px;
}

.hbs-footer-v3__newsletter-kicker {
	margin: 0 0 10px;
	font-size: 14px;
}

.hbs-footer-v3__newsletter-title {
	margin: 0;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.25;
}

.hbs-footer-v3__newsletter-form-wrap {
	flex: 1 1 360px;
	max-width: 520px;
}

.hbs-footer-v3__newsletter-form {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	overflow: hidden;
	padding: 4px 4px 4px 18px;
	margin: 0;
	min-height: 52px;
}

.hbs-footer-v3__newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 12px 12px 12px 4px;
	font-size: 15px;
	line-height: 1.4;
	color: #111;
	margin: 0;
	box-shadow: none;
	outline: none;
}

.hbs-footer-v3__newsletter-form input[type="email"]:focus {
	outline: none;
	box-shadow: none;
}

.hbs-footer-v3__newsletter-form button {
	flex-shrink: 0;
	border: 0;
	cursor: pointer;
	padding: 12px 22px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--hbs-demo-nl-bg);
	margin: 0;
	border-radius: 999px;
}

.hbs-footer-v3__newsletter-consent {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #cbd5e1;
}

.hbs-footer-v3__consent-link {
	color: #fff;
	text-decoration: underline;
}

.hbs-footer-v3__main {
	background: var(--hbs-demo-footer-bg);
	padding: 48px 0 40px;
}

.hbs-footer-v3__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 28px;
	align-items: start;
}

.hbs-footer-v3__grid--with-company {
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
}

.hbs-footer-company-item {
	margin: 0 0 14px;
}

.hbs-footer-company-label {
	display: block;
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hbs-demo-muted);
}

.hbs-footer-company-value {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #374151;
}

.hbs-footer-company-value a,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-company-value a {
	color: #374151;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hbs-footer-v3__contact-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

.hbs-footer-v3__contact-line i {
	margin-top: 3px;
	color: var(--hbs-demo-muted);
}

.hbs-footer-v3__social-title,
.hbs-footer-v3__widget-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.hbs-footer-v3__socials {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.hbs-footer-v3__socials a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #374151;
	text-decoration: none;
}

.hbs-footer-v3__socials a:hover,
.hbs-footer-v3__socials a:focus {
	background: var(--hbs-demo-nl-bg);
	color: #fff;
}

.hbs-footer-v3__currency-pill {
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	min-height: 36px;
	border-radius: 999px;
	background: var(--hbs-demo-nl-bg);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.hbs-footer-v3__menu,
.hbs-footer-v3__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbs-footer-v3__menu li {
	margin: 0 0 10px;
}

.hbs-footer-v3__menu a {
	color: #374151;
	text-decoration: none;
	font-size: 14px;
}

.hbs-footer-v3__menu a:hover,
.hbs-footer-v3__menu a:focus {
	color: #111827;
}

.hbs-footer-v3__office-address,
.hbs-footer-v3__office-line {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	color: #374151;
}

.hbs-footer-v3__bottom {
	background: #f3f6f8;
	padding: 18px 0;
}

.hbs-footer-v3__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.hbs-footer-v3__policies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.hbs-footer-v3__policies a {
	color: var(--hbs-demo-muted);
	font-size: 13px;
	text-decoration: none;
}

.hbs-footer-v3__policies a:hover,
.hbs-footer-v3__policies a:focus {
	color: #111;
}

.hbs-footer-v3__copyright {
	margin: 0;
	font-size: 13px;
	color: var(--hbs-demo-muted);
}

.hbs-footer-v3__payments {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbs-footer-v3__payments .hbs-pay-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.12);
}

.hbs-footer-v3__payments img,
.hbs-footer-v3__payments .hbs-pay-badge img {
	display: block;
	height: 26px;
	width: auto;
	max-height: 26px;
}

@media (max-width: 1199px) {
	.hbs-footer-v3__grid,
	.hbs-footer-v3__grid--with-company {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbs-footer-v3__company-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.hbs-footer-v3__grid {
		grid-template-columns: 1fr;
	}

	.hbs-footer-v3__newsletter-inner {
		flex-direction: column;
	}
}

/* ============================= LEGACY style.css OVERRIDES ============================= */
/* style.css has older #slider / #colophon rules that conflict with demo layout. */

#slider.hbs-hero-demo.hbs-slider-section {
	background: #fff;
	overflow: visible;
}

#slider.hbs-hero-demo .hbs-hero-carousel,
#slider.hbs-hero-demo .carousel-inner,
#slider.hbs-hero-demo .carousel-item {
	height: min(78vh, 720px);
	min-height: 420px;
}

#slider.hbs-hero-demo .carousel-item {
	display: none;
	align-items: stretch;
}

#slider.hbs-hero-demo .carousel-item.active {
	display: flex;
}

#slider.hbs-hero-demo .hbs-slider-slide {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 0;
	align-items: center;
	justify-content: center;
}

#slider.hbs-hero-demo .hbs-slider-overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

#slider.hbs-hero-demo .content.hbs-slider-content {
	text-align: center;
	max-width: 820px;
	margin: 0 auto;
}

#slider.hbs-hero-demo .hbs-slider-description,
#slider.hbs-hero-demo .content p.hbs-slider-description {
	margin-left: auto;
	margin-right: auto;
}

#slider.hbs-hero-demo .hbs-slider-buttons.read-btn {
	justify-content: center;
}

#slider.hbs-hero-demo .sbtn1 {
	padding: 14px 28px;
	border-radius: 999px;
	border: 0;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

#slider.hbs-hero-demo .sbtn1--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #fff;
}

#slider.hbs-hero-demo .sbtn1:hover,
#slider.hbs-hero-demo .sbtn1:focus {
	background: #111;
	color: #fff;
	border-color: #111;
}

#slider.hbs-hero-demo .sbtn1--ghost:hover,
#slider.hbs-hero-demo .sbtn1--ghost:focus {
	background: #fff;
	color: #111;
	border-color: #fff;
}

#colophon.hbs-footer.hbs-footer-v3 {
	background: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	padding: 0;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter.hbs-footer-newsletter {
	padding: 44px 0;
	text-align: left;
	border-bottom: 0;
	border-top: 0;
	border-left: 0;
	padding-left: 0;
	padding-top: 44px;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-title.hbs-footer-newsletter-title {
	margin: 0;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form.hbs-footer-newsletter-form {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: none;
	width: 100%;
	border-bottom: 0;
	background: #fff;
	border-radius: 999px;
	overflow: hidden;
	padding: 4px 4px 4px 18px;
	min-height: 52px;
	gap: 0;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form input[type="email"] {
	padding: 12px 12px 12px 4px;
	color: #111;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form input[type="email"]::placeholder {
	color: #9ca3af;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form button {
	padding: 12px 22px;
	min-height: 44px;
	color: #fff;
	background: var(--hbs-demo-nl-bg);
	border-radius: 999px;
	letter-spacing: normal;
	text-transform: none;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__main.hbs-footer-main {
	padding: 48px 0 40px;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__menu a,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-menu a {
	color: #374151;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__menu a:hover,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__menu a:focus,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-menu a:hover,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-menu a:focus {
	color: #111827;
	opacity: 1;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__heading,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-heading,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__widget-title,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__social-title {
	color: #111827;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__contact-line,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__office-address,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__office-line {
	color: #374151;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__office-line a {
	color: #374151;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__consent-link {
	color: #fff;
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__policies a {
	color: var(--hbs-demo-muted);
}

#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__copyright {
	color: var(--hbs-demo-muted);
}

#colophon.hbs-footer.hbs-footer-v3 a:not(.hbs-footer-v3__consent-link):hover,
#colophon.hbs-footer.hbs-footer-v3 a:not(.hbs-footer-v3__consent-link):focus {
	opacity: 1;
}

@media screen and (max-width: 991px) {
	#slider.hbs-hero-demo .carousel-item,
	#slider.hbs-hero-demo .hbs-hero-carousel,
	#slider.hbs-hero-demo .carousel-inner {
		min-height: 420px;
		height: min(70vh, 620px);
	}

	#slider.hbs-hero-demo .hbs-slider-slide {
		min-height: 100%;
		padding: 0;
	}

	#slider.hbs-hero-demo .content.hbs-slider-content {
		text-align: center;
	}

	#slider.hbs-hero-demo .hbs-slider-buttons.read-btn {
		justify-content: center;
	}
}

/* ============================= MOBILE & TABLET RESPONSIVE ============================= */

html,
body {
	overflow-x: clip;
}

#skip-content {
	overflow-x: clip;
}

@media (max-width: 991px) {
	.hbs-cat-carousel-section .container-fluid {
		padding-left: 16px;
		padding-right: 16px;
		overflow: hidden;
	}

	.hbs-cat-carousel__arrow--prev {
		left: 4px;
	}

	.hbs-cat-carousel__arrow--next {
		right: 4px;
	}

	.hbs-living-banner {
		padding: 40px 0;
	}

	.hbs-living-banner .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hbs-living-banner__layout {
		gap: 24px;
	}

	.hbs-living-banner__heading {
		font-size: clamp(1.5rem, 5vw, 2rem);
	}

	.hbs-living-banner__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hbs-living-banner__btn {
		width: 100%;
	}

	.hbs-blog-demo {
		padding: 40px 0;
		overflow: hidden;
	}

	.hbs-blog-demo .container {
		padding-left: 16px;
		padding-right: 16px;
		overflow: hidden;
	}

	.hbs-footer-v3__newsletter .container,
	.hbs-footer-v3__main .container {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 767px) {
	.hbs-hero-demo {
		padding: 8px 0 0;
	}

	.hbs-hero-demo__outer {
		padding: 0 12px;
	}

	.hbs-hero-demo__viewport {
		border-radius: 14px;
	}

	.hbs-hero-demo .carousel-inner,
	.hbs-hero-demo .carousel-item,
	.hbs-hero-demo .hbs-slider-slide,
	#slider.hbs-hero-demo .carousel-item,
	#slider.hbs-hero-demo .hbs-hero-carousel,
	#slider.hbs-hero-demo .carousel-inner {
		min-height: 340px;
		height: min(58vh, 480px);
	}

	.hbs-hero-demo .hbs-slider-title {
		font-size: clamp(1.45rem, 7vw, 1.85rem);
		margin-bottom: 12px;
	}

	.hbs-hero-demo .hbs-slider-description,
	#slider.hbs-hero-demo .hbs-slider-description {
		font-size: 14px;
		margin-bottom: 18px;
		-webkit-line-clamp: 3;
	}

	.hbs-hero-demo .sbtn1,
	#slider.hbs-hero-demo .sbtn1 {
		padding: 12px 22px;
		font-size: 13px;
	}

	.hbs-hero-demo .hbs-slider-content {
		padding: 0 16px;
	}

	.hbs-cat-carousel-section {
		padding: 20px 0 28px;
	}

	.hbs-cat-carousel__card {
		flex: 0 0 calc((100% - 2 * 16px) / 3);
		min-width: 90px;
	}

	.hbs-featured-card__title {
		font-size: 14px;
	}

	.hbs-featured-card__price {
		font-size: 14px;
	}

	.hbs-blog-demo__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 20px;
	}

	.hbs-blog-demo__heading {
		font-size: 1.5rem;
	}

	.hbs-usps-bar {
		padding: 32px 0 36px;
	}

	.hbs-usps-bar .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hbs-footer-v3__newsletter-title {
		font-size: 1.35rem;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-inner {
		flex-direction: column;
		gap: 20px;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-copy,
	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form-wrap {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form,
	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form.hbs-footer-newsletter-form {
		flex-direction: column;
		align-items: stretch;
		border-radius: 12px;
		padding: 12px;
		gap: 8px;
		background: #fff;
		border-bottom: 0;
		max-width: none;
		width: 100%;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form input[type="email"] {
		padding: 10px 12px;
		border: 1px solid var(--hbs-demo-border);
		border-radius: 8px;
		border-bottom: 1px solid var(--hbs-demo-border);
		color: #111;
		background: #fff;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form input[type="email"]::placeholder {
		color: #9ca3af;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-v3__newsletter-form button {
		width: 100%;
		border-radius: 8px;
		background: var(--hbs-demo-nl-bg);
		color: #fff;
		padding: 12px 16px;
		text-align: center;
		letter-spacing: normal;
		text-transform: none;
	}
}

@media (max-width: 575px) {
	.hbs-h3-topbar__inner {
		gap: 4px;
		min-height: auto;
		padding: 8px 12px;
		text-align: center;
	}

	.hbs-h3-topbar__announcement {
		font-size: 11px;
		line-height: 1.35;
	}

	.hbs-h3-topbar__meta {
		margin-left: 0;
	}

	.hbs-header-v3 .container {
		width: 100%;
		max-width: 100%;
		padding-left: 12px;
		padding-right: 12px;
	}

	.hbs-h3-search__form {
		height: 42px;
	}

	.hbs-h3-search__input {
		font-size: 13px;
		padding: 0 12px;
	}

	.hbs-h3-utility i {
		font-size: 16px;
	}

	.hbs-cat-carousel__card {
		flex: 0 0 calc((100% - 16px) / 2);
	}

	.hbs-cat-carousel__arrow,
	.hbs-featured-slider__arrow,
	.hbs-blog-carousel__arrow {
		width: 34px;
		height: 34px;
	}

	.hbs-featured-section__heading,
	.hbs-blog-demo__heading {
		font-size: 1.35rem;
	}

	.hbs-living-banner__text {
		font-size: 15px;
	}

	.hbs-footer-v3__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.hbs-footer-v3__policies {
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-newsletter-form {
		flex-direction: column;
		border-bottom: 0;
		align-items: stretch;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-newsletter-form input[type="email"] {
		border-bottom: 1px solid var(--hbs-demo-border);
		color: #111;
		text-align: left;
	}

	#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-newsletter-form button {
		padding: 12px 16px;
		text-align: center;
		color: #fff;
		background: var(--hbs-demo-nl-bg);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.hbs-featured-section__layout {
		grid-template-columns: 240px 1fr;
		gap: 16px;
	}

	.hbs-featured-promo {
		min-height: 100%;
	}

	.hbs-featured-card {
		flex: 0 0 calc((100% - 40px) / 2);
	}

	.hbs-blog-demo__card {
		flex: 0 0 calc((100% - 48px) / 2);
	}

	.hbs-usps-bar__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Policy / legal pages: keep embedded docs inside the article, not the chrome. */
body.storecraft-furniture-policy #inner-pages-header {
	display: none !important;
}
body.storecraft-furniture-policy #header a,
body.storecraft-furniture-policy .hbs-header a,
body.storecraft-furniture-policy #colophon a {
	font-weight: inherit;
}

body.storecraft-furniture-policy .entry-header:not(:has(.edit-link)) {
	display: none;
}

body.storecraft-furniture-policy .entry-header {
	margin: 0;
	padding: 8px 0 0;
}

body.storecraft-furniture-policy .site-main > article {
	padding-bottom: 0;
	margin-bottom: 0;
}

body.storecraft-furniture-policy .entry-content {
	max-width: 1120px;
	margin: 0 auto;
}

body.storecraft-furniture-policy .entry-content > .page,
body.storecraft-furniture-policy .entry-content .page {
	padding: 12px 0 40px;
	max-width: none;
}

body.storecraft-furniture-policy .entry-content .hero {
	margin-top: 8px;
}

@media (max-width: 767px) {
	body.storecraft-furniture-policy .entry-content > .page,
	body.storecraft-furniture-policy .entry-content .page {
		padding: 8px 0 28px;
	}
}

.scf-contact__hero {
	position: relative;
	margin: 8px 0 24px;
	padding: 28px 32px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 26px;
	background: linear-gradient(135deg, #f7f8fb, #fff 58%, #f7f8fb);
	box-shadow: 0 18px 45px rgba(24, 28, 64, 0.07);
}

.scf-contact__hero .eyebrow {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 7px 13px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 999px;
	background: #f7f8fb;
	color: var(--hbs-demo-nl-bg, #0b1f3a);
	font-size: 0.82rem;
	font-weight: 800;
}

.scf-contact__hero h1 {
	margin: 0 0 12px;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.scf-contact__hero p {
	margin: 0;
	max-width: 720px;
	color: var(--hbs-demo-muted);
}

.scf-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 18px;
	margin-bottom: 24px;
}

.scf-contact__card {
	padding: 24px 26px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(20, 24, 45, 0.06);
}

.scf-contact__card--form {
	border-top: 4px solid var(--hbs-demo-nl-bg, #0b1f3a);
}

.scf-contact__card h2 {
	margin: 0 0 16px;
	font-size: 1.2rem;
}

.scf-contact__card p {
	margin: 0 0 14px;
	color: var(--hbs-demo-muted);
}

.scf-contact__card a {
	color: var(--hbs-demo-nl-bg, #0b1f3a);
	font-weight: 700;
}

.scf-contact__card form input[type="text"],
.scf-contact__card form input[type="email"],
.scf-contact__card form input[type="tel"],
.scf-contact__card form textarea {
	width: 100%;
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid var(--hbs-demo-border);
	border-radius: 10px;
	background: #fff;
}

.scf-contact__card form input[type="submit"],
.scf-contact__card form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--hbs-demo-nl-bg, #0b1f3a);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 767px) {
	.scf-contact__grid {
		grid-template-columns: 1fr;
	}
}

/* Shop / category: full-width 5-up grid, no sidebar. */
.hbs-shop-archive .hbs-shop-sidebar-col,
body.woocommerce-shop .hbs-shop-sidebar-col,
body.tax-product_cat .hbs-shop-sidebar-col {
	display: none;
}

.hbs-shop-archive ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 28px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.hbs-shop-archive ul.products::before,
.hbs-shop-archive ul.products::after {
	display: none !important;
	content: none !important;
}

.hbs-shop-archive ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	overflow: hidden;
}

.hbs-shop-archive ul.products li.product:hover {
	box-shadow: none;
}

.hbs-shop-archive ul.products li.product img {
	width: 100%;
	border-radius: 0;
	background: #f4f5f8;
}

.hbs-shop-archive ul.products li.product .woocommerce-loop-product__title {
	padding: 12px 0 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.35;
	color: #171827 !important;
}

.hbs-shop-archive ul.products li.product .price {
	padding: 4px 0 0;
	font-size: 14px !important;
	color: #0b1f3a !important;
}

.hbs-shop-archive ul.products li.product .button {
	display: none !important;
}

@media (max-width: 1199px) {
	.hbs-shop-archive ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 22px;
	}
}

@media (max-width: 991px) {
	.hbs-shop-archive ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}
}

@media (max-width: 575px) {
	.hbs-shop-archive ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.hbs-shop-archive {
	padding-bottom: 0;
}

.hbs-shop-archive .woocommerce-pagination {
	display: flex;
	justify-content: center;
	margin: 56px 0 72px;
	padding: 0;
	clear: both;
}

.hbs-shop-archive .woocommerce-pagination ul.page-numbers {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
	height: auto;
	background: transparent;
	border: 0;
	float: none;
}

.hbs-shop-archive .woocommerce-pagination ul.page-numbers li {
	display: block;
	margin: 0;
	padding: 0;
	float: none;
	border: 0;
	background: transparent;
	list-style: none;
}

.hbs-shop-archive .woocommerce-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	margin: 0;
	float: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #171827;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e7e9f0;
	border-radius: 0;
}

.hbs-shop-archive .woocommerce-pagination a.page-numbers:hover,
.hbs-shop-archive .woocommerce-pagination a.page-numbers:focus {
	color: #fff;
	background: #0b1f3a;
	border-color: #0b1f3a;
}

.hbs-shop-archive .woocommerce-pagination .page-numbers.current {
	color: #fff;
	background: #0b1f3a;
	border-color: #0b1f3a;
	cursor: default;
}

.hbs-shop-archive .woocommerce-pagination .prev.page-numbers,
.hbs-shop-archive .woocommerce-pagination .next.page-numbers {
	float: none;
	color: #171827;
	background: #fff;
	border-color: #e7e9f0;
}

.hbs-shop-archive .woocommerce-pagination a.prev.page-numbers:hover,
.hbs-shop-archive .woocommerce-pagination a.next.page-numbers:hover {
	color: #fff;
	background: #0b1f3a;
	border-color: #0b1f3a;
}
