/* Offers: homepage card and [bhhc_offers] page. Colours follow the site's map section. */
.bhhc-offer-hook,
.bhhc-offers {
	--of-dark: #3d2010;
	--of-brown: #8b5e3c;
	--of-gold: #c8a97e;
	--of-cream: #faf6f0;
	--of-text: #2e1a10;
	--of-muted: #8a6d55;
	--of-line: rgba(200, 169, 126, .35);
}
.bhhc-offer-hook *,
.bhhc-offers * { box-sizing: border-box; }

/* ---------- Homepage card ---------- */
.bhhc-offer-hook {
	position: fixed;
	z-index: 9990;
	bottom: 24px;
	left: 24px;
	width: min(340px, calc(100vw - 32px));
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .35s ease, transform .35s ease;
	font-family: inherit;
}
.bhhc-offer-hook.is-visible { opacity: 1; transform: none; }
.bhhc-offer-hook-link {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	border: 1px solid var(--of-line);
	border-radius: 18px;
	background: var(--of-cream);
	color: var(--of-text);
	text-decoration: none;
	box-shadow: 0 18px 45px rgba(61, 32, 16, .22);
}
.bhhc-offer-hook-link:hover { color: var(--of-text); box-shadow: 0 20px 50px rgba(61, 32, 16, .3); }
.bhhc-offer-hook-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--of-dark);
}
.bhhc-offer-hook-icon svg { width: 22px; height: 22px; fill: var(--of-gold); }
.bhhc-offer-hook-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-inline-end: 14px; }
.bhhc-offer-hook-body strong { font-family: "Playfair Display", serif; font-size: 18px; font-weight: 500; line-height: 1.3; }
.bhhc-offer-hook-body > span { font-size: 13.5px; line-height: 1.55; color: var(--of-muted); }
.bhhc-offer-hook-date { font-weight: 600; color: var(--of-brown) !important; }
.bhhc-offer-hook-button {
	align-self: flex-start;
	margin-top: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--of-brown);
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 600;
}
.bhhc-offer-hook-link:hover .bhhc-offer-hook-button { background: var(--of-dark); }
.bhhc-offer-hook-preview { font-size: 11px !important; color: #b45309 !important; font-weight: 600; }
.bhhc-offer-hook-close {
	position: absolute;
	top: 8px;
	inset-inline-end: 10px;
	z-index: 1;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--of-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.bhhc-offer-hook-close:hover { background: rgba(200, 169, 126, .2); color: var(--of-text); }
.bhhc-offer-hook a:focus-visible,
.bhhc-offer-hook button:focus-visible,
.bhhc-offers a:focus-visible { outline: 3px solid var(--of-gold); outline-offset: 3px; }
.bhhc-offer-hook[lang="ar"] .bhhc-offer-hook-body strong { font-family: "Noto Naskh Arabic", "Amiri", serif; }
@media (max-width: 600px) {
	.bhhc-offer-hook { left: 16px; bottom: 16px; }
	.bhhc-offer-hook-link { padding: 14px 16px; }
}

/* ---------- Offers page ---------- */
.bhhc-offers { color: var(--of-text); max-width: 1120px; margin: 0 auto; padding: 0 0 48px; }
.bhhc-offers-preview { margin: 0 0 20px; padding: 10px 16px; border-radius: 10px; background: #fff7e6; color: #92400e; font-size: 14px; }
.bhhc-offers-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 40px;
	padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
	border-radius: 24px;
	background: radial-gradient(120% 140% at 0% 0%, #5a3320 0%, var(--of-dark) 55%, #2a150a 100%);
	color: var(--of-cream);
	text-align: center;
}
.bhhc-offers-hero::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(200, 169, 126, .35);
	border-radius: 16px;
	pointer-events: none;
}
.bhhc-offers-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--of-gold);
}
.bhhc-offers-eyebrow::before,
.bhhc-offers-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--of-gold); }
.bhhc-offers-hero h1 {
	margin: 14px 0 12px;
	font-family: "Playfair Display", serif;
	font-size: clamp(32px, 5vw, 54px);
	font-weight: 400;
	line-height: 1.15;
	color: #fff;
}
.bhhc-offers-intro { max-width: 600px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: rgba(250, 246, 240, .82); }
.bhhc-offers-dates { margin: 18px 0 0; font-weight: 600; color: var(--of-gold); }
.bhhc-offers-countdown { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.bhhc-offers-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
	padding: 12px 8px;
	border: 1px solid rgba(200, 169, 126, .4);
	border-radius: 14px;
	background: rgba(250, 246, 240, .06);
}
.bhhc-offers-unit b { font-size: 28px; font-weight: 600; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.bhhc-offers-unit small { margin-top: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--of-gold); }

.bhhc-offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.bhhc-offer-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 26px 26px;
	border: 1px solid var(--of-line);
	border-radius: 20px;
	background: var(--of-cream);
	box-shadow: 0 10px 30px rgba(61, 32, 16, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}
.bhhc-offer-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(61, 32, 16, .14); }
.bhhc-offer-badge {
	position: absolute;
	top: -12px;
	inset-inline-start: 22px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--of-brown);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 6px 16px rgba(139, 94, 60, .35);
}
.bhhc-offer-card h2 { margin: 6px 0 10px; font-family: "Playfair Display", serif; font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--of-text); }
.bhhc-offer-card p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.75; color: var(--of-muted); }
.bhhc-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: auto; padding: 16px 0; border-top: 1px solid var(--of-line); }
.bhhc-offer-price del { font-size: 15px; color: #a08a78; }
.bhhc-offer-price strong { font-size: 26px; font-weight: 700; color: var(--of-brown); }

.bhhc-offers-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--of-dark);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: background .2s ease, transform .2s ease;
}
.bhhc-offers-btn:hover { background: var(--of-brown); transform: translateY(-1px); }

.bhhc-offers-terms { margin-top: 44px; padding: 24px 28px; border: 1px solid var(--of-line); border-radius: 16px; background: #fff; }
.bhhc-offers-terms h2 { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--of-text); }
.bhhc-offers-terms ul { margin: 0; padding-inline-start: 20px; color: var(--of-muted); font-size: 14px; line-height: 1.9; }
.bhhc-offers-permit { margin: 12px 0 0; font-size: 13px; color: var(--of-muted); }

.bhhc-offers-ended { max-width: 560px; margin: 40px auto; padding: 48px 28px; border: 1px solid var(--of-line); border-radius: 20px; background: var(--of-cream); text-align: center; }
.bhhc-offers-ended h2 { margin: 0 0 10px; font-family: "Playfair Display", serif; font-weight: 400; color: var(--of-text); }
.bhhc-offers-ended p { margin: 0 0 22px; color: var(--of-muted); line-height: 1.8; }

.bhhc-offers[lang="ar"] .bhhc-offers-hero h1,
.bhhc-offers[lang="ar"] .bhhc-offer-card h2,
.bhhc-offers[lang="ar"] .bhhc-offers-ended h2 { font-family: "Noto Naskh Arabic", "Amiri", serif; line-height: 1.5; }
.bhhc-offers[lang="ar"] .bhhc-offers-eyebrow,
.bhhc-offers[lang="ar"] .bhhc-offers-unit small { letter-spacing: 0; }

@media (max-width: 600px) {
	.bhhc-offers-countdown { gap: 8px; }
	.bhhc-offers-unit { min-width: 64px; padding: 10px 6px; }
	.bhhc-offers-unit b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.bhhc-offer-hook, .bhhc-offer-card, .bhhc-offers-btn { transition: none; }
}

/* The theme sets its own colours on p, h1-h6 and links; keep ours inside the offers. */
.bhhc-offers .bhhc-offers-hero h1,
.bhhc-offers .bhhc-offers-unit b { color: #fff !important; }
.bhhc-offers .bhhc-offers-hero .bhhc-offers-intro { color: rgba(250, 246, 240, .85) !important; }
.bhhc-offers .bhhc-offers-hero .bhhc-offers-dates,
.bhhc-offers .bhhc-offers-eyebrow,
.bhhc-offers .bhhc-offers-unit small { color: var(--of-gold) !important; }
.bhhc-offers .bhhc-offer-card h2,
.bhhc-offers .bhhc-offers-terms h2,
.bhhc-offers .bhhc-offers-ended h2 { color: var(--of-text) !important; }
.bhhc-offers .bhhc-offer-card p,
.bhhc-offers .bhhc-offers-terms li,
.bhhc-offers .bhhc-offers-permit,
.bhhc-offers .bhhc-offers-ended p { color: var(--of-muted) !important; }
.bhhc-offers .bhhc-offer-price strong { color: var(--of-brown) !important; }
.bhhc-offers .bhhc-offer-badge { color: #fff !important; }
.bhhc-offer-hook .bhhc-offer-hook-body strong { color: var(--of-text) !important; }
.bhhc-offer-hook .bhhc-offer-hook-body > span { color: var(--of-muted) !important; }
.bhhc-offer-hook .bhhc-offer-hook-body > .bhhc-offer-hook-date { color: var(--of-brown) !important; }
.bhhc-offer-hook .bhhc-offer-hook-body > .bhhc-offer-hook-button { color: #fff !important; }
