/* ════════════════════════════════════════
   Seoul Meet — Modal Styles
   ════════════════════════════════════════ */

/* ── OVERLAY ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 999; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-sheet { background: var(--dark2); border-radius: 20px 20px 0 0; border-top: 3px solid var(--red); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.modal-close-btn { position: absolute; top: 16px; right: 16px; background: var(--dark4); border: none; color: var(--text-muted); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }

/* ── ITEM DETAIL ── */
.item-modal-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.item-modal-img-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #1a0a0a, #2a0d0d); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.item-modal-body { padding: 20px 20px 0; position: relative; }
.item-modal-name { font-family: 'Noto Serif KR', serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.item-modal-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 4px; }
.item-modal-weight { font-size: 11px; color: var(--text-muted); background: var(--dark4); padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 16px; }
.item-modal-price { font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 20px; }

/* ── MODIFIERS ── */
.mod-group { margin-bottom: 18px; }
.mod-group-title { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.mod-required { font-size: 9px; background: var(--red); color: #fff; padding: 1px 5px; border-radius: 3px; letter-spacing: .05em; font-weight: 600; }
.mod-optional { font-size: 9px; background: var(--dark4); color: var(--text-muted); padding: 1px 5px; border-radius: 3px; letter-spacing: .05em; }
.mod-options { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-option { padding: 8px 14px; border-radius: 20px; border: 1.5px solid var(--border); font-size: 12px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all .2s; background: none; white-space: nowrap; }
.mod-option.selected { border-color: var(--red); color: #fff; background: rgba(200,16,46,.15); }
.mod-option-price { font-size: 11px; color: var(--gold); margin-left: 4px; }

/* ── QTY + ADD ── */
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.qty-ctrl { display: flex; align-items: center; gap: 12px; }
.qty-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: none; color: var(--text); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.qty-btn:active { background: var(--dark4); }
.qty-num { font-size: 18px; font-weight: 600; min-width: 28px; text-align: center; }
.add-btn { background: var(--red); color: #fff; border: none; padding: 12px 24px; border-radius: 12px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: .04em; transition: background .2s; flex: 1; margin-left: 16px; }
.add-btn:active { background: var(--red-light); }

/* ── CART ── */
.cart-header { padding: 20px 20px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.cart-title { font-family: 'Noto Serif KR', serif; font-size: 20px; font-weight: 700; color: #fff; }
.cart-clear { font-size: 12px; color: var(--text-muted); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-empty { padding: 40px 20px; text-align: center; color: var(--text-muted); }
.cart-empty svg { width: 48px; height: 48px; fill: var(--border); margin: 0 auto 12px; display: block; }
.cart-item { padding: 12px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; }
.cart-item-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.cart-item-mods { font-size: 11px; color: var(--text-muted); }
.cart-item-price { font-size: 13px; font-weight: 600; color: var(--gold); margin-left: auto; white-space: nowrap; }
.cart-item-qty { font-size: 11px; color: var(--text-muted); }
.cart-item-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; padding: 0 4px; margin-left: 4px; }
.cart-total { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.cart-total-label { font-size: 13px; color: var(--text-muted); }
.cart-total-val { font-size: 20px; color: var(--gold); }
.cart-note { margin: 0 16px 16px; background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2); border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--text-muted); line-height: 1.6; text-align: center; }

/* ── ALLERGEN ── */
.allergen-body { padding: 24px 24px 8px; }
.allergen-body h3 { font-family: 'Noto Serif KR', serif; font-size: 18px; color: #fff; margin-bottom: 10px; }
.allergen-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.modal-action-btn { width: calc(100% - 32px); margin: 0 16px 16px; padding: 13px; background: var(--red); color: #fff; border: none; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; }
