*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#f1f5f9;--card:#fff;--primary:#1e3a5f;--accent:#2563eb;
  --green:#059669;--amber:#d97706;--text:#0f172a;--muted:#64748b;
  --border:#e2e8f0;--radius:14px
}
html,body{font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}

/* Header */
.header{background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 100%);color:#fff;padding:48px 20px 28px;text-align:center}
.header-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);padding:4px 12px;border-radius:20px;font-size:11px;font-weight:500;margin-bottom:12px;letter-spacing:.3px}
.header h1{font-size:22px;font-weight:700;line-height:1.3}
.header p{font-size:13px;opacity:.7;margin-top:4px}

/* Identification bar */
.id-bar{padding:8px 16px;background:#fff;border-bottom:1px solid var(--border)}
.id-bar-inner{display:flex;align-items:center;gap:6px;max-width:480px;margin:0 auto}
.id-bar input{padding:6px 8px;border:1px solid var(--border);border-radius:8px;font-size:12px;font-weight:600;font-family:inherit}
#roomNumber{width:54px;text-align:center;flex-shrink:0}
#guestSurname{flex:1;min-width:50px;max-width:96px}
.lang-switch{display:flex;gap:0;background:var(--bg);border-radius:8px;padding:2px;flex-shrink:0;flex-wrap:nowrap}
.lang-btn{padding:2px 3px;border-radius:5px;font-size:13px;background:transparent;opacity:.4;line-height:1;text-decoration:none}
.lang-btn.active{background:#fff;opacity:1;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.lang-btn:hover{opacity:.85}

/* RTL adjustments for Hebrew. Most layout already follows logical
   direction via flexbox; we just nudge a few visual quirks: the
   "Br. sobe / Prezime" inputs keep text-align center/inherit so they
   look right both LTR and RTL, and emoji-flag buttons stay LTR-grouped
   in the lang-switch (no need to flip them). */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .id-bar input { text-align: right; }
[dir="rtl"] #roomNumber { text-align: center; }
[dir="rtl"] .lang-switch { direction: ltr; }  /* flags read LTR */

/* Tab nav */
.nav{display:flex;gap:6px;padding:12px 16px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav-btn{flex-shrink:0;padding:8px 16px;border-radius:20px;border:1px solid var(--border);background:var(--card);font-size:12px;font-weight:600;color:var(--muted);cursor:pointer;transition:.2s;white-space:nowrap;font-family:inherit}
.nav-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}

.content{padding:0 16px 100px;max-width:600px;margin:0 auto}
.section{display:none;animation:fadeIn .25s ease}
.section.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Cards */
.card{background:var(--card);border-radius:var(--radius);padding:18px;margin-bottom:12px;box-shadow:0 2px 8px rgba(15,23,42,.04),0 1px 2px rgba(15,23,42,.03);border:1px solid rgba(226,232,240,.6)}
.card-title{font-size:15px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:8px;color:#0f172a}
.card-title .icon{font-size:20px}

/* Info rows */
.info-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--border);gap:.5rem}
.info-row:last-child{border-bottom:none}
.info-label{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px}
.info-value{font-size:14px;font-weight:600;color:var(--text);text-align:right}
.muted-pre{font-size:13px;color:var(--muted);line-height:1.6;white-space:pre-line}
.dim{opacity:.5}
.small{font-size:12px}
.maps-link{font-size:12px;color:var(--accent);text-decoration:none;font-weight:600}
.contact-link{font-weight:600;color:var(--accent);text-decoration:none}

/* Buttons */
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px 18px;border-radius:14px;border:none;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);letter-spacing:.2px}
.btn-primary{background:linear-gradient(135deg,#3b82f6 0%,#1e40af 100%);color:#fff;box-shadow:0 4px 14px rgba(59,130,246,.35)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(59,130,246,.45)}
.btn-primary:active{transform:translateY(0)}
.btn-green{background:linear-gradient(135deg,#10b981 0%,#047857 100%);color:#fff;box-shadow:0 4px 14px rgba(16,185,129,.35)}
.btn-green:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(16,185,129,.45)}
.btn-amber{background:linear-gradient(135deg,#f59e0b 0%,#b45309 100%);color:#fff;box-shadow:0 4px 14px rgba(245,158,11,.35)}
.btn-amber:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(245,158,11,.45)}
.btn-outline{background:#fff;border:1.5px solid var(--border);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.btn-outline:hover{border-color:var(--accent);color:var(--accent);box-shadow:0 2px 8px rgba(37,99,235,.12)}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none !important}

/* Messaging app links (WhatsApp / Viber) */
.msg-app{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;padding:12px;border-radius:14px;flex:1;transition:.2s;background:#fff;border:1px solid #e5e7eb}
.msg-app:active{transform:scale(.95)}
.msg-app img,.msg-app svg{width:40px;height:40px;border-radius:10px}
.msg-app span{font-size:11px;font-weight:600}
.msg-wa{color:#25d366}
.msg-viber{color:#7360f2}
.msg-app-row{display:flex;gap:8px;margin-bottom:12px}

.add-btn{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#10b981,#047857);color:#fff;border:none;font-size:20px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(16,185,129,.35);font-family:inherit;line-height:1}
.add-btn:hover{transform:scale(1.08)}
.add-btn:active{transform:scale(.95)}

/* Menu */
.menu-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid rgba(226,232,240,.6);gap:.75rem}
.menu-item-img{width:56px;height:56px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#f1f5f9}
.menu-item:last-of-type{border-bottom:none}
.menu-name{font-size:14px;font-weight:600;color:var(--text)}
.menu-desc{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.4}
.menu-price{font-size:15px;font-weight:800;color:var(--green);white-space:nowrap}
.menu-item-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.chip-row{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 10px}
.chip{font-size:11px;font-weight:600;padding:3px 8px;border-radius:10px}
.chip-blue{background:#eef2ff;color:#4338ca}
.chip-amber{background:#fef3c7;color:#92400e}
.chip-green{background:#d1fae5;color:#065f46}

/* Featured menu category (yellow theme like WP "Paketi za dvoje") */
.menu-cat-featured{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:2px solid #f59e0b}
.menu-cat-featured .card-title{color:#92400e}
.menu-cat-featured .menu-name{font-weight:700}
.menu-cat-featured .menu-price{color:#d97706}
.menu-cat-featured .add-btn{background:linear-gradient(135deg,#f59e0b,#d97706)}
.cat-badge{display:inline-block;font-size:11px;font-weight:800;letter-spacing:1px;padding:3px 10px;border-radius:6px;margin-bottom:10px;color:#fff}
.cat-badge-featured{background:linear-gradient(135deg,#f59e0b,#d97706)}
.cat-badge-included{background:linear-gradient(135deg,#10b981,#047857)}

/* "Included in rate" breakfast category (checkbox + persons + single button) */
.inc-item-row{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid rgba(226,232,240,.6);cursor:pointer}
.inc-item-row input[type=checkbox]{width:18px;height:18px;margin-top:2px;flex-shrink:0;accent-color:#10b981}
.inc-persons-row{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}
.inc-persons-row label{font-size:13px;color:var(--text)}
.inc-persons{padding:6px 10px;border:1px solid var(--border);border-radius:8px;font-size:13px;font-weight:600;background:#fff;margin-left:4px}

/* Cart */
.cart-total-row{display:flex;justify-content:space-between;padding:8px 0;font-weight:700;font-size:15px;border-top:1px solid var(--border);margin-top:8px;color:var(--green)}
.cart-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:13px}
.cart-qty{display:inline-flex;align-items:center;gap:6px}
.cart-qty button{width:24px;height:24px;border-radius:6px;border:1px solid var(--border);background:#fff;cursor:pointer;font-family:inherit;line-height:1}

/* Spa */
.spa-item{background:#fff;border-radius:14px;padding:16px;margin-bottom:10px;box-shadow:0 2px 8px rgba(15,23,42,.04);border:1px solid rgba(226,232,240,.6)}
.spa-name{font-size:14px;font-weight:600;color:var(--text)}
.spa-meta{font-size:12px;color:var(--muted);margin-top:4px}
.spa-price{font-size:16px;font-weight:800;color:var(--accent);margin:6px 0 12px;background:linear-gradient(135deg,#3b82f6,#1e40af);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* Extras (req items) */
.req-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border);cursor:pointer}
.req-item:last-of-type{border-bottom:none}
.req-check{width:22px;height:22px;border-radius:6px;border:2px solid var(--border);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:.2s;color:#fff;font-size:14px;background:#fff}
.req-check.checked{background:var(--green);border-color:var(--green)}
.req-check.checked::after{content:'✓'}
.req-label{font-size:14px;flex:1}
.req-qty{width:54px;padding:3px 4px;border:1px solid var(--border);border-radius:6px;font-size:12px;font-weight:600;background:#fff;text-align:center;font-family:inherit}

/* Message */
.msg-textarea{width:100%;border:2px solid var(--border);border-radius:12px;padding:12px;font-family:inherit;font-size:14px;resize:vertical;min-height:80px;transition:.2s;margin-top:8px}
.msg-textarea:focus{outline:none;border-color:var(--accent)}

/* WiFi */
.wifi-box{background:linear-gradient(135deg,#059669 0%,#10b981 100%);color:#fff;border-radius:var(--radius);padding:24px;text-align:center;margin-bottom:12px}
.wifi-box h3{font-size:18px;margin-bottom:14px}
.wifi-cred{background:rgba(255,255,255,.15);border-radius:10px;padding:12px;margin:8px 0;font-size:15px;font-weight:700;user-select:all;letter-spacing:.5px}
.wifi-cred-inline{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;user-select:all;letter-spacing:.3px}
.wifi-net-label{font-size:12px;font-weight:600;color:var(--muted);margin:8px 0 2px}
.wifi-net-sep{height:1px;background:var(--border);margin:10px 0;opacity:.5}

/* Room service closed banner */
.rs-closed-banner{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#78350f}
.rs-closed-banner .card-title{color:#78350f}
.rs-closed-banner .muted{color:#92400e !important}

/* Featured package one-tap order — confirmation popup */
.pkg-confirm-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;animation:pkgFadeIn .15s ease}
.pkg-confirm-modal{background:#fff;border-radius:18px;max-width:420px;width:100%;padding:24px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.25);animation:pkgPopIn .2s ease}
.pkg-confirm-icon{font-size:48px;line-height:1;margin-bottom:8px}
.pkg-confirm-title{font-size:20px;font-weight:700;color:#0f172a;margin:0 0 6px}
.pkg-confirm-desc{font-size:14px;color:#64748b;margin:0 0 14px;line-height:1.5}
.pkg-confirm-meta{background:#f8fafc;border-radius:12px;padding:12px 16px;margin-bottom:18px;text-align:left}
.pkg-confirm-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:14px;color:#475569}
.pkg-confirm-row .pkg-price{font-size:16px;font-weight:700;color:#059669}
.pkg-confirm-actions{display:flex;gap:10px}
.pkg-confirm-actions .btn{flex:1;padding:12px 16px;border-radius:12px;font-weight:600;font-size:14px;cursor:pointer;border:1px solid var(--border);background:#fff;color:#0f172a;font-family:inherit}
.pkg-confirm-actions .btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
@keyframes pkgFadeIn{from{opacity:0}to{opacity:1}}
@keyframes pkgPopIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
.package-order-btn{white-space:nowrap}

/* Spa inquiry modal — date + time + note + disclaimer */
.spa-inq-fields{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;text-align:left}
.spa-inq-field{display:flex;flex-direction:column;gap:4px}
.spa-inq-field>span{font-size:12px;color:#475569;font-weight:600}
.spa-inq-field>input,.spa-inq-field>textarea{padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font-family:inherit;font-size:14px;box-sizing:border-box;width:100%}
.spa-inq-field>input:focus,.spa-inq-field>textarea:focus{outline:none;border-color:var(--accent)}
.spa-inq-field>textarea{resize:vertical}
.spa-inq-disclaimer{background:#fef3c7;border:1px solid #fde68a;color:#78350f;border-radius:10px;padding:10px 14px;font-size:13px;margin-bottom:14px;text-align:left;line-height:1.45}

/* Toast */
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%) translateY(100px);background:#1e293b;color:#fff;padding:12px 24px;border-radius:12px;font-size:13px;font-weight:500;transition:.3s;opacity:0;z-index:100;box-shadow:0 8px 24px rgba(0,0,0,.2);max-width:90vw;text-align:center}
.toast.show{transform:translateX(-50%) translateY(0);opacity:1}

/* Order badge */
.order-badge{display:none;position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;background:#ef4444;color:#fff;border-radius:9px;font-size:10px;font-weight:700;line-height:18px;text-align:center;padding:0 5px}
.order-badge.show{display:inline-block}

/* Orders tab */
.order-card{background:#fff;border-radius:var(--radius);padding:14px 16px;margin-bottom:10px;border:1px solid rgba(226,232,240,.6);box-shadow:0 2px 8px rgba(15,23,42,.04)}
.order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:6px}
.order-id{font-size:13px;color:var(--muted)}
.order-type{font-size:15px;font-weight:700}
.order-meta{font-size:12px;color:var(--muted);margin-bottom:6px}
.order-items{font-size:13px;color:var(--text);margin-top:4px}
.order-reply{margin-top:8px;padding:8px 10px;background:#eef2ff;border-radius:8px;font-size:12px;color:#4338ca;white-space:pre-wrap}
.order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:center;justify-content:flex-end}
.reply-link{padding:6px 14px;font-size:12px;width:auto;border-radius:8px}
.guest-reply-box{margin-top:10px;padding:10px;background:rgba(37,99,235,.06);border:1px solid rgba(37,99,235,.2);border-radius:10px}
.guest-reply-input{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-family:inherit;font-size:14px;resize:vertical;box-sizing:border-box}
.guest-reply-input:focus{outline:none;border-color:var(--accent)}
.guest-reply-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}
.guest-reply-actions .btn{padding:6px 14px;font-size:12px;width:auto;border-radius:8px}
.status-pill{padding:3px 10px;border-radius:10px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.status-pill.pending{background:#fef3c7;color:#92400e}
.status-pill.confirmed{background:#dbeafe;color:#1e40af}
.status-pill.preparing{background:#fae8ff;color:#86198f}
.status-pill.delivered{background:#d1fae5;color:#065f46}
.status-pill.cancelled{background:#fee2e2;color:#991b1b}
.cancel-link{font-size:11px;color:var(--muted);text-decoration:underline;background:none;border:none;cursor:pointer;padding:0;margin-top:6px;font-family:inherit}

/* FAQ */
.faq-item summary{cursor:pointer;font-weight:600;font-size:14px;display:flex;gap:8px;align-items:center;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';margin-left:auto;font-size:18px;color:var(--muted);transition:transform .2s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item[open]{padding-bottom:16px}
.faq-item p{margin-top:8px}

/* Promo */
.promo-card{overflow:hidden}
.promo-img{width:calc(100% + 36px);margin:-18px -18px 12px;display:block;max-height:200px;object-fit:cover}

/* Walk-in spa flash deal */
.walkin-card{background:linear-gradient(135deg,#f59e0b,#dc2626);color:#fff;border:none;position:relative;overflow:hidden}
.walkin-card::before{content:'';position:absolute;top:-30px;right:-30px;width:120px;height:120px;background:rgba(255,255,255,.1);border-radius:50%}
.walkin-flash{display:inline-block;background:rgba(255,255,255,.15);color:#fff;font-size:10px;font-weight:800;letter-spacing:1.5px;padding:3px 10px;border-radius:6px;margin-bottom:6px}
.walkin-discount{font-size:28px;font-weight:800;color:#fff}

/* Field grid (used inside Requests cards) */
.field{display:flex;flex-direction:column;margin-bottom:8px}
.field>label{font-size:12px;color:var(--muted);margin-bottom:4px}
.field>input,.field>select,.field>textarea{font-family:inherit;font-size:14px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text)}
.field>input:focus,.field>select:focus,.field>textarea:focus{outline:none;border-color:var(--accent)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.action-btn{margin-top:0}
.extend-select{padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;font-family:inherit;font-size:14px}

/* Weather widget */
.weather-day{display:flex;flex-direction:column;align-items:center;font-size:12px;color:var(--muted);gap:2px}
.weather-day .day-icon{font-size:20px}

/* Events list — card per event with image + title + date + location */
#events-list{display:flex;flex-direction:column;gap:8px}
.event-item{display:flex;gap:12px;padding:10px;background:var(--card);border-radius:12px;border:1px solid rgba(226,232,240,.6);font-size:13px;position:relative}
.event-img{width:72px;height:72px;object-fit:cover;border-radius:10px;flex-shrink:0;background:#e2e8f0}
.event-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}
.event-item .event-title{font-weight:700;color:var(--text);line-height:1.3;font-size:15px}
.event-meta{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;color:var(--muted);font-size:12px}
.event-meta .event-date{display:inline-flex;align-items:center;gap:4px}
.event-meta .event-time{color:#a78bfa;font-weight:600}
.event-meta .event-loc{display:inline-flex;align-items:center;gap:4px}
.event-link{position:absolute;top:10px;right:10px;color:var(--muted);text-decoration:none;font-size:16px;opacity:.6}
.event-link:hover{opacity:1;color:var(--accent)}
#events-more-btn{margin-top:8px;width:100%;padding:14px;border:1px solid var(--border);background:var(--card);border-radius:12px;font-family:inherit;font-size:14px;color:var(--text);font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
#events-more-btn:hover{background:#f8fafc}
.events-source-footer{margin-top:10px;text-align:center;color:var(--muted);font-size:11px}

/* Header bell (guest PWA) */
.bell-fab{position:fixed;top:8px;right:8px;width:42px;height:42px;background:transparent;border:none;font-size:20px;cursor:pointer;color:#fff;opacity:.4;transition:opacity .2s;z-index:50}
.bell-fab.active{opacity:1}
.bell-fab .bell-badge{position:absolute;top:0;right:0;min-width:18px;height:18px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;line-height:18px;text-align:center;padding:0 5px;border-radius:9px;display:none}
.bell-fab.active .bell-badge{display:inline-block}

/* Tips — green theme + 4 amount boxes + custom + notice */
.tip-card{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #10b981}
.tip-card .card-title{color:#065f46}
.tip-card p{font-size:13px;color:#065f46;margin-bottom:14px;line-height:1.5}
.tip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
.tip-amount{padding:10px;border:2px solid #10b981;background:#fff;color:#065f46;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit}
.tip-amount.selected{background:#10b981;color:#fff}
.tip-custom-row{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.tip-custom-row label{font-size:13px;color:#065f46;font-weight:600}
.tip-custom-row input{flex:1;padding:10px;border:1px solid #a7f3d0;border-radius:10px;font-size:14px;background:#fff;font-family:inherit}
.tip-custom-row .eur{font-size:13px;color:#065f46;font-weight:700}
.tip-notice{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:10px 12px;margin-bottom:12px}
.tip-notice p{font-size:12px;color:#92400e;margin:0;line-height:1.5}

/* Minibar consumption (orange) + refill (blue) */
.mb-card-consume{background:linear-gradient(135deg,#fff7ed,#ffedd5);border:2px solid #f59e0b;margin-bottom:14px}
.mb-card-consume .card-title{color:#92400e}
.mb-card-consume>p{font-size:13px;color:#78350f;margin-bottom:12px;line-height:1.5}
.mb-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(251,191,36,.25)}
.mb-row input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#d97706}
.mb-name{flex:1;min-width:0;font-size:14px;font-weight:600;color:#78350f}
.mb-qty-ctrl{display:flex;align-items:center;gap:6px}
.mb-qty-ctrl button{width:26px;height:26px;border-radius:8px;border:1px solid #fde68a;background:#fff;color:#92400e;font-weight:700;cursor:pointer;font-family:inherit;line-height:1}
.mb-qty-num{min-width:18px;text-align:center;font-weight:700;color:#78350f}
.mb-line-price{font-weight:700;color:#d97706;min-width:62px;text-align:right;font-size:13px}
.mb-total-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0 6px;border-top:2px solid #fde68a;margin-top:6px}
.mb-total-row .lbl{font-size:13px;color:#78350f;font-weight:600}
.mb-total-row .val{font-size:18px;font-weight:800;color:#d97706}
.mb-btn-consume{background:linear-gradient(135deg,#f59e0b,#d97706) !important;color:#fff;margin-top:8px}

.mb-card-refill{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6}
.mb-card-refill .card-title{color:#1e3a8a}
.mb-card-refill>p{font-size:13px;color:#1e40af;margin-bottom:12px;line-height:1.5}
.mb-refill-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(59,130,246,.2)}
.mb-refill-row input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#3b82f6}
.mb-refill-row .mb-name{color:#1e3a8a}

/* Hotel service row (own card with inline date + qty + button) */
.svc-card{background:var(--card);border-radius:14px;padding:16px;margin-bottom:10px;box-shadow:0 2px 8px rgba(15,23,42,.04);border:1px solid rgba(226,232,240,.6)}
.svc-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}
.svc-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.svc-date,.svc-time,.svc-qty{padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:13px;font-family:inherit;background:#fff}
.svc-date{flex:1;min-width:110px}
.svc-time{min-width:90px;font-weight:600}
.svc-qty{width:56px;padding:8px 4px;font-weight:600;text-align:center}
.svc-book-btn{width:auto;padding:8px 16px;font-size:13px;flex-shrink:0;margin-left:auto}

/* Promo card with blue left border (WP style) */
.promo-card{border-left:4px solid var(--accent)}

/* Walk-in spa per-service discount markup */
.spa-price-row{display:flex;align-items:baseline;gap:8px;margin-top:4px}
.spa-price-old{text-decoration:line-through;color:var(--muted);font-size:13px}
.spa-price-new{font-size:16px;font-weight:800;color:#dc2626}
.spa-discount-pill{background:#fef3c7;color:#92400e;padding:1px 6px;border-radius:4px;font-size:10px;font-weight:700}

/* Review card with star rating */
.review-card{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fde68a}
.review-stars{display:flex;gap:6px;margin:10px 0;justify-content:center}
.star-btn{background:transparent;border:none;font-size:32px;color:#d1d5db;cursor:pointer;padding:0;font-family:inherit;line-height:1;transition:transform .15s}
.star-btn:hover{transform:scale(1.15)}
.star-btn.filled{color:#f59e0b}
.review-card.submitted{background:#d1fae5;border-color:#10b981}
.review-card.submitted .review-stars,.review-card.submitted textarea,.review-card.submitted button{display:none}

/* Empty states */
.empty{text-align:center;padding:48px 20px;color:var(--muted);font-size:14px}

.footer{text-align:center;padding:20px;font-size:11px;color:var(--muted);max-width:600px;margin:0 auto}

/* Floating action buttons (FABs).
   When both wheel and chat are enabled, chat takes the primary bottom-right
   slot and wheel stacks above it. */
.chat-fab{position:fixed;bottom:20px;right:20px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#1e40af);color:#fff;border:none;font-size:16px;font-weight:800;letter-spacing:.5px;cursor:pointer;box-shadow:0 6px 20px rgba(37,99,235,.4);z-index:98;font-family:inherit}
.chat-fab:hover{transform:scale(1.06)}

/* Cart FAB — bottom-left mirror of the AI button so both shortcuts are
   thumb-reachable. Translucent + small so it doesn't compete with the main
   submit button inside the cart card. */
.cart-fab{position:fixed;bottom:20px;left:20px;width:44px;height:44px;border-radius:50%;background:rgba(15,23,42,.45);color:#fff;border:1px solid rgba(255,255,255,.18);font-size:18px;cursor:pointer;z-index:97;font-family:inherit;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background .15s,transform .15s}
.cart-fab:hover{background:rgba(15,23,42,.7);transform:scale(1.08)}
.cart-fab[hidden]{display:none}
.cart-fab-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;background:#dc2626;color:#fff;border-radius:9px;font-size:10px;font-weight:700;line-height:18px;text-align:center;border:1.5px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.2)}

/* Wheel of fortune */
.wheel-fab{position:fixed;bottom:20px;right:20px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#dc2626);color:#fff;border:none;font-size:28px;cursor:pointer;box-shadow:0 6px 20px rgba(220,38,38,.4);z-index:99;animation:wheelPulse 2s infinite}
body:has(.chat-fab) .wheel-fab{bottom:88px}
@keyframes wheelPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.wheel-overlay{position:fixed;inset:0;background:rgba(15,23,42,.85);z-index:200;display:flex;align-items:center;justify-content:center;padding:16px}
.wheel-overlay[hidden]{display:none}
.wheel-modal{background:#fff;border-radius:20px;padding:24px 20px;max-width:380px;width:100%;text-align:center;position:relative}
.wheel-modal h3{font-size:20px;font-weight:700;margin-bottom:4px;color:var(--text)}
.wheel-modal p{font-size:13px;color:var(--muted);margin-bottom:20px}
.wheel-close{position:absolute;top:8px;right:12px;background:transparent;border:none;font-size:28px;line-height:1;cursor:pointer;color:var(--muted);font-family:inherit}
.wheel-wrap{position:relative;width:260px;height:260px;margin:0 auto 20px}
.wheel-pointer{position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:24px solid #dc2626;z-index:10;filter:drop-shadow(0 2px 4px rgba(0,0,0,.4))}
.wheel-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:36px;height:36px;background:radial-gradient(circle,#fbbf24,#d97706);border:4px solid #fff;border-radius:50%;z-index:5;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.wheel{display:block;width:100%;height:100%;border-radius:50%;box-shadow:0 8px 24px rgba(0,0,0,.3);border:8px solid #fde68a;background:#fff;transition:transform 4.5s cubic-bezier(.17,.67,.3,1.01)}
.wheel-btn{background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border:none;padding:14px 32px;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(239,68,68,.3);font-family:inherit;width:100%}
.wheel-btn:active{transform:scale(.96)}
.wheel-btn:disabled{opacity:.5;cursor:not-allowed}
.wheel-result{margin-top:16px;padding:14px;border-radius:12px;font-weight:600;font-size:14px}
.wheel-result.win{background:linear-gradient(135deg,#d1fae5,#fef3c7);color:#065f46;border:2px solid #10b981}
.wheel-result.lose{background:#f1f5f9;color:#64748b}

/* Chat overlay */
.chat-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:200;display:flex;align-items:flex-end;justify-content:center;padding:0}
@media (min-width:680px){.chat-overlay{padding:24px;align-items:center}}
.chat-overlay[hidden]{display:none}
.chat-panel{background:#fff;width:100%;max-width:480px;height:88vh;max-height:680px;border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -8px 24px rgba(0,0,0,.3)}
@media (min-width:680px){.chat-panel{border-radius:20px;height:560px}}
.chat-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:linear-gradient(135deg,#0f172a,#1e3a5f);color:#fff;flex-shrink:0}
.chat-header-title{font-weight:700;font-size:15px}
.chat-close{background:transparent;border:none;color:#fff;font-size:26px;line-height:1;cursor:pointer;opacity:.7;padding:0;font-family:inherit}
.chat-close:hover{opacity:1}
.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#f8fafc}
.chat-msg{max-width:80%;padding:9px 14px;border-radius:16px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.chat-map-link{display:inline-block;text-decoration:none;padding:2px 9px;border-radius:999px;cursor:pointer;font-size:.85em;font-weight:600;background:rgba(59,130,246,.12);color:#1e40af;border:1px solid rgba(59,130,246,.3);white-space:nowrap;transition:background .15s,color .15s}
.chat-map-link:hover{background:rgba(59,130,246,.22);color:#1e3a8a;text-decoration:none}
.chat-msg.user{background:linear-gradient(135deg,#3b82f6,#1e40af);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-msg.assistant{background:#fff;color:var(--text);align-self:flex-start;border-bottom-left-radius:4px;border:1px solid var(--border)}
.chat-msg.thinking{align-self:flex-start;background:#fff;color:var(--muted);font-style:italic;border:1px solid var(--border);border-bottom-left-radius:4px}
.chat-action-btn{display:block;margin-top:10px;padding:8px 14px;border-radius:12px;border:1px solid #3b82f6;background:#fff;color:#3b82f6;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;transition:background .15s}
.chat-action-btn:hover{background:#eff6ff}
.chat-action-btn:active{transform:scale(.98)}
.chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--border);background:#fff;flex-shrink:0}
.chat-form textarea{flex:1;border:1px solid var(--border);border-radius:18px;padding:9px 14px;font-family:inherit;font-size:14px;resize:none;max-height:120px;line-height:1.4}
.chat-form textarea:focus{outline:none;border-color:var(--accent)}
.chat-send-btn{background:linear-gradient(135deg,#3b82f6,#1e40af);color:#fff;border:none;width:38px;height:38px;border-radius:50%;cursor:pointer;font-size:16px;flex-shrink:0;font-family:inherit;align-self:flex-end}
.chat-send-btn:disabled{opacity:.5;cursor:not-allowed}

/* Push permission prompt */
.push-prompt{position:fixed;left:16px;right:16px;bottom:88px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px 14px;box-shadow:0 -4px 16px rgba(0,0,0,.12);z-index:97;display:flex;align-items:center;gap:10px;animation:slideUp .3s ease}
@keyframes slideUp{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
.push-prompt[hidden]{display:none}
.push-prompt-text{flex:1;font-size:13px;color:var(--text);line-height:1.35}
.push-prompt button{flex-shrink:0;padding:6px 12px;border-radius:8px;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer;border:none}
.push-prompt .push-enable{background:linear-gradient(135deg,#3b82f6,#1e40af);color:#fff}
.push-prompt .push-later{background:transparent;color:var(--muted)}
