@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif !important; }
body { background: #fbf9fa; color: #2d3436; -webkit-font-smoothing: antialiased; padding-bottom: 150px; }

.app-header { background: #ffffff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.app-header h1 { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, #d81b60 0%, #ff7eb3 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }

.container { padding: 15px; max-width: 800px; margin: 0 auto; margin-top: 10px; }
.card { background: #ffffff; border-radius: 16px; padding: 24px; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(216, 27, 96, 0.04); border: 1px solid rgba(255, 117, 140, 0.1); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; border-bottom: 2px solid #fcf2f4; padding-bottom: 10px; }
.card h3 { font-size: 15px; font-weight: 700; color: #d81b60; text-transform: uppercase; letter-spacing: 1.2px; }

.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.full-width { width: 100%; margin-bottom: 15px; }
input, select { width: 100%; padding: 14px 16px; border: 1.5px solid #f0e4e6; border-radius: 12px; font-size: 14px; background: #faf8f9; transition: 0.3s ease; outline: none; color: #2d3436; font-weight: 500;}
input:focus, select:focus { border-color: #ff7eb3; background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 126, 179, 0.1); }

.item-card { border: 1px solid #f0e4e6; border-radius: 12px; padding: 16px; margin-bottom: 15px; background: #ffffff; transition: 0.2s; position: relative; }
.item-card:hover { border-color: #ffb8c6; box-shadow: 0 4px 12px rgba(216, 27, 96, 0.03); }
.item-card .row-1 { display: flex; gap: 12px; align-items: center; margin-bottom: 15px; }
.item-card .row-2 { display: grid; grid-template-columns: 2fr 1fr 1.5fr auto; gap: 10px; align-items: center; }
.item-card .row-total { font-weight: 800; color: #d81b60; text-align: right; padding-right: 5px; font-size: 16px;}
.image-upload-btn { cursor: pointer; background: #fff0f5; border-radius: 10px; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; overflow: hidden; flex-shrink: 0; border: 1.5px dashed #ffb8c6; color: #ff758c; font-size: 20px;}

.btn { padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; text-align: center; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px;}
.btn-add { background: #fff0f5; color: #d81b60; width: 100%; border: 1px dashed #ffb8c6; }
.btn-add:active { background: #ffe4e1; }
.btn-save { background: linear-gradient(135deg, #d81b60 0%, #ff7eb3 100%); color: white; box-shadow: 0 6px 15px rgba(216, 27, 96, 0.25); letter-spacing: 0.5px;}
.btn-delete { background: #fff; color: #d63031; border: 1px solid #ff7675; }
.btn-delete-icon { background: #ffeaa7; color: #d63031; border: none; width: 36px; height: 36px; border-radius: 10px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; background: #ffe4e1;}

.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-outline { background: #ffffff; border: 1.5px solid #f0e4e6; color: #636e72; padding: 12px; font-size: 13px; font-weight: 600; border-radius: 12px; transition: 0.2s;}
.btn-outline:hover { border-color: #ffb8c6; color: #d81b60; background: #fff0f5;}
.feedback-text { color: #00b894; font-size: 14px; font-weight: 600; text-align: center; margin-top: 10px; opacity: 0; transition: 0.3s; }

/* Sticky Bars */
.order-actions { position: fixed; bottom: 75px; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); padding: 15px 25px; border-radius: 30px 30px 0 0; box-shadow: 0 -10px 30px rgba(216, 27, 96, 0.08); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffe4e1; z-index: 99; max-width: 800px; margin: 0 auto; }
.total-display span { font-size: 12px; color: #b2bec3; font-weight: 700; display: block; text-transform: uppercase; letter-spacing: 1px;}
.total-display h2 { font-size: 24px; font-weight: 800; margin: 0; color: #2d3436; }
.action-group { display: flex; gap: 10px; }

/* Global App Navigation Bar */
.app-nav-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(15px); padding: 10px 20px; box-shadow: 0 -4px 30px rgba(216, 27, 96, 0.08); display: flex; justify-content: space-around; align-items: center; z-index: 1000; border-top: 1px solid rgba(255, 184, 198, 0.4); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.nav-item { display: flex; flex-direction: column; align-items: center; color: #b2bec3; text-decoration: none; font-size: 11px; font-weight: 700; gap: 4px; transition: 0.3s;}
.nav-item.active { color: #d81b60; }
.nav-item .nav-icon { font-size: 20px; transition: 0.3s; padding: 4px 16px; border-radius: 20px; }
.nav-item.active .nav-icon { background: #fff0f5; color: #d81b60; box-shadow: 0 4px 10px rgba(216, 27, 96, 0.1); }