/* Sneaker Revival – booking form (matches "Book a Collection" mockup). Uses theme tokens with fallbacks. */
.srjb-wrap [hidden] { display: none !important; }
.srjb-wrap { --b-cyan: var(--srj-cyan, #00f0e8); --b-teal: var(--srj-teal, #0a9e9a); --b-navy: var(--srj-navy, #021118); --b-ink: var(--srj-ink, #0b1b24); --b-text: var(--srj-text, #4a5b66); --b-muted: var(--srj-muted, #6f808a); --b-border: var(--srj-border, #e3eaee); --b-tint: var(--srj-tint, #e8fbfb); --b-r: var(--srj-radius, 10px); padding-top: 28px; }
.srjb { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.srjb__main { background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-r); padding: 18px 22px 26px; box-shadow: 0 6px 24px rgba(2, 17, 24, .06); }
.srjb__aside { position: sticky; top: calc(var(--srj-header-h, 76px) + 16px); display: grid; gap: 14px; }

/* progress */
.srjb-progress { list-style: none; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--b-border); border-radius: var(--b-r); }
.srjb-progress li { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 12.5px; color: var(--b-muted); position: relative; }
.srjb-progress li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--b-border); min-width: 10px; }
.srjb-progress span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eef2f4; color: var(--b-ink); font-weight: 700; flex: none; }
.srjb-progress strong { font-weight: 600; line-height: 1.25; max-width: 110px; }
.srjb-progress .is-active span { background: var(--b-teal); color: #fff; }
.srjb-progress .is-active { color: var(--b-ink); }
.srjb-progress .is-done span { background: var(--b-cyan); color: var(--b-navy); }

/* blocks */
.srjb-form { margin: 0; }
.srjb-block { border: 0; margin: 0; padding: 18px 0 8px; min-width: 0; }
.srjb-block + .srjb-block { border-top: 1px solid var(--b-border); }
.srjb-block__head { display: flex; gap: 12px; align-items: center; padding: 0; margin-bottom: 14px; width: 100%; }
.srjb-block__head strong { display: block; font-size: 18px; color: var(--b-ink); font-weight: 700; }
.srjb-block__head small { display: block; font-size: 13px; color: var(--b-muted); }
.srjb-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--b-teal); color: #fff; font-weight: 700; flex: none; }

/* services */
.srjb-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.srjb-service { position: relative; border: 1px solid var(--b-border); border-radius: var(--b-r); background: #fff; transition: border-color .2s, box-shadow .2s; display: flex; flex-direction: column; }
.srjb-service.is-selected { border-color: var(--b-cyan); box-shadow: 0 0 0 2px var(--b-cyan); }
.srjb-service__pick { all: unset; cursor: pointer; display: flex; flex-direction: column; padding: 8px 8px 10px; flex: 1; }
.srjb-service__pick:focus-visible { outline: 3px solid var(--b-cyan); border-radius: var(--b-r); }
.srjb-service__media { position: relative; display: block; border-radius: 7px; overflow: hidden; aspect-ratio: 16 / 10; background: #e4eaec; margin-bottom: 8px; }
.srjb-service__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.srjb-radio { position: absolute; left: 8px; bottom: 8px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #c5d0d5; }
.is-selected .srjb-radio { border-color: var(--b-teal); box-shadow: inset 0 0 0 4px #fff; background: var(--b-teal); }
.srjb-service__title { font-weight: 700; color: var(--b-ink); font-size: 14px; }
.srjb-service__desc { font-size: 12px; color: var(--b-muted); line-height: 1.45; margin: 2px 0 6px; flex: 1; }
.srjb-service__price strong { font-size: 18px; color: var(--b-ink); font-weight: 800; }
.srjb-service__price small { font-size: 11.5px; color: var(--b-muted); }
.srjb-service .srjb-qty { margin: 0 8px 10px; }

/* qty */
.srjb-qty { display: inline-flex; align-items: center; border: 1px solid var(--b-border); border-radius: 8px; overflow: hidden; background: #fff; }
.srjb-qty button { width: 44px; height: 44px; border: 0; background: #f4f7f8; cursor: pointer; display: grid; place-items: center; color: var(--b-ink); }
.srjb-qty button:hover { background: var(--b-tint); }
.srjb-qty input, .srjb-qty output { width: 56px; text-align: center; border: 0; font: inherit; font-size: 18px; font-weight: 600; color: var(--b-ink); -moz-appearance: textfield; display: inline-block; }
.srjb-qty input::-webkit-outer-spin-button, .srjb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.srjb-qty--sm button { width: 34px; height: 34px; }
.srjb-qty--sm input { width: 40px; font-size: 15px; }
.srjb-pairs { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.srjb-pairs__label { font-weight: 700; color: var(--b-ink); }
.srjb-info { display: flex; gap: 10px; align-items: center; background: #f2f7f8; border-radius: 8px; padding: 10px 14px; font-size: 12px; color: var(--b-text); margin: 0; flex: 1; min-width: 240px; }
.srjb-info .srj-icon { color: #fff; background: var(--b-teal); border-radius: 50%; padding: 2px; }
.srjb-info strong { color: var(--b-ink); }

/* addons */
.srjb-addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.srjb-addon { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--b-border); border-radius: var(--b-r); padding: 12px 34px 12px 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.srjb-addon:hover { border-color: #b8e8e6; }
.srjb-addon.is-selected { border-color: var(--b-cyan); background: #f4fefe; }
.srjb-addon__check { position: absolute; opacity: 0; pointer-events: none; }
.srjb-addon__check:focus-visible + .srjb-addon__icon { outline: 3px solid var(--b-cyan); }
.srjb-addon__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--b-tint); color: var(--b-ink); flex: none; }
.srjb-addon__body strong { display: block; font-size: 13px; color: var(--b-ink); }
.srjb-addon__body small { display: block; font-size: 11.5px; color: var(--b-muted); line-height: 1.4; margin: 2px 0 6px; }
.srjb-addon__price { font-size: 11.5px; color: var(--b-muted); }
.srjb-addon__price b { font-size: 16px; color: var(--b-ink); }
.srjb-addon__for { display: block; font-size: 11px; color: var(--b-teal); font-style: normal; font-weight: 600; }
.srjb-check { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border: 2px solid #c5d0d5; border-radius: 4px; }
.srjb-addon.is-selected .srjb-check { background: var(--b-teal); border-color: var(--b-teal); }
.srjb-addon.is-selected .srjb-check::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* fields */
.srjb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 14px; }
.srjb-field { min-width: 0; }
.srjb-field--full { margin-bottom: 14px; }
.srjb-field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--b-ink); margin-bottom: 7px; }
.srjb .srj-input { position: relative; }
.srjb .srj-input > .srj-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--b-muted); width: 20px; height: 20px; pointer-events: none; z-index: 1; }
.srjb .srj-input--area > .srj-icon { top: 16px; transform: none; }
.srjb .srj-input input, .srjb .srj-input select, .srjb .srj-input textarea { width: 100%; min-height: 50px; border: 1px solid var(--b-border); border-radius: 8px; padding: 11px 14px 11px 46px; font: inherit; font-size: 14.5px; color: var(--b-ink); background: #fff; -webkit-appearance: none; appearance: none; }
.srjb .srj-input select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230b1b24' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.srjb .srj-input textarea { min-height: 70px; resize: vertical; }
.srjb .srj-input input:focus, .srjb .srj-input select:focus, .srjb .srj-input textarea:focus { outline: none; border-color: var(--b-teal); box-shadow: 0 0 0 4px rgba(0, 240, 232, .16); }
.srjb .has-error input, .srjb .has-error select, .srjb .has-error textarea { border-color: #d63649; }
.srjb-error { color: #d63649; font-size: 12.5px; margin: 6px 0 0; }
.srjb-error:empty { display: none; }
.srjb-hint { display: block; font-size: 12px; color: var(--b-muted); margin-top: 6px; }
.srjb-area { font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.srjb-area:empty { display: none; }
.srjb-area.is-yes { color: #10a36b; }
.srjb-area.is-yes::before { content: "✓ "; }
.srjb-area.is-no { color: #d63649; }

/* autocomplete */
.srjb-ac__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--b-border); border-radius: 10px; box-shadow: 0 18px 40px rgba(2, 17, 24, .16); max-height: 300px; overflow: auto; }
.srjb-ac__list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.srjb-ac__list li strong { display: block; font-size: 14px; color: var(--b-ink); }
.srjb-ac__list li small { display: block; font-size: 12px; color: var(--b-muted); }
.srjb-ac__list li:hover, .srjb-ac__list li.is-active { background: var(--b-tint); }
.srjb-ac__list::after { content: "powered by Google"; display: block; text-align: right; font-size: 10px; color: #9aa9b1; padding: 4px 8px 0; }
.pac-container { z-index: 99999 !important; border-radius: 10px; font-family: inherit; }

/* slots */
.srjb-slots { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: -2px 0 16px; }
.srjb-slots__label { width: 100%; font-size: 13px; font-weight: 600; color: var(--b-ink); }
.srjb-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid var(--b-border); background: #fff; border-radius: 8px; padding: 10px 14px; cursor: pointer; font: inherit; text-align: left; }
.srjb-slot strong { font-size: 13.5px; color: var(--b-ink); }
.srjb-slot small { font-size: 11.5px; color: var(--b-muted); }
.srjb-slot.is-selected { border-color: var(--b-cyan); box-shadow: 0 0 0 2px var(--b-cyan); background: #f4fefe; }
.srjb-slot[disabled] { opacity: .45; cursor: not-allowed; }

/* photos / consent */
.srjb-drop { display: flex !important; gap: 12px; align-items: center; border: 2px dashed #c9dfe2; border-radius: 10px; padding: 14px 16px; cursor: pointer; font-weight: 500 !important; color: var(--b-text) !important; font-size: 13px !important; }
.srjb-drop:hover { border-color: var(--b-teal); background: #f7fdfd; }
.srjb-drop .srj-icon { color: var(--b-teal); }
.srjb-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.srjb-thumbs { list-style: none; display: flex; gap: 8px; margin: 8px 0 0; padding: 0; flex-wrap: wrap; }
.srjb-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.srjb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 10px 0 0; color: var(--b-text); cursor: pointer; }
.srjb-consent input { margin-top: 3px; accent-color: var(--b-teal); width: 16px; height: 16px; flex: none; }
.srjb-consent a { color: var(--b-teal); }

/* summary */
.srjb-summary { background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-r); overflow: hidden; box-shadow: 0 6px 24px rgba(2, 17, 24, .06); }
.srjb-summary__title { margin: 0; background: var(--b-navy); color: #fff !important; padding: 16px 18px; font-size: 20px; font-weight: 800; }
.srjb-summary__title .srj-accent { color: var(--b-cyan); }
.srjb-summary__body { padding: 14px 18px 16px; }
.srjb-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.srjb-line { display: flex; align-items: center; gap: 12px; }
.srjb-line img, .srjb-line__ph { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; background: #e4eaec; }
.srjb-line__txt { flex: 1; min-width: 0; }
.srjb-line__txt strong { display: block; font-size: 14px; color: var(--b-ink); }
.srjb-line__txt small { display: block; font-size: 12px; color: var(--b-muted); }
.srjb-line b { font-size: 14px; color: var(--b-ink); }
.srjb-line--addon strong { font-size: 13px; font-weight: 600; }
.srjb-empty { font-size: 12.5px; color: var(--b-muted); }
.srjb-summary__sub { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--b-border); }
.srjb-summary__sub > strong { display: block; font-size: 14px; color: var(--b-ink); margin-bottom: 6px; }
.srjb-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--b-border); font-size: 14px; }
.srjb-totals dt { color: var(--b-text); display: flex; align-items: center; gap: 4px; }
.srjb-totals dd { margin: 0; font-weight: 700; color: var(--b-ink); text-align: right; }
.srjb-totals dd.is-free { color: var(--b-teal); }
.srjb-tip { color: var(--b-muted); cursor: help; }
.srjb-total { display: flex; justify-content: space-between; align-items: center; background: var(--b-tint); margin: 12px -18px -16px; padding: 14px 18px; font-size: 18px; font-weight: 800; color: var(--b-ink); }
.srjb-min { margin: 18px 0 0; font-size: 12px; }
.srjb-min__bar { height: 6px; background: #e8eef0; border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.srjb-min__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--b-teal), var(--b-cyan)); transition: width .3s; }
.srjb-min p { margin: 0; color: #b5541b; font-weight: 600; }
.srjb-min.is-ok p { color: #10a36b; }

.srjb-deposit { background: var(--b-tint); border: 1px solid #c3efed; border-radius: var(--b-r); padding: 16px 18px; }
.srjb-deposit__head { display: flex; gap: 12px; align-items: flex-start; }
.srjb-deposit__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--b-teal); color: #fff; flex: none; }
.srjb-deposit h3 { margin: 0 0 4px; font-size: 17px; color: var(--b-ink); }
.srjb-deposit p { margin: 0; font-size: 12px; color: var(--b-text); }
.srjb-deposit__rows { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #c3efed; font-size: 13.5px; }
.srjb-deposit__rows dt { color: var(--b-ink); font-weight: 600; }
.srjb-deposit__rows dd { margin: 0; font-weight: 800; color: var(--b-ink); }

.srjb-pay, .srjb-trust { background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-r); padding: 16px 18px; }
.srjb-pay h3, .srjb-trust h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; color: var(--b-ink); }
.srjb-pay > p { font-size: 12.5px; color: var(--b-muted); margin: 0 0 10px; }
.srjb-pay__brand { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--b-border); border-radius: 8px; padding: 10px 12px; }
.srjb-payfast { font-size: 26px; font-weight: 800; color: #e2001a; font-style: italic; letter-spacing: -.03em; }
.srjb-payfast em { color: #e2001a; }
.srjb-pay__lock { display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--b-muted); max-width: 120px; line-height: 1.25; }
.srjb-methods { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 10px 0 14px; padding: 0; font-size: 12px; font-weight: 800; color: var(--b-ink); }
.srjb-methods li:first-child { color: #1a1f71; font-style: italic; }
.srjb-methods li:nth-child(2) { color: #eb001b; }
.srjb-pay .srj-btn { gap: 8px; font-size: 14px; }
.srjb-pay__note { font-size: 11.5px; color: var(--b-muted); margin: 10px 0 0; }
.srjb-status { font-size: 13px; font-weight: 600; margin: 8px 0 0; color: var(--b-teal); }
.srjb-status:empty { display: none; }
.srjb-status.is-err { color: #d63649; }
.srjb-trust { background: #f4fafb; }
.srjb-trust h3 .srj-icon { color: var(--b-ink); }
.srjb-trust ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 38px; display: grid; gap: 6px; font-size: 12.5px; color: var(--b-text); }
.srjb-trust li { display: flex; gap: 8px; align-items: center; }
.srjb-trust li .srj-icon { color: #10a36b; stroke-width: 2.6; }
.srjb-mobilebar { display: none; }

.srjb .is-loading { position: relative; color: transparent !important; }
.srjb .is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(2, 17, 24, .25); border-top-color: var(--b-navy); border-radius: 50%; animation: srjb-spin .8s linear infinite; }
@keyframes srjb-spin { to { transform: rotate(360deg); } }

/* result & pay pages */
.srjb-result { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--b-border); border-radius: 14px; padding: 36px 28px; box-shadow: 0 18px 50px rgba(2, 17, 24, .1); }
.srjb-result__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--b-tint); color: #10a36b; margin-bottom: 14px; }
.srjb-result__icon.is-warn { color: #d08b00; background: #fff6e0; }
.srjb-result__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; margin: 20px auto; max-width: 440px; font-size: 14px; }
.srjb-result__meta dt { color: var(--b-muted); }
.srjb-result__meta dd { margin: 0; color: var(--b-ink); font-weight: 600; }
.srjb-paytable { width: 100%; border-collapse: collapse; margin: 18px 0; text-align: left; font-size: 14px; }
.srjb-paytable td { padding: 8px 0; border-bottom: 1px solid var(--b-border); }
.srjb-paytable td:last-child { text-align: right; }
.srjb-paytable .is-total td { font-weight: 700; color: var(--b-ink); }
.srjb-paytable .is-due td { font-weight: 800; font-size: 17px; color: var(--b-ink); border-bottom: 0; }
.srjb-note-ok { color: #10a36b; font-weight: 600; }
.srjb-pf-form { margin-top: 10px; }

@media (max-width: 1100px) {
	.srjb { grid-template-columns: 1fr; }
	.srjb__aside { position: static; grid-template-columns: 1fr 1fr; }
	.srjb-summary { grid-column: 1 / -1; }
	.srjb-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.srjb__main { padding: 14px; }
	.srjb-progress strong { display: none; }
	.srjb-progress li.is-active strong { display: block; }
	.srjb-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srjb-addons { grid-template-columns: 1fr; }
	.srjb-grid2 { grid-template-columns: 1fr; }
	.srjb__aside { grid-template-columns: 1fr; }
	.srjb-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 960; background: var(--b-navy); color: #fff; padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2); }
	.srjb-mobilebar small { display: block; font-size: 11px; color: #b6c6cd; }
	.srjb-mobilebar strong { font-size: 18px; }
	.srjb-wrap { padding-bottom: 80px; }
	body:has(.srjb-mobilebar) .srj-wa-float { bottom: 84px; }
}
