/* Sauna – Planning, Tarifs & Nouveautés : affichage public (thème sombre) */
.spt-planning, .spt-tarifs, .spt-hours, .spt-news {
	--spt-accent: var(--sd-accent, #2ad4e0);
	--spt-surface: var(--sd-surface-2, #1e232b);
	--spt-surface-2: #262c36;
	--spt-text: var(--sd-text, #f1f2f4);
	--spt-muted: var(--sd-muted, #b6bcc6);
	--spt-line: rgba(255, 255, 255, .1);
	--spt-reduit: #92d050;
	--spt-normal: #2ad4e0;
	--spt-radius: 12px;
	color: var(--spt-text);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 2.5rem;
}

/* Titres de section */
.spt-month__title, .spt-tarifs__title, .spt-hours__title, .spt-section-title {
	color: inherit;
	text-align: center;
	font-size: clamp(1.25rem, 3.2vw, 1.7rem);
	font-weight: 800;
	letter-spacing: .02em;
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
}
.spt-month__title::after, .spt-tarifs__title::after, .spt-hours__title::after, .spt-section-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: .5rem auto 0;
	border-radius: 3px;
	background: var(--spt-accent);
}

/* ---------- Planning ---------- */
.spt-month { margin: 0 0 2.5rem; }
.spt-grid {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 6px;
	margin: 0;
	background: transparent;
	border: 0;
}
.spt-grid th {
	background: transparent;
	color: var(--spt-muted);
	font-size: .85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	text-align: center;
	padding: .3rem .2rem;
	border: 0;
}
.spt-grid .spt-short { display: none; }
.spt-grid td {
	height: 5.4rem;
	vertical-align: top;
	padding: .4rem .5rem;
	border: 1px solid var(--spt-line);
	border-radius: 10px;
	background: var(--spt-surface);
	color: var(--spt-text);
}
.spt-grid td.spt-empty { border-color: transparent; background: transparent; }
.spt-grid td.has-event { background: var(--spt-bg); color: var(--spt-fg); border-color: transparent; }
.spt-grid td.is-closed { background: #4a4f57; color: #fff; }
.spt-grid td.is-past { opacity: .35; }
.spt-grid td.is-today { box-shadow: 0 0 0 3px var(--spt-accent); }
.spt-day__num { display: block; font-size: .8rem; font-weight: 700; opacity: .85; }
.spt-day__event { display: block; text-align: center; font-weight: 800; margin-top: .35rem; word-break: break-word; }
.spt-day__note { display: block; text-align: center; font-size: .75rem; opacity: .9; }

.spt-list { display: none; list-style: none; margin: 0; padding: 0; }
.spt-list__item {
	display: flex;
	gap: .75rem;
	align-items: baseline;
	padding: .75rem 1rem;
	margin: 0 0 .5rem;
	border-radius: var(--spt-radius);
	background: var(--spt-bg);
	color: var(--spt-fg);
}
.spt-list__date { flex: 0 0 9.5rem; text-transform: capitalize; font-weight: 600; }
.spt-list__none { opacity: .7; font-style: italic; }

.spt-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.spt-legend li {
	margin: 0;
	padding: .65rem 1rem .65rem 2.4rem;
	border-radius: var(--spt-radius);
	background: var(--spt-surface);
	position: relative;
}
.spt-legend li::before {
	content: "";
	position: absolute;
	left: 1rem; top: 50%;
	width: .8rem; height: .8rem;
	margin-top: -.4rem;
	border-radius: 3px;
	background: var(--spt-bg);
}

/* ---------- Horaires ---------- */
.spt-hours dl {
	margin: 0 auto;
	max-width: 34rem;
	background: var(--spt-surface);
	border-radius: var(--spt-radius);
	padding: .25rem 1.25rem;
}
.spt-hours dl > div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .75rem 0;
	border-bottom: 1px solid var(--spt-line);
}
.spt-hours dl > div:last-child { border-bottom: 0; }
.spt-hours dt { font-weight: 600; margin: 0; }
.spt-hours dd { margin: 0; font-weight: 800; white-space: nowrap; color: var(--spt-accent); }
.spt-hours__feries dt, .spt-hours__feries dd { color: #ff8a8a; }

/* ---------- Tarifs ---------- */
.spt-price-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 0 0 1.5rem;
}
.spt-price-card {
	background: var(--spt-surface);
	border-radius: var(--spt-radius);
	border-top: 4px solid var(--spt-c);
	padding: 1.1rem 1.25rem;
	text-align: center;
}
.spt-price-card__label { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; font-weight: 700; color: var(--spt-muted); }
.spt-price-card__price { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.1; margin: .25rem 0; color: var(--spt-c); }
.spt-price-card__note { display: block; font-size: .9rem; color: var(--spt-muted); }

.spt-rates {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 2rem;
	background: var(--spt-surface);
	border-radius: var(--spt-radius);
	overflow: hidden;
	border: 0;
}
.spt-rates th, .spt-rates td {
	padding: .75rem 1rem;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--spt-line);
	vertical-align: middle;
	background: transparent;
	color: var(--spt-text);
}
.spt-rates tbody tr:last-child > * { border-bottom: 0; }
.spt-rates thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--spt-muted); background: var(--spt-surface-2); }
.spt-rates thead th .spt-dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .4rem; background: var(--spt-c); }
.spt-rates tbody th { font-weight: 700; }
.spt-rates tbody th small { display: block; font-weight: 400; font-size: .85rem; color: var(--spt-muted); }
.spt-rates td.is-reduit { color: var(--spt-reduit); }
.spt-rates td.is-normal { color: var(--spt-normal); }
.spt-rates td { font-weight: 600; }

.spt-prices { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: 8px; }
.spt-prices li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: .85rem 1.1rem;
	margin: 0;
	border-radius: var(--spt-radius);
	background: var(--spt-surface);
}
.spt-prices__label small { color: var(--spt-muted); }
.spt-prices__price { font-weight: 800; font-size: 1.15rem; white-space: nowrap; color: var(--spt-accent); }
.spt-prices__note { font-size: .9rem; color: var(--spt-muted); margin: .5rem 0 2rem; }

.spt-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.spt-info {
	background: var(--spt-surface);
	border-left: 4px solid var(--spt-c);
	border-radius: var(--spt-radius);
	padding: 1rem 1.2rem;
	margin: 0;
}
.spt-info h3 { color: var(--spt-c); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .35rem; }
.spt-info p { margin: 0; }

/* ---------- Nouveautés & promos ---------- */
.spt-news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.spt-news__item {
	background: var(--spt-surface);
	border-radius: var(--spt-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	margin: 0;
}
.spt-news__item.is-featured { box-shadow: 0 0 0 2px var(--spt-accent); }
.spt-news__img { display: block; width: 100%; height: auto; }
.spt-news__body { padding: 1rem 1.2rem 1.2rem; }
.spt-news__badge {
	display: inline-block;
	font-size: .75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .2rem .6rem;
	border-radius: 999px;
	background: var(--spt-accent);
	color: #111;
	margin-bottom: .5rem;
}
.spt-news__title { color: inherit; font-size: 1.2rem; margin: 0 0 .4rem; }
.spt-news__text { margin: 0; }
.spt-news__dates { display: block; margin-top: .6rem; font-size: .85rem; color: var(--spt-muted); }
.spt-news__empty { text-align: center; color: var(--spt-muted); font-style: italic; }

/* ---------- Diaporama léger ---------- */
.spt-slider { position: relative; margin: 0 auto 1.5rem; max-width: 1140px; border-radius: 10px; overflow: hidden; background: #000; }
.spt-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	aspect-ratio: 14 / 9;
}
.spt-slider__track::-webkit-scrollbar { display: none; }
.spt-slider__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.spt-slider__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spt-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 28px;
	line-height: 44px;
	cursor: pointer;
}
.spt-slider__btn:hover, .spt-slider__btn:focus-visible { background: rgba(0, 0, 0, .85); color: #fff; }
.spt-slider__btn--prev { left: 10px; }
.spt-slider__btn--next { right: 10px; }
.spt-slider__count {
	position: absolute;
	right: 12px;
	bottom: 10px;
	margin: 0;
	padding: .15rem .6rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font-size: .8rem;
}

/* Vue « liste » forcée : [sauna_planning vue="liste"] */
.spt-planning.is-list .spt-grid { display: none; }
.spt-planning.is-list .spt-list { display: block; max-width: 640px; margin: 0 auto; }
.spt-planning.is-list .spt-legend { max-width: 640px; margin: 1rem auto 0; }

/* Tablette */
@media (max-width: 900px) {
	.spt-grid .spt-long { display: none; }
	.spt-grid .spt-short { display: inline; }
	.spt-grid { border-spacing: 3px; }
	.spt-grid td { height: 4rem; padding: .25rem; font-size: .85rem; }
}

/* Téléphone */
@media (max-width: 600px) {
	.spt-grid { display: none; }
	.spt-list { display: block; }
	.spt-list__date { flex-basis: 6.5rem; }

	.spt-rates, .spt-rates tbody, .spt-rates tr, .spt-rates th, .spt-rates td { display: block; }
	.spt-rates { background: transparent; }
	.spt-rates thead { display: none; }
	.spt-rates tr { margin: 0 0 .6rem; border-radius: var(--spt-radius); overflow: hidden; background: var(--spt-surface); }
	.spt-rates tbody th { display: flex; justify-content: space-between; align-items: baseline; background: var(--spt-surface-2); }
	.spt-rates tbody th small { display: inline; }
	.spt-rates tbody td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
	.spt-rates tbody td::before { content: attr(data-label); color: var(--spt-muted); font-weight: 600; text-align: left; }
}
