/*
Theme Name: YJM Beauty Wholesale
Theme URI: https://yjmmy.aizyu.cn
Author: YJM Beauty
Author URI: https://yjmmy.aizyu.cn
Description: 英聚美美业批发 (YJM Beauty Wholesale) — English B2B product catalog theme for the beauty industry. Immersive homepage carousel, product categories, reference price / MOQ / specifications, inquiry form with email notification, news section, floating WhatsApp button, SEO-ready, mobile responsive. No cart, no checkout.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yjmmy
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. Design tokens & reset
   ========================================================= */
:root {
	--c-primary: #10393d;
	--c-primary-dark: #0b2a2d;
	--c-primary-soft: #e6edec;
	--c-accent: #c8862f;
	--c-accent-dark: #a56c1f;
	--c-wa: #25d366;
	--c-wa-dark: #1dae52;
	--c-ink: #1d2124;
	--c-muted: #5f666d;
	--c-line: #e4e0d8;
	--c-bg: #ffffff;
	--c-bg-alt: #f5f3ee;
	--c-ink-on-dark: #f3f6f7;
	--shadow-sm: 0 1px 3px rgba(22, 34, 36, .07);
	--shadow-md: 0 10px 30px rgba(22, 34, 36, .12);
	--radius: 8px;
	--radius-sm: 5px;
	--container: 1200px;
	--font-display: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-accent-dark); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	line-height: 1.2;
	color: var(--c-ink);
	margin: 0 0 .55em;
	font-weight: 700;
	letter-spacing: -.012em;
}

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

.skip-link:focus {
	position: fixed;
	left: 12px; top: 12px;
	z-index: 100000;
	background: var(--c-primary);
	color: #fff;
	padding: 10px 16px;
	border-radius: 6px;
}

/* =========================================================
   2. Buttons & badges
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .18s ease;
	white-space: nowrap;
}

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }

.btn-accent { background: var(--c-accent); color: #25200f; }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }

.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

.btn-wa { background: var(--c-wa); color: #fff; }
.btn-wa:hover { background: var(--c-wa-dark); color: #fff; }

.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
}

.badge-moq { background: #fdf3e0; color: #8a6320; }
.badge-cat { background: var(--c-primary-soft); color: var(--c-primary); }

/* =========================================================
   3. Header
   ========================================================= */
.topbar {
	background: var(--c-primary-dark);
	color: #c9d8dc;
	font-size: 13.5px;
}
.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 38px;
	gap: 16px;
}
.topbar a { color: #e8f0f2; }
.topbar a:hover { color: var(--c-accent); }
.topbar__msg { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.topbar__tag { letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--c-line);
	position: sticky;
	top: 0;
	z-index: 900;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img.custom-logo { max-height: 52px; width: auto; }
.brand__mark {
	width: 44px; height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--c-primary) 0%, #157689 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .02em;
	flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--c-ink); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { font-size: 11.5px; color: var(--c-muted); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a {
	display: block;
	padding: 10px 15px;
	font-weight: 600;
	font-size: 15px;
	color: var(--c-ink);
	border-radius: 6px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--c-primary); background: var(--c-primary-soft); }

.header-cta { flex: none; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--c-line);
	border-radius: 8px;
	width: 44px; height: 44px;
	cursor: pointer;
	flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block;
	width: 20px; height: 2px;
	background: var(--c-ink);
	position: relative;
	margin: 0 auto;
	transition: all .2s ease;
	content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* =========================================================
   4. Immersive hero carousel
   ========================================================= */
.hero-carousel {
	position: relative;
	background: var(--c-primary-dark);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.hc-track { position: relative; }

.hc-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .85s ease;
	z-index: 1;
}
.hc-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.hc-slide__media { position: absolute; inset: 0; overflow: hidden; }
.hc-slide__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 7s ease-out;
}
.hc-slide.is-active .hc-slide__media img { transform: scale(1); }

.hc-slide__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(6, 26, 31, .88) 0%, rgba(6, 26, 31, .66) 42%, rgba(6, 26, 31, .18) 78%),
		linear-gradient(180deg, rgba(6, 26, 31, .35) 0%, transparent 34%, rgba(6, 26, 31, .55) 100%);
}

.hc-slide__inner {
	position: relative;
	z-index: 3;
	min-height: clamp(520px, 82vh, 780px);
	display: flex;
	align-items: center;
	padding-top: 46px;
	padding-bottom: 120px;
}
.hc-slide__content { max-width: 660px; }

.hc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .28);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 7px 15px;
	border-radius: 999px;
	margin-bottom: 22px;
}
.hc-eyebrow svg { width: 14px; height: 14px; fill: var(--c-accent); flex: none; }

.hc-slide__title {
	color: #fff;
	font-size: clamp(31px, 4.3vw, 55px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 20px;
	max-width: 20ch;
	text-wrap: balance;
}
.hc-slide__sub {
	color: #dbe7ea;
	font-size: clamp(15px, 1.4vw, 18px);
	max-width: 52ch;
	margin: 0 0 30px;
}
.hc-slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-ghost-light {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
}
.btn-ghost-light:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn-ghost-light svg { width: 19px; height: 19px; fill: currentColor; }

/* Arrows */
.hc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(10, 30, 36, .35);
	backdrop-filter: blur(4px);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .18s ease, border-color .18s ease;
}
.hc-arrow svg { width: 26px; height: 26px; fill: #fff; }
.hc-arrow:hover { background: rgba(255, 255, 255, .92); border-color: #fff; }
.hc-arrow:hover svg { fill: var(--c-primary); }
.hc-arrow--prev { left: 22px; }
.hc-arrow--next { right: 22px; }

/* Dots / progress */
.hc-dots {
	position: absolute;
	left: 50%;
	bottom: 74px;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 10px;
}
.hc-dot {
	width: 46px; height: 5px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .32);
	cursor: pointer;
	overflow: hidden;
}
.hc-dot__bar {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: var(--c-accent);
}
.hc-dot.is-active .hc-dot__bar { width: 100%; }
.hero-carousel[data-autoplay="1"] .hc-dot.is-active .hc-dot__bar {
	animation: hc-progress var(--hc-interval, 6s) linear forwards;
}
@keyframes hc-progress { from { width: 0; } to { width: 100%; } }

/* Trust points overlaid at the bottom of the hero */
.hc-points {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 4;
	border-top: 1px solid rgba(255, 255, 255, .16);
	background: rgba(6, 26, 31, .35);
	backdrop-filter: blur(3px);
}
.hc-points__inner { display: flex; gap: 30px; flex-wrap: wrap; padding: 15px 0; }
.hc-point { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #eaf3f4; }
.hc-point svg { width: 18px; height: 18px; fill: var(--c-accent); flex: none; }

/* Trust strip under hero */
.trustbar { background: var(--c-primary); color: #dcebee; }
.trustbar__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: 20px 0;
}
.trustbar__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14.5px;
	font-weight: 600;
	color: #eef6f7;
}
.trustbar__item svg { width: 26px; height: 26px; fill: var(--c-accent); flex: none; }

/* =========================================================
   5. Sections (generic)
   ========================================================= */
.section { padding: 74px 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__kicker {
	display: inline-block;
	color: var(--c-accent-dark);
	font-weight: 700;
	font-size: 13.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.section__head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 12px; }
.section__head p { color: var(--c-muted); font-size: 16.5px; margin: 0; }
.section__foot { text-align: center; margin-top: 38px; }

/* =========================================================
   6. Category cards
   ========================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Centre a lone card on the final row so 4/7/10 categories still look intentional. */
.cat-grid > .cat-card:last-child:nth-child(3n + 1) { grid-column: 2 / span 1; }
.cat-card {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-ink);
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .92; transition: opacity .2s ease; }
.cat-card:hover img { opacity: 1; }
.cat-card__label {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 34px 20px 16px;
	background: linear-gradient(180deg, transparent, rgba(10, 25, 30, .78));
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
}
.cat-card__name { color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.cat-card__count { color: #d8cfae; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* =========================================================
   7. Product cards & grid
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; display: block; background: var(--c-bg-alt); }
.product-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card__flag {
	position: absolute;
	top: 12px; left: 12px;
	background: var(--c-accent);
	color: #241d09;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
}
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.product-card__title { font-size: 16.5px; line-height: 1.35; margin: 0; font-family: var(--font-body); font-weight: 700; }
.product-card__title a { color: var(--c-ink); }
.product-card__title a:hover { color: var(--c-primary); }
.product-card__meta {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px dashed var(--c-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}
.product-card__price { font-weight: 700; color: var(--c-primary); font-size: 15px; }
.product-card__price small { display: block; font-size: 11px; color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Category filter pills */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-pill {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	font-size: 14px;
	color: var(--c-ink);
}
.filter-pill:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-pill.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Archive hero strip */
.page-strip { background: linear-gradient(160deg, var(--c-primary-dark), var(--c-primary)); color: #dfecee; padding: 52px 0; }
.page-strip h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.page-strip p { color: #c3d6da; max-width: 68ch; margin: 0; }
.page-strip .breadcrumbs { margin-bottom: 14px; }
.breadcrumbs { font-size: 13px; color: var(--c-muted); }
.page-strip .breadcrumbs, .page-strip .breadcrumbs a { color: #bcd3d8; }
.breadcrumbs a:hover { color: var(--c-accent); }

/* =========================================================
   8. Why us / feature columns
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 28px 24px;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
	width: 58px; height: 58px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--c-primary-soft);
	display: flex;
	align-items: center;
	justify-content: center;
}
.feature-card__icon svg { width: 27px; height: 27px; fill: var(--c-primary); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

/* =========================================================
   9. About strip
   ========================================================= */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about-strip__media img { border-radius: 16px; box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about-strip h2 { font-size: clamp(25px, 3vw, 34px); }
.about-strip__list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.about-strip__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.about-strip__list svg { width: 20px; height: 20px; fill: var(--c-accent-dark); flex: none; margin-top: 3px; }

/* =========================================================
   10. CTA band
   ========================================================= */
.cta-band { background: linear-gradient(135deg, var(--c-primary-dark) 0%, #116072 100%); color: #d9e6e9; padding: 64px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { margin: 0; color: #bcd2d7; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   11. Product single
   ========================================================= */
.product-single { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: start; }

.gallery__main {
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-bg-alt);
}
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumbs img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	opacity: .75;
	transition: all .15s ease;
}
.gallery__thumbs img:hover { opacity: 1; }
.gallery__thumbs img.is-active { border-color: var(--c-primary); opacity: 1; }

.p-summary .product-card__cat { margin-bottom: 6px; display: block; }
.p-summary h1 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 14px; }

.p-pricebox {
	background: var(--c-bg-alt);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 18px 20px;
	margin: 18px 0;
	display: grid;
	gap: 10px;
}
.p-pricebox__row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.p-pricebox__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.p-pricebox__value { font-weight: 700; font-size: 16px; text-align: right; }
.p-pricebox__value--price { color: var(--c-primary); font-family: var(--font-display); font-size: 24px; }
.p-pricebox__value small { display: block; font-weight: 500; color: var(--c-muted); font-size: 12px; }

.p-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }
.p-note { font-size: 13px; color: var(--c-muted); }

.p-section { margin-top: 54px; }
.p-section h2 { font-size: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--c-line); margin-bottom: 22px; }
.p-content { font-size: 16px; color: #33383f; }
.p-content h2, .p-content h3 { font-size: 20px; margin-top: 1.4em; }
.p-content img { border-radius: var(--radius); }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--c-line); font-size: 14.5px; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; background: var(--c-bg-alt); color: var(--c-ink); font-weight: 600; }

/* =========================================================
   12. Inquiry form
   ========================================================= */
.inquiry-wrap {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 32px;
}
.inquiry-wrap--flat { box-shadow: none; }
.inquiry-wrap h2, .inquiry-wrap h3 { margin-bottom: 6px; }
.inquiry-wrap .inquiry-desc { color: var(--c-muted); font-size: 14.5px; margin-bottom: 22px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field label .req { color: #c0392b; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d5d0c5;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	color: var(--c-ink);
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	outline: none;
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px rgba(14, 79, 92, .14);
}
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.inquiry-msg { border-radius: 8px; padding: 13px 16px; font-size: 14.5px; margin-bottom: 18px; }
.inquiry-msg--ok { background: #e8f7ee; color: #1d7a43; border: 1px solid #bce5cc; }
.inquiry-msg--err { background: #fdeeec; color: #b03a2e; border: 1px solid #f3c6c0; }

/* =========================================================
   13. Contact page
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info-card {
	background: var(--c-bg-alt);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 30px;
}
.contact-info-card h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-info-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-card svg { width: 20px; height: 20px; fill: var(--c-primary); flex: none; margin-top: 3px; }
.contact-info-card .ci-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); font-weight: 700; display: block; }

/* =========================================================
   13b. Rich content pages (About / Contact / Inquiry / etc.)
   ========================================================= */

/* Image page hero (full-width) */
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--c-primary-dark);
	color: #fff;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 26, 31, .9) 0%, rgba(6, 26, 31, .62) 55%, rgba(6, 26, 31, .3) 100%);
}
.page-hero__inner { position: relative; z-index: 2; padding: 92px 0 84px; max-width: 780px; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #b9d2d6; }
.page-hero .breadcrumbs a:hover { color: var(--c-accent); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 10px 0 14px; }
.page-hero__intro { color: #d8e5e8; font-size: 17.5px; max-width: 62ch; margin: 0; }
.page-hero__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.page-hero__tag {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13.5px; font-weight: 600; color: #eef6f7;
}
.page-hero__tag svg { width: 15px; height: 15px; fill: var(--c-accent); flex: none; }

/* Split text + image rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-size: clamp(24px, 2.8vw, 34px); }
.split p { color: #3c4348; }
.split .section__kicker { display: block; margin-bottom: 8px; }
.split__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split__list li { display: flex; gap: 11px; align-items: flex-start; }
.split__list svg { width: 20px; height: 20px; fill: var(--c-accent-dark); flex: none; margin-top: 3px; }
.split__list strong { display: block; }
.split__list span { color: var(--c-muted); font-size: 14.5px; }

/* Stats band */
.stat-band { background: var(--c-primary); color: #e8f1f2; padding: 46px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat-grid__item strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 800;
	color: #fff;
	line-height: 1.05;
}
.stat-grid__item span { font-size: 14px; color: #b9cfd3; }

/* Image gallery grid */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	grid-auto-rows: 240px;
}
.gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--c-bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item figcaption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 30px 16px 13px;
	background: linear-gradient(180deg, transparent, rgba(8, 26, 31, .82));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.gallery-item figcaption small { display: block; font-weight: 400; color: #c6d8db; font-size: 12.5px; }

/* Numbered process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	display: block;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 800;
	color: var(--c-accent);
	line-height: 1;
	margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: 14.5px; margin: 0; }
.step::after {
	content: "";
	position: absolute; top: 34px; right: -12px;
	width: 24px; height: 1px;
	background: var(--c-line);
}
.step:last-child::after { display: none; }

/* Trust / certification chips */
.cert-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert {
	display: flex; align-items: center; gap: 13px;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 18px 20px;
}
.cert svg { width: 30px; height: 30px; fill: var(--c-primary); flex: none; }
.cert strong { display: block; font-size: 15px; }
.cert span { font-size: 13px; color: var(--c-muted); }

/* Department / info cards */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card__icon {
	width: 50px; height: 50px; border-radius: 12px; margin-bottom: 10px;
	background: var(--c-primary-soft); display: flex; align-items: center; justify-content: center;
}
.info-card__icon svg { width: 24px; height: 24px; fill: var(--c-primary); }
.info-card h3 { font-size: 18px; margin: 0; }
.info-card p { color: var(--c-muted); font-size: 14.5px; margin: 0 0 6px; }
.info-card a { font-weight: 600; font-size: 14.5px; word-break: break-word; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	overflow: hidden;
}
.faq summary {
	list-style: none; cursor: pointer;
	padding: 18px 54px 18px 22px;
	font-weight: 700; font-size: 16px;
	position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 24px; font-weight: 400; color: var(--c-accent-dark); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--c-line); }
.faq__body { padding: 16px 22px 20px; color: #3c4348; font-size: 15px; }
.faq__body p:last-child { margin-bottom: 0; }

/* Sticky inquiry sidebar layout */
.contact-media-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-media-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.testimonial {
	margin: 0;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 28px 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: var(--shadow-sm);
}
.testimonial > svg { width: 30px; height: 30px; fill: var(--c-accent); flex: none; }
.testimonial blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: #333a40; }
.testimonial figcaption { margin-top: auto; display: flex; flex-direction: column; }
.testimonial figcaption strong { font-size: 15px; }
.testimonial figcaption span { font-size: 13px; color: var(--c-muted); }

/* =========================================================
   14. Footer
   ========================================================= */
.site-footer { background: #122226; color: #b7c6ca; font-size: 14.5px; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.footer-main h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
.footer-main p { color: #9fb3b8; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-main a { color: #b7c6ca; }
.footer-main a:hover { color: var(--c-accent); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand__mark { background: linear-gradient(135deg, var(--c-accent), #e8c37a); color: #2a2007; }
.footer-brand .brand__name { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--c-accent); flex: none; margin-top: 4px; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer-bar__inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #8aa0a6; }

/* =========================================================
   15. WhatsApp float
   ========================================================= */
.wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 950;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}
.wa-float__btn {
	width: 58px; height: 58px;
	border-radius: 50%;
	background: var(--c-wa);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 22px rgba(18, 140, 70, .42);
	transition: transform .18s ease, background .18s ease;
	position: relative;
}
.wa-float__btn:hover { transform: scale(1.07); background: var(--c-wa-dark); }
.wa-float__btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-float__btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--c-wa);
	animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
	0% { transform: scale(1); opacity: .7; }
	80%, 100% { transform: scale(1.45); opacity: 0; }
}
.wa-float__tip {
	background: #fff;
	color: var(--c-ink);
	border: 1px solid var(--c-line);
	border-radius: 10px;
	box-shadow: var(--shadow-md);
	padding: 9px 14px;
	font-size: 13.5px;
	font-weight: 600;
	max-width: 210px;
}

/* =========================================================
   16. Pagination, posts, misc
   ========================================================= */
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--c-line);
	border-radius: 8px;
	font-weight: 600;
	color: var(--c-ink);
	background: #fff;
}
.pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--c-primary); color: var(--c-primary); }

.post-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card__media { display: block; overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 20px 22px 24px; }
.post-card__date { font-size: 13px; color: var(--c-muted); }
.post-card h2, .post-card h3 { font-size: 19px; margin: 6px 0 8px; }
.post-card h2 a, .post-card h3 a { color: var(--c-ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--c-primary); }

/* Homepage contact strip */
.home-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.home-contact h2 { font-size: clamp(24px, 3vw, 34px); }
.home-contact p { color: var(--c-muted); margin-bottom: 22px; }
.home-contact__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-contact__list {
	list-style: none;
	margin: 0;
	padding: 28px;
	display: grid;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.home-contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.home-contact__list svg { width: 20px; height: 20px; fill: var(--c-primary); flex: none; margin-top: 3px; }
.home-contact__list a { word-break: break-word; }


.error-404 { text-align: center; padding: 90px 0; }
.error-404 h1 { font-size: 72px; color: var(--c-primary); margin-bottom: 10px; }

.page-strip__meta { color: #bcd3d8; font-size: 14px; margin: 6px 0 0; }

/* Single article (news) */
.article-single .p-content { font-size: 16.5px; max-width: 760px; }
.article-single__media { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-single__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--c-line); max-width: 760px; }
.post-nav__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.post-nav__item:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.post-nav__item--next { text-align: right; }
.post-nav__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.post-nav__title { font-weight: 700; color: var(--c-ink); }


.no-results { text-align: center; padding: 60px 20px; color: var(--c-muted); }

.backtop-none {}

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--c-muted); text-align: center; }
.sticky { }
.bypostauthor { }

/* =========================================================
   17. Responsive
   ========================================================= */
@media (max-width: 1080px) {
	.product-grid { grid-template-columns: repeat(3, 1fr); }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.trustbar__inner { grid-template-columns: repeat(2, 1fr); }
	.about-strip, .contact-layout, .home-contact { grid-template-columns: 1fr; gap: 36px; }
	.product-single { grid-template-columns: 1fr; }
	.hc-slide__inner { min-height: clamp(480px, 76vh, 680px); }
	.hc-slide__title { max-width: 24ch; }
	.split { grid-template-columns: 1fr; gap: 30px; }
	.split--reverse .split__media { order: 0; }
	.split__media img { aspect-ratio: 16 / 10; }
	.stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
	.step:nth-child(2n)::after { display: none; }
	.cert-band { grid-template-columns: repeat(2, 1fr); }
	.info-cards { grid-template-columns: 1fr 1fr; }
	.gallery-grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
	.topbar__inner { justify-content: center; }
	.topbar__tag { display: none; }
	.nav-toggle { display: block; }
	.main-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--c-line);
		box-shadow: var(--shadow-md);
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 16px; }
	.main-nav a { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--c-line); }
	.main-nav li:last-child a { border-bottom: 0; }
	.header-cta .btn { display: none; }
	.header-inner { min-height: 64px; gap: 12px; }
	.brand__name { font-size: 18px; }
	.brand__sub { display: none; }

	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.cat-grid > .cat-card:last-child:nth-child(3n + 1) { grid-column: auto; }
	.cat-grid > .cat-card:last-child:nth-child(2n + 1) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
	.product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.post-grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.section { padding: 54px 0; }

	.hc-slide__inner { min-height: 0; padding-top: 60px; padding-bottom: 150px; }
	.hc-slide__veil {
		background:
			linear-gradient(180deg, rgba(6, 26, 31, .55) 0%, rgba(6, 26, 31, .72) 45%, rgba(6, 26, 31, .88) 100%);
	}
	.hc-slide__content { max-width: 100%; }
	.hc-slide__title { max-width: none; }
	.hc-arrow { display: none; }
	.hc-dots { bottom: 84px; }
	.hc-points__inner { gap: 14px 22px; padding: 12px 0; }

	.page-hero__inner { padding: 64px 0 58px; }
	.gallery-grid, .gallery-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; grid-auto-rows: 190px; }
	.gallery-item--wide { grid-column: span 2; }
	.contact-media-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	body { font-size: 15px; }
	.cat-grid, .product-grid { grid-template-columns: 1fr 1fr; }
	.cat-card__label { padding: 28px 12px 11px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; }
	.cat-card__name { font-size: 14px; line-height: 1.25; }
	.cat-card__count { font-size: 11px; }
	.product-card__body { padding: 12px 13px 14px; }
	.product-card__title { font-size: 14.5px; }
	.feature-grid { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 34px; }
	.trustbar__inner { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
	.gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
	.inquiry-wrap { padding: 22px 18px; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.hc-slide__actions .btn { flex: 1 1 auto; }
	.hc-slide__inner { padding-bottom: 170px; }
	.hc-dots { bottom: 118px; }
	.hc-points__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
	.home-contact__list { padding: 20px; }

	.page-hero__inner { padding: 52px 0 46px; }
	.stat-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
	.steps { grid-template-columns: 1fr; gap: 24px; }
	.step::after { display: none; }
	.cert-band { grid-template-columns: 1fr; }
	.info-cards { grid-template-columns: 1fr; }
	.gallery-grid, .gallery-grid--4 { grid-template-columns: 1fr 1fr; }
	.gallery-item--wide { grid-column: span 2; }
	.gallery-item figcaption { padding: 24px 12px 10px; font-size: 13px; }
	.contact-media-strip { grid-template-columns: 1fr 1fr; }
	.faq summary { font-size: 15px; padding: 16px 46px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}
