/* ASB Ordering - cart order panel (v0.4). Brand colours from BRAND_DESIGN_SYSTEM.md. Mobile first. */
.asb-order { margin: 28px 0; padding: 20px; border: 1px solid #e5d3a1; border-radius: 12px; background: #fffaf0; max-width: 640px; }
.asb-order h2 { margin: 0 0 6px; font-size: 22px; color: #202435; }
/* The theme gives every <button> a fixed 40px height; undo that inside this panel. */
.asb-order button { height: auto !important; line-height: 1.35 !important; text-transform: none; letter-spacing: normal; box-shadow: none; }
.asb-order__policy { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: #555; }

.asb-step { margin: 0 0 16px; padding: 16px; border: 1px solid #eadfc4; border-radius: 10px; background: #fff; min-width: 0; }
.asb-step legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 16px; font-weight: 700; color: #202435; }
.asb-step__n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #202435; color: #fff; font-size: 14px; }

.asb-locate { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 2px solid #1f8f4e; border-radius: 10px; background: #effaf3; color: #14532d; text-align: left; cursor: pointer; font: inherit; }
.asb-locate:hover, .asb-locate:focus-visible { background: #e1f5e8; outline: none; box-shadow: 0 0 0 3px rgba(31, 143, 78, .25); }
.asb-locate[hidden] { display: none; }
.asb-locate__icon { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #1f8f4e; position: relative; }
.asb-locate__icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -9px 0 0 -7px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-sizing: border-box; }
.asb-locate__text strong { display: block; font-size: 16px; }
.asb-locate__text small { display: block; margin-top: 2px; font-size: 13px; color: #2f6b45; }
.asb-locate.is-busy { opacity: .7; cursor: progress; }

.asb-place-msg { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.asb-place-msg strong { display: block; }
.asb-place-msg span { display: block; margin-top: 2px; font-weight: 400; }
.asb-place-msg--ok { background: #e8f7ee; border: 1px solid #1f8f4e; color: #14532d; }
.asb-place-msg--warn { background: #fff6e0; border: 1px solid #e5b54a; color: #6b3d00; }
.asb-place-msg--err { background: #fdecec; border: 1px solid #d9534f; color: #8a1c1c; }
.asb-place-msg--info { background: #f3f4f8; border: 1px solid #d4d7e2; color: #202435; }

.asb-place-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.asb-link { padding: 6px 0; border: 0; background: none; color: #1f5fa8; font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.asb-link[hidden] { display: none; }

.asb-map-wrap { margin-top: 12px; }
.asb-map { height: 260px; border-radius: 10px; border: 1px solid #d4d7e2; z-index: 0; }
.asb-hint { margin: 0 0 6px; font-size: 13px; color: #555; }

.asb-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .asb-grid { grid-template-columns: 1fr 1fr; } }
.asb-field { margin: 12px 0 0; }
.asb-field[hidden] { display: none; }
.asb-field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: #202435; }
.asb-field input, .asb-field select, .asb-field textarea { width: 100%; min-height: 46px; padding: 8px 12px; font-size: 16px; border: 1px solid #cfd3dc; border-radius: 8px; background: #fff; box-sizing: border-box; }
.asb-field input:focus, .asb-field select:focus, .asb-field textarea:focus { border-color: #1f8f4e; outline: none; box-shadow: 0 0 0 3px rgba(31, 143, 78, .2); }

.asb-more { margin-top: 12px; }
.asb-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #1f5fa8; }

.asb-summary { margin: 0 0 14px; padding: 14px 16px; background: #fff; border: 1px solid #eadfc4; border-radius: 10px; }
.asb-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.asb-row--total { border-top: 1px solid #eee; margin-top: 4px; padding-top: 8px; font-size: 17px; }
.asb-note { margin: 8px 0 0; font-size: 13px; color: #444; }
.asb-warn { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #8a4b00; }

.asb-btn { display: block; width: 100%; min-height: 54px; padding: 14px 20px; border: 0; border-radius: 10px; background: #1f8f4e; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.asb-btn:hover { background: #18773f; }
.asb-btn[disabled] { opacity: .5; cursor: not-allowed; }
.asb-btn.is-busy { opacity: .7; cursor: progress; }
.asb-status { margin: 10px 0 0; font-size: 14px; }
.asb-status.is-error { color: #a12a2a; font-weight: 600; }
.asb-small { margin: 6px 0 0; font-size: 12px; color: #555; }

.asb-saved { padding: 12px 14px; margin: 0 0 16px; border-radius: 8px; background: #e8f7ee; border: 1px solid #1f8f4e; font-weight: 600; }
.asb-saved a { color: #14532d; }
