/* ==========================================================================
   MOBILE-FIRST WEB APP - COMPONENT STYLES
   Microinteracciones, Tarjetas, Modales Bottom Sheet y Botones Táctiles
   ========================================================================== */

/* 1. HEADER MOBILE */
.mobile-header {
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(180deg, rgba(21, 23, 30, 0.95) 0%, rgba(13, 14, 18, 0.95) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-brand-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.header-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-titles {
  display: flex;
  flex-direction: column;
}

.header-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-restaurant-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.03em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.status-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-indicator-badge.open {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-indicator-badge.closed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.header-tagline {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.1rem;
}

.header-cart-icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.header-cart-icon-btn:active {
  transform: scale(0.92);
}

.header-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-gradient);
  color: #0d0e12;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.header-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.72rem;
  color: var(--text-secondary);
  scrollbar-width: none;
}

.header-meta-bar::-webkit-scrollbar {
  display: none;
}

.header-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.meta-icon {
  width: 13px;
  height: 13px;
  color: var(--gold-primary);
}

.meta-divider {
  color: var(--gold-border);
  opacity: 0.6;
}

/* 2. BUSCADOR */
.mobile-search-wrapper {
  padding: 0.85rem 1rem 0.5rem;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  padding: 0 0.95rem;
  height: 44px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search-input-box:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-right: 0.6rem;
}

.mobile-search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  outline: none;
}

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

.search-clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-secondary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-clear-btn i {
  width: 14px;
  height: 14px;
}

/* 3. CATEGORÍAS (Horizontal Icon Navigation) */
.category-nav-wrapper {
  padding: 0.45rem 0 0.2rem;
}

.category-icon-nav {
  display: flex;
  gap: 0.85rem;
  padding: 0.4rem 1rem 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-icon-nav::-webkit-scrollbar {
  display: none;
}

.category-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
  width: 68px;
}

.category-icon-btn:active {
  transform: scale(0.92);
}

.category-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.category-svg-icon {
  width: 22px;
  height: 22px;
}

.category-icon-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-icon-btn.active .category-icon-bubble {
  background: var(--gold-gradient);
  color: #0b0c10;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.45);
  transform: scale(1.08);
}

.category-icon-btn.active .category-icon-bubble .category-svg-icon {
  color: #0b0c10;
}

.category-icon-btn.active .category-icon-text {
  color: var(--gold-bright);
  font-weight: 800;
}

/* 4. LISTADO DE PRODUCTOS EN DOS COLUMNAS */
.products-container {
  padding: 0.5rem 0 1.5rem;
  display: block;
  width: 100%;
}

.mobile-product-card-col2 {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
  cursor: pointer;
}

.mobile-product-card-col2:active {
  transform: scale(0.97);
}

.col2-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #101117;
  overflow: hidden;
}

.col2-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mobile-product-card-col2:hover .col2-card-img {
  transform: scale(1.06);
}

.col2-card-content {
  padding: 0.65rem 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.col2-card-name {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col2-card-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col2-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.col2-card-pricing {
  display: flex;
  flex-direction: column;
}

.col2-add-btn {
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
  transition: transform 0.15s;
  flex-shrink: 0;
}

.col2-add-btn:active {
  transform: scale(0.9);
}

/* 5. MODAL BOTTOM SHEET (Detalle de Producto) */
.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.bottom-sheet-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin: 0 auto;
  background: var(--bg-sheet);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sheet);
  z-index: 101;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-sheet-dialog.active {
  transform: translateY(0);
}

.bottom-sheet-handle-bar {
  padding-top: 0.6rem;
  padding-bottom: 0.2rem;
  display: flex;
  justify-content: center;
}

.bottom-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
}

.bottom-sheet-header {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.bottom-sheet-close-btn {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bottom-sheet-close-btn i {
  width: 18px;
  height: 18px;
}

.bottom-sheet-scrollable-body {
  overflow-y: auto;
  flex: 1;
  padding-bottom: 1rem;
}

.modal-product-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-badge-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(13, 14, 18, 0.9);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.modal-product-details {
  padding: 1.15rem 1.15rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

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

.modal-product-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.modal-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.modal-price-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
}

.modal-price-sec {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.modal-product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-ingredients-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.ingredients-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.ing-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
}

.ing-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ingredients-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.modal-section-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.group-badge {
  font-size: 0.7rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.variants-radio-list, .adicionales-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.variant-radio-item, .adicional-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.variant-radio-item.selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.variant-radio-info, .adicional-check-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.variant-radio-info input, .adicional-check-info input {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
}

.variant-name, .adicional-name {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.variant-price-add, .adicional-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
}

.modal-notes-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.75rem;
  outline: none;
  resize: none;
}

.modal-notes-textarea:focus {
  border-color: var(--gold-primary);
}

.bottom-sheet-footer {
  padding: 0.85rem 1.15rem 1.25rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modal-qty-selector {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  gap: 0.35rem;
}

.qty-control-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-control-btn:active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.qty-control-btn i {
  width: 16px;
  height: 16px;
}

.qty-display-number {
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
  color: var(--text-primary);
}

.modal-submit-add-btn {
  flex: 1;
  background: var(--gold-gradient);
  color: #0d0e12;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s;
  min-height: 48px;
}

.modal-submit-add-btn:active {
  transform: scale(0.97);
}

/* 6. CARRITO FLOTANTE (Sticky Bar) */
.floating-cart-bar-shell {
  position: fixed;
  bottom: 96px;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  z-index: 85;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  pointer-events: none;
}

.floating-cart-bar-shell.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-cart-inner {
  background: linear-gradient(135deg, #1b1d26 0%, #14161f 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 0.65rem 0.85rem 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.25);
  cursor: pointer;
}

.cart-bar-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-bar-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
}

.cart-bar-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold-gradient);
  color: #0b0c10;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-bar-text-group {
  display: flex;
  flex-direction: column;
  margin-left: 0.85rem;
  flex: 1;
}

.cart-bar-summary-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-bar-total-amount {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.cart-bar-cta-btn {
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.cta-arrow {
  width: 15px;
  height: 15px;
}

.pulse-bounce {
  animation: barBounce 0.4s ease;
}

@keyframes barBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* 7. DRAWER DEL CARRITO (Slide-Up Full Bottom Sheet) */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin: 0 auto;
  background: var(--bg-sheet);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sheet);
  z-index: 111;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-sheet.active {
  transform: translateY(0);
}

.drawer-drag-indicator {
  padding-top: 0.65rem;
  display: flex;
  justify-content: center;
}

.drawer-handle {
  width: 44px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
}

.drawer-header-row {
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-title-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.drawer-items-count-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-clear-btn, .drawer-close-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-clear-btn:active, .drawer-close-btn:active {
  color: var(--text-primary);
  border-color: var(--gold-light);
}

.drawer-clear-btn i, .drawer-close-btn i {
  width: 16px;
  height: 16px;
}

.drawer-body-list {
  overflow-y: auto;
  flex: 1;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-drawer-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  gap: 0.75rem;
}

.drawer-item-thumbnail {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.drawer-item-name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.drawer-item-total-price {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-light);
  flex-shrink: 0;
}

.drawer-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 0.5rem;
}

.meta-pill {
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-xs);
}

.meta-pill.extra {
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
}

.drawer-item-notes {
  font-size: 0.72rem;
  color: var(--text-gold);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.drawer-item-notes i {
  width: 11px;
  height: 11px;
}

.drawer-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.35rem;
}

.drawer-unit-calc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.drawer-qty-controller {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.35rem;
  gap: 0.45rem;
}

.drawer-qty-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-qty-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 18px;
  text-align: center;
}

/* Empty View */
.drawer-empty-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.empty-icon-wrap i {
  width: 32px;
  height: 32px;
}

.empty-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.empty-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.empty-explore-btn {
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}

.drawer-footer-checkout {
  padding: 1rem 1.15rem 1.25rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.drawer-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.summary-line.total-line {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  align-items: flex-end;
}

.total-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.total-amount-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.total-sec {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.drawer-continue-btn {
  width: 100%;
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.95rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  min-height: 48px;
}

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

/* 8. CHECKOUT MODAL */
.checkout-modal-backdrop, .summary-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.checkout-modal-dialog, .summary-modal-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin: 0 auto;
  background: var(--bg-sheet);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sheet);
  z-index: 121;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-dialog.active, .summary-modal-dialog.active {
  transform: translateY(0);
}

.checkout-header, .summary-header {
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-title, .summary-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.summary-subtitle {
  font-size: 0.72rem;
  color: var(--gold-light);
}

.checkout-back-btn, .checkout-close-btn, .summary-back-btn, .summary-close-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.checkout-back-btn i, .checkout-close-btn i, .summary-back-btn i, .summary-close-btn i {
  width: 18px;
  height: 18px;
}

.checkout-body, .summary-body {
  overflow-y: auto;
  flex: 1;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.checkout-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checkout-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-type-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.order-type-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.order-type-card input {
  display: none;
}

.order-type-card .type-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.order-type-card .type-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.order-type-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
}

.order-type-card.active .type-icon {
  color: var(--gold-light);
}

.order-type-card.active .type-text {
  color: var(--gold-bright);
}

.checkout-input, .checkout-select, .checkout-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  min-height: 44px;
}

.checkout-input:focus, .checkout-select:focus, .checkout-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.checkout-textarea {
  resize: vertical;
}

.checkout-footer, .summary-footer {
  padding: 1rem 1.15rem 1.25rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkout-submit-btn {
  width: 100%;
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.95rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  min-height: 48px;
}

.checkout-submit-btn .submit-icon {
  width: 18px;
  height: 18px;
}

/* 9. RESUMEN DE PEDIDO & BOTÓN WHATSAPP */
.summary-card-block {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-block-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-block-title i {
  width: 16px;
  height: 16px;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.item-name-col {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.item-qty-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.item-text-info {
  display: flex;
  flex-direction: column;
}

.item-main-name {
  color: var(--text-primary);
  font-weight: 600;
}

.item-variant-label {
  font-size: 0.72rem;
  color: var(--gold-light);
}

.item-extras-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.item-note-label {
  font-size: 0.72rem;
  color: var(--text-gold);
  font-style: italic;
}

.item-total-price {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.summary-totals-box {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.totals-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.totals-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 0.35rem;
}

.grand-total-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.grand-total-numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.grand-total-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.grand-total-sec {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.summary-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-item.full {
  grid-column: 1 / -1;
}

.info-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.info-val {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

.info-val.highlight {
  color: var(--gold-light);
}

.info-val.italic {
  font-style: italic;
  color: var(--text-gold);
}

/* BOTÓN CONFIRMAR POR WHATSAPP */
.btn-confirm-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  letter-spacing: 0.02em;
  min-height: 52px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-confirm-whatsapp:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

.summary-guarantee-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.summary-guarantee-note i {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
}

/* 10. PANTALLA DE ÉXITO (Success Screen) */
.success-screen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 18, 0.96);
  backdrop-filter: blur(14px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.success-screen-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-screen-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(37, 211, 102, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-screen-overlay.active .success-screen-card {
  transform: scale(1);
}

.success-animated-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
}

.success-icon-ring {
  position: absolute;
  inset: -6px;
  border: 2px dashed rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  animation: rotateRing 8s linear infinite;
}

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

.success-check-icon {
  width: 36px;
  height: 36px;
}

.success-screen-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.success-screen-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.success-status-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.status-box-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.status-box-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4ade80;
}

.status-box-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.success-actions-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-continue-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.85rem;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  min-height: 44px;
}

.btn-return-menu {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  min-height: 44px;
}

.btn-return-menu:active {
  background: rgba(255, 255, 255, 0.08);
}

/* 11. BARRA DE NAVEGACIÓN INFERIOR ESTILO FLOATING PILL
   Diseño inspirado exactamente en la referencia (Inicio - Sedes - Favoritos - Carrito)
   Con burbuja en AMARILLO cuando está activa o al posarse */
.pill-bottom-nav {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  max-width: 360px;
  margin: 0 auto;
  height: 70px;
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  z-index: 60;
  transition: transform 0.3s ease;
}

.pill-nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  flex: 1;
  padding: 0.3rem 0;
  transition: all 0.25s ease;
}

.pill-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: transparent;
}

.pill-icon-bubble .nav-svg {
  width: 22px;
  height: 22px;
  color: #334155;
  stroke: #334155;
  stroke-width: 2.2;
  transition: all 0.2s;
}

.pill-nav-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.2s;
}

/* ESTADO ACTIVO Y HOVER: SE COLOCA EN AMARILLO VIBRANTE */
.pill-nav-item.active .pill-icon-bubble,
.pill-nav-item:hover .pill-icon-bubble {
  background: #FFD700 !important;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.pill-nav-item.active .nav-svg,
.pill-nav-item:hover .nav-svg {
  color: #0d0e12 !important;
  stroke: #0d0e12 !important;
}

.pill-nav-item.active .pill-nav-label {
  color: #b8860b !important;
  font-weight: 800 !important;
}

.pill-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #0d0e12;
  color: #FFD700;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Botón Corazón de Favoritos en cada tarjeta */
.col2-fav-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(13, 14, 18, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s;
}

.col2-fav-btn .fav-heart-icon {
  width: 16px;
  height: 16px;
  color: #fff;
  stroke: #fff;
  transition: all 0.2s;
}

.col2-fav-btn.active {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
}

.col2-fav-btn.active .fav-heart-icon {
  fill: #fff;
  stroke: #fff;
  transform: scale(1.15);
}


/* ==========================================================================
   FEEDBACK DIRECTO DE AGREGAR AL CARRITO (+ -> ✓)
   ========================================================================== */
.col2-add-btn.added-success {
  background: var(--gold-gradient) !important;
  color: #0b0c10 !important;
  transform: scale(1.18);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   SELECTOR DE MODO DE PEDIDO: DOMICILIO / MESA (Top Hero Segmented Pill)
   ========================================================================== */
.order-mode-bar-wrapper {
  padding: 0.65rem 1rem 0.25rem 1rem;
}

.order-mode-segmented-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  display: flex;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.order-mode-segment-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-mode-segment-btn .mode-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}

.order-mode-segment-btn.active {
  background: var(--gold-gradient);
  color: #0b0c10;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.order-mode-segment-btn.active .mode-icon {
  transform: scale(1.1);
  color: #0b0c10;
}

.order-mode-subtext-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.45rem;
  min-height: 28px;
}

.delivery-inline-notice {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.table-selector-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
}

.table-inline-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

.table-inline-select {
  background: #14161f;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

/* ==========================================================================
   TITULOS DE CATEGORIA ENTRE SECCIONES CON TIPOGRAFIA DE EL AMIR (Cinzel)
   ========================================================================== */
.menu-category-section {
  display: block;
  width: 100%;
  margin-bottom: 2.25rem;
  scroll-margin-top: 80px;
}

.category-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem 1rem 1rem;
  gap: 0.85rem;
  position: relative;
}

.category-ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.category-section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-eyebrow {
  font-size: 0.62rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  font-weight: 800;
  margin-bottom: 0.2rem;
  opacity: 0.85;
}

.category-section-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
  margin: 0;
  line-height: 1.2;
}

.category-dishes-badge {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Grid de 2 columnas para los productos de cada seccion */
.category-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .category-products-grid {
    gap: 1rem;
  }
}

/* ==========================================================================
   TOAST FLOTANTE DE NOTIFICACION DE CARRITO
   ========================================================================== */
.global-app-toast {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  max-width: 380px;
  margin: 0 auto;
  padding: 0 1rem;
  z-index: 1000;
  pointer-events: none;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.global-app-toast.toast-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.global-app-toast.toast-exit {
  transform: translateY(-80%);
  opacity: 0;
}

.toast-inner {
  background: linear-gradient(135deg, #1b1d26 0%, #11131a 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.3);
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.toast-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.toast-msg {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-action-btn {
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.toast-action-btn:active {
  transform: scale(0.96);
}


/* ==========================================================================
   OPTIMIZACION TACTIL MOBILE: EVITAR BLOQUEO DE EVENTOS CLICK EN ICONOS/SPANS
   ========================================================================== */
.category-icon-btn *,
.order-mode-segment-btn *,
.pill-nav-item *,
.col2-add-btn * {
  pointer-events: none;
}

/* ==========================================================================
   ESTILOS DE BARRA DE MESA ACTIVA (En el selector superior)
   ========================================================================== */
.table-selector-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
}

.table-current-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #ffffff;
}

.table-current-badge strong {
  color: var(--gold-light);
  font-weight: 800;
}

.btn-change-table {
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-change-table:active {
  transform: scale(0.96);
}

/* ==========================================================================
   MODAL BOTTOM SHEET: SELECTOR VISUAL DE MESA
   ========================================================================== */
.table-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.table-modal-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin: 0 auto;
  background: linear-gradient(180deg, #181a24 0%, #0e1017 100%);
  border-top: 1.5px solid var(--gold-primary);
  border-radius: 24px 24px 0 0;
  z-index: 201;
  transform: translateY(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1rem 1.25rem 2rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.table-modal-dialog.active {
  transform: translateY(0);
}

.table-modal-handle {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 0 auto 1rem;
}

.table-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.table-modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.35rem 0;
}

.table-modal-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.table-modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
}

.table-modal-body {
  overflow-y: auto;
  padding-bottom: 1rem;
}

.table-grid-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 380px) {
  .table-grid-selection {
    grid-template-columns: repeat(4, 1fr);
  }
}

.table-select-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.table-select-card:active {
  transform: scale(0.95);
}

.table-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.table-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.table-select-card.selected {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.table-select-card.selected .table-card-icon-wrap {
  background: var(--gold-gradient);
  color: #0b0c10;
}

.table-select-card.selected .table-card-name {
  color: var(--gold-bright);
  font-weight: 800;
}

.table-check-indicator {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.table-check-indicator svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.table-modal-footer {
  padding-top: 1rem;
}

.btn-confirm-table {
  width: 100%;
  background: var(--gold-gradient);
  color: #0b0c10;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.9rem;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

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

.drawer-add-more-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  padding: 0.65rem;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-add-more-btn:active {
  background: rgba(212, 175, 55, 0.15);
  transform: scale(0.98);
}
