.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:50%;font-size:11px;background:#007c80;color:white}.cart-count[hidden]{display:none}.cart-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:24px;align-items:start}.cart-page{padding-block:24px}.cart-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:20px;border-top:1px solid #dde3e5}.cart-row>div{min-width:0}.cart-row a{font-weight:600;line-height:1.7}.cart-summary form{display:grid;gap:16px}.cart-summary label{display:grid;gap:6px}.cart-summary input,.cart-summary select{width:100%;min-width:0;min-height:46px}.cart-summary .btn{width:100%;min-height:48px}.cart-summary [hidden]{display:none!important}.cart-totals{margin:16px 0}.cart-totals>div{display:flex;justify-content:space-between;gap:16px;margin-block:10px}.cart-totals dd{margin:0}.cart-total{padding-top:14px;border-top:1px solid #cbd4d7;font-size:20px;font-weight:600}.cart-pending{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.featured-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dce3e5;padding:14px 0}.featured-row>span{flex:1;min-width:0;line-height:1.7}.featured-row>div{display:flex;align-items:center;gap:6px}.featured-row label{display:flex;gap:6px;align-items:center;white-space:nowrap;font-size:13px}.featured-row input{width:18px;height:18px}.featured-row .btn{padding:8px;min-width:44px;min-height:44px}.original-price{font-size:.65em;color:#647178;font-weight:400;margin-inline-end:6px}.cart-row .text-button{min-height:44px}#featured-save{margin-top:20px}
@media(max-width:760px){.cart-layout{grid-template-columns:minmax(0,1fr)}.cart-page .panel{padding:20px}.featured-row{align-items:start;flex-direction:column}.featured-row>div{align-self:flex-end}.cart-summary .btn{font-size:14px}}
.catalog-cart-add{display:inline-flex;gap:8px;align-items:center;min-height:44px;margin-top:8px}.catalog-cart-add svg{width:18px;height:18px}.header-actions .icon-button:has(.cart-count){position:relative}.header-actions .cart-count{position:absolute;top:-4px;inset-inline-end:-5px}
.cart-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px}
.cart-cover{display:block;width:64px;aspect-ratio:2/3;overflow:hidden;border-radius:4px;background:#eef2f2;box-shadow:0 2px 6px #1018201a}
.cart-cover .catalog-cover-frame{width:100%;height:100%}
.cart-cover .catalog-real-cover{display:block;width:100%;height:100%;object-fit:contain}
.cart-cover-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#677b80}
.cart-cover-placeholder svg{width:28px;height:28px}
.cart-book-info{overflow-wrap:anywhere}
@media(max-width:480px){.cart-row{grid-template-columns:48px minmax(0,1fr) auto;gap:10px}.cart-cover{width:48px}.cart-row .text-button{padding-inline:2px}.cart-book-info>a{font-size:14px}.cart-book-info .form-note{font-size:12px}}

.invoice .cart-row{grid-template-columns:minmax(0,1fr) auto}.invoice,.purchases-page .notice{overflow-wrap:anywhere}.purchases-page h2{margin-top:32px}.purchases-page .order-row{flex-wrap:wrap;gap:16px}.purchases-page .order-row>div:first-child{flex:1 1 240px;min-width:0}.guest-wrap form{display:grid;gap:16px}.guest-wrap form[hidden]{display:none}.guest-wrap label{display:grid;gap:8px}.guest-wrap input{width:100%;min-height:48px}.guest-wrap .btn{min-height:48px}
@media(max-width:600px){.purchases-page .order-row{display:flex;flex-direction:column;align-items:stretch}.purchases-page .order-row>div:first-child{flex:auto}.invoice .cart-row{grid-template-columns:minmax(0,1fr);gap:8px}.guest-wrap{padding-inline:16px}.guest-wrap .panel{padding:22px}}

.purchase-order{display:grid;grid-template-columns:minmax(0,1fr) 180px 110px 170px;align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid var(--line,#d8e0e2)}
.purchase-order:last-child{border-bottom:0}.purchase-order h3{margin:0 0 8px;font-size:18px;line-height:1.6}.purchase-order .form-note{margin:6px 0;font-size:13px}.purchase-order-info{min-width:0}.purchase-order-details{font-size:12px;color:#526773}.purchase-order-details summary{cursor:pointer;min-height:32px;display:flex;align-items:center;text-decoration:underline}.purchase-order-details p{overflow-wrap:anywhere}.purchase-order-amount{white-space:nowrap}.purchase-order-amount strong{font-size:18px}.purchase-order-amount strong span{font-size:13px;font-weight:400}.purchase-order-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.purchase-order-actions .btn{min-height:44px;padding:10px 14px;font-size:14px;white-space:nowrap}.purchase-order-actions .text-button{min-height:44px;text-align:center}.purchase-order-status .badge.expired,.purchase-order-status .badge.refunded{background:#f0f1f2;color:#52606a}
@media(max-width:900px){.purchase-order{grid-template-columns:minmax(0,1fr) 140px;gap:12px 20px}.purchase-order-info{grid-column:1/-1}.purchase-order-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center}.purchase-order-amount{text-align:end}}
@media(max-width:480px){.purchase-order{grid-template-columns:minmax(0,1fr) auto;padding:20px 0;gap:12px}.purchase-order h3{font-size:16px}.purchase-order-actions>*{flex:1;text-align:center}.purchase-order-details p{font-size:11px}}

.purchase-cart-reminder{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:24px 0;border:1px solid #b8dddd;border-radius:12px;background:#f0f8f7}.purchases-page .purchase-cart-reminder h2{margin:0 0 8px;font-size:21px;line-height:1.6}.purchase-cart-reminder p{margin:0;line-height:1.9}.purchase-cart-reminder>.btn{flex-shrink:0;min-height:48px}.purchase-pending,.purchase-refunds{margin-top:24px}.purchase-pending summary,.purchase-refunds summary{cursor:pointer;min-height:44px;line-height:1.8;font-weight:600}.purchase-pending-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 0;border-top:1px solid #d8e0e2}.purchase-pending-row>span{flex:1}.purchase-interests{margin-top:40px}.purchase-interests>p{line-height:1.9;margin-bottom:24px}
@media(max-width:700px){.purchase-cart-reminder{flex-direction:column;align-items:stretch;padding:20px;gap:16px}.purchases-page .purchase-cart-reminder h2{font-size:18px}.purchase-cart-reminder>.btn{text-align:center;white-space:normal}.purchase-pending-row{align-items:stretch;flex-direction:column}}

.invoice-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.invoice-toolbar .btn{min-height:44px}

.purchase-order-info{display:flex;align-items:center;gap:16px}.purchase-order-copy{min-width:0}.purchase-order-thumb{width:64px;flex:0 0 64px;overflow:hidden}.purchase-order-thumb .catalog-cover-frame{width:64px;height:90px;padding:0;margin:0}.purchase-order-thumb .catalog-real-cover{width:100%;height:100%;object-fit:contain}.purchase-order-thumb .hero-book{transform:scale(.25);transform-origin:top right}.purchase-order-thumb .catalog-composed-cover{width:100%;height:100%}@media(max-width:480px){.purchase-order-thumb{width:52px;flex-basis:52px}.purchase-order-thumb .catalog-cover-frame{width:52px;height:74px}.purchase-order-info{gap:12px}}

.purchase-order-thumb .hero-book{width:64px;height:90px;min-height:0;padding:7px;transform:none;box-shadow:none;border-radius:2px}.purchase-order-thumb .book-kicker,.purchase-order-thumb .book-sub,.purchase-order-thumb .cover-mark{display:none}.purchase-order-thumb .cover-wordmark{width:38px;height:auto}.purchase-order-thumb .book-title{font-size:8px;line-height:1.5;margin:6px 0}.purchase-order-thumb .catalog-cover-frame{display:block;background:transparent;border:0}.purchase-order-thumb .catalog-composed-cover{max-width:100%}@media(max-width:480px){.purchase-order-thumb .hero-book{width:52px;height:74px;padding:5px}}
/* Cart sign-in choices (UX review 2026-09-26, item 2): guest primary, login secondary, register as link. */
.cart-auth-options{display:grid;gap:10px;margin-top:12px}.cart-auth-options .btn{width:100%;min-height:48px;padding:10px 22px;border-radius:8px}.cart-auth-options #cart-guest{background:var(--brand-accessibleTeal);border-color:var(--brand-accessibleTeal);color:#fff}.cart-auth-options #cart-login{background:var(--brand-offWhite);color:var(--brand-accessibleTeal);border:2px solid var(--brand-accessibleTeal)}.cart-guest-help{margin:-4px 0 6px;color:var(--brand-muted);font-size:14px;line-height:1.7}.cart-auth-options #cart-register{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--brand-accessibleTeal);text-decoration:underline;text-underline-offset:4px}.cart-auth-options .btn:focus-visible,.cart-auth-options #cart-register:focus-visible{outline:3px solid var(--brand-accessibleTeal);outline-offset:2px}
