/* ==========================================================================
   Barraq — Cart, 3-step checkout, payment proof, thank-you
   ========================================================================== */

/* Progress steps ------------------------------------------------------------ */
.b-steps {
	list-style: none; margin: 0 auto 30px; padding: 0;
	display: flex; justify-content: center; align-items: flex-start;
	max-width: 640px; counter-reset: s;
}
.b-steps__item {
	position: relative; flex: 1;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; color: var(--b-muted); text-align: center;
}
.b-steps__item:not(:last-child)::after {
	content: ""; position: absolute; top: 17px; left: calc(50% + 24px); right: calc(-50% + 24px);
	height: 3px; border-radius: 3px; background: var(--b-line);
}
.b-steps__item.is-done:not(:last-child)::after { background: var(--b-grad-green); }
.b-steps__dot {
	position: relative; z-index: 1;
	width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center;
	font-size: 14px; color: var(--b-muted); background: #fff; border: 2px solid var(--b-line-strong);
	transition: .3s var(--b-ease);
}
.b-steps__check { display: none; }
.b-steps__num { display: inline-flex; }
.b-steps__item.is-active { color: var(--b-ink); }
.b-steps__item.is-active .b-steps__dot { color: #fff; background: var(--b-grad); border-color: transparent; box-shadow: 0 0 0 6px rgba(248, 141, 11, .15); }
.b-steps__item.is-done { color: var(--b-green); }
.b-steps__item.is-done .b-steps__dot { color: #fff; background: var(--b-grad-green); border-color: transparent; }
.b-steps__item.is-done .b-steps__num { display: none; }
.b-steps__item.is-done .b-steps__check { display: block; }
@media (max-width: 520px) {
	.b-steps__label { font-size: 11.5px; }
	.b-steps__dot { width: 32px; height: 32px; }
	.b-steps__item:not(:last-child)::after { top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); }
}

.b-notices:empty { display: none; }

/* Summary card (cart + checkout) -------------------------------------------- */
.b-summary { padding: 24px; }
.b-summary__title { font-size: 20px; margin: 0 0 18px; }
.b-summary__edit { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 700; }
.b-summary__trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--b-line-strong); display: grid; gap: 10px; font-size: 13.5px; font-weight: 600; }
.b-summary__trust li { display: flex; align-items: center; gap: 8px; }
.b-summary__trust .b-icon { color: var(--b-green); }

.b-totals { margin: 0; }
.b-totals__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; }
.b-totals__row dt { color: var(--b-text); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.b-totals__row dd { margin: 0; font-weight: 700; color: var(--b-ink); text-align: right; }
.b-totals__row--muted dd { color: var(--b-muted); font-weight: 600; font-size: 14px; }
.b-totals__row--discount dd { color: var(--b-green); }
.b-totals__row--total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--b-line); font-size: 18px; }
.b-totals__row--total dt { color: var(--b-ink); font-weight: 700; }
.b-totals__row--total dd { font-size: 22px; color: var(--b-orange); }
.b-totals__row--total dd small, .b-totals__row--total .includes_tax { display: block; font-size: 12px; color: var(--b-muted); font-weight: 500; }

.b-coupon { display: flex; gap: 8px; margin-bottom: 14px; }
.b-coupon .b-input { padding: 12px 16px; font-size: 15px; border-radius: 99px; }
.b-coupon .b-btn { padding: 12px 18px; font-size: 14px; }
.b-coupon-remove { padding: 0; border: 0; background: none; cursor: pointer; font: 600 12px var(--b-font); color: var(--b-danger); text-decoration: underline; }

/* Cart ------------------------------------------------------------------------ */
.b-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.b-cart__items { padding: 8px 24px 12px; }
.b-cart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--b-line); }
.b-cart__title { font-size: 20px; margin: 0; }
.b-cart__list { list-style: none; margin: 0; padding: 0; }
.b-cart__summary { position: sticky; top: calc(var(--b-header-h) + 30px); }

.b-cart-item {
	display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto 40px;
	align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--b-line);
	transition: opacity .25s;
}
.b-cart-item:last-child { border-bottom: 0; }
.b-cart-item.is-busy { opacity: .45; pointer-events: none; }
.b-cart-item__media { border-radius: 16px; overflow: hidden; background: var(--b-cream); }
.b-cart-item__media img { width: 96px; height: 96px; object-fit: contain; padding: 8px; }
.b-cart-item__name { font-size: 16px; margin: 0 0 4px; }
.b-cart-item__name a { color: var(--b-ink); }
.b-cart-item__name a:hover { color: var(--b-orange); }
.b-cart-item__meta dl { margin: 0; font-size: 13px; }
.b-cart-item__meta dt, .b-cart-item__meta dd { display: inline; margin: 0; }
.b-cart-item__meta p { display: inline; margin: 0; }
.b-cart-item__price { font-size: 14px; font-weight: 600; color: var(--b-muted); }
.b-cart-item__total { font-weight: 800; color: var(--b-ink); font-size: 16px; min-width: 90px; text-align: right; }
.b-cart-item__remove {
	width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; color: var(--b-muted); background: transparent; transition: .2s;
}
.b-cart-item__remove:hover { color: var(--b-danger); background: var(--b-danger-bg); }

.b-qty { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--b-line-strong); border-radius: 99px; padding: 3px; }
.b-qty__input {
	width: 44px; height: 36px; padding: 0; border: 0; background: transparent; text-align: center;
	font: 700 16px var(--b-font); color: var(--b-ink); -moz-appearance: textfield;
}
.b-qty__input::-webkit-outer-spin-button, .b-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b-qty__input:focus { outline: 0; }
.b-qty .b-qty__btn { width: 34px; height: 34px; }
.b-qty-static { font-weight: 700; color: var(--b-ink); }

@media (max-width: 960px) {
	.b-cart { grid-template-columns: 1fr; }
	.b-cart__summary { position: static; }
}
@media (max-width: 600px) {
	.b-cart__items { padding: 4px 16px 8px; }
	.b-cart-item { grid-template-columns: 76px minmax(0, 1fr) 36px; grid-template-areas: "media info remove" "media qty total"; gap: 8px 14px; }
	.b-cart-item__media { grid-area: media; align-self: start; }
	.b-cart-item__media img { width: 76px; height: 76px; }
	.b-cart-item__info { grid-area: info; }
	.b-cart-item__qty { grid-area: qty; }
	.b-cart-item__total { grid-area: total; grid-column: 2 / 4; justify-self: end; min-width: 0; }
	.b-cart-item__remove { grid-area: remove; width: 36px; height: 36px; }
	.b-cart-item__qty { justify-self: start; }
	.b-cart__head .b-link-arrow { font-size: 13.5px; }
}

/* Checkout layout -------------------------------------------------------------- */
.b-co-head {
	text-align: center;
	padding: 16px 0 4px;
}
.b-co-head__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); margin: 0 0 22px; }
.b-checkout.b-section { padding-top: 12px; }
.b-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.b-checkout__aside { position: sticky; top: calc(var(--b-header-h) + 30px); }
.b-summary-toggle { display: none; }

@media (max-width: 1000px) {
	.b-checkout__grid { grid-template-columns: 1fr; }
	.b-checkout__aside { position: static; order: -1; }
	.b-summary-toggle {
		display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px;
		padding: 14px 18px; border-radius: 16px; border: 1px solid var(--b-line); background: var(--b-cream);
		font: 700 14.5px var(--b-font); color: var(--b-ink); cursor: pointer;
	}
	.b-summary-toggle span { display: inline-flex; align-items: center; gap: 8px; color: var(--b-orange); }
	.b-checkout__summary { display: none; margin-top: 12px; }
	.b-checkout__aside.is-open .b-checkout__summary { display: block; }
}

/* Steps ------------------------------------------------------------------------- */
.b-step { padding: clamp(20px, 3vw, 32px); animation: b-step-in .45s var(--b-ease); }
.b-step[hidden] { display: none; }
@keyframes b-step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.b-step__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.b-step__num {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--b-grad);
	box-shadow: 0 8px 18px -8px rgba(248, 141, 11, .8);
}
.b-step__title { font-size: 22px; margin: 4px 0 4px; }
.b-step__sub { margin: 0; font-size: 14.5px; }
.b-step__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--b-line); }
@media (max-width: 560px) {
	.b-step__actions { flex-direction: column-reverse; align-items: stretch; }
	.b-step__actions .b-btn { width: 100%; }
	.b-step__actions .b-btn-link { justify-content: center; }
}

/* Fields */
.b-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.b-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.b-field--full { grid-column: 1 / -1; }
.b-label { font-weight: 700; font-size: 14px; color: var(--b-ink); }
.b-label__opt { font-weight: 500; color: var(--b-muted); }
.b-req { color: var(--b-orange); }
.b-field.has-error .b-input { border-color: var(--b-danger); box-shadow: 0 0 0 4px rgba(217, 48, 37, .1); }
.b-field__error { font-size: 13px; font-weight: 600; color: var(--b-danger); }
@media (max-width: 600px) { .b-fields { grid-template-columns: 1fr; } }

.b-notes summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--b-orange); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.b-notes summary::-webkit-details-marker { display: none; }
.b-notes summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--b-tint); font-size: 15px; }
.b-notes[open] summary::before { content: "−"; }
.b-notes textarea { margin-top: 10px; }

.b-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--b-ink); }
.b-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--b-orange); flex: 0 0 auto; }
.b-help { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--b-muted); margin: 14px 0 0; }
.b-help .b-icon { color: var(--b-green); }
.b-help--center { justify-content: center; text-align: center; }

.b-form-error {
	margin-top: 16px; padding: 14px 16px; border-radius: 14px;
	background: var(--b-danger-bg); color: #8C1D18; font-weight: 600; font-size: 14.5px;
}
.b-form-error ul { margin: 0; padding-left: 18px; }

/* Step 2 review chip */
.b-review { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-bottom: 18px; border-radius: 14px; background: var(--b-cream); }
.b-review__body { display: flex; flex-direction: column; min-width: 0; }
.b-review__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--b-orange); }
.b-review__text { font-size: 14.5px; font-weight: 600; color: var(--b-ink); overflow: hidden; text-overflow: ellipsis; }
.b-review .b-btn-link { color: var(--b-orange); }

.b-pay-amount { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 16px; border-radius: 16px; border: 1.5px dashed rgba(248, 141, 11, .5); }
.b-pay-amount span { font-weight: 700; color: var(--b-ink); }
.b-pay-amount strong { font-size: 22px; color: var(--b-orange); }
.b-pay-amount .includes_tax { display: none; }

/* Payment account cards */
.b-accounts { display: grid; gap: 12px; }
.b-acc { display: block; position: relative; cursor: pointer; }
.b-acc__radio { position: absolute; opacity: 0; pointer-events: none; }
.b-acc__card {
	display: block; border: 1.5px solid var(--b-line-strong); border-radius: 18px; background: #fff;
	transition: border-color .2s, box-shadow .25s, background .2s;
}
.b-acc:hover .b-acc__card { border-color: rgba(248, 141, 11, .55); }
.b-acc__radio:focus-visible + .b-acc__card { box-shadow: 0 0 0 4px rgba(248, 141, 11, .25); }
.b-acc__radio:checked + .b-acc__card { border-color: var(--b-orange); background: linear-gradient(180deg, rgba(248, 141, 11, .06), #fff 60%); box-shadow: 0 16px 34px -20px rgba(248, 141, 11, .7); }
.b-acc__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.b-acc__name { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.b-acc__name strong { color: var(--b-ink); font-size: 16px; }
.b-acc__name small { color: var(--b-muted); font-weight: 600; font-size: 12.5px; }
.b-acc__tick {
	width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
	border: 2px solid var(--b-line-strong); color: transparent; transition: .2s;
}
.b-acc__radio:checked + .b-acc__card .b-acc__tick { background: var(--b-grad); border-color: transparent; color: #fff; }
.b-acc__body { display: none; padding: 0 16px 16px; }
.b-acc__radio:checked + .b-acc__card .b-acc__body { display: block; animation: b-step-in .3s var(--b-ease); }

.b-acc-badge {
	--badge: var(--b-blue);
	flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
	display: grid; place-items: center;
	color: var(--badge); background: color-mix(in srgb, var(--badge) 12%, #fff);
}
.b-acc-badge.has-logo { background: #fff; border: 1px solid var(--b-line); overflow: hidden; }
.b-acc-badge__img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.b-acc-details { margin: 0; border-radius: 14px; background: #FAFAF8; border: 1px solid var(--b-line); overflow: hidden; }
.b-acc-details__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; }
.b-acc-details__row + .b-acc-details__row { border-top: 1px solid var(--b-line); }
.b-acc-details dt { font-size: 12.5px; font-weight: 700; color: var(--b-muted); text-transform: uppercase; letter-spacing: .04em; }
.b-acc-details dd { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; text-align: right; }
.b-acc-details__value { font-weight: 700; color: var(--b-ink); word-break: break-all; }
.b-acc-details__value.is-mono { font-variant-numeric: tabular-nums; letter-spacing: .03em; font-size: 15.5px; }
.b-acc-details__note { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--b-text); }
.b-acc-details__note .b-icon { color: var(--b-blue); margin-top: 2px; }
@media (max-width: 480px) {
	.b-acc-details__row { flex-direction: column; align-items: flex-start; gap: 4px; }
	.b-acc-details dd { width: 100%; justify-content: space-between; text-align: left; }
}

/* Copy button */
.b-copy {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
	padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(248, 141, 11, .35); cursor: pointer;
	font: 700 12.5px var(--b-font); color: var(--b-orange); background: #fff;
	transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.b-copy:hover { background: var(--b-tint); }
.b-copy:active { transform: scale(.96); }
.b-copy.is-copied { color: #fff; background: var(--b-green); border-color: var(--b-green); }

.b-terms { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--b-cream); }
.b-terms a { font-weight: 700; }

/* Step 3 / proof -------------------------------------------------------------- */
.b-placed {
	display: flex; gap: 14px; align-items: center; padding: 14px 18px; margin-bottom: 22px;
	border-radius: 16px; background: var(--b-success-bg); color: var(--b-ink);
}
.b-placed__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--b-grad-green); flex: 0 0 auto; }
.b-placed strong { display: block; font-size: 16px; }
.b-placed span { font-size: 14px; font-weight: 600; color: var(--b-text); }

.b-proof__pay { display: grid; gap: 12px; margin-bottom: 20px; }
.b-proof__amount {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 18px; border-radius: 16px;
	color: #fff; background: var(--b-grad); box-shadow: var(--b-shadow-pop);
}
.b-proof__amount span { font-weight: 700; font-size: 14px; opacity: .95; flex: 1 1 100%; text-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.b-proof__amount strong { font-size: 26px; font-weight: 800; flex: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.b-proof__amount strong .woocommerce-Price-amount { color: #fff; }
.b-proof__amount .b-copy { color: var(--b-orange); border-color: #fff; }
.b-proof__amount .b-copy.is-copied { color: #fff; }
.b-proof__acc { padding: 14px; border-radius: 16px; border: 1px solid var(--b-line); }
.b-proof__acc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--b-ink); font-size: 16px; }

.b-proof { padding: clamp(20px, 3vw, 30px); margin-bottom: 24px; border-color: rgba(248, 141, 11, .35); box-shadow: 0 24px 60px -30px rgba(248, 141, 11, .55); }
.b-proof__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.b-proof__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--b-grad); flex: 0 0 auto; }
.b-proof__title { font-size: 20px; margin: 2px 0 4px; }
.b-proof__sub { margin: 0; font-size: 14.5px; }

/* Dropzone */
.b-upload { display: grid; gap: 16px; }
.b-drop {
	position: relative; display: block; cursor: pointer;
	border: 2px dashed rgba(248, 141, 11, .45); border-radius: 20px;
	background: repeating-linear-gradient(-45deg, rgba(248, 141, 11, .025) 0 12px, transparent 12px 24px), var(--b-cream);
	transition: border-color .2s, background .2s, transform .2s;
	overflow: hidden;
}
.b-drop:hover, .b-drop.is-drag { border-color: var(--b-orange); background-color: var(--b-cream-2); }
.b-drop.is-drag { transform: scale(1.01); }
.b-drop.has-error { border-color: var(--b-danger); }
.b-drop__input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.b-drop__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; text-align: center; pointer-events: none; }
.b-drop__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--b-orange); background: #fff; box-shadow: 0 10px 24px -12px rgba(248, 141, 11, .7); margin-bottom: 6px; }
.b-drop__empty strong { color: var(--b-ink); font-size: 16px; }
.b-drop__hint { font-size: 13px; color: var(--b-muted); font-weight: 600; }
.b-drop__preview { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; pointer-events: none; }
.b-drop__preview[hidden] { display: none; }
.b-drop__preview img { max-height: 280px; width: auto; border-radius: 12px; box-shadow: var(--b-shadow-card); background: #fff; }
.b-drop__file { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 14px; background: #fff; font-weight: 700; color: var(--b-ink); }
.b-drop__file[hidden] { display: none; }
.b-drop__change { font-size: 13px; font-weight: 700; color: var(--b-orange); text-decoration: underline; }

.b-upload__actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.b-upload__progress { height: 6px; border-radius: 6px; background: var(--b-line); overflow: hidden; }
.b-upload__progress span { display: block; height: 100%; width: 0; background: var(--b-grad-green); transition: width .2s; }
.b-upload__alt { margin: 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--b-muted); }
.b-upload__alt a { color: var(--b-green); font-weight: 700; }

/* Mini items in checkout summary */
.b-mini-items { list-style: none; margin: 0 0 14px; padding: 0 0 6px; display: grid; gap: 14px; max-height: 320px; overflow: auto; }
.b-mini-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.b-mini-item__media { position: relative; border-radius: 14px; background: var(--b-cream); }
.b-mini-item__media img { width: 58px; height: 58px; object-fit: contain; padding: 5px; border-radius: 14px; }
.b-mini-item__qty {
	position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px;
	display: grid; place-items: center; border-radius: 99px; border: 2px solid #fff;
	font-size: 11.5px; font-weight: 800; color: #fff; background: var(--b-ink);
}
.b-mini-item__name { font-size: 14.5px; font-weight: 700; color: var(--b-ink); line-height: 1.35; }
.b-mini-item__name dl { margin: 2px 0 0; font-weight: 500; font-size: 12.5px; color: var(--b-muted); }
.b-mini-item__name dt, .b-mini-item__name dd, .b-mini-item__name p { display: inline; margin: 0; }
.b-mini-item__total { font-weight: 700; color: var(--b-ink); font-size: 14.5px; }

.b-ship { padding: 14px 0; border-top: 1px solid var(--b-line); }
.b-ship__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; color: var(--b-ink); font-size: 14.5px; }
.b-ship__title .b-icon { color: var(--b-green); }
.b-ship__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.b-ship__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--b-line); cursor: pointer; font-size: 14px; font-weight: 600; }
.b-ship__opt:has(input:checked) { border-color: var(--b-orange); background: rgba(248, 141, 11, .05); }
.b-ship__opt input { accent-color: var(--b-orange); margin: 0; }
.b-ship__name { flex: 1; color: var(--b-ink); }
.b-ship__cost { font-weight: 700; color: var(--b-ink); }
.b-ship__none { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--b-danger); }
.b-summary--checkout .b-totals { border-top: 1px solid var(--b-line); padding-top: 6px; }
.b-checkout__summary.is-loading { opacity: .55; pointer-events: none; transition: opacity .2s; }

/* Thank-you page ---------------------------------------------------------------- */
.b-ty { padding-bottom: clamp(48px, 7vw, 90px); }
.b-ty-hero {
	text-align: center; padding: 20px 20px 34px;
}
.b-ty-hero__icon {
	display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
	color: #fff; background: var(--b-grad-green);
	box-shadow: 0 0 0 12px rgba(97, 164, 33, .12), 0 22px 40px -16px rgba(97, 164, 33, .8);
	animation: b-pop .6s var(--b-ease) both;
}
.b-ty-hero.is-pending .b-ty-hero__icon { background: var(--b-grad); box-shadow: 0 0 0 12px rgba(248, 141, 11, .12), 0 22px 40px -16px rgba(248, 141, 11, .8); }
.b-ty-hero.is-cancelled .b-ty-hero__icon { background: var(--b-danger); box-shadow: 0 0 0 12px rgba(217, 48, 37, .12); }
@keyframes b-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.b-ty-hero__eyebrow { margin: 18px 0 4px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--b-orange); }
.b-ty-hero__title { margin: 0 0 8px; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.b-ty-hero__text { max-width: 560px; margin: 0 auto 6px; font-size: 17px; }
.b-ty-hero__mail { margin: 0; font-size: 14px; color: var(--b-muted); }
.b-ty-hero__mail strong { color: var(--b-ink); }

.b-timeline { list-style: none; display: flex; justify-content: center; margin: 26px auto 34px; padding: 0; max-width: 760px; }
.b-timeline__item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--b-muted); }
.b-timeline__item:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 3px; border-radius: 3px; background: var(--b-line); }
.b-timeline__item.is-done { color: var(--b-ink); }
.b-timeline__item.is-done:not(:last-child)::after { background: var(--b-grad-green); }
.b-timeline__dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 2px solid var(--b-line-strong); background: #fff; position: relative; z-index: 1; }
.b-timeline__item.is-done .b-timeline__dot { color: #fff; background: var(--b-grad-green); border-color: transparent; }
@media (max-width: 520px) { .b-timeline__label { font-size: 11px; } }

.b-ty__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.b-ty__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--b-header-h) + 30px); }
.b-ty__aside .b-card, .b-ty-items { padding: 22px 24px; }
@media (max-width: 960px) { .b-ty__grid { grid-template-columns: 1fr; } .b-ty__aside { position: static; } }

.b-ty-items__list { list-style: none; margin: 0 0 8px; padding: 0; }
.b-ty-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--b-line); }
.b-ty-item__media { border-radius: 14px; background: var(--b-cream); overflow: hidden; }
.b-ty-item__media img { width: 72px; height: 72px; object-fit: contain; padding: 6px; }
.b-ty-item__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b-ty-item__name { font-weight: 700; color: var(--b-ink); font-size: 15.5px; }
a.b-ty-item__name:hover { color: var(--b-orange); }
.b-ty-item__meta { font-size: 13.5px; color: var(--b-muted); font-weight: 600; }
.b-ty-item__extra { font-size: 12.5px; color: var(--b-muted); }
.b-ty-item__extra ul { list-style: none; margin: 0; padding: 0; }
.b-ty-item__extra p { display: inline; margin: 0; }
.b-ty-item__total { font-weight: 800; color: var(--b-ink); }
.b-ty-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--b-cream); font-size: 14px; }

.b-kv { margin: 0; display: grid; gap: 10px; }
.b-kv > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.b-kv dt { color: var(--b-muted); font-weight: 600; }
.b-kv dd { margin: 0; color: var(--b-ink); font-weight: 700; text-align: right; }

.b-pill { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--b-cream); color: var(--b-orange); }
.b-pill--processing, .b-pill--completed { background: var(--b-success-bg); color: var(--b-green); }
.b-pill--cancelled, .b-pill--failed { background: var(--b-danger-bg); color: var(--b-danger); }

.b-proof-state { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 700; }
.b-proof-state--ok { background: var(--b-success-bg); color: var(--b-green); }
.b-proof-state--review, .b-proof-state--wait { background: var(--b-cream); color: #B86300; }
.b-proof-state--bad { background: var(--b-danger-bg); color: var(--b-danger); }

.b-ty-address { font-style: normal; font-size: 14.5px; line-height: 1.7; color: var(--b-text); }
.b-ty-address strong { color: var(--b-ink); }
.b-ty-address__line { display: inline-flex; align-items: center; gap: 6px; }
.b-ty-address .b-icon { color: var(--b-green); }

.b-ty-info { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(9, 80, 194, .06); color: var(--b-ink); font-size: 14px; font-weight: 600; }
.b-ty-info .b-icon { color: var(--b-blue); margin-top: 1px; }
.b-ty-actions { display: grid; gap: 10px; justify-items: center; }

.b-ty--locked { padding-top: 20px; }
.b-ty-lock { padding: clamp(26px, 5vw, 44px); text-align: center; max-width: 520px; margin: 0 auto; }
.b-ty-lock__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: var(--b-orange); background: var(--b-cream); margin-bottom: 14px; }
.b-ty-lock h1 { font-size: 26px; }
.b-ty-lock__form { display: grid; gap: 10px; margin-top: 18px; }

/* My Account → view order: panel spacing */
.woocommerce-MyAccount-content .b-proof { margin-top: 10px; }

/* Narrow side cards: stack account rows */
.b-ty-pay .b-acc-details__row { flex-direction: column; align-items: flex-start; gap: 4px; }
.b-ty-pay .b-acc-details dd { width: 100%; justify-content: space-between; text-align: left; }
.b-ty-pay .b-acc-details__value.is-mono { word-break: normal; overflow-wrap: anywhere; }
