/* ==========================================================================
   SkyGarden - Components CSS
   Mobile-First Luxury Components with Bidirectional RTL/LTR Support
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-gem {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  color: #1a1505;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-table-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-gold);
  font-weight: 600;
  margin-top: 2px;
}

.table-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald-accent);
  box-shadow: 0 0 8px var(--emerald-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.header-btn:hover {
  border-color: var(--border-highlight);
  background: var(--gold-gradient-soft);
  color: var(--text-gold-light);
}

.header-btn.lang-toggle {
  font-weight: 700;
  min-width: 72px;
  background: var(--gold-gradient-soft);
  border-color: var(--border-medium);
  color: var(--text-gold);
}

.header-btn.icon-only {
  width: 38px;
  padding: 0;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   2. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 16px 16px 20px 16px;
  margin-bottom: 8px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 180px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-surface) 0%, rgba(10, 14, 18, 0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  padding: 0 16px 16px 16px;
  margin-top: -30px;
}

.hero-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: var(--emerald-glass);
  color: var(--emerald-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald-accent);
  animation: pulse-ring 2s infinite ease-out;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-accent);
}

.hero-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.25;
}

.hero-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   3. Search & Filter Bar
   -------------------------------------------------------------------------- */
.discovery-toolbar {
  padding: 0 16px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  inset-inline-start: 14px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 16px;
}

.search-input {
  width: 100%;
  height: 46px;
  padding-inline-start: 42px;
  padding-inline-end: 40px;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--border-highlight);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-clear-btn {
  position: absolute;
  inset-inline-end: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-size: 14px;
  display: none;
}

.search-clear-btn.visible {
  display: flex;
}

/* Dietary Filter Chips */
.filter-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-chips-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #1a1505;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   4. Sticky Category Bar
   -------------------------------------------------------------------------- */
.sticky-category-container {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 16px;
}

.category-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.category-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.category-tab.active {
  background: var(--gold-gradient-soft);
  border-color: var(--border-highlight);
  color: var(--text-gold);
  font-weight: 700;
  box-shadow: inset 0 0 12px rgba(212, 175, 55, 0.15);
}

.tab-icon {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   5. Menu Section & Item Cards
   -------------------------------------------------------------------------- */
.menu-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.category-section {
  scroll-margin-top: calc(var(--header-height) + var(--sticky-tabs-height) + 16px);
}

.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  border-inline-start: 3px solid var(--gold-primary);
  padding-inline-start: 12px;
}

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

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.section-items-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.section-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.items-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Menu Item Card */
.item-card {
  position: relative;
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 14px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  cursor: pointer;
}

.item-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* Sold Out / Unavailable Dish */
.item-card.is-sold-out {
  opacity: 0.65;
  filter: grayscale(0.2);
}

.item-card.is-sold-out:hover {
  transform: none;
}

.item-image-wrapper {
  position: relative;
  width: 105px;
  height: 105px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface-elevated);
}

.item-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.item-card:hover .item-thumbnail {
  transform: scale(1.06);
}

.item-badge-pill {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.item-badge-pill.chef {
  background: var(--gold-gradient);
  color: #1a1505;
}

.item-badge-pill.popular {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  color: #ffffff;
}

.item-badge-pill.new {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
}

.item-badge-pill.soldout {
  background: rgba(244, 63, 94, 0.9);
  color: #ffffff;
}

.item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.item-header {
  margin-bottom: 4px;
}

.item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 3px;
}

.item-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.dietary-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
}

.dietary-tag.veg {
  color: var(--emerald-accent);
  border-color: rgba(16, 185, 129, 0.3);
}

.dietary-tag.gf {
  color: var(--text-gold);
  border-color: var(--border-subtle);
}

.brand-subtitle-tag {
  font-size: 11px;
  color: var(--text-gold);
  font-weight: 600;
  margin-top: 1px;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.item-price-box {
  display: flex;
  flex-direction: column;
}

.item-price-main {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-gold);
}

.item-calories-label {
  font-size: 10px;
  color: var(--text-muted);
}

.card-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1505;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.card-action-btn:hover {
  transform: scale(1.08);
}

.card-action-btn.disabled {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* Card Quantity Stepper (Shown when item count > 0) */
.card-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-pill);
  padding: 3px 6px;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  animation: fadeIn 0.2s ease-out;
}

.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1505;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.stepper-btn:hover {
  transform: scale(1.1);
}

.stepper-btn.dec-btn {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.stepper-qty {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-gold);
  min-width: 18px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. Dish Detail Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-sheet {
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform var(--transition-spring);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .detail-modal-sheet {
  transform: translateY(0);
}

.modal-header-image-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--bg-surface-elevated);
}

.modal-dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.modal-scrollable-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.modal-price-tag {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-gold);
  white-space: nowrap;
}

.modal-desc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--bg-surface-elevated);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-section-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-section-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ingredient-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ingredient-chip {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-secondary);
}

.allergens-alert-box {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  font-size: 12px;
  color: #fda4af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-bottom-bar {
  padding: 14px 20px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-add-btn {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #1a1505;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
}

.modal-add-btn.disabled {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   7. Floating Order Bar & Tray Drawer
   -------------------------------------------------------------------------- */
.floating-bottom-bar {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 95;
  display: flex;
  gap: 10px;
}

.floating-tray-btn {
  flex: 1;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #1a1505;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  box-shadow: var(--shadow-gold-strong);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.tray-count-badge {
  background: #1a1505;
  color: #f3e7c4;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
}

.floating-service-btn {
  height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.floating-service-btn:hover {
  border-color: var(--border-highlight);
  color: var(--text-gold);
}

/* Cart Drawer Sheet */
.tray-drawer-sheet {
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform var(--transition-spring);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .tray-drawer-sheet {
  transform: translateY(0);
}

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title-group {
  display: flex;
  flex-direction: column;
}

.drawer-title {
  font-size: 17px;
  font-weight: 800;
}

.drawer-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.drawer-items-list {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  gap: 12px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 12px;
  color: var(--text-gold);
  font-weight: 600;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px 6px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--gold-gradient-soft);
  color: var(--text-gold);
}

.qty-number {
  font-size: 13px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.empty-tray-view {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-tray-icon {
  font-size: 42px;
  opacity: 0.6;
}

.drawer-footer-summary {
  padding: 16px 20px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.summary-row.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-gold);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

.drawer-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.drawer-primary-btn {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #1a1505;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
}

.drawer-secondary-btn {
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Service Request Modal & Options
   -------------------------------------------------------------------------- */
.service-modal-sheet {
  width: 100%;
  max-width: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  padding: 20px;
  transform: translateY(100%);
  transition: transform var(--transition-spring);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .service-modal-sheet {
  transform: translateY(0);
}

.service-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.service-opt-btn {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  transition: all var(--transition-fast);
}

.service-opt-btn:hover {
  border-color: var(--border-highlight);
  background: var(--gold-gradient-soft);
}

.service-opt-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.service-opt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.service-opt-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. Share QR Modal
   -------------------------------------------------------------------------- */
.share-modal-sheet {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  padding: 24px;
  transform: translateY(100%);
  transition: transform var(--transition-spring);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.modal-backdrop.active .share-modal-sheet {
  transform: translateY(0);
}

.qr-code-box {
  width: 170px;
  height: 170px;
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-box img {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   10. Toast Notification
   -------------------------------------------------------------------------- */
.toast-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2000;
  opacity: 0;
  transition: transform var(--transition-spring), opacity var(--transition-fast);
  pointer-events: none;
}

.toast-popup.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 30px 16px 20px 16px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand-title {
  font-size: 16px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}
