@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --black: #0a0a0a;
  --black-light: #141414;
  --black-lighter: #1a1a1a;
  --black-card: #1e1e1e;
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #b8961f;
  --gold-muted: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.3);
  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.7);
  --white-dim: rgba(255, 255, 255, 0.4);
  --gray: #2a2a2a;
  --gray-light: #3a3a3a;
  --red: #e74c3c;
  --green: #2ecc71;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --cart-bar-height: 70px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); outline: none; }
img { max-width: 100%; display: block; }

/* ===== Screens ===== */
.screen {
  display: none;
  min-height: 100vh;
  animation: fadeIn 0.4s ease;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Login Screen ===== */
#loginScreen {
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--black) 0%, #111 50%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}

#loginScreen::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--gold-muted) 0%, transparent 60%);
  animation: subtleRotate 20s linear infinite;
  pointer-events: none;
}

@keyframes subtleRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.login-container {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.login-logo {
  text-align: center;
  margin-bottom: 40px;
}

.login-logo .logo-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.login-logo h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.login-logo p {
  color: var(--white-muted);
  font-size: 0.9rem;
  margin-top: 4px;
  letter-spacing: 1px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select {
  background: var(--black-lighter);
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-group input::placeholder {
  color: var(--white-dim);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

[dir="rtl"] .form-group select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 40px;
}

.form-group select option {
  background: var(--black-light);
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== Menu Screen ===== */
#menuScreen {
  padding-bottom: calc(var(--cart-bar-height) + 20px);
}

.menu-header {
  background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
  padding: 20px 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.menu-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.menu-header-info h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
}

.menu-header-info p {
  font-size: 0.8rem;
  color: var(--white-muted);
}

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

.btn-icon {
  background: var(--gray);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--gold);
  color: var(--black);
}

.lang-selector-mini {
  background: var(--gray);
  border: 1px solid var(--gray-light);
  color: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
}

.lang-selector-mini:focus {
  border-color: var(--gold);
}

/* ===== Category Tabs ===== */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 20px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--black);
  position: sticky;
  top: 76px;
  z-index: 49;
}

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

.category-tab {
  background: var(--black-card);
  border: 1px solid var(--gray);
  color: var(--white-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.category-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

/* ===== Menu Grid ===== */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 20px 20px;
}

@media (min-width: 540px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 20px;
  }
}

/* ===== Menu Card ===== */
.menu-card {
  background: var(--black-card);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.menu-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.menu-card-emoji {
  font-size: 2.2rem;
  line-height: 1;
}

.menu-card-price {
  background: var(--gold-muted);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
}

.menu-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.menu-card-desc {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.5;
  flex-grow: 1;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
}

.btn-add-cart {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

.btn-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ===== Loading & Empty States ===== */
.menu-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 16px;
}

.menu-state .state-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.menu-state p {
  color: var(--white-muted);
  font-size: 1rem;
}

.btn-retry {
  background: var(--gray);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}

.btn-retry:hover {
  background: var(--gold);
  color: var(--black);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Cart Bar (Fixed Bottom) ===== */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--cart-bar-height);
  background: linear-gradient(180deg, var(--black-light), var(--black-card));
  border-top: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-bar.visible {
  transform: translateY(0);
}

.cart-bar-info {
  display: flex;
  flex-direction: column;
}

.cart-bar-count {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}

.cart-bar-total {
  font-size: 0.8rem;
  color: var(--white-muted);
}

.btn-view-cart {
  background: var(--gold);
  color: var(--black);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-view-cart:hover {
  background: var(--gold-light);
}

/* ===== Cart Modal (Slide Up) ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--black-light);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-modal.open {
  transform: translateY(0);
}

.cart-modal-handle {
  width: 40px;
  height: 4px;
  background: var(--gray-light);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 12px;
  flex-shrink: 0;
}

.cart-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
}

.btn-close-cart {
  background: none;
  border: none;
  color: var(--white-muted);
  font-size: 1.5rem;
  padding: 4px;
  transition: var(--transition);
}

.btn-close-cart:hover {
  color: var(--white);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray) transparent;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
}

.cart-item-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-qty button {
  background: transparent;
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-item-qty button:hover {
  background: var(--gold);
  color: var(--black);
}

.cart-item-qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  color: var(--white-dim);
}

.cart-empty-state .empty-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.cart-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray);
  flex-shrink: 0;
}

.cart-notes-group {
  margin-bottom: 16px;
}

.cart-notes-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.cart-notes-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--white);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 60px;
  max-height: 120px;
  transition: var(--transition);
}

.cart-notes-group textarea:focus {
  border-color: var(--gold);
}

.cart-notes-group textarea::placeholder {
  color: var(--white-dim);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.cart-total-label {
  font-weight: 500;
  color: var(--white-muted);
}

.cart-total-amount {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.3rem;
}

.cart-actions {
  display: flex;
  gap: 12px;
}

.btn-clear-cart {
  background: var(--gray);
  color: var(--white-muted);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-clear-cart:hover {
  background: var(--red);
  color: var(--white);
}

.btn-confirm-order {
  flex: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-confirm-order:hover {
  box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-confirm-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-confirm-order .btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}

.btn-confirm-order.loading .btn-text {
  display: none;
}

.btn-confirm-order.loading .btn-spinner {
  display: block;
}

/* ===== Confirmation Screen ===== */
#confirmScreen {
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.confirm-container {
  max-width: 460px;
  width: 100%;
}

.confirm-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.confirm-container h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.confirm-container .confirm-subtitle {
  color: var(--white-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.confirm-details {
  background: var(--black-card);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

[dir="rtl"] .confirm-details {
  text-align: right;
}

.confirm-order-id {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.confirm-order-items {
  list-style: none;
  margin-bottom: 12px;
}

.confirm-order-items li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--white-muted);
  border-bottom: 1px solid var(--gray);
}

.confirm-order-items li:last-child {
  border-bottom: none;
}

.confirm-order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 12px;
  border-top: 1px solid var(--gold-dark);
  color: var(--gold);
}

.confirm-email-notice {
  color: var(--white-dim);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.confirm-estimate {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.btn-back-menu {
  background: var(--gray);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-back-menu:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 20px;
}

.toast {
  background: var(--black-card);
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  pointer-events: auto;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 340px;
}

.toast.success {
  border-color: var(--green);
}

.toast.success::before {
  content: '\2713';
  color: var(--green);
  font-weight: bold;
}

.toast.error {
  border-color: var(--red);
}

.toast.error::before {
  content: '\2717';
  color: var(--red);
  font-weight: bold;
}

.toast.info {
  border-color: var(--gold);
}

.toast.info::before {
  content: '\2139';
  color: var(--gold);
  font-weight: bold;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

[dir="rtl"] .toast {
  animation: toastInRtl 0.3s ease, toastOutRtl 0.3s ease 2.7s forwards;
}

@keyframes toastInRtl {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOutRtl {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}

/* ===== Push Notification Prompt ===== */
.push-prompt {
  position: fixed;
  bottom: 90px;
  left: 20px;
  right: 20px;
  background: var(--black-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  z-index: 150;
  box-shadow: var(--shadow-lg);
  display: none;
  animation: slideUp 0.4s ease;
}

.push-prompt.visible {
  display: block;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.push-prompt h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1rem;
}

.push-prompt p {
  color: var(--white-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.push-prompt-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-push-allow {
  background: var(--gold);
  color: var(--black);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-push-deny {
  background: transparent;
  color: var(--white-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-push-deny:hover {
  color: var(--white);
}

/* ===== RTL Support ===== */
[dir="rtl"] .menu-header-top {
  flex-direction: row-reverse;
}

[dir="rtl"] .menu-card-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .menu-card-footer {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-total-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-bar {
  flex-direction: row-reverse;
}

[dir="rtl"] .confirm-order-items li {
  flex-direction: row-reverse;
}

[dir="rtl"] .confirm-order-total {
  flex-direction: row-reverse;
}

[dir="rtl"] .push-prompt-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .menu-header-actions {
  flex-direction: row-reverse;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ===== Responsive ===== */
@media (max-width: 380px) {
  .login-logo h1 {
    font-size: 1.6rem;
  }
  .menu-card {
    padding: 16px;
  }
  .cart-modal-header {
    padding: 12px 16px 8px;
  }
  .cart-items {
    padding: 0 16px;
  }
  .cart-footer {
    padding: 12px 16px;
  }
}

@media (min-width: 768px) {
  .login-container {
    background: var(--black-card);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
  }
  .cart-modal {
    max-width: 500px;
    left: auto;
    right: 0;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
  }
  .cart-modal.open {
    transform: translateX(-50%) translateY(0);
  }
  .toast-container {
    top: 24px;
    right: 24px;
  }
}
