/* ==========================================================================
   MyShop Catalogue: global styles
   Tokens · base · layout · header · navigation · search · buttons · forms
   · dialogs · footer · homepage · pages
   ========================================================================== */

:root {
	--ink: #14213d;
	--ink-2: #24365c;
	--ink-soft: #3b4a68;
	--muted: #5a6478;
	--paper: #f4f6f9;
	--paper-2: #eaeef4;
	--surface: #ffffff;
	--line: #d8dee8;
	--line-2: #e7ebf1;
	--amber: #f5b301;
	--amber-2: #e2a400;
	--amber-tint: #fff6da;
	--ok: #1e7f52;
	--warn: #a85b00;
	--bad: #b73226;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wide: 112%;

	--r-s: 6px;
	--r: 10px;
	--r-l: 16px;
	--shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
	--shadow-l: 0 24px 64px rgba(20, 33, 61, .22);

	--gutter: 16px;
	--max: 1320px;
	--header-h: 72px;
	--sticky-top: 0px;
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky-top) + 140px); }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	font-variant-numeric: lining-nums;
}

body.admin-bar { --sticky-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --sticky-top: 46px; } }
@media (max-width: 600px) { body.admin-bar { --sticky-top: 0px; } }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
svg.icon { display: inline-block; flex: none; vertical-align: middle; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }

h1, h2, h3, h4 {
	font-stretch: var(--wide);
	line-height: 1.15;
	margin: 0 0 .5em;
	font-weight: 750;
	letter-spacing: -.01em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.btn--quote:focus-visible { outline-color: var(--ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	z-index: 1000; top: 8px; left: 8px; padding: 10px 16px;
	background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

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

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	font: 650 15px/1.2 var(--font);
	border: 1px solid transparent; border-radius: 8px;
	background: var(--ink); color: #fff;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--ink-2); color: #fff; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--quote { background: var(--amber); color: var(--ink); }
.btn--quote:hover { background: var(--amber-2); color: var(--ink); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink-soft); }
.btn--whatsapp { background: #128c4b; color: #fff; }
.btn--whatsapp:hover { background: #0e743d; color: #fff; }
.btn--lg { min-height: 52px; padding: 13px 24px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }

.link-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink-2); text-decoration-thickness: 2px; }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 44px; min-height: 44px; padding: 6px;
	border: 0; border-radius: 8px; background: none; color: var(--ink);
	cursor: pointer; text-decoration: none; position: relative; font: inherit;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn__label { font-size: 14px; font-weight: 600; }

/* Forms ----------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="password"], input[type="url"], select, textarea {
	width: 100%; min-height: 44px; padding: 10px 12px;
	font: 400 15px/1.4 var(--font); color: var(--ink);
	background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 179, 1, .35);
}
label { font-size: 14px; font-weight: 600; }
.req { color: var(--bad); }
::placeholder { color: #8a93a5; opacity: 1; }

.form-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .field { margin: 0; display: grid; gap: 6px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: 13px; font-weight: 500; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; font-weight: 550; font-size: 15px; }
.form-status.is-success { background: #e7f5ee; color: #135c3a; }
.form-status.is-error { background: #fbeceb; color: #8c241b; }
.enquiry-form.is-sent .form-grid, .enquiry-form.is-sent .form-actions, .enquiry-form.is-sent .newsletter-row { display: none; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Top bar --------------------------------------------------------------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__text { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex: none; }
.topbar__links a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: inherit; }
.topbar__links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
	.topbar__email, .topbar__links .menu-item { display: none; }
	.topbar__inner { min-height: 34px; }
}

/* Header ---------------------------------------------------------------- */
.site-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	z-index: 60;
	position: relative;
}
.has-sticky-header .site-header { position: sticky; top: var(--sticky-top); }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(20, 33, 61, .08); }

.header-main {
	display: grid; align-items: center; gap: 12px 28px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: var(--header-h);
}
.site-brand { display: flex; align-items: center; min-width: 0; }
.site-brand .custom-logo { max-height: 52px; width: auto; }
.site-title {
	font-stretch: 118%; font-weight: 800; font-size: 22px; letter-spacing: -.02em;
	text-decoration: none; color: var(--ink); white-space: nowrap;
}
.header-search { max-width: 680px; width: 100%; justify-self: center; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.search-toggle, .menu-toggle { display: none; }

.cart-count {
	position: absolute; top: 2px; left: 26px;
	min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
	background: var(--amber); color: var(--ink);
	font-size: 11.5px; font-weight: 750; line-height: 19px; text-align: center;
}
.cart-count.is-empty { background: var(--paper-2); color: var(--muted); }
@media (min-width: 1024px) {
	.header-cart .cart-count { position: static; margin-left: 2px; }
}

@media (max-width: 1023px) {
	.icon-btn__label { display: none; }
	.menu-toggle { display: inline-flex; }
}
@media (max-width: 767px) {
	:root { --header-h: 60px; }
	.header-main { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
	.site-brand .custom-logo { max-height: 40px; }
	.site-title { font-size: 19px; overflow: hidden; text-overflow: ellipsis; }
	.search-toggle { display: inline-flex; }
	.header-account { display: none; }
	.header-search {
		display: none; grid-column: 1 / -1; grid-row: 2; max-width: none; padding-bottom: 12px;
	}
	body.search-open .header-search { display: block; }
}

/* Primary navigation ---------------------------------------------------- */
.site-nav { border-top: 1px solid var(--line-2); background: var(--surface); }
.site-nav__inner { position: relative; display: flex; align-items: center; gap: 24px; }
.site-nav__head { display: none; }
.site-nav .menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 2px; flex: 1; }
.site-nav .menu > li { position: static; display: flex; align-items: center; }
.site-nav .menu > li > a {
	display: block; padding: 13px 12px; font-weight: 600; font-size: 15px;
	text-decoration: none; color: var(--ink); position: relative;
}
.site-nav .menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
	background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav .menu > li > a:hover::after,
.site-nav .menu > li.current-menu-item > a::after,
.site-nav .menu > li.current-menu-ancestor > a::after,
.site-nav .menu > li.is-open > a::after { transform: scaleX(1); }

.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; margin-left: -8px; padding: 0;
	border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px;
}
.nav-toggle:hover { color: var(--ink); background: var(--paper); }
.nav-toggle .icon { transition: transform .2s; }
.is-open > .nav-toggle .icon { transform: rotate(180deg); }
.nav-phone { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 650; text-decoration: none; white-space: nowrap; }

/* Regular dropdowns */
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; min-width: 220px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow);
}
.site-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 15px; }
.site-nav .sub-menu a:hover { background: var(--paper); }

/* Mega panel */
.mega__inner { padding: 22px 24px 18px; }
.mega__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.mega__head { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.mega__thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--paper); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.mega__thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega__name { font-weight: 700; font-stretch: 106%; }
.mega__head:hover .mega__name { text-decoration: underline; }
.mega__count, .mega__n { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mega__list { list-style: none; margin: 8px 0 6px; padding: 0; }
.mega__list a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; text-decoration: none; font-size: 14.5px; color: var(--ink-soft); }
.mega__list a:hover { color: var(--ink); text-decoration: underline; }
.mega__all { font-size: 13.5px; font-weight: 650; }
.mega__foot { display: flex; gap: 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-weight: 650; font-size: 14.5px; }

@media (min-width: 1024px) {
	.site-nav .menu > li:not(.has-mega) { position: relative; }
	.site-nav .sub-menu, .site-nav .mega {
		position: absolute; top: 100%; z-index: 40;
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .15s, transform .15s, visibility 0s .15s;
	}
	.site-nav .sub-menu { left: 0; }
	.site-nav .sub-menu .sub-menu { left: 100%; top: 0; }
	.site-nav .mega {
		left: var(--gutter); right: var(--gutter);
		background: var(--surface); border: 1px solid var(--line); border-top: 0;
		border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: var(--shadow-l);
		max-height: calc(100vh - 200px); overflow: auto;
	}
	.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu,
	.site-nav li.has-mega:hover > .mega, .site-nav li.has-mega.is-open > .mega {
		opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
	}
	/* Keyboard users open the panel with the toggle button, so focus alone does not trap them in a large panel. */
	.site-nav li.has-mega.is-closed:hover > .mega { opacity: 0; visibility: hidden; }
}

/* Off-canvas navigation below 1024px */
@media (max-width: 1023px) {
	.site-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
		width: min(400px, 90vw); border: 0; overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(100%); visibility: hidden;
		transition: transform .25s ease, visibility 0s .25s;
		box-shadow: var(--shadow-l);
	}
	body.nav-open .site-nav { transform: none; visibility: visible; transition-delay: 0s; }
	.site-nav__inner { display: block; padding: 0; }
	.site-nav__head {
		display: flex; align-items: center; justify-content: space-between;
		padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 2;
	}
	.site-nav__title { font-weight: 750; font-stretch: var(--wide); }
	.site-nav .menu { display: block; padding: 8px 0; }
	.site-nav .menu > li { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line-2); }
	.site-nav .menu > li > a { padding: 14px 20px; font-size: 16px; }
	.site-nav .menu > li > a::after { display: none; }
	.nav-toggle { width: 52px; height: 52px; margin: 0; border-left: 1px solid var(--line-2); border-radius: 0; }
	.site-nav .sub-menu, .site-nav .mega { grid-column: 1 / -1; display: none; border: 0; box-shadow: none; border-radius: 0; background: var(--paper); }
	.site-nav li.is-open > .sub-menu, .site-nav li.is-open > .mega { display: block; }
	.site-nav .sub-menu { padding: 6px 12px 10px; }
	.mega__inner { padding: 10px 20px 16px; }
	.mega__grid { grid-template-columns: 1fr; gap: 14px; }
	.mega__thumb { width: 32px; height: 32px; }
	.mega__head { grid-template-columns: 32px 1fr auto; }
	.mega__foot { flex-direction: column; gap: 10px; }
	.nav-phone { display: flex; margin: 16px 20px 24px; }
	.nav-scrim { position: fixed; inset: 0; background: rgba(20, 33, 61, .5); z-index: 80; }
	.nav-scrim[hidden] { display: none; }
	body.nav-open { overflow: hidden; }
}

/* Search ---------------------------------------------------------------- */
.search-form { position: relative; display: flex; align-items: stretch; width: 100%; }
.search-form__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.search-form .search-form__input {
	flex: 1; min-width: 0; padding-left: 44px; border-radius: 10px 0 0 10px; border-right: 0;
	background: var(--paper); min-height: 46px;
}
.search-form .search-form__input:focus { background: var(--surface); }
.search-form__input::-webkit-search-cancel-button { cursor: pointer; }
.search-form__btn {
	border: 0; border-radius: 0 10px 10px 0; padding: 0 18px; cursor: pointer;
	background: var(--ink); color: #fff; font: 650 15px var(--font);
}
.search-form__btn:hover { background: var(--ink-2); }

.search-form.search-form--hero .search-form__input { min-height: 60px; font-size: 17px; background: var(--surface); border-color: var(--ink); border-width: 2px; border-right: 0; padding-left: 50px; }
.search-form--hero .search-form__icon { left: 18px; }
.search-form--hero .search-form__btn { padding: 0 26px; font-size: 16px; background: var(--amber); color: var(--ink); border: 2px solid var(--ink); border-left: 0; }
.search-form--hero .search-form__btn:hover { background: var(--amber-2); }
@media (max-width: 480px) {
	.search-form--hero .search-form__btn { padding: 0 14px; }
	.search-form.search-form--hero .search-form__input { font-size: 16px; }
}

.search-results {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow-l); max-height: min(70vh, 560px); overflow: auto; padding: 6px;
	text-align: left;
}
.search-results[hidden] { display: none; }
.sr-group { padding: 6px 4px; }
.sr-group + .sr-group { border-top: 1px solid var(--line-2); }
.sr-label { display: block; padding: 4px 8px; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.sr-item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.sr-item.is-term { grid-template-columns: 1fr auto; }
.sr-item:hover, .sr-item.is-active { background: var(--paper); }
.sr-item img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; }
.sr-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: block; }
.sr-meta { font-size: 12.5px; color: var(--muted); }
.sr-price { font-size: 14px; font-weight: 650; white-space: nowrap; }
.sr-all { display: block; padding: 10px 12px; font-weight: 650; font-size: 14.5px; border-top: 1px solid var(--line-2); text-decoration: none; }
.sr-all:hover, .sr-all.is-active { background: var(--paper); }
.sr-empty { padding: 14px 12px; margin: 0; color: var(--muted); font-size: 14.5px; }

/* Page header / breadcrumbs ------------------------------------------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; color: #a3abba; }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 28px 0 26px; }
.page-head--compact { padding: 20px 0 18px; }
.page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.page-title { margin: 0; }
.page-sub { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }
.page-body { padding-block: 36px 64px; }
.page-intro { margin-bottom: 32px; }

/* Prose ----------------------------------------------------------------- */
.prose { max-width: 75ch; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; }
.prose img { border-radius: var(--r); }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry--page { padding-block: 36px 64px; }
.entry--page .prose { max-width: 820px; }

/* Content with sidebar */
.content-layout { padding-block: 36px 64px; display: grid; gap: 40px; }
@media (min-width: 1024px) {
	.content-layout.has-sidebar:has(.content-sidebar) { grid-template-columns: minmax(0, 1fr) 300px; }
}
.post-list { display: grid; gap: 22px; }
.post-card { display: grid; gap: 18px; grid-template-columns: 1fr; border-bottom: 1px solid var(--line-2); padding-bottom: 22px; }
@media (min-width: 640px) { .post-card:has(.post-card__media) { grid-template-columns: 240px 1fr; } }
.post-card__media img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__title { font-size: 1.3rem; margin-bottom: 6px; }
.post-card__title a { text-decoration: none; }
.post-card__meta { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.entry-media { margin: 0 0 24px; }
.entry-media img { border-radius: var(--r-l); }
.widget { margin-bottom: 28px; }
.widget-title { font-size: 1.05rem; }

.pagination ul, .woocommerce-pagination ul.page-numbers {
	display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0; justify-content: center; border: 0;
}
.pagination a, .pagination span,
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--ink);
	background: var(--surface);
}
.pagination .current, .woocommerce-pagination .page-numbers span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover, .woocommerce-pagination .page-numbers a:hover { border-color: var(--ink); background: var(--paper); }

.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--r-l); background: var(--surface); }
.empty-state h2 { font-size: 1.35rem; }
.empty-state p { color: var(--muted); }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Sections -------------------------------------------------------------- */
.section { padding-block: 64px; }
.section--tint { background: var(--paper); }
.section--tight { padding-block: 40px; }
.section--flush { padding-block: 0; }
.section + .section:not(.section--tint):not(.section--flush) { padding-top: 16px; }
.section--tint + .section, .section--flush + .section { padding-top: 64px !important; }
@media (max-width: 767px) {
	.section { padding-block: 44px; }
	.section--tint + .section, .section--flush + .section { padding-top: 44px !important; }
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; flex-wrap: wrap; }
.section-title { margin: 0; }
.section-title--sm { font-size: 1.25rem; margin-bottom: 16px; }
.section-sub { margin: 8px 0 0; color: var(--muted); max-width: 62ch; }
.section-link { font-weight: 650; font-size: 15px; white-space: nowrap; }

/* Hero ------------------------------------------------------------------ */
.hero { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.hero__inner { display: grid; gap: 40px; padding-block: 56px 60px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; padding-block: 72px 80px; } }
.hero__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); font-stretch: 116%; font-weight: 800; letter-spacing: -.025em; max-width: 18ch; margin-bottom: 16px; }
.hero__text { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 26px; }
.hero__chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips a {
	display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); font-size: 14px; font-weight: 550; text-decoration: none;
}
.hero__chips a:hover { border-color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.hero__points li { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: 15px; }
.hero__points .icon { color: var(--ok); }
@media (max-width: 959px) { .hero__aside .index-card { display: none; } .hero__inner { gap: 0; } }
.hero__image img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

/* Catalogue index card: a printed-catalogue index with dotted leaders. */
.index-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
	padding: 22px 24px 18px; box-shadow: var(--shadow);
}
.index-card__head { font-stretch: var(--wide); font-weight: 800; font-size: 1.1rem; margin: 0 0 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.index-card ul { list-style: none; margin: 0; padding: 0; }
.index-card li a { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; text-decoration: none; font-size: 16px; }
.index-card__name { font-weight: 600; }
.index-card__rule { flex: 1; border-bottom: 2px dotted #b9c1cf; transform: translateY(-4px); }
.index-card__n { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--muted); }
.index-card li a:hover .index-card__name { text-decoration: underline; }
.index-card li a:hover .index-card__rule { border-color: var(--amber); }
.index-card__all { display: inline-block; margin-top: 12px; font-weight: 650; }

/* Category cards -------------------------------------------------------- */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.cat-grid--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-grid--index { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.cat-card__link { display: flex; flex-direction: column; text-decoration: none; padding: 12px 12px 14px; height: 100%; }
.cat-card__media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--paper); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cat-card__icon { color: #9aa3b3; }
.cat-card__name { font-weight: 700; font-stretch: 106%; line-height: 1.3; }
.cat-card__count { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.cat-card:hover { border-color: var(--ink); }
.cat-card:hover .cat-card__name { text-decoration: underline; }
.cat-grid--compact .cat-card__media { aspect-ratio: 16 / 10; }
.cat-card__children { list-style: none; margin: 0; padding: 0 12px 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-card__children a { display: inline-block; font-size: 13px; padding: 3px 9px; border-radius: 999px; background: var(--paper); text-decoration: none; }
.cat-card__children a:hover { background: var(--paper-2); text-decoration: underline; }
@media (max-width: 480px) {
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cat-card__link { padding: 8px 8px 10px; }
	.cat-card__name { font-size: 14.5px; }
}

/* Brands ---------------------------------------------------------------- */
.brand-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.brand-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	gap: 6px; padding: 16px 12px; min-height: 108px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
}
.brand-tile:hover { border-color: var(--ink); }
.brand-tile__logo { height: 56px; display: flex; align-items: center; justify-content: center; }
.brand-tile__logo img { max-height: 56px; width: auto; max-width: 140px; object-fit: contain; }
.brand-tile__word { font-stretch: 120%; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-tile__name { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.brand-tile--text .brand-tile__name { display: none; }
.brand-tile__count { font-size: 12.5px; color: var(--muted); }
.brand-grid--page .brand-tile--text .brand-tile__name { display: none; }
@media (max-width: 480px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; position: sticky; top: calc(var(--sticky-top) + var(--header-h) + 50px); background: var(--surface); padding: 8px 0; z-index: 5; }
.az-nav a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 650; }
.az-nav a:hover { border-color: var(--ink); }
.az-group { margin-bottom: 32px; }
.az-group__letter { font-size: 1.5rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }

/* Services -------------------------------------------------------------- */
.service-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.service-card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--amber-tint); color: var(--ink); display: grid; place-items: center; overflow: hidden; }
.service-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card__title { font-size: 1.1rem; margin: 4px 0 0; }
.service-card__title a { text-decoration: none; }
.service-card__title a:hover { text-decoration: underline; }
.service-card__text { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.service-card__price { font-weight: 650; font-size: 15px; }
.services-band { background: var(--surface); }

.cta-strip { margin-top: 40px; padding: 26px 28px; border-radius: var(--r-l); background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.cta-strip h2 { font-size: 1.35rem; margin-bottom: 4px; }
.cta-strip p { margin: 0; color: rgba(255, 255, 255, .78); }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-strip .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-strip .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* Promo: barcode stripe motif ----------------------------------------- */
.promo {
	position: relative; overflow: hidden; border-radius: var(--r-l);
	background: var(--ink); color: #fff;
	display: grid; align-items: center; gap: 24px;
	padding: 40px clamp(24px, 4vw, 56px);
}
@media (min-width: 860px) { .promo { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding-block: 52px; } }
.promo__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-stretch: 116%; color: #fff; max-width: 20ch; }
.promo__text { color: rgba(255, 255, 255, .8); max-width: 52ch; font-size: 1.05rem; margin-bottom: 24px; }
.promo__media img { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.promo__pattern {
	align-self: stretch; min-height: 140px; border-radius: 8px;
	background:
		repeating-linear-gradient(90deg,
			var(--amber) 0 3px, transparent 3px 7px,
			var(--amber) 7px 8px, transparent 8px 13px,
			var(--amber) 13px 18px, transparent 18px 21px,
			var(--amber) 21px 22px, transparent 22px 27px);
	opacity: .9;
	mask-image: linear-gradient(90deg, transparent, #000 30%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
}
@media (max-width: 859px) { .promo__pattern { min-height: 56px; } }

/* Enquiry band ---------------------------------------------------------- */
.enquiry-band { background: var(--paper); }
.enquiry-band__inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .enquiry-band__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; } }
.enquiry-band__ways { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.enquiry-band__ways a, .enquiry-band__ways .link-btn { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; }
.enquiry-band__ways a:hover span, .enquiry-band__ways .link-btn:hover span { text-decoration: underline; }
.enquiry-band__ways .link-btn { text-decoration: none; }
.enquiry-band__form, .card-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); }
.card-box__title { font-size: 1.3rem; }

/* About band ------------------------------------------------------------ */
.about-band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-band__inner:not(.no-image) { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-band__media img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 24px 0; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-size: 2rem; font-weight: 800; font-stretch: var(--wide); line-height: 1.1; font-variant-numeric: tabular-nums; }

/* Benefits -------------------------------------------------------------- */
.benefits { border-block: 1px solid var(--line-2); }
.benefit-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; }
.benefit__title { font-size: 1rem; margin: 2px 0 4px; font-stretch: 106%; }
.benefit__text { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Newsletter ------------------------------------------------------------ */
.newsletter { background: var(--amber-tint); border-top: 1px solid #f1e2b0; }
.newsletter__inner { display: grid; gap: 18px 40px; padding-block: 40px; align-items: center; }
@media (min-width: 860px) { .newsletter__inner { grid-template-columns: 1fr 1fr; } }
.newsletter__title { font-size: 1.5rem; margin-bottom: 4px; }
.newsletter__copy p { margin: 0; color: var(--ink-soft); }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; }
@media (max-width: 400px) { .newsletter-row { flex-direction: column; } }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px 32px; padding-block: 56px 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand .site-title { color: #fff; }
.footer-brand .custom-logo { max-height: 48px; width: auto; filter: none; }
.footer-about { margin: 16px 0; max-width: 46ch; }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links, .legal-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.site-footer .link-btn { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer .link-btn:hover { color: #fff; text-decoration: underline; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.contact-list .icon { margin-top: 3px; }
.contact-list address { font-style: normal; }
.social-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); }
.social-links a:hover { background: rgba(255, 255, 255, .08); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-block: 18px; }
.copyright { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 55;
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: #128c4b; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float:hover { background: #0e743d; color: #fff; }
body.has-sticky-buy .wa-float { bottom: 88px; }

/* Dialogs --------------------------------------------------------------- */
.modal {
	padding: 0; border: 0; background: transparent; color: var(--ink);
	width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
}
.modal::backdrop { background: rgba(20, 33, 61, .55); }
.modal__box { background: var(--surface); border-radius: var(--r-l); padding: 24px clamp(18px, 4vw, 30px) 26px; box-shadow: var(--shadow-l); }
.modal__head { position: relative; padding-right: 44px; margin-bottom: 18px; }
.modal__head h2 { font-size: 1.45rem; margin-bottom: 6px; }
.modal__head p { margin: 0; color: var(--muted); font-size: 15px; }
.modal__close { position: absolute; top: -6px; right: -8px; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.modal__close:hover { background: var(--paper); }
.modal[open] .modal__box { animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
	.modal { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 92dvh; }
	.modal__box { border-radius: var(--r-l) var(--r-l) 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
body.modal-open { overflow: hidden; }

/* About / contact pages -------------------------------------------------- */
.about-page__intro { display: grid; gap: 32px; margin-bottom: 48px; }
@media (min-width: 900px) { .about-page__intro.has-image { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.about-page__media { margin: 0; }
.about-page__media img { border-radius: var(--r-l); }
.about-block { margin-bottom: 48px; }
.about-block .section-title { margin-bottom: 18px; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list a { display: inline-flex; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pill-list a span { color: var(--muted); font-weight: 500; }
.pill-list a:hover { border-color: var(--ink); }
.about-contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 28px; background: var(--paper); border-radius: var(--r-l); }
.about-contact__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }

.contact-page { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-page { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.contact-page__info .contact-list { margin: 24px 0; font-size: 16px; gap: 14px; }
.contact-page__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.map-wrap { padding-bottom: 64px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--r-l); display: block; }
.admin-hint { padding: 12px 14px; border: 1px dashed var(--warn); border-radius: 8px; color: var(--warn); font-size: 14px; margin-bottom: 48px; }

/* 404 */
.not-found { padding-block: 72px 96px; }
.not-found__inner { max-width: 720px; text-align: center; }
.not-found__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; font-stretch: 125%; line-height: 1; margin-bottom: 8px; color: var(--paper-2); -webkit-text-stroke: 2px var(--ink); }
.not-found .search-form { margin: 28px auto; max-width: 560px; }
.not-found__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.search-again { margin-bottom: 28px; max-width: 640px; }

/* Comments */
.comments { margin-top: 48px; }
.comment-list { padding-left: 1.2em; }
