/*
Theme Name: MeGloves
Theme URI: https://www.megloves.com
Author: MeGloves
Description: A focused, responsive B2B disposable glove catalogue and RFQ theme.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: megloves
*/

:root {
	--navy: #082f67;
	--navy-deep: #05234e;
	--blue: #155da8;
	--coral: #e67e82;
	--coral-dark: #cc656b;
	--ink: #10233e;
	--muted: #627087;
	--line: #dce4ee;
	--soft: #f3f7fb;
	--white: #ffffff;
	--green: #16866f;
	--shadow: 0 22px 65px rgba( 8, 47, 103, .11 );
	--radius: 24px;
	--container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-160%); background: var(--white); color: var(--navy); padding: 10px 18px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

h1, h2, h3 { margin: 0 0 .45em; color: var(--navy-deep); font-weight: 760; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.25em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--coral-dark); font-size: .75rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; background: currentColor; content: ""; }
.eyebrow--light { color: #ffb2b5; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 999px; padding: 13px 25px; font-size: .93rem; font-weight: 760; line-height: 1; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(230,126,130,.42); outline-offset: 3px; }
.button--primary { background: var(--coral); color: var(--navy-deep); box-shadow: 0 13px 28px rgba(230,126,130,.26); }
.button--primary:hover { background: #ef9295; }
.button--light { background: var(--white); color: var(--navy); }
.button--outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.button--outline:hover { background: var(--navy); color: var(--white); }
.button--small { min-height: 44px; padding: 11px 20px; font-size: .85rem; }
.text-link, .card-link, .mail-link, .aside-email { color: var(--navy); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(8,47,103,.22); text-underline-offset: 5px; }

.topbar { background: var(--navy-deep); color: #dceaff; font-size: .76rem; }
.topbar__inner { display: flex; min-height: 35px; align-items: center; justify-content: space-between; }
.topbar a { color: var(--white); font-weight: 700; }
.site-header { position: relative; z-index: 100; border-bottom: 1px solid rgba(8,47,103,.08); background: rgba(255,255,255,.97); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 8px 35px rgba(8,47,103,.08); }
.header__inner { display: flex; min-height: 108px; align-items: center; gap: 26px; }
.brand { display: block; width: 180px; height: 85px; flex: 0 0 180px; overflow: hidden; border-radius: 6px; }
.brand img, .brand .custom-logo { display: block; width: 180px; height: 85px; object-fit: contain; object-position: center; }
.custom-logo-link { display: block; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; border-radius: 10px; padding: 10px 12px; color: #2c3e58; font-size: .86rem; font-weight: 690; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: var(--soft); color: var(--navy); }
.menu-toggle { display: none; width: 45px; height: 45px; margin-left: auto; border: 0; border-radius: 12px; background: var(--soft); padding: 10px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 23px; height: 2px; margin: 4px auto; background: var(--navy); transition: .2s ease; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 58%, #fff1f1 100%); }
.hero--home { background-image: linear-gradient(90deg, rgba(4,29,65,.88) 0%, rgba(4,29,65,.66) 46%, rgba(4,29,65,.12) 100%), var(--hero-home); background-position: center; background-size: cover; }
.hero--home::before { display: none; }
.hero--home .hero__grid { grid-template-columns: 1fr; }
.hero--home .hero__content { max-width: 760px; }
.hero--home h1 { max-width: none; color: var(--white); font-size: clamp(2.25rem, 5vw, 5.2rem); text-shadow: 0 3px 20px rgba(0,0,0,.22); }
.hero-title-line { white-space: nowrap; }
.hero--home .hero__lead { color: #e4eef9; }
.hero--home .text-link { color: var(--white); text-decoration-color: rgba(255,255,255,.55); }
.hero--home .hero__proof strong { color: var(--white); }
.hero--home .hero__proof span { color: #d2e0ef; }
.hero::before { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(8,47,103,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(8,47,103,.045) 1px, transparent 1px); background-size: 42px 42px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__grid { position: relative; display: grid; min-height: 720px; align-items: center; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); padding-block: 75px; }
.hero__content { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero__lead { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero__actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.hero__proof { display: flex; gap: 42px; margin-top: 54px; }
.hero__proof div { display: grid; }
.hero__proof strong { color: var(--navy); font-size: 1.45rem; line-height: 1.1; }
.hero__proof span { color: var(--muted); font-size: .76rem; }
.hero__visual { position: relative; min-height: 540px; }
.hero-image { position: absolute; top: 60px; right: 2%; width: 86%; aspect-ratio: 1 / 1; overflow: hidden; border: 12px solid rgba(255,255,255,.7); border-radius: 48% 52% 38% 62% / 40% 36% 64% 60%; background: linear-gradient(145deg, #d7ebff, #b7d8fa); box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-image::after { position: absolute; inset: auto -10% -26% 18%; height: 58%; border-radius: 50%; background: rgba(255,255,255,.33); content: ""; }
.hero-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 13%; filter: drop-shadow(0 30px 28px rgba(5,35,78,.22)); transform: rotate(-8deg) scale(1.08); }
.hero-card { position: absolute; z-index: 3; display: grid; min-width: 180px; border: 1px solid rgba(255,255,255,.78); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 18px 44px rgba(8,47,103,.13); backdrop-filter: blur(12px); }
.hero-card--back { top: 22px; left: 0; padding: 17px 20px; }
.hero-card--back span, .hero-card small { color: var(--muted); font-size: .72rem; }
.hero-card--back strong { color: var(--navy); font-size: 1.15rem; }
.hero-card--front { right: 0; bottom: 25px; display: flex; align-items: center; gap: 13px; padding: 15px 18px; }
.hero-card--front div { display: grid; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: #2db792; box-shadow: 0 0 0 6px rgba(45,183,146,.14); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero__orb--one { right: -110px; top: -110px; width: 360px; height: 360px; background: rgba(230,126,130,.12); }
.hero__orb--two { left: 43%; bottom: -180px; width: 460px; height: 460px; background: rgba(21,93,168,.08); }

.trust-strip { border-top: 1px solid rgba(8,47,103,.06); border-bottom: 1px solid rgba(8,47,103,.08); background: var(--white); }
.trust-strip__inner { display: flex; min-height: 86px; align-items: center; gap: 42px; }
.trust-strip__inner > span { flex: 0 0 auto; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.trust-strip__inner > div { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; }
.trust-strip b { color: #60718a; font-size: .87rem; letter-spacing: .015em; }

.section { padding-block: clamp(76px, 9vw, 125px); }
.section--soft { background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-heading > p { max-width: 480px; margin-bottom: 10px; color: var(--muted); }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.family-card { position: relative; display: flex; min-height: 172px; align-items: flex-end; gap: 16px; overflow: hidden; border: 1px solid rgba(8,47,103,.08); border-radius: 22px; background: var(--family-bg); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.family-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.family-card__icon { position: absolute; top: -34px; right: -22px; color: rgba(8,47,103,.08); font-size: 8.4rem; line-height: 1; }
.family-card h3 { margin-bottom: 6px; font-size: 1.45rem; }
.family-card p { margin: 0; color: #617086; font-size: .84rem; }
.family-card__arrow { margin-left: auto; color: var(--navy); font-size: 1.35rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 25px rgba(8,47,103,.035); transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-card__image { position: relative; display: block; aspect-ratio: 1.25 / 1; overflow: hidden; background: linear-gradient(145deg, #f4f8fc, #edf4fa); }
.product-card__image::after { position: absolute; right: -25%; bottom: -54%; width: 100%; height: 100%; border-radius: 50%; background: rgba(21,93,168,.045); content: ""; }
.product-card__image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 12%; transition: transform .35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.06) rotate(-2deg); }
.product-card__family { position: absolute; z-index: 2; top: 16px; left: 16px; border: 1px solid rgba(8,47,103,.1); border-radius: 999px; background: rgba(255,255,255,.86); padding: 5px 10px; color: var(--navy); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.product-card__body { display: flex; min-height: 235px; flex-direction: column; padding: 23px; }
.product-card__body h2, .product-card__body h3 { font-size: 1.1rem; line-height: 1.25; }
.product-card__body p { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .84rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card__body .card-link { margin-top: auto; font-size: .8rem; }
.product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.quote-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--coral); color: var(--navy); font-size: 1.3rem; font-weight: 600; }

.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); }
.process-grid > div > p { max-width: 460px; color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; border-bottom: 1px solid var(--line); padding: 25px 0; }
.process-list li:first-child { padding-top: 0; }
.process-list li > span { color: var(--coral); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.process-list h3 { margin-bottom: 8px; font-size: 1.35rem; }
.process-list p { margin: 0; color: var(--muted); }
.compliance-band { background: var(--navy); color: #dce8f7; padding-block: clamp(48px, 5vw, 68px); }
.compliance-band__grid { display: grid; align-items: center; grid-template-columns: 130px 1fr auto; gap: 48px; }
.compliance-band h2 { color: var(--white); }
.compliance-band p { max-width: 780px; margin: 0; }
.compliance-mark { display: grid; width: 120px; height: 120px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.07); }
.compliance-mark span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--coral); color: var(--navy); font-size: 1.6rem; font-weight: 900; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--navy-deep), var(--navy)); color: #cfe1f6; padding-block: 46px; }
.page-hero::after { position: absolute; right: -8%; bottom: -110%; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 930px; color: var(--white); font-size: clamp(2.6rem, 5vw, 4.7rem); }
.page-hero p { max-width: 720px; margin: 0; color: #c7d8ec; font-size: 1.08rem; }
.page-hero--catalog { padding-block: 56px; }
.catalogue-section { padding-top: 55px; }
.catalogue-toolbar { position: sticky; z-index: 20; top: 78px; display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); padding: 12px; box-shadow: 0 14px 38px rgba(8,47,103,.07); backdrop-filter: blur(14px); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-pill { border: 0; border-radius: 999px; background: transparent; padding: 9px 13px; color: var(--muted); font-size: .8rem; font-weight: 750; }
.filter-pill span { color: #99a5b4; font-size: .68rem; }
.filter-pill.is-active { background: var(--navy); color: var(--white); }
.filter-pill.is-active span { color: #bfcee1; }
.catalogue-search { position: relative; flex: 0 1 245px; }
.catalogue-search input { width: 100%; height: 43px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); padding: 0 38px 0 16px; color: var(--ink); }
.catalogue-search > span { position: absolute; top: 5px; right: 13px; color: var(--navy); font-size: 1.3rem; }
.catalogue-count { margin-bottom: 22px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.empty-state { padding: 80px 20px; text-align: center; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 26px; color: #718098; font-size: .75rem; }
.breadcrumbs a { color: var(--navy); font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; color: var(--navy); font-weight: 800; }
.product-hero { background: linear-gradient(180deg, #f7fbff, var(--white)); }
.product-hero__grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(55px, 8vw, 110px); padding-block: 55px 100px; }
.product-gallery__main { position: relative; display: grid; min-height: 510px; place-items: center; overflow: hidden; border-radius: 34px; background: linear-gradient(145deg, #eaf3fb, #f8fbfd); }
.product-gallery__main::before { position: absolute; width: 75%; aspect-ratio: 1; border: 1px solid rgba(8,47,103,.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(8,47,103,.025); }
.product-gallery__main img { position: relative; z-index: 1; width: 82%; max-height: 430px; object-fit: contain; filter: drop-shadow(0 30px 28px rgba(5,35,78,.17)); }
.product-summary h1 { font-size: clamp(2.5rem, 4.4vw, 4.5rem); }
.product-summary__lead { color: var(--muted); font-size: 1.08rem; }
.feature-list { display: grid; gap: 11px; margin: 28px 0 34px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.feature-list li span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #dcf4ed; color: var(--green); font-size: .72rem; font-weight: 900; }
.product-summary__actions { display: flex; align-items: center; gap: 22px; }
.microcopy { margin: 15px 0 0; color: #8793a4; font-size: .74rem; }
.product-details__grid { display: grid; align-items: start; grid-template-columns: 1fr .9fr; gap: clamp(55px, 9vw, 130px); }
.product-details__grid > div > p { color: var(--muted); }
.spec-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.spec-card h2 { margin: 0; background: var(--navy); padding: 24px 28px; color: var(--white); font-size: 1.3rem; }
.spec-card dl { margin: 0; }
.spec-card dl > div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 28px; }
.spec-card dl > div:last-child { border: 0; }
.spec-card dt { color: var(--navy); font-size: .77rem; font-weight: 800; text-transform: uppercase; }
.spec-card dd { margin: 0; color: var(--muted); font-size: .9rem; }
.notice { margin-top: 28px; border-left: 4px solid var(--coral); border-radius: 0 12px 12px 0; background: #fff3f3; padding: 17px 20px; color: #536077; font-size: .86rem; }
.notice--legal { margin-bottom: 24px; }
.source-note { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.source-note p { max-width: 760px; margin: 0; color: var(--muted); }

.content-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) 340px; gap: 75px; }
.entry-content { max-width: 820px; }
.entry-content > *:first-child { margin-top: 0; }
.application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.application-card { position: relative; min-height: 210px; margin: 0; overflow: hidden; border-radius: 18px; background: var(--navy); box-shadow: var(--shadow); }
.application-card img { display: block; width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.application-card figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; width: fit-content; max-width: calc(100% - 28px); border-radius: 999px; background: rgba(8,47,103,.9); color: var(--white); padding: 8px 13px; font-weight: 750; }
.entry-content h2 { margin-top: 1.3em; font-size: 2rem; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content p, .entry-content li { color: #536177; }
.entry-content a:not(.button) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.page-aside { position: sticky; top: 115px; border-radius: 24px; background: var(--soft); padding: 30px; }
.page-aside h2 { font-size: 1.45rem; }
.page-aside p { color: var(--muted); }
.page-aside .button { width: 100%; }
.aside-email { display: block; margin-top: 20px; text-align: center; font-size: .86rem; }

.rfq-form { margin-top: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); padding: clamp(22px, 4vw, 40px); box-shadow: 0 16px 45px rgba(8,47,103,.07); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 12px; margin-bottom: 14px; }
.rfq-form label { display: block; margin-bottom: 14px; color: var(--navy-deep); font-size: .78rem; font-weight: 750; }
.rfq-form .form-grid label { margin-bottom: 0; }
.rfq-form label > span { color: var(--coral-dark); }
.rfq-form label > .required-mark { display: inline-block; margin-right: 4px; color: var(--coral-dark); font-size: 1.05rem; font-weight: 900; line-height: 1; vertical-align: -1px; }
.rfq-form input:not([type="checkbox"]), .rfq-form select, .rfq-form textarea { width: 100%; border: 1px solid #cfd9e5; border-radius: 11px; background: #fbfdff; padding: 12px 14px; color: var(--ink); font-weight: 450; }
.rfq-form input:not([type="checkbox"]), .rfq-form select, .rfq-form textarea { display: block; margin-top: 6px; }
.rfq-form input:not([type="checkbox"]), .rfq-form select { height: 48px; min-height: 48px; }
.rfq-form textarea { resize: vertical; }
.rfq-form input::placeholder, .rfq-form textarea::placeholder { color: #98a4b5; }
.rfq-form .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .74rem; font-weight: 500; }
.rfq-form .consent input { margin-top: 5px; accent-color: var(--navy); }
.rfq-form .consent span { color: inherit; }
.product-interest { min-inline-size: 0; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; }
.product-interest legend { margin: 0 0 8px; padding: 0; color: var(--navy-deep); font-size: .78rem; font-weight: 750; line-height: 1.3; }
.product-interest legend span { color: var(--muted); font-weight: 500; }
.product-interest__options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.rfq-form label.product-interest__option { display: inline-flex !important; width: auto !important; align-items: center; gap: 7px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0; background: transparent !important; color: var(--ink); font-size: .78rem; font-weight: 650; cursor: pointer; }
.rfq-form .product-interest__option input { width: 17px; height: 17px; margin: 0; accent-color: var(--navy); flex: 0 0 auto; }
.rfq-form .product-interest__option span { color: var(--ink) !important; }
.form-note { margin: 15px 0 0; color: #8793a4; font-size: .72rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.turnstile-wrap { margin: 0 0 14px; min-height: 65px; }
.form-alert { margin: 0 0 22px; border-radius: 12px; padding: 14px 18px; }
.form-alert--success { background: #dcf4ed; color: #0f705c; }
.form-alert--error { background: #fff0f0; color: #a63f48; }

.footer-cta { background: var(--coral); color: var(--navy-deep); padding-block: 58px; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.footer-cta h2 { color: var(--navy-deep); font-size: clamp(2rem, 3.5vw, 3.1rem); }
.footer-cta p { max-width: 700px; margin: 0; }
.footer-cta .eyebrow--light { color: var(--navy); }
.site-footer { background: #021a3c; color: #b9cbe1; padding: 72px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-brand img { width: 220px; height: 104px; margin-bottom: 20px; border-radius: 6px; object-fit: contain; object-position: center; }
.footer-brand p { max-width: 300px; }
.site-footer h3 { color: var(--white); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.site-footer a:hover { color: var(--white); }
.footer-email { color: var(--white); font-weight: 700; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 58px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: #8499b4; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 25px; }

@media (max-width: 1100px) {
	.header__cta { display: none; }
	.product-grid { grid-template-columns: repeat(3, 1fr); }
	.hero__grid { grid-template-columns: 1fr .8fr; gap: 30px; }
	.compliance-band__grid { grid-template-columns: 100px 1fr; }
	.compliance-band__grid > .button { grid-column: 2; justify-self: start; }
	.compliance-mark { width: 92px; height: 92px; }
	.footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
	.topbar__inner > span { display: none; }
	.topbar__inner { justify-content: center; }
	.header__inner { min-height: 92px; }
	.brand { width: 160px; height: 76px; flex-basis: 160px; }
	.brand img, .brand .custom-logo { width: 160px; height: 76px; }
	.menu-toggle { display: block; }
	.primary-nav { position: fixed; z-index: 90; inset: 105px 16px auto; max-height: calc(100vh - 125px); overflow-y: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--white); padding: 16px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: .2s ease; }
	.primary-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
	.primary-nav ul { align-items: stretch; flex-direction: column; }
	.primary-nav a { padding: 13px 14px; }
	.hero { min-height: 0; }
	.hero__grid { min-height: 0; grid-template-columns: 1fr; padding-block: 75px 35px; }
	.hero__visual { width: min(100%, 600px); min-height: 510px; margin-inline: auto; }
	.hero__content { max-width: 760px; }
	.family-grid { grid-template-columns: repeat(2, 1fr); }
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid, .product-hero__grid, .product-details__grid, .content-layout { grid-template-columns: 1fr; }
	.process-grid { gap: 65px; }
	.product-gallery__main { min-height: 450px; }
	.page-aside { position: static; }
	.catalogue-toolbar { position: static; align-items: stretch; flex-direction: column; }
	.catalogue-search { flex-basis: auto; }
	.compliance-band__grid { grid-template-columns: 1fr; }
	.compliance-band__grid > .button { grid-column: auto; }
	.compliance-mark { display: none; }
	.trust-strip__inner { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 23px; }
	.trust-strip__inner > div { flex-wrap: wrap; justify-content: flex-start; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
	.container { width: min(calc(100% - 28px), var(--container)); }
	.application-grid { grid-template-columns: 1fr; }
	h1 { font-size: 2.85rem; }
	.hero__grid { padding-top: 55px; }
	.hero__actions, .product-summary__actions, .section-heading, .source-note, .footer-cta__inner { align-items: stretch; flex-direction: column; }
	.hero__actions .button, .product-summary__actions .button, .footer-cta .button { width: 100%; }
	.hero__proof { justify-content: space-between; gap: 12px; }
	.hero__visual { min-height: 395px; }
	.hero-image { top: 45px; right: 3%; width: 92%; border-radius: 38px; }
	.hero-card--back { top: 5px; left: 4px; }
	.hero-card--front { right: 4px; bottom: 5px; }
	.family-grid, .product-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }

	.family-card { min-height: 145px; }
	.product-card__body { min-height: 210px; }
	.section-heading { align-items: flex-start; gap: 16px; }
	.page-hero { padding-block: 40px; }
	.page-hero h1 { font-size: 2.7rem; }
	.filter-pills { display: grid; grid-template-columns: repeat(3, 1fr); }
	.filter-pill { padding-inline: 8px; }
	.product-gallery__main { min-height: 330px; }
	.product-hero__grid { padding-block: 35px 70px; }
	.spec-card dl > div { grid-template-columns: 1fr; gap: 5px; }
	.process-list li { grid-template-columns: 45px 1fr; gap: 12px; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
