/* Cart workflow: scoped styles leave the existing catalog/editor layout intact. */
.delivery-heading{display:flex;align-items:center;gap:24px}.delivery-heading strong{font-size:14px}
/* One-pixel reduction outside the category sidebar; saved region settings still take precedence. */
body{font-size:15px}aside{font-size:16px}
#catalogView.active{padding-bottom:90px}
#catalogView .catalog-selection{position:fixed;bottom:0;left:220px;right:0;z-index:30;background:#f4f4f4;border-top:1px solid #ccc;padding:18px 24px;display:flex;align-items:center;justify-content:center;gap:14px;box-shadow:0 -3px 12px #00000009}
.catalog-selection button{background:#222;color:white;border:0;border-radius:3px;padding:12px 25px;cursor:pointer}
.catalog-selection #buyNowButton{background:#e50000;margin-left:25px}
#selectionTotal{font-size:13px;color:#666;margin-right:auto}
#cartView{max-width:none}.cart-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px}.cart-heading h2{font-size:24px;font-weight:600}.cart-heading #quoteButton{background:#222}
.cart-table-wrap{overflow:auto}.cart-table{border-collapse:collapse;width:100%;min-width:760px;border-top:2px solid #777}.cart-table th{background:#f7f7f7;padding:18px 12px;font-size:14px}.cart-table td{padding:18px 12px;text-align:center;border:1px solid #e8deda;background:#fff2eb}.cart-table tr:nth-child(even) td{background:#f3e7e1}.cart-table .cart-product{text-align:left;min-width:200px}.cart-table img{width:76px;height:86px;object-fit:contain;background:white}.cart-table input{width:70px;background:white;text-align:center}.cart-table small{display:block;margin-top:8px;color:#777}.cart-table button{padding:7px 12px;background:#555}
.cart-shipping{background:#f7f7f7;border-top:3px solid #777;margin-top:42px;padding:24px}.delivery-select{max-width:190px}.delivery-select select{padding:10px;background:white;border:1px solid #ddd}.delivery-guides{display:grid;grid-template-columns:1fr 1fr;gap:15px 40px;margin:20px 0}.delivery-guides h3,.cart-agreement h3{font-size:15px;margin:0 0 8px}.delivery-guides p{font-size:14px;line-height:1.8;color:#60656a;margin:0}.delivery-guides strong{color:#e50000}.cart-memo{display:grid;grid-template-columns:130px 1fr;align-items:center;border-top:1px solid #bbb;border-bottom:1px solid #bbb;padding:14px 0;max-width:900px}.cart-memo textarea{background:white;min-height:90px}.cart-agreement{margin-top:24px;border-top:1px solid #ccc;padding-top:16px}.cart-agreement label{display:flex;align-items:center;gap:10px}.cart-agreement p{font-size:13px;color:#666}.cart-agreement input{accent-color:#222}
#cartTotal{display:flex;align-items:center;justify-content:space-around;gap:16px;border-top:1px dashed #ccc;margin-top:30px;font-size:16px;text-align:center;padding:26px 0}#cartTotal small{display:block;font-weight:400;margin-bottom:8px}#cartTotal .cart-grand{font-size:25px;color:#e50000}.shipping-pending{text-align:right;font-size:12px;color:#666}#checkoutButton{display:block;margin-left:auto;background:#222}.cart-modal{padding:0;border:0;width:min(400px,90vw);border-radius:5px;box-shadow:0 18px 60px #0004}.cart-modal::backdrop{background:#0008}.cart-modal header{background:#111;color:white;padding:15px 20px;display:flex;align-items:center;gap:12px;font-size:20px;font-weight:bold;letter-spacing:2px}.cart-modal img{width:32px;height:38px;object-fit:contain;background:white;border-radius:2px}.cart-modal p{padding:12px 20px;line-height:1.7}.cart-modal footer{display:flex;gap:10px;padding:0 16px 18px}.cart-modal button{flex:1;padding:11px;background:white;border:1px solid #ddd;cursor:pointer}.cart-modal button:first-child{background:#222;color:white;border-color:#222}
@media(max-width:800px){#catalogView .catalog-selection{left:0;padding:12px 8px;gap:6px}.catalog-selection button{padding:10px}#selectionTotal{display:none}.catalog-selection #buyNowButton{margin-left:0}.delivery-guides{grid-template-columns:1fr}.cart-shipping{padding:16px}.cart-memo{grid-template-columns:1fr}.cart-heading h2{font-size:19px}#cartTotal{flex-wrap:wrap}}
