/* === Nexo — calculadora de frete (carrinho + drawer) === */

.nexo-frete {
  font-family: 'DM Sans', sans-serif;
  padding: 20px 0;
  border-top: 1px solid #efe7da;
  margin-bottom: 4px;
}

/* no bloco do carrinho o slot já vem dentro do box de totais */
.nexo-frete-slot .nexo-frete { padding: 20px 0 22px; }

.nexo-frete__title {
  display: block;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #6B6357; margin-bottom: 12px;
}

.nexo-frete__form { display: flex; gap: 8px; margin: 0; }

.nexo-frete__cep {
  flex: 1 1 auto; min-width: 0; height: 46px;
  padding: 0 14px; border: 1px solid #d8cdbb; border-radius: 2px;
  background: #fff; color: #2e2521; font-family: inherit; font-size: 15px;
  letter-spacing: .02em; transition: border-color .2s;
}
.nexo-frete__cep:focus { outline: none; border-color: #AD5D3A; }
.nexo-frete__cep::placeholder { color: #b8ad9c; }

.nexo-frete__btn {
  flex: 0 0 auto; height: 46px; padding: 0 24px; cursor: pointer;
  background: #2e2521; color: #fff; border: 1px solid #2e2521; border-radius: 2px;
  font-family: inherit; font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; transition: all .2s;
}
.nexo-frete__btn:hover:not(:disabled) { background: #AD5D3A; border-color: #AD5D3A; }
.nexo-frete__btn:disabled { opacity: .55; cursor: default; }

.nexo-frete__rates { list-style: none; margin: 14px 0 0; padding: 0; }
.nexo-frete__rate {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid #f1ece2;
  font-size: 14px; color: #6B6357; line-height: 1.4;
}
.nexo-frete__rate:last-child { border-bottom: 0; }
.nexo-frete__rate b { font-weight: 500; color: #AD5D3A; white-space: nowrap; }

.nexo-frete__msg { margin: 12px 0 0; font-size: 13.5px; color: #6B6357; line-height: 1.5; }


/* === simulador da Frenet na página do produto — mesmo visual === */

#shipping-simulator {
  display: block; float: none; width: 100%; max-width: 380px;
  margin: 20px 0 0; padding: 20px 0 0;
  border-top: 1px solid #efe7da;
  font-family: 'DM Sans', sans-serif;
}
/* o JS tira o input de dentro do <label>, então dá pra usar flex aqui */
#shipping-simulator form.cart {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding: 0; border: 0;
}
#shipping-simulator br { display: none; }

#shipping-simulator label {
  flex: 0 0 100%; margin: 0 0 4px;
  font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  color: #6B6357;
}

#shipping-simulator #zipcode {
  flex: 1 1 auto; float: none; width: auto; min-width: 0; height: 46px;
  margin: 0; padding: 0 14px;
  border: 1px solid #d8cdbb; border-radius: 2px; background: #fff;
  color: #2e2521; font-family: inherit; font-size: 15px; letter-spacing: .02em;
  text-transform: none; transition: border-color .2s;
}
#shipping-simulator #zipcode:focus { outline: none; border-color: #AD5D3A; }
#shipping-simulator #zipcode::placeholder { color: #b8ad9c; }

#shipping-simulator #idx-calc_shipping {
  flex: 0 0 84px; height: 46px; margin: 0; padding: 0;
  background: #2e2521; color: #fff; border: 1px solid #2e2521; border-radius: 2px;
  font-family: inherit; font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; line-height: 44px; cursor: pointer;
  transition: all .2s;
}
#shipping-simulator #idx-calc_shipping:hover { background: #AD5D3A; border-color: #AD5D3A; }

#shipping-simulator #loading_simulator,
#shipping-simulator #simulator-data { flex: 0 0 100%; margin: 0; }
#shipping-simulator ul#shipping-rates { list-style: none; margin: 14px 0 0; padding: 0; }
#shipping-simulator li.li-frenet {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin: 0; padding: 9px 0; border-bottom: 1px solid #f1ece2;
  font-size: 14px; color: #6B6357; line-height: 1.4; list-style: none;
}
#shipping-simulator li.li-frenet::before { display: none; }
#shipping-simulator li.li-frenet:last-child { border-bottom: 0; }
#shipping-simulator li.li-frenet b { font-weight: 500; color: #AD5D3A; white-space: nowrap; }

#shipping-simulator p {
  margin: 12px 0 0; font-size: 13.5px; color: #6B6357 !important; line-height: 1.5;
}
