/* Demo Obchod — ukážková integrácia Findio. Statický fake e-shop. */
:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e6e8ee;
  --bg: #f6f7fb;
  --card: #ffffff;
  --brand: #4338ca;
  --brand-2: #6366f1;
  --accent: #0ea5e9;
  --ok: #059669;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 18px;
  height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  flex: 0 0 auto;
}
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff;
}
.logo small { color: var(--muted); font-weight: 600; font-size: .72rem; display: block; letter-spacing: .04em; text-transform: uppercase; }

.header-search { flex: 1 1 auto; min-width: 0; }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand-2); color: var(--brand); }

/* Plain search form (produkt/dakujeme header) */
.search-form { display: flex; width: 100%; }
.search-form input {
  flex: 1 1 auto; min-width: 0;
  height: 46px; border: 1px solid var(--line); border-right: 0;
  border-radius: 12px 0 0 12px; padding: 0 16px; font-size: 1rem;
  background: #fff; color: var(--ink);
}
.search-form input:focus { outline: none; border-color: var(--brand-2); }
.search-form button {
  height: 46px; padding: 0 20px; border: 0; cursor: pointer;
  border-radius: 0 12px 12px 0; background: var(--brand); color: #fff; font-weight: 600;
}
.search-form button:hover { background: var(--brand-2); }

/* Hero */
.hero {
  margin: 28px 0 8px;
  background:
    radial-gradient(1200px 400px at 15% -20%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(900px 380px at 100% 0%, rgba(14,165,233,.16), transparent 55%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px 40px;
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.03em; }
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: .95rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow); transition: .15s;
}
.chip:hover { border-color: var(--brand-2); color: var(--brand); transform: translateY(-1px); }
.chip .q { color: var(--muted); font-weight: 400; }

/* Sections */
.section { margin: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section-head h2 { font-size: 1.4rem; margin: 0; letter-spacing: -.02em; }
.section-head a { color: var(--brand); font-weight: 600; font-size: .95rem; }

.grid-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: .18s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat .ci {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(67,56,202,.12), rgba(14,165,233,.12)); color: var(--brand);
}
.cat h3 { margin: 0; font-size: 1.05rem; }
.cat p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Product cards */
.grid-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.prod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prod .ph { height: 170px; display: grid; place-items: center; font-size: 3rem; }
.prod .pb { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod .brand { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.prod .name { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.prod .price { margin-top: auto; font-weight: 800; font-size: 1.15rem; }
.prod .avail { color: var(--ok); font-size: .82rem; font-weight: 600; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin: 32px 0; align-items: start; }
.pd .gallery { background: var(--card); border: 1px solid var(--line); border-radius: 24px; height: 420px; display: grid; place-items: center; font-size: 8rem; box-shadow: var(--shadow); }
.pd .crumbs { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.pd h1 { font-size: 2rem; margin: 0 0 8px; letter-spacing: -.02em; }
.pd .brand { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.pd .pricebig { font-size: 2.2rem; font-weight: 800; margin: 8px 0; }
.pd .avail { color: var(--ok); font-weight: 700; margin-bottom: 20px; }
.pd .buy { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pd ul.specs { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.pd ul.specs li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pd ul.specs li span:first-child { color: var(--muted); }

/* SRP */
.srp-head { margin: 28px 0 8px; }
.srp-head h1 { font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -.02em; }
.srp-head p { color: var(--muted); margin: 0; }

/* Callout / note */
.note {
  background: linear-gradient(135deg, rgba(67,56,202,.06), rgba(14,165,233,.06));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; color: var(--muted); font-size: .92rem; margin: 24px 0;
}
.note strong { color: var(--ink); }

/* Thank-you */
.ty { text-align: center; padding: 60px 20px; }
.ty .check { width: 84px; height: 84px; border-radius: 50%; background: rgba(5,150,105,.12); color: var(--ok); display: grid; place-items: center; margin: 0 auto 22px; }
.ty h1 { font-size: 2rem; margin: 0 0 10px; letter-spacing: -.02em; }
.ty p { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin: 0 auto 8px; }
.ty .order { display: inline-block; margin: 18px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 56px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 30px 0; color: var(--muted); font-size: .9rem; }
.badge-findio {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .85rem;
}
.badge-findio:hover { opacity: .92; }

@media (max-width: 760px) {
  .pd { grid-template-columns: 1fr; }
  .pd .gallery { height: 300px; font-size: 6rem; }
  .header-actions { display: none; }
  .hero { padding: 36px 22px; }
}
