/* OnType Hub 4.8.0: funnel UI. Bundle credit line, Review add-on, inline errors, toast, "go deeper", families
   coming soon, and (on WooCommerce's thank-you and checkout pages, which are not wrapped in .ot-hub) the Ready
   offer, live status and the trust line beside Pay. Self-contained: works without hub.css. */
.ot-shop-card__credit { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; background: #eef6ec; border: 1px solid #cfe3c8; color: #24452a; font-size: 15px; line-height: 1.45; font-weight: 600; }
.ot-shop-card__credit .ot-help { display: block; font-weight: 400; margin-top: 2px; }
.ot-shop__grid--one { display: grid; grid-template-columns: minmax(0, 560px); }
.ot-review__addon { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 14px; padding: 14px 16px; border: 1.5px dashed #b9c6c0; border-radius: 14px; background: #fafcfb; cursor: pointer; }
.ot-review__addon input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--hub-dark, #23697A); }
.ot-review__addon span { display: grid; gap: 4px; font-size: 16px; line-height: 1.4; color: #1d2622; }
.ot-review__addon small { font-size: 14px; color: #4a5550; }
.ot-review__addon:has(input:checked) { border-style: solid; border-color: var(--hub-dark, #23697A); background: #f1f7f8; }
.ot-review__addon:focus-within { outline: 3px solid var(--hub-mid, #409CAF); outline-offset: 2px; }
.ot-review__express { margin-top: 8px; }
.ot-field-error { margin: 6px 0 0; color: #a02d22; font-size: 14px; font-weight: 600; }
[aria-invalid="true"] { border-color: #a02d22 !important; box-shadow: 0 0 0 2px rgba(160, 45, 34, .15); }
button.is-busy { opacity: .75; cursor: progress; }
.ot-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; z-index: 99999; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: #1d2622; color: #fff; font: 600 15px/1.4 system-ui, sans-serif; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); transition: opacity .25s, transform .25s; }
.ot-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ot-toast { transition: none; } }
.ot-deeper { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--hub-mid, #409CAF); background: #f6f8f7; border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.5; }
.ot-deeper p { margin: 0; }
.ot-deeper__tag { display: inline-block; margin-right: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hub-dark, #23697A); }
.ot-deeper__form { display: inline; }
.ot-deeper__btn { background: none; border: 0; padding: 0; font: inherit; color: var(--hub-dark, #23697A); text-decoration: underline; cursor: pointer; }
.ot-family-soon { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ot-family-soon__row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid #dfe5e2; border-radius: 12px; background: #fff; }
.ot-family-soon__row > span { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.ot-family-soon__row small { color: #4a5550; font-size: 14px; line-height: 1.45; }
.ot-family-soon__form { margin: 0; }
.ot-family-soon__done { color: #24452a; font-weight: 600; font-size: 14px; }
.ot-btn--small { padding: 8px 16px !important; font-size: 14px !important; }

/* Ready page (WooCommerce thank-you) and checkout. */
.ot-live-status { margin: 16px 0 0; padding: 16px 18px; border-radius: 16px; background: #f4f8f6; border: 1px solid #d8e4dd; }
.ot-live-status__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; font-size: 13px; font-weight: 600; color: #6b736f; }
.ot-live-status__bar li { padding-top: 8px; border-top: 4px solid #d5ddd9; }
.ot-live-status__bar li.is-on { border-top-color: var(--hub-dark, #23697A); color: color-mix(in srgb, var(--hub-dark, #23697A) 70%, #000); }
.ot-live-status__label { margin: 0 0 6px; font-size: 16px; color: #1d2622; }
.ot-live-status__read { margin: 0; font-size: 15px; }
.ot-live-status a, .ot-ready-offer a { color: var(--hub-dark, #23697A); }
.ot-ready-offer { margin: 0 0 2em; padding: 24px; border-radius: 18px; border: 1px solid #dfe5e2; background: #fff; color: #1d2622; font-family: inherit; }
.ot-ready-offer__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hub-dark, #23697A); }
.ot-ready-offer h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.ot-ready-offer__lead, .ot-ready-offer__note { color: #4a5550; font-size: 15px; line-height: 1.5; }
.ot-ready-offer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 16px 0; }
.ot-ready-offer__card { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid #dfe5e2; border-radius: 14px; background: #fafcfb; margin: 0; }
.ot-ready-offer__card h3 { margin: 0; font-size: 19px; }
.ot-ready-offer__card p { margin: 0; font-size: 15px; line-height: 1.5; }
.ot-ready-offer__price strong { font-size: 24px; }
.ot-ready-offer__price s { color: #6b736f; margin: 0 4px; }
.ot-ready-offer__price span { font-size: 13px; color: #4a5550; }
.ot-ready-offer label { font-weight: 600; font-size: 14px; }
.ot-ready-offer .ot-input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 10px; border: 1.5px solid #b9c6c0; border-radius: 10px; font: inherit; background: #fff; }
.ot-ready-offer .ot-btn { display: inline-flex; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 0; background: var(--hub-dark, #23697A); color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; align-items: center; cursor: pointer; }
.ot-ready-offer .ot-btn:focus-visible, .ot-ready-offer .ot-input:focus-visible { outline: 3px solid #409CAF; outline-offset: 2px; }
.ot-pay-trust { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.45; color: #4a5550; }
.ot-pay-trust li { padding-left: 20px; position: relative; }
.ot-pay-trust li::before { content: "\2713"; position: absolute; left: 0; color: var(--hub-dark, #23697A); font-weight: 700; }

/* ═══ 4.8.1: Hub and checkout share one green (the Hub's --hub-dark, else the checkout green), and calm
   micro-interactions: a press state, a busy spinner, a drawn success check, a short rise between steps, and a price
   that settles when the add-on changes it. Everything stops under prefers-reduced-motion. ═══ */
.ot-ready-offer .ot-btn { background: var(--hub-dark, var(--hub-dark, #23697A)); }
.ot-ready-offer .ot-btn:hover { background: color-mix(in srgb, var(--hub-dark, #23697A) 78%, #000); }
.ot-live-status a, .ot-ready-offer a { color: color-mix(in srgb, var(--hub-dark, #23697A) 80%, #000); }
.ot-ready-offer__eyebrow { color: var(--hub-dark, #23697A); }
.ot-ready-offer .ot-btn:focus-visible, .ot-ready-offer .ot-input:focus-visible { outline-color: #2f6f8f; }
:is(.ot-hub .ot-btn, .ot-ready-offer .ot-btn, #place_order, .ot-checkout-state__btn) { transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease; }
:is(.ot-hub .ot-btn, .ot-ready-offer .ot-btn, #place_order, .ot-checkout-state__btn):active { transform: translateY(1px) scale(.985); }
button.is-busy { position: relative; color: transparent !important; pointer-events: none; }
button.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: ot-spin .7s linear infinite; }
.ot-btn--quiet.is-busy::after { border-color: rgba(0, 0, 0, .15); border-top-color: currentColor; }
@keyframes ot-spin { to { transform: rotate(360deg); } }
.ot-success-check { float: left; margin: 0 12px 6px 0; }
.ot-success-check circle { stroke: var(--hub-dark, #23697A); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: ot-draw .5s ease-out .1s forwards; }
.ot-success-check path { stroke: var(--hub-dark, #23697A); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: ot-draw .35s ease-out .55s forwards; }
.ot-live-status::after { content: ""; display: block; clear: both; }
@keyframes ot-draw { to { stroke-dashoffset: 0; } }
:is(.ot-review, .ot-checkout-steps ~ *, .ot-ready-offer, .ot-owned) { animation: ot-rise .32s ease-out both; }
@keyframes ot-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ot-review__amount.is-changed { animation: ot-settle .4s ease-out; }
@keyframes ot-settle { 0% { opacity: .2; transform: translateY(-4px); } 100% { opacity: 1; transform: none; } }
.ot-review__was { margin-left: 6px; color: #6b736f; font-size: .5em; text-decoration: line-through; }
/* Phones: the Review summary ends with the total right above the button, so no sticky bar is needed. */
@media (prefers-reduced-motion: reduce) {
	:is(.ot-review, .ot-checkout-steps ~ *, .ot-ready-offer, .ot-owned, .ot-review__amount.is-changed), .ot-success-check :is(circle, path) { animation: none !important; stroke-dashoffset: 0; }
	:is(.ot-hub .ot-btn, .ot-ready-offer .ot-btn, #place_order, .ot-checkout-state__btn) { transition: none; }
	:is(.ot-hub .ot-btn, .ot-ready-offer .ot-btn, #place_order, .ot-checkout-state__btn):active { transform: none; }
	button.is-busy::after { animation-duration: 2s; }
	.ot-owned__progress > span { transition: none; }
}
.ot-shop-card__was { margin-left: 4px; color: #6b736f; font-size: .8em; }

/* 4.8.1: folded type choice on shop cards and the "coming soon" list. One quiet disclosure style. */
.ot-shop-card__choose, .ot-shop__soon-more { margin: 4px 0 12px; border-top: 1px solid #e3e8e5; }
.ot-shop-card__choose > summary, .ot-shop__soon-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 2px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--hub-dark, color-mix(in srgb, var(--hub-dark, #23697A) 80%, #000)); }
.ot-shop-card__choose > summary::-webkit-details-marker, .ot-shop__soon-more > summary::-webkit-details-marker { display: none; }
.ot-shop-card__choose > summary::after, .ot-shop__soon-more > summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.ot-shop-card__choose[open] > summary::after, .ot-shop__soon-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.ot-shop-card__choose > summary:focus-visible, .ot-shop__soon-more > summary:focus-visible { outline: 3px solid #2f6f8f; outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .ot-shop-card__choose > summary::after, .ot-shop__soon-more > summary::after { transition: none; } }

/* 4.8.1: the Review order summary (Stripe and Shopify style): item, credit, add-on, total in CAD. */
.ot-review__sum-title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: #4a5550; }
.ot-review__lines { margin: 0; display: grid; gap: 0; border-top: 1px solid #e3e8e5; }
.ot-review__line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eef1ef; font-size: 15px; line-height: 1.4; }
.ot-review__line dt { margin: 0; color: #1d2622; min-width: 0; }
.ot-review__line dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; color: #1d2622; }
.ot-review__line.is-credit :is(dt, dd), .ot-review__line.is-addon dd { color: color-mix(in srgb, var(--hub-dark, #23697A) 80%, #000); font-weight: 600; }
.ot-review__line.is-total { border-bottom: 0; padding-top: 12px; font-size: 17px; font-weight: 700; }
.ot-review__line[hidden] { display: none; }
.ot-hub .ot-review__choose { padding: var(--ot-card-pad, 24px); border-radius: var(--ot-card-radius, 20px); border: 1px solid #dfe6da; background: #fff; }
.ot-hub .ot-review__choose .ot-typegrid { margin: 0; }
@media (min-width: 1000px) {
	.ot-hub .ot-review__grid > .ot-review__product, .ot-hub .ot-review__grid > .ot-review__choose { grid-column: 1; }
	.ot-hub .ot-review__grid > .ot-review__summary { grid-column: 2; grid-row: 1 / span 2; }
}
.ontype-types-thanks :is(p, li) { line-height: 1.5; }
.ot-live-status :is(.ot-live-status__label, .ot-live-status__read) { line-height: 1.5; }
