.four-stp { margin-block: 1.5em; color: inherit; font: inherit; }
.four-stp table { width: 100%; border-collapse: collapse; margin: 0; color: inherit; font: inherit; }
.four-stp th, .four-stp td { padding: .65em .8em; border: 1px solid currentColor; text-align: start; vertical-align: middle; }
.four-stp th { font-weight: 600; }
.four-stp button { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: .2em; cursor: pointer; padding: .4em .65em; min-height: 44px; }
.four-stp button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.four-stp button:disabled { cursor: default; opacity: .7; }
.four-stp .four-stp-active-mark { visibility: hidden; }
.four-stp .four-stp-is-active { outline: 2px solid currentColor; outline-offset: -2px; }
.four-stp .four-stp-is-active .four-stp-active-mark { visibility: visible; }
.four-stp .four-stp-is-active button { font-weight: 700; }
.four-stp .four-stp-reference, .four-stp .four-stp-unavailable { font-size: .875em; }
.four-stp .four-stp-unavailable, .four-stp .four-stp-current-reference { display: block; margin-block-start: .35em; }
.four-stp .four-stp-notice { font-size: .9em; margin-block-end: .7em; }
.four-stp .four-stp-current { margin-block: .8em 0; }
.four-stp--cards table, .four-stp--cards tbody { display: block; }
.four-stp--cards thead { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
.four-stp--cards tbody { display: grid; gap: .6em; }
.four-stp--cards tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid currentColor; border-radius: .3em; padding: .3em; }
.four-stp--cards th, .four-stp--cards td { border: 0; }
.four-stp--cards td:not(.four-stp-reference) { text-align: end; font-size: 1.15em; font-weight: 600; }
.four-stp--cards .four-stp-reference { grid-column: 1 / -1; text-align: end; padding-block-start: 0; }
.four-stp .screen-reader-text { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
@media (max-width: 480px) {
	.four-stp th, .four-stp td { padding: .45em; }
	.four-stp--compact { font-size: .9em; }
	.four-stp button { padding-inline: .4em; }
	.four-stp .four-stp-reference { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
	.four-stp *, .four-stp *::before, .four-stp *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* One native keyboard target also covers the complete selectable table row. */
.four-stp tbody tr[data-tier-id] { position: relative; }
.four-stp tbody tr[data-tier-id] > th { position: static; }
.four-stp .four-stp-can-select { cursor: pointer; }
.four-stp .four-stp-can-select button[data-quantity] { position: static; }
.four-stp .four-stp-can-select button[data-quantity]::after { content: ""; position: absolute; inset: 0; }
.four-stp .four-stp-can-select:focus-within { outline: 3px solid currentColor; outline-offset: -3px; }
.four-stp .four-stp-can-select:hover { background-image: linear-gradient(rgb(0 0 0 / 3%), rgb(0 0 0 / 3%)); }

/* Reference screenshots: minimum/price/reference columns and price focus rows. */
.four-stp--reference-table, .four-stp--price-focus {
	--four-stp-line: #d7d7d7;
	--four-stp-accent: #2f9bcc;
}
.four-stp--reference-table table, .four-stp--price-focus table { border: 0; table-layout: auto; }
.four-stp--reference-table table { background: var(--four-stp-reference-background, transparent); color: inherit; }
.four-stp--price-focus table { background: #fff; color: #1c1c1c; }
.four-stp--reference-table th, .four-stp--reference-table td,
.four-stp--price-focus th, .four-stp--price-focus td { border: 0; border-bottom: 1px solid var(--four-stp-line); padding: .65em .45em; line-height: 1.4; }
.four-stp--reference-table thead th, .four-stp--price-focus thead th { font-weight: 700; }
.four-stp--reference-table tbody th, .four-stp--price-focus tbody th { font-weight: 400; }
.four-stp--reference-table tbody tr:last-child > *, .four-stp--price-focus tbody tr:last-child > * { border-bottom: 0; }
.four-stp.four-stp--reference-table .four-stp-rows button[data-quantity], .four-stp.four-stp--price-focus .four-stp-rows button[data-quantity] {
	/* These buttons are transparent row targets, including under theme button states. */
	appearance: none !important; -webkit-appearance: none !important; background: transparent !important; color: inherit !important; border: 0 !important; border-radius: 0; box-shadow: none !important; padding: 0; margin: 0; font: inherit; text-transform: none; min-height: 44px; text-align: start;
}
.four-stp--reference-table button[data-quantity]:hover, .four-stp--price-focus button[data-quantity]:hover { background: transparent; color: inherit; }
.four-stp--reference-table button[data-quantity]:disabled, .four-stp--price-focus button[data-quantity]:disabled { opacity: 1; }
.four-stp--reference-table .four-stp-reference { font-size: 1em; }
.four-stp.four-stp--reference-table th, .four-stp.four-stp--reference-table td { border-bottom-color: var(--four-stp-reference-line-color, #d7d7d7); padding-inline: var(--four-stp-reference-padding-inline, .45em); }
.four-stp.four-stp--reference-table tbody th, .four-stp.four-stp--reference-table tbody td { padding-block: var(--four-stp-reference-padding-block, 0); line-height: 1.25; }
.four-stp.four-stp--reference-table thead th { padding-block: var(--four-stp-reference-header-padding-block, .5rem); }
.four-stp.four-stp--reference-table th:first-child { padding-inline-start: var(--four-stp-reference-leading-padding, 1rem); }
.four-stp.four-stp--reference-table .four-stp-tier-price { font-size: var(--four-stp-reference-price-size, 1.2em); font-weight: var(--four-stp-reference-price-weight, 700); line-height: 1.2; white-space: nowrap; }
.four-stp--reference-table .four-stp-active-mark, .four-stp--price-focus .four-stp-active-mark { display: none !important; }
.four-stp--reference-table .four-stp-is-active { outline: none; box-shadow: inset var(--four-stp-reference-active-width, 3px) 0 var(--four-stp-reference-active-color, currentColor); }
.four-stp--price-focus th:last-child, .four-stp--price-focus .four-stp-price { text-align: end; }
.four-stp--price-focus .four-stp-price { padding-inline-end: .85em; }
.four-stp--price-focus .four-stp-tier-price { display: block; color: var(--four-stp-accent); font-size: 1.5em; font-weight: 700; line-height: 1.2; }
.four-stp--price-focus .four-stp-reference { display: block; color: #1c1c1c; font-size: .9em; line-height: 1.4; }
.four-stp--price-focus .four-stp-is-active { outline: none; box-shadow: inset -4px 0 var(--four-stp-accent); }
.four-stp--reference-table .four-stp-can-select:focus-within, .four-stp--price-focus .four-stp-can-select:focus-within { outline: 3px solid currentColor; outline-offset: -3px; }
@media (max-width: 480px) {
	.four-stp--reference-table { font-size: .9em; }
	.four-stp.four-stp--reference-table th, .four-stp.four-stp--reference-table td { padding-inline: var(--four-stp-reference-padding-inline, .4em); overflow-wrap: anywhere; }
	.four-stp.four-stp--reference-table thead th { padding-block: var(--four-stp-reference-header-padding-block, .45rem); }
	.four-stp.four-stp--reference-table th:first-child { padding-inline-start: var(--four-stp-reference-leading-padding, .875rem); }
	.four-stp--price-focus th, .four-stp--price-focus td { padding: .65em .4em; }
	.four-stp--price-focus .four-stp-tier-price { font-size: 1.4em; }
}
.four-stp--reference-table .four-stp-notice:not(.four-stp-notice--readonly),
.four-stp--reference-table .four-stp-current,
.four-stp--price-focus .four-stp-notice:not(.four-stp-notice--readonly),
.four-stp--price-focus .four-stp-current {
	position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; padding: 0; margin: 0;
}
.four-stp .four-stp-notice--readonly { display: block; font-size: .9em; }
