/* styles/wo-cart-conversion.css */
/* Cart direction: white paper, purple ink, gold actions, original game renders.
   Hierarchy: selection -> contextual offer -> persistent total and next step.
   Motion: short drawer entrance, pressed buttons, optional offer reveal. */
.commerce-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cartoon-store.light-store {--cart-ink:#503960;--cart-muted:#756481;--cart-line:#e7deec}
.cartoon-store.light-store .cart-dialog {width:560px;max-width:100%;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;border-left:2px solid #e2d3ec;border-radius:22px 0 0 22px;overflow:hidden;box-shadow:-18px 0 70px #35214533}
.cart-dialog[open] {display:flex;flex-direction:column;animation:cart-arrive .22s ease-out}
.cart-dialog::backdrop {background:#21192e65;backdrop-filter:blur(3px)}
.cartoon-store .cart-heading {flex:none;position:relative;margin:0;padding:28px 30px 22px;border-bottom:1px solid var(--cart-line);background:#fff}
.cartoon-store .cart-heading small {display:block;color:#997129;font-size:9px;font-weight:800;letter-spacing:1.8px;margin-bottom:8px}
.cartoon-store .cart-heading h2 {color:var(--cart-ink);font-size:28px;line-height:1.2;letter-spacing:-.5px;gap:12px}
.cartoon-store .cart-heading h2 span {background:#f0e9f6;color:#76528e;font:700 12px Poppins,Arial,sans-serif;border:1px solid #e6d9ee;min-width:28px;height:28px}
.cartoon-store .cart-heading .dialog-close {top:29px;right:22px;width:40px;height:40px;font-size:25px;border-radius:9px;color:#7d638d;background:#f6f1f9}
#cart-content {display:flex;flex-direction:column;min-height:0;flex:1}
.cart-scroll {overflow-y:auto;overscroll-behavior:contain;flex:1;padding:0 28px 28px;scrollbar-width:thin;scrollbar-color:#d3c3df transparent}
.cart-intro {font-size:12px;color:var(--cart-muted);padding:22px 0 4px}
.cartoon-store.light-store .cart-item {position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:start;gap:14px;padding:22px 0;border-bottom:1px solid var(--cart-line)}
.cartoon-store .cart-item-art {height:88px;width:64px;border-radius:9px;position:relative;background:linear-gradient(145deg,var(--bg-one),var(--bg-two));box-shadow:inset 0 1px 1px #ffffff80,0 3px 0 #50396022}
.cartoon-store .cart-item-art img {height:112px;width:75px;object-fit:contain;transform:translate(-5px,-5px)}
.cartoon-store .cart-item-art svg {width:52px;height:64px;margin:10px 6px;color:white}
.cartoon-store.light-store .cart-item h3 {font-family:Poppins,Arial,sans-serif;font-size:13px;font-weight:800;line-height:1.5;color:var(--cart-ink);margin:0}
.cartoon-store.light-store .cart-item p {font-size:11px;line-height:1.6;margin-top:3px;color:var(--cart-muted)}
.cart-player {display:block;font-size:10px;color:var(--cart-muted);margin-top:5px;overflow-wrap:anywhere}
.cart-player b {color:#745285;font-weight:600}
.cartoon-store.light-store .cart-item-price {color:var(--cart-ink);font-size:13px;white-space:nowrap;line-height:1.6;text-align:right}
.cart-item-actions {display:flex;gap:3px 14px;flex-wrap:wrap;margin-top:6px}
.cart-item-actions button {font-size:10px;min-height:30px;padding:4px 0;background:none;color:#796088;text-decoration:underline;text-underline-offset:3px}
.cart-item-actions .cart-spend-less {color:#96701d;text-decoration:none}
.cart-item-actions button:hover {color:#3e2554}
.cart-recommendations {display:grid;gap:18px;margin-top:25px}
.cart-offer {padding:18px;border:1px solid #ead398;border-bottom:4px solid #d8b56b;border-radius:13px;background:#fff9e9;box-shadow:0 4px 8px #8866230a;color:var(--cart-ink);animation:offer-reveal .2s ease-out}
.offer-eyebrow {display:flex;justify-content:space-between;align-items:center;gap:12px;color:#9a6b19;font-size:9px;font-weight:800;letter-spacing:1.3px;margin-bottom:5px}
.offer-eyebrow button {width:30px;height:30px;margin:-8px -8px 0 0;border-radius:6px;background:transparent;color:#94733c;font-size:22px;font-weight:400;letter-spacing:0}
.offer-eyebrow button:hover {background:#f0e4c4}
.offer-main {display:grid;grid-template-columns:100px 1fr;gap:15px;align-items:center}
.offer-art {height:130px;display:grid;place-items:center;position:relative;overflow:hidden}
.offer-art:before {content:'';position:absolute;width:96px;height:96px;background:#f5e7c66b;border-radius:50%;bottom:9px}
.offer-art img {position:relative;width:100%;height:135px;object-fit:contain;filter:drop-shadow(0 4px 2px #54362620)}
.offer-art svg {position:relative;width:85px;height:90px;color:#ba8e37}
.offer-copy h3 {font:800 18px/1.2 Poppins,Arial,sans-serif;color:#64491f;letter-spacing:-.5px}
.offer-copy ul {list-style:none;padding:0;margin:10px 0 5px}
.offer-copy li {position:relative;padding-left:15px;font-size:11px;line-height:1.8;color:#7b633f}
.offer-copy li:before {content:'✓';position:absolute;left:0;color:#9f7319;font-weight:700}
.offer-period {font-size:9px;line-height:1.5;color:#917953;display:block}
.offer-replaces {font-size:10px;line-height:1.7;margin:9px 0 16px;color:#826943}
.offer-replaces strong {font-weight:600}
.offer-action {display:flex;align-items:center;justify-content:space-between;gap:14px}
.offer-action small {display:block;font-size:10px;color:#866631;line-height:1.6}
.offer-action strong {display:block;font-size:24px;letter-spacing:-1px;line-height:1.35;color:#714a16;white-space:nowrap}
.cartoon-store .button.offer-button {min-height:44px;padding:12px 15px;gap:10px;font-size:11px;width:auto;white-space:nowrap}
.cartoon-store.light-store :is(.cart-checkout,.offer-button) {background:#f8c34e;border:1px solid #efb333;color:#53350e;border-radius:8px;box-shadow:inset 0 2px 0 #ffe6a8,0 4px 0 #b18127,0 7px 4px #9266231a;font-weight:800;transition:transform .15s,box-shadow .15s,background .15s}
.cartoon-store.light-store :is(.cart-checkout,.offer-button):hover {transform:translateY(-1px);background:#ffce64;box-shadow:inset 0 2px 0 #ffe6a8,0 5px 0 #b18127,0 8px 4px #9266231a}
.cartoon-store.light-store :is(.cart-checkout,.offer-button):active {transform:translateY(3px);box-shadow:inset 0 1px 0 #ffe6a8,0 1px 0 #b18127}
.offer-new-total {margin-top:15px;font-size:10px;color:#846c42;text-align:right}
.cart-offer-lower {margin-top:14px;background:#f4f0fa;border-color:#dfd2ec;border-bottom-color:#bba3ce}
.cart-offer-lower .offer-eyebrow,.cart-offer-lower .offer-action strong,.cart-offer-lower .offer-copy h3 {color:#76548f}
.cart-offer-lower :is(.offer-replaces,.offer-copy li,.offer-period,.offer-new-total,.offer-action small) {color:#7a668b}
.cart-offer-lower .offer-art:before {background:#e9dff4}
.cart-bump {border:1px dashed #c5b1d3;background:#fbf8fe;padding:17px 18px;border-radius:11px;transition:background .15s,border-color .15s}
.cart-bump.is-added {border-style:solid;border-color:#accbab;background:#f4fbf2}
.bump-eyebrow {font-size:8px;font-weight:800;letter-spacing:1.2px;color:#876e9b;margin-bottom:13px}
.bump-choice {display:flex;gap:12px;align-items:center;cursor:pointer;margin:0;min-height:60px}
.bump-choice input {flex:none;width:20px;height:20px;accent-color:#745194;margin:0;cursor:pointer}
.bump-art {flex:none;width:42px;height:50px;display:grid;place-items:center;color:#9a7aaa}
.bump-art svg {width:44px;height:48px}
.bump-copy {display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:10px;color:var(--cart-muted)}
.bump-copy strong {font-size:12px;color:var(--cart-ink)}
.bump-copy b {color:#74528a;font-size:12px}
.bump-help {font-size:9px;margin-top:12px;color:var(--cart-muted)}
.cart-checkout-footer {padding:20px 28px 12px;border-top:1px solid var(--cart-line);background:#fff;box-shadow:0 -10px 25px #4c325609;flex:none;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.cartoon-store .cart-checkout-footer .cart-total {margin:0;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--cart-ink)}
.cartoon-store.light-store .cart-total strong {font-size:28px;font-weight:800;letter-spacing:-1px;color:var(--cart-ink)}
.cartoon-store.light-store .cart-single-payment {font-size:10px;color:var(--cart-muted);margin:5px 0 18px}
.cartoon-store .cart-checkout-footer .cart-checkout {min-height:50px;font-size:13px;width:100%;justify-content:space-between}
.cart-keep-shopping {width:100%;background:none;min-height:40px;margin-top:8px;font-size:10px;color:#826b92}
.cart-undo {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;margin:18px 0 3px;border-radius:8px;background:#f1f7ed;color:#527440;font-size:11px}
.cart-undo button {background:none;color:#466e32;font-size:11px;font-weight:700;text-decoration:underline;padding:7px 0}
.cartoon-store .cart-empty {padding:38px 12px 24px;text-align:center}
.empty-star {font-size:58px;display:block;color:#e8b440;margin-bottom:18px}
.cart-empty h3 {font-size:23px;line-height:1.3;color:var(--cart-ink);max-width:300px;margin:0 auto 13px}
.cartoon-store.light-store .cart-empty p {font-size:12px;line-height:1.8;color:var(--cart-muted);max-width:290px;margin:0 auto 25px}
.cart-empty-secondary {display:block;margin-top:23px;font-size:12px;color:#765487;text-decoration:underline;text-underline-offset:4px}
.cart-conflict {background:#fff6df;border:1px solid #e9ce8a;padding:16px;border-radius:10px;margin-bottom:18px;font-size:12px;color:#765320}
.cart-conflict p {font-size:11px;line-height:1.8;margin:8px 0}
.cart-conflict .button {background:#ecc368;color:#52370c;width:100%;font-size:11px}
.conversion-checkout .store-category-bar {display:none}
.cartoon-store.light-store .checkout-page {max-width:1120px;padding:35px 0 70px;min-height:70vh}
.checkout-topline {display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:#9b8aa5}
.checkout-topline b {padding:0 7px}
.cartoon-store .checkout-heading {margin:38px 0 32px}
.cartoon-store.light-store .checkout-heading .eyebrow {font-size:9px;letter-spacing:2px;color:#a07b35;margin-bottom:10px}
.cartoon-store.light-store .checkout-heading h1 {font-size:38px;line-height:1.2;letter-spacing:-1px;color:var(--cart-ink);font-weight:800}
.checkout-heading>p:last-child {font-size:12px;color:var(--cart-muted);margin-top:12px}
.cartoon-store .checkout-layout {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:40px;align-items:start}
.checkout-main {min-width:0}
.checkout-order {background:#fff;border:1px solid var(--cart-line);border-radius:14px;padding:24px 26px 4px;box-shadow:0 4px 0 #e9dfef}
.checkout-section-heading {display:flex;justify-content:space-between;gap:10px;align-items:center;padding-bottom:3px}
.checkout-section-heading h2 {font-size:21px;color:var(--cart-ink);letter-spacing:-.3px}
.checkout-section-heading>span {font-size:10px;color:var(--cart-muted)}
.checkout-order .cart-item:last-child {border-bottom:0}
.checkout-account {display:flex;align-items:center;gap:15px;padding:25px 8px;margin-top:8px;color:var(--cart-ink)}
.account-pixel {display:grid;place-items:center;flex:none;width:42px;height:42px;font-size:25px;color:#8c6e9f;background:#eee6f6;border-radius:9px;border-bottom:3px solid #d1c1de}
.checkout-account h2 {font:600 10px Poppins,Arial,sans-serif;color:var(--cart-muted);margin:0 0 4px}
.checkout-account p {font-size:14px;font-weight:700;overflow-wrap:anywhere}
.checkout-account small {font-size:9px;color:var(--cart-muted);display:block;margin-top:4px;line-height:1.7}
.checkout-offers {display:grid;gap:20px;margin-top:8px}
.checkout-offers .cart-offer {padding:20px 23px}
.checkout-offers .offer-main {grid-template-columns:120px 1fr;gap:20px}
.checkout-offers .offer-art {height:148px}
.checkout-offers .offer-art img {height:155px}
.checkout-offers .offer-copy h3 {font-size:23px}
.checkout-offers .offer-copy li {font-size:12px}
.checkout-offers .offer-replaces {font-size:11px}
.cartoon-store.light-store .checkout-summary {border:1px solid #ddcde9;border-bottom:4px solid #cbb4db;background:#fff;padding:27px;border-radius:14px;top:110px;box-shadow:0 7px 15px #4f305510}
.summary-kicker {display:block;color:#a37b33;font-size:8px;letter-spacing:1.5px;font-weight:800;margin-bottom:10px}
.cartoon-store.light-store .checkout-summary>h2 {font-size:25px;color:var(--cart-ink);letter-spacing:-.4px;margin:0 0 27px}
.summary-line {display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--cart-muted);margin-bottom:22px}
.summary-line strong {font-weight:600;color:var(--cart-ink);white-space:nowrap}
.cartoon-store .summary-total {padding-top:20px;margin:0;border-top:1px solid var(--cart-line);font-size:14px;color:var(--cart-ink)}
.cartoon-store .summary-total strong {font-size:30px;letter-spacing:-1px;color:var(--cart-ink)}
.cartoon-store.light-store .checkout-summary>p.summary-payment {font-size:10px;line-height:1.7;color:var(--cart-muted);margin:8px 0 24px}
.cartoon-store .checkout-submit {font-size:12px;font-weight:800;min-height:52px;gap:8px}
.cartoon-store.light-store .checkout-demo-note {font-size:9px;line-height:1.8;color:#8f8098;text-align:center;margin-top:17px}
.summary-help {display:flex;gap:11px;align-items:center;border-top:1px solid var(--cart-line);padding-top:23px;margin-top:24px}
.summary-help>span {display:grid;place-items:center;border:1px solid #ddcfe5;width:27px;height:27px;border-radius:50%;font-size:14px;color:#9d86ac}
.summary-help p {font-size:10px;color:var(--cart-muted)}
.summary-help a {display:block;color:#795190;font-weight:600;font-size:10px;margin-top:4px;line-height:1.6}
#checkout-feedback strong {display:block;font-size:13px}
#checkout-feedback p {font-size:11px;margin:8px 0;line-height:1.8}
#checkout-feedback a {font-size:11px;text-decoration:underline}
.checkout-summary [hidden],.checkout-main [hidden] {display:none!important}
.checkout-mobile-bar {display:none}
@keyframes cart-arrive {from{transform:translateX(35px);opacity:.5}to{transform:translateX(0);opacity:1}}
@keyframes offer-reveal {from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px) {
 .conversion-checkout {padding-bottom:100px}
 .checkout-mobile-bar {display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px max(18px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--cart-line);box-shadow:0 -5px 20px #513c6612}
 .checkout-mobile-bar>div {display:flex;flex-direction:column;gap:3px;color:var(--cart-ink)}
 .checkout-mobile-bar>div>span {font-size:9px;color:var(--cart-muted)}
 .checkout-mobile-bar strong {font-size:22px;letter-spacing:-.6px;white-space:nowrap}
 .checkout-mobile-bar .button {min-height:46px;padding:12px 14px;font-size:10px}
 .cartoon-store .checkout-layout {grid-template-columns:minmax(0,1fr);gap:28px;max-width:620px;margin:auto}
 .cartoon-store .checkout-summary {position:static;grid-row:auto}
 .cartoon-store .checkout-heading {max-width:620px;margin:28px auto}
 .cartoon-store.light-store .checkout-heading h1 {font-size:31px}
 .checkout-topline>span {display:none}
 .cartoon-store.light-store .checkout-summary {padding:24px}
}
@media(max-width:480px) {
 .checkout-mobile-bar {padding-inline:16px;gap:12px}
 .checkout-mobile-bar strong {font-size:20px}
 .checkout-mobile-bar .button {font-size:9px;padding-inline:10px}
 .cartoon-store.light-store .cart-dialog {width:100%;border:0;border-radius:0}
 .cartoon-store .cart-heading {padding:21px 20px 18px}
 .cartoon-store .cart-heading h2 {font-size:26px}
 .cartoon-store .cart-heading .dialog-close {top:22px;right:16px}
 .cart-scroll {padding:0 18px 22px}
 .cartoon-store.light-store .cart-item {grid-template-columns:50px minmax(0,1fr) auto;gap:11px;padding:19px 0}
 .cartoon-store .cart-item-art {height:75px;width:50px}
 .cartoon-store .cart-item-art img {width:63px;height:96px;transform:translate(-6px,-2px)}
 .cartoon-store .cart-item-art svg {width:40px;height:55px;margin:10px 5px}
 .cartoon-store.light-store .cart-item h3 {font-size:12px}
 .cartoon-store.light-store .cart-item-price {font-size:11px}
 .cartoon-store.light-store .cart-item p {font-size:10px}
 .cart-player {font-size:9px}
 .cart-item-actions {gap:0 12px;grid-column:1/-1}
 .cart-item-actions button {font-size:10px;min-height:32px}
 .cart-offer {padding:15px}
 .offer-main {grid-template-columns:85px 1fr;gap:10px}
 .offer-copy h3 {font-size:17px}
 .offer-copy li {font-size:10px}
 .offer-art {height:118px}
 .offer-art img {height:125px}
 .offer-action {gap:10px}
 .offer-action strong {font-size:23px}
 .cartoon-store .button.offer-button {padding:11px 12px;font-size:10px;gap:8px}
 .cart-checkout-footer {padding:17px 20px 9px;padding-bottom:max(9px,env(safe-area-inset-bottom))}
 .cartoon-store .cart-checkout-footer .cart-checkout {font-size:12px}
 .cartoon-store.light-store .cart-total strong {font-size:27px}
 .cartoon-store.light-store .checkout-page {padding:25px 0 45px;width:calc(100% - 32px)}
 .checkout-order {padding:20px 16px 2px}
 .checkout-section-heading h2 {font-size:20px}
 .checkout-offers .cart-offer {padding:17px}
 .checkout-offers .offer-main {grid-template-columns:90px 1fr;gap:12px}
 .checkout-offers .offer-copy h3 {font-size:19px}
 .checkout-offers .offer-copy li {font-size:10px}
 .checkout-offers .offer-art {height:125px}
 .checkout-offers .offer-art img {height:132px}
 .checkout-offers .offer-replaces {font-size:10px}
}
@media(prefers-reduced-motion:reduce) {
 .cart-dialog[open],.cart-offer {animation:none}
 .cartoon-store.light-store :is(.cart-checkout,.offer-button),.cart-bump {transition:none}
}