/* ==========================================================================
   Nassij Atlas – site-wide refinements (loaded after the parent theme).
   ========================================================================== */

/* Smooth in-page anchors (e.g. #collection) without hurting reduced-motion users. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* Homepage product section wrapper: let the shortcode own its spacing. */
.na-home-products-wrap,
.na-home-products-wrap > .e-con-inner,
.na-home-products-wrap .elementor-widget-shortcode,
.na-home-products-wrap .elementor-shortcode {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}

/* Products page uses the Elementor full-width template: remove theme gaps. */
body.na-products-page #content.site-content,
body.na-products-page #content .col-full,
.na-products-page .site-content,
.na-products-page .col-full,
.na-products-page #primary,
.na-products-page .site-main {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

.na-products-page .entry-header,
.na-products-page .page-title-bar { display: none; }

/* ---------- Homepage hero: container was taller than the slider (grey band) ---------- */
.home .elementor-element-8241493 {
	min-height: 0 !important;
	--min-height: 0px;
	background-color: transparent !important;
}

/* ---------- "Notre savoir-faire" cards: titles were splitting mid-word ---------- */
.elementor-element-5bc8bea,
.elementor-element-b5bdaf4,
.elementor-element-2129479,
.elementor-element-583c179 {
	--padding-left: clamp(24px, 2.2vw, 40px);
	--padding-right: clamp(24px, 2.2vw, 40px);
}

.elementor-element-13c5638 .elementor-heading-title {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.elementor-element-fb3b202 .elementor-heading-title,
.elementor-element-e9466ac .elementor-heading-title,
.elementor-element-8a7c02c .elementor-heading-title,
.elementor-element-32f338c .elementor-heading-title {
	font-size: clamp(22px, 1.75vw, 30px);
}

/* ---------- Single service: show the page title in the banner like other pages ---------- */
.single-service .hidden-antra-title-single-yes .antra-woocommerce-title {
	display: block !important;
}

/* ---------- E-mail addresses must never be capitalised ---------- */
a[href^="mailto:"],
a[href^="mailto:"] *,
.na-email,
.na-email * {
	text-transform: none !important;
}

/* ---------- Focus visibility for keyboard users on theme links/buttons ---------- */
.site a:focus-visible,
.site button:focus-visible,
.elementor-button:focus-visible {
	outline: 2px solid #E30613;
	outline-offset: 3px;
}

/* Service sidebar card: phone / e-mail links keep the card's text colours. */
.elementor-element-b1cc3f4 a,
.elementor-element-e942002 a {
	color: inherit;
	text-decoration: none;
}
.elementor-element-b1cc3f4 a:hover,
.elementor-element-e942002 a:hover { text-decoration: underline; }

/* Mobile shop bar (search / account / cart) from the demo "Footer bar" template:
   it was hidden by Additional CSS that matched /cart/ + /my-account/ links.
   Those links now point to real pages, so hide the template explicitly. */
.elementor-47 { display: none !important; }

/* Sentences should not be Title-Cased by the theme's capitalize rule. */
.elementor-element-67b8986 .elementor-heading-title,
.wpcf7 label,
.wpcf7 ::placeholder,
.wpcf7 select {
	text-transform: none !important;
}

/* Search results: hide the theme's grey "Antra" placeholder for entries without image. */
.post-thumbnail:has(> .antra-default-thumb-post) { display: none; }
