/* Wbonus (variant C): styles of the pages other than home, catalog and product — task 07.
   Loaded only by @layout.wbonus.latte, after front-wbonus.css; build on its wb-* classes and tokens.
   Sections: 1 page frame · 2 account tabs · 3 blocks and rows · 4 status, amounts · 5 forms ·
   6 actions bar · 7 checkout (steps, lines, total, payments) · 8 account overview · 9 prose, sign-in, notices · 10 small screens. */

/* ---------- 1 page frame ---------- */
.wb-page-head__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.wb-page-head__row .wb-h2 { max-width: none; }
.wb-page-head__meta { margin: 0.75rem 0 0; color: var(--muted); font-size: 1rem; }
.wb-narrow { max-width: 46rem; }
.wb-stack { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.wb-stack--tight { gap: 1.5rem; }

/* ---------- 2 account tabs (one row, scrolls sideways on phones) ---------- */
.wb-tabs { display: flex; gap: 0.375rem; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0.375rem; list-style: none; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--border); border-radius: var(--r-pill); width: max-content; max-width: 100%; }
.wb-tabs::-webkit-scrollbar { display: none; }
.wb .wb-tabs a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.5rem 1.1rem; border-radius: var(--r-pill); color: var(--muted); font-weight: 700; font-size: 0.9375rem; white-space: nowrap; text-decoration: none; transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.wb .wb-tabs a:hover { color: var(--text); background: var(--surface); }
.wb .wb-tabs a[aria-current="page"] { background: var(--navy); color: var(--on-navy); }

/* ---------- 3 blocks and rows ---------- */
.wb-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin: 0 0 1.25rem; }
.wb-block__title { margin: 0; font: 800 clamp(1.375rem, 2.2vw, 1.75rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.wb-quiet { margin: 0; color: var(--muted); }

.wb-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.wb-row {
	display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto auto; align-items: center; gap: 0.25rem 1.5rem;
	padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.wb-row--3 { grid-template-columns: 11rem minmax(0, 1fr) auto; }
.wb-row__date { color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.wb-row__main { min-width: 0; overflow-wrap: anywhere; }
.wb-row__main b { font-weight: 700; }
.wb-row__main small { display: block; color: var(--muted); font-size: 0.875rem; }
.wb-row__end { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.wb-row.is-unread .wb-row__main { font-weight: 700; }
.wb .wb-row a.wb-row__link { color: var(--text); font-weight: 700; text-decoration: none; }
.wb .wb-row a.wb-row__link:hover { color: var(--primary-ink); }
.wb-icon-btn--sm { width: 2.25rem; height: 2.25rem; }
.wb-icon-btn--sm svg { width: 1rem; height: 1rem; }
.wb a.wb-icon-btn--danger:hover, .wb-icon-btn--danger:hover { color: #b3261e; border-color: currentColor; background: var(--bg); }

/* expandable order (native details) */
.wb-order { border-bottom: 1px solid var(--border); }
.wb-order > summary { list-style: none; cursor: pointer; }
.wb-order > summary::-webkit-details-marker { display: none; }
.wb-order > summary.wb-row { border-bottom: 0; }
.wb-order__chev { width: 1.125rem; height: 1.125rem; color: var(--muted); transition: transform var(--t-fast) var(--ease-out); }
.wb-order[open] .wb-order__chev { transform: rotate(180deg); }
.wb-order__items { margin: 0 0 1.25rem; padding: 0.25rem 1.25rem; list-style: none; border-radius: var(--r-lg); background: var(--surface); }
.wb-order__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; padding: 0.7rem 0; font-size: 0.9375rem; border-bottom: 1px solid var(--border); }
.wb-order__items li:last-child { border-bottom: 0; }
.wb-order__items span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wb-order__items b { font-variant-numeric: tabular-nums; white-space: nowrap; }

.wb-files { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }

/* paginator component (BS3 .pagination) */
.wb .pagination { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 2rem 0 0; }
.wb .pagination > li > a, .wb .pagination > li > span { float: none; display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; margin: 0; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: var(--r-pill) !important; color: var(--text); background: var(--bg); font-weight: 700; font-variant-numeric: tabular-nums; }
.wb .pagination > li > a:hover { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.wb .pagination > .active > a, .wb .pagination > .active > span, .wb .pagination > .active > a:hover { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.wb .pagination > .disabled > a, .wb .pagination > .disabled > span { color: var(--line-strong); background: var(--bg); border-color: var(--border); }

/* ---------- 4 status pill, amounts ---------- */
.wb-status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9375rem; font-weight: 700; white-space: nowrap; }
.wb-status::before { content: ""; width: 0.5rem; height: 0.5rem; flex: none; border-radius: 50%; background: var(--wb-dot, var(--line-strong)); }
.wb-amount { font: 800 1.125rem/1.1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.wb-amount.is-plus { color: var(--primary-ink); }
.wb-amount.is-minus { color: var(--muted); }
.wb-amount small { display: block; margin-top: 0.2rem; font: 500 0.8125rem/1.2 var(--font-body); color: var(--muted); }

/* ---------- 5 forms (clientForm, claim, survey, sign-in) ---------- */
.wb-form { display: grid; gap: clamp(2rem, 4vw, 2.75rem); }
.wb-form__note { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.wb-form .star, .wb-field .star { color: var(--primary-ink); font-weight: 700; }
.wb-form__errors:empty { display: none; }
.wb-form__errors { display: grid; gap: 0.5rem; }
.wb-form__errors .alert { margin: 0; padding: 0.85rem 1rem; border: 1px solid #f1c3c0; border-radius: var(--r-md); background: #fdf3f2; color: #8c1d18; font-size: 0.9375rem; }
.wb-form__errors .alert .close { display: none; }
.wb-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wb-fieldset > legend { width: auto; margin: 0 0 1.25rem; padding: 0; border: 0; font: 800 1.25rem/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--text); }
.wb .wb-fields.panel-body { padding: 0; }
.wb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.wb-fields::before, .wb-fields::after { display: none; }
.wb-fields--one { grid-template-columns: minmax(0, 1fr); }
.wb .wb-field { display: grid; gap: 0.45rem; align-content: start; min-width: 0; margin: 0; }
.wb-field--wide, .wb-field--check { grid-column: 1 / -1; }
.wb .wb-field > label, .wb .wb-field__label { margin: 0; font: 700 0.9rem/1.3 var(--font-body); color: var(--text); }
.wb-field__hint { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.wb .wb-field select.form-control { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: var(--field-bg) var(--select-arrow) right 0.9rem center / 1rem no-repeat; }
.wb .wb-field textarea.form-control { min-height: 9rem; resize: vertical; }
.wb .wb-field input[type="file"] { height: auto; padding: 0.65rem 0.75rem; }
.wb .wb-field .form-control-static { min-height: 0; padding: 0; font-weight: 700; }
.wb .wb-tick { display: inline-flex; align-items: flex-start; gap: 0.7rem; margin: 0; font-weight: 500 !important; cursor: pointer; line-height: 1.45 !important; }
.wb .wb-tick input[type="checkbox"], .wb .wb-tick input[type="radio"], .wb-choice input { appearance: auto; -webkit-appearance: auto; flex: none; width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--navy); cursor: pointer; }
.wb-field .has-error .form-control, .wb .wb-field .form-control.has-error { border-color: #b3261e; }

/* ---------- 6 actions bar (formButtons) ---------- */
.wb-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--border); }
.wb-actions__side { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.wb-actions__side:empty { display: none; }
.wb-actions__side--end { margin-left: auto; }
.wb-actions .btn { min-height: 3rem; padding-inline: 1.5rem; }
.wb-actions .btn-primary, .wb-actions .btn-success { min-height: 3.375rem; padding-inline: 1.9rem; font-size: 1.0625rem; }
.wb-actions .glyphicon { display: none; }
.wb-actions .glyphicon-chevron-left { display: inline-block; font-size: 0.75rem; }
.wb-actions .glyphicon-chevron-right { display: inline-block; font-size: 0.75rem; }

/* ---------- 7 checkout ---------- */
.wb-steps { display: flex; gap: 0.5rem; margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); padding: 0; list-style: none; counter-reset: wb-step; }
.wb-steps li { counter-increment: wb-step; display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.wb-steps li + li::before { content: ""; width: clamp(1rem, 3vw, 2.5rem); height: 1px; background: var(--line-strong); flex: none; }
.wb .wb-steps a, .wb-steps span { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--muted); font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.wb-steps i { display: inline-grid; place-items: center; width: 1.875rem; height: 1.875rem; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); font: 700 0.8125rem/1 var(--font-body); font-style: normal; background: var(--bg); }
.wb-steps i::before { content: counter(wb-step); }
.wb .wb-steps a:hover { color: var(--text); }
.wb .wb-steps .is-done a { color: var(--text); }
.wb-steps .is-done i { background: var(--text); border-color: var(--text); color: var(--on-navy); }
.wb-steps .is-done i::before { content: ""; width: 0.55rem; height: 0.3rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.wb-steps .is-current span, .wb .wb-steps .is-current a { color: var(--text); }
.wb-steps .is-current i { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }

.wb-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.wb-checkout > * { min-width: 0; }

.wb-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.wb-line { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto auto auto; align-items: center; gap: 1rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.wb-line--plain { grid-template-columns: 5.5rem minmax(0, 1fr) auto auto; }
.wb-line__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.wb-line__img img { width: 80%; height: auto; mix-blend-mode: multiply; border: 0; padding: 0; background: none; border-radius: 0; }
.wb-line__img svg { width: 1.75rem; height: 1.75rem; color: var(--primary-ink); }
.wb-line__name { margin: 0; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.wb-line__lead { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wb-line__lead p { margin: 0; display: inline; }
.wb-line__count { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wb-line__price { font: 800 1.25rem/1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; min-width: 6rem; }
.wb-line--gift .wb-line__price, .wb-line--coupon .wb-line__price { color: var(--primary-ink); }
.wb-line .wb-qty { height: 2.75rem; }
.wb-line .wb-qty button { width: 2.5rem; font-size: 1.125rem; }
.wb-line .wb-qty input { width: 2.5rem; }

.wb-cart-extra { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.wb-giftpick { margin-top: clamp(2rem, 4vw, 3rem); }
.wb-giftpick__title { margin: 0 0 1rem; font: 800 1.25rem/1.2 var(--font-display); }
.wb-giftpick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.wb .wb-giftpick__opt { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--r-xl); color: var(--text); text-decoration: none; }
.wb a.wb-giftpick__opt[href]:hover { border-color: var(--navy); }
.wb-giftpick__opt img { width: 4.5rem; height: auto; flex: none; }
.wb-giftpick__opt b { font-weight: 700; }
.wb-giftpick.is-next { opacity: 0.55; }

.wb-total { position: sticky; top: calc(var(--wb-head-offset) + 1.5rem); display: grid; gap: 1.25rem; padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--r-xl); background: var(--surface); }
.wb-total__label { margin: 0; color: var(--muted); font-weight: 500; font-size: 0.9375rem; }
.wb-total__sum { margin: 0.25rem 0 0; font: 800 clamp(2.25rem, 3.6vw, 3rem)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wb-total__rows { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 1rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.9375rem; }
.wb-total__rows dt { margin: 0; color: var(--muted); font-weight: 400; }
.wb-total__rows dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.wb-total__rows .is-big { font: 800 1.25rem/1.15 var(--font-display); color: var(--text); }
.wb-total .wb-btn { width: 100%; }
.wb-total .wb-scale { --wb-scale-h: 0.5rem; }
.wb-total .wb-scale__label { font-size: 0.875rem; }
.wb-total__signin { display: grid; gap: 0.75rem; }
.wb-total__signin p { margin: 0; font-weight: 700; }

.wb-payments { display: grid; gap: 0.75rem; margin: 0; padding: 0; border: 0; }
.wb-payments legend { margin: 0 0 1.25rem; padding: 0; border: 0; font: 800 1.25rem/1.2 var(--font-display); color: var(--text); }
.wb-choice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1.5px solid var(--border); border-radius: var(--r-lg); cursor: pointer; font-weight: 700 !important; transition: border-color var(--t-fast), background-color var(--t-fast); }
.wb-choice:hover { border-color: var(--line-strong); }
.wb-choice:has(input:checked) { border-color: var(--navy); background: var(--surface); }
.wb-choice:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.wb-choice__price { font: 800 1.125rem/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }

.wb-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem 3rem; margin-top: clamp(2rem, 4vw, 3rem); }
.wb-info__title { margin: 0 0 0.75rem; font: 800 1.125rem/1.2 var(--font-display); }
.wb-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.45rem 1.5rem; margin: 0; font-size: 0.9375rem; }
.wb-kv dt { margin: 0; color: var(--muted); font-weight: 400; }
.wb-kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.wb-agree { display: flex; margin-top: clamp(1.5rem, 3vw, 2rem); }
.wb .wb-agree a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8 account overview ---------- */
.wb-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.wb-balance { display: grid; align-content: space-between; gap: 2.5rem; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); }
.wb-balance__label { margin: 0; color: var(--wb-navy-muted); font-weight: 500; }
.wb-balance__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; margin: 0.5rem 0 0; }
.wb-balance__sum b { font: 800 clamp(3.25rem, 7vw, 5.5rem)/0.95 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--orange); }
.wb-balance__sum span { font-size: 1.125rem; color: var(--wb-navy-muted); }
.wb .wb-balance a { color: var(--on-navy); }
.wb .wb-balance .wb-btn--ghost { color: var(--on-navy); border-color: rgb(249 251 255 / 0.4); }
.wb .wb-balance .wb-btn--ghost:hover { border-color: var(--on-navy); background: rgb(249 251 255 / 0.08); }
.wb-balance__links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.wb-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 1.5rem; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--r-xl); border: 1px solid var(--border); }
.wb-profile__img { position: relative; display: block; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden; background: var(--surface); }
.wb-profile__img img { width: 100%; height: 100%; object-fit: cover; border: 0; padding: 0; border-radius: 0; }
a.wb-profile__img { cursor: pointer; }
a.wb-profile__img::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow var(--t-fast); }
a.wb-profile__img:hover::after { box-shadow: inset 0 0 0 2px var(--orange); }
.wb-profile__name { margin: 0; font: 800 1.5rem/1.15 var(--font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.wb-profile__body { display: grid; gap: 1rem; min-width: 0; }
.wb-profile__body .wb-kv { font-size: 0.875rem; }
.wb-profile__body .wb-btn { justify-self: start; }

/* ---------- 9 prose, sign-in, notices ---------- */
.wb-prose { max-width: 70ch; color: var(--hero-lead); overflow-wrap: anywhere; }
.wb-prose > :first-child { margin-top: 0; }
.wb-prose h1, .wb-prose h2, .wb-prose h3, .wb-prose h4 { margin: 2.25rem 0 0.75rem; color: var(--text); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.wb-prose h1 { font-size: 1.75rem; } .wb-prose h2 { font-size: 1.5rem; } .wb-prose h3 { font-size: 1.25rem; } .wb-prose h4 { font-size: 1.0625rem; }
.wb-prose p, .wb-prose ul, .wb-prose ol { margin: 0 0 1rem; }
.wb-prose li { margin-bottom: 0.35rem; }
.wb-prose img { height: auto; border-radius: var(--r-lg); }
.wb-prose table { max-width: 100%; display: block; overflow-x: auto; }
.wb-prose a { text-underline-offset: 3px; }
.wb-carousel { margin-bottom: 2.5rem; border-radius: var(--r-xl); overflow: hidden; }

.wb-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }

.wb-auth { display: grid; place-items: center; padding-block: calc(var(--wb-head-offset) + clamp(2.5rem, 6vw, 5rem)) clamp(4rem, 8vw, 7rem); background: var(--surface); }
.wb-auth__card { width: min(100%, 27rem); display: grid; gap: 1.75rem; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--border); box-shadow: 0 30px 60px -40px rgb(var(--shadow-rgb) / 0.35); }
.wb-auth__card .wb-h3 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
.wb-auth__card form { display: grid; gap: 1.25rem; }
.wb .wb-auth__card .wb-btn { width: 100%; }
.wb-auth__forgot { justify-self: start; padding: 0; border: 0; background: none; color: var(--primary-ink); font-weight: 700; font-size: 0.9375rem; cursor: pointer; }
.wb-auth__forgot:hover { color: var(--text); }
.wb-auth__alt { display: grid; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.wb-auth__alt p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.wb-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 2rem; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); }
.wb-notice p { margin: 0; font-weight: 700; }

.wb-message { display: grid; gap: 2rem; }
.wb-message__body { max-width: 70ch; color: var(--hero-lead); overflow-wrap: anywhere; }
.wb-message__body img { height: auto; }

.wb-claim-dl { grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem 2rem; font-size: 1rem; }

/* survey */
.wb-survey { display: grid; gap: 2.5rem; }
.wb-survey__lead { max-width: 60ch; font-size: 1.125rem; color: var(--hero-lead); }
.wb-survey__lead > :first-child { margin-top: 0; }
.wb-q { display: grid; gap: 0.75rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.wb-q__name { margin: 0; display: flex; gap: 0.75rem; font: 800 1.25rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.wb-q__num { flex: none; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.wb-q__text { color: var(--muted); }
.wb-q__text > :first-child { margin-top: 0; } .wb-q__text > :last-child { margin-bottom: 0; }
.wb-q__opts { display: grid; gap: 0.6rem; }
.wb-q__opts .radio, .wb-q__opts .checkbox { margin: 0; }
.wb-q__opts label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; padding: 0; font-weight: 500; cursor: pointer; }
.wb-q__opts input[type="radio"], .wb-q__opts input[type="checkbox"] { position: static; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--navy); }
.wb .wb-q__opts .inputplus { flex: 1 1 14rem; height: 2.75rem; padding: 0.5rem 0.9rem; border: 1.5px solid var(--field-border); border-radius: var(--r-md); }
.wb-q__sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem); gap: 0.75rem 1.5rem; align-items: center; }
.wb .wb-q__sub select { width: 100%; height: 2.75rem; padding: 0.4rem 2.5rem 0.4rem 0.9rem; border: 1.5px solid var(--field-border); border-radius: var(--r-md); appearance: none; -webkit-appearance: none; background: var(--field-bg) var(--select-arrow) right 0.9rem center / 1rem no-repeat; }
.wb-q__sep { padding-top: 1rem; font: 800 1.375rem/1.25 var(--font-display); }

/* ---------- 10 small screens ---------- */
@media (max-width: 960px) {
	.wb-checkout, .wb-contact, .wb-overview { grid-template-columns: minmax(0, 1fr); }
	.wb-total { position: static; }
}
@media (max-width: 640px) {
	.wb-steps { gap: 0.35rem; }
	.wb-steps li + li::before { width: 0.75rem; }
	.wb-steps li:not(.is-current) a b, .wb-steps li:not(.is-current) span b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.wb-fields { grid-template-columns: minmax(0, 1fr); }
	.wb-row, .wb-row--3 { grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1rem; }
	.wb-row__date { grid-column: 1 / -1; font-size: 0.8125rem; }
	.wb-row--3 .wb-row__main, .wb-row .wb-row__main { grid-column: 1; }
	.wb-row > .wb-row__end:last-child { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
	.wb-line, .wb-line--plain { grid-template-columns: 4.25rem minmax(0, 1fr) auto; gap: 0.75rem 1rem; }
	.wb-line__info { grid-column: 2 / -1; }
	.wb-line .wb-qty, .wb-line__count { grid-column: 2; justify-self: start; }
	.wb-line__price { grid-column: 3; min-width: 0; }
	.wb-line > .wb-icon-btn { grid-column: 3; grid-row: 1; align-self: start; justify-self: end; }
	.wb-line:has(> .wb-icon-btn) .wb-line__info { grid-column: 2; }
	.wb-line__img { grid-row: span 2; align-self: start; }
	.wb-giftpick__grid { grid-template-columns: minmax(0, 1fr); }
	.wb-actions { flex-direction: column-reverse; align-items: stretch; }
	.wb-actions__side { flex-direction: column; }
	.wb-actions__side--end { margin-left: 0; }
	.wb-actions .btn { width: 100%; }
	.wb-profile { grid-template-columns: minmax(0, 1fr); }
	.wb-kv, .wb-claim-dl { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
	.wb-kv dd { margin-bottom: 0.6rem; }
	.wb-q__sub { grid-template-columns: minmax(0, 1fr); }
	.wb-order__items li { grid-template-columns: minmax(0, 1fr) auto; }
	.wb-order__items li span:first-of-type { display: none; }
}

/* checkout: AJAX loader frame, buttons from the presenter inside the total */
#order-box { position: relative; }
#order-box > .loader { border-radius: var(--r-xl); }
.wb-total .wb-actions__side { display: grid; }
.wb-total .btn { width: 100%; min-height: 3.375rem; font-size: 1.0625rem; }
.wb-total .glyphicon { display: none; }
.wb-cart-extra .glyphicon { font-size: 0.75rem; }
.wb-total__items { display: grid; gap: 0.5rem; margin: 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid var(--border); font-size: 0.875rem; }
.wb-total__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
.wb-total__items span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-total__items b { font-variant-numeric: tabular-nums; }

/* contact: page content from the instance (BS3 row of panels) becomes a quiet list of addresses */
.wb-contact .wb-prose .row { display: grid; gap: 2rem; margin: 0; }
.wb-contact .wb-prose .row::before, .wb-contact .wb-prose .row::after { display: none; }
.wb-contact .wb-prose [class*="col-"] { float: none; width: auto; padding: 0; }
.wb-contact .wb-prose .panel { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: none; min-height: 0 !important; }
.wb-contact .wb-prose .panel-body { padding: 0 0 0 1.25rem; min-height: 0 !important; border-left: 1px solid var(--line-strong); }
.wb-contact .wb-prose h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.wb-contact .wb-prose p { margin: 0; }
.wb-contact .wb-block__title { margin-bottom: 0.5rem; }
.wb-contact .wb-actions { border-top: 0; padding-top: 0; }

/* native file input (claim attachment) */
.wb .wb-field input[type="file"] { width: 100%; max-width: 100%; min-width: 0; padding: 0.55rem; border: 1.5px dashed var(--field-border); border-radius: var(--r-md); background: var(--field-bg); font-size: 0.9375rem; color: var(--muted); cursor: pointer; }
.wb .wb-field input[type="file"]::file-selector-button { margin-right: 0.85rem; padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--text) 38%, transparent); border-radius: var(--r-pill); background: var(--bg); color: var(--text); font: 700 0.9375rem/1.2 var(--font-body); cursor: pointer; }
.wb .wb-field input[type="file"]:hover::file-selector-button { border-color: var(--text); }
.wb-auth { padding-inline: var(--gutter); }
.wb-q.wb-fieldset { border-top: 0; box-shadow: inset 0 1px 0 var(--border); }
.wb-q > legend { float: left; width: 100%; margin: 0; }
.wb-q > legend + * { clear: both; }
