@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --cor-principal: #fff;
  --cor-secundaria: #000;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

  p, label, span, a, li, h1, h2, h3, h4, h5, h6, button {
    font-family: 'Poppins', sans-serif;
  }

    #loader-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #fff;
      z-index: 111000;
    }

    #loader {
      width: 64px;
      height: 64px;
    }

    #loaderContainer {
      display: flex;
      position: fixed;
      z-index: 1000000;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      justify-content: center;
      align-items: center;
      width: 45px;
      height: 45px;
    }

    .loaderAdd i {
      font-size: 40px;
      animation: spin 1s linear infinite;
    }

    .button.is-outlined.selected {
      border-color: #28a745;
      background-color: #dff0d8;
      color: #155724;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }  
    .loader::before {
      content: '';
      display: block;
      width: 50px;
      height: 50px;
      border: 5px solid #fff;
      border-radius: 50%;
      border-top-color: transparent;
      animation: spin 1s linear infinite;
    }

    .delete-observacao {
      position: absolute;
      top: 10px;
      right: 10px;
      text-decoration: none;
      color: #f44336; /* Cor vermelha */
      font-size: 12px;
      cursor: pointer;
    }
    
    .delete-observacao:hover {
      text-decoration: underline;
    }

.subtitle.is-7 {
  margin: 0;
}

.modal .box {
  border-radius: 10px;
  padding: 20px;
  width: 100%;
}

.social-links a:hover {
  color: blue;
}

.total-adicionais {
  margin-top: 15px;
  font-weight: bold;
}

#productQuantity {
  width: 42px;
  height: 42px;
  padding: 0;
}

.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--cor-principal);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all .5s ease;
}

.field.has-addons  {
  align-items: center;
}

.progress-container {
  width: 100%;
  height: 10px;
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, #5b8de0, #3a6bb1);
  transition: width 0.8s ease;
}

.footer {
  padding-bottom: 150px !important;
}

footer {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

svg path {
  stroke: var(--cor-secundaria);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}
.animate path {
  animation: desenhar 15s ease forwards;
}
svg:hover path {
  stroke: var(--cor-principal);
  stroke-width: 0;
  fill: var(--cor-secundaria);
  transition: stroke 1s ease, stroke-width 1s ease, fill 2s ease;
}
@keyframes desenhar {
  to {
    stroke-dashoffset: 0;
  }
}
.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: none;
  margin: 0 8px;
  cursor: pointer;
  min-width: 100px;
  border-radius: 8px;
}
.modal-image-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}
.desconto-badge {
    background-color: #dc3545;
    color: white;
    font-size: .75rem;
    padding: 4px 8px;
    border-radius: 8px 0 0 8px;
    font-weight: bold;
    position: absolute;
    bottom: 64px;
    right: 0;
}
.riscado {
  text-decoration: line-through;
  color: gray !important;
  margin-right: 4px;
}
.contentPiza {
  width: 300px;
}

.prev-btn, .next-btn {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #000;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.prev-btn:active, .next-btn:active {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(0);
}

.prev-btn:focus, .next-btn:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

.modal-image {
  transition: transform 0.5s ease-in-out;
  transform: translateX(0);
  opacity: 1;
}
.slide-in {
  transform: translateX(100%);
  opacity: .5;
}
.slide-out {
  transform: translateX(-100%);
  opacity: .5;
}
.social-links a {
  margin: 0 10px;
  font-size: 24px; 
}

.card-image:first-child img {
  object-fit: contain;
}

.titulo {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  max-width: 90%;
}

.hidden {
  display: none;
}

.diviPratos {
display: flex; overflow: auto;
}

.title.is-5 {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 8px !important;
}

.cardPiza {
  border-radius: 8px;
  box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.1);
  margin: 20px 10px;
  padding: 5px;
  width: 200px;
  min-width: 200px;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.cardPiza:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background-color: #fafafa;
  transition: all .3s ease;
} 

#buscaPratos .cardPiza {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

#buscaPratos .cardPiza:hover {
  transform: none;
  box-shadow: none;
  cursor: pointer;
} 

#buscaPratos img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

#buscaPratos {
  gap: 8px;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.modal-card-head, .modal-card-foot {
  border-radius: 0;
  justify-content: space-between;
}

.modal-card-title {
  max-width: 90%;
}

.modal-content {
  width: 100%;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  max-width: 640px;
  overflow-x: hidden;
  background-color: white;
}
#modalPizzaDescription {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  text-transform: capitalize;
}
#modalThumbnails {
  display: flex;
  margin-bottom: 16px;
  overflow-x:auto;
  max-width: 100%;
  overflow-y: hidden;
}
#modalPizzaPrice{
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 20px;
}
.input-busca {
  max-width: 500px;
  width: 90%;
  padding: 10px;
  margin: 20px 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2;
}
.close:hover {
  color: #333;
}
.pizza-name {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pizza-price, .preco-desconto {
  font-weight: bold;
  margin: 5px;
}
#barraInferior {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: var(--cor-principal); 
  padding: 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgb(230, 229, 229);
  z-index: 100; 
}

.icone-barra {
  font-size: 1.2rem;
}

.media-left figure img {
  border-radius: 8px;
}

.social-links a:hover {
  color: blue !important;
}

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

.installPrompt {
  position: fixed;
  margin: auto;
  bottom: 150px;
  left: 8px;
  right: 8px;
  transform: translateX(-50%);
  background-color: #fff;
  border: 2px solid #e0f7fa;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px 2px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 10000;
  display: none;
  opacity: 0;
  max-width: 500px;
}

#permissaoNotificacao {
  transform: translateX(0) !important;
}

#installPrompt.show {
  display: block;
  animation: slideIn 0.5s forwards;
  opacity: 1;
}

#installPrompt p {
  margin: 0 0 10px 0;
}

.btnInstall, .btnCancel {
  padding: 10px 15px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btnInstall {
  background-color: #4CAF50;
  color: white;
}

.btnInstall:hover {
  background-color: #45a049;
}

.btnCancel {
  background-color: #f44336;
  color: white;
}

.btnCancel:hover {
  background-color: #d32f2f;
}


.estrela {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}

.estrela.selecionada {
  color: gold;
}

.pedido {
  position: relative;
  border: solid 1px #ddd;
}

.marca-dagua {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #ff00008c;
  text-transform: uppercase;
  font-weight: bold;
  pointer-events: none;
  z-index: 1;
}

.avaliado {
  opacity: 0.6;
}

.modal-price {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#modalPizzaSize {
  font-size: 1.2rem;
  font-weight: 400;
  color: red;
  margin-top: 20px;
  font-style: italic;
  margin-left: 10px;
}

.toast-notification {
  /* Posicionamento fixo no canto superior direito */
  position: fixed;
  top: 20px;
  right: 20px;
  
  /* Design e Estilo */
  display: flex; /* Alinha ícone e texto lado a lado */
  align-items: center;
  padding: 15px 20px;
  border-radius: 8px; /* Bordas mais suaves */
  background-color: #fff; /* Fundo branco para um look mais clean */
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra para dar profundidade */
  font-size: 16px;
  z-index: 100000;
  
  /* Animação de entrada e saída */
  transform: translateX(120%); /* Começa fora da tela */
  transition: transform 0.5s ease-in-out;
  
  /* Para a barra de progresso */
  overflow: hidden; 
  max-width: 350px;
  
  /* Visibilidade inicial */
  visibility: hidden;
}

/* Estado visível do toast */
.toast-notification.show {
  transform: translateX(0);
  visibility: visible;
}

/* Ícone dentro do toast */
.toast-notification .icon {
  margin-right: 12px;
  font-size: 1.5em; /* Ícone maior e mais visível */
  line-height: 1;
}

/* Barra de progresso na base do toast */
.toast-notification::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  animation: progress-bar 3s linear forwards;
}

/* Animação da barra de progresso */
@keyframes progress-bar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* Cores e ícones para cada tipo de notificação */

/* Sucesso */
.toast-notification.success {
  border-left: 5px solid #28a745;
}
.toast-notification.success .icon {
  color: #28a745;
}

/* Erro */
.toast-notification.error {
  border-left: 5px solid #dc3545;
}
.toast-notification.error .icon {
  color: #dc3545;
}

/* Informação */
.toast-notification.info {
  border-left: 5px solid #007BFF;
}
.toast-notification.info .icon {
  color: #007BFF;
}

.fieldSwitch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e2e2e2;
    flex-wrap: wrap;
  }


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider.round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.3s;
}

.slider.round::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider.round {
  background-color: #00d1b2; /* verde Bulma */
}

.switch input:checked + .slider.round::before {
  transform: translateX(22px);
}

.aMenu {
  color: #333;
}

.aMenu i {
  font-size: 1.5rem;
}

.pizza-description {
  margin: auto;
  width: 90%;  text-transform: capitalize;
  letter-spacing: 0.5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.button.is-small {
  width: 40px;
  height: 40px;
}

.contador-produtos {
  background-color: #485fc7;
  color: white;
  padding: 1px 6px;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: bold;
  position: absolute;
  top: 2px;
}

.button.is-fullwidth {
  width: 100%;
}

.opcao {
  color: #333;
  opacity: 0.6;
}

.tabs.is-centered.is-boxed {
    background-color: #ffffff;
    border-bottom: 1px solid #dbdbdb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fonte mais moderna */
    transition: all 0.3s ease-in-out;
}

/* Estilo para as abas (links) */
.tabs.is-boxed li a {
    border-radius: 6px 6px 0 0;
    color: #4a4a4a;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-bottom: 1px solid #dbdbdb;
}

/* Efeito ao passar o mouse sobre a aba */
.tabs.is-boxed li:not(.is-active) a:hover {
    background-color: #f5f5f5;
    color: #00796b;
}

/* Estilo da aba ativa */
.tabs.is-boxed li.is-active a {
    background-color: #fff;
    border-color: #dbdbdb;
    border-bottom-color: #00796b !important;
    color: #00796b;
    font-weight: 600;
    border-bottom-width: 3px !important;
}

/* Barra de abas fixa */
.tabs.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra para dar profundidade */
}



.cart-indicator {
  position: fixed;
  bottom: 51px;
  right: 0;
  background-color: #485fc7;
  color: white;
  padding: 10px 20px;
  width: 100%;
  box-shadow: 0 -2px 6px 1px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-indicator:hover {
  background-color: #485fc7;
  color: #fff;
}

.total-items {
  font-weight: bold;
}

.total-price {
  font-weight: bold;
  color: white;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  gap: 8px;
  border-bottom: 1px solid #ddd;
}

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

.cart-item-details {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
}
.cart-item-details p {
  font-size: 12px;
  text-transform: uppercase;
}

.cart-item-controls {
  display: flex;
  align-items: center;
}

.cart-item-controls input {
  width: 62px; text-align: center;
}

.total-section {
  margin-top: 20px;
  text-align: right;
}

.lixera {
  background-color: transparent;
  border: none;
}

.pizza-size-options {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  margin-top: 20px;
}

.size-option {
  position: relative;
  cursor: pointer;
}

.size-option input[type="radio"] {
  display: none;
}

.option-content {
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.option-content i {
  font-size: 1.5rem;
}

.size-option input[type="radio"]:checked + .option-content {
  border-color: #00796b;
  background-color: #e0f7fa;
}

.size-option:hover .option-content {
  border-color: #999;
}

.checkbox {
  font-size: 20px;
  margin: 2px;
}

.pizza-select {
  width: 100%;
  border-radius: 8px;
}

.pizza-select h3 {
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: black;
}

.pizza-list {
  display: flex;
  overflow: auto;
  gap: 10px;
  height: auto;
  overflow-y: hidden;
  padding: 10px;
}

.pizza-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.1);
}

.pizza-item:hover {
  transform: scale(1.05);
  border: none;
}

.pizza-item img {
  height: auto;
  border-radius: 8px;
}

.pizza-item h4 {
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  color: #5d4037;
}

.pizza-item.selected {
 background-color: #e0f7fa;
  border: 2px solid #00796b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.banner {
  position: relative;
  max-width: 1200px;
  min-height: 300px;
  margin: 20px auto;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  background: url('../img/bannerDoisSabores.webp') no-repeat center;
  background-size: cover;
  padding: 0 !important;
}

.banner-content {
  display: flex;
  height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
}

.banner-content .title {
  font-size: 2.2rem;
  font-weight: bold;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 15px;
  color: white !important;
}

.banner-button {
  background-color: #ffae00;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background-color 0.2s;
}

.banner-button i {
  margin-right: 8px;
}

.banner-button:hover {
  background-color: #e69b00;
  transform: scale(1.05);
}
.ocultado {
  display: none;
}

.wheel-container {
  position: relative;
  width: 85vw;
  max-width: 500px;
  height: 85vw;
  max-height: 500px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  margin: 0 auto;
}
/* Canvas da roleta: usamos uma transição com desaceleração */
#wheelCanvas {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  /* Duração definida em JS para maior flexibilidade */
}
/* Logo central */
.logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-weight: bold;
  font-size: 16px;
  z-index: 1;
}
/* Ponteiro fixo no topo */
.pointer {
  margin: auto;
  margin-bottom: 12px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid black;
  z-index: 2;
}

.spin-button {
  margin: auto;
}

.progress-containerDois {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  margin: 20px auto;
}

/* Linha de fundo da barra */
.progress-containerDois::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 4px;
  background-color: #ddd;
  z-index: 1;
}

/* Barra de progresso (se ajusta conforme as etapas) */
.progress {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  background-color: #4caf50;
  width: 0%;
  z-index: 2;
  transition: width 0.4s ease;
}

/* Estilo dos círculos das etapas */
.circle {
  width: 30px;
  height: 30px;
  background: #fff;
  border: 3px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* Círculo ativo (etapa concluída) */
.circle.active {
  background: #e0f0d9;
  border-color: #4caf50;
}

.card-resumo {
  padding: 12px;
  background-color: lightgoldenrodyellow;
  border-radius: 6px;
  border-left: 4px solid #4caf50;
}

#pedidosAbertos {
  position: fixed;
  bottom: 120px;
  right: 20px;
}
#horarioEntrega {
  width: 100%;
}

#horarioSelecionado {
  color: #3273dc;
}
.franja {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: pulseFranja 2s infinite;
  margin-top: 1rem;
}
.franja:hover {
  background-color: #0056b3;
}

.total-price-sacola .title.is-5 {
  font-weight: bold;
  color: #363636;
  padding-top: 10px;
}

.editar-endereco {
  color: #007bff;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 10px;
  transition: color 0.2s;
}

.editar-endereco:hover {
  color: #0056b3;
}

hr {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  margin: 12px 0;
}

.pizza-icon {
  font-size: 2rem;
  margin: 0 5px;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}
.pizza-icon.disabled {
  color: #ccc; /* cor para o ícone desativado */
}
.pizza-icon.colored {
  color: #FF6347; /* cor destacada (tomate) para o ícone */
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes pulseFranja {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.tabs li.is-active a {
  color: black;
  font-weight: bold;
}
 .order-switch {
    display: inline-flex;
    align-items: center;
    background: #ffffffcc;
    padding: 4px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
    user-select: none;
    margin: auto;
  }
  .order-switch .switch-btn {
    align-items: center;
    gap: 8px;
    padding: 8px 16px; /* Aumentei um pouco o padding */
    border-radius: 999px;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    font-weight: 600;
    color: #444;
    transition: all .2s ease;
  }
  .order-switch .switch-btn i { font-size: 1.0rem; width: 18px; text-align: center; }
  .order-switch .switch-btn.active {
    background-color: #00796b;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(31,165,106,0.18);
  }
  .order-switch .switch-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(79,193,141,0.3);
  }

#fixarCategoria {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.pagamento-opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagamento-opcoes .button {
  flex: 1 1 calc(50% - 8px);
  justify-content: center;
  align-items: center;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.pagamento-opcoes .button i {
  margin-right: 6px;
  font-size: 1.1rem;
}
.pagamento-opcoes .button.ativo {
  background-color: #00d1b2;
  color: white;
  border-color: #00d1b2;
}

.enderecos-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1rem 0;
}

.endereco-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.endereco-card:hover {
  background: #f0f8ff;
}

.endereco-card.selecionado {
  border-color: #00d1b2;
  background: #e8fffa;
}

.endereco-info {
  flex: 1;
  margin-left: 8px;
}

.endereco-info strong {
  display: block;
  color: #363636;
  font-weight: 600;
}

.endereco-info small {
  color: #7a7a7a;
}

.endereco-acoes {
  display: flex;
  gap: 8px;
}

.endereco-acoes .icon {
  color: #ff3860;
  cursor: pointer;
  transition: transform 0.2s;
}

.endereco-acoes .icon:hover {
  transform: scale(1.2);
}

.add-endereco-btn {
  background-color: #f1f1f1;
  border: none;
  color: #363636;
  font-weight: 500;
}

.continuar-btn {
  margin-top: 0.5rem;
}

.cortesia-nex07 {
  font-size: 1.2rem;
  color: #00c48c;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  animation: popIn 0.6s ease;
}

.shine-text {
  background: linear-gradient(90deg, #ffd700, #ff9900, #fff4c2);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: shine 2s linear infinite;
}

@keyframes shine {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Confetes animados */
.confete {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.9;
  animation: cair 2.5s linear forwards;
  z-index: 9999;
}

@keyframes cair {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.observacao-section {
  cursor: pointer;
  padding: 10px;
  border: 1px dashed #ccc;
  margin: 10px;
  position: relative;
  border-radius: 32px;
  text-align: center;
}

.sugestoes-container {
    margin-top: 1.5rem;
}

.sugestoes-title {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-sugestao {
    background-color: #f0f0f0;
    color: #363636;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-sugestao:hover {
    background-color: #3498db;
    color: #fff;
}

.tag-sugestao .delete-tag {
    font-size: 0.8rem;
    color: #999;
}

.tag-sugestao:hover .delete-tag {
    color: #fff;
}

.pizza-flow-container {
  background: linear-gradient(145deg, #2c3e50, #34495e);
  display: flex;
  flex-direction: column;
  color: white;
  padding: 0 !important;
}

/* O palco onde a mágica acontece */
.pizza-stage {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 0;
  overflow: hidden; /* Previne qualquer overflow indesejado */
}

/* Carrosséis de Sabores */
.flavor-selector {
  height: 80%; /* Altura do carrossel */
  width: 35%;
  overflow-y: scroll;
  /* A MÁGICA DO SNAP SCROLL */
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch; /* Melhora a fluidez no iOS */
  scrollbar-width: none; /* Esconde a barra de rolagem (Firefox) */
}
.flavor-selector::-webkit-scrollbar {
  display: none; /* Esconde a barra de rolagem (Chrome, Safari) */
}

.flavor-item {
  height: 150px; /* Altura de cada item, crucial para o cálculo */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* PONTO DE ALINHAMENTO DO SNAP */
  scroll-snap-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(0.7); /* Itens inativos são menores */
  opacity: 0.5; /* Itens inativos são mais transparentes */
}

.flavor-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}

.flavor-item h4 {
  font-size: 0.9rem;
  font-weight: bold;
}

/* Estilo para o item ATIVO (o que está no centro) */
.flavor-item.is-active {
  transform: scale(1);
  opacity: 1;
}

/* Visualizador da Pizza Central */
.pizza-visualizer-flow {
  width: 180px;
  height: 180px;
  min-width: 180px;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1), inset 0 0 25px rgba(0,0,0,0.4);
  display: flex;
  overflow: hidden;
  position: relative;
  transform: rotate(-15deg); /* Um toque de estilo */
}

.half-pizza-flow {
  width: 50% !important;
  height: 100%;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

:root {
    --bg-color: #000000;
    --card-bg: #141414;
    --accent: #FF4500; /* Laranja Pizza */
    --gold: #FFD700;
    --text: #FFFFFF;
    --sub-text: #A0A0A0;
    --font-main: 'Helvetica Neue', sans-serif;
}

/* --- Banner Estático --- */
.premium-banner {
    width: 95%; max-width: 500px; margin: 15px auto;
    cursor: pointer; font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
}
.banner-glass {
    background: linear-gradient(135deg, #1f1f1f, #0a0a0a);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px; padding: 12px 16px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}
.premium-banner:active .banner-glass { transform: scale(0.98); }

.banner-icon-box { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.pulse-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: 50%; animation: pulse 2s infinite; opacity: 0; }
.banner-info { flex: 1; display: flex; flex-direction: column; }
.banner-mini-label { font-size: 0.65rem; color: var(--gold); letter-spacing: 1px; font-weight: 700; }
.banner-title { color: white; font-size: 1rem; }
.banner-arrow { color: #555; font-size: 0.8rem; }

/* --- Overlay & Stories --- */
.retro-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color); z-index: 99999;
    display: none; align-items: center; justify-content: center;
    font-family: var(--font-main); opacity: 0; transition: opacity 0.3s;
}
.retro-overlay.active { display: flex; opacity: 1; }

.retro-frame {
    width: 100%; height: 100%; max-width: 480px;
    position: relative; display: flex; flex-direction: column;
    background: radial-gradient(circle at top, #222 0%, #000 80%);
}

/* BARRAS DE PROGRESSO (Corrigido) */
.story-header { padding: 10px; width: 100%; box-sizing: border-box; position: absolute; top: 0; z-index: 20; }
.bars-wrapper { display: flex; gap: 4px; width: 100%; height: 3px; }

.bar-segment {
    flex: 1; /* Isso garante que todas tenham o mesmo tamanho */
    background: rgba(255,255,255,0.25);
    border-radius: 2px; overflow: hidden;
    position: relative;
}
.bar-fill {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 0%; background: white;
    /* Transição controlada via JS */
}

.header-actions { margin-top: 10px; text-align: right; }
.btn-close { background: none; border: none; color: white; font-size: 1.5rem; opacity: 0.8; padding: 5px 10px; cursor: pointer; }

/* Conteúdo */
.story-content {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; color: white; padding: 20px;
    position: relative; z-index: 10;
}

/* Animações e Tipografia */
.anim-up { animation: slideUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

.big-stat { font-size: 4.5rem; font-weight: 800; line-height: 1; margin: 10px 0; letter-spacing: -2px; }
.label-stat { color: var(--sub-text); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.highlight { color: var(--accent); }
.gold { color: var(--gold); }

.ranking-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: black; padding: 5px 15px; border-radius: 20px;
    font-weight: 800; display: inline-block; margin-bottom: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.fatia-icon { font-size: 2rem; vertical-align: middle; margin-left: 10px; }

.nex-credits { margin-top: 50px; opacity: 0.5; font-size: 0.7rem; letter-spacing: 1px; border-top: 1px solid #333; padding-top: 10px; width: 80%; }

/* Navegação */
.tap { position: absolute; top: 80px; bottom: 0; z-index: 15; }
.left { left: 0; width: 30%; }
.right { right: 0; width: 70%; }

@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }


:root {
    --bg-deep: #000000;
    --glass: rgba(255, 255, 255, 0.08);
    --neon-orange: #FF5722;
    --neon-gold: #FFD700;
    --neon-blue: #00E5FF;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --font-stack: 'Inter', 'Roboto', sans-serif; /* Use fonte sem serifa grossa */
}

/* --- BANNER ESTILO CARTÃO BLACK --- */
.titan-banner {
    width: 95%; max-width: 550px; margin: 20px auto;
    font-family: var(--font-stack); cursor: pointer;
    perspective: 1000px;
}
.titan-glass {
    background: linear-gradient(135deg, #1a1a1a, #050505);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px; padding: 18px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}
.titan-banner:active .titan-glass { transform: scale(0.97); }
.titan-icon {
    position: relative; width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.spinner-border {
    position: absolute; width: 100%; height: 100%;
    border: 2px solid var(--neon-orange); border-top-color: transparent;
    border-radius: 50%; animation: spin 2s linear infinite;
}
.titan-info { flex: 1; display: flex; flex-direction: column; }
.titan-label { font-size: 0.7rem; color: var(--neon-gold); letter-spacing: 2px; font-weight: 800; }
.titan-title { color: white; font-size: 1.2rem; font-weight: 700; }
.titan-arrow { color: #ffffff; font-size: 2rem; font-weight: 300; }

/* --- OVERLAY & CONTENT --- */
.retro-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-deep); z-index: 99999;
    display: none; align-items: center; justify-content: center;
    font-family: var(--font-stack);
}
.retro-overlay.active { display: flex; animation: fadeIn 0.4s ease; }

.retro-stage {
    width: 100%; height: 100%; max-width: 500px;
    position: relative; display: flex; flex-direction: column;
    background: radial-gradient(circle at center 30%, #1e1e1e 0%, #000000 70%);
}

/* HEADER & BARRAS */
.retro-header { position: absolute; top: 0; left: 0; width: 100%; padding: 15px 10px; z-index: 20; box-sizing: border-box; display: flex; flex-direction: column; gap: 15px; }
.progress-track { display: flex; gap: 4px; height: 3px; width: 100%; }

.progress-segment {
    flex: 1; background: rgba(255,255,255,0.2);
    border-radius: 2px; overflow: hidden;
}
.progress-fill {
    display: block; height: 100%; width: 0%; background: white;
    /* Transição via JS */
}
.btn-quit {
    align-self: flex-end; background: none; border: none;
    color: white; font-size: 1.8rem; opacity: 0.6; cursor: pointer; margin-right: 5px;
}

/* CONTEÚDO DOS SLIDES (TIPOGRAFIA MONSTRUOSA) */
.retro-content {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; color: white; padding: 20px;
    position: relative; z-index: 10;
}

/* Classes de Texto Premium */
.titan-super {
    font-size: clamp(3.5rem, 12vw, 6rem); /* Gigante e Responsivo */
    font-weight: 900; line-height: 0.9; letter-spacing: -2px;
    margin: 15px 0;
    background: linear-gradient(to bottom right, #fff, #999);
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.titan-sub {
    font-size: 1rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 3px; font-weight: 700;
}

.titan-highlight { color: var(--neon-orange); -webkit-text-fill-color: var(--neon-orange); }
.titan-gold { color: var(--neon-gold); -webkit-text-fill-color: var(--neon-gold); }

.titan-card {
    background: var(--glass); padding: 25px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    width: 90%; margin-top: 20px;
}

.chart-bar {
    height: 10px; background: #333; border-radius: 5px; margin: 20px 0; overflow: hidden;
}
.chart-fill { height: 100%; background: var(--neon-orange); width: 0%; animation: fillWidth 1.5s ease forwards; }

.nex-logo {
    margin-top: 50px; font-size: 0.8rem; letter-spacing: 4px;
    color: #444; font-weight: 900; border-top: 1px solid #222; padding-top: 15px; width: 100%;
}

/* Animações de Entrada */
.slide-enter { animation: slideUpBig 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(50px); }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

/* Navegação */
.nav-zone { position: absolute; top: 100px; bottom: 0; z-index: 15; }
.left { left: 0; width: 30%; }
.right { right: 0; width: 70%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUpBig { to { opacity: 1; transform: translateY(0); } }
@keyframes fillWidth { from { width: 0; } }

/* Container Principal */
.premium-checkout {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* Card Genérico */
.premium-card, .resumo-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

/* Títulos */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 20px 0 10px 5px;
}

/* --- BOTÕES DE PAGAMENTO (O Grande Destaque) --- */
.pagamento-opcoes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.button-payment {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 2px solid #eef2f7;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    /* Remove estilos padrão de botão */
    outline: none;
    box-shadow: none;
}

.button-payment:hover {
    border-color: #cbd5e0;
    background: #f8fafc;
}

/* Estado SELECIONADO (Visual controlado pelo script abaixo) */
.button-payment.selected {
    border-color: #00c853;
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.15);
}

/* Ícones Temáticos */
.icon-payment {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 15px;
}
.pix-theme { background: #e0f2f1; color: #009688; }
.card-theme { background: #e3f2fd; color: #1976d2; }
.delivery-theme { background: #fff3e0; color: #f57c00; }
.money-theme { background: #e8f5e9; color: #388e3c; }

/* Textos do Botão */
.info-payment {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pay-name {
    font-weight: 700;
    font-size: 1rem;
    color: #2d3436;
}
.pay-sub {
    font-size: 0.8rem;
    color: #636e72;
}

/* Ícone de Check (Só aparece quando selecionado) */
.check-icon {
    color: #00c853;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
    font-size: 1.2rem;
}
.button-payment.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* --- SWITCH AGENDAMENTO (Estilo iOS) --- */
.switch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.switch-icon {
    background: #f3e5f5;
    color: #9c27b0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.switch-text { flex: 1; }
.label-title { display: block; font-weight: 600; color: #333; }
.label-desc { font-size: 0.8rem; color: #888; }

.switch-ios {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}
.switch-ios input { opacity: 0; width: 0; height: 0; }
.slider-ios {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider-ios:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider-ios { background-color: #9c27b0; }
input:checked + .slider-ios:before { transform: translateX(20px); }

/* --- INPUT DE TROCO --- */
.troco-box {
    background: #fafafa;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed #bbb;
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}
.label-troco { display: block; font-weight: 600; margin-bottom: 8px; color: #555; }
.input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
}
.input-wrapper span { color: #388e3c; font-weight: bold; margin-right: 5px; }
.input-clean {
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 1.1rem;
    outline: none;
}

/* --- BOTÃO FINALIZAR --- */
.footer-action { margin-top: 25px; text-align: center; }
.btn-finalizar {
    width: 100%;
    background: linear-gradient(135deg, #00c853 0%, #009624 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
    transition: transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.btn-finalizar:active { transform: scale(0.98); }

.safe-badge {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Utilitários */
.ocultado { display: none; }
.error-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.premium-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.premium-header .modal-card-title {
    font-weight: 700;
    color: #333;
}

/* Corpo do Modal */
.premium-body {
    background-color: #fafafa; /* Fundo levemente cinza */
    padding: 20px;
}

/* Tracker de Status */
.status-tracker {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    text-align: center;
}

.current-status-text {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-highlight {
    color: #4caf50; /* Verde sucesso */
    font-weight: 800;
    font-size: 1.1rem;
}

/* Barra de Progresso com Ícones */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 10px;
}

/* Linhas da barra */
.progress-line-bg, .progress-line-fill {
    position: absolute;
    top: 20px; /* Metade da altura do ícone (40px) */
    left: 0;
    height: 4px;
    border-radius: 2px;
    z-index: 0;
}

.progress-line-bg {
    width: 100%;
    background-color: #e0e0e0;
}

.progress-line-fill {
    width: 0%;
    background-color: #4caf50;
    transition: width 0.5s ease;
}

/* Itens da Etapa */
.step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%; /* 4 itens */
}

.step-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.step-label {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #bbb;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Estado Ativo (Concluído) */
.step-item.active .step-icon {
    background-color: #4caf50;
    border-color: #4caf50;
    color: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2); /* Efeito de brilho */
}

.step-item.active .step-label {
    color: #4caf50;
}

/* Card de Resumo (Receipt Style) */
.order-summary-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    background-image: radial-gradient(circle at 0 0, transparent 0, transparent 0), radial-gradient(circle at 100% 0, transparent 0, transparent 0);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.receipt-item-details {
    display: flex;
    flex-direction: column;
}

.item-addons {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
}

.receipt-total {
    border-top: 2px dashed #eee;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label { font-size: 1.1rem; font-weight: 600; }
.total-value { font-size: 1.4rem; font-weight: 800; color: #333; }

.premium-footer {
    border-top: none;
    padding-top: 0;
}

.shadow-btn {
    box-shadow: 0 4px 12px rgba(72, 199, 116, 0.3);
    transition: transform 0.2s;
}

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

.modal-card-body {
    background-color: #f8f9fa; /* Fundo levemente cinza para contraste */
}

/* --- 1. SACOLA PREMIUM --- */
.cart-item-premium {
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s;
}

.cart-item-premium img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-details {
    flex: 1;
}

.cart-title {
    font-weight: 700;
    color: #2d3436;
    font-size: 1rem;
    margin-bottom: 2px;
}

.cart-sub {
    font-size: 0.8rem;
    color: #636e72;
    line-height: 1.2;
}

.cart-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    background: #f1f2f6;
    border-radius: 20px;
    padding: 2px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-val {
    width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.item-price {
    font-weight: 800;
    color: #2d3436;
}

.trash-btn {
    color: #ff7675;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* --- 2. ENDEREÇOS (CARDS SELECIONÁVEIS) --- */
.enderecos-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.endereco-card-premium {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.endereco-card-premium.selected {
    border-color: #4caf50;
    background-color: #f0fff4;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.endereco-icon {
    background: #f1f2f6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
}

.endereco-card-premium.selected .endereco-icon {
    background: #4caf50;
    color: white;
}

.endereco-content strong {
    display: block;
    color: #2d3436;
    font-size: 1rem;
}

.endereco-content p {
    font-size: 0.85rem;
    color: #636e72;
    margin-top: 2px;
}

.check-mark {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #4caf50;
    display: none;
}

.endereco-card-premium.selected .check-mark {
    display: block;
}

.btn-remove-addr {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #b2bec3;
    font-size: 0.8rem;
    z-index: 2;
    transition: color 0.2s;
}
.btn-remove-addr:hover { color: #d63031; }

/* --- 3. RESUMO (TICKET) --- */
.ticket-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #eee;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #636e72;
}

.ticket-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #dfe6e9;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2d3436;
}

.ticket-address {
    background: #fff8e1; /* Amarelo bem claro */
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ffe082;
}

.ticket-address-text {
    font-size: 0.85rem;
    color: #5d4037;
}

.edit-link {
    font-size: 0.8rem;
    color: #2980b9;
    text-decoration: underline;
    cursor: pointer;
}

/* Inputs Bonitos */
.input-premium {
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: none;
    padding: 22px 15px; /* Mais altura */
    transition: border-color 0.3s;
}
.input-premium:focus {
    border-color: #48c774;
    box-shadow: 0 0 0 3px rgba(72, 199, 116, 0.25);
}


.payment-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2d3436; /* Escuro para contraste */
    color: white;
    padding: 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

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

.timer-countdown {
    font-family: 'Courier New', monospace; /* Fonte monoespaçada para números */
    font-weight: 800;
    color: #ff7675; /* Vermelho alerta */
    font-size: 1.2rem;
}

.btn-resume-pay {
    background-color: #00d2d3;
    color: #2d3436;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 0 #00b8b9;
    transition: transform 0.1s;
}

.btn-resume-pay:active {
    transform: translateY(4px);
    box-shadow: none;
}

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

/* Modal de Timer */
.modal-timer-badge {
    background: #fff0f0;
    color: #d63031;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid #fab1a0;
}

.pulse-animation {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 199, 116, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(72, 199, 116, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 199, 116, 0);
    }
}

@media screen and (max-width: 768px) {
    .banner {
      max-width: 90% !important;
    }

    .cart-item-controls input {
      max-width: 42px;
    }

    .botaoBanner {
      bottom: 60px;
      width: 80%;
    }

  .column {
    width: 100% !important;
    padding: 10px;
  }

  .modal-card {
    height: 100% !important;
    width: 100%;
    max-height: 100%;
  }

  .card {
    margin-bottom: 20px;
  }

  .card-content {
    padding: 8px;
  }
  
  .section {
    padding: 1em;
  }

  #productQuantity {
    width: 42px;
    height: 42px;
  }

  #barraInferior {
    width: 100%;
  }

  .modal-content {
    height: 100vh !important;
    max-height: 100vh !important;
  }

  .cart-indicator {
    width: 100%;
  }

  #message {
    left: 20px;
  }

  .tabs.is-centered.is-boxed ul {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Opcional: Esconde a barra de rolagem visualmente, mas mantém a funcionalidade */
  .tabs.is-centered.is-boxed ul::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .tabs.is-centered.is-boxed ul {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

}

@media screen and (min-width: 768px) {
  #barraInferior {
    justify-content: center;
    align-items: center;
    gap: 5rem;
  }
  .cart-indicator {
    gap: 5rem;
    justify-content: center;
  }
  .hero-body .container {
    flex-direction: row !important;
    gap: 2rem;
  }
  .modal-card {
    min-height: 80vh;
    max-height: 80vh;
    border-radius: 12px;
  }
  .pizza-stage {
    max-width: 100%;
  }
}