/* American Book Valley - cart styles */
.abv-cart-badge{display:none;min-width:18px;height:18px;padding:0 5px;border-radius:9999px;background:#e5a93c;color:#1e1435;font-size:11px;font-weight:800;align-items:center;justify-content:center;line-height:1}
.abv-overlay{position:fixed;inset:0;background:rgba(20,12,40,.55);opacity:0;visibility:hidden;transition:opacity .2s;z-index:9998}
.abv-overlay.open{opacity:1;visibility:visible}
.abv-drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,100%);background:#fff;z-index:9999;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;font-family:Montserrat,sans-serif;color:#23173d;box-shadow:-10px 0 40px rgba(0,0,0,.2)}
.abv-drawer.open{transform:none}
.abv-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e8e4f2}
.abv-head h2{font-size:18px;font-weight:800;margin:0}
.abv-close{font-size:28px;line-height:1;background:none;border:0;cursor:pointer;color:#3d2e61}
.abv-list{list-style:none;margin:0;padding:0;overflow:auto;flex:1}
.abv-list li{display:flex;justify-content:space-between;gap:14px;padding:16px 22px;border-bottom:1px solid #f0edf7}
.abv-info{display:flex;flex-direction:column;gap:6px;min-width:0}
.abv-info strong{font-size:14px;line-height:1.35}
.abv-info small{font-size:12px;color:#6b6480}
.abv-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-weight:700;font-size:14px;white-space:nowrap}
.abv-remove{background:none;border:0;color:#a03a3a;font-size:12px;font-weight:600;cursor:pointer;text-decoration:underline}
.abv-qty{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#3d2e61;font-weight:600}
.abv-qty button{width:28px;height:28px;border-radius:8px;border:1px solid #d6cfe8;background:#fff;cursor:pointer;font-size:16px;color:#3d2e61}
.abv-qty span{min-width:20px;text-align:center}
.abv-qty input{width:110px;padding:6px 8px;border:1px solid #d6cfe8;border-radius:8px;font-size:13px}
.abv-foot{padding:18px 22px;border-top:1px solid #e8e4f2;display:flex;flex-direction:column;gap:10px}
.abv-row{display:flex;justify-content:space-between;font-size:14px;padding:6px 0}
.abv-total{border-top:1px solid #e8e4f2;margin-top:6px;padding-top:12px;font-size:16px;font-weight:800}
.abv-note{font-size:12px;color:#6b6480;margin:0}
.abv-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:12px;background:#3d2e61;color:#fff;font-weight:700;font-size:14px;border:0;cursor:pointer;text-decoration:none;transition:background .15s}
.abv-btn:hover{background:#4d3a7a}
.abv-btn:disabled{opacity:.6;cursor:not-allowed}
.abv-ghost{background:#fff;color:#3d2e61;border:1px solid #3d2e61}
.abv-ghost:hover{background:#f3f0fa}
.abv-link{text-align:center;font-size:13px;font-weight:600;color:#3d2e61;text-decoration:underline;display:block;margin-top:12px}
.abv-empty,.abv-empty-page{text-align:center;padding:60px 22px;display:flex;flex-direction:column;gap:16px;align-items:center}
.abv-empty-page h2{font-size:26px;font-weight:800;color:#23173d;margin:0}
.abv-cart-grid{display:grid;gap:28px;grid-template-columns:1fr}
@media(min-width:960px){.abv-cart-grid{grid-template-columns:1fr 360px;align-items:start}}
.abv-cart-items{background:#fff;border:1px solid #e8e4f2;border-radius:20px;overflow:hidden}
.abv-cart-row{display:grid;grid-template-columns:1fr;gap:12px;padding:20px;border-bottom:1px solid #f0edf7;align-items:center}
@media(min-width:720px){.abv-cart-row{grid-template-columns:1fr auto 110px auto}}
.abv-cart-row:last-child{border-bottom:0}
.abv-cart-name{display:flex;flex-direction:column;gap:4px}
.abv-cart-name a{font-size:12px;color:#3d2e61;text-decoration:underline}
.abv-cart-price{font-weight:800;text-align:right}
.abv-summary{background:#fff;border:1px solid #e8e4f2;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:6px}
.abv-summary h2{font-size:18px;font-weight:800;margin:0 0 8px}
.abv-status{font-size:13px;font-weight:600;padding:10px 14px;border-radius:12px;margin-top:12px}
.abv-status:empty{display:none}
.abv-status.err{color:#b42318;background:#fef3f2;border:1px solid #fecdca}
.abv-status.ok{color:#067647;background:#ecfdf3;border:1px solid #abefc6}
.abv-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#3d2e61}
.abv-field input,.abv-field select,.abv-field textarea{padding:12px 14px;border:1px solid #d6cfe8;border-radius:12px;font-size:14px;font-weight:400;color:#23173d;background:#fff;font-family:inherit}
.abv-field input:focus,.abv-field select:focus,.abv-field textarea:focus{outline:2px solid #3d2e61;outline-offset:1px}

.abv-field input[type=file]{padding:10px 12px;background:#faf9fd;cursor:pointer}
.abv-hint{font-weight:400;font-size:12px;color:#6b6480}
