/* ==========================================================================
   Al-Musawwir Hosiery — main stylesheet
   Palette is taken from the brand logo (deep teal + sage) with ivory and antique gold.
   ========================================================================== */

:root {
	--teal: #014d4b;
	--teal-2: #0b5f5b;
	--night: #012f2e;
	--sage: #87a999;
	--sage-soft: #e3ece7;
	--gold: #b4935a;
	--gold-light: #d6b983;
	--gold-text: #7a5c2b;
	--ivory: #f7f4ec;
	--paper: #fcfbf7;
	--charcoal: #1d2422;
	--text: #2a3330;
	--muted: #5c6864;
	--line: #e4ded1;
	--line-dark: rgba(255, 255, 255, 0.14);
	--white: #fff;

	--font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 4px;
	--radius-lg: 10px;
	--shadow: 0 1px 2px rgba(1, 47, 46, 0.06), 0 8px 24px rgba(1, 47, 46, 0.06);
	--shadow-lg: 0 18px 50px rgba(1, 47, 46, 0.14);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(56px, 8vw, 104px);

	/* Knit stitch pattern (stockinette "V" stitches). */
	--knit-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22' viewBox='0 0 18 22'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.4'%3E%3Cpath d='M1.5 1c1.2 6.5 4 12 7.5 19M16.5 1c-1.2 6.5-4 12-7.5 19'/%3E%3C/g%3E%3C/svg%3E");
	--knit-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22' viewBox='0 0 18 22'%3E%3Cg fill='none' stroke='%23014d4b' stroke-opacity='.07' stroke-width='1.4'%3E%3Cpath d='M1.5 1c1.2 6.5 4 12 7.5 19M16.5 1c-1.2 6.5-4 12-7.5 19'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--charcoal);
	line-height: 1.12;
	letter-spacing: -0.005em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.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: 12px; top: -60px; z-index: 1000;
	background: var(--gold); color: var(--night); padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 26px;
	font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	text-decoration: none; line-height: 1.2;
	border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.8rem; }
.btn-block { display: flex; width: 100%; }
.btn + .btn { margin-left: 8px; }
.btn-block + .btn-block { margin: 10px 0 0; }

.btn-primary { background: var(--teal); color: var(--ivory); }
.btn-primary:hover { background: var(--night); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-light); color: var(--night); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(247, 244, 236, .55); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--night); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--teal); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin: 0 0 14px;
	font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow-light { color: var(--gold-light); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--night); color: rgba(247, 244, 236, .82); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-tag { margin: 0; letter-spacing: 0.04em; }
.topbar-contact { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.topbar-contact a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-contact .icon { width: 15px; height: 15px; }
@media (max-width: 760px) { .topbar-tag { display: none; } .topbar-inner { justify-content: center; } .topbar-contact { gap: 14px; flex-wrap: wrap; justify-content: center; } }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--teal);
	border-bottom: 1px solid rgba(214, 185, 131, .25);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.site-brand { display: flex; align-items: center; flex-shrink: 0; }
.custom-logo { height: 58px; width: auto; }
.custom-logo-link { display: block; }

.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a:not(.btn) {
	display: block; padding: 10px 9px; white-space: nowrap;
	color: rgba(247, 244, 236, .9); text-decoration: none;
	font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em;
	position: relative;
}
.site-nav a:not(.btn)::after {
	content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 1px;
	background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:not(.btn):hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--white); }
.site-nav a:not(.btn):hover::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { transform: scaleX(1); }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; display: none; flex-direction: column;
	background: var(--night); padding: 8px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }

.nav-toggle {
	display: none; background: transparent; border: 1px solid rgba(247, 244, 236, .35); color: var(--ivory);
	width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

@media (max-width: 1260px) {
	.nav-toggle { display: inline-flex; }
	.custom-logo { height: 46px; }
	.brand-mark { height: 38px !important; }
	.brand-name { font-size: 1.32rem !important; }
	.header-inner { min-height: 72px; }
	.site-nav {
		position: fixed; inset: 72px 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: var(--night); padding: 24px var(--gutter) 40px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
	}
	.admin-bar .site-nav { top: 104px; }
	.site-nav.is-open { transform: none; visibility: visible; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
	.site-nav a:not(.btn)::after { display: none; }
	.site-nav .sub-menu { position: static; display: flex; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-nav { top: 118px; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	background-color: var(--teal);
	background-image: var(--knit-light);
	color: var(--ivory);
	padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 132px);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 85% 40%, rgba(135, 169, 153, .22), transparent 60%); }
.hero.has-image .hero-overlay { background: linear-gradient(90deg, rgba(1, 47, 46, .94) 0%, rgba(1, 47, 46, .78) 45%, rgba(1, 47, 46, .25) 100%); }
@media (max-width: 760px) { .hero.has-image .hero-overlay { background: rgba(1, 47, 46, .82); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero.has-image .hero-inner { grid-template-columns: minmax(0, 720px); }
.hero-title {
	color: var(--ivory); font-weight: 700; letter-spacing: 0.02em;
	font-size: clamp(2.5rem, 6.4vw, 5.2rem); line-height: 1.02; margin-bottom: 18px;
}
.hero-subtitle { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--gold-light); margin-bottom: 18px; line-height: 1.3; }
.hero-text { font-size: 1.08rem; max-width: 560px; color: rgba(247, 244, 236, .86); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn + .btn { margin: 0; }
.hero .admin-hint { margin-top: 32px; }

.hero-swatches { position: relative; height: 460px; }
.swatch { position: absolute; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .08); }
.swatch-rib {
	width: 58%; height: 78%; right: 0; top: 0;
	background: repeating-linear-gradient(90deg, #6f9584 0 9px, #5d8574 9px 12px, #7ea291 12px 21px, #5d8574 21px 24px);
}
.swatch-cable {
	width: 52%; height: 62%; left: 0; bottom: 0;
	background-color: #e9e2d2;
	background-image:
		radial-gradient(ellipse 14px 22px at 25% 50%, transparent 60%, rgba(122, 92, 43, .25) 62%, transparent 75%),
		radial-gradient(ellipse 14px 22px at 75% 50%, transparent 60%, rgba(122, 92, 43, .25) 62%, transparent 75%),
		repeating-linear-gradient(90deg, transparent 0 46px, rgba(122, 92, 43, .18) 46px 48px);
	background-size: 48px 44px, 48px 44px, auto;
}
.swatch-waffle {
	width: 34%; height: 34%; right: 12%; bottom: 4%;
	background-color: var(--gold);
	background-image: linear-gradient(rgba(1, 47, 46, .18) 2px, transparent 2px), linear-gradient(90deg, rgba(1, 47, 46, .18) 2px, transparent 2px);
	background-size: 14px 14px;
}
/* Photo collage shown when no hero photograph is set. */
.hero-collage { position: relative; height: 540px; }
.hero-collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(214, 185, 131, .35); background: var(--night); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-main { width: 62%; height: 88%; right: 0; top: 0; }
.collage-side { width: 46%; height: 62%; left: 0; bottom: 0; }
.collage-tag { width: 30%; height: 34%; left: 6%; top: 2%; transform: rotate(-4deg); }

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-swatches { display: none; }
	.hero-collage { height: 420px; max-width: 520px; width: 100%; margin: 8px auto 0; }
}
@media (max-width: 480px) { .hero-collage { height: 340px; } }

/* Photo grid (About page). */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--sage-soft); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-grid figure:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.side-photo { margin: -28px -28px 22px; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--night); color: var(--ivory); border-top: 1px solid rgba(214, 185, 131, .2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-weight: 600; font-size: 0.92rem; border-left: 1px solid var(--line-dark); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .icon { color: var(--gold-light); width: 26px; height: 26px; }
@media (max-width: 900px) {
	.trust-grid { grid-template-columns: repeat(2, 1fr); }
	.trust-item { border-left: 0; padding: 16px 0; }
}
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: 40px 0; }
.section-ivory { background: var(--ivory); background-image: var(--knit-dark); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-head .eyebrow { justify-content: center; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

/* ---------- Page hero ---------- */
.page-hero {
	background-color: var(--teal); background-image: var(--knit-light);
	color: var(--ivory); padding: 40px 0 clamp(48px, 7vw, 80px);
}
.page-title { color: var(--ivory); font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 14px; }
.page-lead { max-width: 720px; font-size: 1.1rem; color: rgba(247, 244, 236, .85); margin: 0; }
.page-hero .eyebrow { color: var(--gold-light); }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; padding: 0; font-size: 0.82rem; }
.breadcrumbs li { color: rgba(247, 244, 236, .7); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: rgba(247, 244, 236, .85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-light); }
.product-top .breadcrumbs li, .product-top .breadcrumbs a { color: var(--muted); }
.product-top .breadcrumbs a:hover { color: var(--teal); }

/* ---------- Placeholders & admin hints ---------- */
.placeholder-knit {
	position: relative; width: 100%; height: 100%; min-height: 220px;
	background-color: var(--sage-soft); background-image: var(--knit-dark);
	display: flex; align-items: flex-end; justify-content: flex-start;
}
.placeholder-knit::after {
	content: ""; position: absolute; inset: 22%;
	background: url("../images/butterfly.svg") center / contain no-repeat; opacity: .35;
}
.placeholder-knit span { position: relative; z-index: 1; margin: 14px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(252, 251, 247, .85); padding: 4px 10px; border-radius: 20px; }
.admin-hint {
	background: #fff8e5; color: #5c4510; border: 1px dashed #d4a72c; border-radius: var(--radius);
	padding: 10px 14px; font-size: 0.85rem; line-height: 1.5; margin: 16px 0;
}
.admin-hint a { color: #5c4510; font-weight: 700; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.category-card {
	display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; color: inherit; }
.category-media { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--sage-soft); }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover .category-media img { transform: scale(1.05); }
@media (max-width: 600px) { .category-media { aspect-ratio: 16 / 10; } .category-grid { gap: 16px; } }
.category-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.category-body h3 { margin-bottom: 8px; }
.category-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--paper); padding: 34px 30px; }
.feature h3 { font-size: 1.4rem; margin: 18px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.feature-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--gold-light); }
.feature-icon .icon { width: 24px; height: 24px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage-soft); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
.product-card-title { font-size: 1.45rem; margin: 0 0 4px; }
.product-card-title a { color: var(--charcoal); text-decoration: none; }
.product-card-title a:hover { color: var(--teal); }
.product-card-sku { font-size: 0.82rem; color: var(--muted); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.product-card-specs { margin: 0 0 16px; font-size: 0.84rem; border-top: 1px solid var(--line); }
.product-card-specs div { display: grid; grid-template-columns: 42% 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.product-card-specs dt { color: var(--muted); }
.product-card-specs dd { margin: 0; color: var(--text); font-weight: 500; }
.product-card-actions { margin-top: auto; }
.product-card-actions .btn { width: 100%; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--sage-soft); position: relative; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .placeholder-knit { position: absolute; inset: 0; }
.split-media .admin-hint { position: absolute; left: 12px; right: 12px; bottom: 0; }
.split-copy > p { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 16 / 11; } }

.check-list { list-style: none; padding: 0; margin: 18px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.check-list .icon { color: var(--gold-text); width: 20px; height: 20px; margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { border-top: 2px solid var(--teal); padding-top: 22px; }
.steps h3 { font-size: 1.35rem; margin: 6px 0 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.step-num { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--gold-text); letter-spacing: 0.14em; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.process { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; position: relative; }
.process-step h3 { font-size: 1.3rem; margin: 8px 0; }
.process-step p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.process-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.process-step .step-num { position: absolute; top: 22px; right: 22px; }
@media (max-width: 1100px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .process { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner { background-color: var(--night); background-image: var(--knit-light); color: var(--ivory); padding: clamp(56px, 7vw, 88px) 0; position: relative; }
.cta-banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--sage)); }
.cta-inner { display: grid; grid-template-columns: 1.6fr auto; gap: 40px; align-items: center; }
.cta-banner h2 { color: var(--ivory); max-width: 680px; }
.cta-banner p { color: rgba(247, 244, 236, .82); max-width: 640px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn + .btn { margin: 0; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Catalogue ---------- */
.catalogue-filters {
	display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: 14px; align-items: end;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow);
}
.filter-field label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.filter-actions { display: flex; gap: 8px; }
.filter-actions .btn + .btn { margin: 0; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.input-icon input[type="search"] { padding-left: 42px; }
.input-icon .icon { z-index: 1; pointer-events: none; }
@media (max-width: 1000px) { .catalogue-filters { grid-template-columns: 1fr 1fr; } .filter-search { grid-column: 1 / -1; } }
@media (max-width: 560px) { .catalogue-filters { grid-template-columns: 1fr; } }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.chip { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; text-decoration: none; font-size: 0.85rem; font-weight: 600; color: var(--text); background: var(--white); }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.chip-sm { padding: 5px 12px; font-size: 0.78rem; }
.result-count { color: var(--muted); font-size: 0.9rem; margin: 18px 0 22px; }

.empty-state { text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 56px 24px; max-width: 760px; margin: 0 auto; }
.empty-state h2 { font-size: 1.8rem; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin: 6px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--white); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--teal); color: var(--ivory); border-color: var(--teal); }

/* ---------- Product detail ---------- */
.product-top { padding: 32px 0 48px; background: var(--paper); }
.product-top + .section { padding-top: 24px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery-main { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-soft); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .placeholder-knit { height: 100%; }
.gallery-thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; padding: 0; margin: 12px 0 0; }
.gallery-thumbs .thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; display: block; width: 100%; aspect-ratio: 1; }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb.is-active, .gallery-thumbs .thumb:hover { border-color: var(--gold); }
.image-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; font-style: italic; }

.product-summary { position: sticky; top: 110px; }
.product-title { font-size: clamp(2.2rem, 4vw, 3.3rem); margin-bottom: 10px; }
.product-sku { color: var(--muted); font-size: 0.92rem; }
.product-excerpt { font-size: 1.06rem; }
.spec-list { margin: 24px 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 0.9rem; }
.spec-list dd { margin: 0; font-weight: 600; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; }
.product-actions .btn + .btn { margin: 0; }
.product-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } .product-summary { position: static; } }

.product-details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.product-spec-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.product-spec-table h2 { font-size: 1.7rem; }
.product-spec-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-bottom: 16px; }
.product-spec-table th, .product-spec-table td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--line); }
.product-spec-table th { color: var(--muted); font-weight: 500; width: 44%; padding-right: 12px; }
@media (max-width: 900px) { .product-details { grid-template-columns: 1fr; } }

/* ---------- Content pages ---------- */
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--gold-text); }
.entry-content img { border-radius: var(--radius-lg); }
.entry-content blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.content-aside { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .content-aside { grid-template-columns: 1fr; } }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.side-card h2 { font-size: 1.65rem; }
.side-card p { color: var(--muted); }
.side-card-dark { background: var(--teal); background-image: var(--knit-light); border-color: var(--teal); color: var(--ivory); }
.side-card-dark h2 { color: var(--ivory); }
.content-aside .side-card { position: sticky; top: 110px; }

.fact-list { margin: 0 0 22px; }
.fact-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.fact-list dd { margin: 2px 0 0; }

.buyer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.buyer { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 22px 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); font-weight: 600; font-size: 0.9rem; }
.buyer .icon { color: var(--teal); width: 28px; height: 28px; }
@media (max-width: 900px) { .buyer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .buyer-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-info { order: -1; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list .icon { color: var(--gold-light); margin-top: 3px; }
.contact-list span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.contact-list a { color: var(--ivory); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-light); }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.8rem; margin-bottom: 4px; }
.post-item h2 a { color: var(--charcoal); text-decoration: none; }

/* ---------- Inquiry form ---------- */
.inquiry-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.contact-form-col .entry-content { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-items: end; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--charcoal); }
.req { color: #a2341c; }
.opt { color: var(--muted); font-weight: 400; font-size: 0.8rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], select, textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	font: inherit; font-size: 0.97rem; color: var(--text);
	background: var(--paper); border: 1px solid #cfc8b8; border-radius: var(--radius);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23014d4b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background-color: var(--white); box-shadow: 0 0 0 3px rgba(1, 77, 75, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a2341c; }
.field-error { color: #a2341c; font-size: 0.8rem; margin-top: 4px; }

.field-consent { margin-top: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); font-weight: 400 !important; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-actions .btn + .btn { margin: 0; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.inquiry-title { font-size: 1.8rem; }
.inquiry-form.is-submitting .btn-primary { opacity: .7; pointer-events: none; }

.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.notice ul { margin: 6px 0 0; padding-left: 1.2em; }
.notice p { margin: 4px 0 0; }
.notice-success { background: #e8f3ee; border: 1px solid #9cc5b2; color: #134a37; }
.notice-success .icon { color: #1f7a57; width: 28px; height: 28px; }
.notice-error { background: #fbeceb; border: 1px solid #e4aaa3; color: #7a2418; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(247, 244, 236, .78); font-size: 0.93rem; }
.knit-band { height: 10px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, var(--teal) 6px 9px); opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand .custom-logo { height: 62px; width: auto; margin-bottom: 18px; }
.footer-brand .brand-logo { margin-bottom: 20px; }
.footer-title { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0 0 20px; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(247, 244, 236, .82); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--sage); margin-top: 4px; }
.footer-social { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: 0.82rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: #1f8f5c; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
	transition: transform .2s ease, background-color .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); background: #18764b; color: #fff; }

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .site-footer, .whatsapp-float, .cta-banner, .inquiry-box, .catalogue-filters { display: none !important; }
	body { background: #fff; }
}

.header-cta { min-height: 42px; padding: 10px 18px; font-size: 0.78rem; white-space: nowrap; }
@media (max-width: 1260px) { .header-cta { min-height: 48px; } }

/* ---------- Design fixes ---------- */
.nowrap { white-space: nowrap; }
.section-head { max-width: 800px; }
.section-intro { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.lead-text { font-size: 1.12rem; text-align: center; color: var(--muted); }
.section-tight + .section { padding-top: 40px; }

.request-box { margin: 24px 0; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.request-box-title { margin: 0 0 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.request-box .check-list { margin: 0; }
.request-box .check-list li { padding: 5px 0; font-size: 0.95rem; }

.product-card-actions .btn { letter-spacing: 0.05em; }

/* Phones: two products per row so the catalogue stays compact. */
@media (max-width: 600px) {
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.product-card-body { padding: 12px 12px 14px; }
	.product-card-cat { font-size: 0.62rem; letter-spacing: 0.1em; margin-bottom: 4px; }
	.product-card-title { font-size: 1.12rem; line-height: 1.15; }
	.product-card-sku { font-size: 0.75rem; margin-bottom: 8px; }
	.product-card-specs { display: none; }
	.product-card-actions .btn { min-height: 36px; padding: 8px 6px; font-size: 0.66rem; letter-spacing: 0.03em; }
	.hero-title { font-size: 2.6rem; }
}

/* Text logo: butterfly mark + business name. */
.brand-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand-logo:hover { color: var(--white); }
.brand-mark { height: 42px; width: auto; display: block; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: 0.03em; color: var(--ivory); white-space: nowrap; }
.brand-sub { margin-top: 5px; font-family: var(--font-body); font-weight: 600; font-size: 0.64rem; letter-spacing: 0.46em; color: var(--gold-light); white-space: nowrap; }

.footer-brand .brand-mark { height: 48px; }
.footer-brand .brand-name { font-size: 1.6rem; }

.section-head.section-head-row { max-width: none; }
