* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #f7f4f5; color: #25151b; }

header {
  background: linear-gradient(135deg, #7c1237, #d81b60);
  color: #fff; padding: 22px 16px; position: sticky; top: 0; z-index: 5;
}
.top { max-width: 900px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
h1 { margin: 0; font-size: 1.7rem; }
header p { margin: 5px 0 0; }
.cartButton { border: 0; border-radius: 999px; padding: 11px 15px; font-weight: bold; cursor: pointer; }

main { max-width: 900px; margin: auto; padding: 16px; }
.screen { display: none; }
.screen.active { display: block; }

.hero { background: #fff; border-radius: 22px; padding: 18px; margin-bottom: 16px; box-shadow: 0 4px 18px #0001; }
.hero h2 { margin: 0 0 6px; color: #8b1640; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.category {
  background: #fff; border: 0; border-radius: 20px; padding: 22px 12px;
  box-shadow: 0 4px 14px #0001; font-size: 1rem; font-weight: bold; cursor: pointer;
}
.category .emoji { font-size: 2rem; display: block; margin-bottom: 8px; }

.back { border: 0; background: #eee; padding: 10px 14px; border-radius: 999px; cursor: pointer; margin-bottom: 12px; }
.product {
  background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 12px;
  box-shadow: 0 3px 12px #0001; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.product h3 { margin: 0 0 6px; }
.price { color: #b31248; font-weight: bold; }
.add { background: #b31248; color: #fff; border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: bold; }

.modal { display: none; position: fixed; inset: 0; background: #0008; z-index: 10; padding: 16px; overflow: auto; }
.modal.open { display: flex; justify-content: center; align-items: flex-start; }
.box { width: min(620px, 100%); margin: 25px 0; background: #fff; border-radius: 24px; padding: 20px; }
.close { float: right; border: 0; background: #eee; border-radius: 50%; width: 36px; height: 36px; font-size: 20px; cursor: pointer; }
.box h2 { margin-top: 0; color: #8b1640; }

.size, .choice { display: block; border: 1px solid #e4bccb; border-radius: 14px; padding: 12px; margin: 8px 0; cursor: pointer; }
.choice input, .size input { margin-right: 8px; }
.choice.selected, .size.selected { border-color: #b31248; background: #fff2f6; }
.counter { background: #fff2f6; border-radius: 14px; padding: 12px; margin: 12px 0; font-weight: bold; }
.note { width: 100%; min-height: 80px; border: 1px solid #ddd; border-radius: 12px; padding: 10px; }
.primary { width: 100%; background: #b31248; color: #fff; border: 0; border-radius: 14px; padding: 14px; font-size: 1rem; font-weight: bold; margin-top: 12px; cursor: pointer; }

.item { border-bottom: 1px solid #eee; padding: 12px 0; }
.row { display: flex; justify-content: space-between; gap: 10px; }
.qty button { border: 0; border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.total { font-size: 1.25rem; font-weight: bold; margin: 14px 0; }
.delivery label { display: block; margin: 10px 0; }
.customer { margin: 14px 0; }
.customer label { display: block; font-weight: bold; margin-bottom: 6px; }
.customer input, .customer select, .delivery select { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #ddd; font-size: 1rem; }