/* =========================================================================
   IPL theme — mobile-first base (PLAN §0-A). Layered up with min-width queries.
   Brand: red #C8202C · maroon #7B1E3B · blue #2E9BD6 · charcoal #2A2A2A
   ========================================================================= */

:root {
	--ipl-red: #C8202C;
	--ipl-red-dark: #A81923;
	--ipl-maroon: #7B1E3B;
	--ipl-maroon-dark: #611630;
	--ipl-blue: #48A8E4;
	--ipl-blue-dark: #2280BE;
	--ipl-charcoal: #2A2A2A;
	--ipl-muted: #6B6B6B;
	--ipl-light: #F7F7F7;
	--ipl-white: #FFFFFF;
	--ipl-border: #E4E4E4;
	--ipl-dark: #23262C;
	--ipl-dark-2: #16181C;

	--font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-head: 'Lora', Georgia, 'Times New Roman', serif;

	--container: 1200px;
	--gap: clamp(1rem, 3vw, 2rem);
	--radius: 10px;
	--shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
	--header-h: 88px;
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 110%; } /* +10% base size (client request) */
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ipl-charcoal);
	background: var(--ipl-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ipl-red); text-decoration: none; }
a:hover, a:focus { color: var(--ipl-red-dark); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ipl-charcoal); margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { margin: 0 0 1rem; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }

/* ---- Accessibility ---- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--ipl-red); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--ipl-blue); outline-offset: 2px; }

/* ---- Buttons ---- */
.btn {
	display: inline-block; font-weight: 600; font-family: var(--font-body);
	padding: .8rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-decoration: none;
}
.btn--primary { background: var(--ipl-red); color: #fff; border-color: var(--ipl-red); }
.btn--primary:hover, .btn--primary:focus { background: var(--ipl-red-dark); border-color: var(--ipl-red-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover, .btn--ghost:focus { background: #fff; color: var(--ipl-red); text-decoration: none; }

/* ---- Header / nav (mobile-first) ---- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff; border-bottom: 1px solid var(--ipl-border);
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.site-branding { display: flex; align-items: center; }
.site-branding .custom-logo, .site-branding img { max-height: 66px; width: auto; transition: max-height .2s ease; }

.nav-toggle {
	display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
	width: 44px; height: 44px; padding: 9px; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 3px; width: 100%; background: var(--ipl-red); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.primary-nav {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-bottom: 1px solid var(--ipl-border);
	max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.primary-nav.is-open { max-height: 70vh; overflow-y: auto; }
.primary-nav__list { list-style: none; margin: 0; padding: .5rem clamp(.75rem, 3vw, 1.25rem); }
.primary-nav__list li { border-top: 1px solid var(--ipl-light); }
.primary-nav__list li:first-child { border-top: 0; }
.primary-nav__list a {
	display: block;
	padding: .95rem 1rem;
	margin: .15rem 0;
	border-radius: 8px;
	color: var(--ipl-charcoal);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: .01em;
	border-left: 3px solid transparent;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.primary-nav__list a:hover,
.primary-nav__list a:focus {
	background: var(--ipl-light);
	color: var(--ipl-blue-dark);
	border-left-color: var(--ipl-blue);
	text-decoration: none;
}
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current_page_item > a {
	background: var(--ipl-red);
	color: #fff;
	border-left-color: var(--ipl-red);
}

/* ---- Hero slider ---- */
.hero-slider { position: relative; overflow: hidden; background: var(--ipl-red-dark); }
.hero-slider__viewport { position: relative; }
.hero-slider__track { display: flex; }
.hero-slide {
	position: relative; flex: 0 0 100%; width: 100%;
	min-height: clamp(380px, 62vh, 600px);
	display: flex; align-items: center;
	background-size: cover; background-position: center;
	background-color: var(--ipl-red-dark);
	margin-right: -100%; /* stack slides; JS toggles is-active opacity */
	opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; z-index: 1; }
.hero-slide__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.34); }
/* Content uses the site .container so its left edge lines up with "Who We Are" on every screen. */
.hero-slide__content { position: relative; z-index: 2; color: #fff; padding-block: 2rem; text-align: left; }
.hero-slide__title { color: #fff; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.8rem, 5vw, 3.25rem); margin-bottom: 1.25rem; max-width: 16ch; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-slide__text { font-size: clamp(1rem, 2.4vw, 1.2rem); margin-bottom: 1.75rem; max-width: 36ch; opacity: .97; }

.hero-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255,255,255,.18); color: #fff; font-size: 1.8rem; line-height: 1;
	display: none; align-items: center; justify-content: center; transition: background .18s;
}
.hero-slider__arrow:hover, .hero-slider__arrow:focus { background: var(--ipl-red); }
.hero-slider__arrow--prev { left: 14px; }
.hero-slider__arrow--next { right: 14px; }
.hero-slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 5; display: flex; gap: .5rem; justify-content: center; }
.hero-slider__dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .18s; }
.hero-slider__dot.is-active { background: #fff; }

@media (min-width: 768px) {
	.hero-slider.is-multi .hero-slider__arrow { display: inline-flex; }
}

/* ---- Shared section bits ---- */
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 700; color: var(--ipl-red); margin-bottom: .55rem; }
.lead { font-size: 1.08rem; color: #444; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); }
.btn--ghost-dark { color: var(--ipl-red); border-color: var(--ipl-red); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus { background: var(--ipl-red); color: #fff; }

/* ---- Home: intro ---- */
.home-intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.home-intro__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.home-intro .eyebrow { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: .4rem; }
.home-intro h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: .75rem; }
@media (min-width: 860px) {
	.home-intro__grid.has-image { grid-template-columns: 1.05fr .95fr; }
}

/* ---- Home: CEO message with photo ---- */
.ceo__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; max-width: 1000px; margin: 0 auto; }
.ceo__photo { text-align: center; }
.ceo__photo img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 5px solid var(--ipl-light); box-shadow: var(--shadow); margin: 0 auto; }
.ceo__name { margin-top: .85rem; font-weight: 700; color: var(--ipl-red); }
.ceo__name span { display: block; font-weight: 500; font-size: .9rem; color: var(--ipl-muted); }
@media (min-width: 760px) {
	.ceo__grid.has-photo { grid-template-columns: 240px 1fr; text-align: left; }
	.ceo__grid.has-photo .ceo__body { text-align: left; }
}

/* ---- Home: vision & mission ---- */
.vm { background: var(--ipl-light); }
.vm__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.vm__card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--ipl-red); overflow: hidden; }
.vm__card--mission { border-top-color: var(--ipl-blue); }
.vm__media { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--ipl-light); }
.vm__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vm__body { padding: clamp(1.5rem, 4vw, 2.25rem); }
.vm__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1rem; color: #fff; }
.vm__card--vision .vm__icon { background: linear-gradient(135deg, var(--ipl-red), var(--ipl-red-dark)); }
.vm__card--mission .vm__icon { background: linear-gradient(135deg, var(--ipl-blue), var(--ipl-blue-dark)); }
.vm__title { color: var(--ipl-red); margin-bottom: .75rem; }
.vm__card--mission .vm__title { color: var(--ipl-blue-dark); }
.vm__list { margin: 0; padding-left: 1.1rem; }
.vm__list li { margin-bottom: .5rem; }

/* ---- Home: CEO ---- */
.ceo__inner { max-width: 820px; text-align: center; margin: 0 auto; }
.ceo__quote { font-family: var(--font-head); font-size: clamp(1.2rem, 3vw, 1.6rem); font-style: italic; line-height: 1.5; color: var(--ipl-charcoal); border: 0; margin: 0 0 1.5rem; padding: 0; }

/* ---- Home: product categories ---- */
.cats { background: var(--ipl-light); }
.cats__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ipl-border); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cat-card:hover, .cat-card:focus { transform: translateY(-5px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card--red:hover, .cat-card--red:focus { border-color: var(--ipl-red); }
.cat-card--blue:hover, .cat-card--blue:focus { border-color: var(--ipl-blue); }
.cat-card__media { display: block; aspect-ratio: 800 / 540; overflow: hidden; background: var(--ipl-light); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { display: block; padding: 1.25rem 1.4rem 1.5rem; }
.cat-card__title { display: block; color: var(--ipl-charcoal); margin-bottom: .4rem; }

.cat-card__text { display: block; color: #555; font-size: .95rem; margin-bottom: .7rem; }
.cat-card__link { display: block; color: var(--ipl-red); font-weight: 600; font-size: .9rem; }
.cat-card--blue .cat-card__link { color: var(--ipl-blue-dark); }

/* ---- Home: distribution stat band (blue, from logo) ---- */
.dist-band { background: linear-gradient(135deg, var(--ipl-blue) 0%, var(--ipl-blue-dark) 100%); color: #fff; position: relative; }
.dist-band .stat__num { text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.dist-band .stat + .stat { position: relative; }
.dist-band__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 700; color: #fff; }
.stat__label { display: block; margin-top: .35rem; opacity: .9; font-size: .95rem; }

@media (min-width: 700px) {
	.vm__grid { grid-template-columns: 1fr 1fr; }
	.cats__grid { grid-template-columns: repeat(2, 1fr); }
	.dist-band__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
	.cats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Products page hero ---- */
.products-hero { position: relative; background: var(--ipl-red-dark); background-size: cover; background-position: center; color: #fff; }
.products-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.products-hero__inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.products-hero .breadcrumbs { color: rgba(255,255,255,.8); margin-bottom: .6rem; }
.products-hero .breadcrumbs a { color: #fff; }
.products-hero h1 { color: #fff; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .01em; }
.eyebrow--light { color: #fff; opacity: .85; }
.products-hero__intro { max-width: 720px; opacity: .95; }
.products-hero__intro p:last-child { margin-bottom: 0; }

/* ---- Products drill-down ---- */
.prod-search { display: flex; gap: .5rem; margin-bottom: 1.75rem; max-width: 560px; }
.prod-search input { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--ipl-border); border-radius: var(--radius); font: inherit; }
.prod-search input:focus { outline: 2px solid var(--ipl-blue); border-color: var(--ipl-blue); }
.prod-lead { color: var(--ipl-muted); margin-bottom: 1.25rem; }
.prod-subhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.prod-back { font-weight: 600; color: var(--ipl-charcoal); }
.prod-back:hover, .prod-back:focus { color: var(--ipl-red); text-decoration: none; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; border-width: 1px; }

.subcat-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.subcat-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--ipl-border); border-left: 4px solid var(--ipl-border); border-radius: var(--radius); padding: .95rem 1.2rem; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.subcat-card:hover, .subcat-card:focus { border-left-color: var(--ipl-red); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.subcat-card__name { font-weight: 600; color: var(--ipl-charcoal); }
.subcat-card:hover .subcat-card__name { color: var(--ipl-red); }
.subcat-card__count { flex: 0 0 auto; background: var(--ipl-light); color: var(--ipl-muted); border-radius: 999px; padding: .15rem .7rem; font-size: .82rem; font-weight: 600; }
@media (min-width: 620px) { .subcat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .subcat-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ---- Catalog layout with sidebar ---- */
.catalog-layout { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 3vw, 2rem); }

/* Sidebar — collapsible accordion */
.cat-nav { background: #fff; border: 1px solid var(--ipl-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cat-nav__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: .5rem; background: var(--ipl-red); color: #fff; border: 0; padding: .9rem 1.1rem; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; cursor: pointer; }
.cat-nav__toggle .cat-nav__chev { transition: transform .2s; }
.cat-nav.is-open .cat-nav__toggle .cat-nav__chev { transform: rotate(180deg); }
.cat-nav__body { display: none; }
.cat-nav.is-open .cat-nav__body { display: block; }
.cat-nav__heading { display: none; margin: 0; padding: .9rem 1.15rem; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: #fff; background: var(--ipl-red); }

.cat-nav__group { border-top: 1px solid var(--ipl-border); }
.cat-nav__group:first-child { border-top: 0; }
.cat-nav__head { display: flex; width: 100%; align-items: center; gap: .55rem; background: none; border: 0; padding: .85rem 1.1rem; font: inherit; font-weight: 600; color: var(--ipl-charcoal); cursor: pointer; text-align: left; }
.cat-nav__head:hover { background: var(--ipl-light); }
.cat-nav__head.is-current { color: var(--ipl-red); }
.cat-nav__name { flex: 1 1 auto; }
.cat-nav__chev { flex: 0 0 auto; transition: transform .2s ease; color: currentColor; }
.cat-nav__group.is-open > .cat-nav__head .cat-nav__chev { transform: rotate(180deg); }
.cat-nav__count { flex: 0 0 auto; font-size: .72rem; font-weight: 600; color: var(--ipl-muted); background: var(--ipl-light); border-radius: 999px; padding: .1rem .5rem; }

.cat-nav__list { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .28s ease; background: #fcfcfc; }
.cat-nav__group.is-open > .cat-nav__list { max-height: 1600px; }
.cat-nav__link { display: flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem .55rem 1.5rem; font-size: .9rem; color: #555; border-left: 3px solid transparent; }
.cat-nav__link > span:first-child { flex: 1 1 auto; }
.cat-nav__link:hover, .cat-nav__link:focus { background: var(--ipl-light); color: var(--ipl-red); text-decoration: none; }
.cat-nav__link.is-active { background: var(--ipl-red); color: #fff; font-weight: 600; border-left-color: var(--ipl-red-dark); }
.cat-nav__count--sub { background: rgba(0,0,0,.05); }
.cat-nav__link.is-active .cat-nav__count--sub { background: rgba(255,255,255,.22); color: #fff; }

@media (min-width: 900px) {
	.catalog-layout.has-aside { grid-template-columns: 260px 1fr; align-items: start; }
	.cat-nav__toggle { display: none; }
	.cat-nav__body { display: block; }
	.cat-nav__heading { display: block; }
	.cat-nav { position: sticky; top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto; }
	.products-grid--aside { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
	.products-grid--aside { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Products catalog ---- */
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.products-page__intro { color: #555; max-width: 720px; }

.prod-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1rem; }
.prod-tab { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: var(--ipl-light); color: var(--ipl-charcoal); font-weight: 600; font-size: .9rem; border: 1px solid var(--ipl-border); }
.prod-tab:hover, .prod-tab:focus { background: #fff; border-color: var(--ipl-red); color: var(--ipl-red); text-decoration: none; }
.prod-tab.is-active { background: var(--ipl-red); border-color: var(--ipl-red); color: #fff; }
.prod-tab__count { font-size: .75rem; opacity: .8; background: rgba(0,0,0,.08); padding: 0 .4rem; border-radius: 999px; }
.prod-tab.is-active .prod-tab__count { background: rgba(255,255,255,.22); }

.prod-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.prod-filters select { padding: .65rem .8rem; border: 1px solid var(--ipl-border); border-radius: var(--radius); font: inherit; background: #fff; max-width: 100%; }
.prod-filters__search { display: flex; gap: .4rem; flex: 1 1 240px; }
.prod-filters__search input { flex: 1; padding: .65rem .8rem; border: 1px solid var(--ipl-border); border-radius: var(--radius); font: inherit; min-width: 0; }
.prod-count { color: var(--ipl-muted); font-size: .9rem; margin: .25rem 0 1rem; }

.products-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.product-card { background: #fff; border: 1px solid var(--ipl-border); border-left: 4px solid var(--ipl-border); border-radius: var(--radius); padding: 1.1rem 1.25rem; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.product-card:hover { border-left-color: var(--ipl-red); }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__title { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--ipl-charcoal); transition: color .15s; }
.product-card:hover .product-card__title { color: var(--ipl-red); }
.product-card__link:hover { text-decoration: none; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; }
.tag { font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.tag--section { background: rgba(200,32,44,.1); color: var(--ipl-red); }
.tag--class { background: rgba(46,155,214,.14); color: var(--ipl-blue-dark); }
a.tag:hover { text-decoration: none; filter: brightness(.95); }
.product-card__packing { font-size: .85rem; color: #555; margin: .25rem 0 .6rem; }
.product-card__packing span { font-weight: 600; color: var(--ipl-charcoal); }
.product-card__more { font-size: .85rem; font-weight: 600; color: var(--ipl-charcoal); }
.product-card:hover .product-card__more { color: var(--ipl-red); }

.prod-pagination { margin-top: 2rem; display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.prod-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 .5rem; border: 1px solid var(--ipl-border); border-radius: 8px; color: var(--ipl-charcoal); }
.prod-pagination .page-numbers.current { background: var(--ipl-red); color: #fff; border-color: var(--ipl-red); }
.prod-pagination a.page-numbers:hover { border-color: var(--ipl-red); color: var(--ipl-red); text-decoration: none; }
.prod-empty { padding: 2rem 0; }

/* ---- Featured + related ---- */
.featured { background: #fff; }
.featured__cta { text-align: center; margin-top: 2rem; }
.related-products .products-grid { margin-top: .5rem; }

/* ---- Single product ---- */
.breadcrumbs { font-size: .85rem; color: var(--ipl-muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ipl-red); }
.single-product__inner { max-width: 1080px; }
.single-product__title { color: var(--ipl-red); margin-bottom: .6rem; }
.single-product__layout { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.single-product__layout:not(.has-media) .single-product__main { max-width: 820px; }
.single-product__media img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--ipl-border); box-shadow: var(--shadow); background: #fff; }
@media (min-width: 820px) {
	.single-product__layout.has-media { grid-template-columns: 1.25fr .9fr; }
	.single-product__layout.has-media .single-product__media { position: sticky; top: calc(var(--header-h) + 16px); }
}
.single-product__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.single-product__details { display: grid; gap: 1rem; }
.spec { background: #fff; border: 1px solid var(--ipl-border); border-radius: var(--radius); padding: 1.15rem 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: .95rem; align-items: start; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.spec__icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(72,168,228,.14); color: var(--ipl-blue-dark); }
.spec__body { min-width: 0; }
.spec__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ipl-blue-dark); margin: 0 0 .35rem; }
.spec__value { margin: 0; color: var(--ipl-charcoal); line-height: 1.6; }
.spec--caution { border-color: #f1c7c7; background: #fdf7f7; }
.spec--caution .spec__icon { background: rgba(200,32,44,.12); color: var(--ipl-red); }
.spec--caution .spec__label { color: var(--ipl-red); }
.single-product__back { margin-top: 1.75rem; }

@media (min-width: 600px) {
	.products-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
	.products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Forms ---- */
.ipl-form { max-width: 620px; }
.ipl-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-row { margin: 0 0 1.1rem; display: flex; flex-direction: column; }
.form-row label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ipl-charcoal); }
.form-row input, .form-row textarea, .form-row select {
	font: inherit; padding: .7rem .85rem; border: 1px solid var(--ipl-border); border-radius: var(--radius); background: #fff; width: 100%;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--ipl-blue); border-color: var(--ipl-blue); }
.form-row--half { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.form-row--half > span { display: flex; flex-direction: column; }
.form-notice { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-weight: 500; }
.form-notice--ok { background: #e7f6ec; color: #1c6b3a; border: 1px solid #b6e2c5; }
.form-notice--err { background: #fdecec; color: #a3202a; border: 1px solid #f3c2c5; }

@media (min-width: 560px) {
	.form-row--half { grid-template-columns: 1fr 1fr; }
}

/* ---- Page header band + inner content ---- */
.page-hero { position: relative; background: var(--ipl-red); background-size: cover; background-position: center; color: #fff; padding-block: clamp(2.5rem, 7vw, 4rem); }
.page-hero__overlay { display: none; }
.page-hero.has-image .page-hero__overlay { display: block; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.page-hero__inner { position: relative; z-index: 2; max-width: var(--container); }
.page-hero .breadcrumbs { color: rgba(255,255,255,.85); margin-bottom: .6rem; }
.page-hero .breadcrumbs a { color: #fff; }
.page-hero h1 { color: #fff; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
.page-body { padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-body .entry__content { max-width: 820px; margin-inline: auto; } /* centered reading column */
/* Richer pages (About #6, Distribution #8) use a wider canvas for images/cards. */
.page-id-6 .entry__content, .page-id-8 .entry__content { max-width: 1080px; }

/* Two-column text + image split */
.pg-split { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; margin: 1.5rem 0 2.5rem; }
.pg-split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (min-width: 820px) { .pg-split { grid-template-columns: 1.05fr .95fr; } }

/* Vision / Mission cards on a page */
.vm-cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 1.5rem 0 2rem; }
@media (min-width: 700px) { .vm-cards { grid-template-columns: 1fr 1fr; } }

/* Certification badges */
.cert-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.cert-badges li { background: var(--ipl-light); border: 1px solid var(--ipl-border); border-radius: 999px; padding: .55rem 1.15rem; font-weight: 600; font-size: .9rem; color: var(--ipl-red); }

/* CEO quote block */
.ceo-quote { border-left: 4px solid var(--ipl-red); background: var(--ipl-light); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.6; margin: 1.5rem 0; color: var(--ipl-charcoal); }

/* Stat cards (blue, from logo) */
.stat-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(3, 1fr); } }
.stat-card { background: linear-gradient(135deg, var(--ipl-blue), var(--ipl-blue-dark)); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.25rem; text-align: center; }
.stat-card b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .25rem; }
.stat-card span { font-size: .9rem; opacity: .95; }
.page-body .entry__content h2 { margin-top: 2rem; color: var(--ipl-charcoal); }
.page-body .entry__content h3 { margin-top: 1.5rem; color: var(--ipl-charcoal); }
.page-body .entry__content ul { padding-left: 1.2rem; }
.page-body .entry__content li { margin-bottom: .4rem; }
.page-body .entry__content .lead { font-size: 1.1rem; color: #444; }
.page-body iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* Two-column contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-info .ico-row { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-info .ico-row svg { color: var(--ipl-red); flex: 0 0 auto; margin-top: 3px; }
.contact-card { background: var(--ipl-light); border-radius: var(--radius); padding: clamp(1.25rem,3vw,1.75rem); }
@media (min-width: 880px) {
	.contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Content / entries ---- */
.entry__content { max-width: 760px; }
.entry__content img { border-radius: var(--radius); margin-block: 1rem; }

/* ---- Footer ---- mobile-first: minimal & tidy, expands on desktop ---- */
.site-footer { background: var(--ipl-dark); color: #c5c8ce; margin-top: 3rem; }
.site-footer a { color: #fff; }
.site-footer a:hover, .site-footer a:focus { color: #fff; text-decoration: none; }

/* Mobile: a single compact, centered column. */
.site-footer__grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	padding-block: 2.25rem;
	text-align: center;
}
.site-footer__col { width: 100%; padding: 0; }

.site-footer__brand { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.site-footer__logo {
	background: #fff; padding: .5rem .7rem; border-radius: var(--radius);
	width: auto; max-height: 92px; height: auto;
}

/* Hide verbose pieces on mobile for a minimal look. */
.site-footer__tagline { display: block; margin: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.site-footer__heading { display: none; }

.site-footer__address { font-style: normal; font-size: .875rem; line-height: 1.55; opacity: .95; margin: 0; display: flex; flex-direction: column; gap: .55rem; align-items: center; max-width: 100%; }
.site-footer__contact { display: inline-flex; align-items: flex-start; gap: .5rem; max-width: 250px; text-align: left; color: #f3e7eb; }
.site-footer__contact .ico { flex: 0 0 auto; margin-top: 1px; color: rgba(255, 255, 255, .6); }
.site-footer__contact span { overflow-wrap: anywhere; }
.site-footer__contact:hover, .site-footer__contact:focus { text-decoration: none; color: #fff; }
.site-footer__contact:hover .ico, .site-footer__contact:focus .ico { color: #fff; }

.site-footer__social-row { display: flex; justify-content: center; gap: .6rem; margin-top: .25rem; }
.site-footer__social--icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35); color: #fff;
}
.site-footer__social--icon:hover, .site-footer__social--icon:focus { background: var(--ipl-red); border-color: var(--ipl-red); color: #fff; }
.site-footer__social--icon svg { display: block; }

/* Quick links as a clean wrapping row of pill links. */
.site-footer__menu { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; max-width: 300px; }
.site-footer__menu li { margin: 0; }
.site-footer__menu a {
	display: inline-block; padding: .42rem .85rem; border-radius: 999px;
	background: rgba(255, 255, 255, .12); font-size: .82rem; font-weight: 500; white-space: nowrap;
	transition: background .18s ease, color .18s ease;
}
.site-footer__menu a:hover, .site-footer__menu a:focus { background: #fff; color: var(--ipl-dark); }

.site-footer__social {
	display: inline-block; font-weight: 600; font-size: .9rem;
	padding: .5rem .6rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
	transition: background .18s ease;
}
.site-footer__social:hover, .site-footer__social:focus { background: rgba(255, 255, 255, .14); }

.site-footer__bar { background: var(--ipl-dark-2); text-align: center; padding: 1rem; font-size: .8rem; }
.site-footer__bar p { margin: 0 auto; opacity: .9; max-width: 90%; line-height: 1.5; overflow-wrap: anywhere; }

/* ---- Search form ---- */
.search-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.search-form__field { flex: 1 1 200px; padding: .7rem 1rem; border: 1px solid var(--ipl-border); border-radius: var(--radius); font: inherit; }

/* =========================================================================
   Breakpoints
   ========================================================================= */
@media (min-width: 768px) {
	.site-footer__grid {
		display: grid;
		grid-template-columns: 1.6fr 1.2fr 1fr;
		gap: var(--gap);
		align-items: start;
		text-align: left;
		padding-block: clamp(3rem, 6vw, 4.5rem);
	}
	.site-footer__brand { align-items: flex-start; }
	.site-footer__logo { max-height: 104px; }
	.site-footer__brand { justify-content: flex-start; }
	.site-footer__heading { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .9rem; }
	.site-footer__address { font-size: .92rem; line-height: 1.55; align-items: flex-start; }
	.site-footer__social-row { justify-content: flex-start; }
	.site-footer__menu { display: block; }
	.site-footer__menu li + li { margin-top: .15rem; }
	.site-footer__menu a { background: transparent; padding: .3rem 0; border-radius: 0; font-size: .95rem; }
	.site-footer__menu a:hover, .site-footer__menu a:focus { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
	.site-footer__social { margin-top: 1.1rem; }
}

@media (min-width: 992px) {
	.nav-toggle { display: none; }
	.primary-nav {
		position: static; max-height: none; overflow: visible;
		background: transparent; border: 0; width: auto;
	}
	.primary-nav__list { display: flex; align-items: center; gap: .35rem; padding: 0; }
	.primary-nav__list li { border-top: 0; }
	.primary-nav__list a {
		padding: .6rem 1.1rem;
		margin: 0;
		border-radius: 999px;
		border-left: 0;
		font-size: .95rem;
		font-weight: 600;
		color: var(--ipl-charcoal);
		white-space: nowrap;
	}
	.primary-nav__list a:hover,
	.primary-nav__list a:focus {
		background: var(--ipl-blue);
		color: #fff;
		border-left: 0;
	}
	.primary-nav__list .current-menu-item > a,
	.primary-nav__list .current_page_item > a {
		background: var(--ipl-red);
		color: #fff;
		border-left: 0;
		box-shadow: 0 4px 12px rgba(200, 32, 44, .28);
	}
	.site-branding .custom-logo, .site-branding img { max-height: 76px; }
}
