/*
 Theme Name: Isopaint GeneratePress Child
 Theme URI: https://isopaint.gr/
 Description: Custom lightweight GeneratePress child theme for Isopaint.
 Author: Isopaint
 Template: generatepress
 Version: 1.0.0
*/

/*
 * ISOPAINT
 * Custom styles will be added here.
 * Keep the parent GeneratePress theme untouched.
 */
/* =========================================================
   ISOPAINT PRODUCT TEMPLATE
   ========================================================= */

.isopaint-product {
	background: #fff;
	color: #171717;
}

.isopaint-product-container {
	width: min(1320px, calc(100% - 48px));
	margin: 0 auto;
	padding: 70px 0 100px;
}


/* HERO */

.isopaint-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(50px, 7vw, 110px);
	align-items: center;
	padding-bottom: 90px;
}

.isopaint-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 560px;
	background: #f7f7f5;
	padding: clamp(30px, 5vw, 70px);
}

.isopaint-main-product-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: contain;
}

.isopaint-product-brand {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.isopaint-product-title {
	font-size: clamp(42px, 5vw, 72px);
	line-height: 1;
	letter-spacing: -0.035em;
	margin: 0 0 22px;
}

.isopaint-product-subtitle {
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.4;
	margin-bottom: 25px;
	max-width: 650px;
}

.isopaint-short-description {
	font-size: 17px;
	line-height: 1.7;
	color: #555;
	max-width: 650px;
	margin-bottom: 40px;
}


/* PRODUCT FACTS */

.isopaint-product-facts {
	border-top: 1px solid #dedede;
}

.isopaint-fact {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid #dedede;
}

.isopaint-fact span {
	color: #777;
}

.isopaint-fact strong {
	font-weight: 500;
}


/* SECTIONS */

.isopaint-product-section {
	border-top: 1px solid #dedede;
	padding: 70px 0;
}

.isopaint-product-section h2 {
	font-size: clamp(28px, 3vw, 40px);
	letter-spacing: -0.025em;
	margin: 0 0 40px;
}

.isopaint-product-content {
	max-width: 900px;
	font-size: 17px;
	line-height: 1.75;
}

.isopaint-product-content > *:first-child {
	margin-top: 0;
}


/* TECHNICAL DATA */

.isopaint-tech-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 70px;
}

.isopaint-tech-item {
	display: grid;
	grid-template-columns: minmax(130px, 0.7fr) 1.3fr;
	gap: 25px;
	padding: 17px 0;
	border-bottom: 1px solid #dedede;
}

.isopaint-tech-item span {
	color: #777;
}

.isopaint-tech-item strong {
	font-weight: 500;
}


/* DOWNLOADS */

.isopaint-download-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}

.isopaint-download-grid a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 145px;
	padding: 25px;
	border: 1px solid #dedede;
	color: inherit;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		transform 0.2s ease;
}

.isopaint-download-grid a:hover {
	border-color: #171717;
	transform: translateY(-2px);
}

.isopaint-download-grid span {
	font-size: 13px;
	color: #777;
}

.isopaint-download-grid strong {
	font-size: 17px;
	font-weight: 500;
}


/* VIDEO */

.isopaint-product-video {
	max-width: 1000px;
}

.isopaint-product-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}


/* TABLET */

@media (max-width: 900px) {

	.isopaint-product-container {
		width: min(100% - 36px, 1320px);
		padding-top: 40px;
	}

	.isopaint-product-hero {
		grid-template-columns: 1fr;
		gap: 45px;
		padding-bottom: 60px;
	}

	.isopaint-product-image {
		min-height: auto;
	}

	.isopaint-tech-grid {
		grid-template-columns: 1fr;
	}

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

}


/* MOBILE */

@media (max-width: 600px) {

	.isopaint-product-container {
		width: calc(100% - 30px);
		padding: 25px 0 60px;
	}

	.isopaint-product-image {
		padding: 25px;
	}

	.isopaint-product-title {
		font-size: 40px;
	}

	.isopaint-fact {
		grid-template-columns: 115px 1fr;
	}

	.isopaint-product-section {
		padding: 50px 0;
	}

	.isopaint-tech-item {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.isopaint-download-grid {
		grid-template-columns: 1fr;
	}

}