/*
 * ================================================================
 * IGM 2026 – Epson page /epson/ (product category "epson", design option B, 2026-11-18)
 * File: wp-content/themes/Divi-Child/igm-2026-epson.css
 * Loaded only on that page (functions.php, $igm_pages 'epson'), after igm-2026.css and
 * igm-2026-rch.css, which styles the trust strip (igm-rt), the FAQ background (igm-rq-sec)
 * and the closing card (igm-rx): the same parts as /rch/.
 * Page: Divi Theme Builder layout "IGM 2026 – Registratori Epson", sections with module_class
 *   igm-ep-hero-sec, igm-rt-sec, igm-ep-mod-sec, igm-ep-spec-sec, igm-rq-sec, igm-rx-sec.
 * Section rules repeat the ".et-db #et-boc .et-l" selector (Theme Builder layout, see igm-2026.css [06.1]).
 * All comments in English.
 *
 * [25.1] hero   [25.2] Modelli e prezzi   [25.3] Scheda tecnica   [25.4] tablets and phones
 * ================================================================
 */

/* [25.1] Hero: breadcrumb, text on the left, product photo on the right (lavender background) */
.et_pb_section.igm-ep-hero-sec,
.et-db #et-boc .et-l .et_pb_section.igm-ep-hero-sec {
	padding: 32px var(--igm-margine) 88px;
	background: linear-gradient(180deg, var(--igm-lavanda), var(--igm-bianco));
}
.igm-ep-hero-sec .et_pb_row,
.et-db #et-boc .et-l .igm-ep-hero-sec .et_pb_row,
.igm-ep-mod-sec .et_pb_row,
.et-db #et-boc .et-l .igm-ep-mod-sec .et_pb_row,
.igm-ep-spec-sec .et_pb_row,
.et-db #et-boc .et-l .igm-ep-spec-sec .et_pb_row {
	width: 100%;
	max-width: var(--igm-contenuto);
	margin: 0 auto;
	padding: 0;
}
.igm-ep-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
	font-size: 14px;
	color: var(--igm-testo);
}
.igm-ep-crumb a {
	color: var(--igm-testo);
	text-decoration: none;
}
.igm-ep-crumb a:hover {
	color: var(--igm-viola);
}
.igm-ep-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}
.igm-ep-badge {
	display: inline-flex;
	margin: 0 0 18px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--igm-icona-sfondo);
	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--igm-viola-scuro);
}
.igm-ep-hero__t {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--igm-font);
	font-size: clamp(38px, 4.4vw, 56px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	font-weight: 800;
	color: var(--igm-inchiostro);
}
.igm-ep-hero__lead {
	max-width: 540px;
	margin: 0 0 28px;
	padding: 0;
	font-size: var(--igm-lead-size);
	line-height: 1.6;
	color: var(--igm-testo);
}
.igm-ep-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.igm-ep-hero__note {
	margin: 18px 0 0;
	padding: 0;
	font-size: 15px;
	color: var(--igm-testo);
}
.igm-ep-hero__pic {
	display: flex;
	align-items: center;
	justify-content: center; /* photo with a transparent background, straight on the hero */
}
.igm-ep-hero__pic img {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
}

/* [25.2] Modelli e prezzi: one wide card (photo + text); with more Epson models, more cards under it */
.igm-ep-head {
	max-width: 720px;
	margin: 0 0 36px;
}
.igm-ep-head .igm-h2 {
	margin-bottom: 12px;
}
.igm-ep-sub {
	margin: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--igm-testo);
}
.igm-ep-card {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	border: 1px solid var(--igm-bordo);
	border-radius: 24px;
	background: var(--igm-bianco);
	overflow: hidden;
	scroll-margin-top: 120px;
}
.igm-ep-card__pic {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	border-right: 1px solid var(--igm-bordo);
	background: var(--igm-bianco);
}
.igm-ep-card__pic img {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
}
.igm-ep-card__body {
	padding: 40px 44px;
}
.igm-ep-card__ok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #E3F4E8;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
	color: #1E6B3A;
}
.igm-ep-card__type {
	margin: 0 0 4px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--igm-testo);
}
.igm-ep-card__name {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--igm-font);
	font-size: 30px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--igm-inchiostro);
}
.igm-ep-card__desc {
	margin: 0 0 20px;
	padding: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--igm-testo);
}
.et_pb_section.igm-ep-mod-sec ul.igm-ep-card__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 24px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.45;
	color: var(--igm-inchiostro);
}
.igm-ep-card__list li {
	display: flex;
	gap: 10px;
	padding: 0;
}
.igm-ep-card__list svg {
	flex: none;
	margin-top: 2px;
}
.igm-ep-card__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 24px;
	border-top: 1px solid var(--igm-bordo);
}
.igm-ep-card__price {
	margin: 0;
	padding: 0;
	font-size: 15px;
	color: var(--igm-testo);
}
.igm-ep-card__price strong {
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 800;
	color: var(--igm-inchiostro);
}
.igm-ep-card__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.igm-ep-more {
	margin: 18px 0 0;
	padding: 0;
	font-size: 15px;
	color: var(--igm-testo);
}
.igm-ep-more a {
	font-weight: 700;
	color: var(--igm-viola);
	text-decoration: none;
}

/* [25.3] Scheda tecnica: text and photo of the back on the left, the table on the right */
.et_pb_section.igm-ep-spec-sec,
.et-db #et-boc .et-l .et_pb_section.igm-ep-spec-sec {
	padding-top: 0;
}
.igm-ep-spec {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 56px;
	align-items: start;
	scroll-margin-top: 120px;
}
.igm-ep-spec__txt .igm-h2 {
	margin-bottom: 14px;
}
.igm-ep-spec__d {
	margin: 0 0 24px;
	padding: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--igm-testo);
}
.igm-ep-spec__fig {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--igm-bordo);
	border-radius: var(--igm-raggio-card);
	background: var(--igm-bianco);
}
.igm-ep-spec__fig img {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin: 0 auto;
}
.igm-ep-spec__fig figcaption {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	color: var(--igm-testo);
}
.igm-ep-tab {
	border: 1px solid var(--igm-bordo);
	border-radius: var(--igm-raggio-card);
	overflow: hidden;
}
.igm-scope table.igm-ep-tab__t {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-family: var(--igm-font);
	font-size: 15px;
	line-height: 1.5;
}
.igm-scope .igm-ep-tab__t th,
.igm-scope .igm-ep-tab__t td {
	padding: 15px 22px;
	border: 0;
	border-top: 1px solid var(--igm-bordo);
	text-align: left;
	vertical-align: top;
}
.igm-scope .igm-ep-tab__t tr:first-child th,
.igm-scope .igm-ep-tab__t tr:first-child td {
	border-top: 0;
}
.igm-scope .igm-ep-tab__t th {
	width: 38%;
	font-weight: 700;
	color: var(--igm-inchiostro);
	background: var(--igm-lavanda);
}
.igm-scope .igm-ep-tab__t td {
	color: var(--igm-testo);
}
.igm-ep-tab__note {
	margin: 12px 0 0;
	padding: 0;
	font-size: 13px;
	color: var(--igm-testo);
}

/* FAQ: the link in the lead under the title */
.igm-rq-sec .igm-faq__lead a {
	font-weight: 700;
	color: var(--igm-viola);
	text-decoration: none;
}
.igm-rq-sec .igm-faq__lead a:hover {
	color: var(--igm-viola-hover);
}

/* [25.4] Tablets and phones */
@media (max-width: 980px) {
	.igm-ep-hero__in,
	.igm-ep-spec {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.igm-ep-hero__pic {
		max-width: 560px;
	}
	.igm-ep-card {
		grid-template-columns: minmax(0, 1fr);
	}
	.igm-ep-card__pic {
		border-right: 0;
		border-bottom: 1px solid var(--igm-bordo);
	}
}
@media (max-width: 600px) {
	.et_pb_section.igm-ep-hero-sec,
	.et-db #et-boc .et-l .et_pb_section.igm-ep-hero-sec {
		padding: 20px var(--igm-margine) 56px;
	}
	.igm-ep-crumb {
		margin-bottom: 20px;
	}
	.igm-ep-hero__cta .igm-btn,
	.igm-ep-card__btns,
	.igm-ep-card__btns .igm-btn {
		width: 100%;
	}
	.igm-ep-card__pic {
		padding: 20px;
	}
	.igm-ep-hero__pic img {
		max-width: 280px;
	}
	.igm-ep-card__body {
		padding: 24px 20px;
	}
	.igm-ep-card__name {
		font-size: 26px;
	}
	.et_pb_section.igm-ep-mod-sec ul.igm-ep-card__list {
		grid-template-columns: minmax(0, 1fr);
	}
	.igm-scope .igm-ep-tab__t th,
	.igm-scope .igm-ep-tab__t td {
		display: block;
		width: auto;
		padding: 4px 18px;
	}
	.igm-scope .igm-ep-tab__t th {
		padding-top: 14px;
		background: none;
	}
	.igm-scope .igm-ep-tab__t td {
		padding-bottom: 14px;
		border-top: 0;
	}
}
