/*
 * Soccerloop shop styles.
 *
 * Every value that belongs to the design system is a custom property generated
 * from design/tokens.json (see inc/tokens.php), so this file carries layout and
 * components, never a colour of its own.
 */

/* --------------------------------------------------------------- ground */

/* The staging kit prints a fixed STAGING bar. Its height depends on how the text
   wraps, so the script measures it into --sl-staging-bar and everything that sits
   under it is offset by that height. A guessed offset left a band between the bar
   and the slim bar, and the drawer and the buy bar slid under the bar. */
body:has(#jdk-staging-bar) {
	padding-top: var(--sl-staging-bar, 0px) !important;
}

@media (min-width: 768px) {
	/* The buy bar is a phone element and is hidden above 768 px; the offset is
	   here so the rule reads next to the staging bar one. */
	.sl-buybar {
		bottom: var(--sl-staging-bar, 0px);
	}
}

html {
	-webkit-text-size-adjust: 100%;
}

body.sl {
	/* The parent theme turns the body into a grid for its block templates. This
	   theme's templates are classic, and a grid body makes every wrapper a grid
	   item that is only as wide as its content. */
	display: block;
	margin: 0;
	background: var(--kreide);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.sl * {
	box-sizing: border-box;
}

body.sl p,
body.sl ul,
body.sl ol,
body.sl dl,
body.sl figure,
body.sl blockquote {
	margin: 0;
}

body.sl ul,
body.sl ol {
	padding: 0;
	list-style: none;
}

body.sl img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* A link in running text is blue and underlined. The selector is wrapped in
   :where() on purpose: it carries no specificity, so every component can state
   its own link style without having to repeat the body prefix. Without it,
   "body.sl a" (0,1,2) beat ".sl-nav a" (0,1,1) and the nav came out looking
   like body copy. */
:where(body.sl) a {
	color: var(--loop-blau-700);
	text-decoration: underline;
	text-underline-offset: 2px;
}

:where(body.sl) a:hover {
	color: var(--loop-blau-800);
}

body.sl table {
	border-collapse: collapse;
	width: 100%;
}

.sl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ----------------------------------------------------------------- type */

/* The colour is left to inherit on purpose: a dark section sets it once and the
   heading follows, instead of every heading asserting ink over it. */
body.sl h1,
body.sl h2,
body.sl h3,
body.sl h4 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.sl-display {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 64px;
	line-height: 0.9;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-16);
	color: var(--ink);
}

.sl-h1 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 40px;
	line-height: 0.95;
	letter-spacing: -0.01em;
	/* The spacing system, in one place: a heading carries its own bottom margin,
	   so the block under it starts there and not at the heading's line box. */
	margin: 0 0 var(--space-16);
}

.sl-h2 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.01em;
	/* 16 px of air under a heading, so the text below it starts there and not at
	   the line box of the heading. */
	margin: 0 0 var(--space-16);
}

.sl-h3 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1.1;
	letter-spacing: -0.01em;
	/* 8 px under a heading that introduces one thing, e.g. a card title. */
	margin: 0 0 var(--space-8);
}

.sl-trikot {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 104px;
	line-height: 0.85;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--ink);
}

.sl-lead {
	font-size: 18px;
	line-height: 27px;
	/* The lead is the last line of its block: 24 px before whatever follows. */
	margin: 0 0 var(--space-24);
}

.sl-small {
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
}

.sl-price {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	margin: 0;
}

.sl-price--large {
	font-size: 48px;
	line-height: 1;
}

body.sl strong,
body.sl b {
	font-weight: 600;
}

@media (min-width: 768px) {
	/* The display style runs from the artboard's 80 px at 1280 up to the token's
	   104 px on a wide screen, so the headline never needs to overflow the buy
	   column it shares with the size picker and the price. */
	.sl-display {
		font-size: clamp(72px, 6.4vw, 104px);
		line-height: 0.9;
	}
	.sl-h1 {
		font-size: 64px;
	}
	.sl-h2 {
		font-size: 40px;
	}
	.sl-lead {
		font-size: 20px;
		line-height: 30px;
	}
	.sl-price {
		font-size: 48px;
	}
	.sl-trikot {
		font-size: 160px;
	}
}

/* The consent manager prints a round reopen button in the corner of every page,
   on top of the shop's own content (it covered the checkout's fields). The shop
   keeps the cookie entry in the footer, which opens the same manager, so the
   floating button is not shown. */
.suduconman-reopen {
	display: none !important;
}

/* ------------------------------------------------------- the spacing rhythm */

/* The rhythm every page shares, so the same kind of block sits the same
   distance from its neighbour everywhere:
     label to control      8
     field to field        16
     group to group        32
     paragraph to paragraph 16
   Section padding is 64/96 (see .sl-section) and nothing may add to it. */
body.sl p {
	margin: 0 0 var(--space-16);
}

/* A paragraph directly after one has no top margin of its own: the 16 px comes
   from the paragraph above, so the gap is 16 and not 32. */
body.sl p + p {
	margin-top: 0;
}

body.sl p:last-child,
body.sl .sl-buy-intro > :last-child,
body.sl .sl-band-text > :last-child {
	margin-bottom: 0;
}

/* Blocks that follow each other inside one section read as groups: 24 px. */
.sl-stack > * + * {
	margin-top: var(--space-24);
}

/* --------------------------------------------------------------- layout */

.sl-wrap {
	max-width: 1248px;
	margin: 0 auto;
	padding-left: var(--space-16);
	padding-right: var(--space-16);
}

.sl-narrow {
	max-width: 760px;
}

@media (min-width: 768px) {
	.sl-wrap {
		padding-left: var(--space-24);
		padding-right: var(--space-24);
	}
}

/* 64 top and bottom on a phone, 96 from 768 px. Set once here, so a section's
   internal margins cannot open a bigger gap between two of them. */
.sl-section {
	padding: var(--space-64) 0;
	margin: 0;
}

/* The band is a section too and carries the same padding, so a heading in it
   never sits on its top edge. */
.sl-band {
	padding: var(--space-64) 0;
	margin: 0;
}

.sl-paper {
	background: var(--papier);
}

.sl-toprule {
	border-top: var(--kreidelinie) solid var(--loop-blau);
}

.sl-dark {
	background: var(--flutlicht);
	color: var(--auf-flutlicht);
}

.sl-dark h1,
.sl-dark h2,
.sl-dark h3,
.sl-dark .sl-h2,
.sl-dark .sl-h3 {
	color: var(--auf-flutlicht);
}

.sl-band-grid,
.sl-founder,
.sl-club-hero,
.sl-club-contact,
.sl-tier {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-24);
}

@media (min-width: 768px) {
	.sl-section {
		padding: var(--space-96) 0;
	}
	/* The band is a section, so it carries the same 64/96 padding. Without it
	   the heading sat on the band's top edge. */
	.sl-band {
		padding: var(--space-96) 0;
	}
	.sl-band-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: var(--space-24);
		align-items: center;
	}
	.sl-band-text {
		grid-column: 7 / span 6;
		display: flex;
		flex-direction: column;
		gap: var(--space-24);
	}
	/* With no photo in the band there is nothing on the left, so the text takes
	   the first eight columns instead of leaving half the row empty. */
	.sl-band-grid:not(:has(.sl-band-figure)) .sl-band-text {
		grid-column: 1 / span 8;
	}
	.sl-founder {
		grid-template-columns: 5fr 7fr;
		align-items: center;
	}
	.sl-club-hero {
		grid-template-columns: 7fr 5fr;
	}
	.sl-tier {
		grid-template-columns: 4fr 8fr;
	}
	.sl-club-contact {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.sl-club-contact > div {
		max-width: 68ch;
	}
}

.sl-figure {
	margin: 0;
}

.sl-figure img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.sl-cap {
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
	margin-top: var(--space-8);
}

.sl-dark .sl-cap {
	color: var(--auf-flutlicht);
}

.sl-rule {
	display: block;
	height: var(--kreidelinie);
	background: var(--loop-gruen);
	width: 120px;
}

/* --------------------------------------------------------------- buttons */

.sl-btn {
	font-family: var(--font-text);
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	min-height: 48px;
	padding: 12px 20px;
	border-radius: var(--radius-control);
	border: var(--haarlinie) solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-8);
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	color: var(--ink);
	text-align: center;
}

/* The link colour of the parent theme is set with a :where() selector that
   outranks a single class, so the colours of a button are asserted. */
.sl-btn--primary {
	background: var(--loop-blau-700);
	border-color: var(--loop-blau-700);
	color: var(--papier) !important;
}

.sl-btn--primary:hover,
.sl-btn--primary:focus {
	background: var(--loop-blau-800);
	border-color: var(--loop-blau-800);
	color: var(--papier) !important;
}

.sl-btn--secondary {
	border: 2px solid var(--ink);
	color: var(--ink) !important;
}

.sl-btn--secondary:hover {
	background: var(--papier);
	color: var(--ink) !important;
}

a.sl-btn,
button.sl-btn,
.sl-btn:visited,
.sl-btn:hover,
.sl-btn:focus {
	text-decoration: none !important;
}

.sl-btn--big {
	min-height: 56px;
	font-size: 18px;
}

.sl-btn--block {
	width: 100%;
}

.sl-btn[disabled] {
	background: var(--linie);
	border-color: var(--linie);
	color: var(--text-gedaempft) !important;
	cursor: not-allowed;
}

body.sl button:focus-visible,
body.sl a:focus-visible,
body.sl input:focus-visible,
body.sl select:focus-visible,
body.sl summary:focus-visible,
body.sl [tabindex]:focus-visible {
	outline: var(--fokusring) solid var(--fokus);
	outline-offset: 2px;
}

.sl-dark button:focus-visible,
.sl-dark a:focus-visible,
.sl-dark [tabindex]:focus-visible,
.sl-footer button:focus-visible,
.sl-footer a:focus-visible,
.sl-drawer button:focus-visible,
.sl-drawer a:focus-visible,
.sl-drawer select:focus-visible,
.sl-buybar button:focus-visible,
.sl-buybar a:focus-visible {
	outline-color: var(--karte);
}

.sl-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-12);
}

/* --------------------------------------------------------------- surfaces */

.sl-slimbar {
	background: var(--flutlicht);
	color: var(--auf-flutlicht);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	padding: var(--space-8) var(--space-16);
	text-align: center;
}

.sl-header {
	background: var(--papier);
	border-bottom: var(--haarlinie) solid var(--linie);
}

.sl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-16);
	padding-top: var(--space-8);
	padding-bottom: var(--space-8);
	min-height: 72px;
}

.sl-brand {
	display: block;
	text-decoration: none;
}

.sl-nav {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

/* 6: the nav is navigation, not body copy. Ink at 600, no underline, and an
   underline only on hover: underlined blue links in the header read as links
   inside the text.

   The selector carries body.sl on purpose. WooCommerce prints ".woocommerce a"
   in woo.css, which loads after this file and has the same specificity, so on
   every page with the woocommerce body class (the club page, both product pages)
   the nav came out loop-blue while the home page was correct. */
body.sl .sl-nav a {
	font-weight: 600;
	padding: 12px 8px;
	color: var(--ink);
	text-decoration: none;
	text-underline-offset: 3px;
}

body.sl .sl-nav a:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* The page the customer is on is marked with a 2 px bar under it, not with a
   colour change: the whole nav is already ink. */
body.sl .sl-nav a[aria-current='page'] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-decoration-color: var(--ink);
}

/* The club link is the only nav item a phone shows. */
@media (max-width: 767px) {
	.sl-nav a:not(.sl-nav-club) {
		display: none;
	}
}

.sl-nav a:nth-child(1) {
	display: none;
}

@media (min-width: 768px) {
	.sl-nav a:nth-child(1) {
		display: inline-block;
	}
}

.sl-safe-kasse {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
	margin: 0;
}

.sl-icon-button {
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	cursor: pointer;
	padding: 0;
}

.sl-cart-button {
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	cursor: pointer;
	position: relative;
	padding: 0;
}

.sl-cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	background: var(--loop-blau-700);
	color: var(--papier);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	border-radius: var(--radius-pill);
	text-align: center;
	display: block;
	padding: 0 4px;
}

/* ------------------------------------------------------------- buy column */

/* 2: the hero carries no bottom padding. With one the space between the button
   and the band below it was the hero's 64 plus the band's 96.

   4: it does carry top padding, so the photo and the chalk arc do not touch the
   header's bottom border. */
.sl-buy {
	background: var(--kreide);
	padding: var(--space-32) 0 0;
}

@media (min-width: 768px) {
	.sl-buy {
		padding-top: var(--space-48, 48px);
	}
}

/* 5 and B6: the Viktoria block inside the offers section, separated from the
   offer rows by one section gap: 64 px on a phone, 96 px on a desktop. The paper
   continues to the footer edge, so no empty kreide band sits between them. */
.sl-club-offers .sl-club-contact {
	margin-top: var(--space-64);
	padding-top: var(--space-64);
	border-top: var(--haarlinie) solid var(--linie);
}

@media (min-width: 768px) {
	.sl-club-offers .sl-club-contact {
		margin-top: var(--space-96);
		padding-top: var(--space-96);
	}
}

.sl-club-contact > div {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

.sl-club-contact .sl-actions {
	margin: var(--space-8) 0 0;
}

.sl-buy-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-32);
}

.sl-gallery {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

.sl-gallery-frame {
	background: var(--papier);
	padding: var(--space-32) var(--space-16);
	position: relative;
}

/* The photo on a phone is capped at 220 px so the heading, the size picker, the
   price and the button all sit in the first screen. */
.sl-gallery-main {
	width: 100%;
	max-height: 220px;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

.sl-gallery-thumbs {
	display: none;
}

@media (min-width: 768px) {
	.sl-buy-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: var(--space-24);
		align-items: start;
	}
	.sl-gallery {
		grid-column: span 7;
	}
	.sl-buy-col {
		grid-column: span 5;
	}
	.sl-gallery-frame {
		min-height: 680px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: var(--space-32);
	}
	.sl-gallery-frame .sl-gallery-main {
		max-height: 616px;
		width: auto;
	}
}

@media (max-width: 767px) {
	/* On a phone the first screen has to hold the heading, the size picker, the
	   price and the button. The air above them is measured down to make that
	   true; nothing is hidden. */
	.sl-buy {
		padding-top: var(--space-8);
	}

	/* The header's desktop bottom padding is 64 px of empty ground; on a phone
	   that is the difference between the buy button being on the first screen and
	   just below the fold. */
	.sl-header-inner {
		padding-bottom: var(--space-8);
	}

	.sl-buy-grid {
		gap: var(--space-8);
	}

	.sl-buy-col {
		padding-top: 0;
		gap: var(--space-12);
	}

	.sl-buy-intro {
		gap: var(--space-4);
	}

	.sl-buy-intro .sl-lead {
		font-size: 16px;
		line-height: 24px;
	}

	/* The photo is 110 px here. It was 150 px, and with the 32 px the hero now
	   keeps under the header (4) the buy button fell to 877 px, 33 px below the
	   fold. The photo is a strip, not a hero image; the fold matters more. */
	.sl-gallery-main {
		max-height: 110px;
	}

	.sl-gallery-frame {
		padding: var(--space-12);
	}

	/* The display heading at 64 px takes three lines of a 390 px screen. At 52 px
	   it takes two, which is the room the fold needs. */
	.sl-buy-intro .sl-display {
		font-size: 52px;
		line-height: 0.95;
	}

	.sl-buy-col {
		gap: var(--space-8);
	}

	/* The heading and the price keep their 12 px on a phone too. */
	.sl-buy-col .sl-buy-intro {
		margin-bottom: calc( var(--space-12 ) - var(--space-8 ) );
	}

	.sl-buy-price .sl-price--large {
		font-size: 40px;
		line-height: 44px;
	}
}

.sl-buy-col {
	position: relative;
	padding-top: var(--space-16);
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
}

/* 19: the heading and the price are one decision, so they sit 12 px apart
   whatever else the column holds. The column's gap would otherwise be added to
   the heading's own margin. */
.sl-buy-col .sl-buy-intro {
	margin-bottom: calc( var(--space-12 ) - var(--space-24 ) );
}

/* 20: a product with no photo would leave half the row empty on a desktop, so
   the buy column takes the measure of a reading column on its own. */
@media (min-width: 768px) {
	.sl-buy--no-image .sl-buy-grid {
		grid-template-columns: minmax(0, 640px);
		justify-content: center;
	}

	.sl-buy--no-image .sl-buy-col {
		grid-column: auto;
		padding-left: 0;
	}
}

/* 12: the one line under the price about a printed product. */
.sl-product-line {
	margin: var(--space-8) 0 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--ink);
}

/* The live total under the quantity stepper: "100 Stück × 6,00 € = 600,00 €". */
.sl-qty-total {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	margin: var(--space-8) 0 0;
}

.sl-qty {
	/* The stepper steps by ten: a club order is 100, 200, 300 pieces, and
	   single clicks on a minimum of 100 are unusable. */
	--sl-qty-step: 10;
}

.sl-buy-intro {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (min-width: 768px) {
	.sl-buy-col {
		padding: var(--space-32) 0 0 var(--space-32);
	}
}

.sl-buy-price {
	display: flex;
	flex-direction: column;
	/* 12 px, not 4: the amount and the shipping line are two <p>, and two
	   paragraphs in one block are never closer than 12 (the spacing check
	   asserts it). */
	gap: var(--space-12);
}

/* 9: the amount and the unit price share one line and one baseline, so they read
   as one price. They sat on two lines before, with the unit price looking like
   the next line of the paragraph. */
.sl-buy-price .sl-price {
	display: flex;
	align-items: baseline;
	gap: var(--space-8);
	flex-wrap: wrap;
	margin: 0;
}

/* The line under the price. "inkl. MwSt., zzgl. Versand", with Versand a link to
   the page that explains the shipping. */
.sl-buy-price .sl-shipping-note {
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
	margin: 0;
}

.sl-buy-price .sl-shipping-note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sl-buy-price .sl-shipping-note a:hover {
	color: var(--loop-blau-800);
}

.sl-price .sl-unit-price {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
	font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------- chalk line */

.sl-chalk {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* The no-JavaScript chalk line is the top segment with its rounded corners,
   like the drawn one: no border down the right edge. */
.sl-chalk-fallback {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	border-top: var(--kreidelinie) solid var(--loop-blau);
	border-radius: var(--radius-loop) var(--radius-loop) 0 0;
}

.sl-chalk-svg {
	display: none;
	width: 100%;
	height: 100%;
}

.has-js .sl-chalk-fallback {
	display: none;
}

.has-js .sl-chalk-svg {
	display: block;
}

.sl-chalk-svg path {
	fill: none;
	stroke: var(--loop-blau);
	stroke-width: var(--kreidelinie);
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: sl-draw 600ms ease-out forwards;
}

@keyframes sl-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sl-chalk-svg path {
		animation: none;
		stroke-dashoffset: 0;
	}
}

/* ------------------------------------------------------------------ sizes */

.sl-field {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

.sl-field-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-12);
}

.sl-label {
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	margin: 0;
}

.sl-link {
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	color: var(--loop-blau-700);
	cursor: pointer;
	text-decoration: underline;
}

.sl-sizes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-8);
}

.sl-size {
	font: inherit;
	min-height: 64px;
	text-align: left;
	padding: 10px 16px;
	background: var(--papier);
	border: 2px solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	color: var(--ink);
	cursor: pointer;
}

.sl-size b {
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 28px;
}

.sl-size span {
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
}

.sl-size[aria-pressed='true'] {
	border: var(--fokusring) solid var(--ink);
	box-shadow: inset 0 -4px 0 var(--loop-gruen);
}

.sl-error {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	background: var(--fehler-flaeche);
	color: var(--fehler);
	font-size: 14px;
	line-height: 20px;
	padding: var(--space-12) var(--space-16);
	margin: 0;
	border-radius: 0;
}

.sl-error[hidden] {
	display: none;
}

.sl-noscript {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

/* ------------------------------------------------------------------ packs */

.sl-packs {
	display: grid;
	gap: var(--space-8);
}

.sl-pack {
	display: flex;
	align-items: center;
	gap: var(--space-12);
	padding: var(--space-12) var(--space-16);
	background: var(--papier);
	border: 2px solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	cursor: pointer;
}

.sl-pack input {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: 0 0 20px;
	accent-color: var(--ink);
}

.sl-pack-text {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sl-pack-price {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* O2: the honest saving on the bundle tile, one chip, tokens only. */
.sl-pack-chip {
	align-self: flex-start;
	margin-top: var(--space-4);
	padding: 2px var(--space-8);
	border-radius: var(--radius-control);
	background: var(--erfolg-flaeche);
	color: var(--erfolg);
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
}

.sl-pack:has(input:checked) {
	border: var(--fokusring) solid var(--ink);
	box-shadow: inset 0 -4px 0 var(--loop-gruen);
}

/* ------------------------------------------------------------------- qty */

/* 11: a compact stepper. It was a 480 px wide box with "– 100 +" at its left and
   empty space after it: 144 px wide, 48 px high, the two buttons 44 px with the
   value centred between them. */
.sl-qty {
	display: inline-flex;
	align-items: stretch;
	width: 144px;
	height: 48px;
	border: var(--haarlinie) solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	background: var(--papier);
	overflow: hidden;
}

/* 11: 44 px tap targets, both icons dead centre. The minus sat in the top left
   corner of its cell because the glyph is inline text and the cell is a flex
   box: the glyph is centred as a block now. */
.sl-qty button {
	width: 44px;
	min-width: 44px;
	height: 100%;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 20px;
	padding: 0;
}

.sl-qty button .sl-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.sl-qty button > span {
	display: block;
	line-height: 1;
}

.sl-qty button:hover {
	background: var(--kreide);
}

.sl-qty span {
	flex: 1 1 auto;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------- reassurance */

.sl-reassurance {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
	line-height: 20px;
	padding-top: var(--space-4);
}

.sl-reassurance li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.sl-reassurance .sl-icon {
	flex: 0 0 20px;
	margin-top: 0;
}

/* --------------------------------------------------------------- payment */

.sl-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sl-pay span {
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	padding: 5px 8px;
	border: var(--haarlinie) solid var(--linie);
	border-radius: var(--radius-control);
	background: var(--papier);
	color: var(--ink);
}

.sl-dark .sl-pay span {
	background: transparent;
	color: var(--auf-flutlicht);
	border-color: var(--loop-gruen);
}

/* ---------------------------------------------------------- tv and marks */

.sl-tv {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	line-height: 20px;
	color: inherit;
}

.sl-dark .sl-tv,
.sl-paper .sl-tv {
	color: var(--ink);
}

.sl-tv .sl-icon {
	flex: 0 0 22px;
}

.sl-vs,
.vs {
	display: inline-block;
	border: var(--haarlinie) solid var(--loop-blau-700);
	color: var(--loop-blau-700);
	font-size: 14px;
	line-height: 18px;
	font-weight: 600;
	padding: 1px 8px;
	border-radius: var(--radius-pill);
	vertical-align: middle;
}

.vs {
	align-self: flex-start;
}

.sl-pitch-link {
	font-weight: 600;
	font-size: 14px;
}

/* ------------------------------------------------------------------ bands */

.sl-band .sl-band-text {
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
}

/* 8: the green bar is the section's kicker, above the heading, 24 px above it.
   Between the two paragraphs it read as a stray divider. It is matched by class
   and not by :first-child, because on the branch without the photo the lead
   paragraph comes before it. */
.sl-band-text .sl-rule {
	order: -1;
	margin: 0;
	flex: 0 0 auto;
}

/* 9: the "5 Sek." block is the headline of this section, so the section's own h2
   stays in the document for structure and for search engines, out of sight. */
.sl-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sl-band-figure img {
	height: 340px;
}

@media (min-width: 768px) {
	.sl-band-figure {
		grid-column: span 6;
	}
	.sl-band-figure img {
		height: 520px;
	}
}

.sl-founder .sl-figure img {
	height: 220px;
}

/* The founder block reads photo, heading, text, quote: the figure is ordered
   before the text on a wide screen, where the two sit side by side. */
@media (min-width: 768px) {
	.sl-founder > .sl-figure {
		order: -1;
	}
}

.sl-club-hero .sl-figure img {
	height: 240px;
}

@media (min-width: 768px) {
	.sl-founder .sl-figure img {
		height: 420px;
	}
	.sl-club-hero .sl-figure img {
		height: 340px;
	}
}

/* The jersey number sits in the left columns and the steps in the right ones on
   a wide screen; on a phone the number comes first and the steps follow. */
.sl-steps-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-32);
}

.sl-steps-number {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

.sl-steps-text {
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
	min-width: 0;
}

@media (min-width: 768px) {
	/* 13: the number column and the steps sit on one line, centred against each
	   other, so the "5 Sek." reads as the summary of the three steps beside it
	   rather than as its own block sitting above them. */
	.sl-steps-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: var(--space-24);
		align-items: center;
	}
	.sl-steps-number {
		grid-column: 1 / span 5;
		justify-content: center;
	}
	.sl-steps-text {
		grid-column: 7 / span 6;
	}
}

.sl-steps {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

/* Every step is a 40 px number column, 16 px of air, then the text. */
.sl-steps li {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center;
	column-gap: var(--space-16);
	row-gap: var(--space-8);
}

.sl-step-num {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1.1;
	color: var(--ink);
}

.sl-step-photo {
	grid-column: 3;
	grid-row: 1;
	width: 120px;
	height: 120px;
	overflow: hidden;
	background: var(--papier);
}

.sl-step-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 48% 60%;
}

/* The facade holds the space of the video it stands in for, so the page does not
   jump when the iframe replaces it. */
.sl-video {
	display: block;
	width: 100%;
	height: 300px;
	border: 0;
	background: var(--flutlicht);
	position: relative;
	cursor: pointer;
	padding: 0;
	overflow: hidden;
}

.sl-video-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	background: var(--flutlicht);
	color: var(--auf-flutlicht);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sl-founder {
	align-items: center;
}

.sl-founder-text {
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
}

.sl-quote {
	background: var(--papier);
	padding: var(--space-24);
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.sl-proof {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

.sl-proof li {
	display: flex;
	align-items: center;
	gap: var(--space-16);
}

.sl-tile {
	background: var(--papier);
	border: var(--haarlinie) solid var(--linie);
	min-width: 96px;
	height: 96px;
	padding: var(--space-8);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 96px;
}

.sl-textwappen {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	line-height: 22px;
	border: 2px solid var(--ink);
	padding: 4px 10px;
	color: var(--ink);
}

.sl-proof-tv {
	border-top: var(--haarlinie) solid var(--linie);
	padding-top: var(--space-16);
	margin-top: var(--space-16);
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

/* 16: 16/24 with 8 px between the items. */
.sl-checks {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
	font-size: 16px;
	line-height: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sl-checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.sl-checks .sl-icon {
	flex: 0 0 20px;
}

/* 15: gift and team side by side, six columns each, and the two team buttons
   fill the width on a phone. */
.sl-gift-team {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-32);
}

.sl-gift-col,
.sl-team-col {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

@media (min-width: 768px) {
	.sl-gift-team {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: var(--space-24);
		align-items: start;
	}

	.sl-gift-col {
		grid-column: 1 / span 6;
	}

	.sl-team-col {
		grid-column: 7 / span 6;
	}
}

/* On a phone both team buttons take the full width with 12 px between them. */
@media (max-width: 767px) {
	.sl-gift-col .sl-actions,
	.sl-team-col .sl-actions {
		display: flex;
		flex-direction: column;
		gap: var(--space-12);
		align-items: stretch;
	}

	.sl-gift-col .sl-actions .sl-btn,
	.sl-team-col .sl-actions .sl-btn {
		width: 100%;
	}
}

/* 17: the FAQ is a reading column. At full width the questions were so far
   apart that the answers read as unrelated. */
/* 5: the FAQ's bottom padding equalled the section's 64/96 and was added on top
   of it, so the space below the questions was twice the space above the heading. */
.sl-faq {
	padding-bottom: 0;
}

@media (min-width: 768px) {
	.sl-faq {
		padding-bottom: 0;
	}

	.sl-faq .sl-wrap {
		max-width: 780px;
	}
}

.sl-details {
	border-bottom: var(--haarlinie) solid var(--linie);
}

.sl-details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-12);
	font-weight: 600;
	padding: var(--space-16) 0;
	cursor: pointer;
	list-style: none;
}

.sl-details summary::-webkit-details-marker {
	display: none;
}

.sl-details[open] summary .sl-icon {
	transform: rotate(180deg);
}

.sl-details p {
	padding-bottom: var(--space-16);
	max-width: 68ch;
}

/* ------------------------------------------------------------------ club */

.sl-club-hero-text {
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
}

.sl-display--club {
	font-size: 56px;
	line-height: 0.88;
}

@media (min-width: 768px) {
	.sl-display--club {
		font-size: 80px;
	}
}

.sl-club-list {
	display: flex;
	flex-direction: column;
}

.sl-club-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-16);
	padding: var(--space-24) 0;
	border-top: var(--haarlinie) solid var(--linie);
	align-items: center;
}

.sl-club-row:last-child {
	border-bottom: var(--haarlinie) solid var(--linie);
}

.sl-club-row:first-child {
	border-top: 2px solid var(--ink);
}

@media (min-width: 768px) {
	/* A fixed fourteen column grid. The photo, when a product has one, holds the
	   first two; the name takes five, the price four and the button three. The
	   columns are sized by fraction rather than by content, so every row's price
	   starts at the same x and every row's button starts at the same x. With auto
	   columns each row measured its own text, and a row with a short price began
	   a hundred pixels to the left of the row above it. A row whose product has
	   no photo leaves the first two columns empty instead of shifting the rest of
	   the row along. */
	/* 23: no product in these two offers has a photo, so the rows do not reserve
	   a column for one: the name starts at the container's left edge and the
	   price and the button keep the same x in every row. */
	.sl-club-row {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: var(--space-24);
	}

	/* A product that does have a photo takes the first two columns, and the rest
	   of the row moves along with it, so the two rows stay aligned. */
	.sl-club-row:has(.sl-club-thumb) .sl-club-text {
		grid-column: 3 / span 5;
	}

	.sl-club-row:not(:has(.sl-club-thumb)) .sl-club-text {
		grid-column: 1 / span 5;
	}

	.sl-club-thumb {
		grid-column: 1 / span 2;
	}

	.sl-club-price {
		grid-column: 6 / span 4;
	}

	.sl-club-action {
		grid-column: 10 / span 3;
	}
}

.sl-club-thumb {
	width: 200px;
	background: var(--kreide);
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-16);
}

.sl-club-thumb img {
	max-height: 118px;
	width: auto;
	object-fit: contain;
}

.sl-club-price .sl-price {
	font-size: 40px;
}

/* 24: the sum for the minimum order, under the per piece price. */
.sl-club-total {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	margin: var(--space-8) 0 0;
}

.sl-tier-text {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
}

.sl-trikot--tier {
	font-size: 104px;
	margin-top: var(--space-16);
}

.sl-tier-table {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

.sl-field--inline {
	max-width: 200px;
}

.sl-field--inline label {
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
}

.sl-field--inline input {
	font: inherit;
	min-height: 48px;
	padding: 10px 12px;
	border: var(--haarlinie) solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	background: var(--papier);
	color: var(--ink);
	width: 100%;
	font-variant-numeric: tabular-nums;
}

/* The table is asked for a fixed layout and a full width: with the default
   auto layout the cells add up to more than the screen on a phone, which is what
   made the thank you page scroll sideways. */
.sl-table {
	background: var(--papier);
	font-variant-numeric: tabular-nums;
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	/* break-word, not anywhere: a word may only be split when it cannot fit at
	   all. "anywhere" also breaks words that would have fitted, and a heading
	   like "Menge" came out as "Men / ge". */
	overflow-wrap: break-word;
}

.sl-table th {
	font-weight: 600;
	font-size: 14px;
	text-align: left;
	padding: 10px 16px;
	border-bottom: 2px solid var(--ink);
}

.sl-table td,
.sl-table tbody th {
	padding: var(--space-12) 16px;
	border-bottom: var(--haarlinie) solid var(--linie);
	text-align: left;
	font-weight: 400;
}

/* The thank you table has an article column and two narrow amount columns. They
   are declared, so no cell is squeezed until a word breaks inside it. */
/* 34: the product name gets the room it needs. At 52 % the name wrapped after
   one word and the size landed on its own line under it. */
.sl-thankyou-table col.sl-thankyou-col-article {
	width: 68%;
}

.sl-thankyou-table col.sl-thankyou-col-qty {
	width: 12%;
	min-width: 72px;
}

/* The quantity column carries the word "Menge" in its heading. Stated in px so
   it cannot be squeezed below the width of that word on a phone. */

.sl-thankyou-table col.sl-thankyou-col-amount {
	width: 22%;
}

.sl-thankyou-table th[colspan],
.sl-thankyou-table td[colspan] {
	white-space: nowrap;
}

/* 20: on a phone the table is two columns: the product with its quantity on the
   left, the amount on the right, and nothing wraps. Three columns squeezed the
   headings into "Men / ge" and "Sum / me" and broke the amount into "10,0 / 0 €". */
@media (max-width: 599px) {
	/* S1: the table was 390 px wide but only reached ~310 px, because the three
	   declared columns plus the 72 px minimum on the quantity column did not fit
	   and fixed layout shrank the table instead of the columns. On a phone the
	   table is two columns and fills its box. */
	.sl-thankyou-table {
		table-layout: fixed;
		width: 100%;
	}

	/* The quantity column is removed outright, so the table is two columns: the
	   product with its quantity on the left, the amount on the right. It is
	   addressed by class, not by position: the totals rows are a heading plus one
	   cell with colspan 2, and a positional rule hid the amount on every one of
	   them, which is why Zwischensumme, Versand and Gesamt had no value left. */
	.sl-thankyou-table col.sl-thankyou-col-qty,
	.sl-thankyou-table thead th:nth-child(2),
	.sl-thankyou-table .sl-thankyou-qty {
		display: none;
	}

	.sl-thankyou-table col.sl-thankyou-col-article {
		width: 62%;
	}

	.sl-thankyou-table col.sl-thankyou-col-amount {
		width: 38%;
	}

	/* Every amount stays on one line and on the right, including the three
	   totals rows. */
	.sl-thankyou-table td[colspan] {
		white-space: nowrap;
		text-align: right;
	}

	.sl-thankyou-table thead th {
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: keep-all;
		hyphens: none;
		padding-left: 12px;
		padding-right: 12px;
	}

	.sl-thankyou-table thead th:last-child,
	.sl-thankyou-table tbody td:last-child {
		padding-right: 12px;
	}
}

/* "1 ×" in front of the product name: shown on a phone, where the Menge column
   is gone, and hidden everywhere else. */
.sl-thankyou-qty-inline {
	display: none;
}

@media (max-width: 599px) {
	.sl-thankyou-qty-inline {
		display: inline;
		font-weight: 600;
		font-variant-numeric: tabular-nums;
	}
}

/* 34: the Vorkasse panel is on papier with ink text. The payment is still
   pending at this point, so the green success panel claimed a state that has not
   been reached. */
.sl-thankyou-payment {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
	background: var(--papier);
	color: var(--ink);
	border: var(--haarlinie) solid var(--linie);
	padding: var(--space-16);
}

.sl-thankyou-payment p {
	margin: 0;
}

.sl-thankyou-payment .sl-h3 {
	margin: 0 0 var(--space-8);
}

.sl-r {
	text-align: right !important;
}

/* ----------------------------------------------------------------- footer */

.sl-footer {
	background: var(--flutlicht);
	color: var(--auf-flutlicht);
	padding: var(--space-48) 0 var(--space-32);
	margin-top: var(--space-64);
}

@media (min-width: 768px) {
	.sl-footer {
		padding: var(--space-96) 0 var(--space-48);
	}
}

.sl-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-24);
}

@media (min-width: 768px) {
	.sl-footer-grid {
		grid-template-columns: 3fr 5fr 2fr 2fr;
		column-gap: var(--space-32);
	}
}

.sl-footer a {
	color: var(--auf-flutlicht) !important;
}

/* S6: the whole footer came out bold. Only the company name is 600, the rest is
   regular: the imprint data, the legal links and the sign-off are reading text. */
.sl-footer-block,
.sl-footer-address,
.sl-footer-links,
.sl-footer-signoff {
	font-weight: 400;
}

.sl-footer-address b,
.sl-footer-brand b {
	font-weight: 600;
}

/* S6: the sign-off is its own line under the grid, 24 px below it, regular and
   muted like the other fine print in the footer. */
.sl-footer-signoff {
	margin-top: var(--space-24);
}

.sl-footer-signoff .sl-small {
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: var(--auf-flutlicht);
	opacity: 0.8;
	margin: 0;
}

.sl-footer .sl-small {
	color: var(--auf-flutlicht);
}

.sl-footer-block {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	font-size: 14px;
	line-height: 20px;
}

/* 6: the imprint data is one block at 1.6 line height, not five paragraphs with
   16 px between each. The selector carries body.sl because the global rule
   "body.sl p" has more specificity and was winning, so the margins stayed. */
body.sl .sl-footer-address {
	display: block;
	font-style: normal;
	line-height: 1.6;
	font-size: 14px;
}

body.sl .sl-footer-address p,
body.sl .sl-footer-address br {
	margin: 0;
}

body.sl .sl-footer-address {
	font-size: 14px;
	line-height: 1.6;
}

.sl-footer .sl-pay {
	margin-top: var(--space-8);
}

.sl-footer-links {
	align-items: flex-start;
	gap: var(--space-8);
}

/* 7: on a phone the legal links run in two columns, 14 px with 12 px between
   the rows, so the footer does not push the customer through a single long
   column of links. */
@media (max-width: 767px) {
	.sl-footer-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--space-12);
		column-gap: var(--space-16);
		font-size: 14px;
		line-height: 20px;
	}
}

.sl-footer-cookie {
	background: transparent;
	border: 0;
	padding: 0;
	color: var(--auf-flutlicht);
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	text-decoration: underline;
	cursor: pointer;
	text-align: left;
}

.sl-footer-brand img {
	height: 64px;
	width: auto;
}

/* -------------------------------------------------------------- buy bar */

.sl-buybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--flutlicht);
	color: var(--auf-flutlicht);
	box-shadow: var(--schatten-overlay);
	/* The sides are the inner row's padding, so the strip is exactly as wide as
	   the screen and the content keeps its 16 px. */
	padding: var(--space-12) 0 var(--space-24);
	display: none;
	z-index: 60;
}

/* The strip runs the full width of the screen, so the content inside it carries
   the 16 px the shop uses everywhere else. Without it the thumb sat flush
   against the left edge of the phone. */
.sl-buybar-inner {
	padding-left: var(--space-16);
	padding-right: var(--space-16);
	max-width: 100%;
}

.sl-buybar[hidden] {
	display: none;
}

@media (max-width: 767px) {
	.sl-buybar {
		display: block;
	}
}

.sl-buybar-inner {
	display: flex;
	align-items: center;
	gap: var(--space-12);
	max-width: 1248px;
	margin: 0 auto;
}

.sl-buybar-thumb {
	width: 56px;
	height: 56px;
	background: var(--papier);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	overflow: hidden;
}

.sl-buybar-thumb img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.sl-buybar-text {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sl-buybar-price {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--auf-flutlicht);
}

.sl-buybar-text .sl-small {
	color: var(--auf-flutlicht);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ----------------------------------------------------------- cart drawer */

.sl-scrim {
	position: fixed;
	inset: 0;
	background: rgba(14, 42, 61, 0.55);
	z-index: 90;
	border: 0;
}

.sl-scrim[hidden] {
	display: none;
}

.sl-drawer {
	position: fixed;
	top: var(--sl-staging-bar, 0px);
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 420px;
	background: var(--kreide);
	box-shadow: var(--schatten-overlay);
	z-index: 100;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: none;
}

.sl-drawer[hidden] {
	display: none;
}

.sl-drawer.is-open {
	transform: translateX(0);
}

.sl-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-8) var(--space-8) var(--space-8) var(--space-16);
	background: var(--papier);
	border-bottom: var(--haarlinie) solid var(--linie);
}

.sl-drawer-body {
	padding: var(--space-16);
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
	flex-grow: 1;
	overflow-y: auto;
}

.sl-drawer-foot {
	padding: var(--space-16);
	background: var(--papier);
	border-top: var(--haarlinie) solid var(--linie);
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

.sl-drawer-foot[hidden] {
	display: none;
}

.sl-drawer-safe {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
	margin: 0;
}

.sl-drawer-line {
	background: var(--papier);
	padding: var(--space-12);
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: var(--space-12);
	align-items: start;
}

/* The 72 px tile. A logo the customer uploaded is drawn inside it, the product
   photo otherwise, and a line with neither gets papier with a file mark, so the
   grid cell is never an empty <img>. */
.sl-drawer-thumb {
	display: block;
	width: 72px;
	height: 90px;
	background: var(--kreide);
	overflow: hidden;
}

.sl-drawer-line img,
.sl-drawer-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--kreide);
}

.sl-drawer-thumb--file {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gedaempft);
}

/* "100 × 6,00 €": what the line costs per piece, in the muted size of every other
   meta line under a product name. */
.sl-drawer-line-each {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
}

.sl-drawer-line-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sl-drawer-line-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--space-8);
}

.sl-drawer-line-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-12);
}

.sl-drawer-remove {
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	color: var(--loop-blau-700);
	text-decoration: underline;
	cursor: pointer;
}

.sl-cross {
	background: var(--papier);
	padding: var(--space-12);
	display: flex;
	gap: var(--space-12);
	align-items: center;
}

.sl-cross-text {
	flex-grow: 1;
}

.sl-drawer-totals {
	display: flex;
	flex-direction: column;
	/* 12 px, for the same reason as the price block: two <p> in one block are
	   never closer than 12. */
	gap: var(--space-12);
	border-top: var(--haarlinie) solid var(--linie);
	padding-top: var(--space-12);
}

.sl-drawer-total {
	display: flex;
	justify-content: space-between;
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
}

/* 26: the added notice, one line with a check. */
.sl-drawer-notice {
	display: flex;
	align-items: center;
	gap: var(--space-8);
	margin: 0 0 var(--space-16);
	padding: var(--space-12) var(--space-16);
	border-radius: var(--radius-control);
	background: var(--erfolg-flaeche);
	color: var(--erfolg);
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}

.sl-drawer-notice-icon {
	display: inline-flex;
	flex: 0 0 20px;
}

/* C1: the country as a sentence above two chips. The chosen chip is pressed
   and carries the same green underline as a chosen pack. */
.sl-drawer-country {
	margin: 0 0 var(--space-8);
	font-size: 14px;
	line-height: 20px;
}

.sl-country-chips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-8);
}

.sl-country-chip {
	min-height: 44px;
	padding: var(--space-8) var(--space-12);
	background: var(--papier);
	border: var(--haarlinie) solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	color: var(--ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sl-country-chip[aria-pressed="true"] {
	border: var(--fokusring) solid var(--ink);
	box-shadow: inset 0 -4px 0 var(--loop-gruen);
}

.sl-drawer-field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: var(--space-4);
}

.sl-drawer-field select {
	font: inherit;
	min-height: 48px;
	width: 100%;
	padding: 10px 12px;
	border: var(--haarlinie) solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	background: var(--papier);
	color: var(--ink);
}

/* -------------------------------------------------------------- notices */

body.sl .woocommerce-message,
body.sl .woocommerce-error,
body.sl .woocommerce-info,
body.sl .woocommerce-notice {
	background: var(--erfolg-flaeche);
	color: var(--erfolg);
	border: 0;
	border-radius: 0;
	padding: var(--space-12) var(--space-16);
	margin: 0 auto var(--space-24);
	max-width: 1248px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-8);
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
}

body.sl .woocommerce-error,
body.sl .woocommerce-error + .woocommerce-error {
	background: var(--fehler-flaeche);
	color: var(--fehler);
}

body.sl .woocommerce-info {
	background: var(--warnung-flaeche);
	color: var(--warnung);
}

body.sl .woocommerce-message .button,
body.sl .woocommerce-info .button {
	float: none;
	background: transparent;
	border: 2px solid currentColor;
	color: inherit;
	border-radius: var(--radius-control);
	font-weight: 600;
	min-height: 48px;
	padding: 12px 20px;
	line-height: 24px;
}

body.sl .woocommerce-message a {
	color: inherit;
}

.sl-hinweis {
	display: flex;
	align-items: flex-start;
	gap: var(--space-12);
	padding: var(--space-12) var(--space-16);
	font-size: 14px;
	line-height: 20px;
	border-radius: 0;
}

.sl-hinweis .sl-icon {
	flex: 0 0 20px;
}

.sl-hinweis--warnung {
	background: var(--warnung-flaeche);
	color: var(--warnung);
}

.sl-hinweis--erfolg {
	background: var(--erfolg-flaeche);
	color: var(--erfolg);
}

.sl-hinweis--fehler {
	background: var(--fehler-flaeche);
	color: var(--fehler);
}

/* ---------------------------------------------------------------- dialog */

.sl-dialog {
	border: 0;
	padding: var(--space-24);
	max-width: 420px;
	width: calc(100% - 32px);
	background: var(--papier);
	color: var(--ink);
	border-radius: var(--radius-control);
}

.sl-dialog::backdrop {
	background: rgba(14, 42, 61, 0.55);
}

.sl-dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-16);
	margin-bottom: var(--space-16);
}

/* ------------------------------------------------------------------ prose */

.sl-prose {
	max-width: 68ch;
}

/* 37: the Widerrufsbelehrung prints a fill-in line of underscores. A run of
   underscores is one unbreakable word, so it pushed the page a pixel past the
   screen and the whole document scrolled sideways. Wrapped, and clipped to the
   measure so the line cannot widen the page. */
.sl-prose p {
	overflow-wrap: break-word;
}

.sl-prose p:has(> br:only-child),
.sl-prose .soccerloop-fillin {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.sl-prose h2 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1.1;
	/* 32 above a section heading, 16 below it. */
	margin: var(--space-32) 0 var(--space-16);
	color: var(--ink);
}

.sl-prose h3 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	line-height: 1.2;
	margin: var(--space-24) 0 var(--space-8);
	color: var(--ink);
}

/* The first heading has nothing above it. */
.sl-prose > h1,
.sl-prose > h2:first-child {
	margin-top: 0;
}

.sl-prose p {
	/* 16 between paragraphs. Without this two consecutive <p> sat on top of each
	   other, which is what made "Abweichende Bedingungen" look glued to the text
	   above it. */
	margin: 0 0 var(--space-16);
}

.sl-prose p + p {
	margin-top: 0;
}

.sl-prose ul,
.sl-prose ol {
	display: flow-root;
	/* 22: the list and the sentence after it ran into each other. The list has a
	   bottom margin of its own, so the paragraph under it is a block gap away. */
	margin-bottom: var(--space-16);
}

.sl-prose li {
	display: list-item;
}

.sl-prose li + li {
	margin-top: var(--space-8);
}

.sl-prose ul {
	list-style: disc;
	padding-left: 20px;
	margin: 0 0 var(--space-16);
}

.sl-prose ol {
	list-style: decimal;
	padding-left: 20px;
	margin: 0 0 var(--space-16);
}

.sl-prose li {
	margin-bottom: var(--space-8);
}

.sl-prose li:last-child {
	margin-bottom: 0;
}

.sl-prose .soccerloop-offen {
	background: var(--warnung-flaeche);
	color: var(--warnung);
	display: inline;
	padding: 2px 6px;
}

.sl-prose > p:first-of-type strong:first-child {
	display: inline-block;
	background: var(--warnung-flaeche);
	color: var(--warnung);
	padding: var(--space-4) var(--space-8);
}

.sl-prose table {
	background: var(--papier);
	margin-bottom: var(--space-16);
}

.sl-prose th {
	font-weight: 600;
	font-size: 14px;
	text-align: left;
	padding: 10px 16px;
	border-bottom: 2px solid var(--ink);
}

.sl-prose td {
	padding: var(--space-12) 16px;
	border-bottom: var(--haarlinie) solid var(--linie);
}

body.sl .alignwide,
body.sl .alignfull {
	max-width: 1248px;
	margin-left: auto;
	margin-right: auto;
}

/* --------------------------------------------------------- product text */

.sl-product-description {
	background: var(--papier);
	padding: var(--space-24);
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
}

body.sl .woocommerce-order-number {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 40px;
	line-height: 1;
	margin: 0;
}

.sl-thankyou {
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
}

.sl-thankyou-sender {
	font-size: 14px;
	line-height: 20px;
	color: var(--text-gedaempft);
	margin: 0;
}

/* 34: one line, 20 px at weight 600: "Bestellnummer 166". */
.sl-order-number {
	font-family: var(--font-text);
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	margin: 0 0 var(--space-16);
}

.sl-posts {
	display: flex;
	flex-direction: column;
	gap: var(--space-32);
}

@media (prefers-reduced-motion: reduce) {
	.sl-drawer {
		transition: none;
	}
}
/* --------------------------------------------------------------- club page */

/* The club page stays in kreide, papier and ink. The only blue on it is the
   buy button, which is the theme's primary button. */
.sl-clubpage {
	display: flex;
	flex-direction: column;
	gap: var(--space-48);
}

.sl-clubpage-intro {
	margin-top: var(--space-32);
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
}

/* Vereinskopf: crest on a papier tile left, LoopFever logo right. */
.sl-vereinskopf {
	display: flex;
	align-items: center;
	gap: var(--space-24);
}

.sl-vereinskopf-crest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	padding: var(--space-8);
	box-sizing: border-box;
	background: var(--papier);
	border-radius: 0;
	flex: none;
}

.sl-vereinskopf-crest-image {
	height: 100%;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	/* The crest is shown as it is: no recolour, no crop, no filter. */
}

.sl-vereinskopf-crest--text {
	height: auto;
	min-height: 64px;
	min-width: 0;
	border: 2px solid var(--ink);
	padding: var(--space-8) var(--space-16);
}

.sl-vereinskopf-name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	line-height: 1.1;
	color: var(--ink);
	white-space: nowrap;
}

/* A 2 px line in linie between crest and logo, 24 px away from each. */
.sl-vereinskopf-line {
	flex: 1 1 auto;
	height: 2px;
	background: var(--linie);
	border-radius: 0;
}

.sl-vereinskopf-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
}

.sl-vereinskopf-logo img {
	height: 40px;
	width: auto;
}

/* The club code as a copyable mark. */
.sl-clubpage-code {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
	align-items: flex-start;
}

.sl-vereinscode {
	display: inline-flex;
	align-items: center;
	gap: var(--space-16);
	flex-wrap: wrap;
	background: var(--papier);
	border: 2px dashed var(--ink);
	border-radius: 0;
	padding: var(--space-12) var(--space-16);
}

.sl-vereinscode-value {
	font-family: var(--font-text);
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0.06em;
	color: var(--ink);
	word-break: break-all;
}

.sl-vereinscode-copy {
	min-width: 56px;
}

/* Products. */
.sl-clubpage-list {
	display: flex;
	flex-direction: column;
}

.sl-clubpage-row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: var(--space-24);
	padding: var(--space-24) 0;
	border-top: var(--haarlinie) solid var(--linie);
}

.sl-clubpage-row-price {
	text-align: right;
}

.sl-clubpage-row-action {
	display: flex;
	justify-content: flex-end;
}

/* The price block. */
.sl-club-priceblock {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-8) var(--space-24);
	background: var(--papier);
	border-radius: 0;
	padding: var(--space-24);
	max-width: 520px;
}

.sl-club-priceblock .sl-small {
	margin: 0;
}

.sl-price--club {
	color: var(--ink);
}

/* The bottom block, in Sie form, pointing at /vereine/. */
.sl-clubpage-bottom {
	border-top: 2px solid var(--ink);
	padding-top: var(--space-32);
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
	max-width: 640px;
}

@media (max-width: 700px) {
	.sl-vereinskopf {
		gap: var(--space-16);
		min-width: 0;
	}

	/* The Vereinskopf has to stay inside 390 px even for a long club name.
	   The crest and the name may shrink and the name may wrap; the logo keeps
	   its 40 px. Before this the nowrap name pushed the logo's right edge to
	   430 px on a 390 px phone. */
	.sl-vereinskopf-crest {
		flex-shrink: 1;
		min-width: 0;
	}

	.sl-vereinskopf-crest-image {
		max-width: 100%;
	}

	.sl-vereinskopf-name {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.sl-clubpage-row {
		grid-template-columns: 1fr;
		gap: var(--space-12);
	}

	.sl-clubpage-row-price,
	.sl-clubpage-row-action {
		text-align: left;
		justify-content: flex-start;
	}
}

/* ------------------------------------------------- club sign-up and activation */

.sl-club-signup .sl-form,
.sl-club-activate .sl-form {
	display: grid;
	gap: var(--space-24);
	max-width: 640px;
	margin-top: var(--space-32);
}

.sl-input {
	font: inherit;
	min-height: 48px;
	padding: 10px var(--space-12);
	border: var(--haarlinie) solid var(--text-gedaempft);
	border-radius: var(--radius-control);
	background: var(--papier);
	color: var(--ink);
	width: 100%;
	box-sizing: border-box;
}

.sl-input:focus {
	outline: var(--fokusring) solid var(--fokus);
	outline-offset: 2px;
}

.sl-input--file {
	padding: var(--space-8) var(--space-12);
}

.sl-field--error .sl-input {
	border-color: var(--fehler);
}

.sl-field-error {
	margin: 0;
	color: var(--fehler);
	font-size: 14px;
	line-height: 20px;
	display: flex;
	gap: var(--space-4);
	align-items: baseline;
}

.sl-field-error-icon {
	font-weight: 600;
}

.sl-field-hint,
.sl-field-static {
	margin: 0;
	color: var(--text-gedaempft);
	font-size: 14px;
	line-height: 20px;
}

.sl-field--check {
	gap: var(--space-8);
}

.sl-check {
	display: flex;
	gap: var(--space-12);
	align-items: flex-start;
	font-size: 16px;
	line-height: 26px;
}

.sl-check input {
	margin-top: 4px;
	width: 20px;
	height: 20px;
	flex: none;
}

.sl-field-actions {
	margin: 0;
}

/* A field no human sees, kept out of the tab order. */
.sl-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sl-notice {
	display: flex;
	gap: var(--space-8);
	align-items: baseline;
	padding: var(--space-12) var(--space-16);
	border-radius: var(--radius-0);
	font-size: 16px;
	line-height: 26px;
	margin: var(--space-16) 0;
}

.sl-notice-icon {
	font-weight: 600;
}

.sl-notice--success {
	background: var(--erfolg-flaeche);
	color: var(--erfolg);
}

.sl-notice--warning {
	background: var(--warnung-flaeche);
	color: var(--warnung);
}

/* ------------------------------------------------------ C8: club code bar */

/* The club bar replaces the shipping bar when the visitor arrived with a club
   code. loop-blau-800 with papier text is 7.6:1, so it clears AA. */
.sl-clubbar {
	background: var(--loop-blau-800);
	color: var(--papier);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	padding: var(--space-4) var(--space-16);
	text-align: center;
}

.sl-clubbar p {
	margin: 0;
}

.sl-drawer .sl-clubbar {
	margin: 0;
}

/* The contact form on /kontakt/. Reuses the field and label classes and adds
   the input surface and the two result lines. The honeypot is moved off screen,
   not hidden with display:none, so a bot still fills it. */
.sl-contact {
	margin-top: var(--space-24);
}

.sl-contact-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
	max-width: 640px;
}

.sl-contact-form input[type='text'],
.sl-contact-form input[type='email'],
.sl-contact-form textarea {
	font: inherit;
	width: 100%;
	padding: 10px 16px;
	background: var(--papier);
	color: var(--ink);
	border: 1px solid var(--haarlinie);
	border-radius: var(--radius-control);
}

.sl-contact-form input:focus,
.sl-contact-form textarea:focus {
	outline: var(--fokusring) solid var(--fokus);
	outline-offset: 1px;
}

.sl-contact-form button {
	align-self: flex-start;
}

.sl-contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sl-contact-success {
	background: var(--erfolg-flaeche);
	color: var(--erfolg);
	padding: var(--space-12) var(--space-16);
	margin: 0 0 var(--space-16);
}

.sl-contact-errors {
	background: var(--fehler-flaeche);
	color: var(--fehler);
	padding: var(--space-12) var(--space-16);
	margin: 0 0 var(--space-16);
	list-style: none;
}
