* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #f5f5f5;
  padding-bottom: 70px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: white;
  padding: 0 17px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  z-index: 100;
  width: 100%;
}
.add-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.add-btn:disabled {
  background-color: #ccc;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  font-size: 18px;
  color: #333;
}

.nav-actions {
  display: flex;
  gap: 15px;
}
.nav-actions a {
  text-decoration: none;
  color: #333;
}
.cart-btn,
.profile-btn {
  background: none;
  border: none;
  font-size: 13px;
  color: #333;
  position: relative;
  cursor: pointer;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}

#cartCount {
  background: #0c9;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-content {
  display: flex;
  align-items: center;
  gap: 5px;
}

.user-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  background: white;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 1000;
}

.profile-btn.active .user-menu {
  display: block;
}

.user-menu-item {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  cursor: pointer;
}

.user-menu-item:hover {
  background: #f5f5f5;
  color: #0c9;
}

.user-menu-item.logout {
  color: #0c9;
  border-top: 1px solid #eee;
  margin-top: 5px;
  padding-top: 15px;
}

/* Imagem de capa */
.header-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .header-image {
    height: 200px;
  }
}

/* Card do restaurante */
.restaurant-card {
  background: white;
  margin: 20px;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  top: -50px;
}

.restaurant-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.restaurant-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.restaurant-info h2 {
  font-size: 18px;
  color: #333;
}

.rating {
  font-size: 14px;
  color: #ff9500;
  margin-top: 3px;
}

.delivery-time {
  font-size: 14px;
  color: #666;
  margin: 8px 0;
}

.see-more {
  color: #0c9;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.open-status {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Usando as classes que já existem */
.open-status.aberto {
  color: #22c55e;
}

.open-status.fechado {
  color: #ef4444;
}

/* Adicionando classe para intervalo se precisar */
.open-status.intervalo {
  color: #f59e0b;
}

.instagram-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #ff2c75;
  font-size: 20px;
}

/* Barra de busca */
.search-bar {
  margin: 0 8px 5px;
  background: white;
  border-radius: 30px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .search-bar {
    margin: 0px 14px 5px;
    top: -30px;
    position: relative;
  }
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
}

.search-icon {
  color: #666;
  font-size: 18px;
}

.categories {
  position: sticky;
  top: 60px; /* margin do topo */
  z-index: 99;
  background-color: whitesmoke;
  display: flex;
  overflow-x: auto;
  padding: 0 20px 15px;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

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

.category-btn {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  text-transform: lowercase;
}

.category-pink {
  background: #0c9;
  color: white;
}

.category-gray {
  background: #e0e0e0;
  color: #333;
}

/* Seção de produtos */
.section-title {
  margin: 20px 20px 10px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.product-card {
  background: white;
  /*margin: 10px 20px;*/
  padding: 15px;
  border-radius: 15px;
  display: flex;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-info {
  flex: 1;
  padding-right: 10px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.product-description {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description-modal {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
  max-height: 10.6em;
  overflow-y: auto;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: #00c851;
}

.box-product {
  position: relative;
}

.product-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

.add-btn {
  width: 30px;
  height: 30px;
  background: #0c9;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Modal de autenticação */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

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

.modal {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  padding: 20px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
}

.auth-tab.active {
  color: #0c9;
  border-bottom: 2px solid #0c9;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  background: #0c9;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

/* Modal do carrinho */
.cart-modal-content {
  max-height: 70vh;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 15px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-item-price {
  color: #00c851;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.qty-control {
  display: flex;
  align-items: center;
}

.qty-btn {
  width: 25px;
  height: 25px;
  background: #f5f5f5;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.qty-input {
  width: 40px;
  text-align: center;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
}

.cart-summary {
  padding: 15px 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.update-cart-btn {
  width: 100%;
  padding: 10px;
  background: #f5f5f5;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: #0c9;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.continue-btn {
  width: 100%;
  padding: 12px;
  background: #0c9;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.empty-cart {
  text-align: center;
  padding: 30px 0;
}
.empty-cart a {
  text-decoration: none;
  color: white;
}
.empty-cart img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.empty-cart p {
  margin-bottom: 15px;
  color: #666;
}

.continue-shopping {
  padding: 10px 20px;
  background: #0c9;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}

/* Navegação Mobile */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: none;
  justify-content: space-around;
  padding: 8px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  font-size: 12px;
  flex: 1;
}

.mobile-nav-item.active {
  color: #0c9;
}

.mobile-nav-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

/* Footer tradicional */
.footer {
  color: #fff;
  padding: 30px 20px 20px;
  margin-top: 40px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-bottom {
  padding-top: 15px;
  text-align: center;
  margin-top: 20px;
}

.copyright,
.app-version {
  font-size: 12px;
  color: #aaa;
  margin: 5px 0;
  line-height: 20px;
}
.copyright a {
  color: #6c5ce7;
  text-decoration: none;
}
.version-app {
  margin: 0;
  font-size: 12px;
  color: #aaa;
}
/* Efeitos de hover e animações */
.add-btn:hover {
  transform: scale(1.1);
}

.add-btn.added {
  background: #00c851;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 0.6s;
}

/* Responsividade */
@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
  }

  .logo h1 {
    display: none;
  }
}
/* Estilo para o grupo de CEP */
.cep-input-group {
  position: relative;
  display: flex;
}

.cep-input-group input {
  padding-right: 40px;
}

.cep-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
  transform: translateX(0);
}

.toast.toast-error {
  background: #e74c3c;
}

.toast-icon {
  font-size: 18px;
}

.toast-message {
  font-weight: 500;
}
.toast.toast-success {
  background: #0c9;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: white;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

/* Auth Modal */
.auth-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.auth-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.auth-btn:hover {
  background: var(--primary-hover);
}

/* Cart Modal */
.cart-modal-content h2 {
  margin-bottom: 20px;
  color: #333;
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
}

.empty-cart img {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-cart p {
  color: #666;
  margin-bottom: 20px;
}

.cart-items {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.item-info h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #333;
}

.item-price {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 8px;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: #f5f5f5;
}

.quantity {
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.cart-item-total {
  font-weight: 600;
  color: #333;
}

.remove-item {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 16px;
}

.remove-item:hover {
  background: #fee;
}

.cart-summary {
  border-top: 2px solid #eee;
  padding-top: 20px;
}

/* User Menu */
.user-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
}
.checkout-options {
  display: flex;
  flex-direction: column;
  align-content: center;
  text-align: center;
  gap: 8px;
}
.checkout-options a {
  text-decoration: none;
}
.user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.user-menu-item:hover {
  background: #f5f5f5;
}

.user-menu-item.logout {
  color: #e74c3c;
  border-top: 1px solid #eee;
}

.user-menu-item.logout:hover {
  background: #fee;
}

/* Responsive */
@media (max-width: 768px) {
  .modal {
    width: 95%;
    padding: 20px;
  }

  .cart-item {
    gap: 8px;
  }

  .cart-item-image {
    width: 50px;
    height: 100%;
  }

  .toast {
    right: 10px;
    left: 10px;
    width: auto;
    top: 70px;
  }
}
.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-score {
  font-size: 1.1em;
  font-weight: 600;
  color: #1f2937;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 16px;
  height: 16px;
  position: relative;
}

.star svg {
  width: 100%;
  height: 100%;
}

.star-bg {
  fill: #e5e7eb;
}

.star-fill {
  fill: #fbbf24;
}

/*Css modal new*/

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  display: none;
  z-index: 1000;
}
.toast-success {
  background: #28a745;
  color: white;
}
.toast-error {
  background: #dc3545;
  color: white;
}
.toast.show {
  display: flex;
  align-items: center;
}
.toast-icon {
  margin-right: 10px;
}

/* Estilos gerais para o modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.modal {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #333;
}

/* Estilos para os passos do checkout */
.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.step {
  padding: 12px;
  background: #f5f6fa;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
}

.step.active {
  background: #3b82f6;
  color: #ffffff;
  font-weight: 600;
}

.step.active:after {
  content: "\2713";
  position: absolute;
  right: 12px;
  font-size: 18px;
  color: #ffffff;
}

.step:not(.active) {
  cursor: pointer;
}

.step:not(.active):hover {
  background: #e5e7eb;
}

/* Estilos para opções de entrega */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.delivery-option {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
}

.delivery-option:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.delivery-option input {
  margin-right: 12px;
  accent-color: #3b82f6;
}

.option-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.option-content i {
  font-size: 24px;
  color: #3b82f6;
  margin-right: 12px;
}

.option-content span {
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
}

.option-content small {
  font-size: 14px;
  color: #6b7280;
}

.delivery-details {
  margin-top: 12px;
  width: 100%;
}

.delivery-details select,
.delivery-details input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.delivery-details select:focus,
.delivery-details input[type="text"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Estilos para métodos de pagamento */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-method input {
  margin-right: 12px;
  accent-color: #3b82f6;
}

.method-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.method-content i {
  font-size: 24px;
  color: #3b82f6;
  margin-right: 12px;
}

.method-content span {
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
}

.method-content small {
  font-size: 14px;
  color: #6b7280;
}

/* Estilos para formulários */
.form-group {
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

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

/* Estilos para resumo do pedido */
.order-summary {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.order-summary h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
  color: #4b5563;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-weight: 600;
  font-size: 16px;
  color: #1f2937;
}

.summary-details {
  margin-top: 16px;
}

.summary-details p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
}

.summary-details p strong {
  color: #1f2937;
}

/* Estilos para autenticação */
.auth-choice {
  text-align: center;
  margin-bottom: 20px;
}

.auth-choice-btn {
  width: 48%;
  margin: 8px;
  padding: 12px;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}

.auth-choice-btn:hover {
  background: #2563eb;
}

.back-to-choice {
  display: block;
  margin-bottom: 16px;
  background: #f9f9f9;
  border: 1px solid #d1d5db;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
}

.error-message {
  font-size: 13px;
  color: #dc2626;
  margin-top: 8px;
}

/* Estilos para botões */
.checkout-btn,
.next-step-btn,
.prev-step-btn,
.confirm-order-btn,
.auth-submit-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s;
}

.checkout-btn {
  background: #3b82f6;
  color: #ffffff;
}

.checkout-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.next-step-btn {
  background: #3b82f6;
  color: #ffffff;
}

.next-step-btn:hover {
  background: #2563eb;
}

.prev-step-btn {
  background: #e5e7eb;
  color: #4b5563;
}

.prev-step-btn:hover {
  background: #d1d5db;
}

.confirm-order-btn {
  background: #22c55e;
  color: #ffffff;
}

.confirm-order-btn:hover {
  background: #16a34a;
}

.auth-submit-btn {
  background: #3b82f6;
  color: #ffffff;
}

.auth-submit-btn:hover {
  background: #2563eb;
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

/* Estilos para toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 24px;
  border-radius: 8px;
  display: none;
  z-index: 1000;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toast-success {
  background: #22c55e;
  color: #ffffff;
}

.toast-error {
  background: #dc2626;
  color: #ffffff;
}

.toast.show {
  display: flex;
}

.toast-icon {
  margin-right: 10px;
  font-size: 20px;
}

/* Responsividade */
@media (max-width: 480px) {
  .modal {
    padding: 16px;
    max-width: 95%;
  }

  .step {
    font-size: 14px;
    padding: 10px;
  }

  .delivery-option,
  .payment-method {
    padding: 12px;
  }

  .auth-choice-btn {
    width: 100%;
    margin: 8px 0;
  }

  .step-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .next-step-btn,
  .prev-step-btn,
  .confirm-order-btn,
  .auth-submit-btn {
    width: 100%;
  }
}
#checkoutModal {
  z-index: 1000;
}
#authModal {
  z-index: 900;
}
