:root{
  --bg:#0b0f17;
  --text:#e8eefc;
  --muted:#9fb0cc;
  --accent:#25D366;
  --accent2:#1eb85a;
  --border:rgba(255,255,255,.10);
  --radius:18px;
  --shadow:0 18px 45px rgba(0,0,0,.45);
  --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(37,211,102,.25), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(92,140,255,.16), transparent 55%),
    var(--bg);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
.wrap{max-width:var(--max);margin:auto;padding:18px 16px 90px}

/* NAV */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(11,15,23,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  max-width:var(--max);margin:auto;
  padding:12px 16px;
  display:flex;justify-content:space-between;align-items:center;gap:14px;
}
.logo{
  display:flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.logo img{height:30px;width:auto;display:block}
.menu{display:flex;gap:10px;flex-wrap:wrap}
.menu a{padding:8px 12px;border-radius:999px;font-size:13px}
.menu a:hover{background:rgba(255,255,255,.06)}
.menu .cta{background:rgba(37,211,102,.18);font-weight:900}

/* HERO */
.hero{
  margin-top:16px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.hero-inner{
  padding:22px;
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:20px;
}
@media(max-width:900px){ .hero-inner{grid-template-columns:1fr} }
.hero h1{margin:0;font-size:26px}
.hero p{margin:10px 0;color:var(--muted);line-height:1.6}
.hero-list{
  margin-top:12px;
  font-size:13.5px;
  line-height:1.85;
  color:var(--muted);
}
.hero-box{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  background:rgba(18,26,39,.6);
  display:flex;flex-direction:column;gap:12px;
}
.hero-visual{
  margin-top:6px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}
.hero-visual img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  filter:contrast(1.05) saturate(1.1);
}

/* BUTTONS */
.btn{
  border:none;cursor:pointer;
  padding:12px;border-radius:14px;
  font-weight:900;
  display:flex;justify-content:center;gap:10px;
}
.btn-wa{
  background:linear-gradient(180deg,var(--accent),var(--accent2));
  color:#06210f;
}

/* SECTIONS */
.section{margin-top:24px}
.section h2{margin:0 0 10px;font-size:18px}
.section-sub{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.55}

/* PRODUCTS GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:12px;
}
@media(max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.grid{grid-template-columns:1fr}}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;
  position:relative;
}

/* ===== IMAGINI: DEFAULT (GĂLEATĂ) =====
   IMPORTANT: aici NU avem fundal alb / padding.
   Păstrăm imaginea normală, curată.
*/
.img{
  aspect-ratio: 1 / 1;
  overflow:hidden;
  background:#ffffff;
}
.img img{
  width:100%;
  height:100%;
  object-fit:contain;      /* zoom out - nu mai taie sus */
  object-position:center;
  display:block;
}

/* ===== IMAGINI: DOAR PUNGĂ =====
   Aici aliniem jos și folosim contain + fundal alb.
   Se aplică strict la grila de pungi.
*/
#grid-punga .img{
  display:flex;
  align-items:flex-end;        /* aliniază jos */
  justify-content:center;
  background:#ffffff;
  padding:10px;
}
#grid-punga .img img{
  width:100%;
  height:100%;
  object-fit:contain;          /* nu taie pungile */
  object-position:center bottom;
}

/* CONTENT */
.content{padding:12px;display:flex;flex-direction:column;gap:10px}
.title{display:flex;justify-content:space-between;align-items:center}
.title h3{margin:0;font-size:15px}
.badge{
  font-size:11px;padding:5px 8px;border-radius:999px;
  background:rgba(37,211,102,.2);
}
.price-list{
  border:1px solid var(--border);
  border-radius:14px;
  padding:8px;
  font-size:12.5px;
  background:rgba(255,255,255,.03);
}
.price-item{
  display:flex;justify-content:space-between;
  padding:4px 0;border-bottom:1px dashed rgba(255,255,255,.1);
}
.price-item:last-child{border-bottom:none}
.small{
  margin-top:auto;
  font-size:11.5px;
  color:var(--muted);
  border-top:1px dashed rgba(255,255,255,.1);
  padding-top:8px;
}
.ribbon{
  position:absolute;
  top:14px; left:-44px;
  transform:rotate(-20deg);
  z-index:5;
  background:linear-gradient(180deg, #ffd76a, #ffb84d);
  color:#06120a;
  font-weight:900;
  font-size:11px;
  letter-spacing:.4px;
  padding:8px 60px;
  border:1px solid rgba(255,255,255,.30);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}

/* INFO */
.info-block{
  margin-top:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  padding:16px;
}
.info-block p{margin:0;color:var(--muted);line-height:1.55}
.info-lines{
  margin-top:10px;
  font-size:13.2px;
  line-height:1.85;
  color:var(--muted);
}
.info-lines .line{
  padding:6px 0;
  border-bottom:1px dashed rgba(255,255,255,.10);
}
.info-lines .line:last-child{border-bottom:none}

/* LEGAL */
.legal{
  margin-top:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow);
  padding:16px;
}
.legal h3{margin:0 0 8px;font-size:15px}
.legal p{margin:8px 0;color:var(--muted);line-height:1.6;font-size:13px}
.legal ul{margin:8px 0 0;padding-left:18px;color:var(--muted);line-height:1.7}

/* FOOTER */
.footer{
  margin-top:24px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.footer-top{
  padding:18px;
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:16px;
}
@media(max-width:900px){.footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.footer-top{grid-template-columns:1fr}}
.footer h4{margin:0;font-size:14px}
.footer p,.footer a{
  font-size:12.6px;color:var(--muted);line-height:1.6;
  display:block;margin-top:10px;
}
.footer a:hover{color:var(--text)}
.footer-bottom{
  border-top:1px solid var(--border);
  padding:12px 18px;
  font-size:12px;color:var(--muted);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
}
.footer-badges{display:flex;gap:10px;flex-wrap:wrap}
.badge-pill{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
}

/* Floating WhatsApp */
.wa-float{
  position:fixed;right:16px;bottom:16px;
  padding:14px 18px;border-radius:999px;
  background:linear-gradient(180deg,var(--accent),var(--accent2));
  color:#06210f;font-weight:900;
  border:none;cursor:pointer;
  box-shadow:var(--shadow);
}
