/* ==========================================================================
   Good Uniforme — theme styles (complements theme.json)
   ========================================================================== */

:root {
	--gu-radius-s: var(--wp--custom--radius--small, 6px);
	--gu-radius-m: var(--wp--custom--radius--medium, 12px);
	--gu-radius-l: var(--wp--custom--radius--large, 20px);
	--gu-brand: var(--wp--preset--gradient--brand);
	--gu-navy: var(--wp--preset--color--navy);
	--gu-accent: var(--wp--preset--color--accent);
	--gu-line: var(--wp--preset--color--line);
	--gu-muted: var(--wp--preset--color--muted);
	--gu-surface: var(--wp--preset--color--surface);
	--gu-ease: cubic-bezier(.2, .7, .2, 1);
	--gu-whatsapp: #1FAF54;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }

/* Keep the footer at the bottom on short pages. */
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; }
.wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > footer { margin-top: 0; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--amber);
	outline-offset: 3px;
	border-radius: 4px;
}

.gu-icon { flex: none; vertical-align: -0.2em; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.gu-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	transition: box-shadow .25s var(--gu-ease);
}
.admin-bar .gu-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.gu-site-header.is-scrolled { box-shadow: 0 6px 24px rgba(3, 15, 39, .08); }

.gu-topbar { transition: margin .25s var(--gu-ease); }
.gu-topbar p { margin: 0; }
.gu-topbar__contacts { gap: .4rem 1.6rem !important; }
.gu-topbar a { text-decoration: none; opacity: .88; }
.gu-topbar a:hover { opacity: 1; color: var(--wp--preset--color--amber) !important; }
.gu-topbar__note { opacity: .7; }

.gu-contact { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.gu-contact .gu-icon { width: 1.05em; height: 1.05em; color: var(--wp--preset--color--orange); }

.gu-header .gu-logo { margin: 0; flex: none; }
.gu-header .gu-logo img { display: block; }
.gu-header__right { gap: 1.75rem !important; }
.gu-header__cta .wp-block-button__link { white-space: nowrap; }
/* Desktop menu on one line: 3 sector dropdowns + 4 links. */
@media (min-width: 1280px) {
	.gu-nav .wp-block-navigation__container { flex-wrap: nowrap; gap: 1.25rem !important; }
	.gu-nav .wp-block-navigation-item__content { white-space: nowrap; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
	.gu-header .gu-logo img { width: 130px !important; }
	.gu-header__right { gap: 1rem !important; }
	.gu-nav { font-size: .875rem; }
	.gu-nav .wp-block-navigation__container { gap: .9rem !important; }
	.gu-header__cta .wp-block-button__link { padding: .7rem 1.1rem; }
}

.gu-brandline { height: 3px; background: var(--gu-brand); margin: 0 !important; }

/* Navigation */
.gu-nav .wp-block-navigation-item__content { text-decoration: none; color: var(--gu-navy); padding-block: .5rem; position: relative; }
.gu-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: .1rem;
	height: 2px;
	background: var(--gu-brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--gu-ease);
}
.gu-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.gu-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

.gu-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--gu-line) !important;
	border-radius: var(--gu-radius-m);
	box-shadow: var(--wp--preset--shadow--lift);
	padding: .5rem !important;
	min-width: 240px !important;
	/* No margin: any gap between the item and its dropdown is "dead" space
	   where the hover is lost and the dropdown closes. */
	margin-top: 0;
}
/* Small delay before closing, so a slightly off-course cursor doesn't drop it. */
@media (min-width: 1280px) {
	.gu-nav .has-child:not(.open-on-click):not(:hover):not(:focus-within) > .wp-block-navigation__submenu-container {
		transition: opacity .15s ease .25s, visibility 0s linear .4s, width 0s linear .4s, height 0s linear .4s, overflow 0s linear .4s;
		transition-behavior: allow-discrete;
	}
}
.gu-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .55rem .8rem !important;
	border-radius: var(--gu-radius-s);
	font-weight: 500;
}
.gu-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--cream);
	color: var(--gu-accent);
}

/*
 * Burger menu below 1280px. Core only collapses the navigation under 600px,
 * which is too late for this menu: it wraps onto several lines on tablets.
 */
@media (max-width: 1279px) {
	.gu-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.gu-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	/* Button first, burger at the far right. */
	.gu-header__cta { order: -1; }
}

.gu-nav .wp-block-navigation__responsive-container-open {
	width: 2.75rem; height: 2.75rem;
	align-items: center; justify-content: center;
	border-radius: 50%;
	color: var(--gu-navy);
	transition: background-color .2s;
}
.gu-nav .wp-block-navigation__responsive-container-open:hover { background: var(--gu-surface); }

/* Overlay menu */
.gu-nav .wp-block-navigation__responsive-container.is-menu-open {
	/* The desktop menu is right-aligned; the overlay list reads better from the left. */
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	--navigation-layout-alignment: flex-start;
	padding: 1.25rem clamp(1rem, 5vw, 2rem) 2rem !important;
	text-align: left;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	align-items: flex-start !important;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem;
	align-items: stretch !important;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	align-items: stretch !important;
	width: 100%;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	border-bottom: 1px solid var(--gu-line);
	padding-block: .35rem;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.125rem;
	padding-block: .55rem !important;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	min-width: 0 !important;
	margin: 0 0 .5rem;
	padding: 0 0 0 1rem !important;
	border: 0 !important;
	border-left: 2px solid var(--gu-line) !important;
	border-radius: 0;
	box-shadow: none;
}
.gu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem;
	padding: .4rem .5rem !important;
	color: var(--gu-muted);
}
.gu-nav .wp-block-navigation__responsive-container-close {
	top: 1.25rem; right: clamp(1rem, 5vw, 2rem);
	width: 2.75rem; height: 2.75rem;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--gu-surface);
}
/* Keep the page from scrolling behind the open menu. */
html.has-modal-open { overflow: hidden; }

@media (max-width: 1023px) {
	.gu-topbar__note { display: none; }
}
@media (max-width: 781px) {
	.gu-hide-mobile { display: none; }
	.gu-topbar__contacts { justify-content: center; width: 100%; }
	.gu-header .gu-logo img { width: 124px !important; }
	.gu-header__right { gap: .5rem !important; }
	.gu-header__cta .wp-block-button__link { white-space: nowrap; padding: .7rem 1.1rem; }
}
@media (max-width: 420px) {
	.gu-topbar__contacts { gap: .3rem 1rem !important; }
	.gu-topbar .gu-contact--email span { max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.gu-header .gu-logo img { width: 112px !important; }
	.gu-header__cta .wp-block-button__link { padding: .65rem .95rem; font-size: .75rem !important; }
}
@media (max-width: 359px) {
	/* !important: WordPress' .wp-block-buttons.is-layout-flex sets display. The mobile bar has the quote button. */
	.gu-header .gu-header__cta { display: none !important; }
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.is-style-gu-eyebrow {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: .5rem !important;
	color: var(--gu-accent) !important;
	font-weight: 700 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.3 !important;
}
.is-style-gu-eyebrow::before {
	content: "";
	width: 1.6em;
	height: .8em;
	background: var(--gu-brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.has-text-align-center.is-style-gu-eyebrow { display: flex; justify-content: center; }

.gu-lead { font-size: 1.125rem; color: var(--gu-muted); text-wrap: pretty; }
/* Hero bands use a 1240px constrained layout, which centers each child with
   auto margins. Keep the intro at a readable width but aligned on the left
   edge of the 1240px column. */
.gu-hero-band > .gu-lead {
	max-width: 62ch;
	margin-left: max(0px, calc((100% - 1240px) / 2)) !important;
	margin-top: .75rem;
}

.gu-prose > * + h2 { margin-top: 2.5rem; }
.gu-prose > * + h3 { margin-top: 2rem; }
.gu-prose img { border-radius: var(--gu-radius-m); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wp-element-button, .gu-btn { transition: background-color .2s var(--gu-ease), color .2s var(--gu-ease), transform .2s var(--gu-ease), box-shadow .2s var(--gu-ease); }
.wp-element-button:hover, .gu-btn:hover { transform: translateY(-1px); }

.is-style-gu-ghost .wp-block-button__link {
	background: transparent !important;
	color: var(--gu-navy) !important;
	box-shadow: inset 0 0 0 2px var(--gu-navy);
}
.is-style-gu-ghost .wp-block-button__link:hover { background: var(--gu-navy) !important; color: #fff !important; }

.gu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .95rem 1.6rem;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none !important;
}
@media (max-width: 480px) { .gu-btn { padding: .85rem 1.25rem; } }
.gu-btn--primary { background: var(--gu-accent); color: #fff !important; box-shadow: 0 8px 20px rgba(212, 67, 14, .25); }
.gu-btn--primary:hover { background: var(--gu-navy); box-shadow: 0 8px 20px rgba(3, 15, 39, .2); }
.gu-btn--primary .gu-icon { transition: transform .2s var(--gu-ease); }
.gu-btn--primary:hover .gu-icon { transform: translateX(3px); }
.gu-btn--whatsapp { background: var(--gu-whatsapp); color: #fff !important; }
.gu-btn--whatsapp:hover { background: #178c43; }
.gu-btn--ghost { color: var(--gu-navy) !important; box-shadow: inset 0 0 0 2px currentColor; }
.gu-btn--ghost:hover { background: var(--gu-navy); color: #fff !important; }

.gu-devis { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------------------
   Hero band (page / archive headers)
   -------------------------------------------------------------------------- */
.gu-hero-band {
	position: relative;
	overflow: hidden;
	background: var(--gu-surface);
	border-bottom: 1px solid var(--gu-line);
}
.gu-hero-band::after {
	content: "";
	position: absolute;
	right: -40px;
	top: 50%;
	width: min(420px, 45vw);
	aspect-ratio: 30 / 14;
	transform: translateY(-50%);
	background: var(--gu-brand);
	opacity: .08;
	pointer-events: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gu-hero-band > * { position: relative; z-index: 1; }
.gu-hero-band h1 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Toolbar: category filter + search
   -------------------------------------------------------------------------- */
.gu-toolbar { margin-top: var(--wp--preset--spacing--40) !important; gap: 1rem !important; align-items: flex-start !important; }
.gu-toolbar > .gu-filter { flex: 1 1 520px; min-width: 0; }

.gu-filter ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.gu-filter a {
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid var(--gu-line);
	border-radius: 999px;
	background: #fff;
	color: var(--gu-navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: all .2s var(--gu-ease);
}
.gu-filter a:hover { border-color: var(--gu-navy); }
.gu-filter a[aria-current="page"] { background: var(--gu-navy); border-color: var(--gu-navy); color: #fff; }

@media (max-width: 781px) {
	.gu-filter a { padding: .45rem .85rem; }
	.gu-toolbar > .gu-filter, .gu-toolbar > .gu-search { flex-basis: 100%; }
}

.gu-search { flex: 0 1 300px; margin: 0; }
.gu-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--gu-line) !important;
	border-radius: 999px;
	background: #fff;
	padding: 4px !important;
}
.gu-search .wp-block-search__input { border: 0; background: transparent; padding: .45rem .9rem; font-size: var(--wp--preset--font-size--small); }
.gu-search .wp-block-search__input:focus { outline: none; }
.gu-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--gu-navy) !important; }
.gu-search .wp-block-search__button { border-radius: 999px; padding: .5rem .7rem; margin-left: 0; }

/* --------------------------------------------------------------------------
   Cards (products & posts)
   -------------------------------------------------------------------------- */
.gu-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	background: #fff;
	border: 1px solid var(--gu-line);
	border-radius: var(--gu-radius-m);
	overflow: hidden;
	transition: transform .3s var(--gu-ease), box-shadow .3s var(--gu-ease), border-color .3s var(--gu-ease);
}
.gu-card:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lift); border-color: transparent; }

.gu-card__media { margin: 0 !important; overflow: hidden; background: var(--gu-surface); }
.gu-card__media img { display: block; width: 100%; transition: transform .6s var(--gu-ease); }
.gu-card:hover .gu-card__media img { transform: scale(1.04); }
.wp-block-post-featured-image.gu-card__media--empty {
	aspect-ratio: 4 / 5;
	background: var(--gu-surface) url("../images/logo.png") center / 42% auto no-repeat;
	background-blend-mode: luminosity;
}
.gu-card--post .gu-card__media--empty { aspect-ratio: 3 / 2; }
.gu-card__media--empty { opacity: .55; }

.gu-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.15rem 1.2rem; flex: 1; }
.gu-card__body > * { margin: 0 !important; }
.gu-card__title { font-size: var(--wp--preset--font-size--medium) !important; line-height: 1.3; font-weight: 700; }
.gu-card__title a { color: var(--gu-navy); text-decoration: none; }
/* Whole card clickable through the title link. */
.gu-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gu-card__title a:focus-visible { outline: none; }
.gu-card:has(.gu-card__title a:focus-visible) { outline: 2px solid var(--wp--preset--color--amber); outline-offset: 3px; }
.gu-card__excerpt { color: var(--gu-muted); }
.gu-card__excerpt p { margin: 0; }
.gu-card .wp-block-post-terms { font-size: .72rem; }

.gu-card__cta {
	margin-top: auto !important;
	padding-top: .5rem;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--gu-accent);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}
.gu-card__cta::after { content: "→"; transition: transform .2s var(--gu-ease); }
.gu-card:hover .gu-card__cta::after { transform: translateX(4px); }

.gu-card .wp-block-post-date { color: var(--gu-muted); font-size: var(--wp--preset--font-size--x-small); }
.gu-card .wp-block-post-terms { color: var(--gu-accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gu-card .wp-block-post-terms a { color: inherit; text-decoration: none; }
.gu-card__excerpt { font-size: var(--wp--preset--font-size--small); }

/* Pagination */
.gu-pagination { margin-top: var(--wp--preset--spacing--50) !important; gap: .35rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.gu-pagination a, .gu-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.6rem; height: 2.6rem; padding: 0 .9rem;
	border: 1px solid var(--gu-line); border-radius: 999px;
	color: var(--gu-navy); text-decoration: none;
}
.gu-pagination .page-numbers.current { background: var(--gu-navy); border-color: var(--gu-navy); color: #fff; }
.gu-pagination a:hover { border-color: var(--gu-navy); }
.gu-pagination .page-numbers.dots { border: 0; }

.gu-empty { padding: var(--wp--preset--spacing--50); border: 1px dashed var(--gu-line); border-radius: var(--gu-radius-m); color: var(--gu-muted); }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.gu-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: var(--wp--preset--font-size--x-small); color: var(--gu-muted); }
.gu-breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.gu-breadcrumbs a { color: var(--gu-muted); text-decoration: none; }
.gu-breadcrumbs a:hover { color: var(--gu-accent); }
.gu-breadcrumbs [aria-current] { color: var(--gu-navy); font-weight: 600; }

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */
.gu-product__image { margin: 0; border-radius: var(--gu-radius-l); overflow: hidden; background: var(--gu-surface); }
.gu-product__image img { display: block; width: 100%; }
@media (min-width: 782px) {
	.gu-product__media { position: sticky; top: calc(var(--wp--custom--header-height) + 3rem); align-self: flex-start; }
}
.gu-product__summary > * { margin-block: 0; }
.gu-product__summary > * + * { margin-top: 1.25rem !important; }
.gu-product__summary .wp-block-post-title { margin-top: .5rem !important; }

.gu-specs { margin: 0; border-top: 1px solid var(--gu-line); }
.gu-specs__row { display: grid; grid-template-columns: 13.5rem 1fr; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--gu-line); font-size: var(--wp--preset--font-size--small); }
.gu-specs dt { display: flex; align-items: center; gap: .65rem; color: var(--gu-muted); font-weight: 500; }
.gu-specs__icon {
	display: inline-flex; flex: none; align-items: center; justify-content: center;
	width: 34px; height: 34px;
	border-radius: 10px;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--accent);
}
.gu-specs__icon .gu-icon { width: 18px; height: 18px; stroke-width: 1.75; }
.gu-specs dd { margin: 0; color: var(--gu-navy); font-weight: 600; }
@media (max-width: 480px) {
	.gu-specs__row { grid-template-columns: 1fr; gap: .35rem; }
	.gu-specs dd { padding-left: calc(34px + .65rem); } /* Lined up with the label, after the icon. */
}

.gu-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.gu-chip { padding: .2rem .65rem; border: 1px solid var(--gu-line); border-radius: 999px; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; background: #fff; }

/* Colour swatches */
.gu-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.gu-swatch { display: inline-flex; align-items: center; gap: .45rem; }
.gu-swatch__dot {
	flex: none;
	width: 1.25rem; height: 1.25rem;
	border-radius: 50%;
	background: var(--gu-swatch, #fff);
	box-shadow: inset 0 0 0 1px rgba(3, 15, 39, .18), 0 0 0 2px #fff, 0 0 0 3px var(--gu-line);
}
/* Name not in the colour table: multicolour dot, the name is in the tooltip. */
.gu-swatch--unknown .gu-swatch__dot { background: conic-gradient(#f15a24, #f7931e, #f5c400, #2e9d5b, #1f5fbf, #6a3d9a, #f15a24); }
.gu-swatch--more { color: var(--gu-muted); font-size: .75rem; font-weight: 600; }
.gu-swatches--labels { gap: .5rem .9rem; }
.gu-swatches--labels .gu-swatch__dot { width: 1.5rem; height: 1.5rem; }
.gu-swatch__name { font-size: var(--wp--preset--font-size--x-small); font-weight: 600; }

/* Product card quick specs */
.gu-card__specs { display: flex; flex-direction: column; gap: .55rem; margin-top: .35rem !important; }
.gu-card__specs > * { margin: 0; }
.gu-card__sizes { display: flex; flex-wrap: wrap; gap: .25rem; }
.gu-card__sizes span:not(.screen-reader-text) {
	min-width: 1.9rem;
	padding: .1rem .4rem;
	border: 1px solid var(--gu-line);
	border-radius: 6px;
	color: var(--gu-navy);
	font-size: .72rem;
	font-weight: 600;
	text-align: center;
}
.gu-card__facts { color: var(--gu-muted); font-size: .8rem; line-height: 1.4; }

/* Unit price */
.gu-card__cta--price { align-items: baseline; gap: .3rem; }
.gu-card__cta--price::after { display: none; }
.gu-card__price { color: var(--gu-navy); font-size: 1.125rem; font-weight: 800; }
.gu-card__unit { color: var(--gu-muted); font-family: var(--wp--preset--font-family--body); font-size: .8rem; font-weight: 500; }
.gu-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; margin: 0; }
.gu-price__label { width: 100%; color: var(--gu-muted); font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gu-price__value { color: var(--gu-accent); font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.1; }
.gu-price__unit { color: var(--gu-muted); font-weight: 500; }
.gu-price__logo { width: 100%; color: var(--gu-muted); font-size: var(--wp--preset--font-size--x-small); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gu-assurances { list-style: none; padding: 1.1rem 1.25rem; background: var(--wp--preset--color--cream); border-radius: var(--gu-radius-m); }
.gu-assurances li { position: relative; padding-left: 1.75rem; }
.gu-assurances li + li { margin-top: .45rem; }
.gu-assurances li::before {
	content: "";
	position: absolute; left: 0; top: .2em;
	width: 1.1rem; height: 1.1rem;
	border-radius: 50%;
	background: var(--gu-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.gu-product-description:not(:has(.wp-block-post-content > *)) { display: none; }

.gu-product__summary .gu-product__cats { margin-top: .4rem !important; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gu-product__cats a { color: var(--gu-accent); text-decoration: none; }
.gu-product__cats a:hover { text-decoration: underline; }

/* Configurator */
.gu-config {
	display: flex; flex-direction: column; gap: 1.15rem;
	padding: 1.35rem 1.5rem;
	border: 1px solid var(--gu-line);
	border-radius: var(--gu-radius-l);
	background: #fff;
	box-shadow: var(--wp--preset--shadow--soft);
}
.gu-config > * { margin: 0; }
.gu-config__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.gu-config__logo { display: flex; flex-direction: column; gap: 1.15rem; }
.gu-config__logo[hidden] { display: none; }
.gu-config__group legend, .gu-config__qty label, .gu-config__other label {
	display: block;
	margin-bottom: .55rem;
	padding: 0;
	color: var(--gu-navy);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.gu-config__opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.gu-opt { position: relative; cursor: pointer; }
.gu-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gu-opt > span {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .5rem .95rem;
	border: 1px solid var(--gu-line);
	border-radius: 999px;
	background: #fff;
	color: var(--gu-navy);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.2;
	transition: border-color .2s var(--gu-ease), background-color .2s var(--gu-ease), box-shadow .2s var(--gu-ease);
}
.gu-opt:hover > span { border-color: var(--gu-navy); }
.gu-opt input:checked + span { border-color: var(--gu-navy); background: var(--gu-surface); box-shadow: inset 0 0 0 1px var(--gu-navy); }
.gu-opt input:focus-visible + span { outline: 2px solid var(--gu-accent); outline-offset: 2px; }
.gu-opt .gu-swatch__dot { width: 1rem; height: 1rem; box-shadow: inset 0 0 0 1px rgba(3, 15, 39, .2); }
.gu-opt__dots { display: inline-flex; }
.gu-opt__dots .gu-swatch__dot + .gu-swatch__dot { margin-left: -.3rem; box-shadow: 0 0 0 2px #fff; }

/* Logo placement cards: drawing above the label. */
.gu-config__opts--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr)); gap: .5rem; }
.gu-config__opts--cards .gu-opt { display: block; }
.gu-config__opts--cards .gu-opt > span {
	display: flex; flex-direction: column; justify-content: center; gap: .4rem;
	width: 100%; height: 100%;
	box-sizing: border-box;
	padding: .7rem .5rem .6rem;
	border-radius: var(--gu-radius-m);
	font-size: var(--wp--preset--font-size--x-small);
	text-align: center;
}
.gu-pl { display: block; width: 4.8rem; height: 3rem; }
.gu-pl__item { fill: #fff; stroke: var(--gu-muted); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.gu-pl__mark { fill: var(--gu-accent); }
.gu-pl__q { fill: none; stroke: var(--gu-accent); stroke-width: 2.2; stroke-linecap: round; }
.gu-opt input:checked + span .gu-pl__item { stroke: var(--gu-navy); }
.gu-swatch__dot--any { background: conic-gradient(#f15a24, #f7931e, #f5c400, #2e9d5b, #1f5fbf, #6a3d9a, #f15a24); }
.gu-config__other input {
	width: 100%;
	padding: .65rem .9rem;
	border: 1px solid var(--gu-line);
	border-radius: var(--gu-radius-s);
	font: inherit;
}
.gu-config__other input:focus { outline: none; border-color: var(--gu-navy); }

.gu-config__buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; padding-top: 1.15rem; border-top: 1px solid var(--gu-line); }
.gu-config__add { flex: 1 1 14rem; justify-content: center; border: 0; cursor: pointer; }
.gu-config__note { color: var(--gu-muted); font-size: var(--wp--preset--font-size--x-small); line-height: 1.5; }
.gu-config__note + .gu-config__note { margin-top: -.85rem; }
.gu-config__ask a { display: inline-flex; align-items: center; gap: .45rem; color: var(--gu-navy); font-size: var(--wp--preset--font-size--small); font-weight: 600; text-decoration: none; }
.gu-config__ask .gu-icon { color: var(--gu-whatsapp); }
.gu-config__ask a:hover { color: var(--gu-accent); }

.gu-stepper { display: inline-flex; align-items: stretch; height: 3rem; border: 1px solid var(--gu-line); border-radius: 999px; overflow: hidden; background: #fff; }
.gu-stepper button {
	width: 2.75rem;
	border: 0;
	background: none;
	color: var(--gu-navy);
	font-size: 1.25rem;
	cursor: pointer;
}
.gu-stepper button:hover { background: var(--gu-surface); }
.gu-stepper input {
	width: 3.5rem;
	border: 0;
	color: var(--gu-navy);
	font: inherit;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.gu-stepper input::-webkit-inner-spin-button, .gu-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.gu-stepper input:focus { outline: none; background: var(--gu-surface); }
.gu-stepper--s { height: 2.25rem; }
.gu-stepper--s button { width: 2.1rem; font-size: 1rem; }
.gu-stepper--s input { width: 2.75rem; font-size: var(--wp--preset--font-size--small); }

/* --------------------------------------------------------------------------
   Quote basket
   -------------------------------------------------------------------------- */
.gu-basket-fab {
	position: fixed;
	right: calc(max(1rem, env(safe-area-inset-right)) + 4.25rem); /* Beside the WhatsApp button. */
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex; align-items: center; gap: .55rem;
	height: 3.5rem;
	padding: 0 1.15rem;
	border: 0;
	border-radius: 999px;
	background: var(--gu-navy);
	color: #fff;
	font: inherit;
	font-weight: 700;
	box-shadow: 0 10px 25px rgba(3, 15, 39, .3);
	cursor: pointer;
	animation: gu-fab-in .35s var(--gu-ease);
	transition: transform .2s var(--gu-ease);
}
.gu-basket-fab[hidden] { display: none; }
.gu-basket-fab:hover { transform: translateY(-2px); }
.gu-basket-fab__count {
	min-width: 1.5rem; height: 1.5rem;
	padding: 0 .35rem;
	border-radius: 999px;
	background: var(--gu-accent);
	font-size: .8rem;
	line-height: 1.5rem;
	text-align: center;
}
@keyframes gu-fab-in { from { opacity: 0; transform: translateY(1rem); } }
@media (max-width: 767px) {
	.gu-basket-fab__label { display: none; }
	.gu-basket-fab { padding: 0 1rem; }
	body:has(.gu-mobile-bar) .gu-basket-fab { right: 1rem; bottom: calc(78px + env(safe-area-inset-bottom)); }
}

.gu-basket {
	width: min(28rem, 100vw);
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0 0 0 auto;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--wp--preset--color--ink);
	box-shadow: -20px 0 50px rgba(3, 15, 39, .2);
}
.gu-basket[open] { animation: gu-drawer-in .3s var(--gu-ease); }
.gu-basket::backdrop { background: rgba(3, 15, 39, .55); }
@keyframes gu-drawer-in { from { transform: translateX(100%); } }
.gu-basket__inner { display: flex; flex-direction: column; height: 100%; }
.gu-basket__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--gu-line); }
.gu-basket__title-text { margin: 0; color: var(--gu-navy); font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); font-weight: 800; }
.gu-basket__close { display: inline-flex; padding: .5rem; border: 0; border-radius: 50%; background: var(--gu-surface); color: var(--gu-navy); cursor: pointer; }
.gu-basket__close:hover { background: var(--gu-line); }
.gu-basket__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.gu-basket__empty { margin: 1rem 0; color: var(--gu-muted); }
.gu-basket__list { margin: 0; padding: 0; list-style: none; }
.gu-basket__item { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--gu-line); }
.gu-basket__img { display: block; aspect-ratio: 1; border-radius: var(--gu-radius-s); overflow: hidden; background: var(--gu-surface) url("../images/logo.png") center / 70% auto no-repeat; }
.gu-basket__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gu-basket__info { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; min-width: 0; }
.gu-basket__ref { color: var(--gu-muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.gu-basket__title { color: var(--gu-navy); font-weight: 700; line-height: 1.3; text-decoration: none; }
.gu-basket__title:hover { color: var(--gu-accent); }
.gu-basket__opts { color: var(--gu-muted); font-size: var(--wp--preset--font-size--x-small); }
.gu-basket__info .gu-stepper { margin-top: .4rem; }
.gu-basket__remove { align-self: start; display: inline-flex; padding: .35rem; border: 0; border-radius: 50%; background: none; color: var(--gu-muted); cursor: pointer; }
.gu-basket__remove:hover { background: var(--gu-surface); color: var(--wp--preset--color--red); }
.gu-basket__foot { padding: 1.15rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--gu-line); background: var(--gu-surface); }
.gu-basket__foot[hidden] { display: none; }
.gu-basket__foot p { margin: 0 0 .75rem; }
.gu-basket__total { color: var(--gu-navy); }
.gu-basket__hint { color: var(--gu-muted); font-size: var(--wp--preset--font-size--x-small); line-height: 1.5; }
.gu-basket__actions { display: grid; gap: .5rem; }
.gu-basket__actions .gu-btn { box-sizing: border-box; justify-content: center; width: 100%; }
.gu-basket__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: .9rem; font-size: var(--wp--preset--font-size--small); }
.gu-basket__links button, .gu-basket__links a { display: inline-flex; align-items: center; gap: .35rem; padding: 0; border: 0; background: none; color: var(--gu-navy); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.gu-basket__links .gu-icon { width: 16px; height: 16px; }
.gu-basket__links button:hover, .gu-basket__links a:hover { color: var(--gu-accent); }

.gu-related { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.gu-related h2 { margin-bottom: 1.5rem; }
.gu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.gu-grid--posts { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.75rem; }
.gu-grid .gu-card__media img { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.gu-grid--posts .gu-card__media img { aspect-ratio: 3 / 2; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.gu-cta { position: relative; overflow: hidden; background: var(--wp--preset--gradient--night); color: #fff; }
.gu-cta::before {
	content: "";
	position: absolute; inset: auto -60px -40px auto;
	width: min(520px, 70vw); aspect-ratio: 30 / 14;
	background: var(--gu-brand); opacity: .18; pointer-events: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gu-cta > * { position: relative; }
.gu-cta__inner { gap: 1.5rem 3rem !important; }
.gu-cta .is-style-gu-eyebrow { color: var(--wp--preset--color--amber) !important; }
.gu-cta__title { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--x-large); font-weight: 800; line-height: 1.15; color: #fff; max-width: 22ch; }
.gu-cta__text { margin: .75rem 0 0; color: rgba(255, 255, 255, .75); max-width: 52ch; }
.gu-cta .gu-btn--primary { box-shadow: none; }
.gu-cta .gu-btn--primary:hover { background: #fff; color: var(--gu-navy) !important; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.gu-footer { position: relative; }
.gu-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gu-brand); }
.gu-footer__title { text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem !important; }
.gu-footer__muted { color: rgba(255, 255, 255, .7); max-width: 34ch; }
.gu-footer__list { list-style: none; padding: 0; margin: 0; }
.gu-footer__list li + li { margin-top: .55rem; }
.gu-footer a { text-decoration: none; color: rgba(255, 255, 255, .82) !important; transition: color .2s; }
.gu-footer a:hover { color: var(--wp--preset--color--amber) !important; }
.gu-footer__contact { gap: .65rem !important; }
.gu-footer__contact p { margin: 0; }
.gu-footer__contact .gu-contact { align-items: flex-start; color: rgba(255, 255, 255, .82); }
.gu-footer__contact .gu-icon { margin-top: .15em; }
/* Footer grid: 4 columns → brand on top + 3 columns → brand, 2 link lists side by side, contact. */
.gu-footer > .wp-block-columns {
	display: grid !important;
	grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
	gap: var(--wp--preset--spacing--40) clamp(1.5rem, 4vw, 3rem) !important;
}
.gu-footer > .wp-block-columns > .wp-block-column { flex-basis: auto !important; min-width: 0; }
@media (max-width: 1099px) {
	.gu-footer > .wp-block-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gu-footer > .wp-block-columns > .wp-block-column:first-child { grid-column: 1 / -1; }
	.gu-footer__muted { max-width: 60ch; }
}
@media (max-width: 599px) {
	.gu-footer > .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem !important; }
	.gu-footer > .wp-block-columns > .wp-block-column:last-child { grid-column: 1 / -1; }
	.gu-footer__bottom { flex-direction: column; align-items: flex-start !important; gap: .35rem !important; }
	/* Room for the floating WhatsApp button. */
	.gu-footer { padding-bottom: 5.5rem !important; }
}
.gu-footer__contact .gu-contact span { overflow-wrap: anywhere; }

.gu-footer__sep { border-color: rgba(255, 255, 255, .12) !important; opacity: 1; }
.gu-footer__bottom { color: rgba(255, 255, 255, .55); padding-right: 4.5rem; }
.gu-footer__bottom p { margin: 0; }

.gu-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.gu-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: rgba(255, 255, 255, .08);
}
.gu-social a:hover { background: var(--gu-accent); color: #fff !important; }

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.gu-rounded img { border-radius: var(--gu-radius-l); }

.is-style-gu-card {
	padding: var(--wp--preset--spacing--40);
	background: #fff;
	border: 1px solid var(--gu-line);
	border-radius: var(--gu-radius-m);
	box-shadow: var(--wp--preset--shadow--soft);
}

.gu-tags a {
	display: inline-block; padding: .3rem .8rem; margin: 0 .25rem .35rem 0;
	border-radius: 999px; background: var(--gu-surface);
	color: var(--gu-navy); font-size: var(--wp--preset--font-size--x-small); text-decoration: none;
}
.gu-tags .wp-block-post-terms__separator { display: none; }

.gu-wa-float {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5rem; height: 3.5rem;
	border-radius: 50%;
	background: var(--gu-whatsapp);
	color: #fff;
	box-shadow: 0 10px 25px rgba(31, 175, 84, .4);
	transition: transform .2s var(--gu-ease);
}
.gu-wa-float:hover { transform: scale(1.07); color: #fff; }
.gu-wa-float .gu-icon { width: 1.75rem; height: 1.75rem; }

/* Elementor full-width pages: no gap between header and content. */
.gu-full-width > .wp-block-post-content > *,
.gu-elementor-main > * { margin-block-start: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
