* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #f3f1ea;
  --card: #ffffff;
  --ink: #171a17;
  --ink-soft: #232723;
  --muted: #6b7066;
  --line: #e3e0d5;
  --chip: #efece2;
  --gold: #e9b22b;
  --gold-dark: #c89020;
  --danger: #b0483a;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header (tmavý band s logem) ---------- */
.site-header {
  background: linear-gradient(180deg, #131612 0%, var(--ink) 100%);
  color: #fff;
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 14px rgba(15, 17, 15, 0.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 16px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; color: inherit; }
.brand-logo { height: 40px; display: block; }
.brand-name { display: none; }
.brand-tag {
  font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; white-space: nowrap;
}
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn {
  display: inline-block; border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 8px 13px; border-radius: 6px;
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-disabled,
.btn-disabled:hover {
  background: var(--chip); border-color: var(--line); color: var(--muted);
  cursor: not-allowed; pointer-events: none;
}
.site-header .btn {
  border-color: rgba(255, 255, 255, 0.45); color: #fff;
}
.site-header .btn:hover { background: #fff; color: var(--ink); }

/* Tabs v tmavém bandu */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: none; background: transparent; font-family: inherit; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); padding: 12px 14px 13px;
  border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .15s ease;
}
.tab:hover { color: rgba(255, 255, 255, 0.85); }
.tab.active { color: #fff; border-bottom-color: var(--gold); }

/* ---------- Sekce ---------- */
main.wrap { padding-top: 44px; padding-bottom: 56px; }
.section { margin-bottom: 44px; }
.sec-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sec-title::before { content: ""; width: 26px; height: 3px; background: var(--gold); flex-shrink: 0; }
.sec-title h2 {
  font-size: 18px; text-transform: uppercase; letter-spacing: 2.4px;
  font-weight: 800; white-space: nowrap;
}
.sec-title .rule { flex: 1; border-bottom: 1px solid var(--line); }
.price-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-left: 4px solid var(--gold);
  padding: 12px 18px; border-radius: 8px; margin-bottom: 18px;
}
.price-banner .label { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.85); }
.price-banner .val { font-size: 19px; font-weight: 800; white-space: nowrap; }

/* ---------- Karty ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(23, 26, 23, 0.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(23, 26, 23, 0.12); }
}
.card-media {
  aspect-ratio: 4 / 3; background: var(--chip); position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-slot { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.card-media .ph {
  font-size: 44px; font-weight: 800; color: #d4d0c2; letter-spacing: 2px; text-transform: uppercase;
}
.card-media-icon { aspect-ratio: auto; height: 96px; color: #a9a493; background: var(--chip); }
.card-media-icon svg { width: 44px; height: 44px; }

.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(23, 26, 23, 0.66); color: #fff; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; padding: 0 0 2px;
  font-family: inherit; transition: background .15s ease;
}
.car-prev { left: 10px; }
.car-next { right: 10px; }
.car-btn:hover { background: rgba(23, 26, 23, 0.95); }
.car-dots {
  position: absolute; bottom: 9px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 5px; pointer-events: none;
}
.car-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.car-dots .dot.on { background: var(--gold); }
.share-chip {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(23, 26, 23, 0.72); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 6px 10px; border-radius: 6px;
  transition: background .15s ease;
}
.share-chip:hover { background: rgba(23, 26, 23, 0.95); }
.share-chip:disabled { opacity: 0.7; cursor: default; }

.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-name { font-size: 15.5px; font-weight: 800; letter-spacing: 0.2px; }
.card-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: var(--chip); border: 1px solid var(--line); border-radius: 5px;
  padding: 3px 8px; color: var(--ink-soft); text-decoration: none; display: inline-block;
}
.badge.coa-link { background: var(--gold); border-color: var(--gold-dark); color: var(--ink); }
.badge.coa-link:hover { background: var(--gold-dark); }
.card-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 16px;
}
.card-price { font-size: 18px; font-weight: 800; white-space: nowrap; }
.card-price .unit { font-size: 12px; font-weight: 600; color: var(--muted); }
.card-price .tier-note {
  display: block; font-size: 10.5px; font-weight: 600; color: var(--muted);
  white-space: normal; margin-top: 3px; letter-spacing: 0.2px;
}
.empty-state {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 44px 20px;
  text-align: center; color: var(--muted); font-size: 14px; background: rgba(255,255,255,.5);
}

/* ---------- Footer (tmavý band) ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); }
.site-footer .wrap { padding-top: 26px; padding-bottom: 30px; }
.foot-logo { height: 30px; display: block; margin-bottom: 14px; opacity: .95; }
.foot-contact { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.foot-contact .todo { color: var(--gold); }
.foot-meta { font-size: 11px; color: rgba(255, 255, 255, 0.5); margin-bottom: 10px; }
.foot-legal { font-size: 10.5px; line-height: 1.6; max-width: 880px; color: rgba(255, 255, 255, 0.55); }

/* ---------- Gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100; background: rgba(13, 15, 13, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(8px);
}
.gate.hidden { display: none; }
.gate-box {
  background: var(--card); border-radius: 14px; max-width: 430px; width: 100%;
  padding: 30px 28px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.gate-logo { height: 44px; margin: 0 auto 18px; display: block; }
.gate-box h1 { font-size: 17px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.gate-box p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; text-align: left; }
.gate-box input {
  width: 100%; padding: 11px 12px; font-size: 14px; border: 1.5px solid var(--line);
  border-radius: 8px; margin-bottom: 12px; font-family: inherit; background: var(--bg);
}
.gate-box input:focus { outline: none; border-color: var(--gold); }
.gate-box .gate-err { color: var(--danger); font-size: 12px; margin: -6px 0 10px; display: none; }
.gate-box .btn { width: 100%; text-align: center; padding: 12px; }
.gate-links { display: flex; justify-content: center; gap: 22px; margin-top: 14px; }
.gate-link {
  font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer;
  background: none; border: none; font-family: inherit; padding: 0;
}

/* ---------- Mobil ---------- */
@media (max-width: 560px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 4px; min-width: 0; }
  .brand-logo { height: 30px; }
  .brand-tag { display: none; }
  .btn { font-size: 11px; padding: 7px 9px; letter-spacing: 0.6px; }
  .site-header .btn { font-size: 9px; padding: 6px 5px; letter-spacing: 0.25px; white-space: nowrap; }
  .sec-title h2 { font-size: 15px; letter-spacing: 1.8px; }
  .price-banner .val { font-size: 16px; }
}
