/* The offer on the public pages (offer-live.php): only loaded while an offer runs. Colours of the site (noir). */
.af-offer-bar {
	position: relative; z-index: 60; background: #000; color: #F4F1EA; border-bottom: 1px solid rgba(235, 213, 138, .45);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px;
	padding: 10px 52px 10px 16px; font: 15px/1.45 Figtree, system-ui, sans-serif; text-align: center;
}
.af-offer-bar[hidden] { display: none; }
.af-offer-bar__text { margin: 0; }
.af-offer-bar i, .af-offer-tag i, .af-offer-card__tag { color: #EBD58A; font: italic 400 17px/1.3 'Libre Caslon Text', Georgia, serif; }
.af-offer-cd { font-weight: 700; color: #EBD58A; font-variant-numeric: tabular-nums; }
.af-offer-btn {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
	border-radius: 999px; background-image: linear-gradient(135deg, #C79F36 0%, #EBD58A 55%, #D2B04C 100%); color: #1D1C1E;
	font-weight: 700; text-decoration: none; line-height: 1.2; text-align: center;
}
a.af-offer-btn, a.af-offer-btn:visited, a.af-offer-btn:hover, a.af-offer-btn:focus-visible { color: #1D1C1E !important; text-decoration: none !important; }
.af-offer-btn:hover, .af-offer-btn:focus-visible { filter: brightness(1.06); }
.af-offer-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.af-offer-btn--line { background: none; border: 1px solid rgba(255, 255, 255, .25); color: #F4F1EA; font-weight: 600; }
a.af-offer-btn--line, a.af-offer-btn--line:visited, a.af-offer-btn--line:hover { color: #F4F1EA !important; }
.af-offer-btn--line:hover { filter: none; border-color: #EBD58A; }
.af-offer-btn small { font-size: 12px; font-weight: 400; color: #B8B3AA; }
.af-offer-link { background: none; border: 0; padding: 0; color: #EBD58A; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 14px; cursor: pointer; }
.af-offer-link:hover { color: #F4E3A6; }
.af-offer-x {
	position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none;
	color: #B8B3AA; font-size: 24px; line-height: 1; cursor: pointer;
}
.af-offer-x:hover, .af-offer-x:focus-visible { color: #F4F1EA; background: rgba(255, 255, 255, .08); }

/* The prices while the offer runs (offer.php's shortcodes). */
.af-prices--offer .af-offer-tag { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 0 0 12px; }
.af-price--offer { position: relative; display: flex; flex-direction: column; gap: 4px; }
.af-price--offer .af-offer-day { color: #F4F1EA; font-size: 14px; }
.af-price--offer .af-offer-terms { color: #9A958F; font-size: 13px; }
.af-offer-reco { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: #EBD58A; color: #1D1C1E; font-style: normal; font-size: 12px; font-weight: 700; }
.af-offer-was { color: #9A958F; font-weight: 400; margin-right: 4px; }
.af-offer-pct { font-style: normal; color: #8FD1A6; font-size: .6em; }
.af-offer-then { margin: 4px 0 0; font-size: 14px; color: #B8B3AA; }
.af-offer-seats { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: #B8B3AA; }
.af-offer-seats--full { color: #EBD58A; }
.af-offer-note { margin: 8px 0 0; }

/* The card on the first page, in the corner and in the window. */
.af-offer-home { padding: 32px 16px; background: transparent; }
.af-offer-card, .af-offer-corner, .af-offer-exit {
	box-sizing: border-box; color: #F4F1EA; background: #1D1C1E; border: 1px solid rgba(235, 213, 138, .45); border-radius: 22px;
	font: 16px/1.5 Figtree, system-ui, sans-serif;
}
.af-offer-card { max-width: 760px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.af-offer-card p, .af-offer-corner p, .af-offer-exit p { margin: 0; }
.af-offer-card__text { font: 400 clamp(20px, 3vw, 26px)/1.35 'Libre Caslon Text', Georgia, serif; }
.af-offer-card__who { color: #B8B3AA; font-size: 15px; }
.af-offer-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.af-offer-corner {
	position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(360px, calc(100vw - 32px)); padding: 22px 20px 18px;
	display: flex; flex-direction: column; gap: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.af-offer-corner[hidden] { display: none; }
.af-offer-corner .af-offer-card__text, .af-offer-exit .af-offer-card__text { font-size: 19px; }
.af-offer-corner .af-offer-btn--line { display: none; }

/* The dialogs: "Condițiile ofertei" and the window on leaving. */
.af-offer-dlg {
	position: relative; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-sizing: border-box;
	padding: 28px 24px 22px; color: #F4F1EA; background: #1D1C1E; border: 1px solid rgba(235, 213, 138, .45); border-radius: 22px;
	font: 16px/1.55 Figtree, system-ui, sans-serif;
}
.af-offer-dlg::backdrop { background: rgba(0, 0, 0, .65); }
.af-offer-dlg h2 { margin: 0 40px 12px 0; font: 400 24px/1.3 'Libre Caslon Text', Georgia, serif; color: #EBD58A; }
.af-offer-dlg ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.af-offer-exit { display: none; }
.af-offer-exit[open] { display: flex; flex-direction: column; gap: 10px; }

/* The bar at the bottom of Plans and prices, on a phone only, never over the cookie banner. */
.af-offer-dock { display: none; }
@media (max-width: 700px) {
	.af-offer-dock {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #000; border-top: 1px solid rgba(235, 213, 138, .45);
		color: #F4F1EA; font: 14px/1.3 Figtree, system-ui, sans-serif;
	}
	.af-offer-dock p { margin: 0; display: flex; flex-direction: column; }
	.af-offer-dock b { color: #EBD58A; font-size: 16px; }
	.af-offer-dock small { color: #B8B3AA; font-size: 12px; }
	.af-offer-dock .af-offer-btn { min-height: 44px; padding: 0 16px; font-size: 14px; flex: none; }
	body.af-has-offer.af-offer-cookie .af-offer-dock { display: none; }
	/* On Plans and prices the offer's bar takes the place of the theme's bar ("Începe gratuit", WhatsApp). */
	body.af-offer-plans:not(.af-offer-cookie) .af-mobilebar { display: none !important; }
	body.af-has-offer:has(.af-offer-dock) { padding-bottom: 72px; }
	.af-offer-corner { left: 16px; right: 16px; bottom: 88px; width: auto; } /* above the theme's bar */
	.af-offer-bar { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
	.af-offer-corner:not([hidden]) { animation: af-offer-in .25s ease-out; }
	@keyframes af-offer-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ----------------------------------------------------------------------
 * 2.21 (v3, docs/redesign-v3 §6): the band, the corner card, the window on leaving. Same rules for when each shows.
 * ---------------------------------------------------------------------- */
.af-offer-bar {
	display: block; padding: 0; overflow: hidden; text-align: left;
	background: linear-gradient(90deg, #17150F 0%, #211D12 50%, #17150F 100%); border-bottom: 1px solid rgba(210, 176, 76, .28);
	font: 14px/1.35 Figtree, system-ui, sans-serif; color: #F3EFE8;
}
/* A gold sheen crosses it every 6 s. */
.af-offer-bar::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
	background: linear-gradient(100deg, transparent 30%, rgba(240, 221, 152, .10) 50%, transparent 70%);
	animation: af-offer-sheen 6s cubic-bezier(.2, .8, .2, 1) infinite;
}
@keyframes af-offer-sheen { 60%, 100% { transform: translateX(100%); } }
.af-offer-bar__in {
	position: relative; z-index: 1; width: min(92vw, 1440px); min-height: 52px; margin: 0 auto; padding: 6px 44px 6px 0; box-sizing: border-box;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 22px;
}
.af-offer-bar .af-offer-bar__name { font: italic 400 16px/1.2 'Libre Caslon Text', Georgia, serif; color: #EBD58A; white-space: nowrap; }
.af-offer-bar__sep { width: 1px; height: 18px; background: rgba(210, 176, 76, .35); }
.af-offer-bar__text { margin: 0; color: #F3EFE8; }
.af-offer-bar__text strong { color: #EBD58A; font-weight: 700; }
.af-offer-digits { display: inline-flex; gap: 4px; align-items: center; }
.af-offer-digits .af-offer-dg { display: inline-flex; flex-direction: column; align-items: center; min-width: 34px; }
.af-offer-digits .af-offer-dg b { font: 400 17px/1 'Libre Caslon Text', Georgia, serif; color: #EBD58A; font-variant-numeric: tabular-nums lining-nums; }
.af-offer-dg i { font-style: normal; font-family: Figtree, system-ui, sans-serif; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #9A958F; margin-top: 2px; }
.af-offer-colon { color: #9A958F; font-weight: 400; align-self: flex-start; line-height: 17px; }
a.af-offer-bar__go, a.af-offer-bar__go:visited { color: #EBD58A !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
a.af-offer-bar__go:hover { text-decoration: underline; text-underline-offset: 3px; }
.af-offer-bar .af-offer-link { font-size: 13px; color: #B9B3AB; }
.af-offer-bar .af-offer-x { top: 50%; right: 4px; transform: translateY(-50%); width: 36px; height: 36px; font-size: 20px; z-index: 2; }

/* The card in the corner: glass, a gold edge. */
.af-offer-corner {
	width: 330px; padding: 18px 20px; gap: 10px; border-radius: 22px; border: 1px solid rgba(210, 176, 76, .40);
	background: rgba(27, 26, 29, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55); color: #F3EFE8; font: 14px/1.4 Figtree, system-ui, sans-serif;
}
.af-offer-corner .af-offer-x { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 20px; }
.af-offer-corner__k { padding-right: 32px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #D2B04C; }
.af-offer-corner__big { display: flex; align-items: center; gap: 12px; }
.af-offer-corner__big b { font: 400 40px/1 'Libre Caslon Text', Georgia, serif; color: #EBD58A; white-space: nowrap; }
.af-offer-corner__big span { font-size: 14px; line-height: 1.35; color: #E4DFD7; }
.af-offer-corner__text { font: 400 17px/1.4 'Libre Caslon Text', Georgia, serif; }
.af-offer-corner__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: #B9B3AB; }
.af-offer-corner__foot .af-offer-cd { color: #EBD58A; font-weight: 600; }
.af-offer-corner__foot a, .af-offer-corner__foot a:visited { color: #EBD58A !important; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* The window on leaving: 880 px, two columns. */
.af-offer-dlg.af-offer-exit { width: min(880px, calc(100vw - 32px)); padding: 0; overflow: hidden; border-radius: 32px; background: #17161A; border-color: rgba(210, 176, 76, .45); box-shadow: 0 60px 140px rgba(0, 0, 0, .7), 0 0 160px rgba(210, 176, 76, .10); }
.af-offer-exit::backdrop { background: rgba(8, 7, 10, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.af-offer-exit[open] { display: grid; grid-template-columns: 320px 1fr; gap: 0; }
.af-offer-exit__photo { position: relative; background: #0F0E11; min-height: 100%; }
.af-offer-exit__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.af-offer-exit__photo > div { position: absolute; inset: auto 0 0 0; padding: 24px; background: linear-gradient(180deg, rgba(15, 14, 17, 0), rgba(15, 14, 17, .95)); }
.af-offer-exit__photo p { font: 400 19px/1.35 'Libre Caslon Text', Georgia, serif; color: #F3EFE8; }
.af-offer-exit__photo span { font-size: 13px; color: #B9B3AB; }
.af-offer-exit__main { position: relative; padding: 34px 36px 30px; display: flex; flex-direction: column; gap: 16px; }
.af-offer-exit__main > .af-offer-x { top: 22px; right: 22px; width: 36px; height: 36px; border: 1px solid rgba(243, 239, 232, .2); font-size: 18px; color: #C9C4BD; }
.af-offer-exit__k { padding-right: 44px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #D2B04C; }
.af-offer-dlg.af-offer-exit h2 { margin: 0; font: 400 42px/1.05 'Libre Caslon Text', Georgia, serif; color: #F3EFE8; text-transform: none; letter-spacing: -.01em; }
.af-offer-exit h2 em { color: #D2B04C; }
.af-offer-opts { display: flex; flex-direction: column; gap: 10px; }
.af-offer-opt {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; cursor: pointer;
	border: 1px solid rgba(243, 239, 232, .12); background: rgba(243, 239, 232, .02); transition: border-color .3s cubic-bezier(.2, .8, .2, 1), background .3s cubic-bezier(.2, .8, .2, 1);
}
.af-offer-opt.is-on { border-color: #D2B04C; background: linear-gradient(160deg, rgba(210, 176, 76, .14), rgba(210, 176, 76, .03)); }
.af-offer-opt input { position: absolute; opacity: 0; pointer-events: none; }
.af-offer-opt:has(input:focus-visible) { outline: 2px solid #D2B04C; outline-offset: 2px; }
.af-offer-opt__r { width: 20px; height: 20px; flex: none; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgba(243, 239, 232, .35); }
.af-offer-opt.is-on .af-offer-opt__r { border-color: #D2B04C; background: #D2B04C; box-shadow: inset 0 0 0 4px #17161A; }
.af-offer-opt__t { flex: 1; display: flex; flex-direction: column; }
.af-offer-opt__t strong { font-size: 16px; color: #F3EFE8; }
.af-offer-opt__t small, .af-offer-opt__p small { font-size: 12.5px; color: #B9B3AB; }
.af-offer-opt__p { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 13px; color: #B9B3AB; }
.af-offer-opt__p s { font-size: 15px; color: #9A958F; text-decoration-color: rgba(210, 176, 76, .8); }
.af-offer-opt__p b { font: 400 30px/1 'Libre Caslon Text', Georgia, serif; color: #F3EFE8; }
.af-offer-opt.is-on .af-offer-opt__p b { font-size: 36px; color: #EBD58A; }
.af-offer-opt__p small { font-size: 11.5px; color: #9A958F; }
.af-offer-exit__cd { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 2px; font-size: 13px; color: #B9B3AB; }
.af-offer-tiles { display: flex; gap: 8px; }
.af-offer-tiles .af-offer-colon { display: none; }
.af-offer-tiles .af-offer-dg { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 14px; background: rgba(243, 239, 232, .04); border: 1px solid rgba(210, 176, 76, .30); }
.af-offer-tiles .af-offer-dg b { font: 400 26px/1 'Libre Caslon Text', Georgia, serif; color: #EBD58A; font-variant-numeric: tabular-nums lining-nums; }
.af-offer-tiles .af-offer-dg i { font-size: 9.5px; margin-top: 4px; }
a.af-offer-exit__go, a.af-offer-exit__go:visited, a.af-offer-exit__go:hover {
	display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; text-decoration: none !important;
	background: linear-gradient(180deg, #F0DD98, #D2B04C); color: #141316 !important; font-weight: 700; font-size: 16px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 14px 36px rgba(210, 176, 76, .32);
}
.af-offer-exit__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: #B9B3AB; }
.af-offer-exit__row i { font-style: normal; color: #D2B04C; }
.af-offer-link--quiet { color: #9A958F; font-size: 13px; }
.af-offer-exit__fine p, .af-offer-exit__fine .af-v3-omni { margin: 0; font-size: 11px; line-height: 1.5; color: #7F7A74; text-align: left; }
.af-offer-exit__fine .af-offer-link { font-size: 11px; color: #9A958F; }
@media (max-width: 860px) {
	.af-offer-exit[open] { grid-template-columns: 1fr; }
	.af-offer-exit__photo { display: none; }
}
@media (max-width: 560px) {
	.af-offer-exit__main { padding: 26px 20px 22px; gap: 12px; }
	.af-offer-dlg.af-offer-exit h2 { font-size: 32px; }
	.af-offer-opt { flex-wrap: wrap; padding: 14px; }
	.af-offer-opt__p { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 0 8px; }
	.af-offer-tiles .af-offer-dg { width: 54px; height: 54px; }
}
@media (max-width: 781px) {
	.af-offer-bar__in { width: calc(100vw - 32px); justify-content: flex-start; gap: 4px 12px; padding: 8px 40px 8px 0; }
	.af-offer-bar__sep, .af-offer-bar .af-offer-link { display: none; }
	.af-offer-bar__text { flex: 1 1 100%; order: 2; font-size: 13px; }
	.af-offer-digits { order: 3; }
	a.af-offer-bar__go { order: 4; margin-left: auto; font-size: 13px; }
	.af-offer-corner { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.af-offer-bar::after { animation: none; display: none; }
	.af-offer-opt { transition: none; }
}
