/* ========================================
   PIZZA STEPPER - FLUXO DE MONTAGEM
   ======================================== */

/* ========== OVERLAY PRINCIPAL ========== */
#overlay-pizza {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
}

.pizza-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.pizza-overlay-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 95vh;
  background: #f8fafc;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUpPizza 0.3s ease-out;
}

@keyframes slideUpPizza {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ========== HEADER DO OVERLAY ========== */
.pizza-overlay-header {
  flex-shrink: 0;
  padding: 1.6rem 2rem;
  background: white;
  border-radius: 24px 24px 0 0;
  border-bottom: 1px solid #e5e7eb;
}

.pizza-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.pizza-header-top h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.pizza-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  font-size: 1.6rem;
  transition: all 0.2s;
}

.pizza-close-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

/* ========== BARRA DE PROGRESSO ========== */
.pizza-progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.pizza-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #e5e7eb;
  transform: translateY(-50%);
  z-index: 0;
}

.pizza-progress-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #9ca3af;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.pizza-progress-step.active {
  background: var(--gradient-primary, linear-gradient(135deg, #3b82f6, #1d4ed8));
  color: white;
  transform: scale(1.1);
}

.pizza-progress-step.completed {
  background: #10b981;
  color: white;
}

.pizza-progress-step.completed::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.pizza-progress-step.completed span {
  display: none;
}

/* ========== TÍTULO DA ETAPA ========== */
#pizza-etapa-titulo {
  text-align: center;
  font-size: 1.4rem;
  color: #6b7280;
  margin-top: 1.2rem;
  font-weight: 500;
}

/* ========== CONTEÚDO SCROLLÁVEL ========== */
#pizza-stepper-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem;
  -webkit-overflow-scrolling: touch;
}

/* ========== LOADING STATE ========== */
.pizza-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.pizza-loading i {
  font-size: 3rem;
  margin-bottom: 1.6rem;
  color: #3b82f6;
}

.pizza-loading p {
  font-size: 1.6rem;
}

/* ========== ETAPA GENÉRICA ========== */
.pizza-etapa {
  animation: fadeInEtapa 0.3s ease-out;
}

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

.pizza-etapa-desc {
  font-size: 1.6rem;
  color: #374151;
  margin-bottom: 2rem;
  text-align: center;
}

.pizza-sabores-count {
  color: #3b82f6;
  font-weight: 600;
}

/* ========== LISTA DE OPÇÕES ========== */
.pizza-opcoes-lista {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pizza-opcao-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.pizza-opcao-card:hover {
  border-color: #93c5fd;
  background: #f0f9ff;
}

.pizza-opcao-card.selected {
  border-color: #3b82f6;
  background: #eff6ff;
}

.pizza-opcao-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pizza-opcao-nome {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2937;
}

.pizza-opcao-detalhe,
.pizza-opcao-preco {
  font-size: 1.4rem;
  color: #6b7280;
}

.pizza-opcao-preco {
  color: #059669;
  font-weight: 500;
}

.pizza-opcao-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  transition: all 0.2s;
}

.pizza-opcao-card.selected .pizza-opcao-check {
  background: #3b82f6;
}

/* ========== SABORES SELECIONADOS ========== */
.pizza-sabores-selecionados {
  background: white;
  border-radius: 12px;
  padding: 1.6rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
}

.pizza-sabores-vazio {
  text-align: center;
  color: #9ca3af;
  font-size: 1.4rem;
  padding: 1rem;
}

.pizza-sabor-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.pizza-sabor-card:last-child {
  margin-bottom: 0;
}

.pizza-sabor-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pizza-sabor-fracao {
  background: #3b82f6;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

.pizza-sabor-nome {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

.pizza-sabor-preco {
  font-size: 1.3rem;
  color: #6b7280;
}

.pizza-sabor-acoes {
  display: flex;
  gap: 0.8rem;
}

.pizza-sabor-adicionais-btn,
.pizza-sabor-remover {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.pizza-sabor-adicionais-btn {
  background: #dbeafe;
  color: #3b82f6;
}

.pizza-sabor-adicionais-btn:hover {
  background: #bfdbfe;
}

.pizza-sabor-adicionais-btn.has-items {
  background: #3b82f6;
  color: white;
}

.adicional-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pizza-sabor-remover {
  background: #fee2e2;
  color: #ef4444;
}

.pizza-sabor-remover:hover {
  background: #fecaca;
}

/* Adicionais do sabor (tags) */
.pizza-sabor-adicionais-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  background: #f0fdf4;
  border-radius: 0 0 8px 8px;
  margin-top: -0.8rem;
  margin-bottom: 0.8rem;
}

.pizza-adicional-tag {
  background: #dcfce7;
  color: #166534;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.2rem;
}

/* ========== LISTA DE SABORES DISPONÍVEIS ========== */
.pizza-sabores-lista {
  margin-top: 2rem;
}

.pizza-sabores-titulo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pizza-sabores-titulo i {
  color: #f59e0b;
}

.pizza-opcoes-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pizza-sabor-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.pizza-sabor-item:hover:not(.disabled) {
  border-color: #93c5fd;
}

.pizza-sabor-item.selected {
  border-color: #3b82f6;
  background: #eff6ff;
}

.pizza-sabor-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pizza-sabor-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.pizza-sabor-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pizza-sabor-item-nome {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

.pizza-sabor-item-desc {
  font-size: 1.2rem;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pizza-sabor-item-preco {
  font-size: 1.4rem;
  color: #059669;
  font-weight: 500;
}

.pizza-sabor-item-check {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #d1d5db;
}

.pizza-sabor-item.selected .pizza-sabor-item-check {
  color: #3b82f6;
}

/* ========== MODAL DE ADICIONAIS ========== */
.pizza-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s;
}

.pizza-modal-content {
  background: white;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: slideUpPizza 0.3s ease-out;
}

.pizza-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.pizza-modal-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.pizza-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
}

.pizza-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.pizza-adicional-grupo {
  margin-bottom: 2rem;
}

.pizza-adicional-grupo:last-child {
  margin-bottom: 0;
}

.pizza-adicional-grupo h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}

.pizza-adicional-itens {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pizza-adicional-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.pizza-adicional-item:hover {
  background: #f0f9ff;
}

.pizza-adicional-item.selected {
  border-color: #3b82f6;
  background: #eff6ff;
}

.pizza-adicional-nome {
  font-size: 1.4rem;
  color: #1f2937;
}

.pizza-adicional-preco {
  font-size: 1.3rem;
  color: #059669;
}

.pizza-adicional-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.pizza-adicional-item.selected .pizza-adicional-check {
  background: #3b82f6;
}

.pizza-modal-footer {
  padding: 1.6rem 2rem;
  border-top: 1px solid #e5e7eb;
}

.pizza-modal-btn {
  width: 100%;
  padding: 1.4rem;
  background: var(--gradient-primary, linear-gradient(135deg, #3b82f6, #1d4ed8));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pizza-modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ========== RESUMO ========== */
.pizza-resumo {
  background: white;
  border-radius: 16px;
  padding: 2rem;
}

.pizza-resumo-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #e5e7eb;
}

.pizza-resumo-nome {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.pizza-resumo-detalhes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pizza-resumo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
}

.pizza-resumo-item i {
  width: 24px;
  color: #3b82f6;
}

.pizza-resumo-item .label {
  color: #6b7280;
}

.pizza-resumo-item .valor {
  color: #1f2937;
  font-weight: 500;
}

.pizza-resumo-sabores {
  margin-top: 1rem;
}

.pizza-resumo-sabores-lista {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0 3.4rem;
}

.pizza-resumo-sabores-lista li {
  font-size: 1.4rem;
  color: #374151;
  padding: 0.4rem 0;
}

.pizza-resumo-sabores-lista small {
  color: #6b7280;
}

/* Observações */
.pizza-resumo-obs {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid #e5e7eb;
}

.pizza-resumo-obs label {
  display: block;
  font-size: 1.4rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.pizza-resumo-obs textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1.4rem;
  resize: none;
  font-family: inherit;
}

.pizza-resumo-obs textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Quantidade */
.pizza-resumo-quantidade {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid #e5e7eb;
}

.pizza-resumo-quantidade .label {
  font-size: 1.6rem;
  color: #374151;
  font-weight: 500;
}

.pizza-qty-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pizza-qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  color: #374151;
  transition: all 0.2s;
}

.pizza-qty-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.pizza-qty-btn:active {
  transform: scale(0.95);
}

.pizza-qty-value {
  min-width: 40px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

/* Total */
.pizza-resumo-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1.6rem;
  background: #f0fdf4;
  border-radius: 12px;
}

.pizza-resumo-total .label {
  font-size: 1.8rem;
  color: #374151;
  font-weight: 600;
}

.pizza-resumo-total .valor {
  font-size: 2.4rem;
  font-weight: 700;
  color: #059669;
}

/* ========== FOOTER DO OVERLAY ========== */
.pizza-overlay-footer {
  flex-shrink: 0;
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 2rem;
  padding-bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
  background: white;
  border-top: 1px solid #e5e7eb;
}

#pizza-btn-voltar {
  flex: 0 0 auto;
  padding: 1.4rem 2rem;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s;
}

#pizza-btn-voltar:hover {
  background: #e5e7eb;
}

#pizza-btn-proximo {
  flex: 1;
  padding: 1.4rem 2rem;
  background: var(--gradient-primary, linear-gradient(135deg, #3b82f6, #1d4ed8));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.2s;
}

#pizza-btn-proximo:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

#pizza-btn-proximo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== RESPONSIVO ========== */
@media (min-width: 768px) {
  .pizza-overlay-sheet {
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 90vh;
    border-radius: 24px;
    bottom: 20px;
  }

  @keyframes slideUpPizza {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .pizza-opcoes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .pizza-modal-content {
    border-radius: 24px;
    margin-bottom: 40px;
  }
}

/* ========== ADICIONAIS INLINE (1 SABOR) ========== */
.pizza-adicionais-inline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pizza-adicional-grupo-inline {
  background: white;
  border-radius: 12px;
  padding: 1.6rem;
  border: 1px solid #e5e7eb;
}

.pizza-adicional-grupo-titulo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.4rem 0;
}

.pizza-adicional-grupo-desc {
  font-size: 1.3rem;
  color: #6b7280;
  margin: 0 0 1.2rem 0;
}

.pizza-adicional-itens-inline {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pizza-adicional-item-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.pizza-adicional-item-inline:hover {
  border-color: #93c5fd;
  background: #f0f9ff;
}

.pizza-adicional-item-inline.selected {
  border-color: #3b82f6;
  background: #eff6ff;
}

.pizza-adicional-item-inline .pizza-adicional-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pizza-adicional-item-inline .pizza-adicional-nome {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1f2937;
}

.pizza-adicional-item-inline .pizza-adicional-preco {
  font-size: 1.3rem;
  color: #059669;
  font-weight: 500;
}

.pizza-adicional-item-inline .pizza-adicional-check {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #d1d5db;
  transition: all 0.2s;
}

.pizza-adicional-item-inline.selected .pizza-adicional-check {
  color: #3b82f6;
}

.pizza-adicional-item-inline .pizza-adicional-check i {
  transition: transform 0.2s;
}

.pizza-adicional-item-inline.selected .pizza-adicional-check i {
  transform: scale(1.1);
}

/* ========== ADICIONAIS POR SABOR (ETAPA 5) ========== */
.pizza-adicionais-por-sabor {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pizza-adicional-sabor-section {
  background: white;
  border-radius: 12px;
  padding: 1.6rem;
  border: 1px solid #e5e7eb;
}

.pizza-adicional-sabor-titulo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pizza-adicional-sabor-titulo i {
  color: #f97316;
}

/* ========== BOTÃO PULAR SABOR ========== */
.pizza-pular-sabor {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px dashed #d1d5db;
  text-align: center;
}

.pizza-btn-pular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.pizza-btn-pular:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #3b82f6;
}

.pizza-btn-pular i {
  font-size: 1.2rem;
}

/* ========== MODAL PREVIEW SABOR ========== */
#modal-preview-sabor {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
}

.preview-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.2s;
}

.preview-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90vh;
  background: white;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUpPizza 0.3s ease-out;
  overflow: hidden;
}

.preview-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.preview-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-size: 1.4rem;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.preview-close-btn:hover {
  background: white;
  transform: scale(1.05);
}

.preview-content {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.preview-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.8rem;
}

.preview-content > p {
  color: #6b7280;
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0 0 2rem;
}

.preview-precos {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.6rem;
  border: 1px solid #e5e7eb;
}

.preview-precos h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.preview-precos h3 i {
  color: #3b82f6;
}

.preview-preco-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.preview-preco-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.preview-preco-item:first-child {
  padding-top: 0;
}

.preview-preco-tamanho {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1f2937;
}

.preview-preco-valor {
  font-size: 1.5rem;
  color: #059669;
  font-weight: 600;
}

.preview-loading {
  text-align: center;
  padding: 1rem;
  color: #6b7280;
  font-size: 1.4rem;
}

.preview-loading i {
  margin-right: 0.5rem;
}

.preview-footer {
  display: flex;
  gap: 1rem;
  padding: 1.6rem 2rem;
  padding-bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e5e7eb;
  background: white;
  flex-shrink: 0;
}

.btn-preview-voltar {
  padding: 1.4rem 2rem;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s;
}

.btn-preview-voltar:hover {
  background: #e5e7eb;
}

.btn-preview-adicionar {
  flex: 1;
  padding: 1.4rem 2rem;
  background: var(--gradient-primary, linear-gradient(135deg, #3b82f6, #1d4ed8));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.2s;
}

.btn-preview-adicionar:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Responsivo para preview */
@media (min-width: 768px) {
  .preview-sheet {
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 85vh;
    border-radius: 24px;
    bottom: 20px;
  }

  .preview-image-wrapper {
    border-radius: 24px 24px 0 0;
  }
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
