/* =============================================================
   SkySpy Product Hero Widget
   Category/product showcase grid — 2 columns, staggered fill.
   Figma: node 504-344 / file opBauGZv9Y8kRzwG89RTeK
   BEM: .skyspy-product-hero
   ============================================================= */

/* --- Full-width kill for Elementor wrappers --- */

.elementor-widget-skyspy_product_hero {
	width: 100% !important;
	max-width: 100% !important;
}

.elementor-widget-skyspy_product_hero .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.e-con:has(.elementor-widget-skyspy_product_hero),
.e-con-inner:has(.elementor-widget-skyspy_product_hero) {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	--padding-inline: 0px !important;
	--padding-block: 0px !important;
}

/* =============================================================
   Block
   ============================================================= */

.skyspy-product-hero {
	width: 100%;
	background-color: #e6e6e6;
}

.skyspy-product-hero__inner {
	padding: 40px 120px 80px;
}

/* =============================================================
   Heading
   ============================================================= */

.skyspy-product-hero__heading {
	font-family: 'TT Octosquares', sans-serif;
	font-size: 60px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: #0d0d0d;
	margin: 0 0 40px;
	padding: 0;
}

/* =============================================================
   Grid — 2 columns
   ============================================================= */

.skyspy-product-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* =============================================================
   Card
   ============================================================= */

.skyspy-product-hero__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 550px;
	background-color: #ffffff;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.skyspy-product-hero__card:hover {
	opacity: 0.92;
	text-decoration: none;
	color: inherit;
}

/* Background image — fills the card, behind the body overlay */
.skyspy-product-hero__card-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	pointer-events: none;
	display: block;
}

/* Body overlay — title top, button bottom */
.skyspy-product-hero__card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 30px 40px;
}

/* =============================================================
   Card title
   ============================================================= */

.skyspy-product-hero__card-title {
	font-family: 'TT Octosquares', sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: #0d0d0d;
	margin: 0;
}

/* =============================================================
   Card button
   ============================================================= */

.skyspy-product-hero__card-btn {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	height: 50px;
	padding: 0 30px;
	background-color: #0d0d0d;
	color: #ffffff;
	align-self: flex-start;
	transition: opacity 0.2s ease;
}

.skyspy-product-hero__card:hover .skyspy-product-hero__card-btn {
	opacity: 0.85;
}

.skyspy-product-hero__card-btn-text {
	font-family: 'TT Octosquares', sans-serif;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	white-space: nowrap;
}

.skyspy-product-hero__card-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.skyspy-product-hero__card-btn-icon svg {
	width: 15px;
	height: 15px;
	display: block;
}

/* =============================================================
   Tablet  768px – 1200px
   ============================================================= */

@media (max-width: 1200px) {
	.skyspy-product-hero__inner {
		padding: 40px 40px 60px;
	}

	.skyspy-product-hero__heading {
		font-size: 44px;
	}

	.skyspy-product-hero__card {
		height: 420px;
	}

	.skyspy-product-hero__card-title {
		font-size: 24px;
	}

	.skyspy-product-hero__card-body {
		padding: 24px 28px;
	}

	.skyspy-product-hero__card-btn {
		height: 44px;
		padding: 0 24px;
	}

	.skyspy-product-hero__card-btn-text {
		font-size: 17px;
	}
}

/* =============================================================
   Mobile  < 768px — single column, all cards stacked
   ============================================================= */

@media (max-width: 767px) {
	.skyspy-product-hero__inner {
		padding: 32px 16px 40px;
	}

	.skyspy-product-hero__heading {
		font-size: 32px;
		margin-bottom: 24px;
	}

	.skyspy-product-hero__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.skyspy-product-hero__card {
		height: 320px;
	}

	.skyspy-product-hero__card-title {
		font-size: 22px;
	}

	.skyspy-product-hero__card-body {
		padding: 20px 20px;
	}

	.skyspy-product-hero__card-btn {
		height: 44px;
		padding: 0 20px;
		gap: 14px;
	}

	.skyspy-product-hero__card-btn-text {
		font-size: 16px;
	}
}
