.xentra-checkout{font-family:'Plus Jakarta Sans',Arial,sans-serif;background:#f5f5f5;min-height:100vh;padding-bottom:150px;color:#1c1c1c;max-width:480px;margin:0 auto}
.xentra-checkout *{box-sizing:border-box}
.x-header{background:#fff;padding:18px 16px;font-weight:700;font-size:16px;display:flex;gap:12px;align-items:center;position:sticky;top:0;z-index:5}
.x-header a{color:#222;text-decoration:none;font-size:18px}

.x-promo-banner{margin:0 16px 12px;background:#b6ff00;padding:14px 16px;border-radius:16px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px}
.x-promo-banner:empty{display:none}

.x-card{background:#fff;margin:0 16px 12px;padding:16px;border-radius:20px}
.x-card h3{margin:0 0 10px;font-size:14px}
.x-card h4{margin:0 0 10px;font-size:14px}

.x-row-card{display:flex;justify-content:space-between;align-items:center}
.x-row-left{display:flex;align-items:center;gap:10px;font-size:14px}
.x-icon-badge{width:28px;height:28px;border-radius:50%;background:#f2f2f2;display:inline-block}

.x-pill-btn{background:#b6ff00;border:0;border-radius:20px;padding:8px 18px;font-weight:700;font-size:13px;cursor:pointer}
.x-chip-btn{background:#f2f2f2;border:0;border-radius:14px;padding:6px 12px;font-size:12px;cursor:pointer;color:#333}

.x-muted{color:#999;font-size:13px;margin-top:6px}

.x-warning-box{margin-top:10px;background:#fff3cd;border-radius:14px;padding:12px;font-size:12px;color:#8a6d1a}
.x-warning-actions{display:flex;gap:8px;margin-top:8px}

.x-item-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #f0f0f0}
.x-item-row:last-child{border-bottom:0}
.x-item-info h3{margin:0 0 4px;font-size:14px}
.x-item-note{color:#999;font-size:12px;display:block;margin-bottom:4px;max-width:200px}
.x-item-price{font-size:13px;font-weight:700;margin-bottom:6px}
.x-item-price s{color:#bbb;font-weight:400;margin-right:6px}
.x-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.x-item-thumb{width:56px;height:56px;border-radius:12px;object-fit:cover;background:#f2f2f2}
.x-stepper{display:flex;align-items:center;gap:10px;background:#f2f2f2;border-radius:20px;padding:4px 10px}
.x-stepper button{background:none;border:0;font-size:16px;width:20px;cursor:pointer;line-height:1}
.x-step-qty{min-width:14px;text-align:center;font-weight:600;font-size:13px}

.x-section{margin:0 0 16px;padding:0 16px}
.x-hscroll{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.x-hscroll::-webkit-scrollbar{display:none}

.x-upsell-card{flex:0 0 150px;background:#fff;border-radius:16px;padding:10px;position:relative}
.x-upsell-card img{width:100%;height:80px;object-fit:cover;border-radius:10px;margin-bottom:6px;background:#f2f2f2}
.x-upsell-card .name{font-size:12px;font-weight:600;line-height:1.3;height:32px;overflow:hidden}
.x-upsell-card .price{font-size:12px;font-weight:700;margin:4px 0}
.x-upsell-card .x-add-btn{width:100%;background:#b6ff00;border:0;border-radius:16px;padding:6px;font-size:12px;font-weight:700;cursor:pointer}
.x-upsell-card .x-add-btn.added{background:#f2f2f2}

.x-category-chip{flex:0 0 64px;text-align:center;text-decoration:none;color:#333;font-size:11px}
.x-category-avatar{display:block;width:56px;height:56px;border-radius:50%;background:#eee no-repeat center/cover;margin:0 auto 6px}

.x-sum-row{display:flex;justify-content:space-between;font-size:13px;padding:5px 0;color:#555}
.x-sum-row.x-discount span:last-child{color:#e53935;font-weight:600}
.x-sum-row.x-sum-total-row{font-weight:700;font-size:14px;color:#111}
.x-card hr{border:0;border-top:1px solid #eee;margin:8px 0}

.x-card input[type=text],.x-card input[type=tel],.x-card textarea{width:100%;border:1px solid #e5e5e5;border-radius:14px;padding:12px;margin-bottom:10px;font-family:inherit;font-size:14px}

.x-error{background:#fdecea;color:#c62828;border-radius:14px;margin:0 16px 12px;padding:12px 16px;font-size:13px}
.x-empty-state{text-align:center;padding:60px 24px}
.x-btn{display:inline-block;margin-top:16px;background:#b6ff00;padding:12px 28px;border-radius:30px;text-decoration:none;color:#111;font-weight:700}

.bottom{position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:12px 16px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;box-shadow:0 -4px 14px rgba(0,0,0,.06);max-width:480px;margin:0 auto;right:0}
.x-payment-compact{display:flex;align-items:center;gap:8px;background:#f7f7f7;border:0;border-radius:14px;padding:10px 14px;font-size:13px;width:100%;cursor:pointer}
.x-payment-compact #x-payment-amount{margin-left:auto;font-weight:700}
.x-payment-more{color:#999}
#x-submit-order{width:100%;background:#b6ff00;border:0;border-radius:30px;padding:14px;font-weight:700;font-size:14px;cursor:pointer}
#x-submit-order:disabled{opacity:.5}

/* overlay / bottom sheet for fulfillment + address + payment pickers */
.x-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;z-index:9999}
.x-sheet-inner{background:#fff;width:100%;max-width:480px;margin:0 auto;max-height:80vh;overflow-y:auto;border-radius:24px 24px 0 0;padding:20px}
.x-sheet-inner h3{margin:0 0 14px}
.x-type-tabs{display:flex;gap:10px;margin-bottom:16px}
.x-type-tab{background:#fff;border:1px solid #ddd;border-radius:14px;padding:12px;flex:1;cursor:pointer}
.x-type-tab.active{border-color:#b6ff00;background:#f4ffdc}
.x-slot{background:#fff;border:1px solid #ddd;border-radius:12px;padding:8px 14px;margin:4px;cursor:pointer}
.x-slot.active{background:#b6ff00;border-color:#b6ff00}
.x-toggle-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0}
.x-address-row{display:block;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #eee;padding:12px 4px;cursor:pointer}
.x-payment-option{display:flex;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px solid #eee;cursor:pointer}
.x-payment-option:last-child{border-bottom:0}
