@layer pages {
	.b24-wantlist { max-inline-size: 760px; }
	.woocommerce-MyAccount-content .b24-wantlist { max-inline-size: none; }
	.b24-wantlist__empty { padding: 36px 28px; border: 1px dashed var(--b24-ctl); border-radius: var(--b24-r-tile); color: var(--b24-mut); text-align: center; }

	/* One card per record: cover, title with state, "Ansehen", remove. */
	.b24-wantlist__items { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
	.b24-wantlist__item {
		display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 12px 12px 12px;
		background: var(--b24-s1); border: 1px solid var(--b24-line); border-radius: var(--b24-r-tile);
	}
	.b24-wantlist__cover { display: grid; place-items: center; inline-size: 56px; block-size: 56px; overflow: hidden; border-radius: 6px; background: var(--b24-hov); color: var(--b24-mut); }
	.b24-wantlist__cover img { inline-size: 100%; block-size: 100%; object-fit: cover; }
	.b24-wantlist__meta { min-inline-size: 0; }
	.b24-wantlist__title { display: block; font-weight: 700; line-height: 1.3; color: var(--b24-ink); text-decoration: none; }
	a.b24-wantlist__title:hover { text-decoration: underline; text-underline-offset: 3px; }
	.b24-wantlist__state { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 4px; font: 500 14px var(--b24-font-mono); color: var(--b24-mut); }
	.b24-wantlist__state::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--b24-ctl); }
	.b24-wantlist__state.is-available { color: var(--b24-accent-ink); }
	.b24-wantlist__state.is-available::before { background: #30a46c; }
	.b24-wantlist__state.is-notified::before { background: var(--b24-accent); }
	.b24-wantlist__state.is-pending::before { background: #f76b15; }
	/* One copy: pressing, condition and price under the state. */
	.b24-wantlist__line { display: block; margin-block-start: 4px; font-size: 14px; color: var(--b24-mut); }

	/* Every pressing or only this one. */
	.b24-wantlist__scope { display: flex; align-items: flex-start; gap: 10px; margin-block-start: 10px; font-size: 14px; color: var(--b24-tx2); cursor: pointer; }
	.b24-wantlist__scope input { flex: none; inline-size: 18px; block-size: 18px; margin: 1px 0 0; accent-color: var(--b24-accent); cursor: pointer; }
	.b24-wantlist__scope input:focus-visible { outline: none; box-shadow: var(--b24-ring); border-radius: 4px; }
	.b24-wantlist__scope small { display: block; font: 500 13px var(--b24-font-mono); color: var(--b24-mut); }

	/* Several copies in stock: one row each, under the whole card. */
	.b24-wantlist__copies { grid-column: 2 / -1; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
	.b24-wantlist__copies a {
		display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 12px;
		border-radius: 8px; background: var(--b24-bg); color: var(--b24-tx2); font-size: 14px; text-decoration: none;
	}
	.b24-wantlist__copies a:hover { background: var(--b24-hov); color: var(--b24-ink); }
	.b24-wantlist__copies a:focus-visible { outline: none; box-shadow: var(--b24-ring); }
	.b24-wantlist__copies strong { flex: none; color: var(--b24-ink); }
	.b24-wantlist__more { padding: 6px 12px; font-size: 14px; color: var(--b24-mut); }
	@media (width < 560px) { .b24-wantlist__copies { grid-column: 1 / -1; } }

	.b24-wantlist__item .b24-btn { min-block-size: 44px; padding-inline: 18px; font-size: 15px; }
	.b24-wantlist__item [data-wantlist-remove] { grid-column: -2; }
	@media (width < 560px) {
		.b24-wantlist__item { grid-template-columns: 56px minmax(0, 1fr) auto; }
		.b24-wantlist__item [data-wantlist-remove] { grid-area: 1 / 3; }
		.b24-wantlist__item .b24-btn { grid-column: 2 / -1; grid-row: 2; }
	}

	/* The hit mails: a checkbox in a card under the list. */
	.b24-wlmail {
		display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-block-start: 18px; padding: 24px;
		background: var(--b24-s1); border: 1px solid var(--b24-line); border-radius: var(--b24-r-panel);
	}
	.b24-wlmail__row { display: flex; align-items: flex-start; gap: 14px; flex: 1 1 320px; cursor: pointer; }
	.b24-wlmail__row input { flex: none; inline-size: 22px; block-size: 22px; margin: 1px 0 0; accent-color: var(--b24-accent); cursor: pointer; }
	.b24-wlmail__row input:focus-visible { outline: none; box-shadow: var(--b24-ring); border-radius: 4px; }
	.b24-wlmail__row strong { display: block; color: var(--b24-ink); }
	.b24-wlmail__hint { display: block; font-weight: 400; margin-block-start: 4px; font-size: 15px; line-height: 1.5; color: var(--b24-mut); overflow-wrap: anywhere; }
	.b24-wlmail [hidden] { display: none; }

	/* Without account: keep the list by e-mail (form), or the address it is kept for. */
	.b24-wlkeep { margin-block: 0 18px; }
	.b24-wlkeep__head { display: block; flex: 1 1 100%; }
	.b24-wlkeep.is-signed-in .b24-wlkeep__head { flex: 1 1 320px; }
	.b24-wlkeep__head strong { display: block; color: var(--b24-ink); }
	.b24-wlkeep__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; font-size: 14px; font-weight: 700; color: var(--b24-ink); }
	.b24-wlkeep__field input { block-size: 52px; padding: 0 14px; font-weight: 400; }
	.b24-wlkeep__consent { flex: 1 1 100%; }
	.b24-wlkeep__consent a { color: var(--b24-accent-ink); font-weight: 700; }
	.b24-wlkeep__msg { flex: 1 1 100%; margin: 0; font-size: 15px; color: var(--b24-ink); }
	.b24-wlkeep__msg.is-error { color: #e5484d; }

	.b24-wantlist__foot { margin-block-start: 16px; font-size: 14px; color: var(--b24-mut); }
}
