/* Suping Reservas — matches supingmallorca.com (Poppins, #E33403, #2B2F38). */
.supr {
	--supr-ink: #2B2F38;
	--supr-text: #5D6167;
	--supr-line: #E1E4E8;
	--supr-accent: #E33403;
	--supr-ok: #1E8A4C;
	--supr-few: #B35A00;
	font-family: Poppins, system-ui, sans-serif;
	color: var(--supr-ink);
	max-width: 760px;
	margin: 0 auto;
	box-sizing: border-box;
}
.supr *, .supr *::before, .supr *::after { box-sizing: border-box; }
/* Neutralise theme button styles (Astra uppercases and recolours <button>). */
.supr button {
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	line-height: 1.3;
	min-height: 0;
}
.supr .supr-chip:hover, .supr .supr-qty-btn:hover { background: #fff; color: var(--supr-ink); border-color: var(--supr-accent); }
.supr .supr-chip[aria-checked="true"]:hover { background: #FFF4EF; }

.supr-form, .supr-done {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(43, 47, 56, .10);
	padding: clamp(18px, 4vw, 32px);
}
.supr-step + .supr-step {
	border-top: 1px solid var(--supr-line);
	margin-top: 20px;
	padding-top: 20px;
}
.supr-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin: 14px 0 6px;
}
.supr-step > .supr-label:first-child { margin-top: 0; }
.supr-input {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--supr-ink);
	background: #fff;
	border: 1.5px solid var(--supr-line);
	border-radius: 10px;
	padding: 12px 14px;
	min-height: 48px;
}
.supr-input:focus, .supr-chip:focus-visible, .supr-qty-btn:focus-visible, .supr-submit:focus-visible, .supr-wa:focus-visible {
	outline: 3px solid rgba(227, 52, 3, .35);
	outline-offset: 2px;
	border-color: var(--supr-accent);
}
.supr-row { display: flex; gap: 16px; flex-wrap: wrap; }
.supr-row > div { flex: 1 1 200px; }

.supr-qty { display: flex; align-items: center; gap: 10px; }
.supr-qty-btn {
	width: 48px; height: 48px;
	border-radius: 10px;
	border: 1.5px solid var(--supr-line);
	background: #fff;
	font-size: 22px;
	line-height: 1;
	color: var(--supr-ink);
	cursor: pointer;
}
.supr-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.supr-qty-val { min-width: 36px; text-align: center; font-size: 20px; font-weight: 700; }

.supr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.supr-chip {
	flex: 1 1 96px;
	max-width: 180px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--supr-ink);
	background: #fff;
	border: 1.5px solid var(--supr-line);
	border-radius: 10px;
	padding: 10px 8px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.supr-chip small { font-size: 12px; font-weight: 500; color: var(--supr-ok); }
.supr-durations .supr-chip small { color: var(--supr-text); }
.supr-chip.is-few small { color: var(--supr-few); }
.supr-chip[aria-checked="true"] { border-color: var(--supr-accent); background: #FFF4EF; }
.supr-chip.is-full { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.supr-chip.is-full small { color: var(--supr-text); }

.supr-hint { font-size: 13px; color: var(--supr-text); margin: 8px 0 0; }
.supr-group-hint.is-on { color: var(--supr-ok); font-weight: 600; }

.supr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 16px 0 4px; cursor: pointer; }
.supr-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--supr-accent); flex: 0 0 auto; }
.supr-check a { color: var(--supr-accent); }

.supr-summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	background: #F6F7F8;
	border-radius: 10px;
	padding: 12px 14px;
	margin-top: 16px;
	font-size: 14px;
}
.supr-total { font-size: 20px; white-space: nowrap; }

.supr-submit, .supr-wa {
	display: block;
	width: 100%;
	margin-top: 16px;
	min-height: 54px;
	border: 0;
	border-radius: 42px;
	background: var(--supr-accent);
	color: #000;
	font: inherit;
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	padding: 14px;
}
.supr .supr-submit { text-transform: uppercase; line-height: 1.3; }
.supr .supr-submit:hover { background: var(--supr-ink); color: #fff; }
.supr-submit:disabled { opacity: .6; cursor: wait; }
.supr-wa { background: #25D366; color: #073B1E; line-height: 26px; }

.supr-notice {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-left: 4px solid var(--supr-accent);
	background: #FFF4EF;
	border-radius: 0 10px 10px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--supr-ink);
}
.supr-weather { margin: 8px 0 0; font-size: 13px; color: var(--supr-text); }
.supr-bot { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--supr-text); }
.supr-bot-box {
	width: 18px; height: 18px; flex: 0 0 auto;
	border: 2px solid var(--supr-line);
	border-top-color: var(--supr-accent);
	border-radius: 50%;
	animation: supr-spin 1s linear infinite;
}
.supr-bot.is-ok { color: var(--supr-ok); font-weight: 600; }
.supr-bot.is-ok .supr-bot-box { animation: none; border-color: var(--supr-ok); background: var(--supr-ok); position: relative; }
.supr-bot.is-ok .supr-bot-box::after {
	content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@keyframes supr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .supr-bot-box { animation: none; } }
.supr-done .supr-done-text { font-weight: 500; color: var(--supr-ink); }
.supr-error { color: #B42318; font-size: 14px; font-weight: 600; margin: 12px 0 0; }
.supr .is-invalid { border-color: #B42318 !important; }
.supr-check.is-invalid span { color: #B42318; font-weight: 600; }
.supr-slots.is-invalid { outline: 2px solid #B42318; outline-offset: 4px; border-radius: 10px; }

.supr-done { text-align: center; }
.supr-done-title { margin: 0 0 8px; font-size: 24px; }
.supr-done-text { color: var(--supr-text); }

.supr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 480px) {
	.supr-chip { flex-basis: calc(33.33% - 6px); }
	.supr-durations .supr-chip { flex-basis: calc(50% - 4px); max-width: none; }
}

.supr-optin { margin-top: 10px; color: var(--supr-text); }
.supr-departure .supr-input { max-width: 260px; }

/* Conditions window (moved to <body> by the script). */
.supr-noscroll, .supr-noscroll body { overflow: hidden; }
.supr-modal {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(20, 23, 29, .6);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	font-family: Poppins, system-ui, sans-serif;
	color: #2B2F38;
}
.supr-modal[hidden] { display: none; }
.supr-modal *, .supr-modal *::before, .supr-modal *::after { box-sizing: border-box; }
.supr-modal-box {
	background: #fff; border-radius: 16px; width: 100%; max-width: 640px;
	max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
	display: flex; flex-direction: column; overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.supr-modal-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #E1E4E8; font-size: 17px; }
.supr-modal-head strong { flex: 1; }
.supr-modal .supr-modal-x {
	width: 40px; height: 40px; border: 0; border-radius: 10px; background: #F6F7F8; color: #2B2F38;
	font-size: 24px; line-height: 1; cursor: pointer; padding: 0; text-transform: none; box-shadow: none;
}
.supr-modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 18px 18px; font-size: 14px; line-height: 1.6; color: #3A3F47; }
.supr-modal-body:focus { outline: none; }
.supr-modal-body h1, .supr-modal-body h2, .supr-modal-body h3, .supr-modal-body h4 { font-size: 16px; margin: 16px 0 6px; color: #2B2F38; }
.supr-modal-body p { margin: 0 0 10px; }
.supr-modal-body ul, .supr-modal-body ol { padding-left: 20px; margin: 0 0 10px; }
.supr-modal-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #E1E4E8; }
.supr-modal-hint { margin: 0 0 8px; font-size: 13px; color: #B35A00; text-align: center; font-weight: 600; }
.supr-modal .supr-modal-ok {
	display: block; width: 100%; min-height: 50px; border: 0; border-radius: 42px;
	background: #E33403; color: #000; font: inherit; font-size: 16px; font-weight: 800;
	cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none;
}
.supr-modal .supr-modal-ok:disabled { background: #E1E4E8; color: #6B7078; cursor: not-allowed; }
.supr-read-hint { color: #B35A00; font-weight: 600; }

/* Minors responsibility (red, bold) and rigid board notice. */
.supr-minors { margin: 8px 0 0; color: #B42318; font-weight: 700; font-size: 13px; line-height: 1.45; }
.supr-modal-minors { margin: 10px 0 0; text-align: center; }
.supr-board-note {
	margin: 10px 0 0; padding: 10px 14px;
	background: #EAF4FB; border-left: 4px solid #1B6FA8; border-radius: 0 10px 10px 0;
	color: #123F5E; font-size: 14px; font-weight: 700;
}
