.checkout-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.checkout-heading a{color:#2c599d;font-weight:700}.checkout-line{display:grid;grid-template-columns:60px 1fr auto;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #dbe6f3}.checkout-line>img{width:54px;height:76px;object-fit:contain;border-radius:7px;background:#faf5ec}.checkout-product>strong{display:block;color:#163a66;font-size:16px}.checkout-controls{display:flex;align-items:center;gap:0;margin-top:9px}.checkout-controls>button:not(.checkout-remove){width:30px;height:28px;border:1px solid #dccdb6;background:#f3f7fc}.checkout-controls>span{display:grid;place-items:center;width:31px;height:28px;border-top:1px solid #dccdb6;border-bottom:1px solid #dccdb6;font-weight:700}.checkout-remove{margin-left:12px;border:0;background:transparent;color:#a44332;font-size:12px;font-weight:700}.checkout-price{align-self:start;padding-top:5px}.checkout-total{margin:20px -28px -28px}.payment-panel{background:linear-gradient(160deg,#fff,#f3f7fc)}.payment-badge{display:inline-flex;gap:7px;align-items:center;padding:7px 11px;border-radius:999px;background:#eaf1fa;color:#2c599d;font-size:10px;font-weight:900;letter-spacing:1.2px;margin-bottom:13px}.paypal-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;border:1px solid #dbe6f3;border-radius:9px;background:#f5f8fc;color:#2c599d}.paypal-loading span{width:18px;height:18px;border:2px solid #dbe6f3;border-top-color:#2c599d;border-radius:50%;animation:pay-spin .8s linear infinite}.accepted-cards{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:18px}.accepted-cards span{font-size:11px;color:#786f63;margin-right:4px}.accepted-cards b{padding:5px 7px;border:1px solid #ded7ca;border-radius:4px;background:#fff;font:800 10px Arial;color:#344b61}.payment-note{font-size:11px;margin-top:15px}@keyframes pay-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.checkout-line{grid-template-columns:52px 1fr}.checkout-price{grid-column:2}.checkout-remove{margin-left:7px}.checkout-total{margin:20px -20px -20px}}


.checkout-customer{margin:18px 0}.customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.customer-grid label{font-size:11px;font-weight:800;color:#163a66}.customer-grid .full{grid-column:1/-1}.customer-grid input,.customer-grid select{display:block;width:100%;margin-top:5px;padding:11px;border:1px solid #dbe6f3;border-radius:8px;background:#fff}.customer-grid input:focus,.customer-grid select:focus{outline:0;border-color:#2c599d;box-shadow:0 0 0 3px #2c599d20}@media(max-width:600px){.customer-grid{grid-template-columns:1fr}.customer-grid label{grid-column:1/-1}}

.checkout-page .store-shell{max-width:980px}.checkout-page .store-card{border:0;background:transparent;box-shadow:none;overflow:visible}.checkout-page .store-checkout{display:block}.checkout-page .store-panel{background:#fff;border:1px solid #dbe6f3;border-radius:18px;margin-bottom:22px;box-shadow:0 14px 40px #163a6610}.checkout-page .checkout-line{grid-template-columns:54px 1fr auto}.checkout-page .checkout-total{border-radius:0 0 18px 18px}.checkout-page .payment-panel{max-width:760px;margin:0 auto 30px;padding:36px}.checkout-page .payment-panel>h2{text-transform:none;font-size:32px}.checkout-page #paypal-button-container{margin-top:20px}.checkout-page .accepted-cards{justify-content:center}.checkout-page .payment-note{text-align:center}@media(max-width:600px){.checkout-page .payment-panel{padding:22px}.checkout-page .payment-panel>h2{font-size:26px}.checkout-page .checkout-line{grid-template-columns:48px 1fr}.checkout-page .checkout-price{grid-column:2}}

.checkout-page .store-checkout>.store-panel:first-child{display:none}.checkout-page .payment-panel{max-width:680px;padding:44px 48px;border-top:5px solid #2c599d}.checkout-page .payment-badge{margin-bottom:20px}.checkout-page .payment-panel>h2{font-family:Georgia,serif;font-size:38px;color:#163a66;margin-bottom:8px}.checkout-page .payment-panel>p{color:#5d6d80;line-height:1.65;margin-bottom:22px}.payment-total{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:20px 0;margin:8px 0 18px;border-top:1px solid #dbe6f3;border-bottom:1px solid #dbe6f3}.payment-total span{color:#65758a;font-weight:600}.payment-total strong{color:#163a66;font:700 28px Georgia,serif}.checkout-page .store-secure{justify-content:center;background:#f3f7fc;border-radius:9px;padding:11px;margin-bottom:18px}.checkout-page #paypal-button-container{min-height:50px}.checkout-page .accepted-cards{padding-top:8px}.checkout-page .payment-note{max-width:480px;margin:16px auto 0}@media(max-width:600px){.checkout-page .payment-panel{padding:28px 20px;border-radius:14px}.checkout-page .payment-panel>h2{font-size:30px}.payment-total{align-items:flex-start;flex-direction:column;gap:5px}.payment-total strong{font-size:25px}}

.checkout-page .payment-panel{max-width:1060px;padding:38px 42px;background:linear-gradient(145deg,#fff 55%,#f4f8fd)}.payment-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(340px,1.15fr);gap:54px;align-items:center}.payment-memory{position:relative;min-height:455px;padding:30px;border-radius:20px;background:linear-gradient(155deg,#163a66,#2c599d);color:#fff;overflow:hidden;box-shadow:0 24px 55px #163a6635}.payment-memory:before{content:'';position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-90px;background:#fbdf3c24}.memory-kicker{position:relative;color:#fbdf3c;font-size:11px;font-weight:900;letter-spacing:1.7px;text-transform:uppercase}.memory-covers{height:190px;display:flex;align-items:center;justify-content:center;padding-top:14px}.memory-covers img{position:relative;width:108px;height:155px;object-fit:contain;border-radius:7px;background:#fff;box-shadow:0 17px 30px #07182c80;transform:translateX(calc((var(--book-index) - 1)*-22px)) rotate(calc((var(--book-index) - 1)*5deg));margin-right:-36px}.memory-covers img:first-child{z-index:3}.memory-covers img:nth-child(2){z-index:2}.memory-list{position:relative;border-top:1px solid #ffffff30;margin-top:8px;padding-top:13px}.memory-list>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #ffffff1f;font-size:12px}.memory-list span{font-weight:700}.memory-list small{display:block;color:#dbe6f3;font-weight:400;margin-top:2px}.memory-list strong{white-space:nowrap;color:#fbdf3c}.memory-edit{position:relative;display:inline-block;color:#fff!important;font-size:12px;font-weight:800;margin-top:17px}.memory-edit i{margin-right:6px}.payment-action{min-width:0}.checkout-page .payment-action>h2{font-family:Georgia,serif;font-size:38px;color:#163a66;margin:5px 0 8px}.payment-action>p{color:#5d6d80;line-height:1.65}.payment-action .payment-total{margin-top:20px}@media(max-width:850px){.checkout-page .payment-panel{max-width:680px}.payment-layout{grid-template-columns:1fr;gap:28px}.payment-memory{min-height:auto}.memory-covers{height:170px}}@media(max-width:600px){.checkout-page .payment-panel{padding:20px 14px}.payment-memory{padding:22px 18px}.memory-covers img{width:88px;height:130px}.checkout-page .payment-action>h2{font-size:29px}.payment-layout{gap:22px}}

/* Checkout v5: compact premium proportions */
.checkout-page{background:radial-gradient(circle at 8% 65%,#fbdf3c12 0 130px,transparent 132px),linear-gradient(#fff,#f8fafc)}.checkout-page .store-shell{max-width:1010px;margin-top:34px}.checkout-page .payment-panel{max-width:1010px;padding:30px 34px;border-top-width:4px;border-radius:22px;box-shadow:0 24px 70px #163a6615}.payment-layout{grid-template-columns:360px minmax(360px,1fr);gap:46px}.payment-memory{min-height:390px;padding:25px 28px;border-radius:18px;background:radial-gradient(circle at 100% 0,#ffffff22 0 110px,transparent 112px),linear-gradient(145deg,#163a66,#2c599d)}.payment-memory:after{content:'SANDRA A. HAYNES';position:absolute;right:-32px;bottom:58px;transform:rotate(-90deg);font-size:9px;font-weight:900;letter-spacing:3px;color:#ffffff24}.memory-covers{height:154px;padding-top:5px;margin-bottom:2px}.memory-covers img{width:88px;height:128px;margin-right:-28px;box-shadow:0 13px 24px #07182c70}.memory-list{max-height:125px;overflow:auto;padding-right:4px}.memory-list>div{padding:7px 0}.memory-list::-webkit-scrollbar{width:4px}.memory-list::-webkit-scrollbar-thumb{background:#fbdf3c;border-radius:5px}.checkout-page .payment-action>h2{font-size:32px;line-height:1.1;margin-top:0}.payment-total{padding:15px 0;margin:10px 0 16px}.payment-total strong{font-size:25px}.checkout-page .store-secure{padding:9px;font-size:12px}.checkout-page #paypal-button-container{max-width:520px;margin-left:auto;margin-right:auto}.checkout-page .payment-badge:after{content:'FINAL STEP';margin-left:8px;padding-left:8px;border-left:1px solid #2c599d33;color:#61748b}@media(max-width:850px){.checkout-page .store-shell{max-width:680px}.payment-layout{grid-template-columns:1fr;gap:24px}.payment-memory{min-height:360px}.memory-list{max-height:none}}@media(max-width:600px){.checkout-page .store-shell{margin-top:18px}.checkout-page .payment-panel{padding:16px 12px;border-radius:16px}.payment-layout{gap:18px}.payment-memory{min-height:330px;padding:21px}.memory-covers{height:140px}.checkout-page .payment-action{padding:0 4px}.checkout-page .payment-action>h2{font-size:27px}.payment-total strong{font-size:22px}}

.memory-price{display:flex;align-items:center;gap:8px;white-space:nowrap}.memory-remove{display:grid;place-items:center;width:25px;height:25px;border:1px solid #ffffff35;border-radius:50%;background:#ffffff12;color:#fff;cursor:pointer;transition:.2s}.memory-remove:hover{background:#fbdf3c;color:#163a66;border-color:#fbdf3c;transform:scale(1.08)}.memory-remove:disabled{opacity:.5;cursor:wait}
