/* Fonte base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Jost', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  font-size: 20px;
  line-height: 1.4;
  margin: 0; 
  padding: 0;
}

/* Topo */
.topo {
  text-align: center;
  
  background-color: white;
}
.topo h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.topo p {
  font-size: 1.1rem;
  color: #555;
}

/* Main */
main {
  width: 90%;
  max-width: 600px;
  margin: 1rem auto;
}

/* Formulário */
form {
  display: flex;
  flex-direction: column;
}

/* form-group */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-size: 1.1rem; 
}
.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 0.9rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: #4CAF50;
}
.error-message {
  color: red;
  font-size: 0.95rem;
  margin-top: 0.3rem;
  display: block;
text-decoration: underline #FF7373;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.erro {
  border-color: red !important;
}

/* form-group.email-group => position relative p/ email-suggestions */
.form-group.email-group {
  position: relative;
}

/* Mensagem de erro global */
.global-error-message {
  color: red;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: none;
}

/* Layout lines */
.linha-email-telefone,
.linha-data-hora {
  display: flex;
  gap: 1rem;
}
.half-group {
  flex: 1;
  position: relative;
}

/* label-placeholder => label invisivel */
.label-placeholder .placeholder-label {
  visibility: hidden;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  height: 1.3rem;
}

/* center-mobile => text-align left, mas mobile => center */
.center-mobile {
  text-align: left;
}
@media (max-width: 600px) {
  .center-mobile {
    text-align: center;
  }
}

/* checkbox-container => margin-top:20px */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 20px;
}
.checkbox-container input[type="checkbox"] {
  width: 30px;
  height: 30px;
}

/* alertaMeridiano => margin-top:-10px */
.alerta-meridiano {
  display: none;
  margin-top: -10px;
  margin-bottom: 15px;
  background-color: #fff9c4;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #444;
  border: 1px solid #eee;
}

/* Loader cidade */
.cidade-wrapper {
  position: relative;
}
.loader-cidade {
  width: 22px;
  height: 22px;
  border: 3px solid #4CAF50;
  border-top: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  right: 8px;
  top: 50%;
  
  animation: spin 1s linear infinite;
  display: none;
  background-color:orange;
}
@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}
.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: #222;
  color:white;
  border: 1px solid #ccc;
  border-radius: 4px;
  list-style: none;
  max-height: 150px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
.suggestions li {
  padding: 0.5rem;
  cursor: pointer;
}
.suggestions li:hover {
  background-color: #cceccf;
}

/* Opcionais */
.opcionais-wrapper {
  margin-bottom: 1rem;
}

/* Resumo */
.resumo-carrinho {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #fafafa;
}
.resumo-carrinho h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}
.resumo-item {
  margin-bottom: 1rem;
}
.resumo-preco {
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
}
.brindes {
  margin-top: 1rem;
  padding-left: 1rem;
  list-style: disc;
}

/* Email-suggestions => absolute inside email-group */
.email-suggestions {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 999;
  width: 100%;
  max-width: 400px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  box-sizing: border-box;
}
.email-suggestions li {
  padding: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
  background-color:#222;
  color:white;
}
.email-suggestions li:hover {
  background-color: #e5e5e5;
}

/* Forma de Pagamento */
.pagamento-group {
  margin-bottom: 1.5rem;
}
.pagamento-opcoes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: nowrap;
}
.btn-pagamento {
  flex: 1;
  border-radius: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: center;
  user-select: none;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  transition: 
    background-color 0.2s, 
    border-color 0.2s, 
    opacity 0.2s;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.btn-pagamento.selecionado {
  background: linear-gradient(130deg, #a5e8a5, #c7ffcd);
  border-color: #4CAF50;
}
.btn-pagamento:hover {
  background-color: #f9f9f9;
}
.pagamento-opcoes input[type="radio"] {
  display: none;
}

/* Botão Submit */
#botaoSubmit {
/*  background-color: #4CAF50;*/
  background: linear-gradient(to bottom, #4CAF50, #388E3C);
  color: #fff;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  font-weight:bold;
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1.6rem;
  text-transform:uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  margin-bottom: 0.8rem; 
}
#botaoSubmit:hover {
  background-color: #43a047;
}
#botaoSubmit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.btn-text {
  display: inline-block;
}
.loader {
  display: none;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-top: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
button.loading .btn-text {
  visibility: hidden;
}
button.loading .loader {
  display: inline-block;
}

/* Overlay => central no meio */
.ajax-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}
.ajax-overlay-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top: 6px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

/* Hora invisível */
.hora-invisivel label {
  opacity: 0.4 !important;
}
.hora-invisivel input {
  opacity: 0.2 !important;
  background-color: #99ff99 !important;
  color: #99ff99 !important;
  border-color: #68d568 !important;
}

.alertAboutSend {
	opacity:1; width:100%; height:auto; padding:10px 15px 10px 15px;
	text-align:center; background-color:#37065B; color:white; 
	font-size:15px;
	border-top:1px solid #5D0A9C;
	border-bottom:1px solid #5D0A9C;
	font-weight:normal; margin-bottom:15px;
	font-family: 'Jost', sans-serif;
	opacity:0.96;
}
input[data-lastpass-icon-root] {
  padding-right: 0 !important;
}

div[data-lastpass-icon-root] {
  display: none !important;
}