/* Nordskoven Priser – frontend
   Farver fra temaet: grøn #0d6f44, mørkegrøn #17423c, gul #f0ad2a, sand #f2edd9, kort #f8f6ec */

.nsp {
	--nsp-green: #0d6f44;
	--nsp-dark: #17423c;
	--nsp-yellow: #f0ad2a;
	--nsp-card: #f8f6ec;
	--nsp-line: #e6e0c8;
	--nsp-muted: #5c6b68;
	color: var(--nsp-dark);
	font-variant-numeric: tabular-nums;
}

/* ---------- Overskrift ---------- */
#main-content .nsp-heading,
.nsp-heading {
	margin: 0 0 32px;
	padding: 0;
	text-align: center;
	color: var(--nsp-dark);
}

/* ---------- Sæsoner ---------- */
.nsp-seasons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.nsp-season {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px 26px 24px;
	border-radius: 6px;
	background: #fff;
	color: var(--nsp-dark);
	box-shadow: inset 0 0 0 1px var(--nsp-line);
}
.nsp-season--1 { background: var(--nsp-green); color: #fff; box-shadow: none; }
.nsp-season--2 { background: var(--nsp-dark); color: #fff; box-shadow: none; }
.nsp-season__label {
	font-family: "Open Sans", sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: .75;
}
.nsp-season__name {
	font-family: 'Caladea', Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
}
.nsp-season__dates {
	font-size: 15px;
}
.nsp-season-note {
	margin: 14px auto 0;
	max-width: 760px;
	text-align: center;
	padding: 0 !important;
	color: var(--nsp-muted);
	font-size: 13px;
	line-height: 1.6;
}

/* ---------- Faner ---------- */
.nsp-tabs {
	position: relative;
	display: flex;
	gap: 6px;
	margin: 44px auto 22px;
	padding: 6px;
	width: max-content;
	max-width: 100%;
	overflow-x: auto;
	border-radius: 50px;
	background: var(--nsp-card);
	box-shadow: inset 0 0 0 1px var(--nsp-line);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.nsp-tabs::-webkit-scrollbar { display: none; }
.nsp .nsp-tab {
	flex: 0 0 auto;
	margin: 0;
	padding: 12px 26px;
	border: 0;
	border-radius: 50px;
	background: transparent;
	color: var(--nsp-dark);
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}
.nsp .nsp-tab:hover { background: rgba(13, 111, 68, .08); }
.nsp .nsp-tab.is-active {
	background: var(--nsp-dark);
	color: #fff;
}
.nsp .nsp-tab:focus-visible {
	outline: 2px solid var(--nsp-yellow);
	outline-offset: 2px;
}
.nsp-seasons + .nsp-panel,
.nsp-season-note + .nsp-panel { margin-top: 36px; }
.nsp-panel[hidden] { display: none; }
.nsp-panel:focus { outline: none; }
.nsp-panel__title { margin: 36px 0 14px; padding: 0; }

/* ---------- Tabel ---------- */
.nsp-table-wrap {
	overflow: hidden;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 0 var(--nsp-line), 0 10px 30px rgba(23, 66, 60, .06);
}
.nsp .nsp-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
	table-layout: auto;
}
.nsp .nsp-table th,
.nsp .nsp-table td {
	border: 0;
	vertical-align: top;
	text-align: left;
}
.nsp .nsp-table thead th {
	padding: 18px 26px;
	background: var(--nsp-dark);
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	white-space: nowrap;
}
.nsp .nsp-table thead .nsp-col-price {
	width: 15%;
	text-align: right;
}
.nsp-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin: -1px 8px 0 0;
	border-radius: 50%;
	vertical-align: middle;
	background: #fff;
}
.nsp-dot--1 { background: #3fb27f; }
.nsp-dot--2 { background: var(--nsp-yellow); }

.nsp-group + .nsp-group { border-top: 1px solid var(--nsp-line); }
.nsp .nsp-row th,
.nsp .nsp-row td {
	padding: 6px 26px;
}
.nsp .nsp-row--main th,
.nsp .nsp-row--main td {
	padding-top: 22px;
	padding-bottom: 8px;
}
.nsp .nsp-group > .nsp-row:last-child th,
.nsp .nsp-group > .nsp-row:last-child td {
	padding-bottom: 22px;
}
.nsp-group:hover { background: #fcfbf6; }

.nsp-name__title {
	display: block;
	font-family: 'Caladea', Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--nsp-dark);
}
.nsp-name__desc {
	display: block;
	margin-top: 3px;
	color: var(--nsp-muted);
	font-size: 14px;
	font-weight: 400;
}
.nsp .nsp-table .nsp-price {
	text-align: right;
	font-size: 17px;
	font-weight: 600;
	color: var(--nsp-dark);
	white-space: nowrap;
}
.nsp .nsp-table .nsp-price--text {
	font-size: 14px;
	font-weight: 400;
	font-style: italic;
	color: var(--nsp-muted);
	white-space: normal;
}
.nsp-fixed-label {
	margin-right: 10px;
	color: var(--nsp-muted);
	font-size: 10px;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

/* Tillæg / underlinjer */
.nsp .nsp-row--sub th { padding-left: 46px; position: relative; }
.nsp .nsp-row--sub th::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 16px;
	width: 8px;
	height: 2px;
	background: var(--nsp-yellow);
}
.nsp-row--sub .nsp-name__title {
	display: inline;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--nsp-dark);
}
.nsp-row--sub .nsp-name__desc {
	display: inline;
	margin: 0 0 0 8px;
	font-size: 13px;
}
.nsp-row--sub .nsp-name__desc::before { content: "· "; }
.nsp .nsp-row--sub .nsp-price {
	font-size: 14px;
	font-weight: 400;
	color: var(--nsp-muted);
}

.nsp-table-note {
	margin-top: 16px;
	color: var(--nsp-muted);
	font-size: 13px;
}
.nsp-table-note p { padding-bottom: 6px; }

/* Hvis tabellen ligger i en sektion med id="priser" (temaets gamle tabel-styling) */
#priser .nsp .nsp-table,
#priser .nsp .nsp-table td,
#priser .nsp .nsp-table th { background: transparent !important; border: 0 !important; font-size: inherit !important; }
#priser .nsp .nsp-table thead th { background: var(--nsp-dark) !important; }
#priser .nsp .nsp-row td { padding: 6px 26px !important; }

/* ---------- Tablet / mobil ---------- */
@media only screen and (max-width: 1000px) {
	.nsp-season { padding: 18px 20px; }
	.nsp-season__name { font-size: 23px; }
	.nsp .nsp-row th,
	.nsp .nsp-row td,
	.nsp .nsp-table thead th { padding-left: 18px; padding-right: 18px; }
}

@media only screen and (max-width: 760px) {
	.nsp-seasons { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.nsp-season { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 14px 18px; }
	.nsp-season__label { display: none; }
	.nsp-season__name { font-size: 20px; }
	.nsp-season__dates { font-size: 14px; }

	.nsp-tabs { width: auto; margin-top: 32px; flex-wrap: wrap; justify-content: center; border-radius: 22px; overflow: visible; }
	.nsp .nsp-tab { padding: 11px 18px; font-size: 11px; letter-spacing: 1.5px; }

	.nsp .nsp-table,
	.nsp .nsp-table tbody,
	.nsp .nsp-table tr,
	.nsp .nsp-table th,
	.nsp .nsp-table td { display: block; }
	.nsp .nsp-table thead { display: none; }

	.nsp .nsp-table tbody.nsp-group { padding: 18px 0 16px; }
	.nsp .nsp-table .nsp-row {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 8px;
		padding: 0 18px;
	}
	.nsp .nsp-row th,
	.nsp .nsp-row td,
	.nsp .nsp-row--main th,
	.nsp .nsp-row--main td,
	.nsp .nsp-group > .nsp-row:last-child th,
	.nsp .nsp-group > .nsp-row:last-child td { padding: 0; }
	.nsp .nsp-row .nsp-name { grid-column: 1 / -1; margin-bottom: 10px; }

	.nsp .nsp-table .nsp-price {
		padding: 8px 10px !important;
		border-radius: 4px;
		background: var(--nsp-card);
		text-align: left;
	}
	.nsp .nsp-table .nsp-price::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--nsp-muted);
		font-size: 10px;
		font-weight: 600;
		font-style: normal;
		letter-spacing: 1.5px;
		text-transform: uppercase;
	}
	.nsp .nsp-table .nsp-price--fixed { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
	.nsp .nsp-table .nsp-price--fixed::before { content: none; }

	.nsp .nsp-row--sub { margin-top: 12px; }
	.nsp .nsp-table .nsp-group > .nsp-row--sub th { padding-left: 14px; }
	.nsp .nsp-row--sub th::before { left: 0; top: 10px; }
	.nsp .nsp-row--sub .nsp-name { margin-bottom: 6px; }
	.nsp .nsp-row--sub .nsp-price { padding: 6px 10px !important; background: #fbfaf4; }
	.nsp .nsp-table .nsp-row--sub .nsp-price--fixed { display: flex; }

	.nsp-name__title { font-size: 19px; }
}
