/* ============================================================
   AURA • THE STEAKHOUSE & CAFE AI CONCIERGE
   Ultra-Luxury Native Mobile (Android & iOS) + Desktop Experience
   ============================================================ */

:root {
  --bg-deep: #09090b;
  --bg-card: rgba(24, 24, 30, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-glow: rgba(212, 175, 55, 0.45);
  --gold-primary: #d4af37;
  --gold-light: #f5e7b2;
  --ember-flame: #ff6b35;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --font-serif: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  position: fixed; /* Prevents rubber-banding on iOS Safari */
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

/* ---------------- Ambient Breathing Glows ---------------- */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-gold {
  position: absolute;
  top: -15vw;
  left: -15vw;
  width: min(130vw, 900px);
  height: min(130vw, 900px);
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0.03) 50%, transparent 75%);
  animation: breathe-gold 14s ease-in-out infinite alternate;
}

.glow-ember {
  position: absolute;
  bottom: -20vw;
  right: -20vw;
  width: min(120vw, 850px);
  height: min(120vw, 850px);
  background: radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0.02) 50%, transparent 75%);
  animation: breathe-ember 16s ease-in-out infinite alternate;
}

@keyframes breathe-gold {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.08) translate(3%, 3%); opacity: 1; }
}

@keyframes breathe-ember {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.1) translate(-3%, -3%); opacity: 1; }
}

/* ---------------- App Viewport Shell (Android & iOS Optimized) ---------------- */
.concierge-app {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: 820px;
  margin: 0 auto;
}

/* ---------------- Seamless Floating Header ---------------- */
.concierge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px 16px;
  background: rgba(9, 9, 11, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 30;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-back-home:active {
  transform: scale(0.92);
  background: rgba(212, 175, 55, 0.15);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 107, 53, 0.12));
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.brand-meta h1 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-meta .brand-role {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-primary);
  opacity: 0.85;
}

.header-right {
  display: flex;
  align-items: center;
}

/* ---------------- Chat Feed (Native iOS / Android Scrolling) ---------------- */
.concierge-feed {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 16px calc(76px + env(safe-area-inset-bottom)) 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
}

/* Slim scrollbar */
.concierge-feed::-webkit-scrollbar {
  width: 4px;
}
.concierge-feed::-webkit-scrollbar-track {
  background: transparent;
}
.concierge-feed::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.18);
  border-radius: 8px;
}

/* Message Rows */
.msg-row {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: fade-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-slide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-row.bot {
  align-self: flex-start;
}

.msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(255, 107, 53, 0.12));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--gold-primary);
  margin-top: 2px;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.93rem;
  line-height: 1.55;
  font-weight: 300;
  letter-spacing: 0.15px;
  word-break: break-word;
}

.msg-row.bot .msg-bubble {
  background: rgba(24, 24, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.92);
  border-bottom-left-radius: 4px;
}

.msg-row.user .msg-bubble {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.12));
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.msg-bubble strong {
  color: var(--gold-light);
  font-weight: 600;
}

.msg-bubble p + p {
  margin-top: 8px;
}

/* ---------------- Visual Food Concierge Dish Cards ---------------- */
.dish-cards-cluster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

.concierge-dish-card {
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.88) 0%, rgba(18, 18, 22, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dish-card-img-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background-color: #000;
}

.dish-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-tag-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.65rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 600;
}

.dish-card-body {
  padding: 12px 14px;
}

.dish-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.dish-card-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.dish-card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.dish-reasoning-quote {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  font-style: italic;
  border-left: 2px solid var(--gold-primary);
  padding-left: 6px;
}

.btn-card-reserve {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-reserve:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-card-reserve:active {
  background: var(--gold-primary);
  color: #000;
  transform: translateY(0);
}

.btn-card-reserve.added {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  color: #25d366;
}

/* ---------------- Table Booking & Party Planner Card ---------------- */
.party-planner-card {
  margin-top: 10px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28, 28, 34, 0.95), rgba(18, 18, 22, 0.98));
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.party-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.party-card-icon {
  font-size: 1.3rem;
}

.party-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
}

.party-card-header p {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.party-field label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.party-field input, .party-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
}

.party-field input:focus, .party-field select:focus {
  border-color: var(--gold-primary);
}

.btn-confirm-party-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-confirm-party-wa:active {
  transform: scale(0.98);
}

/* ---------------- Typing Bubble ---------------- */
.typing-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-primary);
  opacity: 0.4;
  animation: typing-jump 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-jump {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ---------------- Professional Seamless Floating Bottom Dock ---------------- */
.input-dock-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 16px max(12px, env(safe-area-inset-bottom)) 16px;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0.2) 60%, transparent 100%);
  pointer-events: none;
  z-index: 40;
}

.input-dock-wrapper {
  max-width: 820px;
  margin: 0 auto;
  pointer-events: auto;
}

.input-capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 16px;
  background: rgba(22, 22, 28, 0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease;
}

.input-capsule:focus-within {
  border-color: var(--gold-primary);
}

.chat-textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px prevents iOS Safari from automatically zooming in */
  line-height: 1.4;
  resize: none;
  min-height: 22px;
  max-height: 100px;
  padding: 8px 0;
}

.input-btn-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-mic-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-mic-toggle:hover {
  color: #fff;
}

.btn-mic-toggle.listening {
  color: #ff4757;
  animation: pulse-mic 1s infinite alternate;
}

@keyframes pulse-mic {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.btn-send-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), #e5a93c);
  border: none;
  color: #09090b;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-send-chat:active:not(:disabled) {
  transform: scale(0.92);
}

.btn-send-chat:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* ---------------- Mobile Layout Adjustments (Android & iOS) ---------------- */
@media (max-width: 640px) {
  .concierge-header {
    padding: max(8px, env(safe-area-inset-top)) 12px 8px 12px;
  }
  .brand-meta h1 {
    font-size: 0.92rem;
  }
  .brand-meta .brand-role {
    font-size: 0.65rem;
  }
  .concierge-feed {
    padding: 12px 12px calc(72px + env(safe-area-inset-bottom)) 12px;
    gap: 14px;
  }
  .msg-row {
    max-width: 92%;
  }
  .party-grid {
    grid-template-columns: 1fr;
  }
  .input-dock-container {
    padding: 6px 12px max(10px, env(safe-area-inset-bottom)) 12px;
  }
  .input-capsule {
    padding: 3px 5px 3px 14px;
  }
}

/* ---------------- Table Reserve Bucket Button (Header) ---------------- */
.btn-bucket-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-bucket-toggle:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-bucket-toggle:active {
  transform: scale(0.96);
}

.bucket-icon {
  font-size: 0.95rem;
}

.bucket-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: linear-gradient(135deg, var(--gold-primary), #e5a93c);
  color: #09090b;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.btn-bucket-toggle.has-items .bucket-badge {
  animation: badge-pop 0.3s ease;
}

@keyframes badge-pop {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ---------------- Table Reservation Bucket Overlay & Drawer ---------------- */
.bucket-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bucket-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bucket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: rgba(18, 18, 22, 0.96);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-left: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  z-index: 101;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bucket-drawer-overlay.active .bucket-drawer {
  transform: translateX(0);
}

.sheet-drag-handle {
  display: none;
}

/* Drawer Header */
.bucket-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(9, 9, 11, 0.5);
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.drawer-subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.2px;
  margin-top: 2px;
}

.btn-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Bucket Views Switching */
.bucket-view {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.bucket-view.active {
  display: flex;
}

/* Bucket Items List */
.bucket-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}

.bucket-empty-state {
  margin: auto;
  text-align: center;
  padding: 40px 20px;
}

.bucket-empty-icon {
  font-size: 2.8rem;
  opacity: 0.4;
  margin-bottom: 12px;
}

.bucket-empty-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.bucket-empty-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* Item Row */
.bucket-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color 0.2s ease;
}

.bucket-item-row:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.bucket-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bucket-item-details {
  flex: 1;
  min-width: 0;
}

.bucket-item-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bucket-item-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 3px;
}

.bucket-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.btn-qty {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.btn-qty:hover {
  background: rgba(212, 175, 55, 0.3);
}

.bucket-qty-count {
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
  color: #fff;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.btn-remove-item:hover {
  color: #ef4444;
}

/* Bucket Footer */
.bucket-footer {
  padding: 16px 20px max(18px, env(safe-area-inset-bottom)) 20px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(9, 9, 11, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bucket-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.summary-amount {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
}

.btn-proceed-booking {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-primary), #e5a93c);
  color: #09090b;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-proceed-booking:active {
  transform: scale(0.98);
}

/* VIEW 2: Booking Form Inside Drawer */
.booking-form-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px max(20px, env(safe-area-inset-bottom)) 20px;
  -webkit-overflow-scrolling: touch;
}

.booking-dishes-recap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
}

.recap-chip {
  font-size: 0.74rem;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.bucket-reserve-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bucket-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bucket-form-field label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bucket-form-field input, .bucket-form-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.bucket-form-field input:focus, .bucket-form-field select:focus {
  border-color: var(--gold-primary);
}

.bucket-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bucket-form-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.btn-back-to-items {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 6px;
  text-align: center;
  transition: color 0.2s ease;
}

.btn-back-to-items:hover {
  color: #fff;
}

.btn-submit-bucket-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}

.btn-submit-bucket-wa:active {
  transform: scale(0.98);
}

/* ---------------- Mobile Responsive Drawer (Bottom Sheet) ---------------- */
@media (max-width: 640px) {
  .bucket-drawer {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    height: 85vh;
    height: 85dvh;
    border-left: none;
    border-top: 1px solid var(--border-gold);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .bucket-drawer-overlay.active .bucket-drawer {
    transform: translateY(0);
  }

  .sheet-drag-handle {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    margin: 8px auto 0 auto;
  }

  .bucket-drawer-header {
    padding: 12px 16px;
  }

  .bucket-items-list {
    padding: 12px 16px;
  }
}
