/* ==========================================================================
   StarVids — světlý design systém
   Boutique storefront pro nezávislé tvůrce: klidné neutrály, jeden růžový akcent,
   měkké karty, důraz na důvěru. Vše řízené tokeny níže.
   ========================================================================== */

:root {
  /* Plocha a povrchy */
  --bg:        #f6f6f7;
  --surface:   #ffffff;
  --surface-2: #fbfbfc;

  /* Text */
  --ink:   #17171b;
  --ink-2: #5b5b66;
  --ink-3: #9a9aa5;

  /* Linky */
  --line:   #ececef;
  --line-2: #dedee3;

  /* Značka (růžová – kontinuita, ale čitelná na světlém) */
  --brand:      #e11d48;
  --brand-2:    #f43f5e;
  --brand-ink:  #be123c;
  --brand-soft: #fff1f4;
  --ring:       rgba(225,29,72,.28);

  /* Stavové */
  --ok:    #16a34a;
  --ok-bg: #f0fdf4;
  --warn:  #d97706;
  --info:  #7c3aed;

  /* Tvar a stín */
  --r-lg: 18px;
  --r:    12px;
  --r-sm: 9px;
  --pill: 999px;
  --sh-sm: 0 1px 2px rgba(16,16,20,.05);
  --sh:    0 6px 20px rgba(16,16,20,.07);
  --sh-lg: 0 16px 48px rgba(16,16,20,.12);

  --maxw: 1180px;
  --nav-h: 66px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d3d3d9; border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #bcbcc4; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.display { font-weight: 800; letter-spacing: -0.035em; }
.muted { color: var(--ink-2); }
.dim   { color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-ink);
}

/* ── Layout ───────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.py   { padding-top: 44px; padding-bottom: 44px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.section-head h2 { font-size: 21px; }
.section-head .link { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.section-head .link:hover { color: var(--brand); }

.grid { display: grid; gap: 18px; }
.grid-content { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-creators { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Announcement bar ─────────────────────────────────────── */
.announce {
  background: var(--ink); color: #fff;
  text-align: center; font-size: 12.5px; font-weight: 500;
  padding: 8px 16px; letter-spacing: .01em;
}
.announce b { color: var(--brand-2); font-weight: 700; }

/* ── Navigace ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
}
.brand { font-size: 21px; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; }
.brand span { color: var(--brand); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: #f1f1f3; }
.nav-links a.active { color: var(--brand-ink); }

.search {
  flex: 1; max-width: 340px; margin-left: auto;
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 14px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--pill); transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.search svg { color: var(--ink-3); flex-shrink: 0; }
.search input { flex: 1; border: none; background: none; outline: none; font-size: 14.5px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }

.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-user { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* ── Tlačítka ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--pill);
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform .12s, box-shadow .15s, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 10px rgba(225,29,72,.24); }
.btn-primary:hover { background: var(--brand-ink); box-shadow: 0 4px 16px rgba(225,29,72,.3); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: #c9c9d0; background: var(--surface-2); }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); }
.btn-soft:hover { background: #ffe3e9; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 7px 15px; font-size: 13.5px; }
.btn-lg { padding: 13px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Karty ────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.card-pad { padding: 22px; }

/* Content karta (foto/album/video) */
.content-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .16s, box-shadow .16s, border-color .16s;
  display: block;
}
.content-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.cc-media { position: relative; aspect-ratio: 4/5; background: #efeff1; overflow: hidden; }
.cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.content-card:hover .cc-media img { transform: scale(1.04); }
.cc-media .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #c7c7cf; background: repeating-linear-gradient(45deg,#f0f0f2,#f0f0f2 12px,#ececef 12px,#ececef 24px);
}
.cc-type {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--pill);
  background: rgba(23,23,27,.72); color: #fff; font-size: 11px; font-weight: 700;
  backdrop-filter: blur(6px);
}
.cc-free {
  position: absolute; top: 10px; right: 10px;
  padding: 5px 11px; border-radius: var(--pill);
  background: var(--ok); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em;
}
.cc-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .16s;
}
.content-card:hover .cc-play { opacity: 1; }
.cc-play span {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sh);
}
.cc-body { padding: 13px 14px 15px; }
.cc-creator { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.cc-creator img, .cc-creator .av-mini {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.cc-creator .name { font-size: 12.5px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-title {
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 38px; margin-bottom: 9px;
}
.cc-foot { display: flex; align-items: center; justify-content: space-between; }
.cc-price { font-size: 15px; font-weight: 800; color: var(--brand-ink); letter-spacing: -0.01em; }
.cc-price.free { color: var(--ok); }
.cc-stats { font-size: 12px; color: var(--ink-3); display: flex; gap: 10px; }

/* Creator karta */
.creator-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .16s, box-shadow .16s, border-color .16s; display: block;
}
.creator-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.cr-cover { aspect-ratio: 1/1; background: #efeff1; overflow: hidden; position: relative; }
.cr-cover img { width: 100%; height: 100%; object-fit: cover; }
.cr-cover .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #c7c7cf; }
.cr-body { padding: 13px 15px 15px; }
.cr-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.cr-verified { color: var(--brand); }
.cr-meta { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 12px; }

/* ── Odznaky / pilulky ────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--pill); font-size: 11.5px; font-weight: 700;
}
.badge-ok   { background: var(--ok-bg); color: var(--ok); }
.badge-info { background: #f5f0ff; color: var(--info); }
.badge-warn { background: #fff7ed; color: var(--warn); }
.badge-mut  { background: #f1f1f3; color: var(--ink-2); }

.tag { display: inline-flex; padding: 4px 11px; border-radius: var(--pill); font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand-ink); }

.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat {
  padding: 7px 15px; border-radius: var(--pill); font-size: 13.5px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  transition: all .14s;
}
.cat:hover { border-color: #c9c9d0; color: var(--ink); }
.cat.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── Formuláře ────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px;
}
.input, .textarea, select.input {
  width: 100%; padding: 11px 13px; font-size: 14.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, select.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; }

.input-pw { position: relative; }
.input-pw .toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 9px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); border-radius: var(--r-sm); }
.input-pw .toggle:hover { color: var(--ink); background: #f1f1f3; }

.form-err { font-size: 13px; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid #fbcfda; border-radius: var(--r-sm); padding: 9px 12px; margin-bottom: 14px; display: none; }
.form-err.show { display: block; }

/* Notice / flash */
.notice { padding: 11px 15px; border-radius: var(--r); font-size: 14px; font-weight: 600; margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.notice-ok   { background: var(--ok-bg); color: var(--ok); border: 1px solid #bbf7d0; }
.notice-err  { background: var(--brand-soft); color: var(--brand-ink); border: 1px solid #fbcfda; }
.notice-info { background: #f5f0ff; color: var(--info); border: 1px solid #e6dcff; }

/* ── Modály ───────────────────────────────────────────────── */
.modal-bg {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(23,23,27,.42); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 18px;
}
.modal-bg.on { display: flex; }
.modal {
  width: 100%; max-width: 460px; background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  max-height: 92vh; overflow-y: auto; animation: pop .2s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 0; }
.modal-head h3 { font-size: 19px; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-3); }
.modal-close:hover { background: #f1f1f3; color: var(--ink); }
.modal-body { padding: 18px 22px 24px; }
.modal-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }

.seg { display: flex; gap: 6px; background: #f1f1f3; padding: 4px; border-radius: var(--r); margin-bottom: 18px; }
.seg button { flex: 1; padding: 9px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .14s; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }

.modal-alt { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.modal-alt a { color: var(--brand-ink); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 62px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg)); }
.hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 14px 0 16px; }
.hero h1 span { color: var(--brand); }
.hero p { font-size: 16.5px; color: var(--ink-2); max-width: 480px; line-height: 1.65; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 620px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.trust-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--brand-soft); color: var(--brand-ink); }
.trust-tx strong { display: block; font-size: 13px; font-weight: 700; }
.trust-tx span { font-size: 12px; color: var(--ink-3); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--brand-ink); }
.crumb strong { color: var(--ink); font-weight: 600; }

/* ── Detail obsahu ────────────────────────────────────────── */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.detail-main { min-width: 0; }
.viewer { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin-bottom: 18px; }
.viewer img, .viewer video { width: 100%; display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--r-sm); cursor: zoom-in; }

.locked { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.locked-item { position: relative; aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.locked-item img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.85); transform: scale(1.15); }
.locked-item .lk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(255,255,255,.25); }

.buy-card { position: sticky; top: calc(var(--nav-h) + 16px); }
.price-big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-ink); }
.price-big.free { color: var(--ok); }
.assurance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.assurance div { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.assurance b { display: block; font-size: 12.5px; font-weight: 700; }
.assurance small { font-size: 11.5px; color: var(--ink-3); }

.owned-note { text-align: center; padding: 6px 0 4px; }
.owned-note .ic { font-size: 30px; }
.owned-note .t { font-size: 15px; font-weight: 700; color: var(--ok); }

/* Recenze */
.reviews-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rev-score { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.review { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.review .rav { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: var(--brand-soft); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.stars-in { display: flex; gap: 3px; }
.stars-in .rv-star { font-size: 24px; color: #dcdce1; cursor: pointer; transition: transform .1s; }

/* ── Profil tvůrce ────────────────────────────────────────── */
.cr-layout { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; }
.cr-photo-main { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background: #efeff1; }
.cr-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.cr-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 8px; }
.cr-thumb { aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; }
.cr-thumb.on { border-color: var(--brand); }
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-head h1 { font-size: 27px; display: flex; align-items: center; gap: 9px; }
.cr-statline { display: flex; gap: 22px; margin: 16px 0; flex-wrap: wrap; }
.cr-stat .n { font-size: 20px; font-weight: 800; }
.cr-stat .l { font-size: 12px; color: var(--ink-3); }
.cr-attrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 20px; }
.cr-attr { padding: 11px 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cr-attr .k { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.cr-attr .v { font-size: 14.5px; font-weight: 600; margin-top: 2px; }

/* ── Dashboard / admin ────────────────────────────────────── */
.panel { display: grid; grid-template-columns: 232px 1fr; gap: 26px; align-items: start; }
.side { position: sticky; top: calc(var(--nav-h) + 16px); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: all .14s; }
.side-nav a:hover { background: #f1f1f3; color: var(--ink); }
.side-nav a.on { background: var(--brand-soft); color: var(--brand-ink); }
.panel-head { margin-bottom: 22px; }
.panel-head h1 { font-size: 24px; }
.panel-head p { color: var(--ink-2); margin-top: 4px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.stat-card .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat-card .l { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.earn-hero { padding: 24px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.earn-hero .amount { font-size: 34px; font-weight: 800; }
.earn-hero .label { opacity: .9; font-size: 13.5px; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table tr:last-child td { border-bottom: none; }

/* Upload drop zóna */
.drop { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 28px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover { border-color: var(--brand); background: var(--brand-soft); }
.drop .ic { font-size: 32px; }
.thumbs-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 8px; margin-top: 14px; }
.thumbs-preview .tp { position: relative; aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.thumbs-preview .tp img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-preview .tp button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(23,23,27,.7); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* ── Empty state ──────────────────────────────────────────── */
.empty { text-align: center; padding: 70px 20px; color: var(--ink-3); }
.empty .ic { font-size: 46px; margin-bottom: 12px; }
.empty a { color: var(--brand-ink); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 50px; }
.footer-in { max-width: var(--maxw); margin: 0 auto; padding: 40px 22px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer .brand { font-size: 19px; margin-bottom: 10px; }
.footer p { font-size: 13.5px; color: var(--ink-3); max-width: 300px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 12px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--brand-ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 22px; text-align: center; font-size: 12.5px; color: var(--ink-3); }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(17,17,20,.92); align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: var(--r-sm); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ── Věkové ověření ───────────────────────────────────────── */
.age-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(23,23,27,.6); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 18px; }
html.age-ok .age-modal { display: none; }
.age-box { width: 100%; max-width: 520px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.age-head { padding: 28px 28px 0; text-align: center; }
.age-badge { display: inline-block; padding: 6px 16px; border-radius: var(--pill); background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; }
.age-head h2 { font-size: 24px; margin: 14px 0 6px; }
.age-head p { color: var(--ink-2); font-size: 14.5px; }
.age-body { padding: 22px 28px; }
.age-body ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.age-body li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.age-body li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.age-body a { color: var(--brand-ink); font-weight: 600; }
.age-warn { background: var(--brand-soft); border: 1px solid #fbcfda; border-radius: var(--r-sm); padding: 11px 14px; font-size: 13px; color: var(--brand-ink); margin-bottom: 16px; }
.age-foot { padding: 0 28px 26px; }
.age-actions { display: flex; gap: 12px; margin-top: 14px; }

/* ── Responsivita ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .cr-layout { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .side { position: static; }
  .side-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .side-nav a { white-space: nowrap; }
  .buy-card { position: static; }
  .footer-in { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .search { max-width: none; }
  .trust { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 30px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
