/* torque.news: /advertise/ (page-templates/advertise.php, assets/js/ad-booking.js).
   Title cards, the booking guide, the sizes gallery and the step-by-step booking modal.
   Client rules: amber accent, Rajdhani headings, no box shadows, visible loading states. */

/* ---------- title cards ---------- */
.adv-titles-wrap { container-type: inline-size; }
.adv-titles { display: grid; gap: 24px; grid-template-columns: 1fr; }
.adv-title { display: flex; flex-direction: column; min-width: 0; border: 1px solid rgb(var(--ln-ink) / .1); border-radius: 6px; overflow: hidden; background: rgb(var(--sf-panel)); transition: border-color .2s; }
.adv-title:hover { border-color: rgba(244,151,49,.6); }
.adv-title__head { display: flex; align-items: center; height: 96px; padding: 0 28px; background: #16181d; border-bottom: 3px solid var(--accent); }
/* Every title logo sits at one height. body img beats WooCommerce's img reset. */
body img.adv-logo { display: block; height: 38px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.adv-title__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 26px; }
.adv-title__strap { font-size: .95rem; line-height: 1.5; color: rgb(var(--tx-sdark)); min-height: 2.9em; }
.adv-title__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgb(var(--ln-ink) / .1); }
.adv-title__facts dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8a919c; }
.adv-title__facts dd { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.2rem; color: rgb(var(--tx-ink)); margin-top: 2px; }
.adv-title__sectors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
/* The Book in button and the media pack link share one line wherever the longest pair (Bulk & Tipper) fits,
   so the spacing is a touch tighter than the site's other small buttons (Andy, 8 Oct 2026). */
.adv-title__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 24px; }
.adv-title__cta .btn { letter-spacing: .06em; padding-left: 1em; padding-right: 1em; }
.adv-link { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--tx-ink)); border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.adv-link:hover { color: var(--accent-deep); }
/* Where the longest pair would not fit, all three cards put the link under the button, never two one way
   and one the other. The widths follow the default wording: if it is lengthened the pair still wraps. */
@container (max-width: 392px) {
	.adv-title__cta { flex-direction: column; align-items: flex-start; }
}
@container (min-width: 780px) and (max-width: 1202px) {
	.adv-title__cta { flex-direction: column; align-items: flex-start; }
}
/* All three titles on one line wherever they fit, never two and one (Shell, 7 Oct 2026). Each card
   shares the row's tracks, so the blurb, facts, sectors and buttons start on the same line in all three. */
@container (min-width: 780px) {
	.adv-titles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.adv-title { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
	.adv-title__body { display: contents; }
	.adv-title__body > * { margin-left: 28px; margin-right: 28px; align-self: start; }
	.adv-title__strap { padding-top: 24px; }
	.adv-title__cta { padding-bottom: 26px; }
}
/* Cards short of their full width (sidebar open) take 24px sides, which gives the Book in button and the
   media pack link room to share a line with the side menu open, from a window about 1610px wide. */
@container (min-width: 780px) and (max-width: 1259px) {
	.adv-title__head { padding: 0 24px; }
	.adv-title__body > * { margin-left: 24px; margin-right: 24px; }
}
/* Narrow cards: logos come down to one smaller height so Bulk & Tipper fits whole, and the
   facts read label then figure on one line so no label wraps. */
@container (min-width: 780px) and (max-width: 1059px) {
	.adv-title__head img.adv-logo { height: 30px; }
	.adv-title__facts { grid-template-columns: 1fr; gap: 8px; }
	.adv-title__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
	.adv-title__facts dd { margin-top: 0; }
}

/* ---------- booking guide ---------- */
.adv-guide { display: grid; gap: 32px; margin-top: 28px; align-items: start; }
@media (min-width: 1000px) { .adv-guide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.adv-guide__lead { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: rgb(var(--tx-ink)); }
.adv-guide__text { margin-top: 12px; color: rgb(var(--tx-sdark)); line-height: 1.6; max-width: 56ch; }
.adv-guide__btn { margin-top: 22px; font-size: 1rem !important; padding-left: 30px !important; padding-right: 30px !important; }
.adv-steps { display: grid; gap: 0; counter-reset: none; border-top: 1px solid rgb(var(--ln-ink) / .12); }
.adv-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgb(var(--ln-ink) / .12); }
.adv-steps b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #16181d; color: var(--accent); font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1rem; }
.adv-steps span { color: rgb(var(--tx-sdark)); font-size: .92rem; line-height: 1.45; padding-top: 1px; }
.adv-steps strong { display: block; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; color: rgb(var(--tx-ink)); }

/* ---------- sizes gallery ---------- */
.adv-sub { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; color: rgb(var(--tx-ink)); margin-top: 52px; }
.adv-sizes { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .adv-sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* One column per size on sale, so the row always runs the full width (--adv-cols is set on the web sizes row). */
@media (min-width: 1200px) { .adv-sizes { grid-template-columns: repeat(var(--adv-cols, 7), minmax(0, 1fr)); } }
.adv-size { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; padding: 18px 14px 16px; background: rgb(var(--sf-panel)); border: 1px solid rgb(var(--ln-ink) / .1); border-radius: 6px; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
button.adv-size:hover, button.adv-size:focus-visible { border-color: var(--accent); transform: translateY(-2px); outline: none; }
.adv-size__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; overflow: hidden; }
/* The shape keeps its true aspect ratio and is sized (inline style) to fit the stage. */
.adv-shape { display: block; max-height: 100%; background: rgba(244,151,49,.22); border: 1.5px solid var(--accent); border-radius: 2px; }
.adv-size__name { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; color: rgb(var(--tx-ink)); }
.adv-size__px { font-size: .76rem; color: #8a919c; margin-top: 2px; }
.adv-size__price { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.1rem; color: rgb(var(--tx-ink)); margin-top: 10px; }
.adv-size__price small { display: block; font-size: .72rem; font-weight: 600; color: #8a919c; white-space: nowrap; }
.adv-size__slots { font-size: .7rem; color: #8a919c; margin-top: 4px; }
.adv-size__where, .adb-size__where { font-size: .7rem; font-weight: 600; line-height: 1.35; color: rgb(var(--tx-ink)); margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(var(--ln-ink) / .1); }
.adb-size__where { margin-top: 4px; padding-top: 4px; }
.adv-sub--print { margin-top: 40px; }
.adv-sizes--print { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 900px) { .adv-sizes--print { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.adv-sizes--prime { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .adv-sizes--prime { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adv-sizes__note { font-size: .88rem; color: rgb(var(--tx-sdark)); margin-top: 16px; line-height: 1.5; }

/* ---------- booking modal ---------- */
html.adb-lock { overflow: hidden; }
.adb[hidden] { display: none; }
.adb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.adb__scrim { position: absolute; inset: 0; background: rgba(12,13,16,.78); animation: adb-fade .2s ease-out; }
.adb__panel { position: relative; display: flex; flex-direction: column; width: min(1080px, 100%); max-height: calc(100vh - 48px); background: rgb(var(--sf-page)); border-radius: 8px; overflow: hidden; animation: adb-rise .25s ease-out; }
@keyframes adb-fade { from { opacity: 0; } }
@keyframes adb-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .adb__scrim, .adb__panel { animation: none; } }

.adb__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; background: #16181d; color: #fff; }
.adb__kicker { display: block; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.adb__title { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; margin-top: 2px; }
.adb__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer; }
.adb__x:hover { border-color: var(--accent); color: var(--accent); }

.adb__progress { display: grid; grid-template-columns: repeat(5, 1fr); background: #1e2127; }
.adb__progress li { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #8a919c; border-bottom: 3px solid transparent; }
.adb__progress b { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .75rem; }
.adb__progress li.is-done { color: #d5d8dd; }
.adb__progress li.is-done b { background: var(--accent); border-color: var(--accent); color: #16181d; }
.adb__progress li.is-on { color: #fff; border-bottom-color: var(--accent); }
.adb__progress li.is-on b { border-color: var(--accent); color: var(--accent); }

.adb__main { display: grid; flex: 1; min-height: 0; overflow-y: auto; }
/* Safari sizes the row to the whole step instead of the panel, so the steps column never scrolls there:
   the main area scrolls instead. Elsewhere nothing overflows it and the steps column scrolls on its own. */
@media (min-width: 900px) { .adb__main { grid-template-columns: minmax(0, 1fr) 300px; overflow-y: auto; } }
.adb__steps { padding: 26px; overflow-y: auto; min-height: 0; }
@media (min-width: 900px) { .adb__steps { padding: 30px 32px; } }
.adb-step[hidden] { display: none; }
.adb-step { animation: adb-fade .2s ease-out; }
.adb-q { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; color: rgb(var(--tx-ink)); margin: 0 0 12px; }
.adb-q + * + .adb-q, .adb-chips + .adb-q { margin-top: 26px; }
.adb-hint { font-size: .85rem; color: rgb(var(--tx-sdark)); margin-top: 16px; line-height: 1.5; }

/* shared: hide native inputs, draw our own states */
.adb-tcard input, .adb-chip input, .adb-size input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* step 1: title cards */
.adb-titles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .adb-titles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adb-tcard { position: relative; display: flex; flex-direction: column; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: rgb(var(--sf-panel)); cursor: pointer; transition: border-color .15s; }
.adb-tcard__art { display: flex; align-items: center; justify-content: center; height: 84px; padding: 0 16px; background: #16181d; color: #fff; }
body .adb-tcard__art img.adv-logo { height: 26px; object-position: center; }
.adb-tcard__all { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.adb-tcard__meta { display: flex; flex-direction: column; padding: 12px 14px 13px; border: 1px solid rgb(var(--ln-ink) / .1); border-top: 0; border-radius: 0 0 4px 4px; }
.adb-tcard__meta strong { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1rem; color: rgb(var(--tx-ink)); }
.adb-tcard__meta em { font-style: normal; font-size: .78rem; color: #8a919c; }
.adb-tcard::after { content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); }
.adb-tcard:has(input:checked) { border-color: var(--accent); }
.adb-tcard:has(input:checked)::after { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2316181d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--accent); }
.adb-tcard:has(input:checked) .adb-tcard__meta { border-color: transparent; }
.adb-tcard:has(input:focus-visible) { outline: 2px solid rgb(var(--tx-ink)); outline-offset: 2px; }

/* chips (placements, run length) */
.adb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adb-chip { position: relative; display: inline-flex; cursor: pointer; font: inherit; background: none; border: 0; padding: 0; }
.adb-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid rgb(var(--ln-ink) / .18); background: rgb(var(--sf-panel)); font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .92rem; color: rgb(var(--tx-ink)); transition: border-color .15s, background .15s; }
.adb-chip:hover span { border-color: var(--accent); }
.adb-chip:has(input:checked) span, .adb-chip.is-on span { background: rgb(var(--tx-ink)); border-color: rgb(var(--tx-ink)); color: rgb(var(--sf-panel)); }
.adb-chip.is-off { cursor: not-allowed; }
.adb-chip.is-off span, .adb-chip.is-off:hover span { opacity: .4; border-color: rgb(var(--ln-ink) / .18); }
.adb-chip:has(input:checked) span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.adb-chip:has(input:focus-visible) span, .adb-chip--btn:focus-visible span { outline: 2px solid var(--accent); outline-offset: 2px; }
.adb-chip--btn:focus-visible { outline: none; }

/* step 2: web, print or both */
.adb-chans { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
@media (max-width: 559px) { .adb-chans { grid-template-columns: 1fr; } }
.adb-chan { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 13px 46px; background: rgb(var(--sf-panel)); border: 2px solid rgb(var(--ln-ink) / .08); border-radius: 6px; cursor: pointer; transition: border-color .15s, background .15s; }
.adb-chan input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.adb-chan::before { content: ""; position: absolute; top: 15px; left: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgb(var(--ln-ink) / .3); background: rgb(var(--sf-panel)); }
.adb-chan:hover { border-color: rgba(244,151,49,.6); }
.adb-chan:has(input:checked) { border-color: var(--accent); background: #fff8f0; }
.adb-chan:has(input:checked)::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2316181d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.adb-chan:has(input:focus-visible) { outline: 2px solid rgb(var(--tx-ink)); outline-offset: 2px; }
.adb-chan__name { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; color: rgb(var(--tx-ink)); }
.adb-chan__line { font-size: .78rem; color: rgb(var(--tx-sdark)); line-height: 1.35; }
.adb-part[hidden] { display: none !important; }
.adb-q--mt { margin-top: 24px; }
.adb-sizes--print .adv-shape, .adv-sizes--print .adv-shape { background: rgb(var(--sf-panel)); border: 1.5px solid rgb(var(--tx-ink)); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(22,24,29,.25); }
.adb-sizes--print .adv-shape--prime, .adv-sizes--print .adv-shape--prime { border-color: #f49731; }
.adb-sizes--print { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* step 2: sizes */
.adb-sizes { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .adb-sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adb-size { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 10px 12px; background: rgb(var(--sf-panel)); border: 2px solid rgb(var(--ln-ink) / .08); border-radius: 6px; cursor: pointer; transition: border-color .15s; }
.adb-size:hover { border-color: rgba(244,151,49,.6); }
.adb-size:has(input:checked) { border-color: var(--accent); background: #fff8f0; }
.adb-size:has(input:focus-visible) { outline: 2px solid rgb(var(--tx-ink)); outline-offset: 2px; }
.adb-size__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; overflow: hidden; }
.adb-size__name { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: .88rem; text-transform: uppercase; margin-top: 10px; color: rgb(var(--tx-ink)); }
.adb-size__px { font-size: .72rem; color: #8a919c; }
.adb-size__price { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: .92rem; margin-top: 4px; color: rgb(var(--tx-ink)); }

/* fields */
.adb-fields { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 640px) { .adb-fields { grid-template-columns: 1fr 1fr; } }
.adb-step[data-step="4"] .adb-fields { margin-top: 0; }
.adb-field span { display: block; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--tx-sdark)); margin-bottom: 6px; }
.adb-field input { width: 100%; height: 48px; padding: 0 14px; border-radius: 4px; border: 1.5px solid rgb(var(--ln-ink) / .18); background: rgb(var(--sf-panel)); font: inherit; font-size: .98rem; color: rgb(var(--tx-ink)); }
.adb-field input:focus { outline: none; border-color: var(--accent); box-shadow: none; }
.adb-field input.is-bad { border-color: #c92a2a; }

/* step 4: artwork drop zone */
.adb-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; min-height: 180px; padding: 22px; text-align: center; border: 2px dashed rgb(var(--ln-ink) / .22); border-radius: 6px; background: rgb(var(--sf-panel)); cursor: pointer; transition: border-color .15s, background .15s; }
.adb-drop:hover, .adb-drop:focus-visible, .adb-drop.is-over { border-color: var(--accent); background: #fff8f0; outline: none; }
.adb-drop__icon { color: var(--accent-deep); }
.adb-drop__title { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.05rem; color: rgb(var(--tx-ink)); }
.adb-drop__need { font-size: .82rem; color: rgb(var(--tx-sdark)); }
.adb-drop__preview { max-width: 100%; max-height: 150px; width: auto; height: auto; border: 1px solid rgb(var(--ln-ink) / .1); }
.adb-drop.has-file .adb-drop__icon { display: none; }
.adb-drop.is-busy > :not(.adb-drop__spin) { opacity: .25; transition: opacity .2s; }
.adb-drop__spin { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgba(244,151,49,.25); border-top-color: var(--accent); opacity: 0; pointer-events: none; }
.adb-drop.is-busy .adb-drop__spin { opacity: 1; animation: adb-spin .7s linear infinite; }
.adb-status { min-height: 1.4em; margin-top: 10px; font-size: .88rem; color: rgb(var(--tx-sdark)); }
.adb-status.is-ok { color: #1a7f37; font-weight: 600; }
.adb-status.is-err { color: #c92a2a; font-weight: 600; }
@keyframes adb-spin { to { transform: rotate(360deg); } }

/* step 5: review */
.adb-review { display: grid; grid-template-columns: max-content 1fr; background: rgb(var(--sf-panel)); border: 1px solid rgb(var(--ln-ink) / .1); border-radius: 6px; }
.adb-review dt, .adb-review dd { padding: 12px 16px; border-bottom: 1px solid rgb(var(--ln-ink) / .08); }
.adb-review dt { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #8a919c; }
.adb-review dd { color: rgb(var(--tx-ink)); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.adb-review dt:nth-last-of-type(1), .adb-review dd:last-child { border-bottom: 0; }
.adb-review dd.is-total { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.4rem; }
.adb-review dd.is-sub { color: rgb(var(--tx-sdark)); }
.adb-review img { display: block; max-width: 220px; max-height: 110px; width: auto; height: auto; }
.adb-review .adb-edit { margin-left: 8px; font-size: .78rem; color: var(--accent-deep); text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }

/* price summary */
.adb__sum { padding: 22px 24px; background: #16181d; color: #fff; }
@media (min-width: 900px) { .adb__sum { overflow-y: auto; } }
@media (max-width: 899px) { .adb__lines { display: none; } .adb__sum { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 14px 20px; } .adb__sum-k { grid-column: 1 / -1; } .adb__avail { grid-column: 1 / -1; } }
.adb__sum-k { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.adb__price { position: relative; display: flex; align-items: center; gap: 12px; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 2.3rem; line-height: 1; min-height: 1em; margin-top: 6px; }
.adb__vat { display: block; font-size: .82rem; color: #d5d8dd; margin-top: 6px; line-height: 1.4; transition: opacity .2s; }
.adb__vat:empty { display: none; }
@media (max-width: 899px) { .adb__vat { grid-column: 1 / -1; } }
.adb__sum.is-busy .adb__vat { opacity: .35; }
.adb__price span:first-child { transition: opacity .2s; }
.adb__spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(244,151,49,.25); border-top-color: var(--accent); opacity: 0; transition: opacity .15s; }
.adb__sum.is-busy .adb__spin { opacity: 1; animation: adb-spin .7s linear infinite; }
.adb__sum.is-busy #ad-booking-price, .adb__sum.is-busy .adb__lines, .adb__sum.is-busy .adb__avail { opacity: .35; }
.adb__avail { display: block; font-size: .82rem; color: #8a919c; margin-top: 8px; line-height: 1.4; transition: opacity .2s; }
.adb__avail.is-err { color: #ff8787; font-weight: 600; }
.adb__lines { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.1); transition: opacity .2s; }
.adb__lines div { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.adb__lines dt { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #8a919c; }
.adb__lines dd { font-size: .88rem; color: #d5d8dd; margin-top: 2px; overflow-wrap: anywhere; }

/* footer */
.adb__foot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 14px 26px; background: rgb(var(--sf-panel)); border-top: 1px solid rgb(var(--ln-ink) / .1); }
.adb__err { flex: 1 1 200px; margin: 0; font-size: .86rem; font-weight: 600; color: #c92a2a; }
.adb__back[disabled] { visibility: hidden; }
.adb__pay[hidden], .adb__next[hidden] { display: none; }
.adb__pay.is-busy { opacity: .6; pointer-events: none; }

@media (max-width: 899px) {
	.adb { padding: 0; }
	.adb__panel { max-height: 100vh; height: 100%; border-radius: 0; }
	.adb__head { padding: 14px 18px; }
	.adb__title { font-size: 1.3rem; }
	.adb__progress li { justify-content: center; padding: 10px 4px; }
	.adb__progress li span { display: none; }
	.adb__steps { padding: 20px 18px; }
	.adb__foot { padding: 12px 18px; }
	.adb__err { flex-basis: 100%; }
}
