:root{
  --bg:#f6f8fb;
  --bg-2:#eef2f7;
  --paper:#ffffff;

  --ink:#0b1220;
  --muted:#5b667a;
  --line:#e6ebf2;

  --acc:#2f6bff;
  --acc-2:#00b3a4;
  --acc-3:#ff7a59;

  --good:#17b26a;

  --radius:18px;
  --radius-lg:26px;
  --shadow:0 10px 30px rgba(12,22,38,.08);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border-radius:14px}
.container{width:min(1180px,92%);margin:0 auto}

/* light gradient background */
.scene{
  min-height:100vh;
  background:
    radial-gradient(900px 500px at 8% -8%, rgba(47,107,255,.10), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(0,179,164,.10), transparent 62%),
    radial-gradient(900px 500px at 50% 110%, rgba(255,122,89,.08), transparent 60%),
    var(--bg);
}

/* topbar */
.topbar{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  font-size:.92rem;color:var(--muted);
}
.topbar .inner{
  display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 0;
}

/* header */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,248,251,.9);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px}
.logo-mark{
  width:40px;height:40px;border-radius:12px;
  background:conic-gradient(from 120deg,var(--acc),var(--acc-2),var(--acc-3),var(--acc));
  box-shadow:var(--shadow);
}
.nav-links{display:flex;gap:6px;flex-wrap:wrap}
.nav-links a{
  color:var(--muted);font-weight:800;font-size:.95rem;
  padding:8px 10px;border-radius:999px;transition:.15s ease;
}
.nav-links a:hover{color:var(--ink);background:var(--bg-2)}
.nav-cta{
  padding:10px 14px;border-radius:999px;font-weight:900;
  background:var(--ink);color:#fff;box-shadow:0 8px 18px rgba(11,18,32,.18);
}

/* hero */
.hero{padding:34px 0 4px}
.hero-wrap{
  background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  display:grid;grid-template-columns:1.15fr .85fr;gap:14px;align-items:center;
  padding:16px;
}
.kicker{
  display:inline-flex;gap:8px;align-items:center;
  font-size:.82rem;text-transform:uppercase;letter-spacing:.9px;font-weight:900;
  color:#0b1220;background:#eef4ff;border:1px solid #d6e2ff;
  padding:6px 9px;border-radius:999px;
}
h1{
  font-size:clamp(2.0rem,4.1vw,3.0rem);
  line-height:1.08;margin:10px 0 8px;
}
.lead{color:var(--muted);font-size:1.08rem;line-height:1.7}
.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.btn{
  padding:11px 15px;border-radius:12px;font-weight:900;
  border:1px solid transparent;transition:.2s ease;display:inline-flex;align-items:center;gap:8px;
}
.btn-primary{background:var(--acc);color:#fff}
.btn-primary:hover{filter:brightness(.97);transform:translateY(-1px)}
.btn-soft{
  background:#eef4ff;color:#0b1220;border-color:#d6e2ff;
}
.btn-soft:hover{background:#e6eeff}

.note{
  margin-top:8px;font-size:.95rem;color:var(--muted);
  background:var(--bg-2);padding:8px 10px;border-radius:10px;border:1px dashed var(--line);
}

/* sections */
.section{padding:40px 0}
.section h2{
  font-size:clamp(1.45rem,2.4vw,2.0rem);margin:0 0 8px;
}
.section p{color:var(--muted);line-height:1.75;margin:6px 0 0}

/* bento grids */
.bento{
  display:grid;
  grid-template-columns:repeat(12, minmax(0,1fr));
  gap:10px;
}
.bento > *{min-width:0}

.tile{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  box-shadow:var(--shadow);
}
.tile h3{margin:8px 0 4px;font-size:1.08rem}
.tile p{margin:0;color:var(--muted)}
.tile img{height:170px;width:100%;object-fit:cover}

/* tile spans (complete) */
.span-1{grid-column:span 1}
.span-2{grid-column:span 2}
.span-3{grid-column:span 3}
.span-4{grid-column:span 4}
.span-5{grid-column:span 5}
.span-6{grid-column:span 6}
.span-7{grid-column:span 7}
.span-8{grid-column:span 8}
.span-12{grid-column:span 12}

/* category tile */
.cat-pill{
  display:inline-flex;font-size:.75rem;font-weight:900;letter-spacing:.5px;text-transform:uppercase;
  padding:4px 7px;border-radius:999px;background:#e9fff6;color:#0f7d53;border:1px solid #c9f7e4;
}

/* product cards */
.product{
  background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:12px;
  display:grid;gap:6px;box-shadow:var(--shadow);
}
.product img{
  height:180px;width:100%;object-fit:cover;background:#f0f3f8;
}
.product h3{font-size:1.02rem;margin:4px 0 0}
.product .spec{color:var(--muted);font-size:.92rem;line-height:1.5}
.price-row{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.price{font-weight:900;font-size:1.12rem}
.stock{font-size:.86rem;color:var(--good);font-weight:900}
.buy{margin-top:4px;display:flex;gap:6px}
.buy .btn{flex:1;justify-content:center}

/* info strip */
.strip{
  background:var(--paper);border:1px dashed var(--line);border-radius:16px;padding:12px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
}
.strip .item strong{display:block;font-size:1.03rem}
.strip .item span{color:var(--muted);font-size:.93rem}

/* page head */
.page-head{
  padding:24px 0 8px;
  border-bottom:1px solid var(--line);
  background:transparent;
}
.breadcrumbs{color:var(--muted);font-size:.9rem}
.page-content{padding:16px 0 52px}

/* form */
.form{display:grid;gap:10px}
input,textarea,select{
  width:100%;padding:12px;border-radius:10px;background:#fff;color:var(--ink);
  border:1px solid var(--line);outline:none;font-size:1rem;
}
input:focus,textarea:focus,select:focus{
  border-color:#c6d6ff;box-shadow:0 0 0 3px rgba(47,107,255,.12);
}

/* footer */
footer{
  background:var(--paper);
  border-top:1px solid var(--line);padding:24px 0;color:var(--muted);
}
.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:14px}
.footer-links a{display:block;padding:6px 0;font-weight:800;color:var(--muted)}
.footer-links a:hover{color:var(--ink)}

/* cookies */
.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;display:none;
  background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);
  padding:14px;
}
.cookie-inner{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.cookie-banner p{color:var(--muted);margin:0;line-height:1.6}
.cookie-actions{display:flex;gap:8px;flex-wrap:wrap}
.cookie-actions .btn{padding:9px 12px;border-radius:999px;font-size:.95rem}
.cookie-link{color:var(--acc);text-decoration:underline;text-underline-offset:3px;font-weight:900}

@media(max-width:1000px){
  .hero-wrap{grid-template-columns:1fr}
  .strip{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .bento{grid-template-columns:repeat(6, minmax(0,1fr))}
  .span-1,.span-2,.span-3,.span-4,.span-5,.span-6,.span-7,.span-8,.span-12{grid-column:span 6}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .strip{grid-template-columns:1fr}
  .bento{grid-template-columns:repeat(2, minmax(0,1fr))}
  .span-1,.span-2,.span-3,.span-4,.span-5,.span-6,.span-7,.span-8,.span-12{grid-column:span 2}
  .cookie-inner{grid-template-columns:1fr}
}