/* Driving Educators pricing block. Mirrors the pricing section on drivingeducators.nl. */
.dep-pricing {
	--dep-ink: #242424;
	--dep-green: #26594F;
	--dep-green-2: #1E5552;
	--dep-mint: #0FFF9F;
	--dep-mint-soft: #E4FDF3;
	--dep-bg: #F3F7F6;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--dep-ink);
	box-sizing: border-box;
	width: 100%;
	text-align: left;
	container-type: inline-size;
	container-name: dep;
	-webkit-font-smoothing: antialiased;
}
.dep-pricing *, .dep-pricing *::before, .dep-pricing *::after { box-sizing: border-box; }
.dep-pricing.dep-bg { background: var(--dep-bg); border-radius: 28px; padding: 64px 40px; }
.dep-pricing p, .dep-pricing h2, .dep-pricing h3, .dep-pricing ul { margin: 0; padding: 0; }

/* Heading */
.dep-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.dep-eyebrow { display: inline-block; background: var(--dep-mint-soft); color: #0BB874; font-size: 14px; font-weight: 600; line-height: 1; padding: 12px 24px; border-radius: 100px; margin-bottom: 18px; }
.dep-pricing .dep-title { font-family: inherit; font-size: 48px; font-weight: 700; line-height: 1.2; color: var(--dep-ink); letter-spacing: -0.01em; text-transform: none; }
.dep-pricing .dep-title span { color: var(--dep-mint); }
.dep-sub { margin-top: 12px !important; font-size: 16px; line-height: 1.6; color: var(--dep-green); }

/* Grid + cards */
.dep-grid { display: grid; align-items: start; grid-template-columns: 1fr; gap: 24px; max-width: 1300px; margin: 0 auto; }
.dep-card { background: #FFFFFF; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.dep-pricing .dep-card-title { font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--dep-ink); text-transform: none; letter-spacing: 0; }
.dep-card-sub { font-size: 14px; line-height: 1.5; color: var(--dep-green); margin-top: -16px !important; }
.dep-total { line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.dep-total strong { font-size: 36px; font-weight: 700; color: var(--dep-ink); letter-spacing: -0.01em; }
.dep-total span { font-size: 14px; color: var(--dep-ink); }
.dep-note { margin-top: -14px !important; }

/* Features */
.dep-features { list-style: none !important; display: grid; gap: 10px; }
.dep-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--dep-green); margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dep-features li::before { content: none !important; }
.dep-check { width: 14px; height: 14px; flex: none; fill: var(--dep-mint); }

/* Add-ons */
.dep-addons { display: grid; gap: 8px; }
.dep-addons-title { font-size: 13px; font-weight: 600; color: var(--dep-green-2); margin-bottom: 2px !important; }
.dep-addon { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dep-green-2); cursor: pointer; margin: 0; line-height: 1.3; font-weight: 400; }
.dep-addon input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: #0DF2A0; cursor: pointer; }
.dep-addon span { flex: 1; }
.dep-addon strong { font-size: 13px; font-weight: 600; color: var(--dep-green-2); }

/* Buttons */
.dep-pricing .dep-btn { display: block !important; width: 100% !important; max-width: none !important; box-sizing: border-box !important; margin-top: auto; background: var(--dep-mint); color: var(--dep-ink); border: 0; border-radius: 7px; padding: 18px 20px; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: filter .15s ease, transform .15s ease; text-transform: none; letter-spacing: 0; box-shadow: none; }
.dep-pricing .dep-btn:hover { filter: brightness(.95); color: var(--dep-ink); }
.dep-pricing .dep-btn:focus-visible { outline: 3px solid var(--dep-ink); outline-offset: 2px; }
.dep-msg { font-size: 13px; color: #B42318; min-height: 0; margin-top: -10px !important; }
.dep-msg:empty { display: none; }

/* Single rates */
.dep-rates { list-style: none !important; display: grid; gap: 10px; }
.dep-rates li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dep-rates li::before { content: none !important; }
.dep-rate { display: flex; align-items: center; gap: 12px; margin: 0 -10px; padding: 5px 10px; border-radius: 10px; text-decoration: none !important; color: var(--dep-ink); transition: background .15s ease; }
a.dep-rate:hover, a.dep-rate:focus-visible { background: rgba(15, 255, 159, .12); color: var(--dep-ink); }
.dep-rate-title { flex: 1; font-size: 14px; font-weight: 500; color: var(--dep-ink); }
.dep-rate-price { font-size: 14px; font-weight: 600; color: var(--dep-mint); white-space: nowrap; }
.dep-book { flex: none; padding: 4px 11px; border-radius: 999px; background: var(--dep-ink); color: #FFFFFF; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; transition: background .15s ease, color .15s ease; }
a.dep-rate:hover .dep-book { background: var(--dep-mint); color: var(--dep-ink); }

/* Responsive: based on the width of the block itself, so it works in any page builder column. */
@container dep (min-width: 640px) {
	.dep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container dep (min-width: 1020px) {
	.dep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container dep (max-width: 760px) {
	.dep-pricing .dep-title { font-size: 34px; }
	.dep-head { margin-bottom: 28px; }
}
@media (max-width: 700px) {
	.dep-pricing.dep-bg { width: auto; margin-left: -20px; margin-right: -20px; padding: 36px 12px; border-radius: 20px; }
	.dep-grid { gap: 16px; }
	.dep-card { padding: 24px; }
}
/* Mobile: swipe slider instead of five stacked cards */
.dep-dots { display: none; }
@container dep (max-width: 639px) {
	.dep-grid {
		display: flex; align-items: flex-start; gap: 14px;
		overflow-x: auto; overflow-y: hidden; transition: height .25s ease; scroll-snap-type: x mandatory; scroll-behavior: smooth;
		margin: 0 -12px; padding: 4px 12px 10px; scroll-padding: 0 12px;
		scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
	}
	.dep-grid::-webkit-scrollbar { display: none; }
	.dep-card { flex: 0 0 88%; scroll-snap-align: center; }
	.dep-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
	.dep-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: #C9DCD6; cursor: pointer; transition: width .2s ease, background .2s ease; }
	.dep-dots button[aria-current="true"] { width: 24px; background: var(--dep-green); }
}

/* Fallback for browsers without container queries */
@supports not (container-type: inline-size) {
	@media (min-width: 1100px) { .dep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
	@media (min-width: 701px) and (max-width: 1099px) { .dep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}
