/* FoamClean Booking — matches foamclean.net (Blocksy + Elementor): Almarai, blue #1B8DE2, green #21C063. */
.fcb,
.fcb-steps,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	--fcb-blue: #1b8de2;
	--fcb-blue-dark: #0f8ae6;
	--fcb-blue-light: #2ba3fc;
	--fcb-green: #21c063;
	--fcb-green-dark: #15b350;
	--fcb-ink: #2a3138;
	--fcb-navy: #242f65;
	--fcb-muted: #767b92;
	--fcb-line: #dbe6f1;
	--fcb-soft: #e7f9ff;
	--fcb-paper: #f5f9fc;
	--fcb-radius: 20px;
	--fcb-radius-sm: 7px;
}

.fcb {
	font-family: Almarai, Tahoma, Arial, sans-serif;
	color: var(--fcb-ink);
	line-height: 1.8;
	padding-block: 24px 40px;
}
.fcb *,
.fcb *::before,
.fcb *::after { box-sizing: border-box; }
.fcb a { text-decoration: none; }
.fcb h1,
.fcb h2,
.fcb h3 { font-family: inherit; color: inherit; }
.fcb-wrap { max-width: 1140px; margin-inline: auto; padding-inline: 16px; }

/* Intro */
.fcb-intro { padding-inline: 16px; max-width: 1172px; margin: 0 auto; }
.fcb-intro-inner {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
	background: linear-gradient(135deg, var(--fcb-blue-light) 0%, var(--fcb-blue-dark) 100%);
	color: #fff; border-radius: var(--fcb-radius); padding: 44px 40px 38px; max-width: none;
}
.fcb-eyebrow { font-size: 14px; color: #d8f0ff; margin: 0 0 8px; font-weight: 700; }
.fcb-intro h1 { font-size: clamp(30px, 4.3vw, 48px); line-height: 1.45; margin: 0; font-weight: 800; color: #fff; }
.fcb-intro-inner > div:first-child > p:last-child { margin: 12px 0 0; color: #e6f5ff; max-width: 600px; }
.fcb-intro-note {
	border-inline-start: 3px solid var(--fcb-green); padding-inline-start: 18px;
	max-width: 260px; font-size: 14px; color: #e6f5ff; flex-shrink: 0;
}
.fcb-intro-note strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

/* Steps */
.fcb-steps {
	list-style: none; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
	margin: 24px auto; padding: 0; font-family: Almarai, Tahoma, Arial, sans-serif; font-size: 14px;
}
.fcb-steps li { display: flex; align-items: center; gap: 8px; color: var(--fcb-muted); margin: 0; }
.fcb-steps li + li::before { content: ""; width: 32px; height: 2px; background: var(--fcb-line); margin-inline-end: 2px; }
.fcb-steps a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.fcb-steps-num {
	width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	border: 2px solid var(--fcb-line); font-weight: 700; background: #fff;
}
.fcb-steps .is-current { color: var(--fcb-ink); font-weight: 700; }
.fcb-steps .is-current .fcb-steps-num { background: var(--fcb-blue); border-color: var(--fcb-blue); color: #fff; }
.fcb-steps .is-done .fcb-steps-num { background: var(--fcb-green); border-color: var(--fcb-green); color: #fff; }

/* Section nav */
/* Not sticky: the site header (Blocksy type-1) is already sticky. */
.fcb-nav { background: #fff; border: 1px solid var(--fcb-line); border-radius: var(--fcb-radius); width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.fcb-nav-inner { display: flex; gap: 28px; flex-wrap: wrap; padding-block: 12px; justify-content: center; }
.fcb-nav a { font-size: 14px; color: var(--fcb-muted); padding: 2px 0; border-bottom: 2px solid transparent; }
.fcb-nav a:hover,
.fcb-nav a:focus-visible { color: var(--fcb-blue); border-color: var(--fcb-blue); }

/* Sections */
.fcb-main { padding-block: 36px 0; }
.fcb-section { margin-bottom: 44px; scroll-margin-top: 90px; }
.fcb-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fcb-section-number { font-size: 14px; color: var(--fcb-blue); font-weight: 700; }
.fcb-section h2 { font-size: 24px; margin: 0; line-height: 1.5; }
.fcb-section-sub { font-size: 14px; color: var(--fcb-muted); margin-inline-start: auto; }

/* Cards (homes) */
.fcb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcb-card {
	background: #fff; border: 1px solid var(--fcb-line); border-radius: var(--fcb-radius);
	padding: 24px 26px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.fcb-card.is-featured { border-top: 4px solid var(--fcb-blue); padding-top: 21px; }
.fcb-card-label { font-size: 14px; color: var(--fcb-muted); margin: 0 0 4px; }
.fcb-card h3 { font-size: 19px; margin: 0 0 20px; }
.fcb-from { font-size: 14px; color: var(--fcb-muted); margin: 0 0 2px; }
.fcb-price { margin: 0; font-size: 40px; font-weight: 800; color: var(--fcb-navy); display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; line-height: 1.3; }
.fcb-price span { font-size: 14px; font-weight: 400; color: var(--fcb-muted); }
.fcb-card-detail { font-size: 14px; color: var(--fcb-muted); margin: 12px 0 18px; }
.fcb-card .fcb-stepper { margin-top: auto; }
.fcb-villa-note { font-size: 14px; color: var(--fcb-muted); margin: 14px 0 0; }

/* Rows (furniture table + extras list) */
.fcb-dual { display: grid; grid-template-columns: 1.12fr 1fr; gap: 24px; align-items: start; }
.fcb-table,
.fcb-list { background: #fff; border: 1px solid var(--fcb-line); border-radius: var(--fcb-radius); padding: 4px 22px; }
.fcb-row {
	display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px;
	padding: 16px 0; border-bottom: 1px solid #edf2f7;
}
.fcb-row:last-child { border-bottom: 0; }
.fcb-row-text strong { display: block; font-size: 16px; }
.fcb-row-text small { display: block; color: var(--fcb-muted); font-size: 14px; }
.fcb-row-price { font-weight: 800; color: var(--fcb-navy); white-space: nowrap; text-align: end; }
.fcb-unit { font-weight: 400; font-size: 14px; color: var(--fcb-muted); }
.fcb-amount { font-size: 24px; line-height: 1.2; }
.fcb-amount span { display: block; font-size: 13px; font-weight: 400; color: var(--fcb-muted); }

/* Selected state */
.fcb [data-fcb-item].is-selected { border-color: var(--fcb-green); }
.fcb-card.is-selected { box-shadow: 0 0 0 1px var(--fcb-green); }
.fcb-row.is-selected .fcb-row-text strong { color: var(--fcb-green-dark); }

/* Stepper */
.fcb-stepper {
	display: inline-flex; align-items: center; border: 1px solid var(--fcb-line);
	border-radius: var(--fcb-radius-sm); overflow: hidden; background: var(--fcb-paper); width: max-content;
}
.fcb .fcb-step {
	all: unset; box-sizing: border-box; width: 36px; height: 36px; display: grid; place-items: center;
	cursor: pointer; font-size: 20px; color: var(--fcb-blue); font-weight: 700; transition: background .15s;
}
.fcb .fcb-step:hover { background: var(--fcb-soft); }
.fcb .fcb-step:focus-visible { outline: 2px solid var(--fcb-blue); outline-offset: -2px; }
.fcb .fcb-stepper input {
	width: 40px; height: 36px; border: 0; border-inline: 1px solid var(--fcb-line); border-radius: 0;
	text-align: center; font: inherit; font-weight: 700; background: #fff; color: var(--fcb-ink);
	padding: 0; margin: 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield;
}
.fcb .fcb-stepper input::-webkit-outer-spin-button,
.fcb .fcb-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fcb-card .fcb-stepper { width: 100%; }
.fcb-card .fcb-stepper input { flex: 1; }

/* Projects / quotes */
.fcb-projects {
	background: var(--fcb-soft); border: 1px solid #c8d8e9; border-radius: var(--fcb-radius);
	padding: 28px 30px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 35px; scroll-margin-top: 90px;
}
.fcb-projects h2 { font-size: 24px; margin: 0 0 8px; }
.fcb-projects p { color: var(--fcb-muted); font-size: 14px; margin: 0; }
.fcb-project-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; align-items: start; }
.fcb-project-item { border-top: 1px solid #c8d8e9; padding-top: 12px; }
.fcb-project-item strong { font-size: 16px; display: block; }
.fcb-project-item span { font-size: 14px; color: var(--fcb-muted); display: block; }
.fcb a.fcb-quote-link { display: inline-block; font-size: 14px; font-weight: 700; color: var(--fcb-green-dark); margin-top: 6px; }
.fcb a.fcb-quote-link::after { content: " ←"; }
.fcb a.fcb-quote-link:hover { color: var(--fcb-blue); }
.fcb-villa-note .fcb-quote-link { margin-inline-start: 6px; margin-top: 0; }

.fcb-terms { margin-top: 30px; padding: 0 4px; }
.fcb-terms h2 { font-size: 18px; margin: 0 0 10px; }
.fcb-terms ul { padding-inline-start: 20px; margin: 0; color: var(--fcb-muted); font-size: 14px; }
.fcb-terms li { margin-bottom: 4px; }

/* Sticky booking bar */
.fcb-bar { position: sticky; bottom: 12px; z-index: 10; margin-top: 32px; }
.fcb-bar-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--fcb-ink); color: #fff; border-radius: var(--fcb-radius); padding: 12px 14px 12px 22px;
	padding-inline: 22px 12px; box-shadow: 0 12px 32px rgba(16, 33, 54, .22); max-width: 1108px;
}
.fcb-bar-summary { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.fcb-bar-count { font-size: 14px; color: #c9d3de; }
.fcb-bar-total { font-size: 24px; font-weight: 800; }
.fcb-bar-total span { font-size: 14px; font-weight: 400; }
.fcb-bar-total small { font-size: 12px; font-weight: 400; color: #c9d3de; }
.fcb .fcb-btn {
	all: unset; box-sizing: border-box; cursor: pointer; background: var(--fcb-green); color: #fff;
	font-weight: 700; font-size: 16px; padding: 12px 28px; border-radius: var(--fcb-radius-sm);
	transition: background .2s, opacity .2s; text-align: center;
}
.fcb .fcb-btn:hover { background: var(--fcb-green-dark); }
.fcb .fcb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fcb .fcb-btn:disabled { opacity: .45; cursor: not-allowed; background: var(--fcb-green); }
.fcb .fcb-btn.is-loading { opacity: .7; cursor: progress; }
.fcb-bar-error { margin: 8px 0 0; text-align: center; color: #c0392b; font-size: 14px; font-weight: 700; }

/* ---------- Cart / checkout / thank-you (WooCommerce classic) ---------- */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { font-family: Almarai, Tahoma, Arial, sans-serif; color: var(--fcb-ink); }
.woocommerce-checkout .woocommerce h3,
.woocommerce-checkout .woocommerce h2 { font-family: inherit; }
.woocommerce-checkout form.checkout .col2-set,
.woocommerce-checkout #order_review,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart_totals,
.woocommerce-order {
	background: #fff; border: 1px solid var(--fcb-line); border-radius: var(--fcb-radius); padding: 24px;
}
.woocommerce-checkout .woocommerce form .form-row label { font-weight: 700; font-size: 14px; }
.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row select,
.woocommerce-checkout .woocommerce form .form-row textarea { border-radius: var(--fcb-radius-sm); border-color: var(--fcb-line); }
.woocommerce-checkout .woocommerce form .form-row input:focus,
.woocommerce-checkout .woocommerce form .form-row select:focus,
.woocommerce-checkout .woocommerce form .form-row textarea:focus { border-color: var(--fcb-blue); }
.woocommerce-checkout #fcb_map { text-align: left; }
.woocommerce-checkout #place_order,
.woocommerce-cart .checkout-button {
	background: var(--fcb-green); color: #fff; border-radius: var(--fcb-radius-sm); font-weight: 700; font-size: 17px;
}
.woocommerce-checkout #place_order:hover,
.woocommerce-cart .checkout-button:hover { background: var(--fcb-green-dark); }
.fcb-edit-link { display: inline-block; margin-bottom: 10px; color: var(--fcb-blue); font-size: 14px; font-weight: 700; }
.fcb-edit-link::before { content: "→ "; }
.woocommerce-checkout-review-order-table .variation,
.woocommerce-cart-form .variation { font-size: 13px; color: var(--fcb-muted); }
.woocommerce-order .woocommerce-thankyou-order-received {
	background: var(--fcb-soft); border-inline-start: 4px solid var(--fcb-green);
	padding: 16px 20px; border-radius: var(--fcb-radius-sm); font-weight: 700; font-size: 17px;
}
.fcb-order-booking { margin-top: 24px; }
.fcb-order-booking h2 { font-size: 20px; }
.fcb-order-booking p { margin: 0 0 6px; }

/* Responsive */
@media (max-width: 850px) {
	.fcb-intro-inner { display: block; padding: 32px 24px; }
	.fcb-intro-note { margin-top: 22px; max-width: none; }
	.fcb-dual { grid-template-columns: 1fr; gap: 0; }
	.fcb-projects { grid-template-columns: 1fr; gap: 20px; }
	.fcb-section-sub { display: none; }
	.fcb-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
	.fcb-intro h1 { font-size: 30px; }
	.fcb-nav-inner { gap: 10px 18px; padding-block: 12px; }
	.fcb-cards { grid-template-columns: 1fr; }
	.fcb-card { padding: 20px; }
	.fcb-price { font-size: 34px; }
	.fcb-section h2 { font-size: 21px; }
	.fcb-table,
	.fcb-list { padding-inline: 16px; }
	.fcb-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
	.fcb-row .fcb-stepper { grid-column: 1 / -1; justify-self: start; }
	.fcb-projects { padding: 22px 18px; }
	.fcb-project-items { grid-template-columns: 1fr; }
	.fcb-bar { bottom: 8px; }
	.fcb-bar-inner { padding-inline: 16px 8px; gap: 10px; }
	.fcb-bar-summary { gap: 0 10px; flex-direction: column; }
	.fcb-bar-total { font-size: 20px; }
	.fcb .fcb-btn { padding: 12px 18px; }
	.fcb-steps { gap: 6px; font-size: 13px; }
	.fcb-steps li + li::before { width: 14px; }
	.woocommerce-checkout form.checkout .col2-set,
	.woocommerce-checkout #order_review { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.fcb * { transition: none !important; }
}
