
*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}
body{background:#0b0b0b;color:white;overflow-x:hidden}
header{position:fixed;top:0;width:100%;background:transparent;padding:28px 7%;z-index:1000;transition:all .35s ease}
header.scrolled,.category-page header{padding:12px 7%;background:rgba(0,0,0,.82);backdrop-filter:blur(15px);border-bottom:1px solid rgba(255,255,255,.1)}
nav{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
}
.logo img{width:110px;height:auto;object-fit:contain;display:block;transition:.35s ease}
header.scrolled .logo img,.category-page .logo img{width:70px}
.menu{
  display:flex;
  gap:16px;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
}
.menu a{
  color:white;
  text-decoration:none;
  text-transform:uppercase;
  font-size:13px;
  transition:.3s;
  font-weight:bold;
  letter-spacing:.2px;
}
.menu a:hover,.menu a.active{color:#b8b8b8!important}
.nav-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.nav-btn,.cart-open{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:white;padding:9px 14px;border-radius:999px;font-weight:bold;cursor:pointer;backdrop-filter:blur(10px);transition:.25s}
.nav-btn:hover,.cart-open:hover{background:rgba(255,255,255,.13);transform:translateY(-1px)}
.cart-open span{background:#b8b8b8;padding:2px 7px;border-radius:999px;margin-left:5px}
.hero{
  height:90vh;
  background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.72)),
    url('assets/banner.png') center/cover;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  position:relative;
}
.overlay{display:none}

.hero-content{
  position:relative;
  z-index:2;
  padding:20px;
}

.hero h1{
  font-size:72px;
  margin-bottom:20px;
  letter-spacing:2px;
  text-shadow:0 4px 15px rgba(0,0,0,.9);
}

.hero p{
  color:#d1d1d1;
  margin-bottom:30px;
  font-size:18px;
}
button{border:none;color:white;cursor:pointer;font-weight:bold;transition:.3s}
.hero button{padding:15px 35px;border-radius:50px;background:#b8b8b8}.hero button:hover{transform:scale(1.05)}
.products-section{padding:170px 7% 80px}.products-section h2{font-size:55px;margin-bottom:35px;text-transform:uppercase}
.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:18px;margin-bottom:35px;backdrop-filter:blur(12px);animation:fadeUp .55s ease both}
.filter-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-group span{font-size:13px;text-transform:uppercase;color:#aaa;font-weight:bold;letter-spacing:1px}
.filter-size{border:1px solid rgba(255,255,255,.14);background:#111;color:white;padding:8px 14px;border-radius:999px;cursor:pointer;font-weight:bold;transition:.25s}.filter-size:hover,.filter-size.active{background:#b8b8b8;border-color:#b8b8b8;transform:translateY(-2px)}.price-filter input{accent-color:#b8b8b8}
.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px}.card{background:#141414;border-radius:20px;overflow:hidden;transition:.3s;animation:fadeUp .55s ease both;cursor:pointer}.card:hover{transform:translateY(-10px)}.card img{width:100%;height:350px;object-fit:cover}.card h3{padding:20px 20px 10px}.card span{padding:0 20px 18px;display:block;color:#b8b8b8;font-weight:bold}.card-actions{display:flex;gap:10px;padding:0 20px 22px}.view-product,.quick-add{flex:1;border-radius:999px;background:#b8b8b8;color:white;padding:12px 14px}.view-product{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.view-product:hover,.quick-add:hover{transform:scale(1.04);filter:brightness(1.2)}
.product-modal,.login-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:3000;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(8px)}.product-modal.show,.login-modal.show{display:flex}.modal-content,.login-box{background:#101010;border:1px solid rgba(255,255,255,.1);border-radius:24px;box-shadow:0 30px 100px rgba(0,0,0,.55);animation:popIn .25s ease both}.product-modal-content{width:min(900px,95vw);display:grid;grid-template-columns:1fr .85fr;gap:24px;padding:20px;position:relative}.modal-close{position:absolute;right:16px;top:12px;background:transparent;color:white;border:none;font-size:30px;cursor:pointer;z-index:5}.modal-gallery img{width:100%;height:440px;object-fit:cover;border-radius:18px;background:#151515}.modal-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.modal-thumbs img{height:78px;cursor:pointer;border:2px solid transparent;opacity:.75;transition:.25s}.modal-thumbs img.active,.modal-thumbs img:hover{border-color:#b8b8b8;opacity:1}.modal-info{padding:28px 8px;display:flex;flex-direction:column;justify-content:center}.modal-label{color:#b8b8b8;font-weight:bold;letter-spacing:2px;font-size:12px;margin-bottom:10px}.modal-info h2{font-size:36px;margin-bottom:14px}.modal-price{font-size:26px;color:#b8b8b8;font-weight:bold;margin-bottom:18px}.modal-desc{color:#bbb;line-height:1.55;margin-bottom:20px}.size-label{text-transform:uppercase;color:#aaa;font-size:12px;font-weight:bold;margin-bottom:10px}.modal-sizes{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.modal-size{border:1px solid rgba(255,255,255,.16);background:#151515;color:white;padding:9px 14px;border-radius:13px;font-weight:bold;cursor:pointer}.modal-size.active{background:#b8b8b8;border-color:#b8b8b8}.modal-add{width:100%;font-size:14px;border-radius:16px;background:#b8b8b8;color:white;padding:13px 16px;box-shadow:none}.modal-add:hover{transform:translateY(-2px);filter:brightness(1.15)}
.cart-drawer{position:fixed;top:0;right:-430px;width:min(410px,92vw);height:100vh;background:#0f0f0f;z-index:3100;border-left:1px solid rgba(255,255,255,.1);transition:.35s ease;display:flex;flex-direction:column}.cart-drawer.show{right:0}.cart-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:3050;display:none}.cart-backdrop.show{display:block}.cart-head{display:flex;justify-content:space-between;align-items:center;padding:25px;border-bottom:1px solid rgba(255,255,255,.08)}.cart-head button{background:transparent;color:white;border:none;font-size:30px;cursor:pointer}.cart-items{flex:1;overflow:auto;padding:20px}.cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;margin-bottom:18px;background:#161616;border-radius:16px;padding:10px}.cart-item img{width:70px;height:70px;object-fit:cover;border-radius:12px}.cart-item h4{font-size:14px}.cart-item p{color:#aaa;font-size:13px;margin:4px 0}.remove-item{background:transparent;color:#b8b8b8;border:none;font-size:20px;cursor:pointer}.cart-bottom{padding:22px;border-top:1px solid rgba(255,255,255,.08)}.cart-total{display:flex;justify-content:space-between;margin-bottom:15px;font-size:20px}.checkout-btn{width:100%;background:#b8b8b8;border-radius:999px;padding:14px;color:white}
.login-box{width:min(420px,92vw);padding:38px;position:relative}.login-box h2{font-size:38px;margin-bottom:25px}.login-box input{width:100%;padding:15px;background:#171717;border:1px solid rgba(255,255,255,.1);border-radius:14px;color:white;margin-bottom:12px}.login-box button:not(.modal-close){width:100%;background:#b8b8b8;margin:10px 0;border-radius:999px;padding:13px}.login-box p{color:#aaa;text-align:center;font-size:14px}
footer{text-align:center;padding:40px;color:#777}@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes popIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(max-width:950px){nav{align-items:flex-start}.menu{justify-content:flex-start}.nav-actions{width:100%}.product-modal-content{grid-template-columns:1fr;overflow:auto;max-height:92vh}.modal-gallery img{height:330px}.filter-bar{align-items:flex-start;flex-direction:column}.hero h1{font-size:50px}.products-section{padding-top:200px}.hero{height:82vh}}
@media(max-width:600px){header{padding:18px 5%}header.scrolled,.category-page header{padding:10px 5%}.logo img{width:78px}.menu{gap:12px}.menu a{font-size:12px}.products-section h2{font-size:38px}.products-section{padding-left:5%;padding-right:5%;padding-top:220px}.hero h1{font-size:42px}.card img{height:300px}}



/* Galeria do produto */
.modal-main-wrap{
  position:relative;
}

#modalMainImg{
  transition:opacity .18s ease, transform .18s ease;
}

#modalMainImg.is-changing{
  opacity:.55;
  transform:scale(.985);
}

.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.55);
  color:white;
  font-size:32px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  backdrop-filter:blur(8px);
  transition:.2s ease;
}

.gallery-arrow:hover{
  background:rgba(255,255,255,.16);
  transform:translateY(-50%) scale(1.06);
}

.gallery-prev{
  left:12px;
}

.gallery-next{
  right:12px;
}

@media(max-width:600px){
  .gallery-arrow{
    width:36px;
    height:36px;
    font-size:28px;
  }
}


/* Stock / Supabase */
.product-card.sold-out{
  opacity:.55;
}

.quick-add:disabled,
.modal-add:disabled,
.modal-size:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.modal-size:disabled{
  text-decoration:line-through;
}


/* Login / Perfil */
#signupFields input,
#accountBox input{
  margin-bottom:12px;
}
#backLoginBtn,#logoutBtn{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
}
#saveProfileBtn{
  background:#b8b8b8!important;
}
@media(max-width:700px){

  nav{
    grid-template-columns:1fr;
    gap:12px;
    justify-items:center;
  }

  .logo{
    display:flex;
    justify-content:center;
  }

  .menu{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
  }

  .menu a{
    font-size:11px;
  }

  .nav-actions{
    width:100%;
    justify-content:center;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }

  .nav-btn,
  .cart-open{
    font-size:12px;
    padding:8px 12px;
  }
}
