/* FFS Shop & Booking – frontend. Brand accent matches the site (#EF522E). */
:root {
	--ffs-accent: #EF522E;
	--ffs-accent-dark: #c93f1f;
	--ffs-ink: #1d1d1f;
	--ffs-muted: #5f6368;
	--ffs-line: #e3e3e3;
	--ffs-bg: #ffffff;
	--ffs-soft: #fff4f0;
	--ffs-ok: #1e7b34;
	--ffs-ok-bg: #e9f6ec;
}

/* Booking form ------------------------------------------------------------- */
.ffs-booking {
	margin: 20px 0;
	padding: 24px;
	border: 1px solid var(--ffs-line);
	border-top: 4px solid var(--ffs-accent);
	border-radius: 8px;
	background: var(--ffs-bg);
	color: var(--ffs-ink);
	scroll-margin-top: 120px;
}
.ffs-booking__title { margin: 0 0 6px; font-size: 1.35em; }
.ffs-booking__price { margin: 0 0 16px; color: var(--ffs-muted); }
.ffs-booking__price strong { color: var(--ffs-accent); }
.ffs-booking__notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	background: var(--ffs-soft);
	border-left: 4px solid var(--ffs-accent);
	border-radius: 6px;
	font-weight: 600;
	line-height: 1.5;
}
.ffs-booking__notice p { margin: 0; }
.ffs-booking__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	margin: 0;
}
.ffs-booking__form .ffs-field { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ffs-booking__form .ffs-field--full,
.ffs-booking__note { grid-column: 1 / -1; }
.ffs-booking__form label { font-weight: 600; font-size: 0.92em; }
.ffs-booking__form abbr { color: var(--ffs-accent); text-decoration: none; border: 0; }
.ffs-booking__form input[type="text"],
.ffs-booking__form input[type="tel"],
.ffs-booking__form input[type="email"],
.ffs-booking__form select,
.ffs-booking__form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	font-size: 16px; /* no zoom on iOS */
	background: #fff;
	color: var(--ffs-ink);
	box-sizing: border-box;
}
.ffs-booking__form input:focus,
.ffs-booking__form select:focus,
.ffs-booking__form textarea:focus { outline: 2px solid var(--ffs-accent); outline-offset: 1px; border-color: var(--ffs-accent); }
.ffs-datepicker { cursor: pointer; background-image: linear-gradient(transparent, transparent); }
.ffs-invalid { border-color: #d63638 !important; }
.ffs-optins label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.ffs-optins input { margin-top: 4px; }
.ffs-booking__note { margin: 0; font-size: 0.9em; color: var(--ffs-muted); background: var(--ffs-soft); padding: 10px 12px; border-radius: 6px; }
.ffs-booking__submit.button,
.ffs-book-btn.button {
	background: var(--ffs-accent) !important;
	border-color: var(--ffs-accent) !important;
	color: #fff !important;
	padding: 12px 26px !important;
	border-radius: 6px !important;
	font-weight: 700;
	cursor: pointer;
}
.ffs-booking__submit.button:hover,
.ffs-book-btn.button:hover { background: var(--ffs-accent-dark) !important; }
.ffs-booking__success { padding: 14px 16px; background: var(--ffs-ok-bg); border-left: 4px solid var(--ffs-ok); border-radius: 6px; }
.ffs-booking__success p { margin: 6px 0 0; }
.ffs-booking__error { margin-bottom: 14px; padding: 10px 14px; background: #fcf0f1; border-left: 4px solid #d63638; border-radius: 6px; }
.ffs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ffs-from-price { font-weight: 600; }

@media (max-width: 640px) {
	.ffs-booking { padding: 18px 16px; }
	.ffs-booking__form { grid-template-columns: 1fr; }
}

/* Checkout ------------------------------------------------------------------ */
.ffs-schedule-msg {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 0.95em;
	line-height: 1.45;
}
.ffs-schedule-msg.is-pay-now { background: var(--ffs-soft); border-left: 4px solid var(--ffs-accent); }
.ffs-schedule-msg.is-pay-later { background: var(--ffs-ok-bg); border-left: 4px solid var(--ffs-ok); }
#ffs_delivery_date_field input { cursor: pointer; background: #fff; }
.ffs-optin label { font-weight: 400; }

/* Thank-you + Zelle/Venmo details ----------------------------------------- */
.ffs-pay-details,
.ffs-order-delivery {
	margin: 20px 0;
	padding: 16px 18px;
	border: 1px solid var(--ffs-line);
	border-left: 4px solid var(--ffs-accent);
	border-radius: 6px;
	background: var(--ffs-bg);
}
.ffs-pay-list { margin: 8px 0 0; padding-left: 18px; }
.ffs-pay-list li { margin: 6px 0; }
.ffs-venmo-btn.button { background: #008CFF !important; border-color: #008CFF !important; color: #fff !important; padding: 6px 14px !important; border-radius: 20px !important; }

/* jQuery UI datepicker (WordPress ships the script but no theme) ------------ */
#ui-datepicker-div.ffs-dp {
	z-index: 99999 !important;
	background: #fff;
	border: 1px solid var(--ffs-line);
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
	padding: 10px;
	width: 290px;
	max-width: calc(100vw - 32px);
	font-size: 14px;
	color: var(--ffs-ink);
	display: none;
}
.ffs-dp .ui-datepicker-header { position: relative; display: flex; align-items: center; justify-content: center; padding: 4px 0 10px; }
.ffs-dp .ui-datepicker-title { font-weight: 700; }
.ffs-dp .ui-datepicker-prev,
.ffs-dp .ui-datepicker-next { position: absolute; top: 2px; cursor: pointer; padding: 2px 10px; border-radius: 4px; color: var(--ffs-accent); font-weight: 700; text-decoration: none; }
.ffs-dp .ui-datepicker-prev { left: 0; }
.ffs-dp .ui-datepicker-next { right: 0; }
.ffs-dp .ui-datepicker-prev span,
.ffs-dp .ui-datepicker-next span { font-size: 0; }
.ffs-dp .ui-datepicker-prev span::before { content: "‹"; font-size: 22px; }
.ffs-dp .ui-datepicker-next span::before { content: "›"; font-size: 22px; }
.ffs-dp .ui-state-disabled.ui-datepicker-prev,
.ffs-dp .ui-state-disabled.ui-datepicker-next { opacity: .3; cursor: default; }
.ffs-dp table { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.ffs-dp th { font-size: 12px; color: var(--ffs-muted); padding: 4px 0; text-align: center; border: 0; background: none; }
.ffs-dp td { padding: 2px; text-align: center; border: 0; background: none; }
.ffs-dp td a,
.ffs-dp td span { display: block; padding: 7px 0; border-radius: 6px; text-decoration: none; color: var(--ffs-ink); }
.ffs-dp td a:hover { background: var(--ffs-soft); color: var(--ffs-accent); }
.ffs-dp td.ui-datepicker-current-day a { background: var(--ffs-accent); color: #fff; }
.ffs-dp td.ui-datepicker-today a { box-shadow: inset 0 0 0 1px var(--ffs-accent); }
.ffs-dp td.ui-state-disabled span { color: #c4c4c4; text-decoration: line-through; }
.ffs-dp td.ui-datepicker-other-month span,
.ffs-dp td.ui-datepicker-other-month a { opacity: .45; }
