/* sst-checkout-guide r2. Colours come from the page (inherit / currentColor) so the layer follows
   the store's light and dark themes without naming either. */

/* why the phone number is required */
.sst-guide-help {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	opacity: 0.72;
}

/* "Still needed: A · B" above the pay buttons */
.sst-guide-left {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px dashed;
	border-color: color-mix(in srgb, currentColor 40%, transparent);
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.7;
}
.sst-guide-left[hidden] { display: none; }
.sst-guide-left__lead { font-weight: 600; margin-right: 6px; }
.sst-guide-left__item {
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	min-height: 0;
	box-shadow: none;
}
.sst-guide-left__item:hover,
.sst-guide-left__item:focus { background: none; color: inherit; text-decoration-thickness: 2px; }
.sst-guide-left__item:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* where the shopper was just taken */
.sst-guide-flash { animation: sst-guide-flash 1.6s ease-out 1; }
@keyframes sst-guide-flash {
	0% { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 55%, transparent); }
	100% { box-shadow: 0 0 0 3px transparent; }
}
@media (prefers-reduced-motion: reduce) { .sst-guide-flash { animation: none; outline: 2px solid currentColor; outline-offset: 2px; } }

/* the Wise bank-transfer-screenshot choice, now inside the Wise card */
.sst-guide-wpc { margin: 12px 0 4px; }
.sst-guide-wpc .sst-wpc__fieldset { margin: 0; }
.sst-guide-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.sst-guide-wpc__error { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #b42318; }
.sst-guide-wpc__error[hidden] { display: none; }
.sst-guide-wpc--invalid .sst-wpc__fieldset { outline: 2px solid #b42318; outline-offset: 4px; border-radius: 8px; }

/* guest: one option exists, so it is shown as a note instead of a question */
.sst-guide-wpc--guest .sst-wpc__fieldset { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; min-width: 0; }
.sst-guide-wpc--guest .sst-wpc__title,
.sst-guide-wpc--guest .sst-wpc__radio input,
.sst-guide-wpc--guest .sst-wpc__option--no-commit .sst-wpc__radio,
.sst-guide-wpc--guest .sst-wpc__option--commit .sst-wpc__detail { display: none; }
.sst-guide-wpc--guest .sst-wpc__option--no-commit { order: 1; }
.sst-guide-wpc--guest .sst-wpc__option--no-commit .sst-wpc__detail { margin: 0; font-weight: 600; }
.sst-guide-wpc--guest .sst-wpc__option--commit { order: 2; opacity: 0.8; font-size: 13px; }
.sst-guide-wpc--guest .sst-wpc__option--commit .sst-wpc__radio { display: inline; cursor: default; }
.sst-guide-wpc--guest .sst-wpc__option--commit .sst-wpc__guest { display: inline; margin: 0 0 0 4px; }

/* r2: the phone's bottom bar while something is still missing - an outlined "what comes next",
   not the filled pay button. The bar's own label is hidden, not removed. */
[data-sst-bar-btn][data-sst-guide-bar="next"] .sst-pay { display: none !important; }
[data-sst-bar-btn][data-sst-guide-bar="next"] {
	background: transparent !important;
	color: inherit !important;
	border: 2px solid currentColor !important;
	box-shadow: none !important;
}
.sst-guide-bar { font-weight: 700; }
.sst-guide-bar-ship { margin-left: 6px; font-size: 0.8em; font-weight: 600; opacity: 0.75; white-space: nowrap; }
/* "Total ........ ¥13,200 + shipping": the note sits next to the amount, both to the right */
.sst-guide-bar-pending { justify-content: flex-start !important; }
.sst-guide-bar-pending [data-sst-bar-amount] { margin-left: auto !important; }

/* r2: a message repeated at its field (server refusal, Latin letters) */
.sst-guide-inline { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; font-weight: 600; color: #b42318; }
