:root {
  --bg: #0b0f1c;
  --bg-2: #0d1324;
  --card: #0e1528;
  --muted: #9aa3b2;
  --text: #eef2ff;
  --brand: #7dd3fc;
  --brand-2: #60a5fa;
  --accent: #34d399;
  --danger: #ef4444;
  --ring: 0 0 0 6px rgba(96,165,250,.22);
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.6), 0 2px 10px rgba(2,6,23,.4);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(60rem 60rem at 110% -10%, rgba(96,165,250,.12), transparent 40%),
    radial-gradient(50rem 50rem at -10% 10%, rgba(125,211,252,.10), transparent 40%),
    linear-gradient(180deg,#0a0e1c,#0b1222 40%,#0a1327);
  min-height:100%;
}
img{max-width:100%;display:block}
.container{max-width:1240px;margin:0 auto;padding:0 20px}

/* ACCESSIBILITY */
:focus-visible{outline:2px solid var(--brand-2);outline-offset:2px}

/* HEADER */
.site-header{position:sticky;top:0;z-index:20;background:rgba(15,23,42,.85);backdrop-filter:blur(12px) saturate(140%);border-bottom:1px solid rgba(255,255,255,0.08)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}
.site-header .brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--text)}
.site-header .brand h1{font-size:20px;margin:0;line-height:1.1}
.site-header .brand p{margin:0;font-size:13px;color:var(--muted)}
.site-header .brand svg{flex:0 0 auto}
.site-header .brand svg path{fill:url(#brandGrad)}
/* fallback if no gradient is defined; keeps icon readable */
.site-header .brand svg{color:var(--brand-2)}
.site-header .brand svg path[fill="currentColor"]{fill:currentColor}

/* SEARCHBAR (rămâne pentru paginile cu căutare) */
.searchbar{display:flex;gap:8px;align-items:center}
.searchbar input{
  flex:1;background:var(--card);border:1px solid rgba(255,255,255,0.1);color:var(--text);
  padding:10px 12px;border-radius:10px;outline:none;transition:all .2s;
}
.searchbar input:focus{border-color:var(--brand-2);box-shadow:var(--ring)}
.searchbar button{
  padding:10px 16px;border-radius:10px;border:0;background:linear-gradient(90deg,var(--brand),var(--brand-2));
  color:#fff;font-weight:700;cursor:pointer;transition:transform .2s;white-space:nowrap
}
.searchbar button:hover{transform:translateY(-1px)}

/* GRID + CARDS (pentru alte pagini) */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.card{background:var(--card);border:1px solid rgba(255,255,255,0.08);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.55)}
.thumb{display:block;aspect-ratio:1/1;background:var(--bg-2)}
.thumb img{width:100%;height:100%;object-fit:cover}
.card-body{padding:14px;display:flex;flex-direction:column;gap:10px}
.title{margin:0;font-size:16px;font-weight:600}
.title a{color:var(--text);text-decoration:none}
.title a:hover{text-decoration:underline}
.price{font-weight:700;font-size:18px;display:flex;gap:6px;align-items:baseline}
.price .currency{font-size:12px;color:var(--muted)}
.desc{font-size:13px;color:var(--muted);line-height:1.4}
.cta{
  margin-top:auto;text-align:center;padding:10px 14px;border-radius:10px;background:linear-gradient(90deg,var(--accent),#10b981);
  color:#fff;text-decoration:none;font-weight:700;transition:transform .2s;display:inline-flex;align-items:center;justify-content:center;gap:6px
}
.cta:hover{transform:translateY(-2px)}
.cta svg{fill:currentColor}

/* META + PAGINATION */
.meta{margin:16px 0;color:var(--muted)}
.notice{background:rgba(255,255,255,0.05);border:1px dashed rgba(255,255,255,0.15);padding:16px;border-radius:12px}
.notice.error{border-color:rgba(239,68,68,.6);color:#fecaca}
.pagination{display:flex;gap:8px;justify-content:center;margin:24px 0}
.pagination a{padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,0.1);color:var(--text);text-decoration:none;transition:background .2s}
.pagination a:hover{background:rgba(255,255,255,0.06)}
.pagination a.active{background:linear-gradient(90deg,var(--brand),var(--brand-2));color:#011;border:none}

/* FEATURED */
.featured{margin:30px 0}
.featured h2{font-size:22px;margin:0 0 16px;color:var(--brand-2);font-weight:700}

/* BREADCRUMBS pentru pagina Despre noi */
.breadcrumbs{font-size:13px;color:var(--muted);margin:18px 0 10px}
.breadcrumbs a{color:var(--brand-2);text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline}



/* ABOUT/ARTICLE STYLING — pagina Despre noi */
main.article, article, .box{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  box-shadow:var(--shadow);
}
article.box{padding:20px}
article h1{
  margin:0 0 14px;
  font-size:clamp(22px,2.4vw,30px);
  line-height:1.2;
  font-weight:800;
  letter-spacing:.2px;
}
article h2{
  margin:18px 0 10px;
  font-size:18px;
  color:var(--brand-2);
  font-weight:800;
}
article p{margin:0 0 12px;line-height:1.7;color:var(--text)}
article p strong{font-weight:800}
article a{color:#c7e0ff;text-underline-offset:3px}
article a:hover{text-decoration:underline}
article ul{margin:0 0 12px 18px;padding:0}
article li{margin:6px 0;color:var(--text)}
article .box{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
}

/* PRODUCT PAGE (rămâne pentru paginile de produs) */
.product{display:grid;grid-template-columns:1.05fr 1.2fr;gap:28px;align-items:start}
@media(max-width:960px){.product{grid-template-columns:1fr}}
.product .media{background:var(--bg-2);border:1px solid rgba(255,255,255,0.08);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.product .media img{width:100%;height:auto;display:block}
.product .stack{display:flex;flex-direction:column;gap:14px}
.product .title{margin:0;font-size:clamp(22px,2.4vw,30px);font-weight:800}
.product .price{font-size:clamp(22px,2.2vw,30px);font-weight:900;margin:6px 0 2px;display:flex;gap:8px}
.product .buy{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:6px}
.product .buy .cta{padding:12px 18px;border-radius:12px;font-weight:800}
.product .chip{padding:8px 12px;border-radius:999px;font-size:12px;background:rgba(255,255,255,0.04)}
.product .box{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08);padding:16px;border-radius:14px}
.related{margin-top:34px}
.related h3{margin:0 0 14px 0;font-size:18px}

/* DEAL TIMER */
.deal{background:rgba(16,185,129,0.06);border:1px solid rgba(16,185,129,0.25);padding:14px;border-radius:14px;margin-top:6px}
.deal.expired{background:rgba(239,68,68,0.06);border-color:rgba(239,68,68,0.35)}
.deal-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.deal-head strong{font-weight:800;letter-spacing:.2px}
.deal .badge{font-size:12px;color:#fff;background:linear-gradient(90deg,#f59e0b,#ef4444);padding:4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,0.2)}
.deal-timer{display:flex;gap:10px;align-items:center;margin:6px 0 6px}
.deal-timer span{display:inline-flex;flex-direction:column;align-items:center;min-width:58px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:8px 6px}
.deal-timer b{font-size:18px;line-height:1}
.deal-timer em{font-style:normal;font-size:11px;color:var(--muted);margin-top:2px}
.deal .deal-note{margin:0;font-size:13px;color:var(--muted)}
.deal.urgent{animation:dealPulse 1.6s ease-in-out infinite}
@keyframes dealPulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,0.28)}70%{box-shadow:0 0 0 10px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}
.deal.urgent ~ .buy .cta{transform:translateY(-1px);box-shadow:0 8px 22px rgba(16,185,129,0.35)}
.deal.expired .deal-note{color:#fecaca}

/* FORME (Contact etc.) */
.contact-box{margin:20px 0}
.form{display:grid;gap:14px}
.form-row{display:grid;gap:6px}
.form-row label{font-size:14px;color:var(--muted)}
.form-row input,.form-row textarea{
  background:var(--card);border:1px solid rgba(255,255,255,0.1);color:var(--text);
  border-radius:10px;padding:10px 12px;outline:none;transition:box-shadow .2s,border-color .2s
}
.form-row input:focus,.form-row textarea:focus{border-color:var(--brand-2);box-shadow:var(--ring)}
.form-actions{margin-top:6px}
.form-note{font-size:12px;color:var(--muted);margin:6px 0 0}

/* FOOTER */
.site-footer{border-top:1px solid rgba(255,255,255,0.08);margin-top:32px}
.site-footer .container{padding:24px 20px;color:var(--muted);font-size:13px;text-align:center}
.site-footer a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
}
.site-footer a:hover{text-decoration:underline}

/* COOKIE CONSENT (partials/cookie-consent.php) */
.cc{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:50;
  background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);
  border-radius:14px;padding:14px;box-shadow:var(--shadow);
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between
}
.cc p{margin:0;color:var(--text);font-size:14px;line-height:1.5}
.cc a{color:#c7e0ff}
.cc .btn{
  padding:10px 14px;border-radius:10px;border:0;cursor:pointer;font-weight:800
}
.cc .btn-accept{background:linear-gradient(90deg,var(--accent),#10b981);color:#fff}
.cc .btn-settings{background:var(--card);color:var(--text);border:1px solid rgba(255,255,255,0.1)}
@media(max-width:560px){.cc{flex-direction:column;align-items:stretch}}

/* RESPONSIVE */
@media(max-width:768px){
  .site-header .container{flex-direction:column;align-items:stretch;gap:12px}
  .searchbar{flex-direction:column;width:100%}
  .searchbar input,.searchbar button{width:100%;font-size:15px}
}
@media(max-width:640px){.container{padding:0 12px}}
@media(max-width:480px){
  .grid{grid-template-columns:1fr}
  .title{font-size:15px}
  .price{font-size:16px}
  .cta{padding:10px;font-size:14px}
}
