/*
 * Hearth Mobile
 * Colours and fonts come from the full site (CSS variables printed inline).
 */

:root {
	--hm-text: #2b2f3a;
	--hm-soft: #f5f5f8;
	--hm-line: #e6e6ec;
	--hm-radius: 14px;
	--hm-pad: 18px;
	--hm-bar-h: 58px;
	--hm-shadow: 0 1px 2px rgba(20, 22, 40, .06), 0 4px 16px rgba(20, 22, 40, .07);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hm-bar-h) + 8px); }

body {
	margin: 0;
	background: #fff;
	color: var(--hm-text);
	font: 17px/1.6 var(--hm-font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.hm-locked { overflow: hidden; }
[hidden] { display: none !important; }

img, video, iframe, embed, object { max-width: 100%; height: auto; }

a { color: var(--hm-accent); text-underline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hm-font-heading);
	color: var(--hm-heading);
	line-height: 1.25;
	margin: 0 0 .5em;
}

:focus-visible { outline: 3px solid var(--hm-focus); outline-offset: 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;
}

.hm-skip:focus {
	position: fixed !important;
	top: 8px; left: 8px; z-index: 100;
	width: auto; height: auto; clip: auto;
	padding: 10px 14px; background: #fff; color: var(--hm-text);
	border-radius: 8px; box-shadow: var(--hm-shadow);
}

/* -------------------------------------------------------------- App bar */

.hm-bar {
	position: sticky; top: 0; z-index: 40;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: var(--hm-bar-h);
	padding: 0 6px 0 var(--hm-pad);
	padding-top: env(safe-area-inset-top);
	background: var(--hm-nav-bg);
	color: var(--hm-nav-text);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.admin-bar .hm-bar { top: 46px; }
@media (min-width: 783px) { .admin-bar .hm-bar { top: 32px; } }

.hm-brand { min-width: 0; flex: 1 1 auto; }
.hm-brand a { color: inherit; text-decoration: none; }
.hm-brand__name {
	display: block;
	font: 600 19px/1.2 var(--hm-font-heading);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-brand .custom-logo-link { display: block; line-height: 0; }
.hm-brand .custom-logo { max-height: 40px; width: auto; }

.hm-bar__actions { display: flex; align-items: center; }

.hm-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px;
	padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: inherit;
	cursor: pointer; text-decoration: none;
}
.hm-icon-btn:active { background: rgba(127, 127, 127, .16); }

/* -------------------------------------------------------------- Search */

.hm-search {
	position: sticky; top: var(--hm-bar-h); z-index: 39;
	padding: 10px var(--hm-pad) 14px;
	background: var(--hm-nav-bg);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
}

.hm-search-form { display: flex; gap: 8px; }
.hm-search-form input[type="search"] {
	flex: 1 1 auto; min-width: 0;
	height: 46px; padding: 0 14px;
	font: inherit; font-size: 16px; color: var(--hm-text);
	background: #fff; border: 1px solid var(--hm-line); border-radius: 12px;
	-webkit-appearance: none; appearance: none;
}
.hm-search-form button {
	height: 46px; padding: 0 16px;
	font: 600 15px/1 var(--hm-font-body);
	color: var(--hm-btn-text); background: var(--hm-accent);
	border: 0; border-radius: 12px; cursor: pointer;
}

/* -------------------------------------------------------------- Drawer */

.hm-overlay {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60;
	background: rgba(12, 14, 26, .45);
	opacity: 0; transition: opacity .2s ease;
}
.hm-overlay.is-open { opacity: 1; }

.hm-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
	width: var(--hm-drawer-w, min(86vw, 360px)); max-width: 100vw;
	overflow-y: auto; overscroll-behavior: contain;
	padding: env(safe-area-inset-top) 0 calc(24px + env(safe-area-inset-bottom));
	background: var(--hm-drawer-bg, #fff); color: var(--hm-drawer-text, var(--hm-text));
	box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
	transform: translateX(100%); transition: transform .24s ease;
}
.hm-drawer.is-open { transform: none; }

.hm-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 6px 6px 6px var(--hm-pad);
	border-bottom: 1px solid var(--hm-line);
}
.hm-drawer__title { font: 600 14px/1 var(--hm-font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--hm-muted); }

.hm-menu, .hm-submenu { list-style: none; margin: 0; padding: 0; }
.hm-menu { padding: 6px 0; }
.hm-menu--secondary { border-top: 1px solid var(--hm-line); }
.hm-menu__row { display: flex; align-items: stretch; }
.hm-menu__link {
	flex: 1 1 auto;
	display: flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 10px var(--hm-pad);
	color: var(--hm-text); text-decoration: none;
	font-size: 17px; font-weight: 500;
}
.hm-menu__link[aria-current="page"] { color: var(--hm-accent); font-weight: 700; }
.hm-menu__link:active { background: var(--hm-soft); }
.hm-submenu .hm-menu__link { padding-left: calc(var(--hm-pad) + 18px); font-size: 16px; font-weight: 400; min-height: 46px; }
.hm-submenu .hm-submenu .hm-menu__link { padding-left: calc(var(--hm-pad) + 36px); }
.hm-menu__toggle {
	flex: 0 0 52px;
	border: 0; border-left: 1px solid var(--hm-line);
	background: transparent; color: var(--hm-muted); cursor: pointer;
}
.hm-menu__toggle span {
	display: inline-block; width: 10px; height: 10px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.hm-menu__toggle[aria-expanded="true"] span { transform: rotate(-135deg) translate(-2px, -2px); }
.hm-submenu { background: var(--hm-soft); }

.hm-menu-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 1.3em; flex: 0 0 auto;
	font-size: 1.15em; color: var(--hm-accent);
}
.hm-menu-icon .cel-icon, .hm-menu-icon svg { width: 1em; height: 1em; }
.hm-menu__link .icoll-menu-icon { font-size: 1.15em; color: var(--hm-accent); margin-right: 0 !important; }

.cel-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; }

/* -------------------------------------------------------------- Layout */

.hm-main { display: block; outline: 0; }
.hm-container { max-width: 760px; margin: 0 auto; padding: 22px var(--hm-pad) 34px; }

/* -------------------------------------------------------------- Buttons */

.hm-btn, .hm-entry .wp-block-button__link, .hm-form button, .hm-woo .button, .hm-entry input[type="submit"], .hm-comments input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	font: 600 15px/1.2 var(--hm-font-body); letter-spacing: .02em;
	color: var(--hm-btn-text); background: var(--hm-accent);
	border: 2px solid var(--hm-accent); border-radius: 12px;
	text-decoration: none; cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.hm-btn:active, .hm-form button:active { background: var(--hm-btn-hover); border-color: var(--hm-btn-hover); transform: translateY(1px); }
.hm-btn--ghost { color: var(--hm-accent); background: transparent; }
.hm-btn--block { width: 100%; }

/* -------------------------------------------------------------- Sections */

.hm-section { padding: 44px var(--hm-pad); }
.hm-section > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.hm-section:nth-of-type(even) { background: var(--hm-soft); }
.hm-section__head { text-align: center; margin-bottom: 26px; }
.hm-section__title { font-size: 27px; margin: 0; }
.hm-section__sub { margin: 8px 0 0; color: var(--hm-muted); font-size: 16px; }

/* Hero */
.hm-hero {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	min-height: 64vh; padding: 56px var(--hm-pad);
	background: #1f2233 center / cover no-repeat;
	color: #fff; text-align: center;
}
.hm-hero.has-image::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(10, 12, 24, .35), rgba(10, 12, 24, .6)); }
.hm-hero__inner { position: relative; max-width: 560px; }
.hm-hero__title { color: #fff; font-size: clamp(30px, 9vw, 44px); margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hm-hero__text { margin: 0 0 24px; font-size: 18px; opacity: .92; }

/* Features */
.hm-features, .hm-team, .hm-bookings, .hm-products, .hm-clients, .hm-quotes { list-style: none; margin: 0; padding: 0; }
.hm-feature { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--hm-line); }
.hm-feature:last-child { border-bottom: 0; }
.hm-feature__icon, .hm-feature__media {
	flex: 0 0 52px; width: 52px; height: 52px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 26px; color: var(--hm-accent);
	background: #f3f3f7; /* older browsers */
	background: color-mix(in srgb, var(--hm-accent) 10%, #fff); border-radius: 14px; overflow: hidden;
}
.hm-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.hm-feature__title { font-size: 19px; margin: 2px 0 4px; }
.hm-feature__title a { color: inherit; text-decoration: none; }
.hm-feature p { margin: 0; color: #5b6070; font-size: 16px; }

/* About (front page content) */
.hm-about-page .hm-entry { max-width: 720px; }

/* About cards (Celestena) */
.hm-about-cards { position: relative; background: #0b1022 center / cover no-repeat; }
.hm-about-cards:not(.has-image) { background: #fff; }
.hm-about-cards.has-image::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--hm-about-overlay, rgba(5, 9, 27, .62)); }
.hm-about-cards__surface { position: relative; }
.hm-about-cards .hm-section__title, .hm-about-cards h3 { color: var(--hm-about-heading, var(--hm-heading)); }
.hm-about-cards .hm-section__sub, .hm-about-cards p { color: var(--hm-about-text, inherit); }
.hm-about-lead, .hm-about-card {
	margin: 0 0 14px; padding: 18px;
	border-radius: var(--hm-radius);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(4px);
}
.hm-about-cards:not(.has-image) .hm-about-lead, .hm-about-cards:not(.has-image) .hm-about-card { background: #fff; border-color: var(--hm-line); box-shadow: var(--hm-shadow); }
.hm-about-lead h3, .hm-about-card h3 { font-size: 19px; margin-bottom: 6px; }
.hm-about-lead p, .hm-about-card p { margin: 0 0 6px; font-size: 16px; }
.hm-about-card { padding: 0; overflow: hidden; }
.hm-about-card__media { margin: 0; aspect-ratio: 16 / 7; overflow: hidden; }
.hm-about-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-about-card__body { padding: 16px 18px 12px; }
.hm-about-card h3 a { color: inherit; text-decoration: none; }

/* Testimonials: swipeable */
.hm-quotes {
	display: flex; gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	margin: 0 calc(-1 * var(--hm-pad)) !important; padding: 4px var(--hm-pad) 14px;
	scrollbar-width: none;
}
.hm-quotes::-webkit-scrollbar { display: none; }
.hm-quote {
	flex: 0 0 84%; scroll-snap-align: center;
	display: flex; flex-direction: column;
	padding: 20px; background: #fff;
	border-radius: var(--hm-radius); box-shadow: var(--hm-shadow);
}
.hm-quotes > .hm-quote:only-child { flex-basis: 100%; }
.hm-stars { margin: 0 0 8px; color: #d6d6de; letter-spacing: 2px; font-size: 18px; }
.hm-stars .is-on { color: #f5a623; }
.hm-quote__text { margin: 0 0 14px; flex: 1 1 auto; }
.hm-quote__text p { margin: 0; font-size: 17px; }
.hm-quote__text p::before { content: "\201C"; color: var(--hm-accent); font: 700 28px/0 Georgia, serif; vertical-align: -.35em; margin-right: 4px; }
.hm-quote__author { display: flex; align-items: center; gap: 10px; margin: 0; }
.hm-quote__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hm-quote__author small { display: block; color: var(--hm-muted); font-size: 14px; }

/* Team */
.hm-member { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hm-line); }
.hm-member:last-child { border-bottom: 0; }
.hm-member__photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.hm-member__name { font-size: 19px; margin: 0; }
.hm-member__role { margin: 0 0 6px; color: var(--hm-muted); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.hm-member p { margin: 0 0 6px; font-size: 16px; }
.hm-member__social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--hm-muted); font-size: 18px; }

/* Pricing */
.hm-price { padding: 22px; margin: 0 0 14px; border-radius: var(--hm-radius); background: #fff; border: 1px solid var(--hm-line); text-align: center; }
.hm-price.is-featured { border-color: var(--hm-accent); box-shadow: var(--hm-shadow); }
.hm-price__name { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--hm-muted); }
.hm-price__amount { margin: 4px 0 12px; font: 700 34px/1.2 var(--hm-font-heading); color: var(--hm-heading); }
.hm-price__features { list-style: none; margin: 0 0 18px; padding: 0; }
.hm-price__features li { padding: 6px 0; border-bottom: 1px dashed var(--hm-line); font-size: 16px; }

/* Bands (ribbon, subscribe) */
.hm-band { position: relative; background: var(--hm-heading) center / cover no-repeat; color: #fff; text-align: center; }
.hm-band.has-image::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(10, 12, 24, .55); }
.hm-band__inner { position: relative; }
.hm-band__title, .hm-band .hm-section__title { color: #fff; font-size: 25px; margin-bottom: 18px; }
.hm-band .hm-section__sub { color: rgba(255, 255, 255, .85); }
.hm-band input[type="email"], .hm-band input[type="text"] { width: 100%; min-height: 48px; padding: 0 14px; font-size: 16px; border: 0; border-radius: 12px; margin-bottom: 10px; }

/* Clients */
.hm-clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.hm-clients img { display: block; margin: 0 auto; max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; }

/* Cards (blog, archives, portfolio) */
.hm-cards { display: flex; flex-direction: column; gap: 14px; }
.hm-card {
	display: flex; gap: 14px; align-items: center;
	padding: 12px; background: #fff;
	border-radius: var(--hm-radius); box-shadow: var(--hm-shadow);
}
.hm-card__media { flex: 0 0 92px; display: block; border-radius: 10px; overflow: hidden; line-height: 0; }
.hm-card__media img { width: 92px; height: 92px; object-fit: cover; }
.hm-card__body { min-width: 0; }
.hm-card__kicker { margin: 0 0 2px; color: var(--hm-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hm-card__title { font-size: 18px; margin: 0 0 4px; }
.hm-card__title a { color: inherit; text-decoration: none; }
.hm-card__excerpt p { margin: 0 0 6px; font-size: 16px; color: #5b6070; }
.hm-card--large { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.hm-card--large .hm-card__media { flex-basis: auto; border-radius: 0; }
.hm-card--large .hm-card__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.hm-card--large .hm-card__body { padding: 4px 16px 14px; }
.hm-card--large .hm-card__title { font-size: 21px; }
.hm-meta { margin: 0; color: var(--hm-muted); font-size: 14px; }
.hm-more { text-align: center; margin: 22px 0 0; }

/* Products */
.hm-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-product a { display: block; color: inherit; text-decoration: none; background: #fff; border-radius: var(--hm-radius); overflow: hidden; box-shadow: var(--hm-shadow); }
.hm-product img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.hm-product__name { display: block; padding: 10px 12px 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.hm-product__price { display: block; padding: 2px 12px 12px; color: var(--hm-accent); font-weight: 700; font-size: 15px; }

/* Bookings */
.hm-booking { display: flex; gap: 14px; padding: 18px; margin: 0 0 12px; background: #fff; border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); }
.hm-booking__icon { flex: 0 0 auto; font-size: 34px; color: var(--hm-accent); line-height: 1; }
.hm-booking h3 { font-size: 19px; margin: 0 0 4px; }
.hm-booking p { margin: 0 0 12px; font-size: 16px; color: #5b6070; }

/* Contact */
.hm-contact-details { margin: 0 0 22px; font-size: 16px; }
.hm-contact-details .info-title, .hm-contact-details h4 { font-size: 17px; margin: 14px 0 2px; }
.hm-contact-details p { margin: 0 0 8px; }
.hm-contact-details i { color: var(--hm-accent); margin-right: 6px; }
.hm-contact-form { padding: 20px; background: #fff; border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); }
.hm-contact-form__title { font-size: 20px; text-align: center; }

.hm-form p { margin: 0 0 14px; }
.hm-form label, .hm-comments label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: #4a4f5d; }
.hm-form input, .hm-form textarea, .hm-comments input[type="text"], .hm-comments input[type="email"], .hm-comments input[type="url"], .hm-comments textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	font: inherit; font-size: 16px; color: var(--hm-text);
	background: #fff; border: 1px solid #d4d5dd; border-radius: 12px;
}
.hm-form textarea, .hm-comments textarea { min-height: 130px; }
.hm-honeypot { position: absolute !important; left: -9999px; }
.hm-notice { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
.hm-notice.is-success { background: #e7f6ec; color: #0c5a23; }
.hm-notice.is-error { background: #fdecec; color: #8a1f1f; }

/* -------------------------------------------------------------- Pages and posts */

.hm-page-header {
	position: relative;
	padding: 34px var(--hm-pad) 30px;
	background: var(--hm-heading); /* older browsers */
	background: linear-gradient(135deg, var(--hm-heading), color-mix(in srgb, var(--hm-heading) 70%, var(--hm-accent)));
	background-size: cover; background-position: center;
	color: #fff;
}
.hm-page-header.has-image { min-height: 220px; display: flex; align-items: flex-end; }
.hm-page-header.has-image::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(10, 12, 24, .1), rgba(10, 12, 24, .7)); }
.hm-page-header__inner { position: relative; max-width: 720px; width: 100%; margin: 0 auto; }
.hm-page-header__title { color: #fff; font-size: clamp(26px, 7.5vw, 36px); margin: 0; }
.hm-page-header__sub { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hm-page-header__sub a { color: #fff; }
.hm-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }

.hm-article > .hm-meta { margin-bottom: 18px; }
.hm-entry { font-size: 17px; overflow-wrap: break-word; }
.hm-entry > *:first-child { margin-top: 0; }
.hm-entry h2 { font-size: 24px; margin-top: 1.6em; }
.hm-entry h3 { font-size: 20px; margin-top: 1.4em; }
.hm-entry img { border-radius: 10px; }
.hm-entry blockquote { margin: 1.4em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--hm-accent); color: #4a4f5d; font-style: italic; }
.hm-entry pre { overflow-x: auto; padding: 14px; background: var(--hm-soft); border-radius: 10px; font-size: 14px; }
.hm-entry table { display: block; overflow-x: auto; border-collapse: collapse; }
.hm-entry td, .hm-entry th { padding: 8px 10px; border: 1px solid var(--hm-line); }
.hm-entry .alignleft, .hm-entry .alignright { float: none; margin: 1em auto; display: block; }
.hm-entry .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.hm-entry .wp-caption { max-width: 100%; }
.hm-entry .wp-caption-text { font-size: 14px; color: var(--hm-muted); text-align: center; }

.hm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.hm-tags a { padding: 6px 12px; background: var(--hm-soft); border-radius: 20px; font-size: 14px; color: var(--hm-text); text-decoration: none; }

.post-navigation .nav-links, .posts-navigation .nav-links { display: grid; gap: 10px; margin: 26px 0; }
.post-navigation a { display: block; padding: 14px 16px; background: var(--hm-soft); border-radius: 12px; color: var(--hm-text); text-decoration: none; font-weight: 600; }
.hm-nav-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hm-muted); }

.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 0; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 10px; border-radius: 12px; background: var(--hm-soft); color: var(--hm-text); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--hm-accent); color: var(--hm-btn-text); }

.hm-empty { text-align: center; }
.hm-empty .hm-search-form { margin: 18px 0; }

/* Comments */
.hm-comments { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--hm-line); }
.hm-comments__title { font-size: 21px; }
.hm-comment-list, .hm-comment-list .children { list-style: none; margin: 0; padding: 0; }
.hm-comment-list .children { padding-left: 16px; border-left: 2px solid var(--hm-line); }
.hm-comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--hm-line); font-size: 16px; }
.hm-comment-list .avatar { border-radius: 50%; float: left; margin-right: 10px; }
.hm-comment-list .comment-meta { font-size: 14px; color: var(--hm-muted); }
.hm-comment-list .comment-metadata a { color: inherit; }
.hm-comments .comment-form p { margin: 0 0 12px; }

/* Phone widget areas */
.hm-widgets { max-width: 760px; margin: 0 auto; padding: 18px var(--hm-pad); }
.hm-widget { margin: 0 0 18px; }
.hm-widget .widget-title { font-size: 19px; }
.hm-widget ul { padding-left: 1.1em; }

/* -------------------------------------------------------------- Footer */

.hm-footer-banner { line-height: 0; text-align: center; }
.hm-footer-banner img { width: 100%; height: auto; }

.hm-footer {
	padding: 28px var(--hm-pad) calc(28px + env(safe-area-inset-bottom));
	background: #1f2233; color: rgba(255, 255, 255, .78);
	text-align: center; font-size: 15px;
}
.hm-footer a { color: #fff; }
.hm-footer__menu { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.hm-footer__menu a { text-decoration: none; display: inline-block; padding: 6px 0; }
.hm-footer__credits { margin: 0 0 12px; }
.hm-footer__switch { margin: 0; }
.hm-footer__switch a { display: inline-block; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 22px; text-decoration: none; }

.hm-top {
	position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30;
	width: 48px; height: 48px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%;
	background: var(--hm-accent); color: var(--hm-btn-text);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .2); cursor: pointer;
	opacity: 0; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease;
}
.hm-top.is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------- WooCommerce basics */

.hm-woo ul.products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.hm-woo ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.hm-woo .woocommerce-result-count, .hm-woo .woocommerce-ordering { float: none; margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* Wider screens (tablets, or a phone preview on a computer). */
@media (min-width: 700px) {
	.hm-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
	.hm-quote { flex-basis: 46%; }
	.hm-products { grid-template-columns: repeat(3, 1fr); }
}

/* Contact details written for Hestia (icon + description side by side). */
.hm-contact-details .info { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; }
.hm-contact-details .info .icon { flex: 0 0 22px; padding-top: 2px; font-size: 18px; color: var(--hm-accent); }
.hm-contact-details .info .icon i { margin: 0; }
.hm-contact-details .info .description { min-width: 0; }
.hm-contact-details .info .info-title { margin-top: 0; }

/* Comment form: checkbox beside its label. */
.hm-comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.hm-comments .comment-form-cookies-consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: 0 0 auto; }
.hm-comments .comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* -------------------------------------------------------------- Hearth Mobile Switcher options (1.1) */

.hm-drawer--left { right: auto; left: 0; transform: translateX(-100%); box-shadow: 8px 0 30px rgba(0, 0, 0, .18); }
.hm-drawer--left.is-open { transform: none; }
.hm-drawer .hm-menu__link { color: inherit; }
.hm-drawer .hm-menu__link[aria-current="page"] { color: var(--hm-accent); }
.hm-drawer .hm-menu__link:hover, .hm-drawer .hm-menu__link:active { background: var(--hm-drawer-hover, var(--hm-soft)); }
.hm-drawer .hm-menu__toggle { color: inherit; opacity: .7; }
/* Works on light and dark drawer colours alike. */
.hm-drawer .hm-submenu { background: rgba(127, 127, 127, .12); }
.hm-drawer .hm-menu__toggle, .hm-drawer .hm-drawer__head, .hm-menu--secondary { border-color: rgba(127, 127, 127, .25); }
.hm-menu__item--highlight > .hm-menu__row .hm-menu__link { font-weight: 700; color: var(--hm-accent); }
button.hm-menu__link { width: 100%; border: 0; background: transparent; font: inherit; font-weight: inherit; text-align: left; cursor: pointer; }
.hm-menu__toggle-label::after {
	content: ""; flex: 0 0 auto; margin-left: auto; width: 8px; height: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; opacity: .7;
}
.hm-menu__toggle-label[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
.hm-menu__link--text { cursor: default; }

/* The full site's sidebar: behind a button, or below the content. */
.hm-drawer--sidebar .hm-drawer__body { padding: 8px var(--hm-pad) 0; }
.hm-drawer--sidebar .hm-widget:last-child { margin-bottom: 0; }
.hm-widgets--sidebar { border-top: 1px solid var(--hm-line); }

/* Bottom bar (Hearth Mobile Switcher): keep the back-to-top button clear of it. */
.hmsw-has-bottom-bar .hm-top { bottom: calc(80px + env(safe-area-inset-bottom)); }
body .hmsw-bottom-bar { font-family: var(--hm-font-body); z-index: 55; } /* Under the drawers and their overlay. */
.hmsw-has-bottom-bar .hm-footer { padding-bottom: 28px; }

/* Maps (LF Hiker and other Leaflet maps). */
.leaflet-container img, .leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; }
.leaflet-container { max-width: 100%; z-index: 0; font-size: 13px; }
.leaflet-pane, .leaflet-top, .leaflet-bottom { z-index: 1; }
.leaflet-control-container .leaflet-top, .leaflet-control-container .leaflet-bottom { z-index: 2; }
.leaflet-popup-content { max-width: 70vw; }
.hm-entry .lfh-container { max-width: 100%; }
/* LF Hiker's full-screen view (#lfh-fade, z-index 99999) sits above the bars. */
.hm-entry .leaflet-container a { color: inherit; }
