/* Scoped cart: calm white and gold, shared by every page. Existing dialog animation retained. */
dialog.cart-dialog{width:min(560px,100%);max-width:100vw;padding:0;border-radius:24px 0 0 24px;background:#fffefa;color:#4b463a;border-color:#e7ddc9;box-shadow:-12px 0 70px #55482326;overflow:hidden}
dialog.cart-dialog[open]{display:flex;flex-direction:column}
.cart-dialog>header{flex:none;padding:26px 26px 20px;border-bottom:1px solid #eee7d8;gap:16px;background:#fffefa}
.cart-dialog .overline{display:block;color:#9c772f;font-size:9px;letter-spacing:.15em;margin-bottom:7px}
.cart-dialog h2{color:#494332;font-size:23px;letter-spacing:-.035em}
.cart-dialog button:focus-visible,.cart-dialog a:focus-visible,.cart-dialog input:focus-visible{outline:2px solid #ad812f;outline-offset:3px}
.cart-dialog .cart-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #e8dfcc;border-radius:50%;color:#80652e;background:#fff}
.cart-dialog svg.cart-glyph{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#cartItems{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 26px;scrollbar-width:thin;scrollbar-color:#cfb978 transparent}
.cart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 0 5px;color:#817762;font-size:11px}
.cart-check{display:flex;align-items:center;gap:9px;cursor:pointer;color:#62533c;font-size:12px;line-height:1.6}
.cart-dialog input[type=checkbox]{appearance:auto;width:17px;height:17px;margin:0;accent-color:#b48b36;flex:none;cursor:pointer}
.cart-dialog .cart-row{grid-template-columns:18px 76px minmax(0,1fr);gap:13px;padding:22px 0;align-items:start;border-color:#eee7d8}
.cart-row>.cart-check{padding-top:28px}
.cart-image{width:76px;height:84px;padding:8px;display:grid;place-items:center;border-radius:13px;background:#f5f2e9;overflow:hidden}
.cart-dialog .cart-row img{width:60px;height:68px;object-fit:contain;mix-blend-mode:multiply}
.cart-item-heading{display:flex;align-items:start;justify-content:space-between;gap:8px}
.cart-dialog .cart-product-name{font:600 13px/1.65 'Noto Sans JP',sans-serif;text-align:left;color:#494333;padding:0;overflow-wrap:anywhere}
.cart-product-meta{font-size:10px;color:#90836b;line-height:1.6;margin:4px 0 9px;overflow-wrap:anywhere}
.cart-dialog .cart-row .price{font-size:12px;font-weight:500;color:#8d6928;margin:0}
.cart-dialog .cart-remove{display:grid;place-items:center;width:30px;height:30px;flex:none;color:#9d8c6c;border-radius:7px}
.cart-dialog .cart-remove:hover{background:#f6ecdf;color:#9d4b38}
.cart-remove .cart-glyph{width:17px;height:17px}
.cart-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;flex-wrap:wrap}
.cart-dialog .quantity{display:flex;gap:0;align-items:center;border:1px solid #e2d7be;background:#fff;border-radius:9px;height:34px;overflow:hidden}
.cart-dialog .quantity button{display:grid;place-items:center;border:0;border-radius:0;width:32px;height:32px;color:#8e6b27;background:transparent}
.cart-dialog .quantity button:disabled{opacity:.3;cursor:default}
.cart-dialog .quantity .cart-glyph{width:14px;height:14px}
.cart-dialog .quantity input{width:34px;min-width:0;max-width:none;border:0;border-radius:0;padding:0;text-align:center;font:500 12px 'Noto Sans JP',sans-serif;color:#4e4534;background:transparent;box-shadow:none;appearance:textfield;height:30px}
.cart-dialog .quantity input::-webkit-inner-spin-button{appearance:none}
.cart-line-total{font-size:12px;font-weight:700;color:#5b4e35;overflow-wrap:anywhere}
#cartSummary{flex:none;padding:20px 26px max(22px,env(safe-area-inset-bottom));background:#faf7ef;border-top:1px solid #e8dfcb}
.cart-dialog .cart-total{padding:0;align-items:baseline;gap:16px;color:#5b503b;font-size:13px}
.cart-dialog .cart-total strong{font-size:23px;color:#967029;letter-spacing:-.035em}
.cart-subtotal-note{font-size:10px;color:#897c63;line-height:1.8;margin:7px 0 17px}
.cart-checkout{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;padding:14px 16px;background:#b38a37;color:#fff!important;font-size:12px;font-weight:600;text-decoration:none;min-height:48px;border:1px solid #a77d2e}
.cart-checkout[aria-disabled=true]{opacity:.5;cursor:default}
.cart-checkout .cart-glyph{width:18px;height:18px;flex:none}
.cart-afterword{text-align:center;font-size:10px;color:#918268;line-height:1.7;margin:10px 0 0}
.cart-selection-status{font-size:11px;color:#806128;margin:0 0 12px;line-height:1.7}
.cart-undo{padding:10px 26px;background:#f8f0dc;color:#78613a;font-size:11px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}
.cart-undo button{font:600 11px inherit;text-decoration:underline;text-underline-offset:3px;color:#805c1b;flex:none}
.cart-dialog .empty-state{padding:58px 10px;color:#8f826a;display:flex;min-height:300px;flex-direction:column;align-items:center;justify-content:center}
.cart-empty-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;border:1px solid #e6d6b0;background:#f8f1df;color:#b08a38;margin-bottom:20px}
.cart-empty-icon .cart-glyph{width:33px!important;height:33px!important}
.cart-dialog .empty-state h3{font-size:18px;color:#5b4b2d;margin:0 0 9px}
.cart-dialog .empty-state p{margin:0 0 23px;max-width:260px;font-size:12px;line-height:1.9}
.cart-dialog .empty-state .cart-checkout{max-width:230px}
body:has(#cartDialog[open]){overflow:hidden}
@media(max-width:480px){dialog.cart-dialog{width:100%;border-radius:0;border-left:0;border-right:0}.cart-dialog>header{padding:20px 19px 17px}.cart-dialog h2{font-size:21px}#cartItems{padding:0 19px}.cart-dialog .cart-row{grid-template-columns:17px 65px minmax(0,1fr);gap:10px;padding:20px 0}.cart-image{width:65px;height:76px;padding:5px}.cart-dialog .cart-row img{width:55px;height:66px}.cart-dialog .cart-product-name{font-size:12px}.cart-dialog .cart-remove{width:25px;height:27px}.cart-product-meta{font-size:9px}.cart-item-bottom{gap:9px}#cartSummary{padding:17px 19px max(20px,env(safe-area-inset-bottom))}.cart-dialog .cart-total strong{font-size:21px}.cart-undo{padding:10px 19px}}
@media(max-height:560px){.cart-dialog>header{padding:12px 20px}.cart-dialog .overline{display:none}#cartSummary{padding:12px 20px}.cart-subtotal-note{margin:4px 0 8px}.cart-afterword{display:none}}

/* Availability uses both a color and a readable label. No new animation. */
.stock-status{display:inline-flex;align-items:center;gap:6px;width:fit-content;font:600 10px/1.5 "Noto Sans JP",sans-serif;border:1px solid;border-radius:6px;padding:3px 8px;white-space:nowrap;vertical-align:middle}
.stock-status i{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.stock-status.stock-in{color:#237443;background:#edf7ef;border-color:#d2e8d8}
.stock-status.stock-out{color:#b13535;background:#fff0ee;border-color:#f0d0cb}
.product-card .stock-status{margin:0 0 12px}.detail-layout .stock-status{margin:6px 0}
.cart-row .stock-status{margin:0 0 9px;font-size:9px;padding:2px 6px}.product-card .add-button:disabled,.detail-layout .gold-button:disabled{opacity:.4;cursor:not-allowed}

.note-fields{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid #ded1b8;border-radius:12px;background:#fffdf8}.note-fields label{display:grid;gap:5px;font-weight:600}.note-fields [hidden]{display:none}.note-fields :is(input,select,textarea){box-sizing:border-box;width:100%;padding:9px;border:1px solid #cfc3af;border-radius:6px;background:white;color:#34372f;font:inherit}.note-fields h3{margin:0}.cart-checkout[form]{width:100%;background:#126647;color:white}


#cartPage {padding:24px}
#guestOrder[hidden],#dropoff[hidden],#dropMap[hidden] {display:none}
#dropoff {display:grid;gap:8px}
#dropMap {height:240px;isolation:isolate;border-radius:8px}
.point-actions {display:flex;flex-wrap:wrap;gap:8px}
.point-actions button {padding:7px 10px;border:1px solid #c8b68b;border-radius:7px;background:#fffaf0;color:#664c1b}
#pointStatus {font-size:13px;color:#564e3f}
#customLength[hidden] {display:none}
