:root{
  --bg:#0b0f14;
  --card:#101826;
  --card2:#0f1620;
  --text:#eaf2ff;
  --muted:#a9b7c8;
  --line:#1f2c3c;
  --primary:#2f81f7;
  --primary2:#6aa9ff;
  --good:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }

html,body{
  margin:0; padding:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(47,129,247,.28), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(34,197,94,.14), transparent 55%),
    var(--bg);
  color:var(--text);
  min-height:100%;
}

a{ color:inherit; text-decoration:none; }
.container{ max-width:1100px; margin:0 auto; padding:0 16px; }

/* ===== Watermark logo behind everything ===== */
.watermark{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image: url("./images/gota_logo.png");
  background-repeat:no-repeat;
  background-position: 55% 45%;
  background-size: min(650px, 70vw);
  opacity: .06;
}

/* Ensure content above watermark */
.topbar, .hero, main, footer, .modal, .drawer{
  position:relative;
  z-index:1;
}

/* ===== Topbar ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(15,22,32,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(31,44,60,.6);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 0;
}

.brand{
  display:flex; align-items:center; gap:12px;
}
.brand__mark{
  width:42px; height:42px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  padding:6px;
}
.brand__logo{
  font-weight:900;
  letter-spacing:.4px;
  font-size:20px;
  line-height:1;
}
.brand__logo span{ color: var(--primary2); }
.brand__tag{ font-size:12px; color:var(--muted); margin-top:4px; }

.nav{ display:flex; gap:16px; }
.nav a{ font-size:14px; color:var(--muted); }
.nav a:hover{ color:var(--text); }

.topbar__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.langSelect{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: var(--text);
  padding:10px 10px;
  border-radius:12px;
  outline:none;
}
.langSelect option{ background:#0f1620; }

/* ===== Buttons ===== */
.btn{
  border:1px solid transparent;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:800;
  transition:.2s ease;
  color: var(--text);
}
.btn--primary{
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color:white;
  box-shadow: 0 12px 30px rgba(47,129,247,.28);
}
.btn--primary:hover{ transform: translateY(-1px); }
.btn--secondary{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
.btn--secondary:hover{ background: rgba(255,255,255,.10); }
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.10);
}
.btn--ghost:hover{ background: rgba(255,255,255,.06); }
.w100{ width:100%; }

.badge{
  display:inline-flex;
  min-width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(47,129,247,.18);
  border:1px solid rgba(47,129,247,.35);
  margin-left:8px;
  font-size:12px;
  padding:0 7px;
}

/* ===== Hero ===== */
.hero{ padding:34px 0 18px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero__grid{ grid-template-columns:1fr; }
  .nav{ display:none; }
}

.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.22);
  color: #d8ffe6;
  font-size:12px;
  font-weight:800;
}

.hero h1{
  margin:14px 0 10px;
  font-size:44px;
  line-height:1.05;
}
.hero h1 span{ color: var(--primary2); }
.hero p{ color: var(--muted); font-size:16px; line-height:1.6; margin:0 0 16px; }

.hero__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.hero__stats{
  display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;
}
.stat{
  flex: 1;
  min-width: 150px;
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.stat__n{ font-weight:900; font-size:18px; }
.stat__t{ color:var(--muted); font-size:12px; margin-top:4px; }

.hero__card{
  position:relative;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  cursor:pointer;
}
.hero__card:focus{ outline:2px solid rgba(47,129,247,.45); outline-offset:2px; }
.hero__shine{
  position:absolute; inset:-100px;
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(47,129,247,.35), transparent 60%),
    radial-gradient(320px 220px at 80% 10%, rgba(34,197,94,.20), transparent 60%);
  filter: blur(10px);
  pointer-events:none;
}
.hero__img{
  width:100%;
  height:240px; /* ✅ mais pequena (antes 330px) */
  object-fit:cover;
  display:block;
  transform: scale(1.02);
}
.hero__cardInfo{
  padding:14px;
  border-top:1px solid rgba(255,255,255,.10);
}
.hero__badge{
  display:inline-flex;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(47,129,247,.12);
  border:1px solid rgba(47,129,247,.22);
  margin-bottom:10px;
}
.hero__title{ font-weight:900; font-size:16px; }
.hero__price{ font-weight:900; font-size:22px; margin-top:6px; color:#dbe9ff; }
.hero__mini{ color:var(--muted); font-size:12px; margin-top:6px; }

/* ===== Sections ===== */
.section{ padding: 28px 0; }
.section__head h2{ margin:0; font-size:24px; }
.section__head p{ margin:8px 0 0; color:var(--muted); }

/* ===== Filters ===== */
.filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}
.chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-weight:900;
}
.chip[data-active="1"]{
  border-color: rgba(47,129,247,.55);
  background: rgba(47,129,247,.18);
}
.search{
  flex:1;
  min-width:220px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: var(--text);
  padding:12px 14px;
  border-radius:14px;
  outline:none;
}

/* ===== Product grid ===== */
.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
}
.card{
  border-radius:18px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transition:.18s ease;
}
.card:hover{ transform: translateY(-2px); border-color: rgba(47,129,247,.35); }
.card img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.card__p{ padding:12px; }
.card__name{ font-weight:900; font-size:16px; }
.card__meta{ color:var(--muted); font-size:12px; margin-top:6px; }
.card__row{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; }
.price{ font-weight:900; font-size:18px; }

/* ===== Icon pills row ===== */
.iconRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.picon{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  white-space:nowrap;
}
.picon--sport{
  border-color: rgba(47,129,247,.40);
  background: rgba(47,129,247,.14);
}
.picon--men{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.12);
}
.picon--women{
  border-color: rgba(236,72,153,.40);
  background: rgba(236,72,153,.14);
}
.picon--unisex{
  border-color: rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
}

/* ===== How it works ===== */
.how__grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.how__card{
  padding:14px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.how__icon{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border-radius:12px;
  background: rgba(47,129,247,.18);
  border:1px solid rgba(47,129,247,.35);
  font-weight:900;
}
.how__title{ margin-top:10px; font-weight:900; }
.how__text{ margin-top:6px; color:var(--muted); font-size:13px; line-height:1.5; }

/* ===== Payment box ===== */
.paymentBox{
  margin-top:16px;
  padding:16px;
  border-radius:18px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 900px){ .paymentBox{ grid-template-columns:1fr; } }
.paymentTitle{ font-weight:900; margin-bottom:8px; }
.paymentList{ margin:0; padding-left:18px; color:var(--muted); }
.paymentList li{ margin:6px 0; }

/* ===== Footer ===== */
.footer{
  padding: 20px 0 28px;
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:10px;
}

.muted{ color:var(--muted); }
.small{ font-size:12px; }

/* ===== MODAL ===== */
.modal{ position:fixed; inset:0; display:none; z-index:60; }
.modal[aria-hidden="false"]{ display:block; }
.modal__overlay{ position:absolute; inset:0; background: rgba(0,0,0,.60); }
.modal__box{
  position:relative;
  max-width:560px;
  margin: 10vh auto;
  background: #0f1620;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal__title{ font-weight:900; font-size:16px; }
.modal__body{ padding:14px; }
.row{ display:flex; gap:10px; justify-content:flex-end; margin-top:14px; flex-wrap:wrap; }

.sizes{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.sizeBtn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
}
.sizeBtn[data-active="1"]{
  border-color: rgba(47,129,247,.55);
  background: rgba(47,129,247,.18);
}
.iconBtn{
  width:38px; height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}

/* ===== DRAWER cart ===== */
.drawer{ position:fixed; inset:0; display:none; z-index:70; }
.drawer[aria-hidden="false"]{ display:block; }
.drawer__overlay{ position:absolute; inset:0; background: rgba(0,0,0,.60); }
.drawer__panel{
  position:absolute; right:0; top:0; height:100%;
  width:min(420px, 92vw);
  background:#0f1620;
  border-left:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  display:flex; flex-direction:column;
}
.drawer__head{
  padding:14px;
  display:flex; justify-content:space-between; align-items:center;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.drawer__title{ font-weight:900; }
.drawer__body{ padding:12px; overflow:auto; flex:1; }
.drawer__footer{
  padding:12px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.rowBetween{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.total{ font-weight:900; font-size:16px; }

.cartItem{
  display:flex; gap:10px;
  padding:10px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:10px;
}
.cartItem img{
  width:64px; height:64px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
}
.cartItem__name{ font-weight:900; }
.cartItem__meta{ color:var(--muted); font-size:12px; margin-top:4px; }
.cartItem__right{ margin-left:auto; text-align:right; }
.qtyRow{ display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }
.qtyBtn{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-weight:900;
}

/* ===== checkout ===== */
.payMethods{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}
.payBtn{
  flex:1;
  min-width:170px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-weight:900;
}
.payBtn[data-active="1"]{
  border-color: rgba(47,129,247,.55);
  background: rgba(47,129,247,.18);
}
.payInfo{
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.formGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 700px){ .formGrid{ grid-template-columns:1fr; } }
.field label{
  display:block;
  font-size:12px;
  color: var(--muted);
  margin-bottom:6px;
}
.field input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
}
.field--full{ grid-column: 1 / -1; }

/* ===== Category extra ===== */
#categorySelect{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: var(--text);
  padding:12px 12px;
  border-radius:14px;
  outline:none;
  min-width:220px;
}
#categorySelect option{ background:#0f1620; }

#categoryChips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

@media (max-width: 700px){
  #categorySelect{ width:100%; }
  #categoryChips{ width:100%; }
}

/* ===========================
   FIX: Scroll no CHECKOUT (modal)
   (para ver USDT + USDC)
   ✅ Só isto foi adicionado
=========================== */
#checkoutModal .modal__box{
  max-height: 86vh;
  display: flex;
  flex-direction: column;
}

#checkoutModal .modal__body{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}