/* Search palette follows the homepage product section; scoped to search only. */
.search .utility-page {
    --ink: #073a72;
    --muted: #4d6884;
    --blue-dark: #006db8;
    --soft: #f8fafc;
    --ice: #eef5f8;
    --line: #d6e3ec;
}

/* Search results template. */
.andeli-search-results { padding: 72px 0 104px; background: var(--soft); }
.andeli-search-results__form { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 12px 30px rgb(7 58 114 / 4%); }
.andeli-search-results__form label { display: block; margin-bottom: 14px; color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }
.andeli-search-results__field { display: flex; gap: 12px; }
.andeli-search-results__field input { box-sizing: border-box; flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.andeli-search-results__field input::placeholder { color: var(--muted); }
.andeli-search-results__field input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.andeli-search-results__field button { display: inline-flex; gap: 28px; align-items: center; justify-content: space-between; min-width: 144px; padding: 0 20px; border: 1px solid var(--blue-dark); border-radius: 8px; background: var(--blue-dark); color: #fff; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.andeli-search-results__field button:hover { border-color: #005a98; background: #005a98; }
.andeli-search-results__field button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.andeli-search-results__summary { display: flex; align-items: center; margin: 44px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.andeli-search-results__summary p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.andeli-search-results__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.andeli-search-results__card { display: flex; flex-direction: column; min-width: 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 12px 30px rgb(7 58 114 / 4%); transition: border-color .2s ease, box-shadow .2s ease; }
.andeli-search-results__card:hover, .andeli-search-results__card:focus-within { border-color: var(--blue); box-shadow: 0 18px 38px rgba(1, 56, 113, .1); }
.andeli-search-results__type { margin: 0 0 18px; color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }
.andeli-search-results__card h2 { display: -webkit-box; margin: 0 0 14px; overflow: hidden; color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.andeli-search-results__card h2 a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.andeli-search-results__card h2 a:hover { color: var(--blue); }
.andeli-search-results__excerpt { display: -webkit-box; margin-bottom: 24px; overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.andeli-search-results__excerpt p { margin: 0; }
.andeli-search-results__read { display: inline-flex; gap: 12px; align-items: center; align-self: flex-start; margin-top: auto; color: var(--blue-dark); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.andeli-search-results__read span, .andeli-search-results__empty a span { color: var(--blue); font-size: 18px; }
.andeli-search-results__read:hover { color: var(--blue); }
.andeli-search-results__card a:focus-visible, .andeli-search-results__pagination a:focus-visible, .andeli-search-results__empty a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.andeli-search-results__pagination { display: flex; justify-content: center; margin-top: 40px; }
.andeli-search-results__pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.andeli-search-results__pagination :is(a, span) { display: grid; min-width: 42px; min-height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--blue-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.andeli-search-results__pagination :is(a:hover, .current) { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.andeli-search-results__empty { max-width: 860px; padding: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.andeli-search-results__empty h2 { margin: 0 0 12px; color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1.35; }
.andeli-search-results__empty p { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.andeli-search-results__empty a { color: var(--blue-dark); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }

@media (max-width: 760px) {
	.andeli-search-results { padding: 52px 0 72px; }
	.andeli-search-results__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.andeli-search-results__form { padding: 20px; }
	.andeli-search-results__field { flex-direction: column; }
	.andeli-search-results__field button { min-height: 50px; }
	.andeli-search-results__summary { margin-top: 34px; }
	.andeli-search-results__card { padding: 24px 22px; }
	.andeli-search-results__empty { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.andeli-search-results__card { transition: none; }
}

/* Confirmation layout inspired by MUTERRA; typography and buttons use GINALMP sources. */
.thank-you { --utility-button-hover: #005a98; padding-top: 48px; padding-bottom: 88px; }
.thank-you__card { display: grid; grid-template-columns: .91fr 1.09fr; min-height: 540px; overflow: hidden; border: 1px solid #e9edef; border-radius: 28px; background: #fff; box-shadow: 0 22px 52px rgb(3 17 35 / 6%); }
.thank-you__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: clamp(40px, 4vw, 76px); }
.thank-you__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border: 1px solid var(--blue); border-radius: 50%; background: var(--ice); color: var(--blue); }
.thank-you__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thank-you h1 { margin: 0; color: var(--ink); font-size: clamp(36px, 4vw, 56px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.thank-you__message { margin-top: 24px; }
.thank-you__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.thank-you__visual { display: flex; align-items: center; min-width: 0; margin: 0; padding: 32px; border-radius: 220px 0 0 220px; background: #f5f8fc; }
.thank-you__visual img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 960px) {
	.thank-you__card { grid-template-columns: 1fr; }
	.thank-you__visual { border-radius: 140px 0 0 0; }
}
@media (max-width: 760px) {
	.thank-you { padding-top: 24px; padding-bottom: 48px; }
	.thank-you__card { border-radius: 20px; }
	.thank-you__content { padding: 32px 24px; }
	.thank-you__actions { width: 100%; }
	.thank-you__actions .utility-button { width: 100%; }
	.thank-you__visual { padding: 24px 16px; }
}

.andeli-utility-layout .site-header { position: sticky; }
.utility-page { padding-top: 0; }
.utility-hero { padding: 48px 0 64px; background: var(--ice); }
.utility-hero nav { margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.utility-hero nav a { color: var(--blue); text-decoration: none; }
.utility-hero h1 { max-width: 1100px; margin: 12px 0 20px; color: var(--ink); font-size: clamp(32px, 4vw, 56px); line-height: 1.2; overflow-wrap: anywhere; letter-spacing: -.03em; }
.utility-hero p:last-child { max-width: 790px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.utility-eyebrow { color: var(--blue); font-weight: 600; letter-spacing: .1em; font-size: 14px; }
.utility-button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.utility-button--outline { background: #fff; color: var(--blue-dark); border-color: var(--line); }
.utility-button:hover { background: var(--utility-button-hover, var(--blue-dark)); color: #fff; border-color: var(--utility-button-hover, var(--blue-dark)); }
.utility-page a:focus-visible, .utility-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.utility-error { padding: 72px 0 100px; min-height: 360px; background: var(--soft); }
.utility-error__content { max-width: 908px; }
.utility-error__search { display: flex; gap: 12px; margin-bottom: 24px; }
.utility-error__search input { flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.utility-error__search input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.utility-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.utility-article { padding-top: 64px; padding-bottom: 88px; }
.utility-prose { color: #394858; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.utility-prose p { margin: 0 0 22px; }
.utility-prose h2 { margin: 42px 0 18px; color: var(--ink); font-size: clamp(23px, 2.2vw, 30px); line-height: 1.35; font-weight: 600; }
.utility-prose a { color: var(--blue); text-underline-offset: 3px; }
@media (max-width: 640px) {
 .utility-hero { padding: 30px 0 42px; }
 .utility-hero nav { margin-bottom: 24px; }
 .utility-error { padding: 44px 0 60px; }
 .utility-error__search { flex-direction: column; }
 .utility-actions .utility-button { flex: 1 1 100%; }
 .utility-article { padding-top: 40px; padding-bottom: 56px; }
}
