/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}

body {
  background: radial-gradient(
    circle at center,
    #f8fafc 0%,
    #cbd1d0 40%,
    #53575683 100%
  );
  background-attachment: fixed;
  color: #333333;

  display: flex;
  flex-direction: column;
  min-height: 100vh;

  overflow-x: hidden;
}

/* HEADER */
header {
  text-align: center;
  padding: 20px;
  background: white;
  box-shadow: 2px 2px 5px #0000006e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header img {
  max-width: 90px;
  transition: all 0.3s ease-in-out;
}

header img:hover {
  transform: scale(1.03);
}

/* Estilização Botão Login */
.login-btn {
  height: 40px;
  /* width: auto; */
  background-color: #ffffff;
  border-radius: 8px; /* O padrão do Google é levemente arredondado */
  border: 1px solid #dadce0;
  padding: 0 30px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  font-family: "Roboto", arial, sans-serif;
  box-shadow: inset 0 0 7px rgb(19, 90, 84);
  animation: balancar 2.5s ease-in-out infinite;
}

.login-btn:hover {
  box-shadow: inset 0 0 7px #e65c00cc;
  background-color: #f8f9fa;
}
.login-btn p {
  color: #3c4043;
  font-size: 14px;
  letter-spacing: 0.2px;
}
/* Estilização do Botão Google */
.google-btn {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 40px;
  background-color: #ffffff;
  border-radius: 8px; /* O padrão do Google é levemente arredondado */
  border: 1px solid #dadce0;
  cursor: pointer;
  padding: 0.5px; /* Espaço para o wrapper do ícone */
  transition: box-shadow 0.2s;
  box-shadow: inset 0 0 10px rgba(19, 90, 84, 0.568);
  font-family: "Roboto", arial, sans-serif;
  animation: balancar 2.5s ease-in-out infinite;
}

.google-btn:hover {
  box-shadow: 0 0 7px #e65c00;
  background-color: #f8f9fa;
}

.google-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
}

.google-icon {
  width: 18px;
  height: 18px;
}

.btn-text {
  margin-right: 12px;
  color: #3c4043;
  font-size: 14px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* MAIN */
main {
  max-width: 500px;
  margin: auto;
  padding: 20px;
  flex: 1;
}

/* INPUT COM ÍCONE */
.input-icon {
  position: relative;
  margin-bottom: 10px;
}

.input-icon img {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  opacity: 0.6;
}

.input-icon input {
  width: 100%;
  padding: 12px 12px 12px 38px;
  border-radius: 8px;
  background-color: white; /* Mantém o fundo branco */
  border: 1px solid #128c7e;
  box-shadow: inset 0 0 20px rgba(19, 90, 84, 0.568) !important;
}

#storeInput,
#productInput {
  outline: none; /* Remove a borda padrão azul do navegador */
  transition: border-color 0.3s; /* Adiciona uma transição suave */
}

#storeInput:focus,
#productInput:focus {
  border-color: #e65c00;
  box-shadow: inset 0 0 10px rgba(134, 95, 24, 0.76) !important;
}

/* ADD PRODUCT */
.add-product {
  display: flex;
  position: relative;

  gap: 10px;
  margin-top: 10px;
}

.add-product input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #128c7e;
  box-shadow: inset 0 0 20px rgba(19, 90, 84, 0.568) !important;
}

.add-product button {
  width: 45px;
  border: none;
  border-radius: 8px;
  background: #16a34a;
  color: white;
  text-shadow: 1px 1px 2px #000000d5;
  /* box-shadow: inset [horizontal] [vertical] [blur] [cor] */
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Essencial para esconder o brilho fora do botão */
  font-size: 30px;
  cursor: pointer;
}

#autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  width: calc(100% - 50px); /* evita cobrir o botão + */
  background: #fff;
  border-radius: 8px;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow:
    inset 0 0 7px #e65c00,
    2px 4px 10px #000;
}

.autocomplete-item {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
}

.autocomplete-item:hover {
  background: #f2f2f2;
}

.add-area {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}
.add-area label {
  font-size: 14px;
  color: #06423d;
  font-weight: bold;
  margin-bottom: 5px;
}

#storeSelect,
#storeTypeSelect,
#categorySelect {
  width: 100%;
  border: 1px solid #0f766e;
  color: #e65c00;
  background-color: white;
  box-shadow: inset 0 0 20px rgba(19, 90, 84, 0.568);
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 40px 12px 12px;
  margin: 0 0 0.5rem;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%23e65c00' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");

  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* BOTÃO LIMPAR */
.clear {
  width: 32%;
  margin-top: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #e11d48;
  text-shadow: 0 1px 2px #000000d5;
  /* box-shadow: inset [horizontal] [vertical] [blur] [cor] */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Essencial para esconder o brilho fora do botão */
  color: white;
  cursor: pointer;
}

/* EMPTY STATE */
.empty {
  text-align: center;
  margin-top: 20%;
  color: #292e38;
  letter-spacing: 0.5px;
}

.empty img {
  width: 40px;
  opacity: 0.3;
}

.empty p {
  font-weight: bold;
  font-size: 16px;
  opacity: 0.65;
}

.empty span {
  opacity: 0.35;
}

/* Container principal do login */
#userInfo {
  display: flex;
  align-items: center;
  gap: 3px; /* Espaço entre Nome, Traço e Número */
  font-family: "DM Sans", sans-serif;
}

/* Nome do Usuário */
.user-name {
  color: #1d573c;
  font-weight: 900;
  font-size: 18px;
}

/* O traço separador */
.user-separator {
  color: #303030;
  font-weight: bold;
  font-size: 16px;
}

/* Container do número com o U elevado */
.user-badge {
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* O número (01) */
.user-number {
  color: #fa6000;
  font-size: 20px;
  font-weight: 900;
}

/* A letra U "Elevada" */
.user-number sup {
  font-size: 11px;
  color: #303030; /* Cor escura para o U */
  font-weight: 900;
  position: absolute;
  top: -2px; /* Ajusta a altura (mais para cima ou para baixo) */
  right: -8px; /* Ajusta a distância lateral em relação ao número */
}

/* LISTA */
ul {
  list-style: none;
  margin-top: 20px;
}

/* Isso garante que o container da lista se comporte como um bloco vertical real */
#productList {
  display: flex;
  flex-direction: column !important;
  gap: 10px;
  border-radius: 8px;
  padding: 5px 20px 15px 15px;
  background: white;
  box-shadow: inset 0 0 10px #084d47 !important;
  min-height: 100px;
  overflow-y: auto; /* Permite scroll se a lista crescer muito */
  overflow-x: hidden;
  position: relative;
}

/* Estilo para separar visualmente a parte de confirmados */
.confirmed-title {
  margin-top: 30px !important; /* Cria um espaço obrigatório antes dos itens confirmados */
  border-top: 2px dashed #128c7e;
  padding-top: 15px;
}

/* Esconde a lista enquanto estiver vazia */
#productList:empty {
  display: none;
}

#productList:not(:empty) {
  display: block;
}

li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  margin-left: 4%;
}

/* BLOCO ESQUERDO */
.item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bolinha */
.dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: inset 0 0 7px #085852;
}

/* CONTAINER DO TEXTO */
.item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  color: #e65c00;
  letter-spacing: 0.5px;
}

.item-info2 {
  display: flex;
  flex-direction: column;
}

/* LINHA PRINCIPAL (NOME + PREÇO) */
.item-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-info strong {
  line-height: 1;
}

/* PREÇO */
.item-price {
  font-weight: bold;
  color: #084d47;
  font-size: 14px;
  white-space: nowrap;
}

li.checked {
  position: relative;
}

/* Só o TEXTO e BOLINHA ficam mais suaves */
li.checked .item-info,
li.checked .dot {
  opacity: 0.6;
}

/* MAS preço fica normal */
li.checked .item-price {
  opacity: 1;
}

li.checked::after {
  display: none;
}

li.checked .item-info strong {
  text-decoration: none;
  background-image: linear-gradient(#084d47, #084d47);
  background-size: 100% 1.8px; /* ESPESSURA AQUI */
  background-repeat: no-repeat;
  background-position: 0 50%;
}

/* ============ */
/*    MODAIS    */
/* ============ */
/* MODAL DE LOGIN / CADASTRO */
.login-modal-size {
  max-width: 350px !important;
  text-align: center;
}
.divider {
  margin: 20px 0;
  color: #575757;
  font-size: 0.9em;
  position: relative;
}
.modal-actions-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.google-btn-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 45px;
  background: white;
  border: 1px solid #dadce0;
  box-shadow: inset 0 0 10px #ce2525;
  border-radius: 8px;
  cursor: pointer;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.hidden {
  display: none;
}

.modal-content,
.confirm-modal,
.modal-content-google {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: inset 0 0 15px #833500;
}

.store-title {
  margin-top: 15px;
  margin-bottom: 2px;
  margin-left: 3%;
  font-size: 14px;
  font-weight: bold;
  color: #084d47;
}

#feedbackModal {
  text-align: center;
}

#feedbackModal button {
  margin-top: 0;
}

.modal-content h2,
.confirm-modal h2 {
  text-align: center;
  color: #084d47;
  font-weight: 900;
  margin-bottom: 10px;
}

#feedbackMessage {
  padding-bottom: 0;
}

.modal-content-img {
  width: 90px;
}

.modal-content img {
  max-width: 120px;
  display: block;
  margin: 10px auto;
  width: 90px;
}

.modal-content-google img {
  width: 25px;
}
#installModal .modal-content {
  text-align: center;
  align-items: center;
}

#listsModal .modal-content img {
  display: block;
  margin: 10px auto;
}

.modal-install-title,
.modal-content-google h2 {
  font-weight: 900;
  color: #085852;
  margin: 0.5rem 0;
}

#installModal img {
  width: 100px;
  margin-bottom: 1rem;
}

.modal-content p,
.confirm-modal p,
.modal-content-google p {
  padding-bottom: 1rem;
}

.modal-content label {
  font-size: 14px;
  color: #06423d;
}

.modal-content select {
  border: 1px solid #0f766e;
  width: 100px;
  color: #e65c00;
  font-weight: bold;
  border-radius: 5px;
  margin-left: 4%;
  padding: 3px;
}
.modal-content input,
.modal-content-google input {
  width: 100%;
  height: 45px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding-left: 5%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding-left: 5%;
  outline: none; /* Remove a borda padrão azul do navegador */
  box-shadow: 0 0 5px #00000057;
  transition: border-color 0.3s; /* Adiciona uma transição suave */
}

#newStoreInput {
  margin-top: 1rem;
}

#editItems option {
  font-weight: bold;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid #c1c1c1;
  border-radius: 9px;
  justify-content: space-between;
  margin: 5px 0;
}

.qty button {
  background: #eee;
  font-size: 18px;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  cursor: pointer;
}

#minus:hover {
  background: #e11d4744;
  color: #e11d48;
}
#plus:hover {
  background: #16a34a2f;
  color: #16a34a;
}

#priceInput {
  padding-left: 7%;
}

#qtyValue {
  font-weight: bold;
  font-size: 18px;
}

/* SUBTOTAL */
.subTotal {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
  text-align: right;
}

/* AÇÕES DO MODAL */
.modal-actions,
.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.confirm-modal {
  text-align: center;
}

.save {
  width: 32%;
  flex: 1;
  background: #0f766e;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: bold;
  text-shadow: 0 1px 2px #000000d5;
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

#viewListsBtn {
  width: 32%;
  margin-top: 10px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  font-weight: bold;
  text-shadow: 0 1px 2px #000000d5;
  /* box-shadow: inset [horizontal] [vertical] [blur] [cor] */
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.modal-actions button,
.confirm-modal button {
  flex: 1;
  padding: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  text-shadow: 0 1px 2px #000000d5;
  /* box-shadow: inset [horizontal] [vertical] [blur] [cor] */
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Essencial para esconder o brilho fora do botão */
  transition: all 0.3s;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.modal-actions button:hover,
.confirm-modal button:hover {
  transform: scale(1.03);
}

.danger,
.btn-primary {
  background: #e11d48;
  color: white;
  font-weight: bold;
  font-size: 14px;
  border: none;
  height: 40px;
  border-radius: 8px;
  margin: 0.2rem 0;
  text-shadow: 0 1px 2px #000;
  box-shadow:
    inset 0 0 5px rgba(0, 0, 0, 0.63),
    0 0 10px #00000071;
  transition: all 0.5s ease-in-out;
}

.success,
.btn-secondary {
  background: #16a34a;
  color: white;
  font-weight: bold;
  font-size: 14px;
  border: none;
  height: 40px;
  border-radius: 8px;
  margin: 0.2rem 0;
  text-shadow: 0 1px 2px #000;
  box-shadow:
    inset 0 0 5px rgba(0, 0, 0, 0.63),
    0 0 10px #00000071;
  transition: all 0.5s ease-in-out;
}

.secondary {
  background: #2563eb;
  color: white;
  font-weight: bold;
  font-size: 14px;
  border: none;
  height: 40px;
  border-radius: 8px;
  margin: 0.2rem 0;
  text-shadow: 0 1px 2px #000;
  box-shadow:
    inset 0 0 5px rgba(0, 0, 0, 0.63),
    0 0 10px #00000071;
  transition: all 0.5s ease-in-out;
}

.danger:hover,
.success:hover,
.secondary:hover {
  box-shadow:
    inset 0 0 5px rgba(0, 0, 0, 0.63),
    1px 1px 7px #000000d8;
  transform: translateY(-3px);
}

/* FOOTER */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 15px;
  /* border-top: 1px solid #e65c00; */
  box-shadow: 0 0 7px #0000006e;
  z-index: 10000;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 4%;
  margin-right: 4%;
}

.footer span {
  font-weight: bold;
}

.footer strong {
  font-size: 20px;
}

.footer p {
  text-align: end;
  font-size: 11px;
}
.cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-info img {
  width: 26px;
}

/* ================ *\
/* QUARKZETTA       *\
/* ================ *\
/* Container Principal (Equivalente ao tech-container do Tailwind) */
.tech-container {
  position: relative;
  width: 100%;
  margin-top: 5rem;
  overflow: hidden;
  background: transparent;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

/* Wrapper Interno de Limite */
.tech-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 8px; /* px-2 */
  z-index: 0;
}
/* Box que segura as duas imagens juntas no centro */
.images-magnet-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

/* Estilo das Imagens */
.logo-img {
  height: 45px;
  width: auto;
  margin-left: 3%;
  object-fit: contain;
}

.nome-img {
  height: 60px;
  width: auto;
  margin-right: 3%;
  object-fit: contain;
}

/* --- ANIMAÇÕES DE ÍMÃ --- */
@keyframes magnet-zigzag-logo {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-75%, -15px);
  }
  50% {
    transform: translate(-95%, 0);
  }
  75% {
    transform: translate(-75%, 15px);
  }
}

@keyframes magnet-zigzag-nome {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(55%, 25px);
  }
  50% {
    transform: translate(55%, 0);
  }
  75% {
    transform: translate(55%, -25px);
  }
}

.animacao-ima-logo {
  animation: magnet-zigzag-logo 10s ease-in-out infinite;
  will-change: transform;
}

.animacao-ima-nome {
  animation: magnet-zigzag-nome 10s ease-in-out infinite;
  will-change: transform;
}

/* --- PARTÍCULAS (VAGALUMES) --- */
.data-bit {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(1px);
}

@keyframes fly-right {
  0% {
    left: 30%;
    opacity: 0;
    transform: scale(0.5);
  }
  20% {
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5) rotate(45deg);
    opacity: 0.7;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    left: 70%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes fly-left {
  0% {
    right: 30%;
    opacity: 0;
    transform: scale(0.5);
  }
  20% {
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5) rotate(-45deg);
    opacity: 0.7;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    right: 70%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes seismic-glow {
  0%,
  100% {
    border-radius: 50%;
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    border-radius: 30% 70% 70% 30%;
    transform: scale(1.4);
    opacity: 0.7;
  }
}

/* Cores e Atribuições Individuais das Partículas */
.bit-green {
  background: #39ff14;
  box-shadow: 0 0 15px #39ff14;
  top: 55%;
  animation:
    fly-right 11s linear infinite 1.5s,
    seismic-glow 4s ease-in-out infinite;
}
.bit-black {
  background: #000000;
  box-shadow: 0 0 15px #000000;
  top: 45%;
  animation:
    fly-right 8s linear infinite,
    seismic-glow 4s ease-in-out infinite;
}
.bit-red {
  background: #dc2626;
  box-shadow: 0 0 15px #dc2626;
  top: 25%;
  animation:
    fly-right 6s linear infinite,
    seismic-glow 3s ease-in-out infinite;
}
.bit-blue {
  background: #0044ff;
  box-shadow: 0 0 15px #0044ff;
  top: 40%;
  animation:
    fly-left 9s linear infinite 3s,
    seismic-glow 4s ease-in-out infinite;
}
.bit-white {
  background: #ffffff;
  box-shadow: 0 0 15px #ffffff;
  top: 45%;
  animation:
    fly-left 10s linear infinite 1s,
    seismic-glow 3s ease-in-out infinite;
}
.bit-orange {
  background: #ff6600;
  box-shadow: 0 0 15px #ff6600;
  top: 55%;
  animation:
    fly-right 12s linear infinite 2s,
    seismic-glow 5s ease-in-out infinite;
}

/* NOTE CREDITS FOOTER */
.note-container-footer {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
}

/* Título: JÁMERCADO */
.note-title-footer {
  padding-top: 1rem; /* py-4 (top) */
  padding-bottom: 0.3em; /* py-4 (bottom) */
  color: #000000;
  font-weight: 900; /* font-black */
  text-transform: uppercase;
  font-size: 0.75rem; /* text-sm */
  letter-spacing: 0.5em; /* tracking-[0.5em] */
  margin: 0;
  opacity: 0.5;
}

/* Parágrafo: Copyright */
.note-copyright-footer {
  color: #000000; /* text-[#0a2540]/40 */
  font-size: 10px; /* text-[11px] */
  font-weight: 700; /* font-bold */
  letter-spacing: 0.2rem; /* tracking-[0.2rem] */
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.35;
}

/* =============== */
/* ANÚNCIOS */
/* =============== */
.ad-bottom-area {
  clear: both; /* ESSA É A CHAVE: obriga a div a começar só depois que as laterais terminarem visualmente */
  width: 100% !important;
  max-width: 300px !important;
  margin: 25px auto 100px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 15px;
  box-sizing: border-box;
}

.card {
  color: #0f172a;
  background: #ffffffbf;
  border-radius: 15px;
  margin: 0px 0px 5px;
  padding: 1.5em;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 15px #00000062;
}

.card-dev-club h4 {
  margin-bottom: 1rem;
}
.card-dev-club h4,
.devClub-text {
  color: white;
  text-shadow: 0 0 3px #000;
}

.devClub-text {
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.devClub {
  background: #ffffffaf;
  padding: 0.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: inset 0 0 10px #420f69 !important;
}

/* Banner DevClub */
.card-dev-club {
  text-align: center;
  background: linear-gradient(
    45deg,
    #39204dab,
    #491d6bb2,
    #5f1896cb
  ) !important;
  border-top: 4px solid #420f69 !important;
  box-shadow: 1px 1px 6px #6818a5 !important;
  animation: swing-banner 2.5s ease-in-out infinite;
}
.card-dev-club p #icon-yt {
  align-items: center;
  vertical-align: middle;
}

/* Botão DevClub  */
.btn-3d-dev-club {
  background: #fff !important;
  color: #420f69 !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: 0 4px 0 #420f69;
  transition: all 0.2s;
  margin-top: 10px;
  animation: balancar 2.5s ease-in-out infinite;
  cursor: pointer;
}
/* Coraçõezinhos (invisíveis por padrão) */
.btn-3d-dev-club::before,
.btn-3d-dev-club::after {
  content: "󠀾󠀾󠀾󠀾< 🖥️ 🧠 📱 >";
  position: absolute;
  font-size: 15px;
  opacity: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Animação para lançar corações */
.btn-3d-dev-club::before {
  animation: fly 2.3s infinite;
}

.btn-3d-dev-club::after {
  animation: fly 2.3s infinite;
  animation-delay: 0.7s; /* Segundo coração sai depois */
}

#card-dev-club img {
  background: #fff;
  font-size: 3rem;
  height: 3rem;
  padding: 2px;
  margin-bottom: 5px;
  border-radius: 8px;
  box-shadow: 0 0 8px #6cd602;
}

.devClub strong {
  font-size: 1.5em;
  border-radius: 3px;
  text-shadow: 1px 1px 4px #000;
}

#code {
  color: #6818a5;
}
#dev {
  color: #70e000;
}

/* --- ANIMAÇÕES EM LOOP DOS BOTÕES --- */
@keyframes balancar {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(10deg);
  }
  30% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* Movimento do Botão (Tremor) */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Voo do Coração 1 */
@keyframes fly {
  0% {
    transform: translate(-40%, 0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-15px, -50px) scale(1.3);
    opacity: 0;
  }
}

/* Voo do Coração 2 */
@keyframes fly {
  0% {
    transform: translate(-30%, 0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(15px, -50px) scale(1.1);
    opacity: 0;
  }
}

@keyframes balanço-botao {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes swing-banner {
  0%,
  100% {
    transform: translateX(10px);
  }
  50% {
    transform: translateX(-10px);
  }
}

#install-container {
  position: fixed;
  bottom: 85px;
  left: 20px;
  z-index: 9999;
  animation: float 3s ease-in-out infinite;
}

/* ESTILIZAÇÃO DO BOTÃO DE DOWNLOAD */
.btn-download-animado {
  position: relative;
  overflow: hidden; /* Importante para o brilho não vazar */
  display: flex;
  align-items: center;
  gap: 12px;
  /* Estilo Glassmorphism */
  background: linear-gradient(135deg, #d1aa91, #ce926b, #e78c4f);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;

  /* Texto */
  color: #0f172a;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.btn-down-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.btn-download-animado img {
  box-shadow: 0 1px 2px #000000;
}

.btn-download-animado:hover {
  scale: 1.05;
  background: linear-gradient(135deg, #0f766e, #68a5a0, #96ebe4);
}

.btn-download-animado:active {
  scale: 0.95;
}
/* Brilho suave no Botão */
.btn-download-animado::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: rotate(30deg);
  animation: shine-sweep 4s infinite ease-in-out;
}

@keyframes shine-sweep {
  0% {
    left: -100%;
  }
  20% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Animação extra de flutuar (opcional, como no exemplo anterior) */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Container dos Radios */
.unit-selector {
  display: flex;
  align-items: center;
  justify-content: space-around !important;
  margin: 10px 40px !important;
}

/* Esconde o radio padrão e estiliza o label como botão */
.unit-selector label {
  cursor: pointer;
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  color: #128c7e;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: inset 0px 0px 7px #00000069;
}

.unit-selector input[type="radio"] {
  display: none; /* Esconde a bolinha */
}

/* Estilo quando selecionado */
.unit-selector input[type="radio"]:checked + span {
  background: #128c7e !important;
  color: white !important;
}

.unit-selector label:has(input:checked) {
  background: #128c7e !important;
  color: white !important;
  box-shadow:
    inset 0px 0px 7px #00000069,
    0 1px 5px #000000d7;
}

/* Estilo Nota de Mercado */
/* Mercado - Destaque Principal */
.store-title-main {
  color: #0f766e;
  font-size: 1rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 900;
  border-bottom: 2px dotted #e65c00;
  text-transform: uppercase;
}

/* Categoria - Destaque Posterior (Lista Carrinho) */
.category-title-sub {
  color: #084d47;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 5px 0 10px 0px;
  background: #ffffff;
  border-radius: 5px;
  padding: 3px 10px;
  box-shadow:
    inset 0 0 10px #06423d,
    1px 1px 3px #000000dc;
}
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  font-size: 12px;
}

.receipt-table th {
  border-bottom: 2px solid #128c7e;
  text-align: left;
  padding: 8px 4px;
  color: #128c7e;
}

.receipt-row td {
  padding: 10px 4px;
  border-bottom: 1px solid #eee;
}

.receipt-row:last-child td {
  border-bottom: none;
}

.category-title {
  color: #fa6000;
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 10px;
  text-transform: uppercase;
}

.cart-section-title {
  margin-top: 20px;
  font-weight: 900;
  color: #e65c00;
  border-radius: 8px;
  /* border-top: 2px dashed #128c7e; */
  padding: 10px 0;
  /* background: #e65c00; */
  text-align: center;
  text-shadow: 1px 0 1px #000000a2;
  box-shadow:
    inset 0 0 20px #085852,
    1px 1px 7px #000000e3;
  letter-spacing: 0.5px;
}

.cart-title {
  margin-top: 30px;
  font-weight: 900;
  color: #128c7e;
  border-top: 2px dashed #128c7e;
  padding-top: 10px;
  font-size: 10px;
}

.cart-header {
  display: grid;
  grid-template-columns: 1fr 50px 50px 80px 80px;
  font-size: 14px;
  color: #000;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr 50px 50px 80px 80px;
  align-items: center;
  font-size: 14px;
  width: 100%;
  min-width: 0;
}

.col-desc {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.col-desc strong {
  color: #fa6000;
  font-weight: 600;
  margin-left: 0;

  white-space: normal;
  overflow: visible;
  text-overflow: unset;

  max-width: 100%;
}

.col-qty,
.col-unit {
  color: #000 !important;
  text-align: center;
  font-size: 14px;
}

.col-price,
.col-total {
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums; /* 🔥 deixa números alinhados tipo tabela */
}

/* ESTILIZAÇÃO DOS ANÚNCIOS GOOGLE ADSENSE */
.ad-top,
.ad-middle,
.ad-bottom {
  margin: 20px 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .ad-middle {
    max-width: 728px;
    margin: 20px auto;
  }
}

@media (max-width: 430px) {
  .modal-content {
    max-width: 80%;
    padding: 10px;
  }
  main {
    max-width: 100%;
    padding: 10px;
  }
  .add-product {
    gap: 7px;
  }

  #productInput {
    height: 40px;
  }
  #addBtn {
    width: 40px;
    height: 40px;
    padding: 0 0 2px 0;
  }

  .cart-header,
  .cart-row {
    grid-template-columns: 1fr 28px 32px 52px 55px;
    column-gap: 3px;
    font-size: 12px;
  }

  .col-desc {
    gap: 4px;
  }

  .col-qty,
  .col-unit,
  .col-price,
  .col-total {
    font-size: 12px;
  }

  .col-desc strong {
    font-size: 12px;
  }

  .cart-info {
    margin-top: 12px;
  }
  #cartIcon {
    width: 23px;
    margin-bottom: 7px;
  }

  #totalPrice {
    font-size: 18px;
  }
}
