/* css/store.css - Loja do Consumidor em Branco e Vermelho Escuro (Sem Emojis) */

.store-wrapper {
  background: #f1f5f9;
  min-height: calc(100vh - var(--demo-bar-height));
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

/* Moldura Realista de Smartphone (iPhone Mockup) */
.mobile-frame-container {
  width: 100%;
  max-width: 430px;
  background: #1e293b;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px #cbd5e1;
  position: relative;
  transition: max-width 0.3s ease;
}

.store-wrapper.fullscreen-mode .mobile-frame-container {
  max-width: 880px;
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.store-wrapper.fullscreen-mode .mobile-notch,
.store-wrapper.fullscreen-mode .mobile-speaker {
  display: none;
}

.mobile-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0f172a;
  border-radius: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-speaker {
  width: 40px;
  height: 3px;
  background: #334155;
  border-radius: 2px;
}

/* Janela Interna da Loja - Fundo Branco */
.store-viewport {
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  min-height: 820px;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  font-family: var(--font-body);
}

.store-wrapper.fullscreen-mode .store-viewport {
  border-radius: var(--radius-xl);
  max-height: none;
  min-height: 90vh;
}

/* Barra de Status do Celular */
.mobile-statusbar {
  height: 36px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.store-scroll-content {
  overflow-y: auto;
  flex: 1;
  padding-bottom: 90px;
  scroll-behavior: smooth;
  background: #ffffff;
}

/* Topo e Banner da Loja */
.store-hero-banner {
  height: 130px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.store-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
}

.store-header-content {
  padding: 0 18px;
  position: relative;
  margin-top: -40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.store-avatar-img {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  background: #f8fafc;
}

.store-open-pill {
  background: var(--color-success-bg);
  border: 1px solid #a7f3d0;
  color: var(--color-success);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.store-open-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
}

.store-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.store-meta-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.meta-rating {
  color: var(--color-warning);
  font-weight: 700;
}

/* Barra de Pesquisa */
.store-search-box {
  padding: 12px 18px 6px;
}

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

.store-search-input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 10px 38px 10px 40px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.store-search-input::placeholder {
  color: #94a3b8;
}

.store-search-input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.store-search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
  stroke: #64748b;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-search-clear-btn {
  position: absolute;
  right: 12px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.store-search-clear-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

/* Categorias Sticky em Fundo Branco */
.store-categories-sticky {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  z-index: 50;
  padding: 10px 18px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
}

.store-cat-item {
  display: flex;
  align-items: center;
  background: #f8fafc;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.store-cat-item.active, .store-cat-item:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(139, 0, 0, 0.25);
}

/* Seções de Produtos */
.store-menu-section {
  padding: 16px 18px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-heading-row h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

/* CARD DE PRODUTO */
.food-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.food-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.food-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.food-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.food-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.food-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.food-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.food-price-current {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
}

.food-price-old {
  font-size: 11px;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.food-card-right {
  position: relative;
  width: 96px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.food-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: block;
}

/* BOTÃO ADICIONAR ESTÉTICO (Circular, moderno, não tapa a foto) */
.btn-quick-add {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(139, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 2.5px solid #ffffff;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, box-shadow 0.15s ease;
  z-index: 2;
}

.btn-quick-add:hover {
  background: var(--color-primary-hover);
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(139, 0, 0, 0.5);
}

.btn-quick-add:active {
  transform: scale(0.94);
}

.btn-quick-add svg {
  display: block;
  pointer-events: none;
}

/* BARRA FIXA FLUTUANTE DA SACOLA (Vermelho Escuro) */
.store-floating-bag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.35);
  z-index: 80;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: bag-pop 0.3s ease;
}

.store-floating-bag:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139, 0, 0, 0.45);
}

.bag-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bag-count-badge {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bag-label {
  font-weight: 700;
  font-size: 13px;
}

.bag-total {
  font-size: 15px;
  font-weight: 800;
}

@keyframes bag-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* MODAL DE PERSONALIZAÇÃO DO PRODUTO (CENTRALIZADO) */
.product-options-sheet {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.product-options-sheet.active {
  opacity: 1;
  pointer-events: auto;
}

.sheet-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  max-height: 88%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.product-options-sheet.active .sheet-content {
  transform: scale(1);
  opacity: 1;
}

.sheet-header-img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.sheet-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.sheet-close-btn:active {
  background: rgba(15, 23, 42, 0.9);
  transform: scale(0.92);
}

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

.sheet-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet-option-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.option-row:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
}

.sheet-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
}

.qty-counter-control {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-weight: 800;
}

.qty-num {
  width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

/* RASTREAMENTO DO PEDIDO */
.tracking-view {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tracking-status-hero {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.tracking-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.tracking-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  position: relative;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  height: 24px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-step:last-child::before {
  display: none;
}

.step-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.timeline-step.completed .step-marker {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.timeline-step.active .step-marker {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.4);
}

.timeline-step.completed::before {
  background: var(--color-primary);
}

.step-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

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

/* Pix Copia e Cola */
.pix-code-container {
  background: #f8fafc;
  border: 1px dashed var(--color-primary-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-primary);
}

/* RESPONSIVIDADE NATIVA PARA CELULAR NA LOJA (SEM CORTES) */
@media (max-width: 768px) {
  .store-wrapper {
    padding: 0 !important;
    background: #ffffff !important;
    min-height: auto !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .mobile-frame-container {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .mobile-notch,
  .mobile-speaker,
  .mobile-statusbar {
    display: none !important;
  }

  .store-viewport {
    border-radius: 0 !important;
    min-height: calc(100vh - var(--demo-bar-height, 88px)) !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .store-scroll-content {
    overflow-y: visible !important;
    height: auto !important;
    padding-bottom: 110px !important;
  }

  .store-hero-banner {
    height: 140px !important;
  }

  .store-header-content {
    padding: 0 14px !important;
    margin-top: -36px !important;
  }

  .store-avatar-img {
    width: 66px !important;
    height: 66px !important;
    border-radius: 14px !important;
  }

  .store-title {
    font-size: 17px !important;
  }

  .store-search-box {
    padding: 10px 14px 4px !important;
  }

  .store-categories-sticky {
    padding: 8px 14px !important;
    top: var(--demo-bar-height, 88px) !important;
  }

  .store-menu-section {
    padding: 14px !important;
  }

  .food-card {
    padding: 12px !important;
    gap: 10px !important;
  }

  .food-title {
    font-size: 13px !important;
  }

  .food-card-right {
    width: 88px !important;
    height: 84px !important;
  }

  .food-img {
    border-radius: 10px !important;
  }

  .btn-quick-add {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    bottom: -3px !important;
    right: -3px !important;
    border: 2px solid #ffffff !important;
  }

  .btn-quick-add svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Barra Fixa Flutuante da Sacola no Rodapé do Celular */
  .store-floating-bag {
    position: fixed !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 1000 !important;
    padding: 12px 18px !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }

  .bag-label {
    font-size: 12px !important;
  }

  .bag-total {
    font-size: 14px !important;
  }

  /* MODAL CENTRALIZADO NA TELA DO CELULAR */
  .product-options-sheet {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    background: rgba(15, 23, 42, 0.68) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border-radius: 0 !important;
    max-width: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }

  .product-options-sheet.active {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .product-options-sheet .sheet-content {
    width: 100% !important;
    max-width: 360px !important;
    max-height: 84vh !important;
    max-height: 84dvh !important;
    border-radius: 20px !important;
    margin: auto !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45) !important;
    transform: scale(0.92) !important;
    opacity: 0 !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
  }

  .product-options-sheet.active .sheet-content {
    transform: scale(1) !important;
    opacity: 1 !important;
  }

  .product-options-sheet .sheet-header-img {
    height: 140px !important;
  }
}

/* ==========================================================================
   Card de Informações do Restaurante (Conforme Imagem de Referência)
   ========================================================================== */
.restaurant-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin: -30px 14px 14px 14px;
  padding: 14px 16px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ric-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ric-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.ric-name {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  margin: 0;
  flex: 1;
  line-height: 1.25;
  font-family: var(--font-heading);
}

.ric-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ric-info-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.ric-info-svg {
  stroke: #475569;
  flex-shrink: 0;
}

.ric-divider {
  border: 0;
  height: 1px;
  background: #f1f5f9;
  margin: 12px 0 10px 0;
}

.ric-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #475569;
  line-height: 1.35;
}

.ric-row:last-child {
  margin-bottom: 0;
}

.ric-icon {
  stroke: #64748b;
  flex-shrink: 0;
  margin-top: 1px;
}

.ric-address-row {
  font-weight: 500;
  color: #475569;
}

.ric-address-text {
  word-break: break-word;
}

.ric-hours-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ric-hours-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.ric-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.ric-status-badge.open {
  color: #16a34a;
}

.ric-status-badge.closed {
  color: #dc2626;
}

.ric-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ric-status-dot.open {
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.ric-status-dot.closed {
  background: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.ric-delivery-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 2px;
}

.ric-del-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #475569;
  font-size: 13px;
}

/* Banner de Aviso de Loja Fechada */
.store-closed-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 0 14px 14px 14px;
  font-size: 12.5px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.store-closed-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #dc2626;
}

/* Modal de Informações da Loja */
.store-info-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.store-info-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-info-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.store-info-modal-body {
  padding: 20px;
  font-size: 13px;
}

.modal-info-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.modal-info-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.modal-info-store-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.modal-info-section {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.modal-info-sec-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.modal-info-sec-title svg {
  stroke: #64748b;
}

.modal-info-address {
  font-size: 13.5px;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.modal-info-text {
  font-size: 13.5px;
  color: #1e293b;
  margin: 0;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.modal-info-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.modal-info-stat .stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.modal-info-stat .stat-value {
  font-size: 12.5px;
  color: #0f172a;
  font-weight: 700;
  margin: 2px 0;
}

.modal-info-stat .stat-sub {
  font-size: 10px;
  color: #94a3b8;
}

.modal-payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.payment-badge-chip {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .restaurant-info-card {
    margin: -25px 10px 12px 10px;
    padding: 12px 14px;
  }

  .ric-name {
    font-size: 14.5px;
  }

  .ric-info-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .ric-delivery-row {
    gap: 12px;
    font-size: 12px;
  }

  .modal-info-grid {
    grid-template-columns: 1fr;
  }
}


