:root {
	--smc-ink: #17233c;
	--smc-muted: #59657a;
	--smc-accent: #1677ff;
	--smc-accent-dark: #075ecf;
	--smc-soft: #f4f7fb;
	--smc-border: #e1e7ef;
	--smc-card: #ffffff;
}

.smc-home,
.smc-home * {
	box-sizing: border-box;
}

.smc-home {
	color: var(--smc-ink);
	font-family: inherit;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	width: 100vw;
}

.smc-announcement {
	background: var(--smc-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 10px 24px;
	text-align: center;
	text-transform: uppercase;
}

.smc-hero,
.smc-benefits,
.smc-section {
	margin: 0 auto;
	max-width: 1240px;
	padding-inline: 32px;
}

.smc-hero {
	align-items: stretch;
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: 560px;
	padding-block: 54px;
}

.smc-hero__content {
	align-items: flex-start;
	background: #f4f7fb;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	padding: clamp(36px, 6vw, 76px);
}

.smc-kicker {
	color: var(--smc-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.smc-hero h1 {
	color: var(--smc-ink);
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.02;
	margin: 0;
	max-width: 760px;
}

.smc-hero__text {
	color: var(--smc-muted);
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.65;
	margin: 24px 0 0;
	max-width: 650px;
}

.smc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.smc-button {
	align-items: center;
	border: 2px solid var(--smc-ink);
	border-radius: 5px;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	min-height: 50px;
	padding: 12px 22px;
	text-decoration: none !important;
	transition: .2s ease;
}

.smc-button--primary {
	background: var(--smc-ink);
	color: #fff !important;
}

.smc-button--primary:hover {
	background: var(--smc-accent);
	border-color: var(--smc-accent);
}

.smc-button--secondary {
	background: transparent;
	color: var(--smc-ink) !important;
}

.smc-button--secondary:hover {
	background: #fff;
}

.smc-trust-line {
	align-items: center;
	color: var(--smc-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	font-weight: 700;
	gap: 9px;
	margin-top: 30px;
}

.smc-trust-line i {
	background: var(--smc-accent);
	border-radius: 50%;
	display: inline-block;
	height: 4px;
	width: 4px;
}

.smc-hero__media {
	background: #e9eef5;
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.smc-hero__media img {
	display: block;
	height: 100% !important;
	inset: 0;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center;
	position: absolute;
	width: 100% !important;
}

.smc-hero__placeholder {
	align-items: center;
	background:
		radial-gradient(circle at 75% 25%, rgba(22,119,255,.22), transparent 28%),
		linear-gradient(145deg, #ecf3ff 0%, #dae7f8 100%);
	display: flex;
	height: 100%;
	justify-content: center;
}

.smc-hero__placeholder span {
	color: rgba(23,35,60,.22);
	font-size: 96px;
}

.smc-benefits {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: 74px;
}

.smc-benefits article {
	align-items: flex-start;
	border: 1px solid var(--smc-border);
	display: flex;
	gap: 16px;
	margin-left: -1px;
	padding: 26px;
}

.smc-benefit-icon {
	align-items: center;
	background: var(--smc-soft);
	border-radius: 50%;
	color: var(--smc-accent);
	display: inline-flex;
	flex: 0 0 44px;
	font-size: 20px;
	font-weight: 800;
	height: 44px;
	justify-content: center;
}

.smc-benefits h2 {
	font-size: 17px;
	line-height: 1.25;
	margin: 0 0 7px;
}

.smc-benefits p {
	color: var(--smc-muted);
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}

.smc-section {
	padding-bottom: 82px;
}

.smc-section__heading {
	align-items: flex-end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.smc-section__heading h2 {
	color: var(--smc-ink);
	font-size: clamp(30px, 4vw, 46px);
	letter-spacing: -.03em;
	line-height: 1.08;
	margin: 0;
}

.smc-section__heading a {
	color: var(--smc-ink);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.smc-category-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.smc-category-card {
	background: var(--smc-card);
	border: 1px solid var(--smc-border);
	color: var(--smc-ink);
	overflow: hidden;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.smc-category-card:hover {
	box-shadow: 0 16px 36px rgba(23,35,60,.1);
	transform: translateY(-4px);
}

.smc-category-card__media {
	aspect-ratio: 1 / .78;
	background: var(--smc-soft);
	overflow: hidden;
}

.smc-category-card__media img {
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.smc-category-card:hover img {
	transform: scale(1.04);
}

.smc-category-card__media.is-placeholder {
	align-items: center;
	background: linear-gradient(145deg, #edf3fb, #dfeaf8);
	color: rgba(23,35,60,.2);
	display: flex;
	font-size: 58px;
	justify-content: center;
}

.smc-category-card__body {
	padding: 18px;
}

.smc-category-card__body h3 {
	font-size: 18px;
	margin: 0 0 7px;
}

.smc-category-card__body span {
	color: var(--smc-muted);
	font-size: 13px;
	font-weight: 700;
}

.smc-products ul.products {
	display: grid !important;
	gap: 24px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	margin: 0 !important;
}

.smc-products ul.products::before,
.smc-products ul.products::after {
	display: none !important;
}

.smc-products ul.products li.product {
	background: #fff;
	border: 1px solid var(--smc-border);
	display: flex !important;
	flex-direction: column;
	margin: 0 !important;
	padding: 14px 14px 18px !important;
	width: auto !important;
}

.smc-products ul.products li.product .woocommerce-loop-product__link {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.smc-products ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.smc-products ul.products li.product .woocommerce-loop-product__title {
	color: var(--smc-ink);
	font-size: 16px !important;
	line-height: 1.4;
}

.smc-products ul.products li.product .button {
	background: var(--smc-ink);
	border-radius: 4px;
	color: #fff;
	font-weight: 800;
	margin-top: auto !important;
	width: 100%;
}

.smc-admin-note {
	background: #fff8dd;
	border: 1px solid #efd77e;
	color: #604d05;
	margin: 0 auto 60px;
	max-width: 1176px;
	padding: 16px 20px;
}

body.single-product .site-main {
	padding-bottom: 64px;
	padding-top: 56px;
}

body.single-product div.product .woocommerce-product-gallery__wrapper {
	background: var(--smc-soft);
}

body.single-product div.product .woocommerce-product-gallery__image > a {
	align-items: center;
	display: flex;
	height: 520px;
	justify-content: center;
	overflow: hidden;
}

body.single-product div.product .woocommerce-product-gallery__image > a img {
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain;
	width: 100% !important;
}

body.single-product div.product .summary {
	background: #f8fafc;
	border: 1px solid var(--smc-border);
	padding: clamp(28px, 4vw, 48px);
}

body.single-product div.product .summary .product_title {
	color: var(--smc-ink);
	font-size: clamp(30px, 3vw, 42px);
	letter-spacing: -.03em;
	line-height: 1.12;
}

body.single-product div.product .summary .price {
	color: var(--smc-ink);
	font-size: 27px;
	font-weight: 800;
}

.smc-product-excerpt {
	color: var(--smc-muted);
	font-size: 15px;
	line-height: 1.7;
	margin: 18px 0 22px;
}

.smc-product-excerpt p {
	margin: 0;
}

.smc-product-assurance {
	border-bottom: 1px solid var(--smc-border);
	border-top: 1px solid var(--smc-border);
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 18px 0;
}

.smc-product-assurance span {
	color: var(--smc-muted);
	font-size: 13px;
	font-weight: 700;
}

body.single-product div.product form.cart .button {
	background: var(--smc-ink);
	min-height: 48px;
	padding-inline: 24px;
}

body.single-product div.product form.cart .button:hover {
	background: var(--smc-accent);
}

body.smc-footer-active #colophon.site-footer {
	display: none !important;
}

.smc-site-footer,
.smc-site-footer * {
	box-sizing: border-box;
}

.smc-site-footer {
	background: var(--smc-ink);
	color: #d8e0ed;
	margin-top: 72px;
	width: 100%;
}

.smc-footer__inner {
	display: grid;
	gap: 52px;
	grid-template-columns: 1.45fr 1fr .85fr 1.25fr;
	margin: 0 auto;
	max-width: 1240px;
	padding: 68px 32px 54px;
}

.smc-footer__column h2,
.smc-footer__logo {
	color: #fff;
}

.smc-footer__logo {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 18px;
}

.smc-footer__column h2 {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	margin: 0 0 19px;
	text-transform: uppercase;
}

.smc-footer__column p,
.smc-footer__column address {
	color: #aebacf;
	font-size: 14px;
	font-style: normal;
	line-height: 1.75;
	margin: 0 0 12px;
}

.smc-footer__column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smc-footer__column li {
	margin: 0 0 11px;
}

.smc-footer__column a {
	color: #d8e0ed;
	font-size: 14px;
	text-decoration: none;
}

.smc-footer__column a:hover {
	color: #fff;
}

.smc-footer__button {
	border: 1px solid rgba(255,255,255,.75);
	border-radius: 4px;
	display: inline-flex;
	font-weight: 800;
	margin-top: 10px;
	padding: 12px 18px;
}

.smc-footer__bottom {
	align-items: center;
	background: #050505;
	border-top: 1px solid rgba(255,255,255,.12);
	display: flex;
	font-size: 12px;
	gap: 24px;
	justify-content: space-between;
	margin: 0;
	max-width: none;
	padding: 22px max(32px, calc((100% - 1240px) / 2 + 32px));
	width: 100%;
}

.smc-footer__legal,
.smc-payment-badges {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.smc-secure-badge {
	align-items: center;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 4px;
	display: inline-flex;
	font-weight: 700;
	gap: 6px;
	padding: 5px 9px;
}

.smc-secure-badge span {
	color: #39d98a;
	font-size: 10px;
}

.smc-payment-image {
	display: block;
	height: auto;
	max-width: 276px;
	width: 100%;
}

/*
 * Keep the generated product navigation on one desktop row.
 *
 * Astra uses a three-part header builder and may allow its primary menu to
 * wrap when six generated category links are present. Give the middle area
 * the available width, keep every label intact, and compact only the desktop
 * spacing. Astra's mobile header remains authoritative below 922px.
 */
@media (min-width: 922px) {
	body.smc-footer-active #ast-desktop-header .ast-primary-header-bar,
	body.smc-footer-active #ast-desktop-header .main-header-bar {
		min-height: 112px !important;
		padding-bottom: 0 !important;
		padding-top: 0 !important;
	}

	body.smc-footer-active #ast-desktop-header .site-primary-header-wrap.ast-container {
		max-width: 1480px;
		min-height: 112px !important;
		padding-bottom: 8px;
		padding-left: clamp(18px, 2.4vw, 42px);
		padding-right: clamp(18px, 2.4vw, 42px);
		padding-top: 8px;
	}

	body.smc-footer-active #ast-desktop-header .ast-builder-grid-row {
		column-gap: clamp(12px, 1.5vw, 28px);
		grid-template-columns: auto minmax(0, 1fr) auto;
		min-height: 96px !important;
	}

	body.smc-footer-active #ast-desktop-header .site-branding,
	body.smc-footer-active #ast-desktop-header .ast-site-identity {
		padding-bottom: 0 !important;
		padding-top: 0 !important;
	}

	body.smc-footer-active #ast-desktop-header .custom-logo-link,
	body.smc-footer-active #ast-desktop-header .site-logo-img {
		align-items: center;
		display: flex;
	}

	body.smc-footer-active #ast-desktop-header img.custom-logo,
	body.smc-footer-active #ast-desktop-header .site-logo-img img {
		height: auto !important;
		max-height: 88px !important;
		max-width: 172px !important;
		object-fit: contain;
		width: auto !important;
	}

	body.smc-footer-active #ast-desktop-header .site-header-primary-section-center,
	body.smc-footer-active #ast-desktop-header .ast-builder-menu,
	body.smc-footer-active #ast-desktop-header .ast-main-header-bar-alignment,
	body.smc-footer-active #ast-desktop-header .main-header-bar-navigation,
	body.smc-footer-active #ast-desktop-header .main-navigation {
		max-width: none;
		min-width: 0;
		width: 100%;
	}

	body.smc-footer-active #ast-desktop-header .main-header-menu,
	body.smc-footer-active #ast-desktop-header .ast-nav-menu {
		align-items: center;
		display: flex;
		flex-wrap: nowrap !important;
		justify-content: center;
		white-space: nowrap;
		width: 100%;
	}

	body.smc-footer-active #ast-desktop-header .main-header-menu > .menu-item,
	body.smc-footer-active #ast-desktop-header .ast-nav-menu > .menu-item {
		flex: 0 0 auto;
	}

	body.smc-footer-active #ast-desktop-header .main-header-menu > .menu-item > .menu-link,
	body.smc-footer-active #ast-desktop-header .ast-nav-menu > .menu-item > .menu-link {
		font-size: clamp(13px, .78vw, 15px);
		padding-left: clamp(7px, .75vw, 14px);
		padding-right: clamp(7px, .75vw, 14px);
		white-space: nowrap;
	}
}

@media (max-width: 900px) {
	.smc-hero {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		padding-inline: 20px;
	}

	.smc-hero__content {
		min-height: 0;
	}

	.smc-hero__media {
		height: clamp(220px, 52vw, 420px);
		min-height: 0;
	}

	.smc-benefits {
		grid-template-columns: 1fr;
		padding-inline: 20px;
	}

	.smc-category-grid,
	.smc-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.smc-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.single-product .site-main {
		padding-top: 32px;
	}

	body.single-product div.product .woocommerce-product-gallery__image > a {
		height: min(88vw, 420px);
	}

	body.single-product div.product .summary {
		margin-top: 24px;
		padding: 26px 22px;
	}
}

@media (max-width: 560px) {
	body.woocommerce-cart .entry-content,
	body.woocommerce-checkout .entry-content {
		box-sizing: border-box;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		width: 100% !important;
	}

	body.woocommerce-cart .entry-content > .alignwide,
	body.woocommerce-checkout .entry-content > .alignwide,
	body.woocommerce-cart .wp-block-woocommerce-cart,
	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-cart .wc-block-cart,
	body.woocommerce-checkout .wc-block-checkout {
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.smc-hero__content {
		padding: 38px 24px 42px !important;
	}

	.smc-hero h1 {
		font-size: 38px !important;
		letter-spacing: -.02em !important;
		line-height: 1.18 !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	.smc-section {
		padding-inline: 20px;
	}

	.smc-section__heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.smc-section__heading h2 {
		font-size: 28px;
		overflow-wrap: anywhere;
	}

	.smc-category-grid,
	.smc-products ul.products {
		gap: 12px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.smc-category-card__body {
		padding: 14px 12px;
	}

	.smc-category-card__body h3 {
		font-size: 16px;
	}

	.smc-products ul.products li.product {
		padding: 8px 8px 12px !important;
	}

	.smc-products ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px !important;
		line-height: 1.35;
	}

	.smc-products ul.products li.product .button {
		font-size: 13px;
		min-height: 44px;
		padding: 10px 8px;
	}

	.smc-actions,
	.smc-button {
		width: 100%;
	}

	.smc-footer__inner {
		gap: 36px;
		grid-template-columns: 1fr;
		padding: 48px 24px 36px;
	}

	.smc-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		padding: 20px 24px;
	}

	.smc-payment-badges {
		gap: 8px;
	}
}
