/* Machranga — easy ordering (2.13.0) */
.qa-hide { display: none !important; }
.qa-vh { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
html.qa-lock, html.qa-lock body { overflow: hidden; }

/* Quick-add sheet */
.qa-wrap { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; }
.qa-bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s ease; }
.qa-sheet { position: relative; width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .25s ease; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.qa-wrap.on .qa-bg { opacity: 1; }
.qa-wrap.on .qa-sheet { transform: none; }
@media (min-width: 700px) { .qa-wrap { align-items: center; } .qa-sheet { border-radius: 20px; } }
.qa-load { padding: 40px 0; text-align: center; color: var(--muted, #666); }
.qa-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--muted, #666); cursor: pointer; }
.qa-head { display: flex; gap: 12px; align-items: center; margin: 0 40px 14px 0; }
.qa-head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.qa-head b { display: block; font: 700 19px/1.25 var(--f-head, inherit); }
.qa-price { display: block; margin-top: 4px; font-weight: 700; color: var(--brand, #b3202f); font-size: 17px; }
.qa-group { margin: 0 0 14px; }
.qa-group p { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--muted, #555); }
.qa-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.qa-opt, .qa-chip { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--line, #ddd); background: #fff; font: 600 15px var(--f-body, inherit); color: var(--ink, #222); cursor: pointer; }
.qa-opt.on, .qa-chip.on { border-color: var(--brand, #b3202f); background: #fff5f6; color: var(--brand, #b3202f); box-shadow: inset 0 0 0 1px var(--brand, #b3202f); }
.qa-opt.off:not(.on) { opacity: .45; text-decoration: line-through; }
.qa-foot { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.qa-step, .qa-card-step { display: inline-flex; align-items: center; border: 1.5px solid var(--brand, #b3202f); border-radius: 12px; overflow: hidden; background: #fff; }
.qa-step button, .qa-card-step button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--brand, #b3202f); font-size: 22px; font-weight: 700; cursor: pointer; }
.qa-step b { min-width: 30px; text-align: center; font-size: 17px; }
.qa-add { flex: 1; min-height: 48px; border: 0; border-radius: 12px; background: var(--brand, #b3202f); color: #fff; font: 700 16px var(--f-body, inherit); cursor: pointer; }
.qa-add:disabled { opacity: .55; }
.qa-more { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted, #666); }

/* Card stepper */
li.product .qa-card-step { display: flex; width: calc(100% - 24px); margin: 8px 12px 12px; justify-content: space-between; background: #fff5f6; }
li.product .qa-card-step b { font-size: 16px; color: var(--brand, #b3202f); }
li.product a.added_to_cart { display: none !important; }
li.product a.qa-has { background: #fff5f6; }

/* Toast */
.qa-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: #1f5f3a; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; opacity: 0; transition: all .25s ease; z-index: 10000; }
.qa-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Last order chip */
.qa-last-wrap { margin-top: 12px; }
.qa-last { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--green-soft, #eaf7ef); border: 1.5px solid #9ED8B8; color: var(--ink, #222); text-decoration: none; }
.qa-last span { font-size: 22px; }
.qa-last b { flex: 1; font-size: 15px; }
.qa-last em { font-style: normal; font-weight: 700; color: var(--green, #1f7a4a); white-space: nowrap; }
.qa-last__btn { white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--green, #1f7a4a); color: #fff !important; font-weight: 700; text-decoration: none; }

/* Checkout */
.qa-slots { margin-top: 4px; }
.qa-days, .qa-times, .qa-pins { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.qa-days::-webkit-scrollbar, .qa-times::-webkit-scrollbar { display: none; }
.qa-days { margin-bottom: 8px; }
.qa-days .qa-chip { display: flex; flex-direction: column; align-items: flex-start; min-width: 92px; line-height: 1.2; }
.qa-days .qa-chip small { font-size: 12px; font-weight: 600; color: var(--muted, #666); }
.qa-chip--t, .qa-chip--pin { white-space: nowrap; }
.qa-pins { flex-wrap: wrap; overflow: visible; }
.qa-slot-sum { margin: 8px 0 0; font-size: 14px; color: var(--green, #1f7a4a); }
.qa-more-box { margin: 10px 0 14px; border: 1.5px dashed var(--line, #ddd); border-radius: 12px; padding: 10px 14px; }
.qa-more-box summary { cursor: pointer; font-weight: 600; color: var(--muted, #555); }
.qa-more-box[open] summary { margin-bottom: 8px; }
.qa-remember label { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 14px; }
.qa-remember input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.qa-remember small { display: block; font-weight: 500; color: var(--muted, #666); }
.qa-filled { padding: 10px 12px; border-radius: 10px; background: var(--green-soft, #eaf7ef); font-size: 14px; }
.qa-forget { border: 0; background: none; color: var(--brand, #b3202f); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0 0 0 6px; }

/* Thank-you + status page */
.tatka-trackcta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 22px; }
.tatka-trackcta span { font-size: 14px; color: var(--muted, #666); }
.tatka-steps { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 0; }
.tatka-steps li { position: relative; padding: 0 0 22px 36px; font-weight: 600; color: var(--muted, #888); }
.tatka-steps li span { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line, #ccc); background: #fff; }
.tatka-steps li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--line, #ddd); }
.tatka-steps li:last-child::before { display: none; }
.tatka-steps li.done, .tatka-steps li.now { color: var(--ink, #222); }
.tatka-steps li.done span { background: var(--green, #1f7a4a); border-color: var(--green, #1f7a4a); }
.tatka-steps li.done::before { background: var(--green, #1f7a4a); }
.tatka-steps li.now span { border-color: var(--green, #1f7a4a); box-shadow: 0 0 0 4px var(--green-soft, #eaf7ef); background: var(--green, #1f7a4a); }
.tatka-steps li.now { font-size: 18px; }
.tatka-track__cancel { padding: 12px 14px; border-radius: 12px; background: #fff3f3; }
.tatka-track__items { list-style: none; margin: 18px 0; padding: 0; border-top: 1px solid var(--line, #eee); }
.tatka-track__items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line, #eee); }
.tatka-track__items li.tot { font-weight: 700; }
.tatka-track__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tatka-track__btns .btn--ghost { background: #fff !important; color: var(--brand, #b3202f) !important; border: 1.5px solid var(--brand, #b3202f) !important; }

/* WhatsApp fish menu (2.14.0) */
.qa-sheet.wm { overflow: hidden; }
.wm { display: flex; flex-direction: column; max-height: 90vh; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.wm-h { margin: 0 40px 10px 0; } .wm-h b { display: block; font: 700 18px/1.3 var(--f-head, inherit); } .wm-h span { display: block; font-size: 13px; color: var(--muted, #666); margin-top: 2px; }
.wm-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; flex: none; }
.wm-cats::-webkit-scrollbar { display: none; }
.wm-cat { flex: none; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line, #ddd); background: #fff; font: 600 14px var(--f-body, inherit); color: var(--ink, #222); cursor: pointer; }
.wm-cat.on { border-color: var(--brand, #C4203A); background: #fff5f6; color: var(--brand, #C4203A); }
.wm-list { overflow-y: auto; flex: 1; min-height: 120px; -webkit-overflow-scrolling: touch; }
.wm-gh { margin: 12px 0 2px; font-size: 13px; font-weight: 700; color: var(--green, #0B8A4E); }
.wm-row { padding: 10px 0; border-bottom: 1px solid var(--line, #eee); }
.wm-top { display: flex; align-items: center; gap: 10px; }
.wm-n { flex: 1; font-weight: 600; font-size: 15px; } .wm-n small { display: block; font-weight: 600; font-size: 13px; color: var(--green, #0B8A4E); }
.wm-add { border: 1.5px solid var(--brand, #C4203A); color: var(--brand, #C4203A); background: #fff; border-radius: 10px; padding: 7px 14px; font: 700 14px var(--f-body, inherit); cursor: pointer; }
.wm-p { color: var(--brand, #C4203A); font-size: 16px; }
.wm-opts { margin-top: 6px; } .wm-opts .qa-opt { min-height: 36px; padding: 4px 12px; font-size: 14px; margin: 4px 6px 0 0; }
.wm-q { display: flex; align-items: center; gap: 10px; margin-top: 8px; } .wm-q .qa-step button { width: 38px; height: 38px; }
.wm-rm { border: 0; background: none; color: var(--brand, #C4203A); font-weight: 700; text-decoration: underline; cursor: pointer; }
.wm-foot { flex: none; border-top: 1px solid var(--line, #eee); padding-top: 10px; }
.wm-sum { margin: 0 0 8px; font-size: 14px; } .wm-sum b { color: var(--ink, #222); }
.wm-send { width: 100%; background: #0B8A4E !important; }
.wm-skip { margin: 6px 0 0; text-align: center; font-size: 12px; color: var(--muted, #888); }
