/*
Theme Name: Hyperlink
Theme URI: https://hyperlinknetph.com/
Description: Child theme of Twenty Twenty-Five for Hyperlink A&L Enterprises OPC. Carries the Hyperlink design system (tokens in theme.json, component styles below) for pages built with core blocks.
Author: IJTechDev
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: hyperlink
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--hl-primary: var(--wp--preset--color--accent-1, #1F4FD1);
	--hl-accent-blue: #2E9BEA;
	--hl-ink: var(--wp--preset--color--contrast, #0f1729);
	--hl-muted: var(--wp--preset--color--accent-4, #65758b);
	--hl-border: var(--wp--preset--color--accent-6, #e1e7ef);
	--hl-page: var(--wp--preset--color--base, #fbfcfd);
	--hl-card: #ffffff;
	--hl-accent: var(--wp--preset--color--accent-2, #e5f2ff);
	--hl-accent-ink: var(--wp--preset--color--accent-3, #0846aa);
	--hl-secondary: var(--wp--preset--color--accent-5, #f1f5f9);
	--hl-tint: rgba(21, 83, 199, 0.1);
	--hl-ring-hover: rgba(21, 83, 199, 0.4);
	--hl-section-muted: rgba(241, 245, 249, 0.4);
	--hl-destructive: #ef4343;

	/* On the blue band (raised from the source's white/75-80 to pass AA) */
	--hl-on-primary: #ffffff;
	--hl-on-primary-text: rgba(255, 255, 255, 0.92);
	--hl-on-primary-glass: rgba(255, 255, 255, 0.1);
	--hl-on-primary-glass-hover: rgba(255, 255, 255, 0.15);
	--hl-on-primary-line: rgba(255, 255, 255, 0.2);

	/* Footer */
	--hl-ink-surface: #0f1729;
	--hl-footer-text: rgba(255, 255, 255, 0.8);
	--hl-footer-body: rgba(255, 255, 255, 0.7);
	--hl-footer-subtle: rgba(255, 255, 255, 0.6);
	--hl-footer-line: rgba(255, 255, 255, 0.1);

	--hl-radius-md: 10px;
	--hl-radius-lg: 12px;
	--hl-radius-2xl: 16px;
	--hl-radius-3xl: 24px;
	--hl-radius-full: 9999px;

	--hl-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--hl-shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	--hl-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--hl-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--hl-glow-logo: 0 10px 15px -3px rgba(21, 83, 199, 0.3), 0 4px 6px -4px rgba(21, 83, 199, 0.3);
	--hl-glow-cta: 0 10px 15px -3px rgba(21, 83, 199, 0.25), 0 4px 6px -4px rgba(21, 83, 199, 0.25);
	--hl-glow-media: 0 25px 50px -12px rgba(21, 83, 199, 0.2);
	--hl-glow-featured: 0 25px 50px -12px rgba(21, 83, 199, 0.3);

	--hl-grid-line: color-mix(in srgb, var(--hl-border) 40%, transparent);
	--hl-header-h: 64px;
}
@media (min-width: 1024px) {
	:root { --hl-header-h: 80px; }
}

/* Sticky footer — keeps footer at viewport bottom on short pages */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.wp-site-blocks > main {
	flex: 1 0 auto;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2 { text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--hl-primary); }
h1 em, h2 em { color: rgb(11, 100, 244); }

/* Icon variables (--hl-icon-*) and .hl-i-* helpers live in assets/icons.css. */

/* ==========================================================================
   2. Icon system (Lucide line icons as CSS masks, coloured by currentColor)
   ========================================================================== */
.hl-pill[class*="hl-i-"]::before,
.hl-chip::before,
.hl-checklist li::before,
.hl-btn-arrow .wp-block-button__link::after,
.hl-arrow-link a::after,
.hl-icon-card::after,
.hl-glass::after,
.hl-info::after,
.hl-stat::after,
.hl-float-card::after,
.hl-logo::after,
.hl-footer-reach li::before {
	content: "";
	display: inline-block;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: var(--hl-icon) center / contain no-repeat;
	mask: var(--hl-icon) center / contain no-repeat;
}

/* ==========================================================================
   3. Page frame: header, sticky behaviour, landing template
   ========================================================================== */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
.wp-block-group.hl-header {
	background: color-mix(in srgb, var(--hl-card) 90%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--hl-border);
	box-shadow: var(--hl-shadow-sm);
	padding-top: 0;
	padding-bottom: 0;
}
.wp-block-group.hl-header-bar {
	min-height: var(--hl-header-h);
	gap: 16px;
}
body.page-template-page-landing .wp-site-blocks > * + * { margin-block-start: 0; }
body.page-template-page-landing main.wp-block-group { margin-top: 0; }
.hl-landing.entry-content > * { margin-block-start: 0; margin-block-end: 0; }
html { scroll-padding-top: calc(var(--hl-header-h) + var(--wp-admin--admin-bar--height, 0px)); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Logo lockup: wifi tile + site title + tagline */
.wp-block-group.hl-logo {
	position: relative;
	padding-left: 50px;
	min-height: 40px;
	justify-content: center;
	gap: 0;
}
.hl-logo::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border-radius: var(--hl-radius-lg);
	background: var(--hl-primary);
	box-shadow: var(--hl-glow-logo);
	transition: transform .15s;
}
.hl-logo::after {
	position: absolute;
	left: 10px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	color: #fff;
	transition: transform .15s;
}
.hl-logo:hover::before, .hl-logo:hover::after { transform: scale(1.05); }
.hl-logo .wp-block-site-title { margin: 0; font-size: 15px; line-height: 18.75px; font-weight: 600; letter-spacing: -0.375px; }
.hl-logo .wp-block-site-title a { color: var(--hl-ink); text-decoration: none; }
.hl-logo .wp-block-site-title a::before { content: ""; position: absolute; inset: 0; } /* whole lockup clickable */
.hl-logo .wp-block-site-tagline { margin: 0; font-size: 10px; line-height: 15px; font-weight: 500; letter-spacing: 0.25px; text-transform: uppercase; color: var(--hl-muted); }

/* Navigation */
.hl-nav.wp-block-navigation { gap: 4px; }
.hl-nav .wp-block-navigation-item__content {
	display: block;
	padding: 8px 16px;
	border-radius: var(--hl-radius-lg);
	color: var(--hl-muted);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	text-decoration: none;
	transition: color .15s, background-color .15s;
}
.hl-nav .wp-block-navigation-item__content:hover,
.hl-nav .wp-block-navigation-item__content:focus-visible,
.hl-nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--hl-primary);
	background: var(--hl-accent);
	text-decoration: none;
}
.hl-nav .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: none; background: var(--hl-accent); color: var(--hl-primary); }
.hl-nav .wp-block-navigation-item__content:active { outline: none; background: var(--hl-accent); color: var(--hl-primary); }
/* Mobile menu (< 600px): a dropdown panel under the header instead of WordPress's full-screen overlay.
   The header (.hl-header) is the containing block for the fixed panel (contain: layout, plus its backdrop-filter),
   so top: 100% puts the panel right under the header bar, whether or not the admin bar is showing. */
@media (max-width: 599px) {
	.wp-block-group.hl-header { contain: layout; }
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open {
		top: 100%;
		right: 0;
		bottom: auto;
		left: 0;
		height: auto;
		overflow: visible;
		padding: 8px 16px 16px;
		background: var(--hl-card);
		color: var(--hl-ink);
		border-bottom: 1px solid var(--hl-border);
		box-shadow: var(--hl-shadow-lg);
	}
	body .hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0; }
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0; align-items: stretch; }
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 4px; width: 100%; }
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		box-sizing: border-box;
		width: 100%;
		padding: 12px 16px;
		border-radius: var(--hl-radius-lg);
		font-size: 16px;
		line-height: 24px;
		color: var(--hl-ink);
	}
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] { color: var(--hl-primary); background: var(--hl-accent); }
	/* WordPress focuses the first link when the menu opens; hide that ring for tap/mouse users, keep a ring for keyboard users */
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: none; }
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--hl-primary); outline-offset: -2px; }
	.hl-nav .wp-block-navigation__responsive-container-close:focus:not(:focus-visible) { outline: none; }
	/* Close (X) sits exactly where the hamburger was: up by the panel's top padding + half the header bar + half the 24px icon */
	.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: calc(-8px - var(--hl-header-h) / 2 - 12px); right: 0; }
	.hl-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open { visibility: hidden; }
}
.hl-nav .wp-block-navigation__responsive-container-open svg { width: 24px; height: 24px; }
@media (max-width: 1023px) {
	.hl-header-cta { display: none !important; }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	box-sizing: border-box;
	white-space: nowrap;
	box-shadow: var(--hl-shadow-sm);
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.wp-block-button .wp-block-button__link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--hl-card), 0 0 0 4px var(--hl-primary); }
.wp-block-button.hl-btn-sm .wp-block-button__link { min-height: 32px; padding: 6px 12px; font-size: 12px; line-height: 16px; }
.wp-block-button.hl-btn-glow .wp-block-button__link { box-shadow: var(--hl-glow-cta); }
.hl-btn-arrow { --hl-icon: var(--hl-icon-arrow-right); }
.hl-btn-arrow .wp-block-button__link::after { width: 16px; height: 16px; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--hl-border);
	color: var(--hl-ink);
	padding: 9px 32px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--hl-accent);
	color: var(--hl-accent-ink);
}
.wp-block-buttons.hl-actions { gap: 12px; margin-top: 32px; }
@media (max-width: 639px) {
	.wp-block-buttons.hl-actions { flex-direction: column; align-items: stretch; }
	.wp-block-buttons.hl-actions .wp-block-button, .wp-block-buttons.hl-actions .wp-block-button__link { width: 100%; }
}

/* Arrow link (paragraph with a link) */
.hl-arrow-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--hl-primary);
	font-weight: 600;
	text-decoration: none;
	transition: gap .15s;
}
.hl-arrow-link a:hover { gap: 10px; text-decoration: none; }
.hl-arrow-link a::after { width: 16px; height: 16px; --hl-icon: var(--hl-icon-arrow-right); }

/* ==========================================================================
   5. Pills, chips, ribbons, lists
   ========================================================================== */
p.hl-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 16px;
	padding: 6px 12px;
	border-radius: var(--hl-radius-full);
	background: var(--hl-tint);
	color: var(--hl-accent-ink);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
}
p.hl-pill[class*="hl-i-"]::before { width: 14px; height: 14px; color: var(--hl-primary); }
p.hl-pill--on-primary { background: var(--hl-on-primary-glass-hover); color: var(--hl-on-primary); }
p.hl-pill--on-primary[class*="hl-i-"]::before { color: var(--hl-on-primary); }
/* live dot */
p.hl-pill--live { position: relative; padding-left: 28px; margin-bottom: 24px; }
p.hl-pill--live::before,
p.hl-pill--live::after {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: var(--hl-radius-full);
	background: var(--hl-primary);
}
p.hl-pill--live::before { opacity: .75; animation: hl-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes hl-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { p.hl-pill--live::before { animation: none; } }

p.hl-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 6px 12px;
	border-radius: var(--hl-radius-lg);
	background: var(--hl-tint);
	color: var(--hl-accent-ink);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	--hl-icon: var(--hl-icon-wifi);
}
p.hl-chip::before { width: 16px; height: 16px; color: var(--hl-primary); }

ul.hl-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
ul.hl-checklist li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	--hl-icon: var(--hl-icon-check);
}
ul.hl-checklist li::before { width: 16px; height: 16px; color: var(--hl-primary); }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.wp-block-group.hl-section {
	position: relative;
	overflow: hidden;
	padding-top: 80px;
	padding-bottom: 80px;
}
@media (min-width: 1024px) {
	.wp-block-group.hl-section { padding-top: 112px; padding-bottom: 112px; }
}
.wp-block-group.hl-section--muted { background: var(--hl-section-muted); }
.wp-block-group.hl-section--primary { background: var(--hl-primary); color: var(--hl-on-primary); }
.hl-section--primary::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .2;
	pointer-events: none;
	background-image:
		linear-gradient(to right, var(--hl-grid-line) 1px, transparent 1px),
		linear-gradient(to bottom, var(--hl-grid-line) 1px, transparent 1px);
	background-size: 40px 40px;
}
.hl-section > * { position: relative; }
.hl-section--primary h1, .hl-section--primary h2, .hl-section--primary h3 { color: var(--hl-on-primary); }
.hl-section--primary .hl-lead { color: var(--hl-on-primary-text); }

/* Section heading block */
.wp-block-group.hl-heading { gap: 0; margin-bottom: 56px; }
.wp-block-group.hl-heading > * { margin: 0; }
.wp-block-group.hl-heading > .hl-pill { margin-bottom: 16px; }
.wp-block-group.hl-heading .hl-lead { max-width: 42rem; }
.wp-block-group.hl-heading > p.hl-lead { margin-top: 16px; }

.hl-section h2, .hl-hero h1 { margin-top: 0; margin-bottom: 0; }
.hl-section h1 { margin: 0; font-size: var(--wp--preset--font-size--x-large); line-height: 1.08; }
p.hl-lead {
	margin-top: 16px;
	margin-bottom: 0;
	font-size: 18px;
	line-height: 1.625;
	color: var(--hl-muted);
	max-width: 36rem;
}
p.hl-footnote { margin-top: 40px; font-size: 12px; line-height: 16px; color: var(--hl-muted); }

/* Card grids: 1 / 2 / 3 columns at 640 / 1024 */
.wp-block-group.hl-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
	.wp-block-group.hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.wp-block-group.hl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.wp-block-group.hl-grid > * { margin: 0; }

/* Two-column splits (core/columns) */
.wp-block-columns.hl-split { gap: 48px; margin: 0; }
@media (min-width: 1024px) { .wp-block-columns.hl-split { gap: 64px; } }
@media (max-width: 1023px) {
	.wp-block-columns.hl-split { flex-wrap: wrap !important; }
	.wp-block-columns.hl-split > .wp-block-column { flex-basis: 100% !important; }
}
.wp-block-columns.hl-split + .hl-grid { margin-top: 56px; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.wp-block-group.hl-hero {
	position: relative;
	overflow: hidden;
	padding-top: 64px;
	padding-bottom: 80px;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--hl-accent) 60%, transparent), var(--hl-page) 66%);
}
@media (min-width: 1024px) {
	.wp-block-group.hl-hero { padding-top: 96px; padding-bottom: 112px; }
}
.hl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .4;
	pointer-events: none;
	background-image:
		linear-gradient(to right, var(--hl-grid-line) 1px, transparent 1px),
		linear-gradient(to bottom, var(--hl-grid-line) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse at top, #000, transparent 70%);
	mask-image: radial-gradient(ellipse at top, #000, transparent 70%);
}
.hl-hero > * { position: relative; }
.hl-hero h1 { letter-spacing: -0.025em; }
.hl-hero p.hl-lead { margin-top: 24px; }

.wp-block-group.hl-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: 28rem;
	margin-top: 40px;
}
.wp-block-group.hl-stat {
	position: relative;
	margin: 0;
	padding-top: 48px;
}
.hl-stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: var(--hl-radius-lg);
	background: var(--hl-tint);
}
.hl-stat::after { position: absolute; left: 10px; top: 10px; width: 20px; height: 20px; color: var(--hl-primary); }
.hl-stat p { margin: 0; font-size: 12px; line-height: 15px; font-weight: 500; color: var(--hl-muted); }

/* ==========================================================================
   8. Media frame (core/image) + floating card
   ========================================================================== */
.wp-block-group.hl-media-wrap { position: relative; margin: 0; }
figure.wp-block-image.hl-media {
	position: relative;
	margin: 0;
	border-radius: var(--hl-radius-3xl);
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--hl-border), var(--hl-glow-media);
}
figure.wp-block-image.hl-media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}
figure.wp-block-image.hl-media--overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to top, color-mix(in srgb, var(--hl-primary) 30%, transparent), transparent 66%);
}
figure.wp-block-image.hl-media--on-primary { box-shadow: 0 0 0 1px var(--hl-on-primary-line), 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
figure.wp-block-image.hl-media--wide img { aspect-ratio: 16 / 10; }

.wp-block-group.hl-float-card {
	position: absolute;
	left: -20px;
	bottom: -20px;
	display: none;
	gap: 2px;
	margin: 0;
	padding: 16px 20px 16px 76px;
	background: var(--hl-card);
	border-radius: var(--hl-radius-2xl);
	box-shadow: 0 0 0 1px var(--hl-border), var(--hl-shadow-xl);
	z-index: 2;
}
@media (min-width: 640px) { .wp-block-group.hl-float-card { display: flex; } }
.hl-float-card::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border-radius: var(--hl-radius-lg);
	background: var(--hl-primary);
}
.hl-float-card::after { position: absolute; left: 32px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: #fff; }
.hl-float-card p { margin: 0; }
.hl-float-card p.hl-float-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--hl-ink); }
.hl-float-card p.hl-float-sub { font-size: 12px; line-height: 16px; color: var(--hl-muted); }

/* ==========================================================================
   9. Cards
   ========================================================================== */
.wp-block-group.hl-card {
	position: relative;
	margin: 0;
	border-radius: var(--hl-radius-2xl);
	background: var(--hl-card);
	color: var(--hl-ink);
	box-shadow: 0 0 0 1px var(--hl-border), var(--hl-shadow-sm);
	transition: box-shadow .3s, transform .3s, background-color .3s;
}
.wp-block-group.hl-card:hover { box-shadow: 0 0 0 1px var(--hl-ring-hover), var(--hl-shadow-lg); }

/* Linked card: category grid on /product-category/computer-retail/ */
a.hl-card {
	display: block;
	position: relative;
	text-decoration: none;
	color: inherit;
}
a.hl-card:hover { box-shadow: 0 0 0 1px var(--hl-ring-hover), var(--hl-shadow-lg); }
a.hl-card:focus-visible { outline: 2px solid var(--hl-primary); outline-offset: 2px; }
.wp-block-group.hl-card > * { margin-top: 0; margin-bottom: 0; }
.hl-card h3, .hl-glass h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: normal; }
.hl-card p.hl-card-desc, .hl-glass p { margin: 6px 0 0; font-size: 14px; line-height: 1.625; color: var(--hl-muted); }
/* Dynamic shortcode cards use <span> to avoid wpautop block-in-inline issues */
.hl-card .hl-card-h { display: block; margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: normal; color: var(--hl-ink); }
.hl-card span.hl-card-desc { display: block; margin: 6px 0 0; font-size: 14px; line-height: 1.625; color: var(--hl-muted); }

/* Icon card (category): 48px tint tile drawn by ::before/::after */
.wp-block-group.hl-icon-card,
a.hl-icon-card { padding: 88px 24px 24px; }
.hl-icon-card::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 24px;
	width: 48px;
	height: 48px;
	border-radius: var(--hl-radius-lg);
	background: var(--hl-tint);
	transition: background-color .15s;
}
.hl-icon-card::after { position: absolute; left: 36px; top: 36px; width: 24px; height: 24px; color: var(--hl-primary); transition: color .15s; }
.hl-icon-card:hover::before,
a.hl-icon-card:hover::before { background: var(--hl-primary); }
.hl-icon-card:hover::after,
a.hl-icon-card:hover::after { color: #fff; }

/* Info card (contact) */
.wp-block-group.hl-info { padding: 92px 28px 28px; }
.hl-info::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 28px;
	width: 48px;
	height: 48px;
	border-radius: var(--hl-radius-lg);
	background: var(--hl-tint);
}
.hl-info::after { position: absolute; left: 40px; top: 40px; width: 24px; height: 24px; color: var(--hl-primary); }
.hl-info p { margin: 8px 0 0; font-size: 14px; line-height: 1.625; color: var(--hl-muted); }
.hl-info p a, .hl-info p strong { display: inline-block; font-weight: 600; color: var(--hl-ink); text-decoration: none; }
.hl-info p a:hover { color: var(--hl-primary); }
.wp-block-group.hl-info-stack { display: grid; grid-auto-rows: 1fr; gap: 20px; flex: 1; }
.wp-block-group.hl-info-stack > * { margin: 0; }
/* Contact split: both columns flex so cards + form fill the full column height equally */
.hl-split:not(.are-vertically-aligned-center) .wp-block-column { display: flex; flex-direction: column; }
.hl-split:not(.are-vertically-aligned-center) .wp-block-column > .hl-card { flex: 1; }

/* Plan card */
.wp-block-group.hl-plan {
	display: flex;
	flex-direction: column;
	padding: 28px;
}
.wp-block-group.hl-plan:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .wp-block-group.hl-plan:hover { transform: none; } }
.hl-plan p.hl-ribbon {
	position: absolute;
	top: -12px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 4px 12px;
	border-radius: var(--hl-radius-full);
	background: var(--hl-accent);
	color: var(--hl-accent-ink);
	font-size: 11px;
	line-height: 16px;
	font-weight: 600;
	--hl-icon: var(--hl-icon-star);
}
.hl-plan p.hl-ribbon::before { content: ""; width: 12px; height: 12px; background-color: currentColor; -webkit-mask: var(--hl-icon) center / contain no-repeat; mask: var(--hl-icon) center / contain no-repeat; }
.hl-plan p.hl-plan-name { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--hl-muted); }
.wp-block-group.hl-price { margin-top: 12px; gap: 4px; align-items: baseline; }
.hl-price p { margin: 0; }
.hl-price p.hl-price-cur { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--hl-muted); }
.hl-price p.hl-price-amt { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.9px; font-variant-numeric: tabular-nums; color: var(--hl-ink); }
.hl-price p.hl-price-per { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--hl-muted); }
.hl-plan p.hl-chip { margin-top: 16px; }
.hl-plan p.hl-plan-blurb { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--hl-muted); }
.hl-plan ul.hl-checklist { margin-top: 20px; flex: 1; color: var(--hl-ink); }
.hl-plan .wp-block-buttons { margin-top: 24px; }
.hl-plan .wp-block-button, .hl-plan .wp-block-button__link { width: 100%; }
.hl-plan .wp-block-button__link { box-shadow: var(--hl-shadow-md); }

/* Featured plan (blue) */
.wp-block-group.hl-plan--featured {
	background: var(--hl-primary);
	color: var(--hl-on-primary);
	box-shadow: 0 0 0 2px var(--hl-primary), var(--hl-glow-featured);
}
.wp-block-group.hl-plan--featured:hover { box-shadow: 0 0 0 2px var(--hl-primary), var(--hl-glow-featured); }
.hl-plan--featured p.hl-ribbon { background: #fff; color: var(--hl-primary); }
.hl-plan--featured p.hl-plan-name,
.hl-plan--featured .hl-price p,
.hl-plan--featured p.hl-plan-blurb,
.hl-plan--featured ul.hl-checklist,
.hl-plan--featured ul.hl-checklist li::before { color: var(--hl-on-primary); }
.hl-plan--featured .hl-price p.hl-price-cur, .hl-plan--featured .hl-price p.hl-price-per { color: var(--hl-on-primary-text); }
.hl-plan--featured p.hl-chip { background: var(--hl-on-primary-glass-hover); color: var(--hl-on-primary); }
.hl-plan--featured p.hl-chip::before { color: var(--hl-on-primary); }
.hl-plan--featured .wp-block-button__link { background: var(--hl-secondary); color: var(--hl-ink); }
.hl-plan--featured .wp-block-button__link:hover { background: color-mix(in srgb, var(--hl-secondary) 85%, transparent); color: var(--hl-ink); }

/* Glass card on the blue band */
.wp-block-group.hl-glass {
	position: relative;
	margin: 0;
	padding: 84px 24px 24px;
	border-radius: var(--hl-radius-2xl);
	background: var(--hl-on-primary-glass);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	box-shadow: 0 0 0 1px var(--hl-on-primary-glass-hover);
	transition: background-color .15s;
}
.wp-block-group.hl-glass:hover { background: var(--hl-on-primary-glass-hover); }
.hl-glass::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 24px;
	width: 44px;
	height: 44px;
	border-radius: var(--hl-radius-lg);
	background: #fff;
}
.hl-glass::after { position: absolute; left: 36px; top: 36px; width: 20px; height: 20px; color: var(--hl-primary); }
.wp-block-group.hl-glass > * { margin-top: 0; margin-bottom: 0; }
.hl-glass h3 { color: var(--hl-on-primary); }
.hl-glass p { color: var(--hl-on-primary-text); }

/* Why section: copy + photo on the left, 2-up glass grid on the right */
.hl-why figure.wp-block-image.hl-media { margin-top: 40px; }
.wp-block-group.hl-why-grid { margin-top: 0; }

/* Why section without the blue band (Why Us page): glass cards become white cards */
.hl-why--light .wp-block-group.hl-glass {
	background: var(--hl-card);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: 0 0 0 1px var(--hl-border), var(--hl-shadow-sm);
	transition: box-shadow .3s;
}
.hl-why--light .wp-block-group.hl-glass:hover { background: var(--hl-card); box-shadow: 0 0 0 1px var(--hl-ring-hover), var(--hl-shadow-lg); }
.hl-why--light .hl-glass::before { background: var(--hl-tint); }
.hl-why--light .hl-glass h3 { color: var(--hl-ink); }
.hl-why--light .hl-glass p { color: var(--hl-muted); }

/* ==========================================================================
   10. Inquiry form card (Contact Form 7)
   ========================================================================== */
.wp-block-group.hl-form-card { padding: 24px; }
@media (min-width: 640px) { .wp-block-group.hl-form-card { padding: 32px; } }
.hl-form-card h3.hl-form-title { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.6px; }
@media (min-width: 640px) { .hl-form-card h3.hl-form-title { font-size: 30px; line-height: 36px; } }
.hl-form-card p.hl-form-intro { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--hl-muted); }
.hl-form-card .wpcf7 { margin-top: 24px; }
.hl-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.hl-form-card .wpcf7-form > p { margin: 0; }
.hl-form-card .hl-form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .hl-form-card .hl-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hl-form-card .hl-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hl-form-card .hl-field label,
.hl-form-card label.hl-label { font-size: 14px; line-height: 1; font-weight: 500; color: var(--hl-ink); }
.hl-form-card .hl-req { color: var(--hl-destructive); }
.hl-form-card .wpcf7-form-control-wrap { display: block; }
.hl-form-card input[type="text"],
.hl-form-card input[type="tel"],
.hl-form-card input[type="email"],
.hl-form-card select,
.hl-form-card textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 36px;
	padding: 4px 12px;
	border: 1px solid var(--hl-border);
	border-radius: var(--hl-radius-md);
	background: transparent;
	color: var(--hl-ink);
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	box-shadow: var(--hl-shadow-sm);
	transition: box-shadow .15s, border-color .15s;
}
.hl-form-card select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 32px;
	cursor: pointer;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.hl-form-card textarea { height: auto; min-height: 96px; padding: 8px 12px; resize: vertical; }
.hl-form-card input::placeholder, .hl-form-card textarea::placeholder { color: var(--hl-muted); }
.hl-form-card input:focus-visible, .hl-form-card select:focus-visible, .hl-form-card textarea:focus-visible {
	outline: none;
	border-color: var(--hl-primary);
	box-shadow: 0 0 0 1px var(--hl-primary);
}
.hl-form-card .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 9px 32px;
	border: 0;
	border-radius: var(--hl-radius-md);
	background: var(--hl-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z'/%3E%3Cpath d='m21.854 2.147-10.94 10.939'/%3E%3C/svg%3E") calc(50% - 56px) center / 16px no-repeat;
	color: #fff;
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	box-shadow: var(--hl-shadow-md);
	cursor: pointer;
	transition: background-color .15s;
}
.hl-form-card .wpcf7-submit:hover { background-color: color-mix(in srgb, var(--hl-primary) 90%, transparent); }
.hl-form-card .wpcf7-submit:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hl-primary); }
.hl-form-card .wpcf7-spinner { display: none; }
.hl-form-card .wpcf7-submit:disabled + .wpcf7-spinner { display: inline-block; }
.hl-form-card .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; color: var(--hl-destructive); }
.hl-form-card .wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: var(--hl-radius-md); font-size: 14px; }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.wp-block-group.hl-footer {
	background: var(--hl-ink-surface);
	color: var(--hl-footer-text);
	padding-top: 56px;
	padding-bottom: 56px;
}
.wp-block-group.hl-footer-cols { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .wp-block-group.hl-footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wp-block-group.hl-footer-cols > * { margin: 0; }
.hl-footer .hl-logo .wp-block-site-title a { color: #fff; }
.hl-footer .hl-logo .wp-block-site-tagline { color: var(--hl-footer-subtle); }
.hl-footer .hl-logo::before { box-shadow: none; }
.hl-footer p.hl-footer-blurb { margin: 16px 0 0; max-width: 20rem; font-size: 14px; line-height: 1.625; color: var(--hl-footer-body); }
.hl-footer h2.hl-footer-h { margin: 0 0 16px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: normal; color: #fff; }
.hl-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 20px; }
.hl-footer ul li { margin: 0; }
.hl-footer a { color: inherit; text-decoration: none; transition: color .15s; }
.hl-footer a:hover { color: #fff; text-decoration: none; }
.hl-footer-reach li { position: relative; padding-left: 26px; }
.hl-footer-reach li::before { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; color: #fff; }
.hl-footer-reach li:nth-child(1) { --hl-icon: var(--hl-icon-map-pin); }
.hl-footer-reach li:nth-child(2) { --hl-icon: var(--hl-icon-phone); }
.hl-footer-reach li:nth-child(3) { --hl-icon: var(--hl-icon-clock); }
.wp-block-group.hl-footer-base {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--hl-footer-line);
	gap: 8px;
	font-size: 12px;
	line-height: 16px;
	color: rgba(255, 255, 255, 0.6);
}
.hl-footer-base p { margin: 0; }
@media (max-width: 639px) { .wp-block-group.hl-footer-base { flex-direction: column; align-items: flex-start; } }

/* Editor: keep hover lift out of the canvas */
.editor-styles-wrapper .wp-block-group.hl-plan:hover { transform: none; }


/* Header logo image (Site Logo block; image set in Site Identity / Customizer) */
.hl-site-logo { margin: 0; flex-shrink: 0; line-height: 0; }
.hl-site-logo img { width: 180px; height: auto; max-height: calc(var(--hl-header-h) - 16px); object-fit: contain; }
@media (max-width: 1023px) { .hl-site-logo img { width: 150px; } }
@media (max-width: 380px) { .hl-site-logo img { width: 130px; } }

/* Footer logo: same Site Logo image, knocked out to white on the ink footer */
.hl-footer-logo { margin: 0; line-height: 0; }
.hl-footer-logo img { width: 180px; height: auto; filter: brightness(0) invert(1); }

/* ==========================================================================
   Floating Messenger button (output by hyperlink_messenger_button in functions.php)
   ========================================================================== */
.hl-chat-fab {
	position: fixed;
	right: max(24px, env(safe-area-inset-right));
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: var(--hl-radius-full);
	background: var(--hl-primary);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 25px -5px rgba(11, 100, 244, 0.45), var(--hl-shadow-lg);
	transition: transform .2s, box-shadow .2s, background-color .2s;
}
.hl-chat-fab svg { flex-shrink: 0; display: block; }
.hl-chat-fab__label {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translate(6px, -50%);
	padding: 8px 12px;
	border-radius: var(--hl-radius-md);
	background: var(--hl-ink);
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.hl-chat-fab:hover,
.hl-chat-fab:focus-visible {
	color: #fff;
	background: var(--hl-accent-ink);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -6px rgba(11, 100, 244, 0.55), var(--hl-shadow-xl);
}
.hl-chat-fab:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hl-primary); }
.hl-chat-fab:hover .hl-chat-fab__label,
.hl-chat-fab:focus-visible .hl-chat-fab__label { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 600px) {
	.hl-chat-fab { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
	.hl-chat-fab__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hl-chat-fab, .hl-chat-fab__label { transition: none; }
	.hl-chat-fab:hover, .hl-chat-fab:focus-visible { transform: none; }
}
@media print { .hl-chat-fab { display: none; } }

/* ==========================================================================
   WooCommerce product loop — equal-height cards with aligned buttons
   ========================================================================== */
/* Works for both classic (ul.products) and block-based (wc-block-product-template) loops.
   Make each li.product a flex column so the Enquire Now button always anchors to the bottom. */

/* Classic WooCommerce loop */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	align-items: stretch;
	gap: 24px;
}
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex !important;
	flex-direction: column;
}
.woocommerce ul.products li.product > a:first-child {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
	margin-top: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Block-based WooCommerce loop (wc-block-product-template) */
.wc-block-product-template li.product {
	display: flex !important;
	flex-direction: column;
}
/* Push the Enquire Now button to the bottom.
   margin-top: auto !important needed to beat WooCommerce block stylesheet specificity. */
.wc-block-product-template li.product a.hl-enquire-loop-btn {
	margin-top: auto !important;
	width: 100%;
	box-sizing: border-box;
}
