/*
Theme Name: Capture Photo Box
Theme URI: https://capturephotobox.com/
Author: Capture Photo Box
Description: A block theme for the Capture luxury photo booth: hero, booth features, design, prints, how it works, pricing, gallery, FAQ and a booking form that emails you and saves every request in the dashboard. Edit everything under Appearance → Editor.
Version: 3.0.3
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capture-photobox
Tags: block-patterns, full-site-editing, one-column, wide-blocks, custom-colors, editor-style, translation-ready
*/

/* Colors and fonts live in theme.json. This file adds the finishing touches the editor can't set. */

:root {
	--cream: var(--wp--preset--color--cream);
	--linen: var(--wp--preset--color--linen);
	--sand: var(--wp--preset--color--sand);
	--paper: var(--wp--preset--color--paper);
	--oak: var(--wp--preset--color--oak);
	--oak-soft: var(--wp--preset--color--oak-soft);
	--hedge: var(--wp--preset--color--hedge);
	--ink: var(--wp--preset--color--ink);
	--muted: var(--wp--preset--color--muted);
	--line: rgba(28, 26, 23, 0.13);
	--line-light: rgba(246, 243, 236, 0.18);
	--display: var(--wp--preset--font-family--display);
	--body: var(--wp--preset--font-family--body);
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 24px 60px -28px rgba(28, 26, 23, 0.35);
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

h1 em,
h2 em { font-style: italic; color: var(--oak); }
.has-hedge-background-color h2 em,
.has-ink-background-color h2 em { color: var(--oak-soft); }

/* Sections sit flush against each other. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-group.cpb-main > * { margin-block-start: 0; }

.cpb-soft { color: rgba(246, 243, 236, 0.78); }

/* ---------- Icons (drawn with CSS so the text stays editable) ---------- */
:root {
	--cpb-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 66' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2.5' width='32' height='38' rx='10'/%3E%3Ccircle cx='24' cy='14' r='4.2'/%3E%3Crect x='15' y='23.5' width='18' height='7.5' rx='1.2'/%3E%3Cpath d='M24 40.5 12.5 63.5M24 40.5l11.5 23'/%3E%3C/svg%3E");
	--cpb-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--cpb-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--cpb-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	--cpb-i-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='0.9' fill='black'/%3E%3C/svg%3E");
	--cpb-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5 12 13l8.5-6.5'/%3E%3C/svg%3E");
	--cpb-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
	--cpb-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
	--cpb-i-screen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
	--cpb-i-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
	--cpb-i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-13 14-14 0 9-5 14-13 14'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/svg%3E");
	--cpb-i-print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1.5'/%3E%3Crect x='8' y='6' width='8' height='8'/%3E%3Cpath d='M8 17h8'/%3E%3C/svg%3E");
}
.cpb-ico { display: flex; align-items: center; gap: 12px; }
.cpb-ico::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background-color: var(--oak);
	-webkit-mask: var(--cpb-i) center / contain no-repeat;
	mask: var(--cpb-i) center / contain no-repeat;
}
.has-ink-background-color .cpb-ico::before,
.has-hedge-background-color .cpb-ico::before { background-color: var(--oak-soft); }
.cpb-ico--camera { --cpb-i: var(--cpb-i-camera); }
.cpb-ico--screen { --cpb-i: var(--cpb-i-screen); }
.cpb-ico--print { --cpb-i: var(--cpb-i-print); }
.cpb-ico--leaf { --cpb-i: var(--cpb-i-leaf); }
.cpb-ico--instagram { --cpb-i: var(--cpb-i-instagram); }
.cpb-ico--mail { --cpb-i: var(--cpb-i-mail); }
.cpb-ico--phone { --cpb-i: var(--cpb-i-phone); }
.cpb-ico--pin { --cpb-i: var(--cpb-i-pin); }

/* ---------- Header ---------- */
.cpb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--linen);
	transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.admin-bar .cpb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cpb-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cpb-header { top: 0; } }
.cpb-header.is-scrolled { background: rgba(246, 243, 236, 0.97); box-shadow: 0 1px 0 var(--line); }
.cpb-header__bar { min-height: var(--header-h); display: flex; flex-direction: column; justify-content: center; }
.cpb-header__bar > * { width: 100%; }

.cpb-brand { margin: 0; }
.cpb-brand a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}
.cpb-brand a:hover { color: var(--ink); }
.cpb-brand a::before {
	content: "";
	flex: none;
	width: 26px;
	height: 36px;
	background-color: var(--oak);
	-webkit-mask: var(--cpb-mark) center / contain no-repeat;
	mask: var(--cpb-mark) center / contain no-repeat;
}

.cpb-header .wp-block-navigation-item__content { position: relative; text-decoration: none; }
.cpb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: var(--oak);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}
.cpb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.cpb-header .wp-block-navigation__responsive-container.is-menu-open { padding: 20px clamp(16px, 4vw, 40px) 40px; }
.cpb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
.cpb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.cpb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0; }
.cpb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--line); }
.cpb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 10px 0;
	font-family: var(--display);
	font-size: 2.2rem;
	letter-spacing: 0;
}
.cpb-header .wp-block-navigation__responsive-container-close { top: 22px; right: clamp(16px, 4vw, 40px); }
.cpb-header .wp-block-button__link { padding: 12px 20px; font-size: 0.88rem; }

@media (max-width: 480px) {
	.cpb-brand a { font-size: 1.35rem; letter-spacing: 0.14em; gap: 9px; }
	.cpb-brand a::before { width: 20px; height: 28px; }
	.cpb-header .wp-block-button__link { padding: 10px 15px; font-size: 0.82rem; }
}

/* ---------- Small labels ---------- */
.cpb-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--oak);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.cpb-eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
.cpb-eyebrow.has-text-align-center { justify-content: center; }
.has-hedge-background-color .cpb-eyebrow,
.has-ink-background-color .cpb-eyebrow { color: var(--oak-soft); }

.cpb-label {
	font-family: var(--body);
	font-size: 0.78rem !important;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
}

.wp-block-group.cpb-head { margin-bottom: clamp(44px, 6vw, 72px); }
.wp-block-group.cpb-head > .wp-block-heading { margin-block-start: 0.4rem; }

/* ---------- Buttons ---------- */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cpb-arrow .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 1.1em;
	height: 1.1em;
	background-color: currentColor;
	-webkit-mask: var(--cpb-i-arrow) center / contain no-repeat;
	mask: var(--cpb-i-arrow) center / contain no-repeat;
	transition: transform 0.25s var(--ease);
}
.cpb-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }

.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:not(.has-background) {
	padding: 16px 28px;
	border: 1px solid rgba(28, 26, 23, 0.35);
	background: transparent;
	color: var(--ink);
}
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:not(.has-background):hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--cream);
}
.wp-block-button__link.has-cream-background-color:hover,
.wp-block-button__link.has-cream-background-color:focus {
	background-color: var(--oak-soft) !important;
	color: var(--ink) !important;
}

/* ---------- Hero ---------- */
.wp-block-group.cpb-hero {
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 24px;
	padding-bottom: 56px;
	overflow: hidden;
}
.wp-block-group.cpb-hero > * { width: 100%; }
.cpb-hero__copy .cpb-lead { max-width: 34em; color: #3b3832; }
.cpb-hero__copy .wp-block-buttons { margin-block-start: 30px; }
.cpb-hero__img { text-align: center; margin: 0; }
.cpb-hero__img img {
	width: auto;
	max-height: min(80vh, 740px);
	margin-inline: auto;
	animation: cpb-rise 1.1s var(--ease) both;
}
.cpb-hero__copy > * { animation: cpb-rise 0.9s var(--ease) both; }
.cpb-hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.cpb-hero__copy > :nth-child(3) { animation-delay: 0.12s; }
.cpb-hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.cpb-hero__copy > :nth-child(5) { animation-delay: 0.24s; }
@keyframes cpb-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.cpb-hero .wp-block-group.cpb-facts {
	margin-block-start: 40px;
	padding-top: 26px;
	border-top: 1px solid rgba(28, 26, 23, 0.2);
	max-width: 520px;
	gap: 0;
}
.cpb-facts > .wp-block-group { flex: 1 1 0; min-width: 0; padding-right: 20px; }
.cpb-facts > .wp-block-group + .wp-block-group { padding-left: 20px; border-left: 1px solid rgba(28, 26, 23, 0.2); }
.cpb-facts .wp-block-group > p { margin: 0; }
.cpb-facts__label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cpb-facts__value { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.1; }

@media (max-width: 781px) {
	.wp-block-group.cpb-hero { min-height: 0; padding-bottom: 28px; }
	.cpb-hero__img img { max-height: 62vh; }
}
@media (max-width: 420px) {
	.cpb-facts > .wp-block-group { padding-right: 12px; }
	.cpb-facts > .wp-block-group + .wp-block-group { padding-left: 12px; }
	.cpb-facts__value { font-size: 1.6rem; }
}

/* ---------- Highlights bar ---------- */
.wp-block-group.cpb-highlights { display: grid; grid-template-columns: repeat(4, 1fr); }
.wp-block-group.cpb-highlights > p {
	margin: 0;
	justify-content: center;
	padding: 24px 12px;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
}
.wp-block-group.cpb-highlights > p + p { border-left: 1px solid var(--line-light); }
@media (max-width: 860px) {
	.wp-block-group.cpb-highlights { grid-template-columns: repeat(2, 1fr); }
	.wp-block-group.cpb-highlights > p { justify-content: flex-start; padding: 18px 8px; }
	.wp-block-group.cpb-highlights > p:nth-child(3) { border-left: 0; }
	.wp-block-group.cpb-highlights > p:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}

/* ---------- Booth features ---------- */
.cpb-features .wp-block-image {
	margin: 0 0 26px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--sand);
}
.cpb-features .wp-block-image img { width: 100%; transition: transform 0.9s var(--ease); }
.cpb-features .wp-block-column:hover .wp-block-image img { transform: scale(1.04); }
.cpb-num { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--oak); }
.cpb-features .wp-block-column > .cpb-num + * { margin-block-start: 0.4rem; }
@media (max-width: 781px) {
	.cpb-features .wp-block-image img { aspect-ratio: 5 / 4 !important; }
	.cpb-features .wp-block-column + .wp-block-column { margin-top: 20px; }
}

/* ---------- The design (dark) ---------- */
.cpb-craft .wp-block-image { margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: #26372d; }
.cpb-craft .wp-block-image img { width: 100%; }
.cpb-craft > .wp-block-column:first-child .wp-block-image { height: 100%; border-radius: var(--radius); }
.cpb-craft > .wp-block-column:first-child .wp-block-image img { height: 100%; object-fit: cover; }
.cpb-craft > .wp-block-column:last-child > * + * { margin-block-start: 14px; }
@media (max-width: 781px) {
	.cpb-craft > .wp-block-column:first-child .wp-block-image img { aspect-ratio: 4 / 5; height: auto; }
	.cpb-craft > .wp-block-column:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.cpb-craft > .wp-block-column:last-child > * + * { margin-block-start: 0; }
	.cpb-craft > .wp-block-column:last-child img { aspect-ratio: 1 !important; }
}

/* ---------- Prints ---------- */
.cpb-print-photo { position: relative; margin: 0; }
.cpb-print-photo::before {
	content: "";
	position: absolute;
	inset: 6% -6% -4% 10%;
	border-radius: 6px;
	background: var(--linen);
	transform: rotate(4deg);
}
.cpb-print-photo img {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 12px 12px 18px;
	border-radius: 6px;
	background: #fff;
	box-shadow: var(--shadow);
	transform: rotate(-2.5deg);
}
.cpb-prints .cpb-label { margin-block-start: 26px; }
.cpb-prints .cpb-label + ul { margin-block-start: 12px; }
.cpb-prints .wp-block-buttons { margin-block-start: 30px; }
@media (max-width: 781px) {
	.cpb-print-photo { max-width: 380px; margin: 0 auto 24px; }
}

.wp-block-list.is-style-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-inline: 0; padding: 0; list-style: none; }
.wp-block-list.is-style-chips li {
	padding: 7px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: 0.92rem;
	line-height: 1.4;
}

/* ---------- How it works ---------- */
.cpb-steps { counter-reset: step; }
.wp-block-column.cpb-step {
	padding: 34px 30px 30px;
	border-radius: var(--radius);
	background: var(--paper);
	counter-increment: step;
}
.cpb-step::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 22px;
	font-family: var(--display);
	font-size: 3rem;
	font-style: italic;
	line-height: 1;
	color: var(--oak);
}
.cpb-step > * { margin-block: 0; }
.cpb-step > * + * { margin-block-start: 0.6rem; }

/* ---------- Pricing ---------- */
.is-layout-constrained > .wp-block-columns.cpb-pricing { max-width: 1040px; }
.wp-block-column.cpb-price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(30px, 4vw, 48px);
	border-radius: var(--radius);
	overflow: hidden;
}
.cpb-price-card::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(199, 154, 104, 0.35), transparent 70%);
	pointer-events: none;
}
.cpb-price-card > * { position: relative; z-index: 1; }
.cpb-price-label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak-soft); }
.cpb-price-card .wp-block-group.cpb-price {
	align-items: baseline;
	gap: 4px 14px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--line-light);
}
.cpb-price > p { margin: 0; }
.cpb-price__amount { font-family: var(--display); font-size: clamp(3.6rem, 7vw, 5rem); font-weight: 500; line-height: 0.9; }
.cpb-price__per { color: rgba(246, 243, 236, 0.7); }
.cpb-price-card .wp-block-list { margin-block-start: 26px; }
.cpb-price-card .wp-block-buttons { margin-top: auto; padding-top: 32px; }
.cpb-price-card .wp-block-button { width: 100%; }
.cpb-price-card .wp-block-button__link { width: 100%; }

.wp-block-list.is-style-checklist { display: grid; gap: 14px; margin-inline: 0; padding: 0; list-style: none; }
.wp-block-list.is-style-checklist li { display: flex; align-items: flex-start; gap: 12px; }
.wp-block-list.is-style-checklist li::before {
	content: "";
	flex: none;
	width: 1.15em;
	height: 1.15em;
	margin-top: 0.25em;
	background-color: var(--oak);
	-webkit-mask: var(--cpb-i-check) center / contain no-repeat;
	mask: var(--cpb-i-check) center / contain no-repeat;
}
.has-ink-background-color .wp-block-list.is-style-checklist li::before,
.has-hedge-background-color .wp-block-list.is-style-checklist li::before { background-color: var(--oak-soft); }

.wp-block-column.cpb-addons {
	padding: clamp(30px, 4vw, 48px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.cpb-addons .wp-block-group.cpb-addon {
	gap: 20px;
	padding: 22px 0;
	border-top: 1px solid var(--line);
}
.cpb-addons > h3 + .wp-block-group.cpb-addon { border-top: 0; }
.cpb-addons > * + .cpb-addon { margin-block-start: 0; }
.cpb-addon > .wp-block-group > * { margin: 0; }
.cpb-addon > .wp-block-group > * + * { margin-top: 4px; }
.cpb-addon h4 { font-family: var(--body); font-size: 1.02rem; font-weight: 500; letter-spacing: 0; }
.cpb-addon__price { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1; white-space: nowrap; }

/* ---------- Gallery ---------- */
.wp-block-group.cpb-head-split { margin-bottom: clamp(36px, 5vw, 56px); }
.cpb-head-split .wp-block-heading { margin: 0.4rem 0 0; }
.wp-block-gallery.has-nested-images.cpb-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(160px, 20vw, 270px);
	gap: 14px;
}
.wp-block-gallery.has-nested-images.cpb-mosaic figure.wp-block-image {
	width: auto !important;
	height: 100%;
	margin: 0;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--linen);
}
.wp-block-gallery.has-nested-images.cpb-mosaic figure.wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
.cpb-mosaic .wp-lightbox-container { width: 100%; height: 100%; }
.wp-block-gallery.has-nested-images.cpb-mosaic figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.wp-block-gallery.has-nested-images.cpb-mosaic figure.wp-block-image:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
	.wp-block-gallery.has-nested-images.cpb-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 10px; }
}

/* ---------- FAQ ---------- */
.cpb-faq .wp-block-details { margin: 0; border-top: 1px solid var(--line); }
.cpb-faq .wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.cpb-faq .wp-block-details + .wp-block-details { margin-block-start: 0; }
.cpb-faq .wp-block-details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}
.cpb-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.cpb-faq .wp-block-details summary::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background-color: var(--oak);
	-webkit-mask: var(--cpb-i-plus) center / contain no-repeat;
	mask: var(--cpb-i-plus) center / contain no-repeat;
	transition: transform 0.3s var(--ease);
}
.cpb-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.cpb-faq .wp-block-details > p { margin: -6px 0 24px; max-width: 38em; color: var(--muted); }

/* ---------- Contact ---------- */
.wp-block-column.cpb-form-card {
	padding: clamp(24px, 4vw, 44px);
	border-radius: var(--radius);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.cpb-contact-links { margin-block-start: 30px; }
.cpb-contact-links > p { margin: 0; font-size: 1.05rem; }
.cpb-contact-links > p + p { margin-top: 14px; }
.cpb-ico a { text-decoration: none; }

.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field label span { color: var(--oak); }
.field input,
.field select,
.field textarea,
.plugin-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.plugin-form select,
.plugin-form textarea,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--cream);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.field select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5a51' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}
.field textarea,
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--oak);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(154, 106, 58, 0.15);
}
.booking-form button[type="submit"],
.wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	width: 100%;
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--cream);
	font: 500 0.95rem/1 var(--body);
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background-color 0.25s var(--ease);
}
.booking-form button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover { background: var(--oak); }
.booking-form button svg { width: 1.1em; height: 1.1em; }
.wpcf7 label { font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .booking-form { grid-template-columns: 1fr; } }

.form-notice { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.98rem; }
.form-notice--success { background: #e5eee3; color: #23422a; }
.form-notice--error { background: #f6e2dc; color: #7a2e1d; }

/* ---------- Footer ---------- */
.cpb-footer { color: rgba(246, 243, 236, 0.8); font-size: 0.95rem; }
.cpb-footer .cpb-brand a { color: var(--cream); }
.cpb-footer .cpb-brand a::before { background-color: var(--oak-soft); }
.cpb-footer a { color: rgba(246, 243, 236, 0.8); text-decoration: none; }
.cpb-footer a:hover { color: var(--oak-soft); }
.cpb-footer .wp-block-navigation { font-size: 0.95rem; letter-spacing: 0; }
.cpb-footer .wp-block-button__link { color: var(--ink); }
.cpb-footer .cpb-ico::before { background-color: var(--oak-soft); }
.cpb-footer__base {
	margin-top: 56px;
	padding-block: 22px;
	border-top: 1px solid var(--line-light);
	font-size: 0.85rem;
	color: rgba(246, 243, 236, 0.55);
}
.cpb-footer__base p { margin: 0; }
.cpb-footer__base a { color: inherit; }

/* ---------- Blog and pages ---------- */
.cpb-page { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(72px, 10vw, 136px); }
.cpb-meta { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oak); }
.cpb-post-card { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.cpb-post-card .wp-block-post-featured-image img { border-radius: var(--radius-sm); }
.cpb-post-card .wp-block-post-title a { text-decoration: none; }
.wp-block-post-content img,
.wp-block-post-featured-image img { border-radius: var(--radius-sm); }
.wp-block-search__input { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; }
.wp-block-search__button { border-radius: 999px; }
.cpb-not-found::before {
	content: "";
	display: block;
	width: 48px;
	height: 66px;
	margin: 0 auto 28px;
	background-color: var(--oak);
	-webkit-mask: var(--cpb-mark) center / contain no-repeat;
	mask: var(--cpb-mark) center / contain no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Cloudflare Turnstile check on the booking form */
.cf-turnstile { min-height: 65px; }
.cpb-turnstile-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
