/*
 * PhuketFit new look, style kit (C109, 9 Nov 2026).
 *
 * Why: Tasha's rebuild (developer handover, 9 Nov) gives the site new fonts, colours, buttons and section styles. They
 * are set up once here so every rebuilt page shares them and a change happens in one place. Every rule applies only
 * inside <body class="pf-new-look">, which phuketfit-new-look.php adds on pages that show the new header, so pages
 * not yet rebuilt are untouched.
 *
 * Two looks: light by default (Weight Loss and most of the site), and bold for Total Fitness (black, high contrast),
 * set per page with the page's custom field _phuketfit_look = bold (body class pf-look-bold).
 *
 * How to use it in Beaver Builder (Advanced > Class on a row, column or module):
 *   Rows:     pf-section (standard spacing), and one background: pf-bg-white, pf-bg-grey, pf-bg-ivory, pf-bg-gold,
 *             pf-bg-black, pf-bg-spotlight, pf-bg-lines (the last three are dark); pf-divider for the striped bar.
 *   Modules:  pf-label (gold slanted brand line, on a Heading), pf-btn-outline / pf-btn-whatsapp (on a Button),
 *             pf-card (on a column), pf-proof, pf-price, pf-faq (on an Accordion), pf-enquiry (on the form row).
 *   Videos:   an HTML module with <a class="pf-video" href="https://www.youtube.com/watch?v=ID" data-pf-video="ID">
 *             <img src="..." alt="..."></a>: a picture until tapped, then the player (script in the code file).
 * Set no fonts or colours module by module; use these classes, so a change here reaches every page.
 *
 * Fonts (Inter, Barlow Condensed, Saira) are declared by phuketfit-new-look.php with absolute addresses, so this
 * file can be minified anywhere. Colours and contrast: reports/2026-11-09_rebuild-plan-review.md.
 * Off: see phuketfit-new-look.php. Register: site/README.md, site/mu-plugins/README.md.
 */

/* ---------- Tokens ---------- */

body.pf-new-look {
	--pf-gold: #efb731;
	--pf-cta: #0077c8;
	--pf-cta-hover: #005fa3;
	--pf-link-on-dark: #009eff;
	--pf-black: #000;
	--pf-grey: #f2f2f2;
	--pf-ivory: #fff9ee;
	--pf-white: #fff;
	--pf-body-grey: #4a4d52;
	--pf-star: #8a6100;
	--pf-whatsapp: #0f7a3e;

	--pf-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--pf-font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--pf-font-brand: "Saira Expanded", "Arial Black", Arial, sans-serif;

	/* Light surface (default). Dark sections and the bold look redefine these. */
	--pf-bg: var(--pf-white);
	--pf-text: var(--pf-black);
	--pf-text-2: var(--pf-body-grey);
	--pf-heading: var(--pf-black);
	--pf-link: var(--pf-cta);
	--pf-card: var(--pf-ivory);
	--pf-line: #d9dadc;
	--pf-stars: var(--pf-star);
	--pf-outline: var(--pf-black);

	background: var(--pf-bg);
	color: var(--pf-text);
	font-family: var(--pf-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.pf-new-look.pf-look-bold,
body.pf-new-look .pf-bg-black,
body.pf-new-look .pf-bg-spotlight,
body.pf-new-look .pf-bg-lines,
body.pf-new-look .pf-enquiry,
body.pf-new-look .pf-footer {
	--pf-bg: #0e0e0e;
	--pf-text: var(--pf-white);
	--pf-text-2: #c9cbcf;
	--pf-heading: var(--pf-white);
	--pf-link: var(--pf-link-on-dark);
	--pf-card: #161616;
	--pf-line: #2e2e2e;
	--pf-stars: var(--pf-gold);
	--pf-outline: var(--pf-white);
}

/* Light sections inside the bold look go back to the light surface. */
body.pf-new-look .pf-bg-white,
body.pf-new-look .pf-bg-grey,
body.pf-new-look .pf-bg-ivory,
body.pf-new-look .pf-bg-gold {
	--pf-text: var(--pf-black);
	--pf-text-2: var(--pf-body-grey);
	--pf-heading: var(--pf-black);
	--pf-link: var(--pf-cta);
	--pf-card: var(--pf-ivory);
	--pf-line: #d9dadc;
	--pf-stars: var(--pf-star);
	--pf-outline: var(--pf-black);
}
body.pf-new-look .pf-bg-ivory { --pf-card: var(--pf-white); }
body.pf-new-look .pf-bg-gold { --pf-card: var(--pf-white); --pf-text-2: var(--pf-black); }

/* ---------- Page and type ---------- */

body.pf-new-look .fl-page,
body.pf-new-look .fl-page-content {
	background: var(--pf-bg);
	color: var(--pf-text);
}

/* Form controls too: the theme gives every button the old Gilroy font, which would download it again. */
body.pf-new-look button,
body.pf-new-look input,
body.pf-new-look select,
body.pf-new-look textarea,
body.pf-new-look .fl-page button[type],
body.pf-new-look .fl-page input[type] {
	font-family: var(--pf-font-body);
}

body.pf-new-look .fl-builder-content,
body.pf-new-look .fl-builder-content p,
body.pf-new-look .fl-builder-content li,
body.pf-new-look .fl-builder-content td,
body.pf-new-look .fl-builder-content input,
body.pf-new-look .fl-builder-content select,
body.pf-new-look .fl-builder-content textarea {
	font-family: var(--pf-font-body);
}

body.pf-new-look .fl-row-content-wrap {
	color: var(--pf-text);
}

body.pf-new-look h1,
body.pf-new-look h2,
body.pf-new-look h3,
body.pf-new-look h4 {
	font-family: var(--pf-font-head);
	font-style: italic;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	line-height: 1.02;
	color: var(--pf-heading);
	margin: 0 0 0.45em;
}
/* Sizes are in px: the theme sets the page's root size to 10 px, so rem would come out too small. */
body.pf-new-look h1 { font-size: clamp(40px, 6.2vw, 76px); }
body.pf-new-look h2 { font-size: clamp(32px, 4.4vw, 52px); }
body.pf-new-look h3 { font-size: clamp(23px, 2.6vw, 30px); }
body.pf-new-look h4 { font-size: 20px; }
body.pf-new-look h5,
body.pf-new-look h6 {
	font-family: var(--pf-font-body);
	font-weight: 700;
	color: var(--pf-heading);
}
body.pf-new-look .fl-heading a,
body.pf-new-look .fl-heading .fl-heading-text { color: inherit; font: inherit; }

body.pf-new-look p { margin: 0 0 1em; }
body.pf-new-look .pf-muted,
body.pf-new-look .pf-muted p { color: var(--pf-text-2); }
body.pf-new-look strong { font-weight: 700; }

body.pf-new-look .fl-builder-content a:not(.fl-button):not(.pf-video) {
	color: var(--pf-link);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
body.pf-new-look .fl-builder-content a:not(.fl-button):not(.pf-video):hover { text-decoration-thickness: 2px; }

body.pf-new-look :focus-visible {
	outline: 3px solid var(--pf-gold);
	outline-offset: 2px;
}

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

body.pf-new-look .fl-builder-content a.fl-button,
body.pf-new-look .fl-builder-content a.fl-button:visited,
body.pf-new-look a.pf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: 6px;
	background: var(--pf-cta);
	color: var(--pf-white);
	font-family: var(--pf-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease;
}
body.pf-new-look .fl-builder-content a.fl-button *,
body.pf-new-look a.pf-btn * { color: inherit; font: inherit; }
body.pf-new-look .fl-builder-content a.fl-button:hover,
body.pf-new-look .fl-builder-content a.fl-button:focus-visible,
body.pf-new-look a.pf-btn:hover {
	background: var(--pf-cta-hover);
	color: var(--pf-white);
}

/* Secondary: 2 px outline, transparent; black on light sections, white on dark ones. */
body.pf-new-look .pf-btn-outline a.fl-button,
body.pf-new-look .pf-btn-outline a.fl-button:visited,
body.pf-new-look a.pf-btn.pf-btn-outline {
	background: transparent;
	color: var(--pf-outline);
	box-shadow: inset 0 0 0 2px var(--pf-outline);
}
body.pf-new-look .pf-btn-outline a.fl-button:hover,
body.pf-new-look a.pf-btn.pf-btn-outline:hover {
	background: var(--pf-outline);
	color: var(--pf-bg);
}

/* WhatsApp: deep green with white text (5.4:1). */
body.pf-new-look .pf-btn-whatsapp a.fl-button,
body.pf-new-look .pf-btn-whatsapp a.fl-button:visited,
body.pf-new-look a.pf-btn.pf-btn-whatsapp { background: var(--pf-whatsapp); color: var(--pf-white); }
body.pf-new-look .pf-btn-whatsapp a.fl-button:hover,
body.pf-new-look a.pf-btn.pf-btn-whatsapp:hover { background: #0b5f30; }

/* ---------- Gold section label ---------- */

body.pf-new-look .pf-label .fl-heading,
body.pf-new-look span.pf-label {
	display: inline-block;
	margin: 0 0 0.9em;
	padding: 0.32em 1.1em;
	background: var(--pf-gold);
	transform: skewX(-14deg);
	font-family: var(--pf-font-brand);
	font-size: clamp(13px, 1.6vw, 16px);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--pf-black);
}
body.pf-new-look .pf-label .fl-heading-text,
body.pf-new-look span.pf-label > span {
	display: inline-block;
	transform: skewX(14deg);
	color: var(--pf-black);
}

/* On a gold section the label turns black with gold letters. */
body.pf-new-look .pf-bg-gold .pf-label .fl-heading,
body.pf-new-look .pf-bg-gold span.pf-label { background: var(--pf-black); }
body.pf-new-look .pf-bg-gold .pf-label .fl-heading-text,
body.pf-new-look .pf-bg-gold span.pf-label > span { color: var(--pf-gold); }

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

/* The two things the old theme's base styles did that the new look relies on, so a page without them (the C111 lab
   view, later the new site) looks the same: no page margin, and the "Skip to content" link hidden until focused. */
body.pf-new-look { margin: 0; }
body.pf-new-look .fl-screen-reader-text:not(:focus) {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Rows run edge to edge: the site-wide row margin (20 px by 50 px) that boxes old pages in does not apply. */
body.pf-new-look .fl-row > .fl-row-content-wrap { margin: 0; }
body.pf-new-look .fl-row.pf-section > .fl-row-content-wrap { padding: 72px 24px; }
@media (max-width: 767px) {
	body.pf-new-look { font-size: 16px; }
	body.pf-new-look .fl-row.pf-section > .fl-row-content-wrap { padding: 48px 18px; }
}

body.pf-new-look .fl-row.pf-bg-white > .fl-row-content-wrap { background: var(--pf-white); }
body.pf-new-look .fl-row.pf-bg-grey > .fl-row-content-wrap { background: var(--pf-grey); }
body.pf-new-look .fl-row.pf-bg-ivory > .fl-row-content-wrap { background: var(--pf-ivory); }
body.pf-new-look .fl-row.pf-bg-gold > .fl-row-content-wrap { background: var(--pf-gold); }
body.pf-new-look .fl-row.pf-bg-black > .fl-row-content-wrap { background: #0a0a0a; }
body.pf-new-look .fl-row.pf-bg-spotlight > .fl-row-content-wrap {
	background: radial-gradient(ellipse at 50% 0%, #2e2e2e 0%, #0a0a0a 72%);
}
body.pf-new-look .fl-row.pf-bg-lines > .fl-row-content-wrap {
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px),
		linear-gradient(180deg, #181818, #0e0e0e);
}
body.pf-new-look.pf-look-bold .fl-page-content { background: #0e0e0e; }

/* Striped divider: a row (or HTML module) with this class becomes an 18 px gold and black bar. */
body.pf-new-look .pf-divider,
body.pf-new-look .fl-row.pf-divider > .fl-row-content-wrap {
	height: 18px;
	min-height: 18px;
	padding: 0;
	background: repeating-linear-gradient(135deg, #efb731 0 22px, #000 22px 34px);
}
body.pf-new-look .fl-row.pf-divider .fl-row-content { display: none; }

/* ---------- Cards ---------- */

body.pf-new-look .pf-card > .fl-col-content,
body.pf-new-look div.pf-card {
	background: var(--pf-card);
	border-radius: 8px;
	padding: 24px;
	color: var(--pf-text);
}
body.pf-new-look .pf-card img { border-radius: 6px; }
/* On phones a card keeps most of the screen width for its text: less inner padding, no module side margins (C113). */
@media (max-width: 767px) {
	body.pf-new-look .pf-card > .fl-col-content { padding: 18px 14px; }
	body.pf-new-look .pf-card .fl-module-content { margin-left: 0; margin-right: 0; }
}

/* Proof strip: short facts in a row, separated by gold rules. */
body.pf-new-look .pf-proof { text-align: center; }
body.pf-new-look .pf-proof .pf-stat {
	display: block;
	font-family: var(--pf-font-head);
	font-style: italic;
	font-weight: 700;
	font-size: clamp(29px, 3.6vw, 42px);
	line-height: 1;
	color: var(--pf-heading);
}
body.pf-new-look .pf-proof .pf-stat-label { display: block; color: var(--pf-text-2); font-size: 0.9em; }
body.pf-new-look .pf-proof .fl-col + .fl-col > .fl-col-content { border-left: 2px solid var(--pf-gold); }
@media (max-width: 767px) {
	body.pf-new-look .pf-proof .fl-col + .fl-col > .fl-col-content { border-left: 0; border-top: 2px solid var(--pf-gold); }
}

/* Review bubble. */
body.pf-new-look .pf-review {
	position: relative;
	background: var(--pf-card);
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 18px;
}
body.pf-new-look .pf-review::after {
	content: "";
	position: absolute;
	left: 28px;
	bottom: -10px;
	border: 10px solid transparent;
	border-bottom: 0;
	border-top-color: var(--pf-card);
}
body.pf-new-look .pf-stars { color: var(--pf-stars); letter-spacing: 0.1em; }

/* Story card: before-and-after photo, result, short story, name and country. */
body.pf-new-look .pf-story img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
body.pf-new-look .pf-story .pf-result {
	font-family: var(--pf-font-head);
	font-style: italic;
	font-weight: 700;
	font-size: 26px;
	text-transform: uppercase;
	color: var(--pf-heading);
}

/* Price block. */
body.pf-new-look .pf-price .pf-amount {
	font-family: var(--pf-font-head);
	font-style: italic;
	font-weight: 700;
	font-size: clamp(38px, 5vw, 56px);
	line-height: 1;
	color: var(--pf-heading);
}
body.pf-new-look .pf-price .pf-amount small { font-size: 0.45em; font-style: normal; font-family: var(--pf-font-body); }
body.pf-new-look .pf-price .pf-note { color: var(--pf-text-2); font-size: 0.92em; }

/* ---------- Video card: a picture until tapped ---------- */

body.pf-new-look a.pf-video {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
	color: var(--pf-white);
	text-decoration: none;
}
body.pf-new-look a.pf-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
body.pf-new-look a.pf-video::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 68px;
	height: 68px;
	margin: -34px 0 0 -34px;
	border-radius: 50%;
	background: var(--pf-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat;
}
body.pf-new-look a.pf-video:hover::after { transform: scale(1.06); }
body.pf-new-look iframe.pf-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }

/* ---------- FAQ (Beaver Builder Accordion with class pf-faq) ---------- */

body.pf-new-look .pf-faq .fl-accordion-item {
	border: 0;
	border-bottom: 1px solid var(--pf-line);
	border-radius: 0;
	background: transparent;
}
body.pf-new-look .pf-faq .fl-accordion-button { padding: 18px 0; background: transparent; }
body.pf-new-look .pf-faq .fl-accordion-button-label {
	font-family: var(--pf-font-body);
	font-size: 17px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
	color: var(--pf-heading);
	margin: 0;
}
body.pf-new-look .pf-faq .fl-accordion-button-icon { color: var(--pf-gold); opacity: 1; }
body.pf-new-look .pf-faq .fl-accordion-content { padding: 0 0 18px; color: var(--pf-text-2); }

/* ---------- Enquiry section and footer ---------- */

body.pf-new-look .fl-row.pf-enquiry > .fl-row-content-wrap {
	background: #000;
	border-top: 4px solid var(--pf-gold);
}
body.pf-new-look .pf-enquiry input,
body.pf-new-look .pf-enquiry select,
body.pf-new-look .pf-enquiry textarea {
	min-height: 48px;
	border-radius: 6px;
	border: 1px solid #3a3a3a;
	background: #fff;
	color: #000;
	font-size: 16px;
}

/* Footer, Tasha's 9 Nov design (C113): newsletter band, light footer, black legal line. */
body.pf-new-look .pf-footer > .fl-row-content-wrap { padding: 0 32px; }
body.pf-new-look .fl-row.pf-footer .fl-row-content { max-width: 1136px; }
body.pf-new-look .pf-footer .fl-module-content { margin: 0; }
body.pf-new-look .pf-footer p { margin: 0; }
body.pf-new-look .pf-footer-news > .fl-row-content-wrap { background: #000; border-top: 4px solid var(--pf-gold); }
body.pf-new-look .pf-news { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 36px 0; }
body.pf-new-look .pf-news-text { display: flex; flex-direction: column; gap: 6px; max-width: 520px; font-size: 15px; color: #e6e2d9; }
body.pf-new-look .pf-news-head { font-family: var(--pf-font-head); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: 1.05; color: var(--pf-gold); }
body.pf-new-look .pf-news-form { flex: 1 1 380px; max-width: 520px; }
body.pf-new-look .pf-news .yikes-easy-mc-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.pf-new-look .pf-news .yikes-easy-mc-form label { flex: 1 1 160px; margin: 0; padding: 0; }
body.pf-new-look .pf-news .yikes-easy-mc-form label.submit-button-inline-label { flex: 0 0 auto; }
body.pf-new-look .pf-news .yikes-easy-mc-form .empty-label { display: none; }
body.pf-new-look .pf-news .yikes-easy-mc-form input { width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 0; border-radius: 6px; background: #fff; color: #000; font-size: 15px; }
body.pf-new-look .pf-news .yikes-easy-mc-form .yikes-easy-mc-submit-button { height: 48px; margin: 0; padding: 0 20px; font-size: 15px; }
body.pf-new-look .pf-footer-main > .fl-row-content-wrap { background: #f2f2f2; color: #2b2d31; }
body.pf-new-look .pf-foot { display: flex; flex-direction: column; gap: 32px; padding: 48px 0 32px; font-size: 14px; line-height: 1.6; color: #2b2d31; }
body.pf-new-look .pf-foot-top { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid #dcd8cf; }
body.pf-new-look .pf-foot-top .pf-logo img { display: block; width: 190px; height: auto; }
body.pf-new-look .pf-foot-rated { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
body.pf-new-look .pf-foot-head { font-family: var(--pf-font-head); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.2; color: #000; }
body.pf-new-look .pf-foot-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 210px;
	height: 72px;
	padding: 6px;
	border: 2px dashed #c9c3b6;
	border-radius: 10px;
	background: #fff;
	color: #4a4d52;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
}
body.pf-new-look .pf-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
body.pf-new-look .pf-foot-col { display: flex; flex-direction: column; gap: 8px; }
body.pf-new-look .fl-builder-content .pf-foot a:not(.fl-button):not(.pf-video) { color: #2b2d31; text-decoration: none; }
body.pf-new-look .fl-builder-content .pf-foot a:not(.fl-button):not(.pf-video):hover { text-decoration: underline; }
body.pf-new-look .pf-foot-line { display: flex; gap: 10px; align-items: center; }
body.pf-new-look .pf-foot-icon {
	display: flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--pf-gold);
	color: #000;
	font-size: 15px;
	font-weight: 800;
}
body.pf-new-look .pf-foot-social { display: flex; gap: 8px; margin-top: 4px; }
body.pf-new-look .fl-builder-content .pf-foot a.pf-foot-icon:not(.fl-button):not(.pf-video) { color: #000; text-decoration: none; }
body.pf-new-look .pf-footer-base > .fl-row-content-wrap { background: #000; color: #c9c5bc; font-size: 13px; }
body.pf-new-look .pf-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 0 8px; }
body.pf-new-look .pf-foot-legal { display: flex; flex-wrap: wrap; gap: 16px; }
body.pf-new-look .fl-builder-content .pf-footer-base a:not(.fl-button):not(.pf-video) { color: var(--pf-gold); text-decoration: none; }
body.pf-new-look .fl-builder-content .pf-footer-base a:not(.fl-button):not(.pf-video):hover { text-decoration: underline; }
body.pf-new-look .pf-foot-recaptcha { padding-bottom: 16px; font-size: 11px; color: #8d8a83; }
@media (max-width: 767px) {
	body.pf-new-look .pf-footer > .fl-row-content-wrap { padding: 0 20px; }
	body.pf-new-look .pf-news { padding: 28px 0; }
	body.pf-new-look .pf-news-head { font-size: 24px; }
	body.pf-new-look .pf-foot { padding: 36px 0 24px; }
	body.pf-new-look .pf-foot-cols { grid-template-columns: minmax(0, 1fr); }
}
/* Mailchimp sign-up: the kit's button. */
body.pf-new-look .yikes-easy-mc-form .yikes-easy-mc-submit-button {
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	background: var(--pf-cta);
	color: var(--pf-white);
	font-weight: 700;
}
body.pf-new-look .yikes-easy-mc-form .yikes-easy-mc-submit-button:hover { background: var(--pf-cta-hover); }
body.pf-new-look .yikes-easy-mc-form .yikes-easy-mc-submit-button span { color: inherit; }

/* ---------- Header ---------- */

body.pf-new-look .pf-header .fl-row-content-wrap {
	background: var(--pf-white);
	border-bottom: 1px solid #e6e6e6;
	/* Same side space as the sections below, so the logo and menu button never touch the screen edge (C110). */
	padding: 10px 24px;
}
@media (max-width: 767px) {
	body.pf-new-look .pf-header .fl-row-content-wrap { padding: 10px 18px; }
}
body.pf-new-look.pf-look-bold .pf-header .fl-row-content-wrap { background: #000; border-bottom-color: #222; }

/* Logo, menu and buttons on one line, whatever the column widths say. */
body.pf-new-look .pf-header .fl-col-group { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; }
body.pf-new-look .pf-header .fl-col-group::before,
body.pf-new-look .pf-header .fl-col-group::after { content: none; }
body.pf-new-look .pf-header .fl-col { float: none; width: auto !important; max-width: none; margin: 0; clear: none; }
body.pf-new-look .pf-header .fl-col-content { justify-content: center; }
body.pf-new-look .pf-header .pf-header-logo { flex: 0 0 auto; }
body.pf-new-look .pf-header .pf-header-menu { flex: 1 1 auto; min-width: 0; }
body.pf-new-look .pf-header .pf-header-actions { flex: 0 0 auto; }
body.pf-new-look .pf-header .pf-header-actions > .fl-col-content { flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; }
body.pf-new-look .pf-header .fl-module-content { margin: 0; }
body.pf-new-look .pf-logo { display: block; line-height: 0; }
body.pf-new-look .pf-logo img { display: block; width: 212px; max-width: 42vw; height: auto; }
body.pf-new-look .pf-header a.fl-button { min-height: 44px; padding: 0 18px; font-size: 15px; }

body.pf-new-look .pf-header .fl-menu .menu > li > a,
body.pf-new-look .pf-header .fl-menu .menu > li > .fl-has-submenu-container > a {
	font-family: var(--pf-font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--pf-black);
	text-decoration: none;
	padding: 10px 12px;
}
/* Room for the dropdown arrow on desktop. */
@media (min-width: 1201px) {
	body.pf-new-look .pf-header .fl-menu .menu > li > .fl-has-submenu-container > a { padding-right: 28px; }
}
/* C195 (20 Nov 2026): with Home added the eight items need about 775 px at 15 px; between the logo and the buttons there
   are 679 px at 1,201 px and 840 px from 1,366 px. Up to 1,365 px the menu is a little tighter so it stays on one line
   (656 px at 1,201 px). Undo: delete this block; see changes/C195-home-in-top-menu.md. */
@media (min-width: 1201px) and (max-width: 1365px) {
	body.pf-new-look .pf-header .fl-menu .menu > li > a,
	body.pf-new-look .pf-header .fl-menu .menu > li > .fl-has-submenu-container > a { font-size: 14px; padding-left: 7px; padding-right: 7px; }
	body.pf-new-look .pf-header .fl-menu .menu > li > .fl-has-submenu-container > a { padding-right: 22px; }
}
body.pf-new-look.pf-look-bold .pf-header .fl-menu .menu > li > a,
body.pf-new-look.pf-look-bold .pf-header .fl-menu .menu > li > .fl-has-submenu-container > a,
body.pf-new-look.pf-look-bold .pf-header .fl-menu .fl-menu-toggle::before { color: var(--pf-white); }
body.pf-new-look .pf-header .fl-menu .sub-menu {
	background: var(--pf-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border-top: 3px solid var(--pf-gold);
	min-width: 230px;
}
body.pf-new-look .pf-header .fl-menu .sub-menu a {
	color: var(--pf-black);
	font-size: 15px;
	text-decoration: none;
	padding: 10px 16px;
}
body.pf-new-look .pf-header .fl-menu .sub-menu a:hover { background: var(--pf-grey); }

/* Menu button, and the two menu items shown only as buttons in the phone menu (class pf-menu-phone). */
body.pf-new-look .pf-header .fl-menu .fl-menu-mobile-toggle { color: var(--pf-black); padding: 10px; border: 0; }
body.pf-new-look.pf-look-bold .pf-header .fl-menu .fl-menu-mobile-toggle { color: var(--pf-white); }
body.pf-new-look .pf-header .fl-menu .fl-menu-mobile-toggle .svg-container { width: 26px; height: 26px; }
body.pf-new-look .pf-header .fl-menu .menu > li.pf-menu-phone { display: none; }

/* At 1,200 px and below: logo, Enquire, menu button; the menu opens full screen on black. Its flyout width is set to
   1200 in the menu module so it sits fully off screen when closed; max-width keeps it to the screen when open. */
@media (max-width: 1200px) {
	body.pf-new-look .pf-header .pf-header-actions { order: 2; margin-left: auto; }
	body.pf-new-look .pf-header .pf-header-menu { order: 3; flex: 0 0 auto; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout { max-width: 100vw; background: #000; box-shadow: none; padding: 8px 24px 32px; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu { text-align: left; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu li { border-bottom: 1px solid #222; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .fl-has-submenu-container > a { padding-right: 44px; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu > li > a,
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu > li > .fl-has-submenu-container > a {
		color: var(--pf-white);
		font-size: 20px;
		font-weight: 700;
		padding: 14px 0;
	}
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .sub-menu { background: transparent; box-shadow: none; border-top: 0; min-width: 0; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .sub-menu li { border-bottom: 0; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .sub-menu a { color: #c9cbcf; font-size: 17px; padding: 10px 0 10px 16px; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .sub-menu a:hover { background: transparent; color: var(--pf-white); }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .fl-menu-toggle::before { border-color: var(--pf-white); color: var(--pf-white); }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu > li.pf-menu-phone { display: block; border: 0; margin-top: 14px; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu > li.pf-menu-phone > a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 54px;
		padding: 0 20px;
		border-radius: 6px;
		background: var(--pf-cta);
		font-size: 16px;
	}
	body.pf-new-look .pf-header .fl-menu-mobile-flyout .menu > li.pf-menu-whatsapp > a { background: var(--pf-whatsapp); }
	body.pf-new-look .pf-header .fl-menu-mobile-close { color: var(--pf-white); }
	body.pf-new-look .pf-header .fl-menu-mobile-close i { display: none; }
	body.pf-new-look .pf-header .fl-menu-mobile-close::before { content: "\00d7"; font-size: 36px; line-height: 1; }
	/* C159 (15 Nov 2026): while the phone menu is open the page underneath holds still (a swipe the menu could not
	   use scrolled the page behind it), and a menu taller than the screen (all lists open) scrolls by itself without
	   the scroll spilling onto the page. Keyed to the menu button's open state (fl-active), so nothing changes while
	   the menu is closed. phuketfit-new-look.php keeps the visitor's place when the menu closes. Undo: remove these
	   two rules; iPhones before iOS 16 may move the page under the menu either way. */
	html:has(body.pf-new-look .pf-header .fl-menu-mobile-toggle.fl-active),
	body.pf-new-look:has(.pf-header .fl-menu-mobile-toggle.fl-active) { overflow: hidden; }
	body.pf-new-look .pf-header .fl-menu-mobile-flyout { overscroll-behavior: contain; }
}

@media (prefers-reduced-motion: reduce) {
	body.pf-new-look *,
	body.pf-new-look *::before,
	body.pf-new-look *::after { transition: none !important; animation: none !important; }
}
