:root{
  --bg:#0c0e12;
  --bg-alt:#14161c;
  --accent:#ff8c1a;
  --accent-dark:#ff6a00;
  --text:#ffffff;
  --text-muted:#a7abb5;
  --card-bg:#15171d;
  --border:rgba(255,255,255,0.08);
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.4;
}

/* HEADER */
.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(12,14,18,0.95);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1200px; margin:0 auto;
  padding:14px 20px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{ height:40px; width:auto; display:block; }
.brand-mark{
  width:42px; height:42px; border-radius:10px;
  background:linear-gradient(135deg,#ff9d2e,#ff6a00);
  color:#1a0d00; font-weight:900; font-size:22px;
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{ font-size:17px; }
.brand-text span{ font-size:12px; color:var(--text-muted); letter-spacing:1px; text-transform:uppercase; }

.btn-whatsapp-header{
  display:flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#ff9d2e,#ff6a00);
  color:#1a0d00; font-weight:800; font-size:14px;
  padding:10px 18px; border-radius:999px;
  text-decoration:none; white-space:nowrap;
}

/* HERO */
.hero{
  max-width:900px; margin:0 auto;
  padding:56px 20px 32px;
  text-align:center;
}
.hero h1{
  font-size:clamp(26px,4vw,42px);
  font-weight:900; letter-spacing:-0.5px;
  margin-bottom:14px;
}
.hero p{
  color:var(--text-muted); font-size:17px;
  max-width:620px; margin:0 auto;
}

/* FILTERS */
.filters{
  max-width:1200px; margin:0 auto;
  padding:0 20px 24px;
  display:flex; gap:10px; flex-wrap:wrap;
  justify-content:center;
}
.filter-btn{
  background:var(--bg-alt);
  border:1px solid var(--border);
  color:var(--text-muted);
  padding:9px 18px; border-radius:999px;
  font-size:14px; font-weight:700;
  cursor:pointer; transition:all .15s ease;
}
.filter-btn:hover{ border-color:var(--accent); color:var(--text); }
.filter-btn.active{
  background:linear-gradient(135deg,#ff9d2e,#ff6a00);
  border-color:transparent; color:#1a0d00;
}

/* CATALOG GRID */
.catalog{
  max-width:1200px; margin:0 auto;
  padding:0 20px 60px;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:22px;
}

.card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .18s ease, border-color .18s ease;
}
.card:hover{ transform:translateY(-4px); border-color:var(--accent); }

.card-img-wrap{ position:relative; }
.card-img-wrap.has-gallery{ cursor:pointer; }

.card-img{
  width:100%; aspect-ratio:4/3;
  object-fit:cover; object-position:top;
  display:block;
  background:#000;
}

.card-gallery-hint{
  position:absolute; right:10px; bottom:10px;
  display:flex; align-items:center; gap:5px;
  background:rgba(10,11,14,0.72);
  color:#fff; font-size:11px; font-weight:700;
  padding:5px 10px; border-radius:999px;
  backdrop-filter:blur(3px);
  transition:background .18s ease, transform .18s ease;
}
.card-img-wrap.has-gallery:hover .card-gallery-hint{
  background:linear-gradient(135deg,#ff9d2e,#ff6a00);
  color:#1a0d00;
  transform:translateY(-2px);
}

.card-body{
  padding:16px 16px 18px;
  display:flex; flex-direction:column; gap:8px; flex:1;
}

.card-title{
  font-size:16px; font-weight:800; line-height:1.25;
}

.card-desc{
  font-size:13.5px; color:var(--text-muted);
  flex:1;
}

.card-price{
  font-size:20px; font-weight:900; color:var(--accent);
}
.card-price small{
  font-size:12px; font-weight:700; color:var(--text-muted);
  margin-left:4px;
}

.card-cta{
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:linear-gradient(135deg,#ff9d2e,#ff6a00);
  color:#1a0d00; font-weight:800; font-size:14px;
  padding:11px; border-radius:10px;
  text-decoration:none; margin-top:4px;
}
.card-cta:hover{ filter:brightness(1.05); }

/* GALLERY LIGHTBOX */
.gallery-overlay{
  position:fixed; inset:0; z-index:100;
  background:rgba(6,7,9,0.92);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.gallery-overlay.open{ opacity:1; pointer-events:auto; }

.gallery-content{
  position:relative;
  max-width:900px; width:100%;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}

.gallery-img{
  max-width:100%; max-height:68vh;
  border-radius:14px;
  background:#000;
  box-shadow:0 24px 60px rgba(0,0,0,0.55);
  transition:opacity .15s ease;
}
.gallery-img.fading{ opacity:0; }

.gallery-close{
  position:absolute; top:-46px; right:0;
  background:none; border:none; color:#fff;
  font-size:32px; line-height:1;
  width:40px; height:40px;
  cursor:pointer;
}

.gallery-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.1);
  border:1px solid var(--border);
  color:#fff; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.gallery-nav:hover{
  background:linear-gradient(135deg,#ff9d2e,#ff6a00);
  color:#1a0d00; border-color:transparent;
}
.gallery-prev{ left:-58px; }
.gallery-next{ right:-58px; }

.gallery-title{
  color:var(--text-muted); font-size:14px; text-align:center;
}

.gallery-dots{ display:flex; gap:8px; }
.gallery-dot{
  width:9px; height:9px; border-radius:50%;
  border:none; padding:0;
  background:rgba(255,255,255,0.25);
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}
.gallery-dot.active{ background:var(--accent); transform:scale(1.25); }

/* FOOTER */
.site-footer{
  border-top:1px solid var(--border);
  padding:32px 20px 48px;
  text-align:center;
  color:var(--text-muted);
  font-size:14px;
  display:flex; flex-direction:column; gap:6px;
}
.site-footer strong{ color:var(--text); font-size:16px; }

@media (max-width:480px){
  .header-inner{ flex-direction:column; align-items:flex-start; gap:12px; }
  .btn-whatsapp-header{ width:100%; justify-content:center; }
}

@media (max-width:700px){
  .gallery-prev{ left:6px; }
  .gallery-next{ right:6px; }
  .gallery-close{ top:8px; right:8px; background:rgba(0,0,0,0.45); border-radius:50%; }
}
