/* ==========================================================================
   Rental Product — Block 2b Site-wide Template Components
   Trust signals, hire callout, credibility line, datasheet link
   ========================================================================== */

/* --------------------------------------------------------------------------
   Breadcrumbs — [megavar_breadcrumbs]
   -------------------------------------------------------------------------- */

.megavar-breadcrumbs {
	margin-bottom: 12px;
	text-align: center;
}

.megavar-breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.megavar-breadcrumbs__item {
	display: flex;
	align-items: center;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.75);
}

.megavar-breadcrumbs__item + .megavar-breadcrumbs__item::before {
	content: '»';
	margin: 0 8px;
	color: rgba(255, 255, 255, 0.45);
}

.megavar-breadcrumbs__link {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.15s;
}

.megavar-breadcrumbs__link:hover {
	color: #ffffff;
	text-decoration: none;
}

.megavar-breadcrumbs__item--current {
	color: #ffffff;
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   Section 1.1 — Trust signal block
   [megavar_trust_signals]
   -------------------------------------------------------------------------- */

.megavar-trust-signals {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	padding: 20px 0;
}

.megavar-trust-signals__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #1a1a1a;
	line-height: 1.4;
}

.megavar-trust-signals__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background-color: #75CEDE;
	color: #ffffff;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	line-height: 1;
}

/* --------------------------------------------------------------------------
   Section 1.2 — Real-project credibility line
   [megavar_credibility]
   -------------------------------------------------------------------------- */

.megavar-credibility-line {
	font-style: italic;
	color: #555555;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 16px;
	border-left: 3px solid #75CEDE;
	padding-left: 14px;
}

/* --------------------------------------------------------------------------
   Section 1.3 — Related products module
   [megavar_related_products]
   -------------------------------------------------------------------------- */

.megavar-related-products {
	margin: 40px 0 32px;
	width: 100%;
}

.megavar-related-products__heading {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 20px;
}

.megavar-related-products__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	width: 100%;
}

.megavar-related-products__tile {
	flex: 0 0 calc(20% - 16px);
	min-width: 260px;
	max-width: calc(20% - 16px);
	display: flex;
	flex-direction: column;
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	overflow: hidden;
	background: #ffffff;
	transition: box-shadow 0.2s ease;
}

.megavar-related-products__tile:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.megavar-related-products__image-link {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f5;
}

.megavar-related-products__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.megavar-related-products__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	flex: 1;
}

.megavar-related-products__chip {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #3a8fa0;
	background: #f0f9fb;
	border-radius: 3px;
	padding: 3px 8px;
	align-self: flex-start;
}

.megavar-related-products__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: #1a1a1a;
}

.megavar-related-products__title a {
	color: inherit;
	text-decoration: none;
}

.megavar-related-products__title a:hover {
	color: #3a8fa0;
}

.megavar-related-products__rate {
	font-size: 13px;
	color: #555555;
	margin: 0;
	font-weight: 500;
}

.megavar-related-products__cta {
	display: inline-block;
	margin-top: auto;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff;
	background: #1a1a1a;
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
	align-self: flex-start;
}

.megavar-related-products__cta:hover {
	background: #333333;
	color: #ffffff;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Section 1.5 — Long-term hire callout
   [megavar_long_term_hire]
   -------------------------------------------------------------------------- */

.megavar-hire-callout {
	background: #f0f9fb;
	border-left: 4px solid #75CEDE;
	padding: 14px 18px;
	margin: 16px 0;
	font-size: 15px;
	line-height: 1.5;
	color: #1a1a1a;
	border-radius: 0 4px 4px 0;
}

.megavar-hire-callout a {
	color: #3a8fa0;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.megavar-hire-callout a:hover {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Section 1.7 — Datasheet download link
   [megavar_datasheet]
   -------------------------------------------------------------------------- */

.megavar-datasheet-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #3a8fa0;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	margin-top: 8px;
}

.megavar-datasheet-link::before {
	content: '\2193';
	display: inline-block;
	font-size: 13px;
}

.megavar-datasheet-link:hover {
	text-decoration: underline;
}

.megavar-datasheet-unavailable {
	font-size: 13px;
	color: #999999;
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
	.megavar-trust-signals {
		flex-direction: column;
		gap: 10px;
	}

	.megavar-related-products__grid {
		gap: 14px;
	}

	.megavar-related-products__tile {
		flex: 0 0 calc(50% - 7px);
		max-width: calc(50% - 7px);
	}
}

@media (max-width: 380px) {
	.megavar-related-products__tile {
		flex: 0 0 100%;
		max-width: 100%;
	}
}
