/* =========================================================================
   Homily 2026 — design system
   Loaded only on redesigned surfaces (front page + accommodation single).
   Tokens & look adapted from _desing/Homily-Mockup.html.
   ========================================================================= */

:root {
	--ink: #23302f;
	--ink-soft: #4a5856;
	--grey: #7c8784;
	--sand: #f6f1e9;
	--sand-deep: #ece3d6;
	--aegean: #2f6f7e;
	--aegean-deep: #245965;
	--gold: #b08a5a;
	--white: #fff;
	--line: #dfd6c8;
	--shadow: 0 18px 50px rgba(35, 48, 47, .14);
	--shadow-soft: 0 10px 30px rgba(35, 48, 47, .08);
	--maxw: 1200px;
}

/* ---- Reset (scoped to our skin) ---------------------------------------- */
.homily-skin *,
.homily-skin *::before,
.homily-skin *::after { box-sizing: border-box; }

.homily-skin {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	line-height: 1.65;
	color: var(--ink);
	background: var(--sand);
	-webkit-font-smoothing: antialiased;
}

.homily-skin h1,
.homily-skin h2,
.homily-skin h3,
.homily-skin h4 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .2px;
	margin: 0;
}

.homily-skin p { margin: 0; }
.homily-skin a { text-decoration: none; color: inherit; }
.homily-skin img { max-width: 100%; display: block; }
.homily-skin ul { list-style: none; margin: 0; padding: 0; }

.homily-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.homily-eyebrow {
	font-size: .74rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--aegean);
	font-weight: 500;
}

.homily-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 10px 16px;
	z-index: 999;
}
.homily-skip:focus { left: 8px; top: 8px; }

/* ---- Buttons ----------------------------------------------------------- */
.homily-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 2px;
	font-size: .78rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 500;
	transition: .25s;
	cursor: pointer;
	border: none;
	line-height: 1;
}
.homily-btn--primary { background: var(--aegean); color: #fff; }
.homily-btn--primary:hover { background: var(--aegean-deep); }
.homily-btn--ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.homily-btn--ghost:hover { background: var(--ink); color: #fff; }

/* Force WHITE text on every aegean/dark-filled button (beats plugin/Qode rules). */
.homily-skin .homily-btn--primary,
.homily-skin .homily-btn--primary:visited,
.homily-skin .homily-mini--full,
.homily-skin .homily-mini--full:visited,
.homily-skin .homily-guests-close button,
.homily-skin .homily-bk-form .button,
.homily-skin .homily-bk-form input[type="submit"],
.homily-skin .homily-bk-form button[type="submit"],
.homily-skin .homily-bk-form .mphb-book-button { color: #fff !important; }

/* =========================================================================
   Header
   ========================================================================= */
.homily-header {
	position: sticky;
	top: 0;
	z-index: 100;
	/* Semi-transparent sand + blur — never transparent over the hero.
	   !important + opaque fallback guard against any leftover Qode/plugin rule. */
	background: rgba(246, 241, 233, .92) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	box-shadow: none;
}
/* Opaque fallback where backdrop-filter is unsupported. */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
	.homily-header { background: #f1ece3 !important; }
}
.homily-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 86px;
}
.homily-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
/* Crisp dark logo. The source PNG is the LIGHT brand mark (made for the old
   dark Qode header); brightness(0) renders it as a sharp dark mark on sand.
   opacity:1 + !important also neutralise any inherited Qode fade. */
.homily-brand img,
.homily-logo {
	height: 56px !important;
	width: auto;
	max-width: none;
	display: block;
	opacity: 1 !important;
	filter: brightness(0) !important;
}
.homily-menu-wrap { flex: 1 1 auto; display: flex; justify-content: center; }
.homily-menu {
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: .82rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 400;
}
.homily-menu li { list-style: none; margin: 0; }
.homily-menu a { color: var(--ink); }
.homily-menu a:hover { color: var(--aegean); }

/* Desktop dropdown sub-menus (any menu item with children) */
.homily-menu .menu-item-has-children { position: relative; }
.homily-menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 7px; }
.homily-menu .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; flex: 0 0 auto;
	border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-1px); transition: transform .2s; opacity: .65;
}
.homily-menu .menu-item-has-children:hover > a::after,
.homily-menu .menu-item-has-children.is-open > a::after { transform: rotate(225deg) translateY(2px); opacity: 1; }
.homily-menu .sub-menu {
	position: absolute; top: 100%; left: 50%; margin: 0; padding: 8px;
	min-width: 200px; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: 12px;
	box-shadow: 0 18px 40px rgba(35, 48, 47, .14);
	display: flex; flex-direction: column; gap: 2px;
	opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 80;
}
.homily-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.homily-menu .menu-item-has-children:hover > .sub-menu,
.homily-menu .menu-item-has-children:focus-within > .sub-menu,
.homily-menu .menu-item-has-children.is-open > .sub-menu {
	opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.homily-menu .sub-menu li { width: 100%; }
.homily-menu .sub-menu a {
	display: block; padding: 9px 14px; border-radius: 8px; white-space: nowrap;
	font-size: .76rem; letter-spacing: .1em; color: var(--ink);
}
.homily-menu .sub-menu a:hover { background: var(--sand); color: var(--aegean); }

/* Mobile: expandable sub-menus */
.homily-menu-mobile .sub-menu { list-style: none; margin: 2px 0 6px; padding: 0 0 0 16px; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.homily-menu-mobile .menu-item-has-children.is-open > .sub-menu { max-height: 400px; }
.homily-menu-mobile .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 8px; }
.homily-menu-mobile .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px;
	border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg); transition: transform .2s; opacity: .6;
}
.homily-menu-mobile .menu-item-has-children.is-open > a::after { transform: rotate(225deg); opacity: 1; }
.homily-menu-mobile .sub-menu a { font-size: .8rem; text-transform: none; letter-spacing: .04em; padding: 8px 0; }
.homily-nav-right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.homily-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.homily-lang a { color: var(--ink-soft); }
.homily-lang a:hover { color: var(--aegean); }
.homily-lang .homily-lang-current,
.homily-lang b { color: var(--aegean); font-weight: 500; }
.homily-header .homily-btn--primary { white-space: nowrap; }

.homily-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.homily-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .25s; }
.homily-mobile-menu { border-top: 1px solid var(--line); padding: 14px 24px; background: var(--sand); }
.homily-menu-mobile a { display: block; padding: 10px 0; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
	.homily-menu-wrap { display: none; }
	.homily-burger { display: block; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.homily-hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	/* Image comes from --homily-hero-img (set inline from the Customizer value). */
	background-color: #2a3a39;
	background-image: linear-gradient(rgba(20, 30, 30, .42), rgba(20, 30, 30, .5)), var(--homily-hero-img);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.homily-hero-inner { padding: 54px 20px 120px; }
.homily-hero .homily-eyebrow { color: #e9dcc7; }
.homily-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 12px 0 10px; font-weight: 500; }
.homily-hero p { font-size: 1.15rem; font-weight: 300; letter-spacing: .04em; max-width: 560px; margin: 0 auto; }
.homily-hero-badge {
	display: inline-block;
	margin-top: 22px;
	background: var(--gold);
	color: #fff;
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 8px 18px;
	border-radius: 2px;
}

/* =========================================================================
   Booking bar (wraps the MotoPress availability search shortcode)
   We only restyle the markup — the form, fields and engine stay MotoPress'.
   ========================================================================= */
.homily-booking {
	position: relative;
	margin: -44px auto 0;
	max-width: 1100px;
	z-index: 20;
}
.homily-search {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--shadow);
	margin: 0;
	position: relative;
}
.homily-search .homily-bf {
	flex: 1 1 0;
	min-width: 0;
	padding: 15px 22px;
	border-right: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.homily-search .homily-bf--guests { padding: 0; position: relative; }
.homily-search .homily-bf--submit { flex: 0 0 auto; border-right: none; padding: 9px; }
.homily-bf-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.homily-bf-top .ic { color: var(--aegean); display: flex; }
.homily-bf-top b { font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.homily-bf-control,
.homily-bf-val {
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: .95rem;
	color: var(--grey);
	padding: 0;
	width: 100%;
	line-height: 1.4;
}
.homily-bf-val.is-filled { color: var(--ink); }
.homily-bf-control:focus { outline: none; color: var(--ink); }
.homily-search ::placeholder { color: var(--grey); opacity: 1; }
/* Native location select rendered as plain text + chevron */
select.homily-bf-control {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	padding-right: 18px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%232f6f7e' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 11px;
}
/* Hide MotoPress' own required tip / asterisks if any slip through */
.homily-search .mphb-required-fields-tip,
.homily-search abbr { display: none !important; }
/* Guests trigger */
.homily-guests-toggle {
	width: 100%;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	padding: 15px 22px;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.homily-guest-field { display: none !important; }
/* Square submit button with magnifier */
.homily-search-btn {
	width: 70px;
	min-height: 62px;
	height: 100%;
	background-color: var(--aegean);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0;
	color: transparent;
	transition: .2s;
}
.homily-search-btn:hover { background-color: var(--aegean-deep); }

/* Guests popover */
.homily-guests-pop {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	width: 340px;
	max-width: calc(100vw - 48px);
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 6px 22px 16px;
	z-index: 60;
}
.homily-guests-pop[hidden] { display: none; }
.homily-guests-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.homily-guests-row:last-of-type { border-bottom: none; }
.homily-guests-row .pt { font-size: 1rem; font-weight: 600; color: var(--ink); }
.homily-guests-row .ps { font-size: .78rem; color: var(--grey); margin-top: 2px; }
.homily-step { display: flex; align-items: center; gap: 14px; }
.homily-step button {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #cfd6d4;
	background: #fff;
	color: var(--ink);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .15s;
}
.homily-step button:hover:not([disabled]) { border-color: var(--aegean); color: var(--aegean); }
.homily-step button[disabled] { opacity: .4; cursor: not-allowed; }
.homily-step .n { min-width: 18px; text-align: center; font-size: .95rem; font-weight: 600; }
.homily-guests-close { text-align: right; margin-top: 12px; }
.homily-guests-close button {
	background: var(--aegean);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 9px 22px;
	font-family: inherit;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .03em;
	cursor: pointer;
}

@media (max-width: 860px) {
	.homily-booking { margin-top: -34px; }
	.homily-search { flex-wrap: wrap; }
	.homily-search .homily-bf {
		flex: 1 1 45%;
		border-right: none;
		border-bottom: 1px solid var(--line);
	}
	.homily-search .homily-bf--submit { flex: 1 1 100%; padding: 12px; }
	.homily-search-btn { width: 100%; min-height: 52px; }
	.homily-guests-pop { width: 100%; right: auto; left: 0; }
}

/* =========================================================================
   Generic section scaffolding
   ========================================================================= */
.homily-section { padding: 96px 0; }
.homily-center { text-align: center; max-width: 720px; margin: 0 auto; }
.homily-section-title { font-size: clamp(2.1rem, 4vw, 3rem); margin: 10px 0 18px; }
.homily-lead { color: var(--ink-soft); font-size: 1.06rem; }

/* ---- Properties grid --------------------------------------------------- */
.homily-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 48px;
}
@media (max-width: 900px) { .homily-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .homily-grid { grid-template-columns: 1fr; } }

.homily-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: .3s;
	display: flex;
	flex-direction: column;
}
.homily-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.homily-card-media {
	position: relative;
	height: 240px;
	overflow: hidden;
	display: block;
	background: var(--sand-deep);
}
/* Per-card photo carousel — reuses the global .homily-gallery-slide mechanism
   (absolute, object-fit:cover, opacity) inside this fixed frame. */
.homily-card-media-link { position: absolute; inset: 0; z-index: 2; }
.homily-card-media .homily-gallery-arrow { width: 34px; height: 34px; z-index: 3; }
.homily-card-media .homily-gallery-arrow svg { width: 15px; height: 15px; }
.homily-card-media .homily-gallery-arrow.l { left: 10px; }
.homily-card-media .homily-gallery-arrow.r { right: 10px; }
.homily-card-media .homily-gallery-dots { z-index: 3; bottom: 12px; max-width: 80%; }
.homily-card-media .homily-gallery-dots i { width: 7px; height: 7px; }
.homily-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.homily-card-loc {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .8rem;
	color: var(--grey);
	font-weight: 500;
	margin-bottom: 6px;
}
.homily-card-loc .ic { color: var(--aegean); display: flex; }
.homily-card-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
	margin-bottom: 10px;
}
.homily-card-cap {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: .9rem;
	color: var(--ink-soft);
	margin-bottom: 14px;
}
.homily-card-cap .ic { color: var(--aegean); display: flex; }
.homily-price { font-size: .95rem; color: var(--ink-soft); margin: 0 0 16px; }
.homily-price b { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.homily-card-cta { display: flex; gap: 10px; margin-top: auto; align-items: stretch; }
.homily-mini {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 44px;
	padding: 10px 8px;
	border-radius: 4px;
	font-size: .7rem;
	line-height: 1.25;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 600;
	transition: .2s;
}
.homily-mini--ghost { border: 1px solid var(--ink); color: var(--ink); }
.homily-mini--ghost:hover { background: var(--ink); color: #fff; }
.homily-mini--full { background: var(--aegean); color: #fff; }
.homily-mini--full:hover { background: var(--aegean-deep); }

/* ---- Destinations ------------------------------------------------------ */
.homily-dest { background: var(--sand-deep); }
.homily-dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
@media (max-width: 700px) { .homily-dest-grid { grid-template-columns: 1fr; } }
.homily-dest-card {
	position: relative;
	height: 340px;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	color: #fff;
	background-size: cover;
	background-position: center;
}
.homily-dest-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent 22%, rgba(20, 30, 30, .45) 55%, rgba(20, 30, 30, .9));
}
.homily-dest-card .dc { position: relative; z-index: 2; padding: 30px; text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.homily-dest-eyebrow {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: .7rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 600;
	color: #e9dcc7;
	margin-bottom: 6px;
}
.homily-dest-card h3 { font-size: 2.3rem; color: #fff; margin: 0; }
.homily-dest-count { display: block; font-size: .85rem; letter-spacing: .08em; color: #fff; opacity: .92; margin-top: 6px; }

/* ---- Split (philosophy) ------------------------------------------------ */
.homily-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.homily-split img { border-radius: 4px; box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) { .homily-split { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Owners / Services band ------------------------------------------- */
.homily-band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.homily-band .txt { padding: 80px 6vw; }
.homily-band .img { min-height: 420px; background-size: cover; background-position: center; }
@media (max-width: 820px) { .homily-band { grid-template-columns: 1fr; } .homily-band .img { min-height: 260px; } }

/* ---- Services trio ----------------------------------------------------- */
.homily-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
@media (max-width: 800px) { .homily-trio { grid-template-columns: 1fr; } }
.homily-svc { text-align: center; background: #fff; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.homily-svc-media { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--sand-deep); }
.homily-svc-body { padding: 26px 26px 32px; }
.homily-svc .ic { font-size: 1.7rem; color: var(--aegean); margin-bottom: 14px; }
.homily-svc h4 { font-size: 1.4rem; font-weight: 500; margin-bottom: 8px; }
.homily-svc p { font-size: .9rem; color: var(--ink-soft); }

/* ---- Testimonials ------------------------------------------------------ */
.homily-tst { background: var(--aegean); color: #fff; }
.homily-tst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 42px; }
@media (max-width: 760px) { .homily-tst-grid { grid-template-columns: 1fr; } }
.homily-quote { border-left: 2px solid rgba(255, 255, 255, .4); padding-left: 24px; }
.homily-quote p { font-family: 'Cormorant Garamond', serif; font-size: 1.32rem; line-height: 1.5; font-style: italic; }
.homily-quote span { display: block; margin-top: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ---- Newsletter -------------------------------------------------------- */
.homily-news { text-align: center; }
.homily-news form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 28px auto 0; }
.homily-news-fields { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.homily-news-fields input { flex: 1; min-width: 200px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 2px; font-family: inherit; font-size: .9rem; }
.homily-news-consent { display: flex; align-items: flex-start; gap: 9px; font-size: .8rem; line-height: 1.45; text-align: left; color: var(--grey); }
.homily-news-consent input[type="checkbox"] { margin-top: 2px; accent-color: var(--aegean); }
.homily-news-consent a { color: inherit; text-decoration: underline; }

/* =========================================================================
   Footer
   ========================================================================= */
.homily-footer { background: var(--ink); color: #cdc6ba; padding: 70px 0 30px; }
.homily-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 980px) { .homily-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .homily-foot-grid { grid-template-columns: 1fr; } }
.homily-foot-legal a { display: block; }
.homily-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 16px; font-family: 'Montserrat', sans-serif; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.homily-footer a { display: block; color: #cdc6ba; font-size: .9rem; padding: 5px 0; }
.homily-footer a:hover { color: #fff; }
.homily-foot-about p { max-width: 320px; font-size: .92rem; }
/* Light source mark → render solid white for full contrast on the dark footer. */
.homily-foot-logo { filter: brightness(0) invert(1); height: 46px; width: auto; max-width: 200px; opacity: 1; margin-bottom: 18px; }
.homily-foot-loc { display: block; padding: 5px 0; font-size: .9rem; }
.homily-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 46px; padding-top: 24px; text-align: center; font-size: .8rem; opacity: .7; }
.homily-wrap.homily-foot-grid { padding-left: 24px; padding-right: 24px; }

/* =========================================================================
   Accommodation single (single-room-type.php)
   ========================================================================= */
.homily-single { padding: 36px 0 0; }
.homily-single .homily-pin { display: inline-flex; align-items: center; gap: 6px; color: var(--grey); font-size: .95rem; font-weight: 500; }
.homily-single .homily-pin .ic { color: var(--aegean); display: flex; width: 16px; height: 16px; }
.homily-single .homily-pin .ic svg { width: 16px; height: 16px; }

/* ---- Gallery ----------------------------------------------------------- */
.homily-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.homily-gallery.is-single { grid-template-columns: 1fr; }
.homily-gallery-main { position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--sand-deep); }
/* opacity uses !important to beat the lazy-load plugin's `.lazyloaded{opacity:1}`
   (lazysizes/WP Smush) which otherwise forces every slide visible. */
.homily-gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0 !important; transition: opacity .35s ease; }
.homily-gallery-slide.is-active { opacity: 1 !important; }
.homily-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: none; border-radius: 50%; background: rgba(255,255,255,.55); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.10); transition: .2s; }
.homily-gallery-arrow svg { width: 18px; height: 18px; }
.homily-gallery-arrow:hover { background: rgba(255,255,255,.8); }
.homily-gallery-arrow.l { left: 14px; }
.homily-gallery-arrow.r { right: 14px; }
.homily-gallery-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; max-width: 60%; flex-wrap: wrap; justify-content: center; }
.homily-gallery-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.homily-gallery-dots i.on { background: #fff; }
.homily-gallery-all { position: absolute; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border: none; font-family: inherit; font-size: .8rem; font-weight: 600; padding: 9px 16px; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.homily-gallery-all svg { width: 15px; height: 15px; color: var(--aegean); }
.homily-gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 3 / 4; min-height: 0; }
.homily-gallery-thumbs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 12px; cursor: pointer; transition: .2s; display: block; }
.homily-gallery-thumbs img:hover { filter: brightness(.92); }

/* in-page overlay with all photos */
.homily-gallery-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(20,30,30,.94); overflow-y: auto; }
.homily-gallery-overlay[hidden] { display: none; }
.homily-gallery-overlay-bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: rgba(20,30,30,.96); color: #fff; }
.homily-gallery-overlay-bar span { font-size: .92rem; letter-spacing: .04em; }
.homily-gallery-overlay-bar button { background: none; border: none; color: #fff; cursor: pointer; padding: 6px; display: flex; }
.homily-gallery-overlay-bar button svg { width: 24px; height: 24px; }
.homily-gallery-overlay-grid { max-width: 1000px; margin: 0 auto; padding: 24px; column-count: 2; column-gap: 14px; }
.homily-gallery-overlay-grid img { width: 100%; border-radius: 8px; margin-bottom: 14px; display: block; }

/* ---- Head + quick facts ----------------------------------------------- */
.homily-single-head { margin-top: 24px; }
.homily-single-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 14px; }
.homily-facts { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.homily-facts span { display: inline-flex; align-items: center; gap: 8px; }
.homily-facts .ic { color: var(--aegean); display: flex; width: 18px; height: 18px; }
.homily-facts .ic svg { width: 18px; height: 18px; }

/* ---- Two columns ------------------------------------------------------- */
.homily-single-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; margin-top: 36px; align-items: start; }
.homily-single-sec { margin-bottom: 40px; }
.homily-single-sec h2 { font-size: 1.7rem; margin-bottom: 16px; }
.homily-single-desc { color: var(--ink-soft); font-size: 1.02rem; }
.homily-single-desc p { margin-bottom: 14px; }

/* grouped amenities */
.homily-amg { margin-bottom: 22px; }
.homily-amg h4 { font-family: 'Montserrat', sans-serif; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aegean); font-weight: 700; margin-bottom: 10px; }
.homily-amg ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.homily-amg li { display: flex; align-items: flex-start; gap: 9px; font-size: .95rem; color: var(--ink-soft); }
.homily-amg li .ic { color: var(--aegean); flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; }
.homily-amg li .ic svg { width: 16px; height: 16px; }
@media (max-width: 540px) { .homily-amg ul { grid-template-columns: 1fr; } }

/* map */
.homily-map { height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.homily-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Sticky booking card ---------------------------------------------- */
.homily-single-aside { position: sticky; top: 100px; }
.homily-bk { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; }
.homily-bk-disc { display: inline-block; background: var(--gold); color: #fff; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 14px; }
.homily-bk-from { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); margin-bottom: 14px; }
.homily-bk-from s { color: #b3a692; font-size: 1rem; margin-right: 5px; }
.homily-bk-from b { font-weight: 600; }
.homily-bk-from span { font-family: 'Montserrat', sans-serif; font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
/* Hide the "from {price} / night" teaser ONCE the guest checks availability and the
 * real per-period price appears (MotoPress removes .mphb-hide from .mphb-period-price).
 * It stays as a browsing hint before that; at booking only the real figure shows.
 * Visual only — no price/logic touched. EN & EL. Reversible (delete this line). */
.homily-bk:has( .mphb-period-price:not(.mphb-hide) ) .homily-bk-from { display: none !important; }
.homily-bk-help { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--ink-soft); background: var(--sand); border-radius: 8px; padding: 10px 12px; margin-bottom: 18px; }
.homily-bk-help .ic { color: var(--aegean); display: flex; width: 16px; height: 16px; flex: 0 0 auto; }
.homily-bk-help .ic svg { width: 16px; height: 16px; }
.homily-bk-help a { color: var(--ink); }
.homily-bk-offer { width: 100%; text-align: center; display: block; margin-top: 10px; }
.homily-bk-micro { text-align: center; font-size: .74rem; color: var(--grey); margin-top: 12px; }

/* Restyle the MotoPress reservation form inside the card (engine untouched) */
.homily-bk-form { margin-top: 4px; }
.homily-bk-form .mphb-required-fields-tip,
.homily-bk-form abbr { display: none !important; }
.homily-bk-form .mphb_sc_booking_form-wrapper,
.homily-bk-form form { margin: 0; }
.homily-bk-form label { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aegean); font-weight: 600; }
.homily-bk-form input[type="text"],
.homily-bk-form input[type="number"],
.homily-bk-form input[type="email"],
.homily-bk-form select,
.homily-bk-form .mphb-datepick { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-family: inherit; font-size: .92rem; color: var(--ink); background: #fff; }
.homily-bk-form .mphb-dates-row,
.homily-bk-form .mphb-check-in-date-wrapper,
.homily-bk-form .mphb-check-out-date-wrapper { margin-bottom: 12px; }
.homily-bk-form .button,
.homily-bk-form input[type="submit"],
.homily-bk-form .mphb-book-button,
.homily-bk-form .mphb_sc_booking_form-submit-button { width: 100%; background: var(--aegean); color: #fff; border: 1px solid var(--aegean); border-radius: 6px; padding: 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: .25s; margin-top: 6px; }
.homily-bk-form .button:hover,
.homily-bk-form input[type="submit"]:hover,
.homily-bk-form .mphb-book-button:hover { background: var(--aegean-deep); border-color: var(--aegean-deep); }
.homily-bk-form .mphb-price,
.homily-bk-form .mphb-prices,
.homily-bk-form .mphb-room-price { font-family: 'Cormorant Garamond', serif; color: var(--ink); }

/* ---- Similar accommodations carousel ---------------------------------- */
.homily-similar { background: var(--sand-deep); margin-top: 30px; }
.homily-similar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.homily-similar-head h2 { font-size: 1.8rem; }
.homily-similar-nav { display: flex; gap: 10px; flex: 0 0 auto; }
.homily-similar-nav button { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.homily-similar-nav button svg { width: 16px; height: 16px; }
.homily-similar-nav button:hover { background: var(--ink); color: #fff; }
.homily-similar-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.homily-similar-track::-webkit-scrollbar { display: none; }
.homily-scard { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); scroll-snap-align: start; display: flex; flex-direction: column; transition: .3s; }
.homily-scard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.homily-scard-media { height: 180px; background-size: cover; background-position: center; display: block; }
.homily-scard-body { padding: 16px 18px 18px; display: block; }
.homily-scard-loc { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--grey); font-weight: 500; }
.homily-scard-loc .ic { color: var(--aegean); display: flex; width: 13px; height: 13px; }
.homily-scard-loc .ic svg { width: 13px; height: 13px; }
.homily-scard-name { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 5px 0 6px; display: block; }
.homily-scard-meta { font-size: .82rem; color: var(--ink-soft); display: block; }
.homily-scard-price { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; display: block; }
.homily-scard-price b { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--ink); }

/* ---- Single responsive ------------------------------------------------- */
@media (max-width: 900px) {
	.homily-single-cols { grid-template-columns: 1fr; gap: 32px; }
	.homily-single-aside { position: static; }
	.homily-gallery { grid-template-columns: 1fr; }
	.homily-gallery-thumbs { display: none; }
	.homily-similar-track { grid-auto-columns: 78%; }
	.homily-gallery-overlay-grid { column-count: 1; }
}

/* =========================================================================
   Standalone pages — Contact & Our Philosophy
   ========================================================================= */
.homily-page-hero { padding: 70px 0 6px; text-align: center; }
.homily-page-title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 10px 0 8px; }
.homily-section--tight { padding-top: 40px; }

/* Prose (real page text, restyled) */
.homily-prose { max-width: 760px; margin: 0 auto; color: var(--ink-soft); font-size: 1.06rem; }
.homily-prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ink); margin: 0 0 18px; text-align: center; }
.homily-prose h2 { font-size: 1.8rem; color: var(--ink); margin: 28px 0 12px; }
.homily-prose h3 { font-size: 1.4rem; color: var(--ink); margin: 22px 0 10px; }
.homily-prose p { margin: 0 0 16px; }
.homily-prose a { color: var(--aegean); text-decoration: underline; }
.homily-prose ul, .homily-prose ol { margin: 0 0 16px 1.2em; }
.homily-prose li { margin-bottom: 6px; }

/* Testimonials — multi-column grid + stars */
.homily-tst-grid--multi { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .homily-tst-grid--multi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .homily-tst-grid--multi { grid-template-columns: 1fr; } }
.homily-quote-stars { color: #e9dcc7; letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }

/* Contact */
.homily-contact-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .homily-contact-cols { grid-template-columns: 1fr; gap: 36px; } }
.homily-contact-info h3, .homily-contact-form h3 { font-size: 1.6rem; margin-bottom: 18px; }
.homily-contact-list { display: flex; flex-direction: column; gap: 16px; }
.homily-contact-list li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; color: var(--ink-soft); }
.homily-contact-list .ic { width: 20px; height: 20px; color: var(--aegean); flex: 0 0 auto; display: flex; }
.homily-contact-list .ic svg { width: 20px; height: 20px; }
.homily-contact-list a { color: var(--ink); }
.homily-contact-list a:hover { color: var(--aegean); }

/* Contact Form 7 — presentation only (submit/AJAX untouched) */
.homily-contact-form .wpcf7-form p { margin: 0 0 16px; }
.homily-contact-form label { display: block; font-size: .8rem; letter-spacing: .04em; color: var(--ink); font-weight: 500; }
.homily-contact-form input[type="text"],
.homily-contact-form input[type="email"],
.homily-contact-form input[type="tel"],
.homily-contact-form input[type="url"],
.homily-contact-form input[type="number"],
.homily-contact-form select,
.homily-contact-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px 14px;
	margin-top: 6px;
	font-family: inherit;
	font-size: .95rem;
	color: var(--ink);
	background: #fff;
}
.homily-contact-form textarea { min-height: 140px; resize: vertical; }
.homily-contact-form input:focus,
.homily-contact-form textarea:focus,
.homily-contact-form select:focus { outline: none; border-color: var(--aegean); }
.homily-contact-form .wpcf7-submit {
	background: var(--aegean) !important;
	color: #fff !important;
	border: none;
	border-radius: 6px;
	padding: 14px 32px;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	width: auto;
	margin-top: 4px;
	transition: .25s;
}
.homily-contact-form .wpcf7-submit:hover { background: var(--aegean-deep) !important; }
.homily-contact-form .wpcf7-spinner { margin: 4px 0 0 10px; }

/* =========================================================================
   Owners landing (the `owners` page)
   ========================================================================= */
.homily-owners-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 6px; }
@media (max-width: 820px) { .homily-owners-values { grid-template-columns: 1fr; gap: 26px; } }
.homily-owners-value { text-align: center; padding: 0 6px; }
.homily-owners-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; color: var(--aegean); background: var(--sand); border-radius: 50%; margin-bottom: 16px; }
.homily-owners-ic svg { width: 25px; height: 25px; }
.homily-owners-value h3 { font-size: 1.5rem; margin-bottom: 10px; }
.homily-owners-value p { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.homily-owners-cta { background: var(--sand); }
.homily-owners-formwrap { max-width: 600px; margin: 28px auto 0; }
/* GDPR consent checkbox inside the CF7 owners form */
.homily-owners-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.homily-owners-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--grey); line-height: 1.45; }
.homily-owners-form .wpcf7-acceptance input[type="checkbox"] { width: auto; margin-top: 2px; accent-color: var(--aegean); }
.homily-owners-form .wpcf7-acceptance a { color: inherit; text-decoration: underline; }
/* Owner-login band (dark, stands out from the sand form below) */
.homily-owners-login { background: var(--ink); color: var(--sand); }
.homily-owners-login-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; }
@media (max-width: 820px) { .homily-owners-login-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; } }
.homily-owners-login-art { display: flex; justify-content: center; color: #86b8c6; }
.homily-owners-login-art svg { width: 150px; height: 150px; max-width: 55%; }
@media (max-width: 820px) { .homily-owners-login-art svg { width: 116px; height: 116px; } }
.homily-owners-login-txt .homily-eyebrow { color: #86b8c6; }
.homily-owners-login-txt h2 { color: #fff; margin-bottom: 12px; }
.homily-owners-login-txt p { color: rgba(246, 241, 233, 0.82); font-size: 1.02rem; line-height: 1.6; margin: 0 0 22px; max-width: 460px; }
@media (max-width: 820px) { .homily-owners-login-txt p { margin-left: auto; margin-right: auto; } }

/* =========================================================================
   Accommodations listing (the `houses` page)
   ========================================================================= */
.homily-listing .homily-page-hero { padding: 64px 0 4px; }
/* No big hero image here, so the booking bar sits below the title (not overlapping). */
.homily-listing .homily-booking { margin-top: 22px; }
.homily-listing-wrap { padding: 36px 24px 80px; }
.homily-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .homily-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .homily-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .homily-grid--4 { grid-template-columns: 1fr; } }
.homily-listing .homily-grid { margin-top: 26px; }

.homily-listing-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.homily-listing-count { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.homily-filters-toggle { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 18px; font-family: inherit; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink); cursor: pointer; transition: .2s; }
.homily-filters-toggle:hover { border-color: var(--aegean); color: var(--aegean); }
.homily-filters-toggle .ic { display: flex; color: var(--aegean); }
.homily-filters-toggle .ic svg { width: 16px; height: 16px; }

.homily-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; margin-top: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.homily-filters[hidden] { display: none; }
.homily-filter { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
.homily-filter label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aegean); font-weight: 600; }
.homily-filter select { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; cursor: pointer; }
.homily-filter select:focus { outline: none; border-color: var(--aegean); }
.homily-filter-clear { align-self: center; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--aegean); text-decoration: underline; }

/* =========================================================================
   Destination page (Methoni / Messinia)
   ========================================================================= */
.homily-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .homily-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .homily-grid--3 { grid-template-columns: 1fr; } }

.homily-page-hero--photo {
	position: relative; padding: 120px 0 70px; text-align: center; color: #fff;
	background: var(--homily-hero-img) center/cover no-repeat;
}
.homily-page-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,48,47,.35), rgba(35,48,47,.72)); }
.homily-page-hero--photo .homily-wrap { position: relative; z-index: 1; }
.homily-page-hero--photo .homily-eyebrow { color: #e9dcc7; }
.homily-page-hero--photo .homily-page-title { color: #fff; }
.homily-dest-page .homily-prose { padding: 40px 24px 8px; }

.homily-dest-sights { padding: 30px 24px 10px; }
.homily-sights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
@media (max-width: 1000px) { .homily-sights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .homily-sights-grid { grid-template-columns: 1fr; } }
.homily-sight { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.homily-sight-media { aspect-ratio: 4 / 3; background: var(--sand) center/cover no-repeat; }
.homily-sight-body { padding: 18px 20px 22px; }
.homily-sight-body h3 { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); margin: 0 0 8px; }
.homily-sight-body p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

.homily-dest-prose { padding: 44px 24px 12px; }
.homily-dest-prose :is(h2, h3) { text-align: left; }
.homily-dest-near { padding: 8px 24px 24px; }
.homily-near { max-width: 640px; margin: 0 auto; background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.homily-near h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); margin: 8px 0 4px; }
.homily-near-sub { color: var(--ink-soft); font-size: .92rem; margin: 0 0 14px; }
.homily-near-list { list-style: none; margin: 0; padding: 0; }
.homily-near-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .96rem; color: var(--ink-soft); }
.homily-near-list li b { color: var(--ink); white-space: nowrap; }

/* =========================================================================
   Booking flow — RESTYLE ONLY (CSS around MotoPress markup; no logic touched)
   ========================================================================= */

/* (1) Accommodation booking widget — price summary (Stay / Taxes / Total).
   Replaces the "Prices start at: X for N nights (+taxes)" line. */
.homily-bk-form .mphb-period-price { margin: 4px 0 2px; padding: 0; border: 0; }
.homily-bk-form .mphb-period-price > strong { display: none; } /* hide "Prices start at:" */
.homily-bk-summary { display: block; background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
.homily-bk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: .98rem; color: var(--ink-soft); }
.homily-bk-row b { color: var(--ink); font-weight: 700; white-space: nowrap; font-size: 1.1rem; } /* (#1) amounts ≥ labels */
.homily-bk-row .mphb-price { color: inherit; font-weight: inherit; }
.homily-bk-row--total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 11px; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.homily-bk-row--total b { font-size: 1.55rem; color: var(--aegean); line-height: 1.1; } /* (#1) big total */
.homily-bk-summary-note { display: block; font-size: .74rem; color: var(--grey); margin-top: 7px; text-align: right; }

/* (2) Checkout — Homily wrapper + 2-column layout around MotoPress sections. */
.homily-checkout .homily-page-hero { padding: 60px 0 8px; }
.homily-checkout-wrap { max-width: 1180px; padding: 26px 24px 90px; }

.homily-checkout .mphb-checkout-section { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; margin: 0 0 22px; }
.homily-checkout .mphb-checkout-section > h3:first-child,
.homily-checkout .mphb-booking-details-title,
.homily-checkout .mphb-gateway-chooser-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); margin: 0 0 16px; }
.homily-checkout h4, .homily-checkout .mphb-room-type-title { font-size: 1.05rem; color: var(--ink); margin: 12px 0 8px; font-weight: 600; }
.homily-checkout label { font-size: .82rem; color: var(--ink); font-weight: 500; display: block; margin-bottom: 5px; }
.homily-checkout input[type="text"], .homily-checkout input[type="email"], .homily-checkout input[type="tel"],
.homily-checkout input[type="number"], .homily-checkout input[type="password"], .homily-checkout select, .homily-checkout textarea {
	width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; box-sizing: border-box; }
.homily-checkout input:focus, .homily-checkout select:focus, .homily-checkout textarea:focus { outline: none; border-color: var(--aegean); }
.homily-checkout .mphb-errors-wrapper { background: #fbe7e6; border: 1px solid #e6b9b3; color: #8a3324; border-radius: 10px; padding: 12px 16px; }

/* Payment / gateway */
.homily-checkout .mphb-gateways-list, .homily-checkout .mphb-payment-methods { list-style: none; margin: 0; padding: 0; }
.homily-checkout .mphb-gateway-title { font-weight: 600; color: var(--ink); }
.homily-checkout .mphb-gateway-description { color: var(--ink-soft); font-size: .9rem; }

/* Price breakdown → sticky right summary card, styled like the accommodation
   page summary (#2): only Subtotal / Taxes / Total visible (#3), big amounts (#1). */
.homily-checkout #mphb-price-details { background: var(--sand); }
.homily-checkout #mphb-price-details > h3:first-child { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); margin: 0 0 10px; }
.homily-checkout .mphb-price-breakdown { width: 100%; border-collapse: collapse; }
/* (#3) hide the expandable per-day detail rows + the "#1 … [+]" toggle row */
.homily-checkout .mphb-price-breakdown .mphb-hide,
.homily-checkout .mphb-price-breakdown-booking { display: none !important; }
/* visible rows → clean Stay/Taxes/Total-style lines (table rows as flex) */
.homily-checkout .mphb-price-breakdown tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.homily-checkout .mphb-price-breakdown td, .homily-checkout .mphb-price-breakdown th { padding: 8px 0; border: 0; color: var(--ink-soft); font-size: .98rem; font-weight: 400; text-align: left; }
.homily-checkout .mphb-price-breakdown td:last-child, .homily-checkout .mphb-price-breakdown th:last-child { text-align: right; white-space: nowrap; color: var(--ink); font-weight: 700; font-size: 1.1rem; } /* (#1) amounts ≥ labels */
.homily-checkout .mphb-price-breakdown-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 11px; }
.homily-checkout .mphb-price-breakdown-total th { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.homily-checkout .mphb-price-breakdown-total th:last-child { color: var(--aegean); font-size: 1.55rem; line-height: 1.1; } /* (#1) big total */
/* the separate "Total Price:" line is redundant with the card total → tuck it small */
.homily-checkout .mphb-total-price { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }
.homily-checkout .mphb-total-price .mphb-price { color: var(--ink); font-weight: 700; }

/* Submit CTA + secure note */
.homily-checkout .mphb_sc_checkout-submit-wrapper { margin: 8px 0 0; }
.homily-checkout .mphb_sc_checkout-submit-wrapper input[type="submit"],
.homily-checkout input.button[type="submit"], .homily-checkout button.mphb-submit-booking {
	width: 100%; background: var(--aegean); color: #fff; border: 0; border-radius: 8px; padding: 16px 22px; font-family: inherit; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: .2s; }
.homily-checkout .mphb_sc_checkout-submit-wrapper input[type="submit"]:hover, .homily-checkout input.button[type="submit"]:hover { background: var(--aegean-deep); }
.homily-checkout .mphb_sc_checkout-submit-wrapper::after { content: "🔒 Secure payment with Stripe"; display: block; text-align: center; font-size: .8rem; color: var(--grey); margin-top: 12px; }
html[lang^="el"] .homily-checkout .mphb_sc_checkout-submit-wrapper::after { content: "🔒 Ασφαλής πληρωμή με Stripe"; }

/* Desktop: 2-column. LEFT = Your Information + Coupon + Payment (Stripe).
   RIGHT = one sticky summary card (booking details + price + total + CONFIRM & BOOK),
   assembled by initCheckoutLayout() in homily.js (markup unchanged — DOM regroup only). */
@media (min-width: 980px) {
	.homily-checkout .mphb_sc_checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 40px; align-items: start; }
	.homily-checkout .mphb_sc_checkout-form > * { grid-column: 1; min-width: 0; }
	.homily-checkout .mphb_sc_checkout-form > input[type="hidden"] { display: none; }

	.homily-checkout .homily-co-right {
		grid-column: 2;
		/* (#1) span all rows so the grid area is full-height → position:sticky has room to stick */
		grid-row: 1 / span 99;
		position: sticky; top: 100px; align-self: start;
		background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px;
	}
	/* flatten the moved sections into one card */
	.homily-checkout .homily-co-right .mphb-checkout-section,
	.homily-checkout .homily-co-right #mphb-price-details { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0 0 18px; }
	.homily-checkout .homily-co-right #mphb-booking-details + #mphb-price-details { border-top: 1px solid var(--line); padding-top: 18px; }
	.homily-checkout .homily-co-right .mphb_sc_checkout-submit-wrapper { margin: 6px 0 0; }
	/* (#6) coupon below Payment in the left column */
	.homily-checkout #mphb-coupon-details { order: 9; }
}

/* (#2) Featured photo on top of the summary card (full-bleed). */
.homily-co-photo { height: 168px; background: var(--sand) center/cover no-repeat; border-radius: 13px 13px 0 0; margin: -24px -26px 20px; }
@media (max-width: 979px) { .homily-co-photo { display: none; } }

/* (#3) Price AMOUNTS use the site's price face — Cormorant Garamond, matching the
   card prices (.homily-price b). Labels/keys stay clean Montserrat. */
.homily-checkout .mphb-price-breakdown td, .homily-checkout .mphb-price-breakdown th {
	font-family: 'Montserrat', sans-serif; /* the Subtotal / Taxes / Total labels */
}
.homily-bk-row b, .homily-bk-summary .mphb-price, .homily-bk-summary .mphb-currency,
.homily-checkout .mphb-price, .homily-checkout .mphb-currency,
.homily-checkout .mphb-total-price-field, .homily-checkout .mphb-total-price-field .mphb-price,
.homily-checkout .mphb-deposit-amount-field {
	font-family: 'Cormorant Garamond', serif !important;
	font-weight: 600;
	font-feature-settings: 'tnum' 1; letter-spacing: 0;
}

/* (A) Align the two columns at the same top: drop MotoPress' 64px lead margin on the first left section. */
.homily-checkout #mphb-customer-details { margin-top: 0 !important; }

/* (B) Compact "Your Information": kill the <br> gap between label↔input + tighten field spacing. */
.homily-checkout #mphb-customer-details br { display: none; }
.homily-checkout #mphb-customer-details p { margin: 0 0 13px; }
.homily-checkout #mphb-customer-details label { margin-bottom: 4px; }
.homily-checkout #mphb-customer-details .mphb-required-fields-tip { margin: 0 0 14px; color: var(--grey); }

/* Hide the per-room "Full Guest Name" field — it's optional (no *) and redundant
   with the First/Last Name in "Your Information". */
.homily-checkout .mphb-guest-name-wrapper { display: none; }

/* Hide the redundant "Accommodation #1" heading — the accommodation name follows. */
.homily-checkout .mphb-room-number { display: none; }

/* Hide MotoPress' login-notice block on checkout — both the logged-in
 * "Hello {name} (not {name}? Log out)." greeting AND the guest "Returning
 * customer? Log in" prompt (both are .mphb-login-form-wrap). Visual only;
 * markup/function untouched and the form fields (#mphb-customer-details) are a
 * separate element, so First/Last/Email stay. EN & EL. Reversible. */
.homily-checkout .mphb-login-form-wrap { display: none !important; }

/* =========================================================================
   Reservation Received (the `reservation-received` page) — restyle the MotoPress
   [mphb_booking_confirmation] output (.mphb_sc_booking_confirmation) into clean
   Homily cards. Wrapper: page-homily-reservation.php. All data + logic from
   MotoPress; CSS only. EN & EL.
   ========================================================================= */
.homily-reservation-wrap { max-width: 680px; margin: 0 auto; padding: 8px 24px 84px; }
/* Intro confirmation line (from received/confirmed template) */
.homily-reservation .mphb_sc_booking_confirmation > p { text-align: center; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; margin: 0 0 26px; }
/* Booking / Payment cards */
.homily-reservation .mphb-booking-details-section { background: var(--sand); border-radius: 14px; padding: 22px 26px; margin: 0 0 18px; }
.homily-reservation .mphb-booking-details-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.55rem; color: var(--ink); margin: 0 0 12px; }
.homily-reservation ul.mphb-booking-details { list-style: none; margin: 0; padding: 0; }
.homily-reservation ul.mphb-booking-details li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.homily-reservation ul.mphb-booking-details li:last-child { border-bottom: 0; padding-bottom: 2px; }
.homily-reservation .mphb-booking-details .label { font-family: 'Montserrat', sans-serif; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); flex: 0 0 auto; }
.homily-reservation .mphb-booking-details .value { font-family: 'Montserrat', sans-serif; color: var(--ink); font-weight: 500; text-align: right; }
/* amounts (Total / Payment amount) in Cormorant, like the checkout summary */
.homily-reservation .mphb-booking-details .value .mphb-price,
.homily-reservation .mphb-booking-details .value .mphb-currency { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.35rem; color: var(--aegean-deep); }
/* Status pill */
.homily-reservation .booking-status .value { background: var(--sand-deep); color: var(--aegean-deep); border-radius: 20px; padding: 4px 13px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
/* accommodations block inside the booking card */
.homily-reservation .accommodations { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.homily-reservation .accommodations-title { display: block; font-family: 'Montserrat', sans-serif; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.homily-reservation .accommodations-list { color: var(--ink); font-size: .95rem; line-height: 1.6; }
.homily-reservation-actions { margin-top: 28px; }

/* Validation-error recovery notice (shown after we bounce back from MotoPress'
 * bare error page — see initCheckoutErrorRecovery). */
.homily-checkout .homily-co-recovered {
	margin: 0 0 22px;
	padding: 14px 18px;
	border-radius: 11px;
	background: #fbf2ea;
	border: 1px solid #e3c9a8;
	color: #8a5a2b;
	font-family: var(--font-body);
	font-size: 14.5px;
	line-height: 1.45;
}

/* (#5) hide MotoPress' duplicate "Total Price:" line — keep the single card total. */
.homily-checkout .mphb-total-price { display: none; }

/* (E) WPML/MotoPress sometimes renders the whole checkout twice — hide any
   duplicate wrapper after the first (JS also enforces this; CSS prevents a flash). */
.homily-checkout .mphb_sc_checkout-wrapper ~ .mphb_sc_checkout-wrapper { display: none !important; }

/* (#7) generic card-brand marks by the Stripe gateway (display only). */
.homily-pay-icons { display: flex; gap: 7px; align-items: center; margin: 10px 0 2px; }
.homily-pay-icons svg { border: 1px solid var(--line); border-radius: 3px; display: block; }
