/* Licensed products (plugins, memberships) and SD Licensing in the theme's colours. */
:root {
	--sdl-ink: #0A0B0F;
	--sdl-ink-2: #262A33;
	--sdl-line: #E3E8E1;
	--sdl-soft: #F5F6F3;
	--sdl-accent: #C2410C;
	--sdl-accent-ink: #C2410C;
	--sdl-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sdl-btn--secondary, .sdl-btn--secondary:hover { color: #fff; }
.sdl-btn--secondary:hover { background: #2448d8; }
:root[data-theme="dark"] {
	--sdl-ink: #F2F4F7;
	--sdl-ink-2: #C5CBD3;
	--sdl-muted: #9BA3AF;
	--sdl-line: rgba(255, 255, 255, .1);
	--sdl-surface: #14161C;
	--sdl-soft: rgba(255, 255, 255, .04);
}
:root[data-theme="dark"] .sdl-btn--primary { color: #0A0B0F; }

/* ---------- Product page ---------- */
.sd-pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
/* Sticky needs a tall column and no scroll container above it: stretch the media column, and clip (not hide) the hero overflow. */
.sd-pdp > .sd-product-hero { overflow: clip !important; }
.sd-pdp-grid > .sd-pdp-media { align-self: stretch; }
.sd-pdp-sticky { position: sticky; top: calc(var(--header-h, 76px) + 28px); display: grid; gap: 18px; }
.sd-pdp-figure { margin: 0; border-radius: var(--r-lg, 28px); overflow: hidden; background: #0F1116; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.sd-pdp-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sd-pdp-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sd-pdp-trust li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--slate-300, #C5CBD3); font-size: 13.5px; line-height: 1.3; }
.sd-pdp-trust svg { flex: none; width: 18px; height: 18px; color: #FF8B4D; }
.sd-pdp-info { display: grid; gap: 18px; align-content: start; min-width: 0; }
.sd-pdp-eyebrow { color: #FF8B4D; font: 600 12px/1.2 var(--f-mono, monospace); letter-spacing: .1em; text-transform: uppercase; }
.sd-pdp-title { margin: 0; color: #fff; font-family: var(--f-display, inherit); font-size: clamp(36px, 4.2vw, 58px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.sd-pdp-lead { max-width: 36em; color: var(--slate-400, #9BA3AF); font-size: 17px; line-height: 1.65; }
.sd-pdp-lead p { margin: 0; }
.sd-pdp-help { margin: 0; color: var(--slate-400, #9BA3AF); font-size: 14px; }
.sd-pdp-help a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

/* Pricing on the dark first screen */
.sd-pdp .sdl-pricing { gap: 16px; margin: 4px 0 0; }
.sd-pdp .sdl-pricing__toggle { justify-self: start; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.sd-pdp .sdl-pricing__tab { color: var(--slate-400, #9BA3AF); }
.sd-pdp .sdl-pricing__tab[aria-selected="true"] { background: #fff; color: #0A0B0F; }
.sd-pdp .sdl-pricing__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sd-pdp .sdl-plan {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "limit price" "feat feat" "cta cta";
	gap: 4px 20px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; color: #fff;
}
.sd-pdp .sdl-plan--featured { background: rgba(194, 65, 12, .1); border-color: rgba(255, 139, 77, .55); }
.sd-pdp .sdl-plan__flag { top: -11px; left: 20px; background: #C2410C; color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.sd-pdp .sdl-plan__name { grid-area: name; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.sd-pdp .sdl-plan__limit { grid-area: limit; margin: 0; color: var(--slate-400, #9BA3AF); font-size: 14px; }
.sd-pdp .sdl-plan__price { grid-area: price; align-self: center; justify-self: end; flex-direction: column; align-items: flex-end; gap: 0; }
.sd-pdp .sdl-plan__amount { color: #fff; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.sd-pdp .sdl-plan__per { color: var(--slate-400, #9BA3AF); font-size: 13px; }
.sd-pdp .sdl-plan__features { grid-area: feat; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.sd-pdp .sdl-plan__features li { color: var(--slate-300, #C5CBD3); font-size: 14.5px; }
.sd-pdp .sdl-plan__features li::before { border-color: #FF8B4D; }
.sd-pdp .sdl-plan__cta { grid-area: cta; margin-top: 16px; min-height: 50px; font-size: 15px; background: #fff; color: #0A0B0F; border: 0; }
.sd-pdp .sdl-plan__cta:hover { background: #E6EBFF; color: #0A0B0F; }
.sd-pdp .sdl-plan--featured .sdl-plan__cta { background: #C2410C; color: #fff; box-shadow: 0 10px 28px -10px rgba(194, 65, 12, .8); }
.sd-pdp .sdl-plan--featured .sdl-plan__cta:hover { background: #4A70FF; }
.sd-pdp .sdl-pricing__note { text-align: left; color: var(--slate-500, #6B7280); }
/* Several plans: tighter rows, the term line moves up beside the name. */
.sd-pdp .sdl-pricing__grid:has(> .sdl-plan:nth-child(2)) .sdl-plan__features { margin-top: 8px; padding-top: 0; border-top: 0; }

/* ---------- Details below the first screen ---------- */
.sd-pdp-more { padding-top: clamp(56px, 7vw, 96px); }
.sd-pdp-desc { max-width: 1040px; margin: 0 auto; color: var(--fg-2, var(--fg)); font-size: 16.5px; line-height: 1.65; }
.sd-pdp-desc h2 { margin: clamp(48px, 6vw, 72px) 0 22px; color: var(--fg); font-family: var(--f-display, inherit); font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -.03em; }
.sd-pdp-desc h2:first-child { margin-top: 0; }
.sd-pdp-feats, .sd-pdp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.sd-pdp-feats li, .sd-pdp-steps li { display: grid; gap: 6px; align-content: start; margin: 0; padding: 24px; border-radius: var(--r, 20px); background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.sd-pdp-feats strong, .sd-pdp-steps strong { color: var(--fg); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.sd-pdp-feats span, .sd-pdp-steps span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.sd-pdp-feats li::before { content: ""; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 10px; background: #C2410C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.sd-pdp-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); margin-bottom: 8px; color: #C2410C; font: 600 13px/1 var(--f-mono, monospace); letter-spacing: .08em; }
.sd-pdp-faq { margin: 0 0 10px; border-radius: 16px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.sd-pdp-faq summary { position: relative; padding: 20px 56px 20px 22px; color: var(--fg); font-size: 16.5px; font-weight: 600; list-style: none; cursor: pointer; }
.sd-pdp-faq summary::-webkit-details-marker { display: none; }
.sd-pdp-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s; }
.sd-pdp-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sd-pdp-faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.sd-pdp-faq a { color: var(--accent, #C2410C); }

@media (max-width: 980px) {
	.sd-pdp-grid { grid-template-columns: minmax(0, 1fr); }
	.sd-pdp-sticky { position: static; }
	.sd-pdp-media { max-width: 560px; }
	.sd-pdp-feats, .sd-pdp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.sd-pdp-trust { grid-template-columns: minmax(0, 1fr); }
	.sd-pdp-feats, .sd-pdp-steps { grid-template-columns: minmax(0, 1fr); }
	.sd-pdp .sdl-plan { padding: 20px; gap: 4px 14px; }
	.sd-pdp .sdl-plan__amount { font-size: 26px; }
}

/* Description: intro line and comparison table */
.sd-pdp-desc .sd-pdp-intro { max-width: 46em; margin: 0 0 22px; color: var(--muted, #555E6B); font-size: 17px; line-height: 1.65; }
.sd-pdp-desc .sd-pdp-compare { width: 100%; margin: 0 0 8px; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line, #E3E8E1); font-size: 15px; }
.sd-pdp-desc .sd-pdp-compare th, .sd-pdp-desc .sd-pdp-compare td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line, #E3E8E1); text-align: left; vertical-align: top; color: var(--muted, #555E6B); line-height: 1.5; }
.sd-pdp-desc .sd-pdp-compare tbody tr:last-child td { border-bottom: 0; }
.sd-pdp-desc .sd-pdp-compare th { color: var(--faint, #7A828E); font: 600 11px/1.3 var(--f-mono, monospace); letter-spacing: .08em; text-transform: uppercase; background: var(--surface-2, #F1F4EF); }
.sd-pdp-desc .sd-pdp-compare td:first-child { color: var(--fg, #0B0D12); font-weight: 600; width: 28%; }
.sd-pdp-desc .sd-pdp-compare th:last-child, .sd-pdp-desc .sd-pdp-compare td:last-child { background: var(--accent-soft, rgba(194, 65, 12, .06)); color: var(--fg, #0B0D12); }
.sd-pdp-desc .sd-pdp-compare th:last-child { color: var(--accent-ink, #2448d8); }
@media (max-width: 700px) {
	.sd-pdp-desc .sd-pdp-compare, .sd-pdp-desc .sd-pdp-compare tbody, .sd-pdp-desc .sd-pdp-compare tr, .sd-pdp-desc .sd-pdp-compare td { display: block; width: auto; }
	.sd-pdp-desc .sd-pdp-compare thead { display: none; }
	.sd-pdp-desc .sd-pdp-compare tr { padding: 14px 16px; border-bottom: 1px solid var(--line, #E3E8E1); }
	.sd-pdp-desc .sd-pdp-compare tbody tr:last-child { border-bottom: 0; }
	.sd-pdp-desc .sd-pdp-compare td { padding: 2px 0; border: 0; background: none !important; }
	.sd-pdp-desc .sd-pdp-compare td:first-child { width: auto; margin-bottom: 6px; }
	.sd-pdp-desc .sd-pdp-compare td:nth-child(2) { color: var(--faint, #7A828E); font-size: 14px; }
	.sd-pdp-desc .sd-pdp-compare td:nth-child(3) { color: var(--accent-ink, #2448d8); font-weight: 500; }
}

/* ---------- Cart, checkout, order received ---------- */
/* Shorter hero so the form and the total are visible without scrolling. */
.woocommerce-cart .sd-store-hero--page, .woocommerce-checkout .sd-store-hero--page { padding-bottom: clamp(28px, 3.5vw, 44px); }
.woocommerce-cart .sd-store-hero--page .sd-page-hero__title, .woocommerce-checkout .sd-store-hero--page .sd-page-hero__title { font-size: clamp(34px, 4vw, 52px); }
.woocommerce-cart .sd-store-page, .woocommerce-checkout .sd-store-page { padding-top: clamp(28px, 3.5vw, 48px); }
/* Signed out account page: short header, card centred with room around it. */
body.woocommerce-account:not(.logged-in) .sd-store-hero--page { padding-bottom: clamp(24px, 3vw, 36px); }
body.woocommerce-account:not(.logged-in) .sd-store-hero--page .sd-page-hero__title { font-size: clamp(34px, 4vw, 48px); }
body.woocommerce-account:not(.logged-in) .sd-store-page { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }

/* Notices: the dot sits in the middle of the line, whatever the height. */
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 50% !important; transform: translateY(-50%); }

/* Account order actions and order-pay: buttons do not touch. */
.woocommerce-orders-table__cell-order-actions { white-space: nowrap; }
.woocommerce-orders-table__cell-order-actions .button, .woocommerce-orders-table__cell-order-actions .woocommerce-button { margin: 2px 6px 2px 0 !important; }
.woocommerce-orders-table__cell-order-actions .button:last-child { margin-right: 0 !important; }

/* Shop cards: product art is square, so show it square and whole (no blurred side bars). */
.sd-product-card__media:has(img) { aspect-ratio: 1 / 1; background: #EEF2FF; }
.sd-product-card__media:has(img)::before { display: none; }
.sd-product-card__media:has(img) img { object-fit: cover; }

/* One of each product: the quantity bubble on the thumbnail says nothing useful. */
.wc-block-components-order-summary-item__quantity { display: none; }

/* Remove: a small labelled link lined up with the product text, not a loose bin icon. */
.wc-block-cart .wc-block-cart-item__quantity { display: flex; justify-content: flex-start; margin: 8px 0 0; padding: 0; }
.wc-block-cart .wc-block-cart-item__remove-link { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; height: auto !important; margin: 0 !important; padding: 4px 10px 4px 6px !important; border: 0; border-radius: 999px; background: transparent; color: var(--muted, #555E6B) !important; font-size: 13px !important; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s; }
.wc-block-cart .wc-block-cart-item__remove-link svg { width: 16px; height: 16px; fill: currentColor; }
.wc-block-cart .wc-block-cart-item__remove-link::after { content: "Remove"; }
.wc-block-cart .wc-block-cart-item__remove-link:hover, .wc-block-cart .wc-block-cart-item__remove-link:focus-visible { background: rgba(239, 68, 68, .1); color: #DC2626 !important; }

/* Cart: what happens next, under the items */
.sd-cart-next { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--surface-2, #F1F4EF); }
.sd-cart-next[hidden] { display: none; }
.sd-cart-next__h { margin: 0 0 14px; color: var(--fg, #0B0D12); font-size: 15px; font-weight: 600; }
.sd-cart-next ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: sdcn; }
.sd-cart-next li { position: relative; display: grid; gap: 4px; margin: 0; padding: 40px 0 0; counter-increment: sdcn; }
.sd-cart-next li::before { content: counter(sdcn); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line, #E3E8E1); color: var(--accent-ink, #2448d8); font-size: 13px; font-weight: 600; }
.sd-cart-next b { color: var(--fg, #0B0D12); font-size: 14px; font-weight: 600; }
.sd-cart-next span { color: var(--muted, #555E6B); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 700px) { .sd-cart-next ol { grid-template-columns: minmax(0, 1fr); } .sd-cart-next li { padding: 0 0 0 42px; } }

/* Empty cart */
.sd-empty-cart { display: grid; justify-items: center; max-width: 640px; margin: 0 auto; padding: clamp(12px, 3vw, 32px) 0; text-align: center; }
.sd-empty-cart__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; background: var(--accent-soft, rgba(194, 65, 12, .08)); color: var(--accent, #C2410C); }
.sd-empty-cart__title { margin: 0 0 8px; color: var(--fg, #0B0D12); font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.sd-empty-cart__text { max-width: 30em; margin: 0 0 22px; color: var(--muted, #555E6B); font-size: 16px; line-height: 1.6; }
.sd-empty-cart__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-bottom: 36px; }
.sd-empty-cart__link { color: var(--fg, #0B0D12); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2, #D3DAD1); text-underline-offset: 4px; }
.sd-empty-cart__products { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; text-align: left; }
.sd-empty-cart__products li { margin: 0; }
.sd-empty-cart__products a { height: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line, #E3E8E1); color: inherit; text-decoration: none; transition: box-shadow .3s, transform .3s; }
.sd-empty-cart__products a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2, #D3DAD1), var(--card-shadow); }
.sd-empty-cart__products img, .sd-empty-cart__ph { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--surface-2, #F1F4EF); }
.sd-empty-cart__info { display: grid; gap: 2px; min-width: 0; flex: 1; }
.sd-empty-cart__info small { color: var(--accent-ink, #2448d8); font: 600 10.5px/1.3 var(--f-mono, monospace); letter-spacing: .08em; text-transform: uppercase; }
.sd-empty-cart__info b { color: var(--fg, #0B0D12); font-size: 15px; font-weight: 600; line-height: 1.3; }
.sd-empty-cart__info em { color: var(--muted, #555E6B); font-size: 13.5px; font-style: normal; }
.sd-empty-cart__go { flex: none; color: var(--faint, #7A828E); }
.sd-store-page .wp-block-woocommerce-empty-cart-block .wp-block-separator, .sd-store-page .wp-block-woocommerce-empty-cart-block .wc-block-grid { display: none; }

/* Trust list under the summary */
.sd-trust { margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line, #E3E8E1); }
.sd-trust[hidden] { display: none; }
.sd-trust ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sd-trust li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.sd-trust li .sd-icon { flex: none; margin-top: 2px; color: var(--accent, #C2410C); }
.sd-trust li span { display: grid; gap: 2px; }
.sd-trust b { color: var(--fg, #0B0D12); font-size: 14px; font-weight: 600; }
.sd-trust small { color: var(--muted, #555E6B); font-size: 13px; line-height: 1.45; }
.sd-trust__help { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line, #E3E8E1); color: var(--muted, #555E6B); font-size: 13px; }
.sd-trust__help a { color: var(--fg, #0B0D12); text-decoration: underline; text-decoration-color: var(--line-2, #D3DAD1); text-underline-offset: 3px; }

/* Checkout: trust points as one row under Place order */
.sd-trust.sd-trust--row { margin-top: 24px; padding: 18px 20px; background: transparent; }
.sd-trust--row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sd-trust--row li { gap: 10px; }
.sd-trust--row b { font-size: 13.5px; }
.sd-trust--row small { font-size: 12.5px; }
.sd-trust--row .sd-trust__help { margin-top: 14px; padding-top: 12px; text-align: center; }
@media (max-width: 760px) { .sd-trust--row ul { grid-template-columns: 1fr; gap: 12px; } .sd-trust.sd-trust--row { padding: 16px; } }

/* Coupon: one clean row, field and button the same height */
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form { display: flex !important; flex-wrap: nowrap !important; align-items: stretch; gap: 8px; width: 100%; margin: 4px 0 6px; }
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input { flex: 1 1 auto !important; width: auto !important; min-width: 0; margin: 0 !important; }
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input input { width: 100%; height: 46px; min-height: 46px; padding: 18px 12px 4px; border: 1px solid var(--line-2, #D3DAD1); border-radius: 10px; background: var(--surface, #fff); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; box-shadow: none; }
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input input:focus { border-color: var(--accent, #C2410C); box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); outline: 0; }
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input label { left: 13px; font-size: 13px; }
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__button,
.sd-store-page .wc-block-components-totals-coupon__button { flex: none; height: 46px; min-height: 46px !important; padding: 0 18px; border: 0; border-radius: 10px !important; background: var(--fg, #14161B) !important; color: #fff !important; font-size: 14px; font-weight: 600; box-shadow: none !important; opacity: 1; }
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__button:disabled { opacity: .45; }
.wc-block-components-totals-coupon .wc-block-components-panel__button { font-size: 14px; font-weight: 600; }
:root[data-theme="dark"] .wc-block-components-totals-coupon .wc-block-components-totals-coupon__button { background: #fff !important; color: #14161B !important; }

/* Sidebar sticks while the form scrolls on desktop */
@media (min-width: 900px) { .wp-block-woocommerce-checkout .wc-block-checkout__sidebar { position: sticky; top: calc(var(--header-h, 80px) + 24px); align-self: start; } }

/* Order received */
.sd-ty { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.sd-ty__hero { display: flex; gap: 18px; align-items: flex-start; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--surface, #fff); box-shadow: var(--card-shadow), inset 0 0 0 1px var(--line, #E3E8E1); }
.sd-ty__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(52, 211, 153, .14); color: #10B981; }
.sd-ty__hero.is-failed .sd-ty__icon { background: rgba(239, 68, 68, .12); color: #EF4444; }
.sd-ty__title { margin: 4px 0 6px; color: var(--fg, #0B0D12); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.sd-ty__text { margin: 0; color: var(--muted, #555E6B); font-size: 16px; line-height: 1.6; }
.sd-ty__text b { color: var(--fg, #0B0D12); font-weight: 600; word-break: break-all; }
.sd-ty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.sd-ty__link { color: var(--fg, #0B0D12); font-weight: 500; }
.sd-ty .sd-ty__facts { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none; border-radius: 20px; overflow: hidden; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line, #E3E8E1); }
.sd-ty .sd-ty__facts li { display: grid; gap: 6px; margin: 0 !important; padding: 18px 20px !important; border: 0 !important; border-left: 1px solid var(--line, #E3E8E1) !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; font-size: inherit; text-transform: none; }
.sd-ty .sd-ty__facts li:first-child { border-left: 0 !important; }
@media (max-width: 700px) {
	.sd-ty .sd-ty__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-ty .sd-ty__facts li:nth-child(odd) { border-left: 0 !important; }
	.sd-ty .sd-ty__facts li:nth-child(n+3) { border-top: 1px solid var(--line, #E3E8E1) !important; }
}
.sd-ty__facts span { color: var(--faint, #7A828E); font: 500 11px/1.2 var(--f-mono, monospace); letter-spacing: .08em; text-transform: uppercase; }
.sd-ty__facts b, .sd-ty__facts b .woocommerce-Price-amount, .sd-ty__facts b bdi { color: var(--fg, #0B0D12) !important; font-family: var(--f-display, inherit) !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: -.01em; text-transform: none !important; opacity: 1 !important; }
.sd-ty__next { padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: var(--surface-2, #F1F4EF); }
.sd-ty__h { margin: 0 0 16px; color: var(--fg, #0B0D12); font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.sd-ty__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: sdty; }
.sd-ty__steps li { position: relative; display: grid; gap: 4px; margin: 0; padding: 16px 18px 16px 58px; border-radius: 16px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line, #E3E8E1); counter-increment: sdty; }
.sd-ty__steps li::before { content: counter(sdty); position: absolute; top: 16px; left: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent, #C2410C); color: #fff; font-size: 13px; font-weight: 600; }
.sd-ty__steps b { color: var(--fg, #0B0D12); font-size: 15px; font-weight: 600; }
.sd-ty__steps span { color: var(--muted, #555E6B); font-size: 14px; line-height: 1.55; }
.sd-ty__steps a { justify-self: start; margin-top: 4px; color: var(--accent-ink, #2448d8); font-size: 14px; font-weight: 600; text-decoration: none; }
.sd-ty__steps a::after { content: " \2192"; }
.sd-ty__steps a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sd-ty .woocommerce-order-details, .sd-ty .woocommerce-customer-details { margin: 0; }
.sd-ty .woocommerce-order-details__title, .sd-ty .woocommerce-column__title { color: var(--fg, #0B0D12); font-size: 18px; font-weight: 600; }
.sd-ty .woocommerce-table--order-details a.button, .sd-ty .woocommerce-table--order-details .woocommerce-button { margin: 2px 8px 2px 0 !important; }
.sd-ty .woocommerce-customer-details { display: none; }
.sd-ty__help { margin: 0; color: var(--muted, #555E6B); font-size: 14px; text-align: center; }
.sd-ty__help a { color: var(--fg, #0B0D12); text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .sd-ty__steps a { color: #FF8B4D; }
@media (max-width: 600px) {
	.sd-ty__hero { flex-direction: column; gap: 12px; }
	.sd-ty__steps li { padding-left: 52px; }
}
