/* Homepage layout */
.simtech-main--home {
	padding-block: 0;
}

.simtech-home__content {
	padding-bottom: 2rem;
}

.simtech-home-section {
	padding-block: 2.5rem;
}

.simtech-home-section--compact {
	padding-block: 1rem;
}

.simtech-home-section--border {
	border-top: 1px solid var(--simtech-border);
}

.simtech-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.5rem;
}

.simtech-section-head h2 {
	margin: 0;
	font-family: var(--simtech-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--simtech-dark);
}

.simtech-section-head p {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: var(--simtech-muted);
}

.simtech-section-link {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--simtech-blue);
	white-space: nowrap;
}

.simtech-section-link:hover {
	text-decoration: underline;
}

.simtech-section-link--sale {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--simtech-red);
}

.simtech-pulse-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--simtech-red);
	animation: simtech-pulse 1.5s infinite;
}

@keyframes simtech-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* Hero */
.simtech-hero {
	position: relative;
	overflow: hidden;
	min-height: 20rem;
	background: var(--simtech-dark);
}

.simtech-hero__slide {
	display: none;
	background: var(--hero-bg, var(--simtech-dark));
	min-height: 20rem;
}

.simtech-hero__slide.is-active {
	display: block;
}

.simtech-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2rem;
	padding-block: 3rem 3.5rem;
	min-height: 20rem;
	text-align: left;
}

.simtech-hero__content {
	flex: 1;
	color: #fff;
}

.simtech-hero__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
	border: 1px solid rgb(255 255 255 / 20%);
}

.simtech-hero__tag.is-blue {
	background: rgb(26 82 204 / 20%);
	color: #60a5fa;
	border-color: rgb(26 82 204 / 33%);
}

.simtech-hero__tag.is-red {
	background: rgb(204 31 31 / 20%);
	color: #fc8181;
	border-color: rgb(204 31 31 / 33%);
}

.simtech-hero__tag-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 999px;
	background: currentColor;
	animation: simtech-pulse 1.5s infinite;
}

.simtech-hero__title {
	margin: 0 0 1rem;
	font-family: var(--simtech-display);
	font-size: clamp(1.875rem, 6vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
}

.simtech-hero__subtitle {
	margin: 0 0 2rem;
	max-width: 32rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #cbd5e1;
}

.simtech-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.simtech-hero__btn {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	transition: opacity 0.2s, background 0.2s;
}

.simtech-hero__btn--primary {
	background: var(--hero-accent, var(--simtech-blue));
	color: #fff;
}

.simtech-hero__btn--primary:hover {
	opacity: 0.92;
}

.simtech-hero__btn--ghost {
	border: 1px solid rgb(255 255 255 / 20%);
	color: #fff;
}

.simtech-hero__btn--ghost:hover {
	background: rgb(255 255 255 / 10%);
}

.simtech-hero__media {
	display: none;
	width: min(100%, 24rem);
	flex-shrink: 0;
}

.simtech-hero__media img {
	width: 100%;
	height: 16rem;
	object-fit: cover;
	border-radius: 0.75rem;
	box-shadow: 0 25px 50px rgb(0 0 0 / 35%);
}

.simtech-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 2;
}

.simtech-hero__dot {
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgb(255 255 255 / 40%);
	cursor: pointer;
	transition: width 0.2s, background 0.2s;
}

.simtech-hero__dot.is-active {
	width: 1.5rem;
	background: #fff;
}

/* Trust strip */
.simtech-trust-strip {
	background: var(--simtech-blue-light);
	border-bottom: 1px solid var(--simtech-border);
}

.simtech-trust-strip__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 1rem;
	margin: 0;
	padding: 0.75rem 0;
	list-style: none;
}

.simtech-trust-strip__list li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--simtech-blue);
}

.simtech-trust-strip__list .simtech-icon {
	width: 1rem;
	height: 1rem;
}

/* Category grid */
.simtech-category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.simtech-category-card {
	display: block;
	border: 1px solid var(--simtech-border);
	border-radius: 0.75rem;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.simtech-category-card:hover {
	border-color: var(--simtech-blue);
	box-shadow: 0 4px 12px rgb(37 99 235 / 10%);
}

.simtech-category-card__image {
	display: block;
	height: 7rem;
	overflow: hidden;
	background: var(--simtech-gray);
}

.simtech-category-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.simtech-category-card:hover .simtech-category-card__image img {
	transform: scale(1.05);
}

.simtech-category-card__body {
	display: block;
	padding: 0.75rem;
}

.simtech-category-card__name {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--simtech-dark);
	line-height: 1.3;
}

.simtech-category-card__count {
	display: block;
	margin-top: 0.125rem;
	font-size: 0.75rem;
	color: var(--simtech-muted);
}

/* Promo banners */
.simtech-promo-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.simtech-promo-banner {
	position: relative;
	display: block;
	min-height: 10rem;
	border-radius: 0.75rem;
	overflow: hidden;
	color: #fff;
	background: var(--promo-bg, linear-gradient(135deg, #0D1B2A, #1A3A6B));
}

.simtech-promo-banner__content {
	position: relative;
	z-index: 1;
	padding: 1.5rem;
	max-width: 70%;
}

.simtech-promo-banner__badge {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.9;
}

.simtech-promo-banner h3 {
	margin: 0.5rem 0 0.25rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.simtech-promo-banner p {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	opacity: 0.85;
}

.simtech-promo-banner__btn {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #fff;
}

.simtech-promo-banner__btn--blue { background: var(--promo-accent, var(--simtech-blue)); }
.simtech-promo-banner__btn--red { background: var(--promo-accent, var(--simtech-red)); }

.simtech-promo-banner__image {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 40%;
	object-fit: cover;
	opacity: 0.25;
}

/* Product grid + card */
.simtech-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.simtech-product-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--simtech-border);
	border-radius: 0.5rem;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.simtech-product-card:hover {
	border-color: rgb(37 99 235 / 30%);
	box-shadow: 0 4px 12px rgb(15 23 42 / 8%);
}

.simtech-product-card__media {
	position: relative;
	display: block;
	height: 12rem;
	overflow: hidden;
	padding: 0.75rem;
	box-sizing: border-box;
	background: #fff;
}

.simtech-product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: transform 0.3s;
}

.simtech-product-card:hover .simtech-product-card__image {
	transform: scale(1.03);
}

.simtech-product-card__badges {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.simtech-product-card__badge {
	padding: 0.125rem 0.375rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
}

.simtech-product-card__badge--sale {
	background: var(--simtech-red);
}

.simtech-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem;
}

.simtech-product-card__brand {
	margin: 0 0 0.25rem;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--simtech-muted);
}

.simtech-product-card__title {
	margin: 0 0 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	flex: 1;
}

.simtech-product-card__title a:hover {
	color: var(--simtech-blue);
}

.simtech-product-card__sku {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	color: var(--simtech-muted);
}

.simtech-product-card__rating {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
}

.simtech-product-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	margin-bottom: 0.5rem;
}

.simtech-product-card__price-current {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--simtech-dark);
}

.simtech-product-card__price-current .woocommerce-price-suffix {
	margin-left: 0.25rem;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--simtech-muted);
	text-transform: none;
	letter-spacing: 0;
}

.simtech-product-card__price-old {
	font-size: 0.875rem;
	color: var(--simtech-muted);
	text-decoration: line-through;
}

.simtech-product-card__stock {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
}

.simtech-product-card__stock.is-instock { color: var(--simtech-success); }
.simtech-product-card__stock.is-outofstock { color: var(--simtech-muted); }

.simtech-product-card__stock-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: currentColor;
}

.simtech-product-card__cta {
	display: block;
	width: 100%;
	padding: 0.5rem;
	border-radius: 0.375rem;
	background: var(--simtech-blue);
	color: #fff !important;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: center;
	transition: background 0.2s;
}

.simtech-product-card__cta:hover {
	background: #1d4ed8;
}

.simtech-product-card__cta.is-disabled {
	background: var(--simtech-gray);
	color: var(--simtech-muted) !important;
	cursor: not-allowed;
}

/* Brands */
.simtech-brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
	gap: 0.75rem;
}

.simtech-brand-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--simtech-border);
	border-radius: 0.5rem;
	background: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--simtech-dark);
	text-align: center;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.simtech-brand-chip:hover {
	border-color: var(--simtech-blue);
	box-shadow: 0 2px 8px rgb(15 23 42 / 6%);
}

/* Benefits */
.simtech-benefits-heading {
	margin: 0 0 2rem;
	font-family: var(--simtech-display);
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	color: var(--simtech-dark);
}

.simtech-benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.simtech-benefit {
	text-align: center;
}

.simtech-benefit__icon {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 0.75rem;
	border-radius: 0.75rem;
	background: var(--simtech-blue-light);
	color: var(--simtech-blue);
	display: grid;
	place-items: center;
}

.simtech-benefit-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.simtech-benefit h3 {
	margin: 0 0 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--simtech-dark);
}

.simtech-benefit p {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--simtech-muted);
}

@media (min-width: 640px) {
	.simtech-section-head h2 {
		font-size: 1.5rem;
	}

	.simtech-hero__btn {
		padding: 0.75rem 1.5rem;
	}

	.simtech-promo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.simtech-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.simtech-category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.simtech-trust-strip__list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem 2.5rem;
	}

	.simtech-trust-strip__list li {
		font-size: 0.875rem;
	}
}

@media (min-width: 1024px) {
	.simtech-hero,
	.simtech-hero__slide,
	.simtech-hero__inner {
		min-height: 26rem;
	}

	.simtech-hero__inner {
		flex-direction: row;
		align-items: center;
		padding-block: 4rem;
	}

	.simtech-hero__media {
		display: block;
		width: 24rem;
	}

	.simtech-hero__media img {
		height: 18rem;
	}

	.simtech-category-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.simtech-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.simtech-benefits-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
