/*
Theme Name: Yudi's Place
Theme URI: https://yudisplace.com/
Author: Yudi's Place
Description: Custom, mobile-first theme for Yudi's Place surf homestay in Lhoknga, Aceh. Built to work with MotoPress Hotel Booking.
Version: 1.0.14
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: yudisplace
*/

/* ---------- Tokens ---------- */
:root {
	--yp-ink: #14262C;
	--yp-ocean: #0E2A33;
	--yp-night: #0B1F26;
	--yp-sand: #F5F0E8;
	--yp-paper: #FFFFFF;
	--yp-field: #FBF8F3;
	--yp-line: #E3DACC;
	--yp-line-strong: #CFC5B6;
	--yp-muted: #3E5157;
	--yp-mist: #C9D8DB;
	--yp-teal: #0B6B70;
	--yp-teal-dark: #084F53;
	--yp-accent: #C9531F;
	--yp-accent-dark: #A8441A;
	--yp-peach: #FFE3C9;
	--yp-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--yp-body: 'DM Sans', system-ui, sans-serif;
	--yp-radius: 18px;
	--yp-gutter: clamp(20px, 4vw, 48px);
	--yp-max: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--yp-sand);
	color: var(--yp-ink);
	font-family: var(--yp-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yp-teal); }
a:hover { color: var(--yp-teal-dark); }
h1, h2, h3, h4 { font-family: var(--yp-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
p { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yp-accent); outline-offset: 2px; }
.screen-reader-text, .yp-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { clip: auto; width: auto; height: auto; left: 12px; top: 12px; z-index: 100; background: #fff; color: var(--yp-ink); padding: 10px 16px; border-radius: 8px; }

.yp-wrap { width: 100%; max-width: var(--yp-max); margin: 0 auto; padding-left: var(--yp-gutter); padding-right: var(--yp-gutter); }
.yp-section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.yp-white { background: var(--yp-paper); }
.yp-dark { background: var(--yp-ocean); color: #fff; }
.yp-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yp-accent); }
.yp-dark .yp-eyebrow { color: #FFC79E; }
.yp-h2 { font-size: clamp(34px, 4vw, 56px); }
.yp-lead { color: var(--yp-muted); }
.yp-dark .yp-lead { color: var(--yp-mist); }
.yp-stack { display: flex; flex-direction: column; gap: 18px; }
.yp-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.yp-split > * { flex: 1 1 420px; min-width: 0; }
.yp-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.yp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.yp-btn--accent { background: var(--yp-accent); color: #fff; }
.yp-btn--accent:hover { background: var(--yp-accent-dark); color: #fff; }
.yp-btn--outline { border-color: var(--yp-ink); color: var(--yp-ink); }
.yp-btn--outline:hover { background: var(--yp-ink); color: #fff; }
.yp-btn--light { background: #fff; color: var(--yp-ocean); }
.yp-btn--light:hover { background: var(--yp-sand); color: var(--yp-ocean); }
.yp-btn--ghost { border-color: rgba(255,255,255,0.65); color: #fff; }
.yp-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.yp-btn--block { width: 100%; }
.yp-btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.yp-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; }
.admin-bar .yp-header { top: 32px; }
.yp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.yp-logo img { width: 160px; height: auto; }
.yp-nav { display: flex; align-items: center; gap: 30px; }
.yp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.yp-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.yp-nav a:hover, .yp-nav .current-menu-item > a, .yp-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.yp-nav .yp-btn { min-height: 44px; padding: 0 22px; text-decoration: none; }
.yp-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.yp-header__book { display: none; }

@media (max-width: 900px) {
	.yp-header { position: sticky; top: 0; background: var(--yp-ocean); }
	.admin-bar .yp-header { top: 46px; }
	.yp-header__inner { padding-top: 10px; padding-bottom: 10px; min-height: 64px; }
	.yp-logo img { width: 124px; }
	.yp-menu-toggle, .yp-header__book { display: inline-flex; }
	.yp-header__book { min-height: 44px; padding: 0 16px; font-size: 15px; }
	.yp-header__actions { display: flex; align-items: center; gap: 8px; }
	.yp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--yp-ocean); padding: 8px var(--yp-gutter) 24px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,0.12); }
	.yp-nav.is-open { display: flex; }
	.yp-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.yp-nav li a { display: flex; align-items: center; min-height: 52px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); }
	.yp-nav .yp-nav__cta { margin-top: 16px; }
}
@media (min-width: 901px) { .yp-header__actions { display: contents; } }

/* ---------- Heroes ---------- */
.yp-hero { position: relative; display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--yp-ocean); min-height: 520px; }
.yp-hero--home { min-height: 780px; }
.yp-hero--tall { min-height: 640px; }
.yp-hero--short { min-height: 440px; }
.yp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,28,0.62) 0%, rgba(8,22,28,0.08) 34%, rgba(8,22,28,0.15) 55%, rgba(8,22,28,0.78) 100%); }
.yp-hero__body { position: relative; z-index: 1; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding-top: 140px; padding-bottom: 72px; }
.yp-hero--home .yp-hero__body { padding-bottom: 150px; gap: 22px; }
.yp-hero--short .yp-hero__body { padding-bottom: 120px; }
.yp-hero__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yp-peach); }
.yp-hero h1 { font-size: clamp(42px, 5.8vw, 84px); line-height: 0.99; letter-spacing: -0.025em; max-width: 860px; }
.yp-hero--home h1 { font-size: clamp(44px, 6.4vw, 92px); }
.yp-hero__sub { max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); color: #F1F5F5; }
.yp-hero__badge { align-self: flex-start; padding: 16px 22px; border-radius: 16px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); }
.yp-hero__badge span { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.yp-hero__badge strong { font-family: var(--yp-display); font-size: 28px; }
@media (max-width: 900px) {
	.yp-hero, .yp-hero--tall { min-height: 460px; }
	.yp-hero--home { min-height: 600px; }
	.yp-hero--short { min-height: 300px; }
	.yp-hero__body { padding-top: 60px; padding-bottom: 32px; }
	.yp-hero--home .yp-hero__body { padding-bottom: 96px; }
	.yp-hero--short .yp-hero__body { padding-bottom: 88px; }
	.yp-hero__eyebrow { font-size: 12px; }
}

/* ---------- Booking bar (works with MotoPress search form or fallback) ---------- */
.yp-bookbar { position: relative; z-index: 2; max-width: 1180px; margin: -96px auto 0; padding: 0 clamp(16px, 3vw, 32px); }
.yp-bookbar__card { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(14,42,51,0.18); padding: 22px; }
@media (max-width: 900px) { .yp-bookbar { margin-top: -72px; } .yp-bookbar__card { padding: 18px; border-radius: 18px; } }

.yp-fallback-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.yp-field { flex: 1 1 170px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--yp-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.yp-field input, .yp-field select, .yp-field textarea,
.mphb_sc_search-form input[type="text"], .mphb_sc_search-form select,
.mphb_widget_search-form input[type="text"], .mphb_widget_search-form select,
.mphb_sc_checkout-form input[type="text"], .mphb_sc_checkout-form input[type="email"], .mphb_sc_checkout-form input[type="tel"], .mphb_sc_checkout-form select, .mphb_sc_checkout-form textarea,
.mphb-booking-form input[type="text"], .mphb-booking-form select {
	width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #D8CFC1; border-radius: 12px;
	font-size: 16px; color: var(--yp-ink); background: var(--yp-field); text-transform: none; letter-spacing: 0; font-weight: 400;
}
.mphb_sc_checkout-form textarea, .yp-field textarea { padding: 12px 14px; min-height: 110px; }

/* MotoPress availability search form → horizontal bar */
.mphb_sc_search-wrapper form, .mphb_widget_search-form, .mphb_sc_search-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 0; }
.mphb_sc_search-form p, .mphb_widget_search-form p { margin: 0; flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; }
.mphb_sc_search-form label, .mphb_widget_search-form label { font-size: 13px; font-weight: 700; color: var(--yp-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mphb_sc_search-form label abbr, .mphb_widget_search-form label abbr { text-decoration: none; }
.mphb_sc_search-form br, .mphb_widget_search-form br { display: none; }
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper, .mphb_widget_search-form .mphb_widget_search-submit-button-wrapper { flex: 1 1 200px; }
.mphb_sc_search-form .mphb-required-fields-tip, .mphb_widget_search-form .mphb-required-fields-tip { display: none; }

/* All MotoPress buttons */
.mphb_sc_search-form input[type="submit"], .mphb_sc_search-form .button,
.mphb_widget_search-form input[type="submit"],
.mphb-book-button, .mphb-confirm-reservation, .mphb_sc_checkout-submit-wrapper input[type="submit"],
.mphb-reserve-btn, .mphb-booking-form button, .mphb-booking-form input[type="submit"],
.mphb-view-details-button, .button.mphb-button {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
	background: var(--yp-accent); color: #fff !important; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none;
}
.mphb-view-details-button { width: auto; border-radius: 999px; background: transparent; border: 2px solid var(--yp-ink); color: var(--yp-ink) !important; }
.mphb_sc_search-form input[type="submit"]:hover, .mphb-book-button:hover, .mphb-reserve-btn:hover, .mphb_sc_checkout-submit-wrapper input[type="submit"]:hover { background: var(--yp-accent-dark); }

/* MotoPress results / checkout readability */
.mphb_sc_search_results-wrapper .mphb-room-type, .mphb_sc_rooms-wrapper .mphb-room-type {
	background: #fff; border-radius: var(--yp-radius); padding: 24px; margin-bottom: 24px;
}
.mphb-room-type-title, .mphb-room-type .entry-title { font-family: var(--yp-display); font-size: 30px; }
.mphb-price { font-family: var(--yp-display); font-weight: 800; }
.mphb-loop-room-type-attributes, .mphb-single-room-type-attributes { list-style: none; padding: 0; color: var(--yp-muted); }
.mphb_sc_checkout-form, .mphb_sc_booking_confirmation { background: #fff; border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
.mphb_sc_checkout-form h3, .mphb-checkout-section h3 { font-size: 24px; margin: 24px 0 12px; }
.mphb_sc_checkout-form p { margin: 0 0 14px; }
.mphb-calendar.mphb-datepick, .datepick { font-family: var(--yp-body); }
.datepick-popup .datepick { border-radius: 14px; box-shadow: 0 18px 40px rgba(14,42,51,0.2); border: 0; }

/* ---------- Quick facts ---------- */
.yp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid #D8CFC1; border-bottom: 1px solid #D8CFC1; }
.yp-fact { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid #D8CFC1; }
.yp-fact:first-child { border-left: 0; padding-left: 0; }
.yp-fact strong { font-family: var(--yp-display); font-size: 34px; font-weight: 800; color: var(--yp-teal); line-height: 1.1; }
.yp-fact span { color: var(--yp-muted); font-size: 15px; }
@media (max-width: 900px) {
	.yp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; }
	.yp-fact, .yp-fact:first-child { border: 0; background: #fff; border-radius: 14px; padding: 16px; }
	.yp-fact strong { font-size: 26px; }
	.yp-fact span { font-size: 14px; }
}
.yp-facts--dark { border-color: rgba(255,255,255,0.14); }
.yp-facts--dark .yp-fact { border-color: rgba(255,255,255,0.14); }
.yp-facts--dark .yp-fact span:first-child { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #FFC79E; }
.yp-facts--dark .yp-fact strong { color: #fff; font-size: 26px; font-weight: 700; }
@media (max-width: 900px) { .yp-facts--dark .yp-fact, .yp-facts--dark .yp-fact:first-child { background: transparent; padding: 8px 0; } }

/* ---------- Chips / pills ---------- */
.yp-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.yp-chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--yp-line); font-size: 15px; font-weight: 600; }
.yp-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #F1ECE3; color: var(--yp-muted); }
.yp-tag--easy { background: #E3F0EF; color: #0B5357; }
.yp-tag--mid { background: #FDE8DC; color: #8A3412; }
.yp-tag--hard { background: var(--yp-ocean); color: #fff; }
.yp-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Photo grids ---------- */
.yp-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.yp-photos img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--yp-radius); }
.yp-photos .yp-span { grid-column: 1 / -1; height: 320px; }
.yp-photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yp-photos--3 img { height: 170px; border-radius: 14px; }
.yp-photos--3 .yp-span { height: 340px; }
@media (max-width: 900px) {
	.yp-photos, .yp-photos--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.yp-photos img, .yp-photos--3 img { height: 140px; border-radius: 12px; }
	.yp-photos .yp-span, .yp-photos--3 .yp-span { height: 220px; }
	.yp-photos--3 img:nth-child(4) { display: none; }
}

/* ---------- Room cards ---------- */
.yp-room-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.yp-room-card { display: flex; flex-direction: column; gap: 12px; color: var(--yp-ink); text-decoration: none; }
.yp-room-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; transition: transform .3s; }
.yp-room-card:hover img { transform: scale(1.02); }
.yp-room-card strong { font-family: var(--yp-display); font-size: 22px; }
.yp-room-card span { font-size: 15px; color: var(--yp-muted); margin-top: -6px; }
@media (max-width: 900px) {
	.yp-room-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--yp-gutter) * -1); padding: 0 var(--yp-gutter) 6px; }
	.yp-room-card { flex: 0 0 250px; scroll-snap-align: start; }
	.yp-room-card img { aspect-ratio: 5 / 6; }
}

/* ---------- Surf list ---------- */
.yp-breaks { list-style: none; margin: 0; padding: 0; }
.yp-breaks li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.16); }
.yp-breaks li:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.yp-breaks span { color: var(--yp-mist); font-size: 15px; }
.yp-feature-img { width: 100%; height: clamp(280px, 40vw, 560px); object-fit: cover; border-radius: 20px; }
.yp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .yp-btns .yp-btn { flex: 1 1 100%; } }

/* ---------- Cafe hours ---------- */
.yp-hours { display: flex; flex-wrap: wrap; gap: 28px; padding: 18px 0; border-top: 1px solid #D8CFC1; border-bottom: 1px solid #D8CFC1; }
.yp-hours span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yp-muted); }
.yp-hours strong { font-family: var(--yp-display); font-size: 24px; }

/* ---------- Tiles (activities) ---------- */
.yp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.yp-tile { position: relative; height: 300px; border-radius: var(--yp-radius); overflow: hidden; color: #fff; }
.yp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yp-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,28,0) 45%, rgba(8,22,28,0.8) 100%); }
.yp-tile div { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; }
.yp-tile strong { font-family: var(--yp-display); font-size: 24px; }
.yp-tile span { font-size: 15px; color: #E3ECEE; }
@media (max-width: 900px) {
	.yp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.yp-tile { height: 160px; border-radius: 14px; }
	.yp-tile div { left: 12px; right: 12px; bottom: 10px; }
	.yp-tile strong { font-size: 16px; font-family: var(--yp-body); }
	.yp-tile span { display: none; }
}

/* ---------- Testimonials ---------- */
.yp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.yp-quote { margin: 0; padding: 30px; background: #fff; border-radius: var(--yp-radius); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.yp-quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.yp-quote figcaption strong { display: block; }
.yp-quote figcaption span { font-size: 14px; color: var(--yp-muted); }
@media (max-width: 900px) {
	.yp-quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--yp-gutter) * -1); padding: 0 var(--yp-gutter) 6px; gap: 14px; }
	.yp-quote { flex: 0 0 86%; scroll-snap-align: start; padding: 24px; }
	.yp-quote blockquote { font-size: 17px; }
}

/* ---------- Host / video ---------- */
.yp-video { position: relative; display: block; height: clamp(210px, 30vw, 380px); border-radius: 20px; overflow: hidden; }
.yp-video img { width: 100%; height: 100%; object-fit: cover; }
.yp-video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; }
.yp-host { display: flex; align-items: center; gap: 18px; }
.yp-host img { width: 88px; height: 88px; object-fit: cover; border-radius: 999px; }
.yp-host strong { display: block; font-family: var(--yp-display); font-size: 28px; }
.yp-big-quote { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; }

/* ---------- CTA band ---------- */
.yp-cta { background: var(--yp-accent); color: #fff; }
.yp-cta__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.yp-cta h2 { font-size: clamp(32px, 3.6vw, 52px); max-width: 680px; }
.yp-cta p { font-size: 19px; color: #FFF1E6; margin-top: 10px; }
.yp-cta .yp-btn { min-height: 54px; padding: 0 26px; }
.yp-cta .yp-btn--light { color: var(--yp-ink); }
@media (max-width: 900px) { .yp-cta__inner { padding-top: 44px; padding-bottom: 44px; } .yp-cta .yp-btns { width: 100%; } }

/* ---------- Rooms page ---------- */
.yp-subnav { position: sticky; top: 0; z-index: 15; background: #fff; border-bottom: 1px solid var(--yp-line); }
.admin-bar .yp-subnav { top: 32px; }
.yp-subnav .yp-wrap { display: flex; gap: 8px 28px; align-items: center; min-height: 64px; overflow-x: auto; font-weight: 600; font-size: 15px; }
.yp-subnav a { color: var(--yp-ink); text-decoration: none; white-space: nowrap; }
.yp-subnav a:hover { color: var(--yp-accent); }
@media (max-width: 900px) {
	.yp-subnav { top: 64px; }
	.admin-bar .yp-subnav { top: 110px; }
	.yp-subnav .yp-wrap { gap: 8px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
	.yp-subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #D8CFC1; border-radius: 999px; font-size: 14px; }
}
.yp-rooms { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 88px); }
.yp-room { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); align-items: center; scroll-margin-top: 90px; }
.yp-room:nth-child(even) { flex-direction: row-reverse; }
.yp-room__media { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.yp-room__media img { width: 100%; height: 130px; object-fit: cover; border-radius: 12px; }
.yp-room__media img:first-child { grid-column: 1 / -1; height: 420px; border-radius: var(--yp-radius); }
.yp-room__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.yp-room__body h2 { font-size: clamp(30px, 3.2vw, 44px); }
.yp-room__body .yp-room__desc { color: var(--yp-muted); }
.yp-room__desc p + p { margin-top: 12px; }
.yp-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 15px; }
.yp-checks li::before { content: "✓"; color: var(--yp-teal); font-weight: 700; margin-right: 8px; }
.yp-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid #D8CFC1; }
.yp-price-row .yp-btn { margin-left: auto; }
.yp-price span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yp-muted); }
.yp-price strong { font-family: var(--yp-display); font-size: 26px; font-weight: 800; }
.yp-price small { font-size: 15px; font-weight: 500; color: var(--yp-muted); }
@media (max-width: 900px) {
	.yp-room, .yp-room:nth-child(even) { flex-direction: column; align-items: stretch; background: #fff; border-radius: var(--yp-radius); overflow: hidden; gap: 0; }
	.yp-room__media { display: block; flex: none; }
	.yp-room__media img:not(:first-child) { display: none; }
	.yp-room__media img:first-child { height: 240px; border-radius: 0; }
	.yp-room__body { flex: none; padding: 20px; gap: 10px; }
	.yp-checks { grid-template-columns: 1fr 1fr; font-size: 14px; }
	.yp-price strong { font-size: 20px; }
	.yp-price span { display: none; }
	.yp-price-row .yp-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
}
.yp-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--yp-radius); }
.yp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.yp-table th, .yp-table td { padding: 16px 20px; text-align: left; }
.yp-table thead th { background: var(--yp-ocean); color: #fff; }
.yp-table tbody tr { border-top: 1px solid var(--yp-line); }
.yp-included { background: var(--yp-ocean); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 32px 40px; }
.yp-included > div { flex: 1 1 300px; }
.yp-included h2 { font-size: clamp(26px, 3vw, 40px); }
.yp-included ul { flex: 2 1 480px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; color: #E3ECEE; }
.yp-included strong { color: #fff; display: block; }

/* ---------- Surf break cards ---------- */
.yp-break { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.yp-break img { width: 100%; height: 280px; object-fit: cover; }
.yp-break__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.yp-break h3 { font-size: 32px; }
.yp-break p { color: var(--yp-muted); }
.yp-break--wide { flex-direction: row; flex-wrap: wrap; }
.yp-break--wide img { flex: 1 1 520px; min-height: 380px; height: auto; }
.yp-break--wide .yp-break__body { flex: 1 1 420px; padding: clamp(28px, 3vw, 44px); }
.yp-break--wide h3 { font-size: 40px; }
.yp-break-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 28px; }
@media (max-width: 900px) {
	.yp-break-grid { grid-template-columns: 1fr; gap: 18px; }
	.yp-break img, .yp-break--wide img { height: 210px; min-height: 0; flex: none; }
	.yp-break__body, .yp-break--wide .yp-break__body { padding: 20px; flex: none; }
	.yp-break h3, .yp-break--wide h3 { font-size: 26px; }
	.yp-break p { font-size: 15px; }
}
.yp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.yp-prices div { padding: 22px; border-radius: 16px; background: var(--yp-sand); display: flex; flex-direction: column; gap: 4px; }
.yp-prices strong { font-family: var(--yp-display); font-size: 28px; font-weight: 800; }
.yp-prices small { font-size: 14px; color: var(--yp-muted); }
.yp-prices b { font-size: 18px; }
.yp-prices-note { margin: 0; color: var(--yp-muted); font-style: italic; }

/* ---------- Cafe ---------- */
.yp-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.yp-values li { padding: 22px; background: #fff; border-radius: 16px; }
.yp-values strong { display: block; font-size: 18px; }
.yp-values span { color: var(--yp-muted); font-size: 15px; }
@media (max-width: 900px) { .yp-values { gap: 10px; } .yp-values li { padding: 14px; } .yp-values strong { font-size: 15px; } .yp-values span { font-size: 14px; } }
.yp-menu { display: flex; flex-wrap: wrap; gap: 32px; }
.yp-menu > div { flex: 1 1 420px; min-width: 0; }
.yp-menu h3 { margin: 0 0 10px; font-family: var(--yp-body); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yp-accent); }
.yp-menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--yp-line); }
.yp-menu-item:last-of-type { border-bottom: 1px solid var(--yp-line); }
.yp-menu-item small { display: block; color: var(--yp-muted); font-size: 15px; }
.yp-menu-item b { white-space: nowrap; }
.yp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.yp-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
.yp-gallery img:first-child { grid-column: span 2; grid-row: span 2; height: 100%; min-height: 420px; border-radius: var(--yp-radius); }
@media (max-width: 900px) {
	.yp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.yp-gallery img { height: 150px; border-radius: 12px; }
	.yp-gallery img:first-child { grid-row: auto; min-height: 0; height: 230px; }
}

/* ---------- Plan page ---------- */
.yp-book { position: relative; z-index: 2; margin-top: -80px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.yp-book__main { flex: 999 1 560px; min-width: 0; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(14,42,51,0.14); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.yp-book__main h2 { font-size: 30px; }
.yp-book__note { font-size: 14px; color: var(--yp-muted); }
.yp-book__aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.yp-card-dark { background: var(--yp-ocean); color: #fff; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.yp-card-dark h2 { font-size: 26px; }
.yp-card-dark p { color: var(--yp-mist); }
.yp-card-dark ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.yp-card-dark a:not(.yp-btn) { color: #fff; }
.yp-map { background: #fff; border-radius: 22px; overflow: hidden; }
.yp-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.yp-map__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.yp-map__body span { color: var(--yp-muted); }
@media (max-width: 900px) { .yp-book { margin-top: -64px; gap: 16px; } .yp-book__aside { gap: 16px; } .yp-card-dark { padding: 22px; } }
.yp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.yp-steps li { padding: 26px; background: #fff; border-radius: var(--yp-radius); display: flex; flex-direction: column; gap: 8px; }
.yp-steps b { font-family: var(--yp-display); font-size: 40px; font-weight: 800; color: var(--yp-teal); line-height: 1; }
.yp-steps span { color: var(--yp-muted); font-size: 15px; }
@media (max-width: 900px) { .yp-steps { gap: 10px; } .yp-steps li { padding: 18px; } .yp-steps b { font-size: 28px; } }
.yp-faq { display: flex; flex-direction: column; gap: 14px; }
.yp-faq details { background: #fff; border-radius: 16px; padding: 20px 24px; }
.yp-faq summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.yp-faq details p { margin-top: 12px; color: var(--yp-muted); }
.yp-rules { background: #fff; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.yp-rules h2 { font-size: 28px; }
.yp-rules p { color: var(--yp-muted); font-size: 15px; }
.yp-rules ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.yp-about-img { flex: 0 1 320px !important; width: 320px; height: 400px; object-fit: cover; border-radius: 22px; }
@media (max-width: 900px) { .yp-about-img { width: 100%; height: 300px; flex: 1 1 100% !important; } }

/* ---------- Generic content (default pages, MotoPress pages) ---------- */
.yp-content { max-width: 900px; margin: 0 auto; }
.yp-content > * + * { margin-top: 1.1em; }
.yp-content h2 { font-size: 34px; margin-top: 1.4em; }
.yp-content h3 { font-size: 24px; margin-top: 1.2em; }
.yp-content img { border-radius: 14px; }
.yp-content--wide { max-width: var(--yp-max); }

/* ---------- Footer ---------- */
.yp-footer { background: var(--yp-night); color: var(--yp-mist); font-size: 15px; }
.yp-footer a { color: var(--yp-mist); text-decoration: none; }
.yp-footer a:hover { color: #fff; text-decoration: underline; }
.yp-footer__top { display: flex; flex-wrap: wrap; gap: 40px 48px; justify-content: space-between; padding-top: 72px; padding-bottom: 48px; }
.yp-footer__brand { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: 16px; }
.yp-footer__brand img { width: 150px; }
.yp-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.yp-footer__col h2 { font-family: var(--yp-body); font-size: 15px; font-weight: 700; letter-spacing: 0; color: #fff; }
.yp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 14px; }
@media (max-width: 900px) {
	.yp-footer__top { padding-top: 44px; padding-bottom: 32px; gap: 28px 16px; }
	.yp-footer__col { flex: 1 1 40%; }
	.yp-footer__col a { min-height: 32px; display: flex; align-items: center; }
}

/* ---------- Floating WhatsApp (mobile) ---------- */
.yp-wa-float { display: none; }
@media (max-width: 900px) {
	.yp-wa-float { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 999px; background: #1E8E3E; color: #fff; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
	.yp-wa-float svg { width: 26px; height: 26px; }
}

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

/* ---------- Single accommodation (MotoPress) ---------- */
.yp-room-single, .yp-room-single .yp-content { min-width: 0; }
.yp-room-single .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.yp-room-single .gallery-item { margin: 0; width: auto !important; max-width: none; }
.yp-room-single .gallery-item:first-child { grid-column: 1 / -1; }
.yp-room-single .gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }
.yp-room-single .gallery-item:first-child img { height: 400px; border-radius: var(--yp-radius); }
.yp-room-single .gallery-caption { display: none; }
.yp-room-single h2, .yp-room-single h3 { font-size: 26px; margin: 28px 0 12px; }
.mphb-single-room-type-attributes li, .mphb-loop-room-type-attributes li { padding: 8px 0; border-bottom: 1px solid var(--yp-line); }
.mphb-calendar, .mphb-booking-form { max-width: 100%; overflow-x: auto; }
@media (max-width: 900px) {
	.yp-room-single .gallery { gap: 8px; }
	.yp-room-single .gallery img { height: 90px; border-radius: 8px; }
	.yp-room-single .gallery-item:first-child img { height: 230px; }
	.yp-break--wide { flex-direction: column; }
	.yp-break--wide .yp-break__body { width: auto; }
}
.yp-room-single .yp-content { width: 100%; margin: 0; }
@media (max-width: 900px) {
	.mphb-calendar .datepick { width: 100% !important; }
	.mphb-calendar .datepick-month-row { display: flex; flex-direction: column; }
	.mphb-calendar .datepick-month { width: 100% !important; float: none !important; }
	.mphb-calendar .datepick-nav a { width: auto !important; }
}

/* Online booking switched off: no overlapping booking bar */
.yp-no-booking .yp-hero--home .yp-hero__body { padding-bottom: 88px; }
@media (max-width: 900px) { .yp-no-booking .yp-hero--home .yp-hero__body { padding-bottom: 36px; } }

/* Home icon in the main menu */
.yp-nav .yp-nav__home a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; }
.yp-nav .yp-nav__home svg { width: 20px; height: 20px; flex: none; }
.yp-nav__home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
@media (max-width: 900px) {
	.yp-nav .yp-nav__home a { justify-content: flex-start; }
	.yp-nav__home-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Gallery ---------- */
.yp-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
.yp-gallery__item { margin: 0; overflow: hidden; border-radius: 16px; background: var(--yp-sand); }
.yp-gallery__item--big { grid-column: span 2; grid-row: span 2; }
.yp-gallery__item--wide { grid-column: span 2; }
.yp-gallery__item--tall { grid-row: span 2; }
.yp-gallery__item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.yp-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, filter .3s ease; }
.yp-gallery__item a:hover img, .yp-gallery__item a:focus-visible img { transform: scale(1.04); filter: brightness(1.06); }
.yp-gallery__item a:focus-visible { outline: 3px solid var(--yp-accent, #E8743B); outline-offset: -3px; }
@media (max-width: 900px) {
	.yp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 8px; }
	.yp-gallery__item { border-radius: 12px; }
}

.yp-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 20, 24, .94); display: flex; align-items: center; justify-content: center; padding: 24px 80px; }
.yp-lightbox[hidden] { display: none; }
.yp-lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.yp-lightbox__img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.yp-lightbox__cap { color: rgba(255,255,255,.85); font-size: 15px; text-align: center; }
.yp-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 999px; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s; }
.yp-lightbox button:hover, .yp-lightbox button:focus-visible { background: rgba(255,255,255,.28); }
.yp-lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 40px; padding-bottom: 4px; }
.yp-lightbox__prev { left: 16px; }
.yp-lightbox__next { right: 16px; }
.yp-lightbox__close { top: 16px; right: 16px; width: 48px; height: 48px; font-size: 32px; }
@media (max-width: 900px) {
	.yp-lightbox { padding: 64px 8px 24px; }
	.yp-lightbox__nav { top: auto; bottom: 20px; transform: none; width: 52px; height: 52px; }
	.yp-lightbox__img { max-height: calc(100vh - 200px); }
	.yp-lightbox__fig { padding-bottom: 72px; }
}
