*{
  margin: 0; padding: 0; box-sizing: border-box;
}
/* Página */
input{
  width: 35px;
  text-align: center;
  background-color: #e7e7e7;
  border: 0;
  padding: 2.5px;
}
/* Carrinho */
#cart{
  top: 10.6px;
  cursor: pointer;
  background: white;
  padding: 5px 7px;
  color: #5c5c5c;
  border: 1px solid orangered;
  z-index: 1000;
}
#cart-two{
  position: absolute;
  right: -20.5%;
  top: -6px;
  cursor: pointer;
  background: white;
  padding: 5px 7px;
  color: #5c5c5c;
  border: 1px solid orangered;
  z-index: 1000;
}
#cart span {
  font-weight: bold;
  background-color: orangered;
  border-radius: 15%;
  display: none;
  margin-top: 7px;
}
/* Button do paypal */
#cart-buttons, #cart-buttons{
  display: none;
  text-align: center;
  margin: 1.5rem 0;
  width: 100%;
  padding: 0;
}
#cart-buttons button, #cart-btn-pg button{
  font-size: 15.5px;
  letter-spacing: 1px;
  cursor: pointer;
}
#cart-buttons i{
  font-size: 1.2rem;
}
#cart-buttons span{
  font-size: 1.3rem;
}
#cart-count{
  color: white;
  position: absolute;
  padding: 2px 5px;
  top: 0;
  margin-left: -5px;
  border-radius: 50%;
}
/* Modal Carrinho */
#cart-modal {
  position: fixed;
  top: 0;
  left: -549px;
  width: 508px;
  height: 100vh;
  background-color: #232323;
  box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  overflow-y: auto;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  color: #e7e7e7;
  font-weight: normal;
}
#cart-modal.open {
  left: 0;
}
#cart-modal h2 {
  margin-top: 0;
  margin-bottom: 12px;
}
#cart-modal img {
  width: 100px;
  height: 87px;
  margin-bottom: 10px;
}
#cart-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 30px;
  color: #e7e7e7;
}
#cart-modal .cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
#cart-modal .cart-item img {
  width: 60px;
  margin-right: 10px;
}
#cart-modal .cart-item-details {
  flex: 1;
}
#cart-modal .cart-item-remove {
  cursor: pointer;
  color: orange;
  font-size: 25px;
  padding: 0 2px;
}
#cart-modal .total {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}
#cart-items button{
  width: 17px;
  font-size: 15px;
  margin: 0;
  background: grey;
  color: white;
  border: 0;
  border: 1px solid orangered;
}
#buy-envio{
  width: 85%;
  display: flex;
  cursor: pointer;
  background-color: orangered;
  color: #f5f5f5;
  font-size: 1rem;
  border: 0;
  padding: 10px;
  margin-top: 20px;
  position: absolute;
  z-index: 2;
  justify-content: center;
  display: none;
}
#buy-confirme{
  width: 85%;
  display: flex;
  cursor: pointer;
  background-color: #000064;
  color: #f5f5f5;
  font-size: 1rem;
  border: 0;
  padding: 10px;
  margin-top: 20px;
  position: absolute;
  z-index: 1;
  justify-content: space-around;
  display: none;
}
#buy-confirme span{
  text-align: right;
}
#buy-now {
  width: 70%;
  display: none;
  cursor: pointer;
  background-color: green;
  color: #f5f5f5;
  font-size: 1rem;
  border: 0;
  padding: 10px;
}
#buy-now i {
  font-size: 17px;
}
/* Estilos do PIX QR Code */
.pix-container {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid orangered;
  display: none;
}
.pix-header {
  text-align: center;
  margin-bottom: 20px;
}
.pix-header h3 {
  color: #232323;
  margin: 0 0 8px 0;
  font-size: 1.3rem;
}
.pix-header p {
  color: #645;
  margin: 0;
  font-size: 14px;
}
.pix-loading {
  text-align: center;
  padding: 40px 0;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e7e7e7;
  border-top: 4px solid brown;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.qr-code-section {
  text-align: center;
  margin: 20px 0 15px;
}
.qr-code-image {
  width: 280px;
  height: 100px;
  border: 2px solid #232323;
  border-radius: 8px;
  background: white;
  padding: 7px;
}
img#qr-code-image {
  width: 127px;
  height: 125px;
}
.pix-details {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #ddd;
}
.pix-value{
   text-align: center;
}
.pix-value strong{
  font-size: 1.2rem;
  color: green;
  margin-bottom: 10px;
  font-weight: bolder;
}
.pix-beneficiario p {
  margin: 5px 0;
  font-size: 13px;
  color: #555;
}
.pix-beneficiario strong{
  color: orangered;
  font-size: 1rem;
  font-weight: bolder;
}
.pix-code-section {
  margin: 15px 0;
}
.pix-code-section label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #232323;
  font-size: 14px;
}
.pix-code-container {
  position: relative;
}
.pix-code-textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
  background: #f9f9f9;
  resize: none;
  box-sizing: border-box;
}
.copy-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: brown;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  transition: background-color 0.3s;
}
.copy-button:hover {
  background: #8B4513;
}
.pix-instructions {
  background: #232323;
  color: #e7e7e7;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}
.pix-instructions h4 {
  margin: 0 0 10px 0;
  color: yellow;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.4;
}
.pix-instructions ol {
  margin: 0;
  padding-left: 20px;
}

.pix-instructions li {
  margin: 5px 0;
  font-size: 15px;
  line-height: 1.4;
}
/* Media screen */
@media(max-width: 1280px){
  #cart{
    right: 1.5rem;
  }
}
@media(max-width: 540px){
  #cart-modal{
    width: 100%;
    height: 100vh;
    z-index: 1000;
  }
}
@media(max-width: 460px){
  #cart-modal {
    left: -500px;
    width: 100%;
    padding: 20px 15px;
  }
}
