/* Modal de Cadastro */
.modal-cadastro {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-cadastro.show {
  display: flex;
}

.modal-cadastro-content {
  background: var(--branco);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--cinza-claro);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--cinza-escuro);
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--cinza-medio);
  color: var(--branco);
  transform: rotate(90deg);
}

/* Em dispositivos móveis: trocar X por seta à esquerda */
@media (max-width: 768px) {
  .modal-close {
    top: 15px;
    left: 15px;
    right: auto;
    background: transparent;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-close:hover {
    color: var(--cinza-medio);
    transform: translateX(-3px);
  }
  
  .modal-close:active {
    transform: translateX(-1px);
    color: var(--cinza-escuro);
  }
  
  /* Estilo para seta à esquerda em mobile - seguindo padrão do site */
  .modal-close i.fa-arrow-left {
    font-size: 1.8rem;
    color: var(--cinza-claro);
  }
  
  .modal-close:hover i.fa-arrow-left {
    color: var(--cinza-medio);
  }
  
  .modal-close:active i.fa-arrow-left {
    color: var(--cinza-escuro);
  }
}

.cadastro-header {
  text-align: center;
  padding: 40px 30px 20px;
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-medio));
  color: var(--branco);
  border-radius: 20px 20px 0 0;
}

.cadastro-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cadastro-header p {
  font-size: 16px;
  opacity: 0.95;
}

.form-cadastro {
  padding: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--cinza-escuro);
  font-size: 14px;
}

.form-group label i {
  margin-right: 8px;
  color: var(--verde-medio);
}

.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="text"] {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--cinza-claro);
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--verde-medio);
  box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

.form-help {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--cinza-medio);
}

.password-wrapper {
  position: relative;
}

.btn-toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cinza-medio);
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  transition: color 0.3s ease;
}

.btn-toggle-password:hover {
  color: var(--verde-medio);
}

.password-strength {
  margin-top: 8px;
  height: 4px;
  background: var(--cinza-claro);
  border-radius: 2px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  background: var(--cinza-medio);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-bar.weak {
  width: 33%;
  background: #ef4444;
}

.strength-bar.medium {
  width: 66%;
  background: #f59e0b;
}

.strength-bar.strong {
  width: 100%;
  background: var(--verde-medio);
}

.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-weight: normal;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--verde-medio);
  text-decoration: underline;
}

.btn-cadastrar {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-medio));
  color: var(--branco);
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-cadastrar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(45, 95, 63, 0.3);
}

.btn-cadastrar:active:not(:disabled) {
  transform: translateY(0);
}

.btn-cadastrar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cadastro-skip {
  text-align: center;
  margin-top: 20px;
}

.cadastro-skip a {
  color: var(--cinza-medio);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cadastro-skip a:hover {
  color: var(--verde-medio);
  text-decoration: underline;
}

/* Seção de benefícios removida para melhorar UX em mobile */

/* Termos de Uso */
.termos-container {
  margin: 25px 0;
}

.termos-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--cinza-escuro);
  font-size: 14px;
}

.termos-scroll {
  max-height: 200px;
  overflow-y: auto;
  border: 2px solid var(--cinza-claro);
  border-radius: 10px;
  padding: 15px;
  background: var(--branco);
  margin-bottom: 10px;
  position: relative;
}

.termos-scroll::-webkit-scrollbar {
  width: 6px;
}

.termos-scroll::-webkit-scrollbar-track {
  background: var(--cinza-claro);
  border-radius: 10px;
}

.termos-scroll::-webkit-scrollbar-thumb {
  background: var(--verde-medio);
  border-radius: 10px;
}

.termos-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--verde-escuro);
}

.termos-content {
  font-size: 13px;
  line-height: 1.6;
  color: var(--cinza-escuro);
}

.termos-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--verde-escuro);
  margin: 15px 0 8px 0;
}

.termos-content h4:first-child {
  margin-top: 0;
}

.termos-content p {
  margin: 8px 0;
  text-align: justify;
}

.termos-content ul {
  margin: 8px 0;
  padding-left: 20px;
}

.termos-content li {
  margin: 5px 0;
  text-align: justify;
}

/* Estilos removidos - checkbox sempre habilitado, não precisa mais de indicador */

/* Animação bounce removida - não é mais necessária */

.checkbox-group input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkbox-group input:not([disabled]) {
  opacity: 1;
  cursor: pointer;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cinza-claro);
  color: var(--cinza-medio);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step.active {
  background: var(--verde-medio);
  color: white;
}

.step.completed {
  background: var(--verde-escuro);
  color: white;
}

.cadastro-step {
  display: none;
}

.cadastro-step.active {
  display: block;
}

.alert-cadastro {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}

.alert-cadastro.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-cadastro.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsivo */
@media (max-width: 600px) {
  .modal-cadastro-content {
    max-width: 100%;
    border-radius: 0;
    max-height: 100vh;
  }

  .cadastro-header {
    padding: 30px 20px 15px;
  }

  .cadastro-header h2 {
    font-size: 24px;
  }

  .form-cadastro {
    padding: 20px;
  }
}

/* Modal de Login - Reutilizando estilos do cadastro */
.modal-login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-login.show {
  display: flex;
}

.modal-login-content {
  background: var(--branco);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* Modal de recuperação de senha em tela cheia */
#modal-recuperar-senha.modal-login {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

#modal-recuperar-senha .modal-login-content {
  max-width: 100%;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
}

#modal-recuperar-senha .login-header {
  border-radius: 0;
  flex-shrink: 0;
}

#modal-recuperar-senha .form-login {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
}

#modal-recuperar-senha .login-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid var(--cinza-claro);
}

#modal-recuperar-senha .login-footer .btn-voltar-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cinza-claro);
  color: var(--cinza-escuro);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

#modal-recuperar-senha .login-footer .btn-voltar-login:hover {
  background: var(--cinza-medio);
  color: var(--branco);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: var(--cinza-medio);
}

#modal-recuperar-senha .login-footer .btn-voltar-login:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#modal-recuperar-senha .login-footer .btn-voltar-login i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

#modal-recuperar-senha .login-footer .btn-voltar-login:hover i {
  transform: translateX(-3px);
}

#modal-recuperar-senha .login-footer .btn-voltar-login span {
  color: inherit;
}

.login-header {
  text-align: center;
  padding: 40px 30px 20px;
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-medio));
  color: var(--branco);
  border-radius: 20px 20px 0 0;
}

.login-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.login-header p {
  font-size: 16px;
  opacity: 0.95;
}

.form-login {
  padding: 30px;
}

.form-login .form-group {
  margin-bottom: 25px;
}

.form-login .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--cinza-escuro);
  font-size: 14px;
}

.form-login .form-group label i {
  margin-right: 8px;
  color: var(--verde-medio);
}

.form-login .form-group input[type="tel"],
.form-login .form-group input[type="password"],
.form-login .form-group input[type="text"] {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--cinza-claro);
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-login .form-group input:focus {
  outline: none;
  border-color: var(--verde-medio);
  box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

.form-login .password-wrapper {
  position: relative;
}

.form-login .btn-toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cinza-medio);
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  transition: color 0.3s ease;
}

.form-login .btn-toggle-password:hover {
  color: var(--verde-medio);
}

.form-login .btn-primary {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-medio));
  color: var(--branco);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.form-login .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(45, 95, 63, 0.3);
}

.form-login .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-login .login-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--cinza-claro);
}

.form-login .login-footer .btn-voltar-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cinza-claro);
  color: var(--cinza-escuro);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.form-login .login-footer .btn-voltar-login:hover {
  background: var(--cinza-medio);
  color: var(--branco);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: var(--cinza-medio);
}

.form-login .login-footer .btn-voltar-login:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-login .login-footer .btn-voltar-login i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.form-login .login-footer .btn-voltar-login:hover i {
  transform: translateX(-3px);
}

.form-login .login-footer span {
  color: inherit;
}

/* Responsividade dos modais - Tela cheia apenas em mobile */
@media (max-width: 768px) {
  .modal-login,
  .modal-cadastro {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .modal-login-content,
  .modal-cadastro-content {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-shadow: none;
  }

  .form-login .login-footer {
    margin-top: 15px;
    padding-top: 15px;
  }

  .form-login .login-footer .btn-voltar-login {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .login-header,
  .cadastro-header {
    padding: 30px 20px 15px;
    border-radius: 0;
    flex-shrink: 0;
  }

  .login-header h2,
  .cadastro-header h2 {
    font-size: 24px;
  }

  .form-login,
  .form-cadastro {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  #modal-recuperar-senha .login-footer {
    margin-top: 15px;
    padding-top: 15px;
  }

  #modal-recuperar-senha .login-footer .btn-voltar-login {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .form-login .login-footer {
    margin-top: auto;
    flex-shrink: 0;
  }

  /* Garantir que o formulário tenha espaço suficiente */
  .form-cadastro {
    padding-bottom: 30px;
  }

  /* Scroll suave para o campo quando focado */
  .modal-cadastro-content {
    scroll-behavior: smooth;
  }

  /* Ajustes para termos em mobile */
  .termos-scroll {
    max-height: 150px;
    font-size: 12px;
  }

  .termos-content h4 {
    font-size: 13px;
  }

  /* Estilos removidos - checkbox sempre habilitado */

  .modal-checkout-content {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .checkout-form {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  /* Métodos de pagamento lado a lado em mobile */
  .metodo-pagamento-opcoes {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    flex-wrap: nowrap !important;
    margin-top: 10px;
  }
  
  .metodo-pagamento-option {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: calc(50% - 0.375rem) !important;
    margin: 0;
  }
  
  .metodo-pagamento-card {
    padding: 12px 8px !important;
    min-height: 75px;
    gap: 6px;
  }
  
  .metodo-pagamento-card i {
    font-size: 22px !important;
  }
  
  .metodo-pagamento-card span {
    font-size: 12px !important;
    line-height: 1.2;
  }
}

/* Modal de Escolha Cliente */
.escolha-cliente-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  padding-top: 1rem;
  flex: 1;
  justify-content: center;
}

.btn-escolha-cliente {
  width: 100%;
  padding: 1.5rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-escolha-cliente i {
  font-size: 1.5rem;
}

.btn-cliente-existente {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-medio));
  color: var(--branco);
}

.btn-cliente-existente:hover {
  background: linear-gradient(135deg, var(--verde-medio), var(--verde-escuro));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 95, 63, 0.3);
}

.btn-cliente-novo {
  background: linear-gradient(135deg, var(--laranja), var(--laranja-escuro));
  color: var(--branco);
}

.btn-cliente-novo:hover {
  background: linear-gradient(135deg, var(--laranja-escuro), var(--laranja));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-escolha-cliente:active {
  transform: translateY(0);
}

/* Responsivo - Modal de Escolha */
@media (max-width: 768px) {
  .escolha-cliente-buttons {
    padding: 1.5rem;
    padding-top: 0.5rem;
  }

  .btn-escolha-cliente {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .btn-escolha-cliente i {
    font-size: 1.3rem;
  }
}

/* Modal de Checkout */
.modal-checkout-content {
  max-width: 600px;
}

.checkout-form {
  padding: 30px;
}

.cep-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cep-input-wrapper input {
  flex: 1;
}

.btn-calcular-frete {
  padding: 12px 20px;
  background: var(--verde-medio);
  color: var(--branco);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-calcular-frete:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
}

.btn-calcular-frete:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.checkout-frete-resultados {
  margin-bottom: 20px;
}

.checkout-frete-opcao {
  background: var(--bege);
  border: 2px solid var(--verde-medio);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-frete-opcao:hover {
  border-color: var(--verde-escuro);
  background: #f0f5f2;
}

.checkout-frete-opcao.selected {
  background: var(--verde-medio);
  color: var(--branco);
  border-color: var(--verde-escuro);
}

.checkout-frete-opcao h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.checkout-frete-opcao .frete-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.checkout-cep-nao-encontrado {
  margin: 20px 0;
}

.checkout-cep-nao-encontrado .alert {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkout-cep-nao-encontrado .alert i {
  color: #2196f3;
  font-size: 20px;
  margin-top: 2px;
}

.checkout-cep-nao-encontrado .alert strong {
  display: block;
  color: #1976d2;
  margin-bottom: 5px;
}

.checkout-cep-nao-encontrado .alert p {
  margin: 0;
  color: #424242;
  font-size: 14px;
}

.metodo-pagamento-opcoes {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.metodo-pagamento-option {
  margin: 0;
  cursor: pointer;
  flex: 1;
  min-width: calc(50% - 7.5px);
}

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

.metodo-pagamento-card {
  background: var(--branco);
  border: 2px solid var(--cinza-claro);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 100px;
}

.metodo-pagamento-card i {
  font-size: 32px;
  color: var(--cinza-medio);
}

.metodo-pagamento-card span {
  font-weight: 600;
  color: var(--cinza-escuro);
  font-size: 16px;
}

.metodo-pagamento-option input[type="radio"]:checked + .metodo-pagamento-card {
  border-color: var(--verde-medio);
  background: #f0f5f2;
}

.metodo-pagamento-option input[type="radio"]:checked + .metodo-pagamento-card i {
  color: var(--verde-medio);
}

.metodo-pagamento-option input[type="radio"]:checked + .metodo-pagamento-card span {
  color: var(--verde-escuro);
}

.metodo-pagamento-card:hover {
  border-color: var(--verde-medio);
  transform: translateY(-2px);
}

.checkout-resumo {
  background: var(--bege);
  border-radius: 12px;
  padding: 20px;
  /* margin: 25px 0; */
}

.checkout-resumo h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  gap: 8px;
}

.resumo-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  color: var(--cinza-escuro);
}

.resumo-item:last-of-type {
  border-bottom: none;
}

/* Mensagem de telefone já cadastrado */
.alerta-telefone-cadastrado {
  margin: 15px 20px;
  padding: 20px;
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  animation: slideDown 0.3s ease;
}

.alerta-telefone-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.alerta-telefone-icon {
  font-size: 24px;
  color: #856404;
  text-align: center;
}

.alerta-telefone-texto h4 {
  margin: 0 0 8px 0;
  color: #856404;
  font-size: 16px;
  font-weight: 600;
}

.alerta-telefone-texto p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}

.alerta-telefone-opcoes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-opcao-login,
.btn-opcao-recuperar {
  flex: 1;
  min-width: 150px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-opcao-login {
  background: #28a745;
  color: white;
}

.btn-opcao-login:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-opcao-recuperar {
  background: #17a2b8;
  color: white;
}

.btn-opcao-recuperar:hover {
  background: #138496;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

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

/* Responsivo para mensagem de telefone cadastrado */
@media (max-width: 768px) {
  .alerta-telefone-cadastrado {
    margin: 10px 15px;
    padding: 15px;
  }
  
  .alerta-telefone-opcoes {
    flex-direction: column;
  }
  
  .btn-opcao-login,
  .btn-opcao-recuperar {
    width: 100%;
    min-width: auto;
  }
}

.resumo-total {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 0 0;
  margin-top: 15px;
  border-top: 2px solid var(--verde-medio);
  font-size: 20px;
  font-weight: 700;
  color: var(--verde-escuro);
}

.btn-finalizar-checkout {
  margin-top: 20px;
}

/* Responsivo - Modal de Checkout */
@media (max-width: 768px) {
  .modal-checkout-content {
    max-width: 100%;
    margin: 0;
  }

  .cep-input-wrapper {
    flex-direction: column;
  }

  .btn-calcular-frete {
    width: 100%;
    justify-content: center;
  }

  .metodo-pagamento-opcoes {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
  }
  
  .metodo-pagamento-option {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: calc(50% - 0.375rem) !important;
  }

  .checkout-resumo {
    padding: 15px;
  }

  .resumo-total {
    font-size: 18px;
  }
}

