/* =========================================================
   ARTISAN CAFÉ POS - THEME: ROSE WINDOW AURA GRADIENT
   ========================================================= */

/* Rose Window - Aura Base */
body {
  background-color: #faf8f2;
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e1114;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  touch-action: manipulation;
}

/* Aura Background Layers (CSS Blend Modes Architecture) */
.aura-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
}

/* Layer 1 - normal */
.aura-layer-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,228,230,0.9) 0%, rgba(254,205,211,0.5) 50%, rgba(252,165,165,0.3) 100%);
  mix-blend-mode: normal;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

/* Layer 2 - multiply */
.aura-layer-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 40%, rgba(244,63,94,0.4) 0%, transparent 35%);
  mix-blend-mode: multiply;
  filter: blur(138px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

/* Layer 3 - multiply */
.aura-layer-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 55%, rgba(251,146,60,0.35) 0%, transparent 30%);
  mix-blend-mode: multiply;
  filter: blur(125px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

/* Layer 4 - multiply */
.aura-layer-4 {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.3) 100%);
  mix-blend-mode: multiply;
  filter: blur(38px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

@media (min-width: 768px) {
  .aura-layer-2 { filter: blur(198px); }
  .aura-layer-3 { filter: blur(180px); }
  .aura-layer-4 { filter: blur(54px); }
}

/* =========================================================
   DESIGN SYSTEM - LIGHT GLASSMORPHISM (ROSE WINDOW)
   ========================================================= */

:root {
  --bg-primary: transparent;
  --bg-secondary: rgba(255, 255, 255, 0.65);
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.75);

  --accent-amber: #e11d48;
  --accent-amber-glow: rgba(225, 29, 72, 0.25);
  --accent-espresso: #4c1d24;
  --accent-matcha: #15803d;
  --accent-cream: #fff1f2;
  --accent-danger: #e11d48;
  --accent-success: #059669;

  --text-primary: #1e1114;
  --text-secondary: #543b40;
  --text-muted: #886a70;
  --text-amber: #e11d48;

  --border-subtle: rgba(225, 29, 72, 0.12);
  --border-active: rgba(225, 29, 72, 0.35);

  --shadow-card: 0 10px 25px rgba(225, 29, 72, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 20px var(--accent-amber-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-thai: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Courier New', Courier, monospace;
}

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

/* App Container (Split Screen for iPad) */
.pos-app {
  display: grid;
  grid-template-columns: 80px 1fr 380px;
  height: 100vh;
  width: 100vw;
  background: transparent;
}

/* 1. Left Navigation Bar */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-subtle);
  z-index: 10;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-full, 9999px);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.12);
  border: 1.5px solid rgba(225, 29, 72, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.brand-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.25);
  border-color: var(--brand-pink-primary);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-full, 9999px);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 22px;
}

.nav-btn.active, .nav-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-amber);
  border-color: var(--border-active);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.12);
}

.nav-btn .nav-label {
  font-size: 10px;
  margin-top: 4px;
  font-weight: 600;
}

/* 2. Main Content Area (Categories + Products Grid) */
.main-content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  padding: 16px 20px;
  background-color: transparent;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  flex: 1;
  max-width: 450px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-thai);
  margin-left: 10px;
  width: 100%;
  outline: none;
  user-select: text;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.top-bar-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shift-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: #059669;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.shift-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #059669;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Category Filter Bar */
.categories-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-chip.active {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  border-color: #f43f5e;
  box-shadow: 0 4px 14px var(--accent-amber-glow);
}

/* Products Grid */
.products-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding-bottom: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-card:active {
  transform: scale(0.96);
  border-color: var(--accent-amber);
}

.product-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.08);
}

.product-icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.product-name-th {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.product-name-en {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-amber);
}

.add-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.1);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

/* 3. Right Cart & Checkout Drawer */
.cart-drawer {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-subtle);
  height: 100vh;
  padding: 16px;
  position: relative;
  z-index: 10;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.02);
}

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

.cart-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.cart-badge {
  background: var(--accent-amber);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.clear-cart-btn {
  background: transparent;
  border: none;
  color: var(--accent-danger);
  font-size: 13px;
  font-family: var(--font-thai);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.order-type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.5);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.type-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 0;
  font-size: 13px;
  font-family: var(--font-thai);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.type-btn.active {
  background: #ffffff;
  color: var(--text-amber);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Cart Items List */
.cart-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.cart-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.cart-item-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

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

.cart-item-modifiers {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-amber);
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  padding: 2px 6px;
  border: 1px solid var(--border-subtle);
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.delete-item-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
}

.delete-item-btn:hover {
  color: var(--accent-danger);
}

/* Cart Footer Calculation */
.cart-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.calc-row.total-row {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
  margin-bottom: 12px;
}

.calc-row.total-row .total-amount {
  color: var(--text-amber);
  font-size: 24px;
  font-weight: 800;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-lg);
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-thai);
  cursor: pointer;
  box-shadow: 0 6px 20px var(--accent-amber-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

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

.checkout-btn:disabled {
  background: rgba(200, 180, 185, 0.4);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* =========================================================
   MODALS (Product Customizer, Checkout, Settings)
   ========================================================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 17, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(225, 29, 72, 0.15);
  position: relative;
}

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

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

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-section {
  margin-bottom: 18px;
}

.modal-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.options-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.option-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.option-chip.selected {
  background: rgba(244, 63, 94, 0.12);
  border-color: var(--accent-amber);
  color: var(--text-amber);
}

.option-chip .chip-label {
  font-size: 14px;
  font-weight: 700;
}

.option-chip .chip-price {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.topping-checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.topping-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.topping-item.selected {
  border-color: var(--accent-amber);
  background: rgba(244, 63, 94, 0.1);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-thai);
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-amber-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-thai);
  cursor: pointer;
}

/* =========================================================
   PAYMENT & CHECKOUT MODAL SPECIFICS
   ========================================================= */

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-thai);
  transition: all 0.2s;
}

.payment-tab-btn.active {
  background: rgba(244, 63, 94, 0.12);
  border-color: var(--accent-amber);
  color: var(--text-amber);
}

.cash-quick-calc {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-cash-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cash-chip {
  padding: 10px 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.cash-chip:active {
  background: var(--accent-amber);
  color: #fff;
}

.cash-input-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}

.cash-input-box input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-thai);
  width: 100%;
  outline: none;
}

.change-display {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.change-amount {
  font-size: 22px;
  font-weight: 800;
  color: #059669;
}

.promptpay-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #000000;
  margin-bottom: 16px;
}

.promptpay-logo {
  height: 36px;
  margin-bottom: 8px;
}

.promptpay-qr-canvas {
  width: 200px;
  height: 200px;
  margin: 10px 0;
}

.promptpay-hint {
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* =========================================================
   MENU & CATEGORY MANAGEMENT (CRUD) STYLES
   ========================================================= */

.mgmt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.mgmt-table th {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 5;
}

.mgmt-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(225, 29, 72, 0.08);
  color: var(--text-primary);
  vertical-align: middle;
}

.mgmt-table tr:hover {
  background: rgba(255, 255, 255, 0.6);
}

.mgmt-action-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-thai);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.mgmt-action-btn.edit {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.mgmt-action-btn.edit:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.mgmt-action-btn.delete {
  color: var(--accent-danger);
  background: rgba(225, 29, 72, 0.08);
  margin-left: 6px;
}

.mgmt-action-btn.delete:hover {
  background: rgba(225, 29, 72, 0.15);
  border-color: var(--accent-danger);
}

.badge-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  background: rgba(225, 29, 72, 0.08);
  color: var(--text-amber);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

/* Toast Notifications (Top Center Floating Pill - Never blocks Cart Checkout button) */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  color: var(--text-primary);
  border: 1px solid rgba(225, 29, 72, 0.25);
  padding: 10px 22px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(225, 29, 72, 0.1);
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-thai);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slide-toast-down 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-toast-down {
  from { transform: translateY(-20px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
