@charset "UTF-8";

/* ==============================
          STYLE PRINCIPAL 
============================== */

:root{
--bg:#0f1724;
--card:#0b1220;
--muted:#9aa4b2;
--accent:#ff7b7b;
--accent-2:#9b8cff;
--glass:rgba(255,255,255,0.06);
--radius:16px;
--max-width:100%;
}


*{
  box-sizing:border-box;
  transition:all 0.25s ease;
}

html,body {
  height:100%;
  scroll-behavior:smooth;
}

body {
  margin:0;padding:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#071226 0%,#0b1730 100%);
  color:#e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container {
  max-width:var(--max-width);
  margin:0 auto;
  padding:24px;
}


/* ==============================
    CABEÇALHO FIXO + HAMBÚRGUER
============================== */

header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:50;
  background:rgba(11,18,32,0.7);backdrop-filter:blur(8px);
  box-shadow:0 2px 12px rgba(0,0,0,0.25);
}

.brand {
  display:flex;
  gap:14px;
  align-items:center;
}

.logo {
  width:52px;
  height:52px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-family:'Playfair Display',serif;
  color:white;
}

.brand h1 {
  font-size:18px;
  margin:0;
}

nav {
  display:flex;
  gap:14px;
  align-items:center;
}

nav a {
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  position:relative;
}

nav a::after {
  content:'';
  position:absolute;
  bottom:-3px;
  left:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .3s ease;
}

nav a:hover::after {
  width:100%;
}

nav a.active {
  color: var(--accent);
}

nav a.active::after {
  width: 100%;
  background: var(--accent);
}

.actions {
  display:flex;
  gap:12px;
  align-items:center;
}

.btn {
  background:var(--accent);
  border:none;
  padding:10px 14px;
  border-radius:12px;
  color:white;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(255,123,123,0.3);
}

.btn:hover {
  transform:translateY(-2px);
  text-decoration: underline;
}

.btn.secondary {
  background:transparent;
  border:1px solid rgba(255,255,255,0.1);
  color:var(--muted);
}

.btn.secondary:hover {
  border-color:var(--accent);
  color:var(--accent);
}


.hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  margin-bottom: 20px;
  cursor:pointer;
  z-index: 110;
}

.hamburger span {
  width:24px;
  height:3px;
  background:var(--muted);
  border-radius:2px;
}


.mobile-nav {
  position: fixed;
  inset: 0;
  height: 60vh;
  width: 90%;
  background: rgba(11,18,32,0.97);
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(.2,.9,.2,.1), opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;  
  z-index: 9999;
  will-change: transform, opacity;
 
}
.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: color .22s ease;
}

.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .24s ease;
  transform: translateX(-50%);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
}



.mobile-nav a:hover::after,
.mobile-nav a:hover::after {
  width: 20%;
}

.mobile-nav .close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ==============================
        HERO E SEÇÕES
============================== */

.hero {
  display:grid;
  grid-template-columns:1fr 420px;
  gap:28px;
  align-items:center;
  padding:120px 0 36px;
}

.hero-left h2 {
  font-family:'Playfair Display',serif;
  font-size:40px;
  margin:0 0 8px;
  text-align: center;
  animation:fadeInUp .6s ease forwards;
}

.hero-left p {
  color:var(--muted);
  margin:0 0 20px;
  line-height:1.5;
  text-align: center;
  animation:fadeInUp .8s ease forwards;
}

.search {
  display:flex;
  gap:8px;
  animation:fadeInUp 1s ease forwards;
}

.search input {
  flex:1;
  padding:12px;
  border-radius:12px;
  border:0;
  background:var(--glass);
  color:inherit;
}

.hero-right {
  background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
  padding:18px;
  border-radius:16px;
  animation:fadeInUp 1.2s ease forwards;
}

.promo img {
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 4px 16px rgba(0,0,0,0.3);
}

/* ==============================
      CATEGORIAS E PRODUTOS
============================== */

.cats {
  display:flex;
  justify-content: center;
  gap:10px;
  margin:18px 0;
}

a {
  text-decoration: none;
  color: white;
}

.cat {
  background:var(--glass);
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  font-weight:600;
  cursor:pointer;  
}

.cat:hover {
  background:rgba(255,255,255,0.1);
  color:#fff;
}

.grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:22px 0;
}

.card {
  background:linear-gradient(180deg,rgba(255,255,255,0.04),transparent);
  border-radius:14px;
  padding:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.06);
  transform:translateY(0);
  transition:all .3s ease;
  animation:fadeInUp 1s ease forwards;
}

.card:hover {
  transform:translateY(-6px);
  box-shadow:0 8px 24px rgba(0,0,0,0.25);
}

.card img {
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}

h4 {
  margin: 0;
}

.card .meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:10px;
}

.tag {
  font-size:12px;
  color:var(--muted);
}

.price {
  font-weight:700;
}

.card .buy {
  margin-top:10px;
  display:flex;
  gap:8px;
}

/* ===============================
   ESTILO PADRÃO PARA <select>
   =============================== */

select#category {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  color: #333;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  appearance: none; /* remove seta nativa */
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

/* Seta customizada */
select#category:after {
  content: "▼";
  font-size: 12px;
  color: #666;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Hover */
select#category:hover {
  background: #f0f0f0;
  border-color: #bbb;
}

/* Focus */
select#category:focus {
  border-color: #007bff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Option interno */
select#category option {
  padding: 10px;
  font-size: 15px;
}



/* ==============================
          SEÇÃO SOBRE
============================== */

#sobre p {
  color:var(--muted);
  max-width:70%;
  line-height:1.6;
  text-indent: 20px;
}

#sobre h3 {
  margin-bottom:10px;
}

/* ==============================
      CONTATO COM MAPA E ROTA
   ============================== */
.contato {
  padding: 80px 20px;
  background: rgba(11,18,32,0.9);
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #fff;
  text-align: center;
}

.contato h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--accent);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contato-info {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
}

.contato-info a {
  color: var(--accent);
  text-decoration: none;
}
.contato-info a:hover {
  text-decoration: underline;
}

.mapa-container {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
  text-align: center; 
}

.mapa-container iframe {
  border-radius: 12px;
  display: block;
}

.rota-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px; /* aumentei o padding para equilibrar com o texto */
  background: var(--accent);
  color: #fff !important; /* força o texto branco visível */
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255,123,123,0.25);
  text-align: center;
}

.rota-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,123,123,0.35);
  background: linear-gradient(135deg, var(--accent), #ff9696);
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-form input,
.contato-form textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.contato-form textarea {
  resize: none;
  height: 120px;
}

.contato-form .btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contato-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,123,123,0.25);
}

/* ==============================
      RODAPÉ E INFORMAÇÕES
============================== */
footer {
  margin-top:36px;
  margin-bottom: 60px;
  padding:28px;
  border-top:1px solid rgba(255,255,255,0.05);
  background:rgba(11,18,32,0.6);
  backdrop-filter:blur(6px);
}

.footer-grid {
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.footer-grid .socials {
  display: flex;
  gap: 12px;
  margin-right: 10px; 
}

.footer-info {
  color:var(--muted);
  margin-top:6px;
  font-size:14px;
}

.socials a {
  background:var(--glass);
  padding:10px;
  border-radius:10px;
  text-decoration:none;
  color:var(--muted);
  font-weight:700;
}

.socials a:hover {
  background:var(--accent);
  color:white;
}

.center {
  display:flex;
  align-items:center;
  justify-content:center;
}

.text-right {
  text-align:right;
  color:var(--muted);
}

.qa-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255,123,123,0.3);
}
.qa-btn:hover {
  transform: scale(1.1);
}

.quick-actions {
  display: flex;
  justify-content: center; 
  align-items: center;     
}

button.qa-btn{
  margin: 13px 5px;
}

/* CREDITOS AMDigital */
.creditos {
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:0.85em;
  color:rgba(46,46,56,0.7);
}
.creditos img {
  height:28px;
  width:auto;
  opacity:0.95;
  transition:opacity .25s;
}
.creditos a:hover img {
  opacity:1;
}

/* ==============================
      ANIMAÇÕES E MODAL PIX
============================== */

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

@keyframes 
  scaleIn {
    from {
      opacity:0;
      transform:scale(0.95);
    }

    to {
      opacity:1;
      transform:scale(1);
    }
}

.modal {
  animation:scaleIn .3s ease forwards;
}

/* ==============================
   CARRINHO MODAL
   ============================== */

.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.cart-modal.active {
  display: flex;
}

.cart-content {
  background: var(--card, #0b1220);
  padding: 30px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  color: #fff;
}

.cart-content h3 {
  margin-top: 0;
  text-align: center;
  color: var(--accent);
}

#cartItems {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart-item span {
  font-size: 15px;
}

.cart-total {
  text-align: right;
  font-weight: bold;
  margin-top: 10px;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* ===== MODAL PIX ===== */

#pixModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 11000;
}
#pixModal.open { display: flex; }

.pix-card {
  background: linear-gradient(180deg,#071026,#08122a);
  padding: 20px;
  border-radius: 14px;
  max-width: 420px;
  width: 92%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  color: #fff;
}
.pix-card .qr { margin: 0; }
.pix-card .pix-code {
  background: rgba(255,255,255,0.03);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}
.pix-card .pix-actions {
  display:flex;
  gap:6px;
  justify-content:center;
  margin-top:4px;
  height: 30%
}

.pix-card .pix-actions .btn {
  padding: 6px 10px;
  font-size: 0.8rem;
  transform: scale(0.9);
}

.btn.copy-pix { 
  padding:8px 12px;
  border-radius:10px;
}

.pix-info {
  margin-top: 14px;
  background: rgba(255,255,255,0.03);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.pix-info p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

#btnComprovante {
  display: block;
  margin: 0 auto 10px auto;
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
}

#closePixMsg {
  width: 100%;
  margin-top: 5px;
}

.pix-modal {
  opacity:0;
  transform:scale(.95);
  transition:all .25s ease;
}

.pix-modal.open {
  opacity:1;
  transform:scale(1);
}

/* ===================
 profile icon button
 ================== */

.profile-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  text-decoration:none;
  font-size:18px;
  border:1px solid rgba(255,255,255,0.04);
  transition:all .18s ease;
  margin-left:8px;
}
.profile-btn:hover{
  background:rgba(255,255,255,0.04);
  color:var(--accent);
  transform:translateY(-2px);
}

/* =========================
   NOVIDADES
   ========================= */
.novidades {
  margin-top: 40px;
}

.novidades h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #fff;
}

#novidadesGrid .card {
  border: 1px solid rgba(255,255,255,0.12);
}
