:root{
  --bg:#0b1220;
  --card: rgba(16,26,46,.86);
  --muted:#93a4c7;
  --text:#e9eefc;
  --border:rgba(255,255,255,.14);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
  --accent: rgba(255,176,0,.95);
}

*{ box-sizing:border-box; }
html, body { width:100%; }
body{
  margin:0;
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: var(--bg);
  min-height:100vh;
  overflow-x: hidden; /* fix: scroll lateral pe Android */
}

a{color:inherit;text-decoration:none}
img{max-width:100%; height:auto; display:block;}

.wrap{max-width:var(--max); margin:0 auto; padding: 0 20px}

/* FUNDAL: bg.jpg lângă fișiere */
.bg{
  position:fixed; inset:0; z-index:-2;
  background:
    linear-gradient(180deg, rgba(11,18,32,.66), rgba(11,18,32,.88)),
    url("bg.jpg") center/cover no-repeat;
  filter:saturate(1.05) contrast(1.05);
}
.bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(255,176,0,.22), transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(34,197,94,.14), transparent 55%);
  z-index:-1;
}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.66);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.2px; min-width: 0;}
/* LOGO: logo.png lângă fișiere */
.logo{
  width:42px;
  height:42px;
  border-radius:12px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.08);
  overflow:hidden;
  display:grid;
  place-items:center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  flex: 0 0 auto;
}
.logo img{width:90%; height:90%; object-fit:contain}

.links{display:flex; gap:16px; flex-wrap:wrap; align-items:center}

/* ✅ DOAR AICI: text meniu puțin mai mic */
.links a{
  padding:8px 10px;
  border-radius:12px;
  color:var(--muted);
  font-size:14px; /* <— schimbare minimă */
}
.links a:hover{color:var(--text); background: rgba(255,255,255,.06)}
.links a[aria-current="page"]{color:var(--text); background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.10)}

.btn{
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  cursor:pointer;
  display:inline-flex; align-items:center; gap:8px;
  font-weight:900;
  white-space:nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover{background: rgba(255,255,255,.09)}
.btn.primary{
  border:1px solid rgba(255,176,0,.55);
  background: linear-gradient(135deg, rgba(255,176,0,.95), rgba(255,80,0,.92));
  color:#08101f;
}
.btn.ghost{background: rgba(255,255,255,.04)}
.btn.small{padding:8px 10px; border-radius:12px; font-weight:800; font-size: 14px}

main{padding: 34px 0 50px}
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:stretch;
}
@media (max-width: 920px){ .grid{grid-template-columns:1fr} }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero{padding: 26px}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid rgba(255,255,255,.16);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  font-weight:900;
  font-size: 13px;
}
h1{margin: 12px 0 10px; font-size: 44px; line-height: 1.08}
@media (max-width: 560px){ h1{font-size: 36px} }
.lead{color: var(--muted); font-size: 17px; max-width: 64ch; margin:0}
.hero-actions{margin-top: 16px; display:flex; gap: 12px; flex-wrap:wrap}

.side{padding: 18px; display:flex; flex-direction:column; gap: 12px}
.mini{
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
}
.mini h3{margin:0 0 6px; font-size: 16px}
.mini p{margin:0; color: var(--muted); font-size: 14px}

section{padding: 18px 0}
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 16px; flex-wrap:wrap;
  margin: 10px 0 14px;
}
.section-title h2{margin:0; font-size: 26px}
.section-title p{margin:0; color: var(--muted)}

.products{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 920px){ .products{grid-template-columns:1fr} }
.product{padding: 18px; display:flex; flex-direction:column; gap: 10px}

/* ✅ DOAR POZE: încadrate corect */
.thumb{
  width: 100%;
  height: 340px;              /* desktop ca înainte */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
}
.thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;        /* se vede toată poza */
  object-position: center;
  border-radius: 14px;
}

.row{display:flex; gap: 10px; flex-wrap:wrap; align-items:center; justify-content:space-between}
.tags{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,.05);
  font-weight: 900;
}
.muted{color: var(--muted)}
.small{font-size: 12px}
.price{font-weight: 900; color: rgba(233,238,252,.95);}

details{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  padding: 12px 14px;
}
summary{cursor:pointer; font-weight:900}
details p{margin:8px 0 0; color: var(--muted)}

.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 920px){ .two{grid-template-columns:1fr} }

.footer{
  padding: 22px 0 10px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 22px;
}

/* WhatsApp sticky */
.wa-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,.55);
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(16,185,129,.92));
  color:#061014;
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(0,0,0,.40);
}
.wa-fab:hover{filter:brightness(1.02)}
.wa-dot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

/* Cookie bar */
.cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display:none;
}
.cookie .card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  justify-content:space-between;
  padding: 14px;
  border-radius: 16px;
  background: rgba(16,26,46,.92);
}
.cookie p{margin:0; color: var(--muted); font-size: 13px}
.cookie .actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}

/* MOBILE TUNING (exact ca înainte) */
@media (max-width: 768px){
  .wrap{ padding: 0 14px; }
  main{ padding: 20px 0 46px; }

  .nav{
    flex-wrap: wrap;
    gap: 10px;
  }

  /* meniul pe linie separată */
  .links{
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }

  /* butonul de sus full width pe mobil */
  .cta{ width: 100%; }
  .cta .btn{ width: 100%; justify-content:center; }

  h1{ font-size: 30px; line-height: 1.15; }
  .lead{ font-size: 16px; }

  .hero{ padding: 18px; }
  .side{ padding: 14px; }
  .product{ padding: 16px; }

  /* CTA-urile din hero: pe mobil, full width */
  .hero-actions .btn{
    width: 100%;
    justify-content: center;
  }

  /* Butoanele “Comandă” din produse: full width */
  .product .row .btn{
    width: 100%;
    justify-content: center;
  }

  /* ✅ DOAR AICI: poza pe mobil = 185px */
  .thumb{ height: 185px; }

  /* WA + cookie să nu se ciocnească */
  .wa-fab{ right: 12px; bottom: 12px; }
  .cookie{ left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 420px){
  h1{ font-size: 26px; }
  .badge{ font-size: 12px; }
  .thumb{ height: 185px; } /* ✅ rămâne 185, nu mai coboară la 165 */
}
