/* shofy.css - Light UI + Dark Accents - Conversion-first */

:root{
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface2:#fbfcff;
  --text:#0f172a;
  --muted:#475569;
  --muted2:#64748b;
  --border:#e2e8f0;

  --brand:#0b1220;          /* dark accent */
  --brand2:#111827;         /* nav/footer */
  --accent:#2563eb;         /* primary CTA */
  --accent2:#16a34a;        /* deal green */
  --warn:#f59e0b;           /* urgency */
  --danger:#ef4444;

  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --shadow2: 0 6px 18px rgba(2,6,23,.10);
  --radius: 16px;
  --radius2: 22px;
  --max: 1400px;

  --focus: 0 0 0 4px rgba(37,99,235,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(900px 500px at 15% 0%, rgba(37, 99, 235,.22), transparent 80%),
        radial-gradient(800px 450px at 90% 10%, rgba(37, 99, 235,.20), transparent 70%),
        linear-gradient(142deg, var(--bg), #f6f7fb 75%);
  background-repeat: no-repeat;
  background-size: cover;       /* ⬅ füllt den gesamten Body */
  background-attachment: fixed; /* optional: bleibt beim Scrollen stehen */
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button,input,select,textarea{font:inherit}
.container{width:100%; max-width:var(--max); margin:0 auto; padding:0 18px}
.grid{display:grid; gap:16px}
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding: 20px
}
.card.soft{box-shadow:none; background:var(--surface2)}
.pad{padding:18px}
.pad-lg{padding:24px}
.space{justify-content:space-between}
.muted{color:var(--muted)}
.small{font-size:13px; color:var(--muted2)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border); background:var(--surface);
  font-size:13px; color:var(--muted);
}
.badge.dot::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background:var(--accent2);
  display:inline-block;
}
.badge.warn::before{background:var(--warn)}
.badge.gray::before{background:#94a3b8}

.hr{height:1px; background:var(--border); margin:14px 0}

/* NAV */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; padding:12px 0}
.logo{
  display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px;
}
.logo-mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, var(--brand) 0%, #1f2937 80%);
  box-shadow: var(--shadow2);
}
.nav-links{display:flex; gap:14px; align-items:center}
.nav-links a{
  padding:8px 10px; border-radius:10px; color:var(--muted);
}
.nav-links a:hover{background:rgba(15,23,42,.06); color:var(--text)}
.searchbar{
  flex:1; min-width:260px; max-width:520px;
  display:flex; gap:10px; align-items:center;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 12px;
}
.searchbar input{
  border:none; outline:none; flex:1; background:transparent;
}
.searchbar:focus-within{box-shadow:var(--focus); border-color:rgba(37,99,235,.45)}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:14px; border:1px solid transparent;
  padding:10px 14px; font-weight:700; cursor:pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn.primary{background:var(--accent); color:white; box-shadow: var(--shadow2)}
.btn.primary:hover{filter: brightness(1.02)}
.btn.dark{background:var(--brand); color:white}
.btn.ghost{background:transparent; border-color:var(--border); color:var(--text)}
.btn.ghost:hover{background:rgba(2,6,23,.04)}
.btn.deal{background:rgba(22,163,74,.12); border-color: rgba(22,163,74,.35); color:#065f46}
.btn.warn{background:rgba(245,158,11,.13); border-color: rgba(245,158,11,.35); color:#7c2d12}
.btn.full{width:100%}

.kbd{
  font-size:12px; padding:2px 8px; border-radius:999px; border:1px solid var(--border);
  background:linear-gradient(#fff,#f8fafc);
  color:var(--muted2);
}

/* HERO */
.hero{
  padding:26px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  align-items:stretch;
}
.hero h1{font-size:36px; line-height:1.05; margin:0 0 10px}
.hero p{margin:0; color:var(--muted); font-size:16px; line-height:1.5}
.hero .trustline{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.hero .panel{
  background: linear-gradient(135deg, #ffffff 0%, #f3f6ff 55%, #ffffff 100%);
  border:1px solid var(--border);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:22px;
}
.hero .side{
  background: linear-gradient(135deg, var(--brand) 0%, #0b1220 55%, #111827 100%);
  color:white;
  border-radius:var(--radius2);
  padding:22px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero .side:before{
  content:"";
  position:absolute; inset:-60px -60px auto auto;
  width:240px; height:240px; border-radius:50%;
  background: rgba(37,99,235,.25);
  filter: blur(0px);
}
.hero .side h3{margin:0 0 8px; font-size:18px}
.hero .side p{color:rgba(255,255,255,.78)}
.hero .side .metric{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 12px; border-radius:14px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  margin-top:10px;
}
.hero .side .metric b{font-size:18px}
.hero .side .metric span{color:rgba(255,255,255,.7); font-size:13px}

/* SECTIONS */
.section{padding:14px 0 22px}
.section h2{margin:0 0 10px; font-size:20px}
.section .sub{margin:0 0 16px; color:var(--muted); font-size:14px}

/* PRODUCT CARDS */
.products{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px}
.pcard{padding:14px; border-radius:18px; border:1px solid var(--border); background:var(--surface); box-shadow: var(--shadow)}
.pimg{
  aspect-ratio: 1/1;
  border-radius:16px;
  background: linear-gradient(135deg, #eef2ff 0%, #f1f5f9 60%);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted2);
  overflow:hidden;
}
.ptitle{font-weight:800; margin:10px 0 6px; line-height:1.25}
.price{
  display:flex; align-items:baseline; gap:10px;
}
.price .now{font-weight:900; font-size:20px}
.price .was{color:var(--muted2); text-decoration: line-through; font-size:13px}
.savings{font-size:13px; color:#065f46; background:rgba(22,163,74,.12); border:1px solid rgba(22,163,74,.28); padding:4px 8px; border-radius:999px}
.meta{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.star{color:#f59e0b}
.pcard .actions{display:flex; gap:10px; margin-top:12px}
.pcard .actions .btn{flex:1}

/* DEAL BAR */
.dealbar{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  border:1px solid rgba(245,158,11,.35);
  background:rgba(245,158,11,.12);
  border-radius:16px;
  padding:12px 14px;
}
.dealbar b{color:#7c2d12}
.dealbar .timer{display:flex; gap:10px; align-items:center; color:#7c2d12}

/* TABLE */
.table{width:100%; border-collapse: collapse; overflow:hidden; border-radius:16px; border:1px solid var(--border)}
.table th,.table td{padding:12px 12px; border-bottom:1px solid var(--border); text-align:left; font-size:14px}
.table th{background:#f8fafc; color:var(--muted); font-weight:800}
.table tr:last-child td{border-bottom:none}
.table .best{font-weight:900}

/* FORMS */
.field{display:flex; flex-direction:column; gap:6px; margin:12px 0}
.field label{font-weight:800; font-size:13px}
.field input,.field textarea,.field select{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
  background:var(--surface);
}
.field input:focus,.field textarea:focus,.field select:focus{box-shadow:var(--focus); border-color: rgba(37,99,235,.45)}
.help{font-size:12px; color:var(--muted2)}
.checkbox{display:flex; gap:10px; align-items:flex-start; margin-top:10px}
.checkbox input{margin-top:3px}

/* PRODUCT PAGE */
.pgrid{
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap:16px;
  align-items:start;
}
.gallery{
  display:grid;
  grid-template-columns: 80px 1fr;
  gap:12px;
}
.thumbs{display:flex; flex-direction:column; gap:10px}
.thumb{
  aspect-ratio:1/1;
  border-radius:14px;
  border:1px solid var(--border);
  background:linear-gradient(135deg,#eef2ff,#f1f5f9);
}
.mainimg{border-radius:18px; border:1px solid var(--border); background:linear-gradient(135deg,#eef2ff,#f1f5f9); aspect-ratio:1/1}
.sticky{
  position:sticky; top:84px;
}
.bullets{margin:10px 0 0; padding:0 0 0 18px; color:var(--muted)}
.bullets li{margin:6px 0}

/* FOOTER */
.footer{
  margin-top:20px;
  background: linear-gradient(135deg, var(--brand2) 0%, #0b1220 70%);
  color: rgba(255,255,255,.86);
  padding:26px 0;
}
.footer a{color:rgba(255,255,255,.86)}
.footer .cols{display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap:14px}
.footer h4{margin:0 0 8px; font-size:14px}
.footer .small{color:rgba(255,255,255,.65)}
.footer .bottom{border-top:1px solid rgba(255,255,255,.14); margin-top:14px; padding-top:14px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px}

/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .products{grid-template-columns: repeat(2,1fr)}
  .pgrid{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  .thumbs{flex-direction:row}
  .footer .cols{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){
  .products{grid-template-columns: 1fr}
  .nav-links{display:none}
}

.pm-dual-range {
    position: relative;
    height: 32px;
    margin-top: 10px;
}

.pm-dual-range-track,
.pm-dual-range-progress {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    border-radius: 999px;
}

.pm-dual-range-track {
    left: 0;
    right: 0;
    background: #ededed;
}

.pm-dual-range-progress {
    background: #0989ff;
    left: 0%;
    right: 0%;
}

.pm-range-slider {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    margin: 0;
    height: 32px;
}

.pm-range-slider::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0989ff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.pm-range-slider::-moz-range-thumb {
    pointer-events: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0989ff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.pm-range-slider::-webkit-slider-runnable-track {
    background: transparent;
    height: 6px;
}

.pm-range-slider::-moz-range-track {
    background: transparent;
    height: 6px;
}

.pm-range-slider-min {
    z-index: 2;
}

.pm-range-slider-max {
    z-index: 3;
}

.pm-range-values {
    font-size: 14px;
    text-align: left;
}

.pm-range-text {
    background: none;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
}
