/* ==========================================================
   Jayant Pipe Syndicate: main stylesheet
   ========================================================== */
:root {
	--navy: #0d2747;
	--navy-2: #163a66;
	--blue: #1659c7;
	--blue-d: #0f47a3;
	--accent: #f39c32;
	--accent-d: #db8318;
	--ink: #1b2430;
	--muted: #5b6676;
	--line: #e3e8ef;
	--alt: #f4f6fa;
	--white: #fff;
	--ok: #127a3e;
	--err: #b42318;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(13, 39, 71, .06), 0 4px 16px rgba(13, 39, 71, .06);
	--shadow-lg: 0 10px 40px rgba(13, 39, 71, .18);
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.jp-ico { flex: none; vertical-align: middle; }

.screen-reader-text, .jp-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jp-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
.jp-skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.jp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.jp-section { padding: 64px 0; }
.jp-section--alt { background: var(--alt); }
.jp-h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.jp-h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.jp-h3 { font-size: 1.3rem; }
.jp-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 .6em; }
.jp-eyebrow--light { color: var(--accent); }

/* ---------- Buttons ---------- */
.jp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 2px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.jp-btn:active { transform: translateY(1px); }
.jp-btn--primary { background: var(--blue); color: #fff; }
.jp-btn--primary:hover { background: var(--blue-d); color: #fff; }
.jp-btn--accent { background: var(--accent); color: #1d1300; }
.jp-btn--accent:hover { background: var(--accent-d); color: #1d1300; }
.jp-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.jp-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.jp-btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.jp-btn--outline:hover { background: var(--blue); color: #fff; }
.jp-btn--sm { padding: 8px 14px; font-size: .88rem; }
.jp-btn--lg { padding: 14px 26px; font-size: 1rem; }
.jp-btn--block { width: 100%; }
.jp-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .92rem; }
.jp-link .jp-ico { width: 16px; height: 16px; transition: transform .15s; }
.jp-link:hover .jp-ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.jp-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.jp-header__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.jp-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.jp-brand:hover { color: var(--ink); }
.jp-brand__mark svg, .jp-brand__logo { width: 48px; height: 48px; object-fit: contain; }
.jp-brand__text { display: flex; flex-direction: column; min-width: 0; }
.jp-brand__text strong { font-size: 1.25rem; color: var(--navy); letter-spacing: -.01em; }
.jp-brand__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); }
.jp-brand__meta .jp-ico { width: 14px; height: 14px; }
.jp-header__actions { display: flex; align-items: center; gap: 14px; }
.jp-callbox { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.jp-callbox__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e8f0fd; color: var(--blue); }
.jp-callbox small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.jp-callbox strong { font-size: 1.05rem; color: var(--navy); }

.jp-nav { background: var(--navy); color: #fff; }
.jp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; }
.jp-nav__toggle { display: none; align-items: center; gap: 8px; background: none; border: 0; color: #fff; padding: 10px 0; font-weight: 600; }
.jp-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.jp-menu > li { position: relative; }
.jp-menu a { display: block; padding: 13px 16px; color: #e6edf7; font-size: .92rem; font-weight: 600; }
.jp-menu > li > a { position: relative; }
.jp-menu a:hover { color: #fff; background: var(--navy-2); }
.jp-menu > li.current-menu-item > a, .jp-menu > li.current_page_item > a, .jp-menu > li.current-menu-ancestor > a, .jp-menu > li.current-menu-parent > a { color: #fff; background: var(--navy-2); }
.jp-menu > li.current-menu-item > a::before, .jp-menu > li.current_page_item > a::before, .jp-menu > li.current-menu-ancestor > a::before, .jp-menu > li.current-menu-parent > a::before { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.jp-menu .sub-menu .current-menu-item > a { color: var(--blue); background: var(--alt); }
.jp-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.jp-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.jp-menu li:hover > .sub-menu, .jp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.jp-menu .sub-menu a { color: var(--ink); font-weight: 500; padding: 9px 18px; }
.jp-menu .sub-menu a:hover { background: var(--alt); color: var(--blue); }

.jp-search { display: flex; align-items: stretch; height: 38px; background: #fff; border: 2px solid #fff; border-radius: 8px; overflow: hidden; width: 320px; transition: border-color .15s, box-shadow .15s; }
.jp-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(243, 156, 50, .25); }
.jp-search input { flex: 1; height: 100%; border: 0; margin: 0; padding: 0 12px; background: transparent; color: var(--ink); font: inherit; font-size: .9rem; min-width: 0; outline: none; -webkit-appearance: none; appearance: none; }
.jp-search input::-webkit-search-cancel-button { cursor: pointer; }
.jp-search button { flex: 0 0 40px; height: 100%; margin: 0; border: 0; border-radius: 6px; background: var(--blue); color: #fff; padding: 0; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.jp-search button:hover { background: var(--navy-2); }
.jp-search button .jp-ico { width: 18px; height: 18px; }

.jp-notice { padding: 14px 0; font-weight: 600; }
.jp-notice .jp-container { display: flex; align-items: center; gap: 8px; }
.jp-notice--ok { background: #e7f6ee; color: var(--ok); }
.jp-notice--err { background: #fdecea; color: var(--err); }

/* ---------- Category strip ---------- */
.jp-catstrip { border-bottom: 1px solid var(--line); background: #fff; }
.jp-catstrip__list { display: flex; justify-content: space-between; gap: 8px; overflow-x: auto; padding-top: 18px; padding-bottom: 18px; scrollbar-width: thin; }
.jp-catstrip__item { flex: 1 0 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--ink); font-size: .85rem; font-weight: 600; line-height: 1.3; padding: 6px; border-radius: var(--radius); transition: background .15s; }
.jp-catstrip__item:hover { background: var(--alt); color: var(--blue); }
.jp-catstrip__img { width: 120px; height: 80px; flex: none; border-radius: 10px; overflow: hidden; background: #eef2f7; box-shadow: inset 0 0 0 1px var(--line); }
.jp-catstrip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.jp-catstrip__item:hover .jp-catstrip__img img { transform: scale(1.06); }

/* ---------- Hero ---------- */
.jp-hero { background: radial-gradient(1200px 500px at 85% 20%, #1d4f8c 0%, transparent 60%), linear-gradient(135deg, #0a2140 0%, var(--navy) 55%, #102f57 100%); color: #dbe5f2; padding: 72px 0; overflow: hidden; position: relative; }
.jp-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.jp-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.jp-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.02em; }
.jp-hero h1 span { color: var(--accent); }
.jp-hero__lead { font-size: 1.08rem; max-width: 600px; }
.jp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.jp-hero__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.jp-hero__stats li { padding: 12px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.jp-hero__stats strong { display: block; font-size: 1.35rem; color: #fff; }
.jp-hero__stats span { font-size: .82rem; }
.jp-hero__visual { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 440px; }
.jp-hero__tile { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.jp-hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.jp-hero__tile span { position: absolute; left: 12px; bottom: 12px; background: rgba(13,39,71,.88); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.jp-hero__tile--a { grid-row: span 2; }

/* ---------- About ---------- */
.jp-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.jp-about__text { color: var(--muted); font-size: 1.02rem; }
.jp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jp-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.jp-facts__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px; background: #e8f0fd; color: var(--blue); }
.jp-facts small { display: block; color: var(--muted); font-size: .78rem; }
.jp-facts strong { font-size: .92rem; color: var(--navy); word-break: break-word; }

/* ---------- Products ---------- */
.jp-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.jp-section__head--center { justify-content: center; text-align: center; }
.jp-catblock + .jp-catblock { margin-top: 48px; }
.jp-catblock__head { margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--accent); }
.jp-catblock__head h3 { font-size: 1.3rem; margin: 0 0 2px; }
.jp-catblock__head h3 a { color: var(--navy); }
.jp-catblock__head h3 a:hover { color: var(--blue); }
.jp-catblock__head p { margin: 0; color: var(--muted); font-size: .92rem; }

.jp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jp-product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.jp-product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.jp-product__img { display: block; aspect-ratio: 5 / 4; background: #f1f4f8; overflow: hidden; }
.jp-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.jp-product:hover .jp-product__img img { transform: scale(1.04); }
.jp-product__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.jp-product__title { font-size: 1.02rem; margin: 0 0 8px; }
.jp-product__title a { color: var(--navy); }
.jp-product__title a:hover { color: var(--blue); }
.jp-product__specs { margin: 0 0 14px; font-size: .84rem; color: var(--muted); }
.jp-product__specs div { margin-bottom: 3px; }
.jp-product__specs dt { display: inline; color: var(--ink); font-weight: 600; }
.jp-product__specs dd { display: inline; margin: 0; }
.jp-product__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Brands ---------- */

/* ---------- Why ---------- */
.jp-why { padding-top: 0; }
.jp-why__list { list-style: none; margin: 0; padding: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; background: var(--alt); border-radius: 14px; }
/* When following the Achievements section (which fades to --alt), continue its background and flip the card to white. */
.jp-achievements + .jp-why { background: var(--alt); padding-bottom: 72px; }
.jp-achievements + .jp-why .jp-why__list { background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(15, 35, 70, .06); }
.jp-why__list .jp-ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 10px; }
.jp-why__list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.jp-why__list p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.jp-contact { background: var(--navy); color: #c9d6e8; padding: 72px 0; }
.jp-contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.jp-contact h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.jp-contact__lead { font-size: 1.02rem; }
.jp-desk { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jp-desk li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 12px 14px; }
.jp-desk span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.jp-desk a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; word-break: break-all; }
.jp-desk .jp-ico { width: 16px; height: 16px; opacity: .7; }
.jp-addresses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: .88rem; }
.jp-addresses h3 { color: #fff; font-size: .95rem; display: flex; align-items: center; gap: 6px; }
.jp-addresses h3 .jp-ico { width: 18px; height: 18px; color: var(--accent); }
.jp-addresses p { margin-bottom: .4em; }
.jp-addresses a { color: #fff; }
.jp-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-lg); }
.jp-contact__form h3 { font-size: 1.3rem; }

/* ---------- Forms ---------- */
.jp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.jp-field--full { grid-column: 1 / -1; }
.jp-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.jp-field label span { color: var(--err); }
.jp-field input, .jp-field select, .jp-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd7e2; border-radius: 8px; font: inherit; font-size: .93rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.jp-field textarea { resize: vertical; }
.jp-field input:focus, .jp-field select:focus, .jp-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 89, 199, .15); }
.jp-phone { display: flex; }
.jp-phone span { display: grid; place-items: center; padding: 0 10px; border: 1px solid #cfd7e2; border-right: 0; border-radius: 8px 0 0 8px; background: var(--alt); font-size: .9rem; color: var(--muted); }
.jp-phone input { border-radius: 0 8px 8px 0; }
.jp-form__status { font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.jp-form__status:empty { display: none; }
.jp-form__status.is-ok { color: var(--ok); background: #e7f6ee; padding: 12px; border-radius: 8px; }
.jp-form__status.is-err { color: var(--err); background: #fdecea; padding: 12px; border-radius: 8px; }
.jp-form__note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.jp-form__note .jp-ico { width: 14px; height: 14px; }
.jp-form.is-loading button[type=submit] { opacity: .7; pointer-events: none; }

/* ---------- Modal ---------- */
.jp-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.jp-modal[hidden] { display: none; }
.jp-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 38, .6); animation: jp-fade .2s; }
.jp-modal__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 14px; padding: 28px; box-shadow: var(--shadow-lg); animation: jp-pop .2s; }
.jp-modal__panel h2 { font-size: 1.35rem; padding-right: 30px; }
.jp-modal__close { position: absolute; top: 14px; right: 14px; border: 0; background: var(--alt); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.jp-modal__close:hover { background: var(--line); }
body.jp-modal-open { overflow: hidden; }
@keyframes jp-fade { from { opacity: 0; } }
@keyframes jp-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Archive / single ---------- */
.jp-pagehead { background: var(--alt); padding: 36px 0 30px; border-bottom: 1px solid var(--line); }
.jp-pagehead p { color: var(--muted); max-width: 760px; margin: 0; }
.jp-crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.jp-crumbs a { color: var(--muted); }
.jp-crumbs a:hover { color: var(--blue); }
.jp-container.jp-crumbs { padding-top: 20px; margin-bottom: 0; }
.jp-crumbs span { color: var(--ink); }
.jp-archive { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.jp-archive__side { position: sticky; top: 140px; }
.jp-archive__side h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.jp-archive__side ul { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.jp-archive__side li + li { border-top: 1px solid var(--line); }
.jp-archive__side a { display: flex; justify-content: space-between; padding: 11px 14px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.jp-archive__side a:hover { background: var(--alt); color: var(--blue); }
.jp-archive__side a.is-active { background: var(--blue); color: #fff; }
.jp-archive__side small { color: inherit; opacity: .6; }
.jp-archive__help { background: var(--navy); color: #c9d6e8; padding: 20px; border-radius: var(--radius); font-size: .9rem; }
.jp-archive__help strong { color: #fff; font-size: 1rem; }
.jp-empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius); }

.jp-single { padding-top: 24px; }
.jp-single__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.jp-single__mediawrap { position: sticky; top: 140px; }
.jp-single__media { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #f1f4f8; }
.jp-single__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.jp-single__excerpt { font-size: 1.05rem; color: var(--muted); }
.jp-spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; font-size: .93rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.jp-spec-table th, .jp-spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.jp-spec-table th { width: 38%; background: var(--alt); color: var(--navy); font-weight: 600; }
.jp-spec-table tr:last-child th, .jp-spec-table tr:last-child td { border-bottom: 0; }
.jp-single__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.jp-single__call { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.jp-single__call a { font-weight: 700; }
.jp-single__content { margin-top: 48px; }
.jp-prose { max-width: 820px; color: #3a4554; }

/* ---------- Footer ---------- */
.jp-footer { background: #081a30; color: #9fb0c7; font-size: .9rem; }
.jp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.jp-footer__name { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.jp-footer__gst { font-size: .82rem; }
.jp-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.jp-footer ul { list-style: none; margin: 0; padding: 0; }
.jp-footer li { margin-bottom: 8px; }
.jp-footer a { color: #c4d1e3; display: inline-flex; align-items: center; gap: 6px; }
.jp-footer a:hover { color: #fff; }
.jp-footer .jp-ico { width: 16px; height: 16px; }
.jp-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: .82rem; }

/* ---------- Floating buttons ---------- */
.jp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.jp-float a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .15s; }
.jp-float a:hover { transform: scale(1.08); color: #fff; }
.jp-float .jp-ico { width: 24px; height: 24px; }
.jp-float__wa { background: #25d366; }
.jp-float__call { background: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.jp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jp-search { width: 220px; }
}
@media (max-width: 900px) {
	.jp-hero__grid, .jp-about__grid, .jp-contact__grid, .jp-single__grid { grid-template-columns: minmax(0, 1fr); }
	html, body { overflow-x: hidden; }
	.jp-hero__visual { height: 320px; }
	.jp-grid, .jp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jp-archive { grid-template-columns: 1fr; }
	.jp-archive__side { position: static; }
	.jp-single__mediawrap { position: static; }
	.jp-why__list { grid-template-columns: 1fr 1fr; }
	.jp-footer__grid { grid-template-columns: 1fr 1fr; }
	.jp-addresses { grid-template-columns: 1fr 1fr; }

	.jp-nav__toggle { display: inline-flex; }
	.jp-nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg); }
	.jp-nav__menu.is-open { display: block; }
	.jp-nav { position: relative; }
	.jp-menu { flex-direction: column; padding: 8px 0; }
	.jp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--navy-2); border-radius: 0; padding: 0; }
	.jp-menu .sub-menu a { color: #dbe5f2; padding-left: 32px; }
	.jp-menu .sub-menu a:hover { background: transparent; color: #fff; }
	.jp-menu .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.jp-section { padding: 44px 0; }
	.jp-hide-sm { display: none !important; }
	.jp-brand__text strong { font-size: 1.05rem; }
	.jp-brand__mark svg, .jp-brand__logo { width: 40px; height: 40px; }
	.jp-header__actions .jp-btn span { display: none; }
	.jp-header__actions .jp-btn { padding: 10px; }
	.jp-search { width: auto; flex: 1; max-width: 220px; }
	.jp-hero { padding: 44px 0; }
	.jp-hero__visual { height: 240px; gap: 10px; }
	.jp-grid, .jp-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.jp-product__body { padding: 12px; }
	.jp-product__specs { display: none; }
	.jp-product__actions { flex-direction: column; align-items: stretch; }
	.jp-product__actions .jp-link { justify-content: center; }
	.jp-facts, .jp-desk, .jp-addresses, .jp-form__grid { grid-template-columns: 1fr; }
	.jp-why__list { grid-template-columns: 1fr; padding: 24px; }
	.jp-footer__grid { grid-template-columns: 1fr; }
	.jp-card, .jp-modal__panel { padding: 20px; }
	.jp-catstrip__item { flex: 0 0 100px; }
	.jp-catstrip__img { width: 88px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- About page ---------- */
.jp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.jp-about__grid--page { align-items: start; }
.jp-about__photo { border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.jp-about__photo img { width: 100%; height: auto; }
.jp-catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jp-catcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.jp-catcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); }
.jp-catcard__img { aspect-ratio: 16 / 9; background: #f1f4f8; overflow: hidden; }
.jp-catcard__img img { width: 100%; height: 100%; object-fit: cover; }
.jp-catcard__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.jp-catcard__body strong { color: var(--navy); font-size: 1.05rem; }
.jp-catcard__body span { color: var(--muted); font-size: .88rem; }
.jp-locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jp-location { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.jp-location h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.jp-location p { color: var(--muted); font-size: .93rem; }
.jp-location__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; }
.jp-location__links a { display: inline-flex; align-items: center; gap: 6px; }
.jp-location__links .jp-ico { width: 16px; height: 16px; }
@media (max-width: 900px) {
	.jp-catgrid, .jp-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.jp-catgrid, .jp-locations { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contact page ---------- */
.jp-section--tight { padding: 40px 0; }
.jp-desks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.jp-desk-card { display: flex; flex-direction: column; gap: 2px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.jp-desk-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.jp-desk-card .jp-facts__icon { margin-bottom: 10px; }
.jp-desk-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.jp-desk-card strong { color: var(--navy); font-size: 1.05rem; word-break: break-word; }
.jp-desk-card small { color: var(--muted); font-size: .82rem; }
.jp-contactpage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.jp-contactpage__intro { color: var(--muted); margin-bottom: 18px; }
.jp-contactpage__side { display: flex; flex-direction: column; gap: 20px; }
.jp-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #e9eef4; aspect-ratio: 4 / 3; }
.jp-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.jp-contactpage__office h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.jp-contactpage__office h3 .jp-ico { color: var(--accent); }
.jp-contactpage__office p { color: var(--muted); font-size: .95rem; }
.jp-contactpage__gst strong { color: var(--navy); }
@media (max-width: 1100px) { .jp-desks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .jp-contactpage { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .jp-desks { grid-template-columns: 1fr 1fr; gap: 10px; } .jp-desk-card { padding: 14px; } }

/* ---------- Brands marquee ---------- */
.jp-brands { overflow: hidden; }
.jp-marquee-row + .jp-marquee-row { margin-top: 28px; }
.jp-marquee-row__label { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.jp-marquee { position: relative; overflow: hidden; padding: 6px 0 14px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.jp-marquee__track { display: flex; width: max-content; animation: jp-marquee var(--jp-marquee-duration, 40s) linear infinite; }
.jp-marquee--reverse .jp-marquee__track { animation-direction: reverse; }
.jp-marquee:hover .jp-marquee__track { animation-play-state: paused; }
@keyframes jp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.jp-sr-list { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }

.jp-brand-card { flex: none; width: 200px; height: 130px; margin-right: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.jp-brand-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.jp-brand-card__logo { height: 60px; width: 100%; display: flex; align-items: center; justify-content: center; }
.jp-brand-card__logo img { max-height: 60px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.jp-brand-card:hover .jp-brand-card__logo img { filter: none; opacity: 1; }
.jp-brand-card__initials { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; box-shadow: inset 0 0 0 3px rgba(243, 156, 50, .9); }
.jp-brand-card__name { font-size: .88rem; font-weight: 700; color: var(--navy); text-align: center; line-height: 1.25; }

@media (max-width: 640px) {
	.jp-brand-card { width: 150px; height: 112px; margin-right: 12px; padding: 12px; }
	.jp-brand-card__logo, .jp-brand-card__logo img { max-height: 46px; height: 46px; }
	.jp-brand-card__initials { width: 46px; height: 46px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.jp-marquee { -webkit-mask-image: none; mask-image: none; }
	.jp-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; padding: 0 20px; }
	.jp-brand-card--dup { display: none; }
}
/* Name-only brand cards (no logo uploaded yet) */
.jp-brand-card--text { height: 90px; }
.jp-brand-card--text .jp-brand-card__name { font-size: 1.05rem; letter-spacing: -.005em; }
@media (max-width: 640px) { .jp-brand-card--text { height: 76px; } .jp-brand-card--text .jp-brand-card__name { font-size: .92rem; } }

/* ---------- Achievements ---------- */
[hidden] { display: none !important; }
.jp-achievements { background: linear-gradient(180deg, #fff 0%, var(--alt) 100%); }
.jp-ach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jp-ach { all: unset; box-sizing: border-box; cursor: zoom-in; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.jp-ach:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.jp-ach:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.jp-ach__frame { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.jp-ach__frame img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 4px 10px rgba(13, 39, 71, .15)); }
.jp-ach__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.jp-ach__body strong { color: var(--navy); font-size: 1rem; line-height: 1.3; }
.jp-ach__body small { color: var(--muted); font-size: .84rem; }

.jp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.jp-filter button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.jp-filter button:hover { border-color: var(--blue); color: var(--blue); }
.jp-filter button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.jp-lightbox__panel { position: relative; width: 100%; max-width: 980px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.4fr 1fr; animation: jp-pop .2s; }
.jp-lightbox__media { background: #eef1f6; display: flex; align-items: center; justify-content: center; padding: 20px; min-height: 320px; }
.jp-lightbox__media img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; }
.jp-lightbox__info { padding: 32px 28px; }
.jp-lightbox__info h2 { font-size: 1.4rem; padding-right: 30px; }
.jp-lightbox__meta { font-weight: 600; color: var(--navy); }
.jp-lightbox__desc { color: var(--muted); }
.jp-lightbox__media[hidden] + .jp-lightbox__info { grid-column: 1 / -1; }

@media (max-width: 1100px) { .jp-ach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .jp-lightbox__panel { grid-template-columns: 1fr; } .jp-lightbox__media { min-height: 0; } }
@media (max-width: 640px) { .jp-ach-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .jp-ach__body { padding: 10px 12px 12px; } .jp-ach__body strong { font-size: .9rem; } }

.jp-credit { margin: 8px 2px 0; font-size: .75rem; color: var(--muted); }
.jp-credit a { color: var(--muted); text-decoration: underline; }

/* ---------- Header logo (Appearance → Customize → Site Identity) ---------- */
.jp-brand--logo { flex-direction: column; align-items: flex-start; gap: 4px; }
.jp-brand__logoimg { display: block; height: 56px; width: auto; max-width: 100%; }
@media (max-width: 640px) {
	.jp-brand--logo { min-width: 0; flex: 1 1 auto; }
	.jp-brand__logoimg { height: 34px; }
}

/* ---------- Multi-select product picker (quote form) ---------- */
.jp-label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.jp-label small { font-weight: 400; color: var(--muted); }
.jp-multi { position: relative; }
.jp-multi__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #cfd7e2; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .93rem; text-align: left; transition: border-color .15s, box-shadow .15s; }
.jp-multi__toggle:hover { border-color: #9fb0c7; }
.jp-multi__toggle:focus-visible, .jp-multi.is-open .jp-multi__toggle { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 89, 199, .15); }
.jp-multi__summary { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--navy); }
.jp-multi__summary.is-empty { font-weight: 400; color: var(--ink); }
.jp-multi__chev { flex: none; color: var(--muted); transition: transform .15s; }
.jp-multi.is-open .jp-multi__chev { transform: rotate(180deg); }
.jp-multi__panel { margin-top: 6px; border: 1px solid #cfd7e2; border-radius: 8px; background: #fff; box-shadow: var(--shadow); max-height: 280px; overflow-y: auto; padding: 4px 0 0; }
.jp-multi__group { margin: 0; padding: 10px 14px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jp-multi__opt { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: .92rem; cursor: pointer; }
.jp-multi__opt:hover { background: var(--alt); }
.jp-multi__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex: none; }
.jp-multi__opt input:checked + span { font-weight: 600; color: var(--navy); }
.jp-multi__foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; margin-top: 6px; background: #fff; border-top: 1px solid var(--line); }
.jp-multi__clear { border: 0; background: none; color: var(--muted); font-size: .88rem; font-weight: 600; padding: 6px 0; }
.jp-multi__clear:hover { color: var(--err); }
/* Product picker options: undo the generic .jp-field label/input styles. */
.jp-field .jp-multi__opt { display: flex; align-items: center; gap: 12px; margin: 0; padding: 9px 14px; font-size: .93rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.jp-field .jp-multi__opt span { color: inherit; }
.jp-field .jp-multi__opt input[type=checkbox] { flex: none; width: 18px; height: 18px; margin: 0; padding: 0; border: 0; border-radius: 4px; box-shadow: none; background: none; accent-color: var(--blue); cursor: pointer; }
.jp-field .jp-multi__opt input[type=checkbox]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.jp-field .jp-multi__opt input:checked + span { font-weight: 600; color: var(--navy); }
.jp-multi__group { padding: 12px 14px 4px; }

/* ---------- Catalogues page ---------- */
.jp-pagehead__intro p { margin: 0; color: var(--muted); max-width: 760px; }
.jp-catalogues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jp-catalogue { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.jp-catalogue:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.jp-catalogue__cover { display: flex; align-items: center; justify-content: center; padding: 18px; background: #eef2f7; border-right: 1px solid var(--line); min-height: 260px; }
.jp-catalogue__cover img { width: 100%; height: 100%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(13, 39, 71, .22)); transition: transform .25s; }
.jp-catalogue:hover .jp-catalogue__cover img { transform: scale(1.04); }
.jp-catalogue__nocover .jp-ico { width: 56px; height: 56px; color: var(--muted); }
.jp-catalogue__body { padding: 22px 24px; display: flex; flex-direction: column; }
.jp-catalogue__brand { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.jp-catalogue__title { font-size: 1.15rem; margin: 0 0 8px; }
.jp-catalogue__desc { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.jp-catalogue__meta { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin: 0 0 16px; }
.jp-catalogue__meta .jp-ico { width: 16px; height: 16px; color: var(--err); }
.jp-catalogue__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.jp-catalogues__cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 14px; background: var(--navy); color: #c9d6e8; }
.jp-catalogues__cta strong { color: #fff; font-size: 1.15rem; }
.jp-catalogues__cta p { margin: 4px 0 0; }
@media (max-width: 1000px) { .jp-catalogues { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
	.jp-catalogue { grid-template-columns: 120px minmax(0, 1fr); }
	.jp-catalogue__cover { min-height: 0; padding: 12px; }
	.jp-catalogue__body { padding: 16px; }
}
