/*
Theme Name: FlowEco
Theme URI: https://www.floweco-jo.com/
Author: Flow & Ecology for Chemical Industries
Description: Studio-pastel theme for FlowEco water treatment chemicals. Built for WooCommerce quote-based catalogues.
Version: 1.0.8
Requires at least: 6.3
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: floweco
*/

:root {
	--ink: #0E1E3D;
	--ink-2: #3E4A63;
	--muted: #5A6378;
	--ground: #F7F6F3;
	--line: #E1DED7;
	--line-2: #D9D6CE;
	--chip: #F2F1ED;
	--blue: #1D5DA3;
	--blue-light: #9CC2E8;
	--eco: #9AA0FA;
	--wa: #25D366;
	--wa-ink: #08341F;
	--radius-xl: 32px;
	--radius-l: 26px;
	--radius-m: 22px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
button { font: inherit; }
h1, h2, h3 { margin: 0; }

.fe-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 12px 16px; border-radius: 8px; }
.fe-skip:focus { left: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.fe-w { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.fe-em { font-style: italic; font-weight: 500; color: var(--blue); }
.fe-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fe-eyebrow--blue { color: var(--blue); }
.fe-h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.fe-h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.fe-lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.fe-muted { color: var(--muted); }
.fe-section { padding: 120px 0; }
.fe-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.fe-head-row p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 430px; }

/* Buttons & links */
.fe-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.fe-pill:hover { transform: translateY(-2px); }
.fe-pill--dark { background: var(--ink); color: #fff; }
.fe-pill--dark:hover { color: #fff; }
.fe-pill--blue { background: var(--blue); color: #fff; }
.fe-pill--blue:hover { color: #fff; }
.fe-pill--light { background: #fff; color: var(--ink); }
.fe-pill--wa { background: var(--wa); color: var(--wa-ink); }
.fe-pill--wa:hover { color: var(--wa-ink); }
.fe-tl { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* Header */
.fe-header { background: var(--ground); position: relative; z-index: 20; }
.fe-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.fe-brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.fe-brand img { height: 30px; width: auto; }
.fe-brand__div { width: 1px; height: 28px; background: linear-gradient(180deg, rgba(14,30,61,0), rgba(14,30,61,.28) 30%, rgba(14,30,61,.28) 70%, rgba(14,30,61,0)); }
.fe-brand__name { display: flex; flex-direction: column; justify-content: center; gap: 3px; white-space: nowrap; text-transform: uppercase; }
.fe-brand__l1 { font-size: 11.5px; line-height: 1; font-weight: 700; letter-spacing: .24em; color: var(--ink); }
.fe-brand__l2 { font-size: 9px; line-height: 1; font-weight: 500; letter-spacing: .29em; color: var(--muted); }
.fe-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.fe-nav a { display: inline-block; padding: 12px 0; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.fe-nav a:hover, .fe-nav .current-menu-item > a, .fe-nav a[aria-current="page"] { color: var(--blue); }
.fe-header__cta { display: flex; align-items: center; gap: 12px; }
.fe-menu-btn { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.fe-hero { position: relative; overflow: hidden; border-radius: var(--radius-xl); min-height: 700px; display: flex; flex-wrap: wrap; align-items: center;
	background: radial-gradient(ellipse 60% 70% at 12% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%), linear-gradient(180deg, #D9E6F6 0%, #DFE9F7 64%, #E9EFF8 64%, #F1F4FA 100%); }
.fe-hero__copy { position: relative; z-index: 2; flex: 1 1 460px; min-width: 0; padding: 72px 0 72px 72px; }
.fe-hero__copy p { margin: 26px 0 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 470px; }
.fe-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 38px; }
.fe-hero__stage { position: relative; flex: 1 1 560px; min-width: 0; height: 640px; }
.fe-hero__stage img { position: absolute; height: auto; }

/* Motion */
@keyframes fe-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fe-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fe-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fe-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.fe-bob { animation: fe-bob 6s ease-in-out infinite; }
.fe-rise { animation: fe-rise .9s var(--ease) both; }
.fe-pop { animation: fe-pop .5s var(--ease) both; }

/* Marquee */
.fe-marquee { margin-top: 40px; background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; }
.fe-marquee__track { display: flex; width: max-content; animation: fe-slide 38s linear infinite; font-size: 22px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.fe-marquee__track span { padding: 0 28px; }
.fe-marquee__track b { color: var(--blue-light); font-weight: 600; }
.fe-marquee__track i { color: var(--muted); font-style: normal; }

/* Steps */
.fe-steps { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 1px solid var(--line); }
.fe-steps li { padding: 28px 28px 0 0; }
.fe-steps__n { font-size: 14px; font-weight: 700; color: var(--blue); }
.fe-steps__t { font-size: 30px; font-weight: 700; margin-top: 16px; letter-spacing: -.02em; }
.fe-steps__d { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 10px; }

/* Studio stage (shared) */
.fe-studio { position: relative; overflow: hidden;
	background: radial-gradient(ellipse 70% 60% at 18% 18%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%), linear-gradient(180deg, var(--wall, #E6EDF7) 0%, var(--wall, #E6EDF7) 70%, var(--floor, #F0F4FA) 70%); }

/* Family tiles */
.fe-grid { display: grid; gap: 24px; }
.fe-grid--fam { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); margin-top: 56px; }
.fe-grid--prod { grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 22px; margin-top: 18px; }
.fe-tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: var(--radius-l); overflow: hidden; background: #fff; transition: transform .35s var(--ease), box-shadow .35s ease; }
.fe-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(14,30,61,.12); color: var(--ink); }
.fe-tile img { transition: transform .5s var(--ease); }
.fe-tile:hover img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.fe-tile__stage { height: 300px; }
.fe-tile__num { position: absolute; left: 26px; top: 20px; font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: rgba(14,30,61,.10); }
.fe-tile__stage img { position: absolute; left: 22%; bottom: 8px; width: 66%; }
.fe-tile__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.fe-tile__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.fe-tile__code { font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.fe-tile__title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.fe-tile__line { font-size: 15px; line-height: 1.55; color: var(--muted); }
.fe-tile__more { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--blue); }

/* Product card */
.fe-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; transition: transform .35s var(--ease), box-shadow .35s ease; }
.fe-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(14,30,61,.12); }
.fe-card img { transition: transform .5s var(--ease); }
.fe-card:hover img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.fe-card__stage { display: block; height: 270px; }
.fe-card__stage img { position: absolute; left: 16%; bottom: 8px; width: 74%; }
.fe-badge { position: absolute; right: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--blue); }
.fe-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.fe-card__fam { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.fe-card__name { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.fe-card__desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; flex-grow: 1; }
.fe-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.fe-chips span { padding: 6px 10px; border-radius: 999px; background: var(--chip); }
.fe-quote-btn { margin-top: 18px; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.fe-quote-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Shop toolbar */
.fe-crumbs { font-size: 14px; color: var(--muted); }
.fe-crumbs a { color: var(--muted); text-decoration: none; }
.fe-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 44px; }
.fe-search { position: relative; flex: 1 1 280px; min-width: 0; max-width: 380px; }
.fe-search svg { position: absolute; left: 18px; top: 17px; }
.fe-search input { width: 100%; min-height: 52px; padding: 0 20px 0 48px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.fe-search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.fe-filter { display: flex; flex-wrap: wrap; gap: 8px; flex: 999 1 600px; min-width: 0; }
.fe-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fe-chip:hover { border-color: var(--ink); color: var(--ink); }
.fe-chip.is-on, .fe-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fe-fam-banner { border-radius: var(--radius-l); padding: 36px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; }
.fe-fam-banner h2 { font-size: 30px; letter-spacing: -.02em; margin-top: 8px; }
.fe-fam-banner p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 8px 0 0; max-width: 720px; }
.fe-empty { padding: 80px 0; text-align: center; font-size: 17px; color: var(--muted); }

/* Spotlight / bands */
.fe-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); display: flex; flex-wrap: wrap; align-items: center; min-height: 600px; }
.fe-pills-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fe-pills-row span { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; }
.fe-dark { background: var(--ink); color: #fff; }
.fe-dark p { color: #C9D3E4; }
.fe-shelf { position: relative; height: 300px; border-radius: 28px 28px 0 0; overflow: hidden; margin-top: 64px; }
.fe-shelf img { position: absolute; bottom: 10px; width: 24%; }

/* Cert cards */
.fe-certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-top: 52px; }
.fe-cert { background: #fff; border-radius: var(--radius-m); padding: 30px; min-height: 190px; display: flex; flex-direction: column; gap: 8px; }
.fe-cert b { font-size: 26px; }
.fe-cert span { font-size: 15px; color: var(--muted); flex-grow: 1; }

.fe-industries { margin-top: 96px; border-top: 1px solid var(--line); padding-top: 44px; display: flex; flex-wrap: wrap; gap: 48px; }
.fe-industries ul { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); column-gap: 32px; }
.fe-industries li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.fe-industries li b { font-size: 14px; color: var(--blue); }

.fe-cta { border-radius: var(--radius-xl); padding: 80px 72px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px;
	background: radial-gradient(ellipse 60% 80% at 10% 10%, rgba(255,255,255,.8), rgba(255,255,255,0) 60%), #D8EEF0; }
.fe-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Single product */
.fe-pdp { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 28px; align-items: stretch; }
.fe-pdp__stage { flex: 1 1 560px; min-width: 0; height: 640px; border-radius: var(--radius-xl); }
.fe-pdp__stage img { position: absolute; left: 14%; bottom: 6%; width: 76%; }
.fe-pdp__ghost { position: absolute; left: 32px; top: 24px; font-size: 120px; font-weight: 800; letter-spacing: -.05em; color: rgba(14,30,61,.07); }
.fe-pdp__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.fe-pdp__sub { margin: 18px 0 0; font-size: 22px; line-height: 1.4; font-weight: 500; font-style: italic; color: var(--accent, var(--blue)); }
.fe-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.fe-specs div { background: #fff; border-radius: 18px; padding: 18px; }
.fe-specs small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.fe-specs strong { display: block; font-size: 19px; margin-top: 6px; }
.fe-buy { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.fe-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; }
.fe-qty button { width: 48px; height: 48px; border: 0; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.fe-qty output { min-width: 40px; text-align: center; font-weight: 600; }
.fe-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.fe-tabs button { min-height: 48px; padding: 0 4px; margin-right: 28px; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; }
.fe-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.fe-panel { padding: 36px 0 0; min-height: 220px; }
.fe-panel[hidden] { display: none; }
.fe-table { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 16px; }
.fe-table th { text-align: left; padding: 16px 0; font-weight: 600; width: 45%; }
.fe-table td { padding: 16px 0; color: var(--ink-2); }
.fe-table tr { border-bottom: 1px solid var(--line); }
.fe-doc { display: flex; align-items: center; gap: 16px; min-width: 300px; padding: 22px 24px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--ink); }
.fe-doc small { display: block; font-size: 14px; color: var(--muted); }

/* About */
.fe-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--line); }
.fe-stats div { padding: 32px 24px 0 0; }
.fe-stats b { display: block; font-size: 56px; font-weight: 800; letter-spacing: -.04em; color: var(--blue); }
.fe-stats span { font-size: 15px; color: var(--muted); }
.fe-quote { margin: 0; max-width: 980px; }
.fe-quote blockquote { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.18; font-weight: 500; font-style: italic; letter-spacing: -.02em; }
.fe-quote figcaption { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--muted); }
.fe-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-top: 52px; }
.fe-values div { border-radius: 24px; padding: 32px; min-height: 220px; transition: transform .3s ease; }
.fe-values div:hover { transform: translateY(-4px); }
.fe-values small { font-size: 14px; font-weight: 700; color: var(--blue); }
.fe-values b { display: block; font-size: 26px; margin-top: 40px; }
.fe-values span { display: block; font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 8px; }

/* Quote page */
.fe-contact { display: flex; flex-wrap: wrap; gap: 56px; }
.fe-contact__side { flex: 1 1 360px; min-width: 0; }
.fe-contact__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fe-contact__list small { font-size: 14px; color: var(--muted); }
.fe-contact__list strong { font-size: 17px; text-align: right; }
.fe-formcard { flex: 999 1 560px; min-width: 0; background: #fff; border-radius: var(--radius-xl); padding: 48px; }
.fe-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px; }
.fe-form .full { grid-column: 1 / -1; }
.fe-form label, .fe-form legend { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fe-form fieldset { border: 0; margin: 0; padding: 0; }
.fe-form legend { margin-bottom: 10px; padding: 0; }
.fe-input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); }
.fe-input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.fe-hp { position: absolute; left: -9999px; }
.fe-picked { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-picked span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 600; }
.fe-picked button { width: 28px; height: 28px; border-radius: 999px; border: 0; background: #fff; cursor: pointer; }
.fe-notice { border-radius: 18px; padding: 18px 22px; font-size: 15px; font-weight: 500; margin-bottom: 24px; }
.fe-notice--ok { background: #DEEFD8; color: #1F5A3C; }
.fe-notice--err { background: #F8DCCF; color: #7A2E1A; }

/* Generic page */
.fe-page { padding: 48px 0 120px; }
.fe-page .entry { max-width: 820px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* Footer */
.fe-footer { background: var(--ink); color: #B8C2D6; padding: 80px 0 36px; font-size: 15px; }
.fe-footer a { color: #B8C2D6; text-decoration: none; }
.fe-footer a:hover { color: #fff; }
.fe-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.fe-footer__mark { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.fe-footer__mark span { color: var(--eco); }
.fe-footer__mark .fe-footer__name { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #B8C2D6; }
.fe-footer__cols { display: flex; flex-wrap: wrap; gap: 64px; }
.fe-footer__cols div { display: flex; flex-direction: column; gap: 12px; }
.fe-footer__cols strong { color: #fff; font-weight: 600; }
.fe-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }

/* WhatsApp float */
.fe-wa { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--wa); color: var(--wa-ink); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(14,30,61,.22); transition: transform .2s ease; }
.fe-wa:hover { transform: translateY(-3px); color: var(--wa-ink); }

/* WooCommerce notices kept tidy */
.woocommerce-notices-wrapper:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
	.fe-bob, .fe-rise, .fe-pop, .fe-marquee__track { animation: none; }
	.fe-tile, .fe-card, .fe-tile img, .fe-card img { transition: none; }
}

@media (max-width: 960px) {
	.fe-nav { display: none; position: absolute; left: 0; right: 0; top: 88px; background: var(--ground); padding: 8px 18px 24px; border-bottom: 1px solid var(--line); }
	.fe-nav.is-open { display: block; }
	.fe-nav ul { flex-direction: column; gap: 0; }
	.fe-nav a { padding: 14px 0; font-size: 17px; }
	.fe-menu-btn { display: inline-flex; }
	.fe-brand__name, .fe-brand__div { display: none; }
}
@media (max-width: 820px) {
	.fe-w { padding: 0 18px; }
	.fe-section { padding: 80px 0; }
	.fe-hero__copy { padding: 48px 28px 0; }
	.fe-hero__stage { height: 320px; }
	.fe-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fe-steps__t { font-size: 24px; }
	.fe-band { min-height: 0; }
	.fe-cta { padding: 48px 28px; }
	.fe-formcard { padding: 28px; }
	.fe-pdp__stage { height: 420px; }
	.fe-specs { grid-template-columns: 1fr; }
	.fe-header__cta .fe-pill { padding: 0 18px; font-size: 14px; }
	.fe-wa span { display: none; }
	.fe-wa { padding: 0 16px; }
}

/* 1.0.2: keep the header on one line */
.fe-header__cta .fe-pill { white-space: nowrap; }
.fe-nav a { white-space: nowrap; }
@media (max-width: 1240px) { .fe-brand__name, .fe-brand__div { display: none; } .fe-nav ul { gap: 28px; } }

/* 1.0.6: certificate pop-up */
.fe-certlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-certlink { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.fe-certlink:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.fe-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px rgba(14,30,61,.35); overflow: hidden; }
.fe-dialog::backdrop { background: rgba(14,30,61,.55); backdrop-filter: blur(4px); }
.fe-dialog[open] { display: flex; flex-direction: column; animation: fe-pop .35s var(--ease) both; }
.fe-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 16px; }
.fe-dialog__head h2 { font-size: 24px; letter-spacing: -.01em; }
.fe-dialog__head p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.fe-dialog__x { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.fe-dialog__x:hover { background: var(--ink); color: #fff; }
.fe-dialog__body { flex: 1 1 auto; min-height: 0; overflow: auto; background: var(--chip); padding: 24px; display: flex; justify-content: center; }
.fe-dialog__body img { display: block; max-width: 100%; height: auto; max-height: calc(100vh - 260px); width: auto; box-shadow: 0 10px 30px rgba(14,30,61,.15); }
.fe-dialog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px 22px; }
.fe-dialog__foot .fe-pill { min-height: 46px; font-size: 15px; }
@media (max-width: 620px) { .fe-dialog { border-radius: 20px; } .fe-dialog__head, .fe-dialog__foot { padding-left: 18px; padding-right: 18px; } .fe-dialog__body { padding: 12px; } }

/* 1.0.7: tablet + phone base (phone details follow in "mobile polish") */
@media (max-width: 820px) {
	/* Side-by-side blocks stack full width instead of keeping desktop minimum widths. */
	[style*="flex: 1 1"], [style*="flex: 999 1"],
	.fe-hero__copy, .fe-hero__stage, .fe-pdp__stage, .fe-pdp__info,
	.fe-contact__side, .fe-formcard, .fe-industries ul, .fe-search { flex-basis: 100% !important; }
	.fe-h1 { font-size: 42px; }
	.fe-h2 { font-size: 34px; }
	.fe-head-row { gap: 18px; }
	.fe-hero { border-radius: 26px; }
	.fe-fam-banner { padding: 24px; margin-top: 24px; }
	.fe-fam-banner h2 { font-size: 24px; }
	.fe-buy .fe-pill { flex: 1 1 auto !important; }
	.fe-stats b { font-size: 44px; }
	.fe-values div { min-height: 0; }
	.fe-values b { margin-top: 20px; }
	.fe-cert { min-height: 0; }
	.fe-formcard { padding: 24px 20px; border-radius: 24px; }
	.fe-contact { gap: 32px; }
	.fe-contact__list strong { font-size: 15px; }
	.fe-footer { padding: 56px 0 96px; }
}
@media (max-width: 360px) {
	.fe-grid--prod { grid-template-columns: 1fr; }
}

/* 1.0.7: mobile polish */
@media (max-width: 620px) {
	/* Hero: bigger product group, less empty space */
	.fe-hero { min-height: 0; }
	.fe-hero__copy { padding: 36px 22px 0; }
	.fe-hero__copy p { font-size: 17px; }
	.fe-hero__stage { height: 280px; transform: scale(1.22); transform-origin: center bottom; margin-top: 30px; }

	/* Families: swipeable row instead of nine tall cards */
	.fe-grid--fam { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 36px -18px 0; padding: 0 18px 12px; scrollbar-width: none; }
	.fe-grid--fam::-webkit-scrollbar { display: none; }
	.fe-grid--fam .fe-tile { flex: 0 0 78%; scroll-snap-align: start; }
	.fe-tile__stage { height: 220px; }
	.fe-tile__num { font-size: 48px; }
	.fe-tile:hover, .fe-card:hover { transform: none; box-shadow: none; }

	/* Product grids: two compact columns */
	.fe-grid--prod { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fe-card { border-radius: 18px; }
	.fe-card__stage { height: 170px; }
	.fe-card__stage img { left: 10%; width: 86%; bottom: 4px; }
	.fe-card__body { padding: 14px 14px 16px; }
	.fe-card__fam { font-size: 11px; }
	.fe-card__name { font-size: 16px; }
	.fe-card__desc { font-size: 13px; line-height: 1.4; }
	.fe-chips { gap: 4px; margin-top: 10px; font-size: 11px; }
	.fe-chips span { padding: 4px 8px; }
	.fe-quote-btn { min-height: 44px; margin-top: 12px; font-size: 13px; }
	.fe-badge { right: 10px; top: 10px; }

	/* Shop toolbar: family chips scroll sideways */
	.fe-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
	.fe-filter::-webkit-scrollbar { display: none; }
	.fe-chip { flex: none; }
	.fe-search { max-width: none; }

	/* Spotlight + shelf: no tall empty areas */
	.fe-band > div:first-child { height: 340px !important; }
	.fe-band > div:last-child { padding: 8px 22px 36px !important; }
	.fe-shelf { height: 170px; margin-top: 40px; }

	/* Product page */
	.fe-pdp { gap: 28px; }
	.fe-pdp__stage { height: 360px; }
	.fe-pdp__ghost { font-size: 80px; }
	.fe-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.fe-specs div { padding: 12px; border-radius: 14px; }
	.fe-specs small { font-size: 11px; }
	.fe-specs strong { font-size: 15px; }
	.fe-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.fe-tabs button { flex: none; margin-right: 22px; }
	.fe-table th { width: 40%; font-size: 15px; }
	.fe-table td { font-size: 15px; }
	.fe-doc { min-width: 0; width: 100%; }

	/* Bigger tap areas in the footer */
	.fe-footer__cols { gap: 36px; }
	.fe-footer__cols div { gap: 0; }
	.fe-footer__cols a { display: block; padding: 10px 0; }
	.fe-footer__cols strong { margin-bottom: 4px; }

	/* Sections breathe less on a small screen */
	.fe-section { padding: 64px 0; }
	.fe-cta { padding: 40px 22px; }
	.fe-cta__actions .fe-pill { flex: 1 1 100%; }

	/* Keep the WhatsApp button clear of content edges */
	.fe-wa { right: 16px; bottom: 16px; }
}

/* 1.0.8: announcement bar (home page) */
.fe-announce { position: relative; background: linear-gradient(90deg, #DCE7F6 0%, #E8E4F7 50%, #D7ECEE 100%); color: var(--ink); border-bottom: 1px solid rgba(14,30,61,.06); }
.fe-announce__in { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding-top: 10px; padding-bottom: 10px; padding-right: 72px; padding-left: 72px; }
.fe-announce__dot { flex: none; position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--blue); }
.fe-announce__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 1.5px solid var(--blue); opacity: 0; animation: fe-ping 2.4s ease-out infinite; }
@keyframes fe-ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.fe-announce__text { flex: 0 1 auto; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; line-height: 1.45; font-weight: 500; text-align: center; }
.fe-announce__ar { font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.fe-announce__x { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255,255,255,.6); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s; }
.fe-announce__x:hover { background: #fff; }
@media (max-width: 820px) {
	.fe-announce__in { justify-content: flex-start; align-items: flex-start; gap: 12px; padding: 12px 64px 12px 18px; }
	.fe-announce__dot { margin-top: 7px; }
	.fe-announce__text { align-items: stretch; text-align: left; font-size: 13px; }
	.fe-announce__ar { text-align: right; }
	.fe-announce__x { right: 14px; top: 12px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .fe-announce__dot::after { animation: none; } }
