/*
 * OC Club. The font comes from the theme. The club's colour is a setting, printed as
 * --ocl-accent and --ocl-on-accent (the text on a button); the fallbacks here are used when the
 * variables are missing. Logical properties only, so the same rules work right-to-left and
 * left-to-right.
 */
.ocl-area,
.ocl-join,
.ocl-account,
.ocl-modal__box,
.ocl-verify,
.ocl-accept {
	--ocl-a: var(--ocl-accent, #1f2933);
	--ocl-on: var(--ocl-on-accent, #fff);
	--ocl-line: rgba(0, 0, 0, 0.14);
	--ocl-tint: rgba(0, 0, 0, 0.04);
}

.ocl-area {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-block: 0 24px;
	padding: 20px;
	border: 1px solid var(--ocl-line);
	border-radius: calc(14px * var(--ocl-round, 1));
}

.ocl-area p {
	margin: 0;
}

.ocl-row,
.ocl-box,
.ocl-redeem,
.ocl-balance {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ocl-box {
	padding: 14px 18px;
	border: 1px solid var(--ocl-line);
	border-radius: calc(12px * var(--ocl-round, 1));
	background: var(--ocl-tint);
}

.ocl-balance {
	align-items: baseline;
	gap: 8px;
}

.ocl-balance__number {
	font-size: 2em;
	font-weight: 800;
	line-height: 1;
	color: var(--ocl-a, #1f2933);
}

.ocl-balance__unit,
.ocl-strong {
	font-weight: 700;
}

.ocl-accent {
	color: var(--ocl-a, #1f2933);
}

.ocl-muted {
	opacity: 0.75;
	font-size: 0.92em;
}

.ocl-center {
	text-align: center;
}

.ocl-end {
	margin-inline-start: auto;
}

.ocl-button,
.ocl-link,
.ocl-switch {
	min-block-size: 44px;
	font: inherit;
	cursor: pointer;
}

.ocl-button,
a.ocl-button,
button.ocl-button,
.ocl-button:hover,
.ocl-button:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: auto;
	margin: 0;
	padding-block: 10px;
	padding-inline: 24px;
	border: 0;
	border-radius: var(--ocl-pill, 999px);
	background: var(--ocl-a, #1f2933);
	color: var(--ocl-on, #fff);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	opacity: 1;
}

.ocl-button:hover {
	filter: brightness(1.12);
}

.ocl-button--big {
	min-block-size: 52px;
	padding-inline: 36px;
	font-size: 1.1em;
}

.ocl-button[disabled],
.ocl-link[disabled] {
	opacity: 0.5;
	cursor: progress;
}

.ocl-link,
button.ocl-link,
.ocl-link:hover,
.ocl-link:focus {
	inline-size: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-weight: inherit;
	text-decoration: underline;
	text-transform: none;
	box-shadow: none;
}

.ocl-input {
	inline-size: 6.5em;
	min-block-size: 44px;
	text-align: center;
}

.ocl-check {
	inline-size: 24px;
	block-size: 24px;
	border-radius: 50%;
	background: var(--ocl-a, #1f2933);
	flex: none;
}

.ocl-progress {
	block-size: 10px;
	border-radius: var(--ocl-pill, 999px);
	background: var(--ocl-line);
	overflow: hidden;
}

.ocl-progress__bar {
	display: block;
	block-size: 100%;
	border-radius: var(--ocl-pill, 999px);
	background: var(--ocl-a, #1f2933);
}

.ocl-earn {
	padding: 10px 14px;
	border-radius: calc(10px * var(--ocl-round, 1));
	background: var(--ocl-tint);
	text-align: center;
}

.ocl-switch {
	inline-size: 56px;
	padding: 6px 0;
	border: 0;
	background: none;
	flex: none;
}

.ocl-switch__track {
	display: block;
	inline-size: 56px;
	block-size: 32px;
	border-radius: 999px;
	background: var(--ocl-line);
	position: relative;
}

.ocl-switch__thumb {
	position: absolute;
	inset-block-start: 4px;
	inset-inline-start: 4px;
	inline-size: 24px;
	block-size: 24px;
	border-radius: 50%;
	background: #fff;
}

.ocl-switch[aria-checked="true"] .ocl-switch__track {
	background: var(--ocl-a, #1f2933);
}

.ocl-switch[aria-checked="true"] .ocl-switch__thumb {
	inset-inline-start: 28px;
}

.ocl-message {
	color: #b32d2e;
	font-weight: 600;
}

.ocl-button:focus-visible,
.ocl-link:focus-visible,
.ocl-switch:focus-visible,
.ocl-input:focus-visible {
	outline: 2px solid var(--ocl-a, #1f2933);
	outline-offset: 2px;
}

/* Joining: the join page, the form, the join window, and the tab in "My account". */

.ocl-join-form,
.ocl-have-form,
.ocl-account {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ocl-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px 16px;
}

.ocl-field,
.ocl-consent,
.ocl-actions {
	margin: 0;
}

.ocl-field label {
	display: block;
	margin-block-end: 4px;
	font-weight: 600;
}

.ocl-field input {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
}

.ocl-field__help {
	display: block;
	margin-block-start: 4px;
}

.ocl-field__error,
.ocl-required {
	color: #b3261e;
}

.ocl-field__error {
	display: block;
	margin-block-start: 4px;
}

.ocl-required {
	text-decoration: none;
}

.ocl-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 44px;
	cursor: pointer;
}

.ocl-consent input[type="checkbox"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
}

.ocl-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.ocl-join-form .ocl-button,
.ocl-have-form .ocl-button {
	min-height: 44px;
}


.ocl-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
}

.ocl-modal[hidden],
.ocl-join-form [hidden],
.ocl-have-form [hidden] {
	display: none;
}

.ocl-modal__box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: min(560px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	border-radius: calc(16px * var(--ocl-round, 1));
	background: #fff;
	color: #1f2933;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	text-align: start;
}

.ocl-modal__box h2,
.ocl-modal__box p {
	margin: 0;
}

.ocl-modal__close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ocl-notice {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--ocl-line);
	border-radius: calc(12px * var(--ocl-round, 1));
	background: var(--ocl-tint);
	font-weight: 600;
}

.ocl-account section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ocl-account h3,
.ocl-account p,
.ocl-account ul {
	margin: 0;
}

.ocl-account__balance {
	justify-content: space-between;
}

.ocl-account__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 420px;
}


/* The steps a signed-in customer takes before the club opens: phone verification, accepting the terms. */
.ocl-verify,
.ocl-verify-form,
.ocl-accept {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ocl-verify [hidden],
.ocl-accept [hidden] {
	display: none;
}

.ocl-verify .ocl-field input {
	max-width: 280px;
}

/* Nothing of the club that is marked hidden is ever shown, whatever the theme does to the tag. */
.ocl-area [hidden],
.ocl-join [hidden],
.ocl-account [hidden],
.ocl-modal [hidden],
.ocl-modal[hidden] {
	display: none !important;
}

/* The join page. */
.ocl-join {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-inline-size: 980px;
	margin-inline: auto;
}

.ocl-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-block-size: 260px;
	padding: 40px 24px;
	border-radius: calc(20px * var(--ocl-round, 1));
	background-color: var(--ocl-a, #1f2933);
	background-size: cover;
	background-position: center;
	color: var(--ocl-on, #fff);
	text-align: center;
	overflow: hidden;
}

.ocl-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.ocl-hero--image {
	color: #fff;
}

.ocl-hero__text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-inline-size: 640px;
}

.ocl-hero__text p {
	margin: 0;
}

.ocl-join .ocl-hero__title {
	margin: 0;
	padding: 0;
	border: 0;
	color: inherit;
	font-size: clamp(1.8em, 4vw, 2.6em);
	font-weight: 800;
	line-height: 1.15;
}

.ocl-hero__tagline {
	font-size: 1.15em;
	opacity: 0.92;
}

.ocl-hero__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-block-start: 8px;
}

.ocl-hero .ocl-button {
	background: var(--ocl-on, #fff);
	color: var(--ocl-a, #1f2933);
}

.ocl-hero--image .ocl-button {
	background: var(--ocl-a, #1f2933);
	color: var(--ocl-on, #fff);
}

.ocl-hero__free {
	font-size: 0.92em;
	opacity: 0.85;
}

.ocl-hero__terms {
	margin: 0;
	font-size: 0.92em;
}

.ocl-hero__terms a {
	color: inherit;
	text-decoration: underline;
}

/*
 * Some themes colour every link of the content area with an id and "!important" (the theme
 * "meat": div#content a:not(...)), so a link that looks like a button, or a link on the coloured
 * heading, came out dark on dark. The two :not(#...) below match every element and only lift
 * these rules above such a theme rule.
 */
.ocl-hero .ocl-hero__text p {
	color: inherit;
}

a.ocl-button:not(#ocl-x):not(#ocl-y),
a.ocl-button:not(#ocl-x):not(#ocl-y):visited,
a.ocl-button:not(#ocl-x):not(#ocl-y):hover,
a.ocl-button:not(#ocl-x):not(#ocl-y):focus {
	color: var(--ocl-on, #fff) !important;
	text-decoration: none !important;
}

.ocl-hero a.ocl-button:not(#ocl-x):not(#ocl-y),
.ocl-hero a.ocl-button:not(#ocl-x):not(#ocl-y):visited,
.ocl-hero a.ocl-button:not(#ocl-x):not(#ocl-y):hover,
.ocl-hero a.ocl-button:not(#ocl-x):not(#ocl-y):focus {
	color: var(--ocl-a, #1f2933) !important;
}

.ocl-hero--image a.ocl-button:not(#ocl-x):not(#ocl-y),
.ocl-hero--image a.ocl-button:not(#ocl-x):not(#ocl-y):visited,
.ocl-hero--image a.ocl-button:not(#ocl-x):not(#ocl-y):hover,
.ocl-hero--image a.ocl-button:not(#ocl-x):not(#ocl-y):focus {
	color: var(--ocl-on, #fff) !important;
}

.ocl-hero .ocl-hero__terms a:not(#ocl-x):not(#ocl-y),
.ocl-hero .ocl-hero__terms a:not(#ocl-x):not(#ocl-y):visited,
.ocl-hero .ocl-hero__terms a:not(#ocl-x):not(#ocl-y):hover,
.ocl-hero .ocl-hero__terms a:not(#ocl-x):not(#ocl-y):focus {
	color: var(--ocl-on, #fff) !important;
	text-decoration: underline !important;
}

.ocl-hero--image .ocl-hero__terms a:not(#ocl-x):not(#ocl-y),
.ocl-hero--image .ocl-hero__terms a:not(#ocl-x):not(#ocl-y):visited,
.ocl-hero--image .ocl-hero__terms a:not(#ocl-x):not(#ocl-y):hover,
.ocl-hero--image .ocl-hero__terms a:not(#ocl-x):not(#ocl-y):focus {
	color: #fff !important;
}

.ocl-hero__balance {
	font-size: 1.2em;
}

.ocl-hero__balance strong {
	font-size: 2em;
	font-weight: 800;
}

.ocl-join .ocl-perks,
.ocl-modal .ocl-perks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ocl-perk {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 22px 16px;
	border: 1px solid var(--ocl-line);
	border-radius: calc(16px * var(--ocl-round, 1));
	background: #fff;
	text-align: center;
	list-style: none;
}

.ocl-perk::before,
.ocl-step::before {
	content: none;
}

.ocl-perk__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 56px;
	block-size: 56px;
	border-radius: 50%;
	background: var(--ocl-tint);
	color: var(--ocl-a, #1f2933);
}

.ocl-perk__big {
	font-size: 1.25em;
	font-weight: 800;
	color: var(--ocl-a, #1f2933);
}

.ocl-perk__text {
	font-size: 0.95em;
	opacity: 0.8;
}

.ocl-perks--small {
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.ocl-perks--small .ocl-perk {
	padding: 14px 10px;
}

.ocl-perks--small .ocl-perk__icon {
	inline-size: 44px;
	block-size: 44px;
}

.ocl-join .ocl-join__how {
	margin: 8px 0 0;
	text-align: center;
	font-size: 1.4em;
}

.ocl-join .ocl-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.ocl-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 12px;
	text-align: center;
	list-style: none;
}

.ocl-step__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 40px;
	block-size: 40px;
	border-radius: 50%;
	background: var(--ocl-a, #1f2933);
	color: var(--ocl-on, #fff);
	font-weight: 800;
}

.ocl-join__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-block: 8px 16px;
	text-align: center;
}

.ocl-join__bottom p {
	margin: 0;
}

.ocl-join__step {
	padding: 20px;
	border: 1px solid var(--ocl-line);
	border-radius: calc(16px * var(--ocl-round, 1));
}

/* The join window and its form. */
.ocl-modal__box h2 {
	padding: 0;
	border: 0;
	font-size: 1.5em;
	font-weight: 800;
	line-height: 1.2;
}

.ocl-modal__box [data-ocl-pane] {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ocl-modal .ocl-actions {
	justify-content: center;
}

.ocl-join-form .ocl-field input,
.ocl-have-form .ocl-field input,
.ocl-birth select {
	min-block-size: 46px;
	padding-inline: 12px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: calc(10px * var(--ocl-round, 1));
	background: #fff;
	color: inherit;
	font: inherit;
}

.ocl-birth {
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
	grid-column: 1 / -1;
}

.ocl-birth legend {
	margin-block-end: 4px;
	padding: 0;
	font-weight: 600;
}

.ocl-birth__boxes {
	display: grid;
	grid-template-columns: 1fr 1.4fr 1.2fr;
	gap: 8px;
	max-inline-size: 420px;
}

.ocl-birth select {
	inline-size: 100%;
	box-sizing: border-box;
}

.ocl-form__terms {
	margin: 0;
	text-align: center;
}

.ocl-form__terms a {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.ocl-hero {
		min-block-size: 220px;
		padding: 28px 16px;
	}

	.ocl-join .ocl-perks {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.ocl-join .ocl-perk {
		padding: 16px 10px;
	}

	.ocl-modal {
		align-items: flex-end;
		padding: 0;
	}

	.ocl-modal__box {
		inline-size: 100%;
		max-block-size: 92vh;
		border-radius: calc(20px * var(--ocl-round, 1)) calc(20px * var(--ocl-round, 1)) 0 0;
	}
}

/*
 * The title a theme prints above the join page: the club's own heading says the same.
 * Themes put that title in different places (the theme "meat": .top-title > h1, outside the
 * article), so every h1 of the content area goes, except one written in the page's own text.
 * The club's templates have no h1.
 */
.ocl-hide-title .site-content h1:not(.entry-content h1),
.ocl-hide-title main h1:not(.entry-content h1),
.ocl-hide-title .site-main > h1:first-child,
.ocl-hide-title .entry-header,
.ocl-hide-title h1.entry-title,
.ocl-hide-title .page-header,
.ocl-hide-title h1.page-title {
	display: none !important;
}

/* A theme's own look for fieldsets and legends does not belong in the club's forms. */
.ocl-join-form fieldset.ocl-birth,
.ocl-account fieldset.ocl-birth,
.ocl-registration fieldset.ocl-birth {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.ocl-join-form .ocl-birth legend,
.ocl-account .ocl-birth legend,
.ocl-registration .ocl-birth legend {
	float: none;
	inline-size: auto;
	margin: 0 0 4px !important;
	padding: 0 !important;
	border: 0;
	background: none;
	color: inherit;
	font-size: 1em !important;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
}

/* The last screen of the join window. */
.ocl-done__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	inline-size: 64px;
	block-size: 64px;
	margin: 0 auto !important;
	border-radius: 50%;
	background: var(--ocl-a, #1f2933);
	color: var(--ocl-on, #fff);
	font-size: 32px;
	line-height: 1;
}

.ocl-join-form [data-ocl-step="done"] {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.ocl-join-form [data-ocl-step="birth"],
.ocl-join-form [data-ocl-step="code"] {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* The club page in "My account". */
.ocl-account {
	gap: 18px;
	max-inline-size: 900px;
}

.ocl-hero--small {
	min-block-size: 0;
	padding: 32px 20px;
}

.ocl-account .ocl-hero .ocl-hero__title {
	margin: 0;
	padding: 0;
	border: 0;
	color: inherit;
	font-size: clamp(1.5em, 3vw, 2em);
	font-weight: 800;
}

.ocl-account .ocl-perks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ocl-account .ocl-card,
.ocl-account details.ocl-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--ocl-line);
	border-radius: calc(16px * var(--ocl-round, 1));
	background: #fff;
	list-style: none;
}

/* The club around the shop: a line on a product page, in the cart and in the small cart. */
.ocl-teaser {
	--ocl-a: var(--ocl-accent, #1f2933);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-block: 12px;
	padding: 8px 12px;
	border-radius: calc(10px * var(--ocl-round, 1));
	background: #faf3ec;
	color: inherit;
	font-size: 0.95em;
	line-height: 1.5;
	text-align: start;
}

.ocl-teaser__text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ocl-teaser .ocl-icon {
	flex: none;
	inline-size: 18px;
	block-size: 18px;
}

.ocl-teaser__more {
	opacity: 0.75;
}

.ocl-teaser .ocl-teaser__links a:not(#ocl-x):not(#ocl-y) {
	color: #a8824f !important;
	font-weight: 700;
	text-decoration: underline !important;
}

/* In the cart the line stands on its own above the button, centred. */
.ocl-teaser--cart {
	flex-direction: column;
	justify-content: center;
	padding: 12px;
	background: none;
	text-align: center;
}

.ocl-teaser--cart .ocl-teaser__text {
	font-weight: 700;
}

.ocl-teaser--cart .ocl-icon {
	display: none;
}

.ocl-chip--balance {
	background: #a8824f;
	color: #fff;
}

/* The club page of a member: the points and the tabs in the wide column, and what the club gave so far beside them. */
.ocl-account__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
	gap: 32px;
	align-items: start;
}

.ocl-account__grid--one {
	grid-template-columns: minmax(0, 1fr);
}

.ocl-account__main,
.ocl-account__side {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-inline-size: 0;
}

.ocl-account .ocl-account__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
}

.ocl-account .ocl-account__top p {
	margin: 0;
	color: inherit;
}

.ocl-account .ocl-account__name {
	font-size: 1.05em;
}

.ocl-account .ocl-account__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 1.15em;
	font-weight: 700;
}

.ocl-account__label .ocl-icon {
	inline-size: 20px;
	block-size: 20px;
}

.ocl-account .ocl-account__number {
	font-size: clamp(2.6em, 6vw, 3.4em);
	font-weight: 800;
	line-height: 1.05;
}

.ocl-chip {
	display: inline-block;
	padding: 3px 12px;
	border-radius: var(--ocl-pill, 999px);
	background: #f6ece2;
	color: #7a5a2b;
	font-size: 0.85em;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.ocl-chip--ok,
.ocl-chip--soon,
.ocl-chip--gone {
	border-radius: 999px;
}

.ocl-chip--ok {
	background: #a8824f;
	color: #fff;
}

.ocl-chip--soon {
	background: #d9480f;
	color: #fff;
}

.ocl-chip--gone {
	background: #b9b9b9;
	color: #fff;
}

.ocl-chip--used {
	background: none;
	padding-inline: 0;
	color: inherit;
	font-weight: 400;
	opacity: 0.6;
}

.ocl-account .ocl-account__alert {
	margin-block-start: 10px;
	padding: 10px 16px;
	border-radius: calc(10px * var(--ocl-round, 1));
	background: #fff;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
}

.ocl-account .ocl-account__alert strong {
	color: #d9480f;
	font-weight: 700;
}

.ocl-account .ocl-account__note {
	font-size: 0.92em;
	opacity: 0.8;
}

.ocl-summary {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px 30px;
	border-radius: calc(16px * var(--ocl-round, 1));
	background: #f1f1f1;
}

.ocl-account .ocl-summary p,
.ocl-account .ocl-summary dl,
.ocl-account .ocl-summary dt,
.ocl-account .ocl-summary dd {
	margin: 0;
	padding: 0;
	color: inherit;
}

.ocl-summary__since {
	font-size: 0.9em;
	opacity: 0.75;
}

.ocl-summary__headline {
	font-size: 1.1em;
	line-height: 1.4;
}

.ocl-summary__headline strong {
	display: block;
	font-size: 1.15em;
	font-weight: 800;
}

.ocl-summary__numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	margin-block-start: 18px !important;
}

.ocl-summary__numbers dt {
	font-size: 0.95em;
	font-weight: 400;
}

.ocl-summary__numbers dd {
	font-size: 1.35em;
	font-weight: 800;
	line-height: 1.2;
}

@media (max-width: 900px) {
	.ocl-account__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
}

.ocl-tabbar {
	display: flex;
	gap: 6px;
	padding: 5px;
	border-radius: var(--ocl-pill, 999px);
	background: var(--ocl-tint);
}

/*
 * The tabs are buttons. A theme has a look of its own for buttons (and "meat" colours links with an
 * id and "!important"), so everything a theme may set is set here, and the colours are lifted with
 * the two :not(#...) like the link-buttons above.
 */
.ocl-tabbar .ocl-tabbar__tab,
.ocl-tabbar .ocl-tabbar__tab:hover,
.ocl-tabbar .ocl-tabbar__tab:focus {
	flex: 1;
	min-block-size: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: auto;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: var(--ocl-pill, 999px);
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	opacity: 1;
	cursor: pointer;
}

.ocl-tabbar .ocl-tabbar__tab:not(#ocl-x):not(#ocl-y),
.ocl-tabbar .ocl-tabbar__tab:not(#ocl-x):not(#ocl-y):hover,
.ocl-tabbar .ocl-tabbar__tab:not(#ocl-x):not(#ocl-y):focus {
	background: transparent !important;
	color: inherit !important;
}

.ocl-tabbar .ocl-tabbar__tab:not(#ocl-x):not(#ocl-y):hover {
	background: rgba(0, 0, 0, 0.06) !important;
}

.ocl-tabbar .ocl-tabbar__tab.is-on:not(#ocl-x):not(#ocl-y),
.ocl-tabbar .ocl-tabbar__tab.is-on:not(#ocl-x):not(#ocl-y):hover,
.ocl-tabbar .ocl-tabbar__tab.is-on:not(#ocl-x):not(#ocl-y):focus {
	background: var(--ocl-a, #1f2933) !important;
	color: var(--ocl-on, #fff) !important;
}

.ocl-tabbar .ocl-tabbar__tab:focus-visible {
	outline: 2px solid var(--ocl-a, #1f2933);
	outline-offset: 2px;
}

/* With the tabs working, the tab already says what the part is; without the script the headings stay. */
.ocl-tabs-on .ocl-panel > .ocl-panel__title {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ocl-account .ocl-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ocl-account .ocl-account__history {
	inline-size: 100%;
	margin: 0;
	border-collapse: collapse;
}

.ocl-account .ocl-account__history th,
.ocl-account .ocl-account__history td {
	padding: 12px 10px;
	border: 0;
	border-block-end: 1px solid var(--ocl-line);
	background: none;
	text-align: start;
}

.ocl-account .ocl-account__history th {
	font-weight: 700;
}

.ocl-account .ocl-account__history td:first-child {
	white-space: nowrap;
}

/* On a phone every row of the history is a small block: the date and the points, what happened, and the balance. */
@media (max-width: 600px) {
	.ocl-account .ocl-account__history thead {
		display: none;
	}

	.ocl-account .ocl-account__history,
	.ocl-account .ocl-account__history tbody {
		display: block;
	}

	.ocl-account .ocl-account__history tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px 12px;
		align-items: center;
		padding-block: 12px;
		border-block-end: 1px solid var(--ocl-line);
	}

	.ocl-account .ocl-account__history td {
		display: block;
		padding: 0;
		border: 0;
	}

	.ocl-account .ocl-account__history td:empty {
		display: none;
	}

	.ocl-account .ocl-account__history td:nth-child(1) {
		grid-column: 1;
		font-size: 0.88em;
		opacity: 0.7;
	}

	.ocl-account .ocl-account__history td:nth-child(2) {
		grid-column: 2;
		grid-row: 1 / span 2;
		font-size: 1.2em;
		text-align: end;
	}

	.ocl-account .ocl-account__history td:nth-child(3),
	.ocl-account .ocl-account__history td:nth-child(4) {
		grid-column: 1;
	}

	.ocl-account .ocl-account__history td:nth-child(5) {
		grid-column: 2;
		font-size: 0.88em;
		font-weight: 400;
		text-align: end;
	}

	.ocl-account .ocl-account__history td:nth-child(5)::before {
		content: attr(data-title) " ";
		opacity: 0.7;
	}
}

.ocl-account .ocl-account__points,
.ocl-account .ocl-account__after {
	font-weight: 700;
	white-space: nowrap;
}

.ocl-account .ocl-account__benefits {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.ocl-account summary {
	cursor: pointer;
	inline-size: fit-content;
}

.ocl-account .ocl-account__leave {
	border-style: dashed;
}

.ocl-danger,
button.ocl-danger {
	color: #b3261e;
}

@media (max-width: 600px) {
	.ocl-tabbar .ocl-tabbar__tab {
		padding-inline: 6px;
		font-size: 0.92em;
	}
}

.ocl-modal__box:has([data-ocl-step="done"]:not([hidden])) [data-ocl-heading] {
	text-align: center;
}
