/* Saulstari v22 — PaperLux (pielāgots tavam HTML) */

/* Pamata gaišais fons */
.theme-paperlux { background: #f9fafc; }

/* Nodrošina, ka saturs vienmēr virs raksta */
html, body { min-height: 100%; }
body { position: relative; }
.header, .section, .footer { position: relative; z-index: 1; }

/* ===== Fona “papīra grauda” raksts ===== */
body.theme-paperlux::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;            /* ← šis ir galvenais labojums */
  pointer-events: none;

  /* SVG raksts — “papīra grauds” */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><rect width="64" height="64" fill="white"/><g fill="%23000000" fill-opacity=".06"><circle cx="8" cy="10" r="0.6"/><circle cx="24" cy="22" r="0.5"/><circle cx="40" cy="14" r="0.7"/><circle cx="56" cy="28" r="0.5"/><circle cx="14" cy="36" r="0.6"/><circle cx="32" cy="46" r="0.5"/><circle cx="50" cy="54" r="0.6"/></g></svg>');
  background-repeat: repeat;
  background-size: 650px 650px;

  /* Smalka redzamība */
  opacity: .65;
  mix-blend-mode: normal;
}

/* ===== Header ===== */
.theme-paperlux .header{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.82));
  border-bottom: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.theme-paperlux .header nav a.active{
  background: #d4b453;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 4px 12px rgba(212,180,83,.35);
}

/* ===== Hero ===== */
.theme-paperlux .section.hero .frame{
  border-radius: 20px;
  border: 1px solid #eaeef2;
  background: linear-gradient(180deg,#fff,#f9fafc);
  box-shadow: 0 18px 44px rgba(10,20,14,.12);
  overflow: hidden;
}
.theme-paperlux .section.hero .caption{
  background: rgba(255,255,255,.9);
  border: 1px solid #eee;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(10,20,14,.14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ===== Kartes (materiāli) ===== */
.theme-paperlux .vitem{
  background: #fff;
  border: 1px solid #eaeef2;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(12,18,22,.08);
  padding: 16px;
}
.theme-paperlux .vname-line .vname,
.theme-paperlux .vname-line .vprice{
  font-weight: 700;
  color: #3c3c38;
}

/* ===== CTA josla ===== */
.theme-paperlux .cta-bar{
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-top: 1px solid #eaeef2;
  border-bottom: 1px solid #eaeef2;
  box-shadow: 0 6px 20px rgba(10,20,14,.05) inset;
}

/* ===== Footer ===== */
.theme-paperlux .footer{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0,0,0,.06);
}

/* ===== Akcenti ===== */
.theme-paperlux h1,
.theme-paperlux .section.hero .caption,
.theme-paperlux .vname-line .vname{
  text-shadow: 0 0 8px rgba(212,180,83,.16);
}
.theme-paperlux a:hover{
  color: #d4b453;
}