/**
 * YWG Full-Site Discount — front-end styles.
 *
 * The landing page reuses the theme's single-accommodation classes
 * (.room-type-hero, .room-type-thumb-gallery, .single-room-type-wrapper, etc.),
 * so this file only styles the bits the theme doesn't already cover: the promo
 * banner/highlight and the booking availability widget. Reuses the theme's
 * design tokens (--ywg-*) with fallbacks.
 */

/* --- Search-results banner + single-page highlight --------------------- */
.ywg-fsd-banner {
	margin: 0 0 24px;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5em 0.9em;
	border-left: 4px solid var(--ywg-mauve, #663d63);
	background: var(--ywg-light-cream, #f8f6eb);
}

.ywg-fsd-banner__text {
	font-weight: 600;
}

.ywg-fsd-banner__link,
.ywg-fsd-single-highlight {
	font-weight: 800;
	white-space: nowrap;
	text-decoration: none;
	color: var(--ywg-green, #57693f);
}

.ywg-fsd-banner__link:hover,
.ywg-fsd-single-highlight:hover {
	text-decoration: underline;
}

.ywg-fsd-single-highlight {
	display: flex;
	margin: 0 0 16px;
	border-left: 4px solid var(--ywg-mauve, #663d63);
	background: var(--ywg-light-cream, #f8f6eb);
}

/* --- Booking widget (inside the theme's .room-type-sidebar-block card) -- */
.ywg-fsd-booking__heading {
	margin: 0 0 12px;
}

.ywg-fsd-booking__fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 14px;
}

.ywg-fsd-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 600;
	font-size: 14px;
}

.ywg-fsd-field input {
	padding: 10px 12px;
	border: 1px solid var(--ywg-secondary, #bcbea6);
	border-radius: 8px;
	font-size: 15px;
	width: 100%;
}

.ywg-fsd-booking__fields .ywg-btn {
	margin-top: 4px;
}

/* --- Quote result ----------------------------------------------------- */
.ywg-fsd-result {
	margin-top: 18px;
}

.ywg-fsd-result__msg {
	margin: 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #f5f5f5;
}

.ywg-fsd-result[data-state="error"] .ywg-fsd-result__msg,
.ywg-fsd-result[data-state="unavailable"] .ywg-fsd-result__msg {
	background: #fbeaea;
	color: #8a1f1f;
}

.ywg-fsd-quote {
	border-top: 1px dashed var(--ywg-secondary, #bcbea6);
	padding-top: 18px;
}

.ywg-fsd-quote__dates {
	font-weight: 600;
	margin: 0 0 12px;
}

.ywg-fsd-quote__cabins {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.ywg-fsd-quote__cabins-head {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 12px;
	color: var(--ywg-text, #515151);
	margin-bottom: 6px;
}

.ywg-fsd-quote__cabins li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 4px 0;
	border-bottom: 1px solid #efefef;
}

.ywg-fsd-quote__pricing {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 16px 0;
	font-size: 1.05rem;
}

.ywg-fsd-quote__full s {
	color: var(--ywg-text, #515151);
}

.ywg-fsd-quote__now strong {
	font-size: 1.35rem;
	color: var(--ywg-green, #57693f);
}

.ywg-fsd-quote__save {
	font-weight: 700;
	color: var(--ywg-mauve, #663d63);
}

.ywg-fsd-quote__book {
	width: 100%;
	margin-top: 8px;
}
