/* Visual system for the reusable product and checkout template. */
.checkout-urgency-bar{display:flex;justify-content:center;align-items:center;min-height:58px;padding:0 16px;background:#f47a2a;color:#fff;box-sizing:border-box}
.checkout-urgency-content{display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:750;letter-spacing:.045em;text-align:center}
.checkout-urgency-content svg{width:18px;height:18px;stroke-width:2.2}
.checkout-urgency-content strong{font:700 19px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.055em;font-variant-numeric:tabular-nums}
@media(max-width:480px){.checkout-urgency-bar{min-height:52px;padding-inline:10px}.checkout-urgency-content{gap:8px;font-size:10px;letter-spacing:.025em}.checkout-urgency-content svg{width:16px;height:16px}.checkout-urgency-content strong{font-size:16px;letter-spacing:.03em}}
.checkout-template-enabled .flow-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 20px; align-items: start; padding: 42px 0 54px; }
.checkout-template-enabled .flow-copy { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(250px, 1fr) minmax(370px, 1.15fr); align-items: end; gap: 0 28px; }
.checkout-template-enabled .flow-copy .eyebrow,
.checkout-template-enabled .flow-copy h1,
.checkout-template-enabled .flow-copy .flow-lead { grid-column: 1; }
.checkout-template-enabled .flow-copy h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 760; letter-spacing: -.055em; }
.checkout-template-enabled .flow-copy .flow-lead { margin: 9px 0 0; font-size: 14px; line-height: 1.55; }
.checkout-template-enabled .checkout-steps { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.checkout-template-enabled .flow-proof { display: none; }
.checkout-template-enabled .flow-card { grid-column: 1; margin: 0; }
.checkout-template-enabled .flow-order-card { grid-column: 2; position: sticky; top: 18px; padding: 22px; border: 1px solid color-mix(in srgb, var(--checkout-text) 14%, transparent); border-radius: 17px; background: var(--checkout-surface, #fffdf8); color: var(--checkout-text, #24211d); box-shadow: 0 16px 50px #00000010; }
.checkout-template-enabled .flow-order-card h2 { margin: 8px 0 20px; font-size: 25px; font-weight: 760; letter-spacing: -.045em; }
.checkout-template-enabled .flow-order-product { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 13px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid color-mix(in srgb, var(--checkout-text) 14%, transparent); }
.checkout-template-enabled .flow-order-product img { width: 82px; height: 82px; border-radius: 12px; object-fit: cover; background: #8882; }
.checkout-template-enabled .flow-order-product img[src=""] { display: none; }
.checkout-template-enabled .flow-order-product b,.checkout-template-enabled .flow-order-product small,.checkout-template-enabled .flow-order-product strong { display: block; }
.checkout-template-enabled .flow-order-product b { font-size: 13px; line-height: 1.35; }
.checkout-template-enabled .flow-order-product small { margin-top: 4px; color: color-mix(in srgb, var(--checkout-text) 62%, transparent); font-size: 11px; }
.checkout-template-enabled .flow-order-product strong { margin-top: 8px; font-size: 18px; }
.checkout-template-enabled .flow-order-lines>div,.checkout-template-enabled .flow-order-total { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--checkout-text) 13%, transparent); font-size: 12px; }
.checkout-template-enabled .flow-order-total { align-items: center; border: 0; font-size: 14px; font-weight: 750; }
.checkout-template-enabled .flow-order-total strong { color: var(--checkout-primary, #b65535); font-size: 26px; letter-spacing: -.05em; }
.checkout-template-enabled .flow-order-guarantee { display: grid; gap: 6px; margin-top: 8px; padding: 14px; border: 1px solid color-mix(in srgb, var(--checkout-text) 14%, transparent); border-radius: 12px; font-size: 12px; }
.checkout-template-enabled .flow-order-guarantee span { color: color-mix(in srgb, var(--checkout-text) 65%, transparent); font-size: 11px; line-height: 1.5; }
.checkout-template-enabled .flow-order-security { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px; color: color-mix(in srgb, var(--checkout-text) 62%, transparent); font-size: 10px; }
.checkout-template-enabled .flow-order-guarantee b { display:flex; align-items:center; gap:7px; }
.checkout-template-enabled .flow-order-security span { display:flex; align-items:center; gap:6px; }
.checkout-template-enabled .checkout-steps { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: color-mix(in srgb, var(--checkout-text) 58%, transparent); font-size: 11px; }
.checkout-template-enabled .checkout-steps span { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid color-mix(in srgb, var(--checkout-text) 14%, transparent); border-radius: 999px; white-space: nowrap; }
.checkout-template-enabled .checkout-steps b { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--checkout-text) 10%, transparent); font-size: 10px; }
.checkout-template-enabled .checkout-steps .is-current { border-color: color-mix(in srgb, var(--checkout-primary) 48%, transparent); color: var(--checkout-text); }
.checkout-template-enabled .checkout-steps .is-current b { background: var(--checkout-primary); color: #07110d; }
.checkout-template-enabled .checkout-steps .is-done { border-color: color-mix(in srgb, var(--checkout-primary) 34%, transparent); color: var(--checkout-text); }
.checkout-template-enabled .checkout-steps .is-done b { background: color-mix(in srgb, var(--checkout-primary) 18%, transparent); color: var(--checkout-primary); }
.checkout-template-enabled .checkout-steps i { width: 16px; height: 1px; background: color-mix(in srgb, var(--checkout-text) 25%, transparent); }
.checkout-template-enabled .checkout-pix-choice { display:grid; gap:6px; margin:14px 0 2px; padding:14px; border:1px solid color-mix(in srgb, var(--checkout-primary) 50%, transparent); border-radius:12px; background:color-mix(in srgb, var(--checkout-primary) 5%, var(--checkout-surface)); }
.checkout-template-enabled .checkout-payment-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.checkout-template-enabled .checkout-payment-methods .checkout-pix-choice { width:100%; box-sizing:border-box; color:inherit; text-align:left; font:inherit; cursor:pointer; }
.checkout-template-enabled .checkout-payment-methods .checkout-pix-choice[aria-pressed="true"] { border-color:var(--checkout-primary); box-shadow:0 0 0 2px color-mix(in srgb, var(--checkout-primary) 18%, transparent); }
.checkout-template-dark .checkout-payment-methods .checkout-pix-choice { min-height:74px; border-color:#ffffff26; background:#111316; }
.checkout-template-dark .checkout-payment-methods .checkout-pix-choice[aria-pressed="true"] { border-color:var(--template-accent,#00d7a0); background:var(--template-accent,#00d7a0); color:#07110d; box-shadow:0 9px 25px color-mix(in srgb,var(--template-accent,#00d7a0) 24%,transparent); }
.checkout-template-dark .checkout-payment-methods .checkout-pix-choice[aria-pressed="true"] span { color:#07110dcc; }
.checkout-page.checkout-template-enabled .checkout-payment-methods { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; align-items:stretch; }
.checkout-page.checkout-template-enabled .checkout-payment-methods .checkout-pix-choice { display:grid!important; width:100%!important; min-width:0; margin:0!important; }
.checkout-template-enabled .checkout-card-fields { display:grid; gap:8px; margin-top:10px; padding:14px; border:1px solid color-mix(in srgb, var(--checkout-text) 18%, transparent); border-radius:12px; }
.checkout-template-enabled .checkout-card-row { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
@media(max-width:560px){.checkout-template-enabled .checkout-payment-methods,.checkout-template-enabled .checkout-card-row{grid-template-columns:1fr}.checkout-template-enabled .checkout-card-row{gap:0}}
.checkout-template-enabled .checkout-pix-choice b { display:flex; align-items:center; gap:8px; font-size:13px; }
.checkout-template-enabled .checkout-pix-choice svg,.checkout-template-enabled #checkout-submit svg,.checkout-template-enabled .flow-order-card svg { width:16px; height:16px; stroke:currentColor; vertical-align:middle; }
.checkout-template-enabled .checkout-pix-choice em { margin-left:auto; color:var(--checkout-primary); font-size:9px; font-style:normal; font-weight:800; letter-spacing:.08em; }
.checkout-template-enabled .checkout-pix-choice span { color:color-mix(in srgb, var(--checkout-text) 62%, transparent); font-size:11px; }
.checkout-template-enabled #checkout-submit-total { display:inline; font-size:inherit; }
.checkout-template-dark {
  color-scheme: dark;
  background: var(--template-bg, #08090b);
  color: var(--template-text, #f4f5f2);
}
.checkout-template-dark .flow-body { background: var(--template-bg, #08090b); color: var(--template-text, #f4f5f2); }
.checkout-template-dark .flow-shell { width: min(1240px, calc(100% - 48px)); }
.checkout-template-dark .flow-header,
.checkout-template-dark .flow-footer { border-color: #ffffff20; }
.checkout-template-dark .brand-sep { background: #ffffff35; }
.checkout-template-dark .brand-tag,
.checkout-template-dark .flow-step,
.checkout-template-dark .flow-lead,
.checkout-template-dark .flow-proof small,
.checkout-template-dark .flow-fineprint { color: #a2a6a5; }
.checkout-template-dark .flow-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 20px; align-items: start; padding: 42px 0 54px; }
.checkout-template-dark .flow-copy { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(250px, 1fr) minmax(370px, 1.15fr); align-items: end; gap: 0 28px; }
.checkout-template-dark .flow-copy .eyebrow,
.checkout-template-dark .flow-copy h1,
.checkout-template-dark .flow-copy .flow-lead { grid-column: 1; }
.checkout-template-dark .flow-copy h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 760; letter-spacing: -.055em; }
.checkout-template-dark .flow-copy .flow-lead { margin: 9px 0 0; font-size: 14px; line-height: 1.55; }
.checkout-template-dark .checkout-steps { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.checkout-template-dark .flow-proof { display: none; }
.checkout-template-dark .flow-card,
.checkout-template-dark .flow-order-card,
.checkout-template-dark .product-info,
.checkout-template-dark .product-social .included-card,
.checkout-template-dark .product-social article,
.checkout-template-dark .product-social details,
.checkout-template-dark .product-guarantee {
  background: var(--template-surface, #111316);
  border: 1px solid #ffffff1a;
  border-radius: 17px;
  color: var(--template-text, #f4f5f2);
  box-shadow: 0 16px 50px #0005;
}
.checkout-template-dark .flow-card { grid-column: 1; margin: 0; padding: 26px; }
.checkout-template-dark .flow-card h2,
.checkout-template-dark .flow-order-card h2 { margin: 8px 0 20px; font-size: 25px; font-weight: 760; letter-spacing: -.045em; }
.checkout-template-dark .checkout-product-head { border-color: #ffffff20; }
.checkout-template-dark .checkout-product-head p,
.checkout-template-dark .flow-card .step-label { color: #a2a6a5; }
.checkout-template-dark .flow-price { border-color: #ffffff20; color: #a2a6a5; }
.checkout-template-dark .flow-price strong { color: var(--template-text, #f4f5f2); }
.checkout-template-dark .flow-form label { color: #b9bcbb; }
.checkout-template-dark .flow-form input,
.checkout-template-dark .pix-code,
.checkout-template-dark .delivery-box pre {
  border-color: #ffffff24;
  background: #08090b;
  color: var(--template-text, #f4f5f2);
}
.checkout-template-dark .flow-form input::placeholder { color: #858987; }
.checkout-template-dark .flow-form input:focus { outline-color: var(--template-accent, #00d7a0); }
.checkout-template-dark .checkout-pix-choice { background:color-mix(in srgb, var(--template-accent, #00d7a0) 7%, var(--template-surface, #111316)); }
.checkout-template-dark .flow-card .button-primary,
.checkout-template-dark .template-preview-scene button { background: var(--template-accent, #00d7a0); border-color: var(--template-accent, #00d7a0); color: #07110d; box-shadow: 0 9px 25px color-mix(in srgb, var(--template-accent, #00d7a0) 28%, transparent); }
.checkout-template-dark .flow-order-card { grid-column: 2; position: sticky; top: 18px; padding: 22px; }
.checkout-template-dark .flow-order-product { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 13px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #ffffff20; }
.checkout-template-dark .flow-order-product img { width: 82px; height: 82px; border-radius: 12px; object-fit: cover; background: #222; }
.checkout-template-dark .flow-order-product img[src=""] { display: none; }
.checkout-template-dark .flow-order-product b,
.checkout-template-dark .flow-order-product small,
.checkout-template-dark .flow-order-product strong { display: block; }
.checkout-template-dark .flow-order-product b { font-size: 13px; line-height: 1.35; }
.checkout-template-dark .flow-order-product small { margin-top: 4px; color: #999e9c; font-size: 11px; }
.checkout-template-dark .flow-order-product strong { margin-top: 8px; font-size: 18px; }
.checkout-template-dark .flow-order-lines > div,
.checkout-template-dark .flow-order-total { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #ffffff1a; font-size: 12px; }
.checkout-template-dark .flow-order-total { align-items: center; border: 0; font-size: 14px; font-weight: 750; }
.checkout-template-dark .flow-order-total strong { color: var(--template-accent, #00d7a0); font-size: 26px; letter-spacing: -.05em; }
.checkout-template-dark .flow-order-guarantee { display: grid; gap: 6px; margin-top: 8px; padding: 14px; border: 1px solid #ffffff20; border-radius: 12px; font-size: 12px; }
.checkout-template-dark .flow-order-guarantee span { color: #a2a6a5; font-size: 11px; line-height: 1.5; }
.checkout-template-dark .flow-order-security { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px; color: #a2a6a5; font-size: 10px; }
.checkout-template-dark .checkout-steps { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #909593; font-size: 11px; }
.checkout-template-dark .checkout-steps span { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #ffffff21; border-radius: 999px; white-space: nowrap; }
.checkout-template-dark .checkout-steps b { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #ffffff12; font-size: 10px; }
.checkout-template-dark .checkout-steps .is-current { border-color: color-mix(in srgb, var(--template-accent, #00d7a0) 48%, transparent); color: var(--template-text, #f4f5f2); }
.checkout-template-dark .checkout-steps .is-current b { background: var(--template-accent, #00d7a0); color: #07110d; }
.checkout-template-dark .checkout-steps i { width: 16px; height: 1px; background: #ffffff35; }
.checkout-template-dark .upgrade-card { border-color: #ee39bd80; background: #1b101a; color: var(--template-text, #f4f5f2); }
.checkout-template-dark .upgrade-card.is-active { border-color: #ee39bd; box-shadow: 0 0 0 1px #ee39bd; }
.checkout-template-dark .upgrade-copy small,
.checkout-template-dark .upgrade-price { color: #ff64d0; }
.checkout-template-dark .product-body { background: var(--product-background, var(--template-bg)); color: var(--product-text, var(--template-text)); }
.checkout-template-dark .product-header { border-color: #ffffff20; }
.checkout-template-dark .product-header .brand-sep { background: #ffffff35; }
.checkout-template-dark .product-nav a,
.checkout-template-dark .product-kicker,
.checkout-template-dark .product-description,
.checkout-template-dark .product-trust,
.checkout-template-dark .product-footer { color: #a2a6a5; }
.checkout-template-dark .product-header-cta,
.checkout-template-dark .product-button { background: var(--template-accent, #00d7a0); color: #07110d; }
.checkout-template-dark .product-image-wrap { background: #151719; border: 1px solid #ffffff20; }
.checkout-template-enabled .product-gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; overflow-x: auto; }
.checkout-template-enabled .product-gallery-thumb { display: grid; flex: 0 0 68px; width: 68px; height: 60px; padding: 3px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--checkout-text) 17%, transparent); border-radius: 9px; background: var(--checkout-surface); cursor: pointer; }
.checkout-template-enabled .product-gallery-thumb.is-active { border-color: var(--checkout-primary); box-shadow: 0 0 0 1px var(--checkout-primary); }
.checkout-template-enabled .product-gallery-thumb img { width: 100%; height: 100%; border-radius: 5px; object-fit: cover; }
.checkout-template-dark .product-gallery-thumb { border-color: #ffffff28; background: var(--template-surface, #111316); }
.checkout-template-dark .product-gallery-thumb.is-active { border-color: var(--template-accent, #00d7a0); }
.checkout-template-dark .product-info { padding: 24px; }
.checkout-template-dark .product-info h1 { font-size: clamp(2rem, 3vw, 3rem); }
.checkout-template-dark .product-buy { border-color: #ffffff20; }
.checkout-template-dark .product-buy small { color: #a2a6a5; }
.checkout-template-dark .product-buy strong { color: var(--template-accent, #00d7a0); }
.checkout-template-dark .product-social h2 { color: var(--template-text, #f4f5f2); }
.checkout-template-dark .product-benefits-list .included-card h2,
.checkout-template-dark .included-item p,
.checkout-template-dark .product-guarantee p { color: #a2a6a5; }
.checkout-template-dark .included-item strong { color: var(--template-text, #f4f5f2); }
.checkout-template-dark .product-footer { border-color: #ffffff20; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"]>.product-layout { grid-column: 1 / -1; grid-row: 1; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] { display: block; padding: 24px 0 56px; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"]>.product-page { width: 100%; max-width: none; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"]>.product-social { display: grid; grid-template-columns: 1fr; gap: 24px; width: 100%; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"]>.product-social>* { grid-column: 1; width: 100%; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 4vw, 52px); align-items: start; padding: 30px 0 45px; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-visual { width: 100%; min-width: 0; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-image-wrap { width: 100%; aspect-ratio: 1 / 1; border-radius: 18px; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-image-wrap img { object-fit: contain; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-info { min-width: 0; width: 100%; padding: clamp(18px, 2.5vw, 30px); border: 1px solid color-mix(in srgb, var(--checkout-text) 12%, transparent); border-radius: 18px; background: var(--checkout-surface, #fffdf8); color: var(--checkout-text, #181411); }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-info h1 { margin: 10px 0 14px; font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: .98; letter-spacing: -.065em; overflow-wrap: anywhere; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-short { max-width: none; margin: 0; font-size: 1rem; line-height: 1.5; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-divider { margin: 18px 0 14px; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-description { max-width: none; font-size: .9rem; line-height: 1.55; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-buy { flex-wrap: wrap; align-items: center; margin-top: 18px; padding-top: 16px; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-button { min-height: 48px; justify-content: center; border-radius: 10px; font-weight: 750; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-button { background: var(--checkout-primary, #b65535); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--checkout-primary, #b65535) 23%, transparent); }
.checkout-template-enabled .product-availability { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: color-mix(in srgb, var(--checkout-text) 67%, transparent); font-size: 12px; }
.checkout-template-enabled .product-availability::before { width: 8px; height: 8px; border-radius: 50%; background: var(--checkout-primary); content: ""; }
.checkout-template-enabled .product-availability.is-unavailable { color: #ff7f86; }
.checkout-template-enabled .product-availability.is-unavailable::before { background: #ff5964; }
.checkout-template-enabled .product-price-note { display: block; margin-top: 5px; color: color-mix(in srgb, var(--checkout-text) 58%, transparent); font-size: 11px; }
.checkout-template-enabled .product-trust { display: flex; align-items: center; gap: 7px; }
.checkout-template-enabled .product-trust svg, .checkout-template-enabled .product-button svg, .checkout-template-enabled .product-header-cta svg { width: 16px; height: 16px; }
.checkout-template-enabled .product-button.is-unavailable, .checkout-template-enabled .product-header-cta.is-unavailable { cursor: not-allowed; opacity: .55; }
.checkout-template-enabled .flow-header-actions { display: flex; align-items: center; gap: 18px; }
.checkout-template-enabled .checkout-back { color: var(--checkout-muted); font-size: 12px; text-decoration: none; }
.checkout-template-enabled .checkout-back:hover { color: var(--checkout-text); }
.checkout-template-enabled .flow-order-quantity, .checkout-template-enabled .flow-order-subtotal, .checkout-template-enabled .flow-order-discount { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--checkout-text) 12%, transparent); font-size: 12px; }
.checkout-template-enabled .flow-order-quantity b { display: flex; align-items: baseline; gap: 5px; }
.checkout-template-enabled .flow-order-quantity small { color: var(--checkout-muted); font-size: 10px; font-weight: 400; }
.checkout-template-enabled .flow-order-discount { color: var(--checkout-primary); }
.checkout-template-enabled .flow-header-actions .flow-step { margin: 0; }
.checkout-template-dark .product-checkout-layout[data-checkout-layout="reference"] .product-info { background: var(--template-surface, #111316); color: var(--template-text, #f4f5f2); border-color: #ffffff20; }
.checkout-template-dark .product-checkout-layout[data-checkout-layout="reference"] .product-divider,
.checkout-template-dark .product-checkout-layout[data-checkout-layout="reference"] .product-buy { border-color: #ffffff20; }
.checkout-template-dark .flow-order-quantity, .checkout-template-dark .flow-order-subtotal, .checkout-template-dark .flow-order-discount { border-color: #ffffff20; }
.checkout-template-dark .flow-order-discount { color: var(--template-accent, #00d7a0); }
.checkout-template-dark .success-shell .flow-card { max-width: 760px; margin: 38px auto 52px; background: var(--template-surface, #111316); color: var(--template-text, #f4f5f2); border-color: #ffffff1a; }
.checkout-template-dark .success-shell .flow-card .checkout-steps { justify-content: flex-start; margin: 20px 0 26px; }
.checkout-template-dark .success-shell .flow-card .delivery-box { border-color: #ffffff20; }
.checkout-template-dark .success-shell .flow-card .delivery-box pre { background: #08090b; color: var(--template-text, #f4f5f2); border-color: #ffffff24; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"]>.product-social>* { grid-column: 1 / -1; }
.checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"]>.embedded-checkout[hidden] { display: none !important; }
@media (max-width: 850px) {
  .checkout-template-enabled .flow-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  .checkout-template-enabled .flow-copy { grid-template-columns: 1fr; }
  .checkout-template-enabled .checkout-steps { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 16px; }
  .checkout-template-dark .flow-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  .checkout-template-dark .flow-copy { grid-template-columns: 1fr; }
  .checkout-template-dark .checkout-steps { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 16px; }
}
@media (max-width: 700px) {
  .checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-layout { grid-template-columns: 1fr; gap: 18px; padding: 18px 0 28px; }
  .checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-image-wrap { width: min(100%, 520px); margin: 0 auto; border-radius: 16px; }
  .checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-info { padding: 18px; }
  .checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-info { border-radius: 15px; }
  .checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-info h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .checkout-template-enabled .product-checkout-layout[data-checkout-layout="reference"] .product-buy { align-items: center; flex-direction: row; }
  .checkout-template-enabled .product-gallery-thumb { flex-basis: 58px; width: 58px; height: 52px; }
  .checkout-template-enabled .flow-grid { display: flex; flex-direction: column; gap: 16px; padding: 25px 0 38px; }
  .checkout-template-enabled .flow-copy { width: 100%; }
  .checkout-template-enabled .flow-copy h1 { font-size: 34px; }
  .checkout-template-enabled .checkout-steps { width: 100%; gap: 5px; }
  .checkout-template-enabled .checkout-steps span { padding: 7px; gap: 4px; font-size: 9px; }
  .checkout-template-enabled .checkout-steps i { width: 7px; }
  .checkout-template-enabled .flow-order-card { position: static; width: 100%; order: 3; padding: 18px; }
  .checkout-template-enabled .flow-header-actions { gap: 10px; }
  .checkout-template-enabled .checkout-back { font-size: 10px; }
  .checkout-template-dark .flow-shell { width: min(100% - 28px, 560px); }
  .checkout-template-dark .flow-grid { display: flex; flex-direction: column; gap: 16px; padding: 25px 0 38px; }
  .checkout-template-dark .flow-copy { width: 100%; }
  .checkout-template-dark .flow-copy h1 { font-size: 34px; }
  .checkout-template-dark .checkout-steps { width: 100%; gap: 5px; }
  .checkout-template-dark .checkout-steps span { padding: 7px; gap: 4px; font-size: 9px; }
  .checkout-template-dark .checkout-steps i { width: 7px; }
  .checkout-template-dark .flow-card { padding: 19px; }
  .checkout-template-dark .flow-order-card { position: static; width: 100%; order: 3; padding: 18px; }
  .checkout-template-dark .flow-footer { flex-wrap: wrap; }
}
