/* ============================================================
   Zbraně Lobo Žatec — design system
   Materiál: papír / modřená ocel / mosaz / ořech / lovecká zeleň
   Podpis: oválná punc (ražba jako na hlavni zbraně)
   ============================================================ */

:root {
  --paper: #f2efe7;
  --card: #fcfaf4;
  --ink: #24282d;
  --steel: #59616b;
  --brass: #a3823a;
  --brass-dark: #8a6c2c;
  --hunter: #42522f;
  --hunter-dark: #35431f;
  --walnut: #59422e;
  --line: #d9d2c0;
  --red: #9c3b2e;
  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Eyebrow štítek sekce ──────────────────────────────────── */
.punc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.punc::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--brass);
}
.punc--green { color: var(--hunter); }
.punc--green::before { background: var(--hunter); }

/* Dvojitá mosazná linka pod titulky sekcí */
.rail {
  border: 0;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  height: 4px;
  width: 72px;
  margin: 14px 0 0;
  opacity: .75;
}

/* ── Info bar ──────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: #cfc9ba;
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}
.topbar a { color: #e8e2d2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__dot { color: var(--brass); }

/* ── Header ────────────────────────────────────────────────── */
.hd {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.hd .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.hd__logo { text-decoration: none; line-height: 1.05; }
.hd__logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .01em;
  color: var(--ink);
  display: block;
}
.hd__logo-name b { color: var(--hunter); font-weight: 700; }
.hd__logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-top: 3px;
}
.hd__search { flex: 1; display: flex; max-width: 520px; }
.hd__search input {
  flex: 1;
  border: 1px solid var(--line);
  border-right: 0;
  background: #fff;
  font: inherit;
  padding: 10px 14px;
  color: var(--ink);
  min-width: 0;
}
.hd__search input:focus { outline: none; border-color: var(--brass); }
.hd__search button {
  border: 1px solid var(--hunter);
  background: var(--hunter);
  color: #f4f1e6;
  font: inherit;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
}
.hd__search button:hover { background: var(--hunter-dark); }
.hd__phone { margin-left: auto; text-align: right; font-size: 12px; color: var(--steel); }
.hd__phone a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.hd__phone a:hover { color: var(--hunter); }

.hd__cart {
  border: 1px solid var(--hunter);
  color: var(--hunter);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hd__cart:hover { background: rgba(66, 82, 47, .08); }
.hd__cart-n {
  background: var(--hunter);
  color: #f4f1e6;
  font-size: 11px;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Flash zprávy ──────────────────────────────────────────── */
.flash { padding: 12px 16px; font-size: 13.5px; margin: 0 0 16px; border: 1px solid; }
.flash--success { background: #eef3e4; border-color: #b7c39a; color: var(--hunter); }
.flash--danger  { background: #f7e8e4; border-color: #d9ac9f; color: var(--red); }
.flash--warning { background: #f7f0dc; border-color: #d9c791; color: #7a5d1c; }

/* ── Formuláře (košík, pokladna) ───────────────────────────── */
.buy { display: flex; gap: 10px; margin: 6px 0 12px; }
.buy input[type=number] { width: 80px; border: 1px solid var(--line); padding: 10px 12px; font: inherit; background: #fff; }
.hp { position: absolute; left: -9999px; }

.ctable { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.ctable th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ctable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ctable tr:last-child td { border-bottom: 0; }
.ctable__img { width: 64px; }
.ctable__img img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.ctable a { text-decoration: none; font-weight: 500; }
.ctable a:hover { color: var(--hunter); }
.ctable__note { font-size: 11.5px; color: var(--walnut); margin-top: 3px; }
.ctable__qty { display: flex; gap: 8px; }
.ctable__qty input { width: 62px; border: 1px solid var(--line); padding: 7px 8px; font: inherit; background: #fff; }
.ctable__del { border: 0; background: none; color: var(--red); font-size: 15px; cursor: pointer; padding: 4px 8px; }
.btn--sm { padding: 7px 14px; font-size: 12.5px; }

.csummary { display: flex; justify-content: flex-end; align-items: center; gap: 26px; margin-top: 20px; }
.csummary__total { font-family: var(--font-display); font-size: 20px; }

.chk__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.chk__h { font-family: var(--font-display); font-size: 19px; margin: 0 0 14px; }
.chk label { display: block; font-size: 12.5px; font-weight: 600; color: var(--steel); margin-bottom: 12px; }
.chk input[type=text], .chk input[type=email], .chk textarea {
  display: block; width: 100%; margin-top: 4px;
  border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 400;
  padding: 10px 12px; color: var(--ink);
}
.chk input:focus, .chk textarea:focus { outline: none; border-color: var(--brass); }
.chk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk__radio {
  display: flex !important; align-items: flex-start; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  padding: 12px 14px; font-weight: 500 !important; color: var(--ink) !important;
  cursor: pointer;
}
.chk__radio:hover { border-color: var(--brass); }
.chk__radio input { margin-top: 3px; }
.chk__sum { background: var(--card); border: 1px solid var(--line); padding: 16px 18px; margin: 22px 0; font-size: 13.5px; }
.chk__sumline { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.chk__sumline--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.chk__submit { width: 100%; padding: 14px; font-size: 15px; }

@media (max-width: 719px) {
  .chk__cols { grid-template-columns: 1fr; gap: 26px; }
  .ctable__img { display: none; }
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav { background: var(--card); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; flex-wrap: wrap; }
.nav a {
  padding: 12px 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav a:hover, .nav a.is-active { color: var(--hunter); border-bottom-color: var(--brass); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { padding: 52px 0 56px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.08;
  margin: 18px 0 14px;
}
.hero__lead { color: var(--steel); font-size: 16px; max-width: 54ch; margin: 0 0 24px; }
.hero__list { list-style: none; margin: 0 0 30px; padding: 0; }
.hero__list li { padding: 7px 0 7px 26px; position: relative; }
.hero__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 1px;
  background: var(--brass);
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 26px;
  border: 1px solid var(--hunter);
  cursor: pointer;
}
.btn--primary { background: var(--hunter); color: #f4f1e6; }
.btn--primary:hover { background: var(--hunter-dark); }
.btn--ghost { background: transparent; color: var(--hunter); }
.btn--ghost:hover { background: rgba(66, 82, 47, .08); }

/* Kontaktní karta prodejny */
.shopcard { background: var(--card); border: 1px solid var(--line); padding: 26px 28px; }
.shopcard__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin: 12px 0 16px;
}
.shopcard dl { margin: 0; font-size: 14px; }
.shopcard dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-top: 14px;
}
.shopcard dd { margin: 2px 0 0; color: var(--ink); }
.shopcard dd a { text-decoration: none; color: var(--ink); }
.shopcard dd a:hover { color: var(--hunter); }
.shopcard__note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--steel);
}

/* ── Sekce ─────────────────────────────────────────────────── */
.sec { padding: 48px 0; }
.sec__head { margin-bottom: 28px; }
.sec__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 10px 0 0;
}
.sec--alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Kategorie ─────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s;
}
.sec--alt .cat { background: var(--paper); }
.cat:hover { border-color: var(--brass); }
.cat__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; }
.cat__count { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.cat:hover .cat__count { color: var(--brass-dark); }

/* ── Produktové karty ──────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prod {
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color .15s;
  position: relative;
}
.sec--alt .prod { background: #fff; }
.prod:hover { border-color: var(--brass); }
.prod__img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.prod__img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.prod__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod__ozn { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); }
.prod__name { font-size: 13.5px; font-weight: 500; line-height: 1.35; flex: 1; }
.prod__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.prod__price { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.prod__price--old {
  font-size: 13px;
  font-weight: 400;
  color: var(--steel);
  text-decoration: line-through;
  margin-right: 8px;
}
.prod__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--walnut);
  color: #f2ead9;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 9px;
}
.prod__badge--sale { background: var(--red); }

/* Dostupnost — Skladem / Na cestě */
.stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hunter);
}
.stock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hunter); flex: 0 0 auto; }
.stock--way { color: var(--brass-dark); }
.stock--way .stock__dot { background: var(--brass); }
.stock--out { color: #a13c31; }
.stock--out .stock__dot { background: #a13c31; }
.stock--lg { font-size: 12.5px; margin: 4px 0 2px; }

/* ── Novinky ───────────────────────────────────────────────── */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news__item {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px 22px;
  text-decoration: none;
}
.news__item:hover { border-color: var(--brass); }
.news__date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); }
.news__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 8px 0 6px; line-height: 1.3; }
.news__ex { font-size: 13px; color: var(--steel); }

/* ── Články ────────────────────────────────────────────────── */
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 26px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.article:hover { border-color: var(--brass); box-shadow: 0 6px 20px rgba(89, 66, 46, .08); }
.article__date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); }
.article__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; margin: 10px 0 10px; color: var(--ink); }
.article__ex { font-size: 14px; color: var(--steel); margin: 0 0 16px; flex: 1; }
.article__more { font-size: 13px; font-weight: 600; color: var(--hunter); }
.article__lead { font-size: 17px; line-height: 1.55; color: var(--ink); font-weight: 500; margin: 0 0 24px; max-width: 780px; }
@media (max-width: 719px) { .articles { grid-template-columns: 1fr; } }

/* ── Výpis kategorie ───────────────────────────────────────── */
.crumbs { font-size: 12px; color: var(--steel); padding: 18px 0 0; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--hunter); }
.crumbs span { color: var(--brass); padding: 0 6px; }
.listhead { padding: 14px 0 26px; }
.listhead h1 { font-family: var(--font-display); font-weight: 700; font-size: 34px; margin: 8px 0 0; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.subcats a {
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
}
.subcats a:hover { border-color: var(--brass); color: var(--hunter); }
.subcats a.is-active { background: var(--hunter); border-color: var(--hunter); color: #f4f1e6; }
.listing { padding-bottom: 56px; }
.listhead__sub { font-weight: 400; color: var(--brass-dark); }

/* ── Kategorie: sidebar (výrobce) + grid ───────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 56px;
}
.grid--main { grid-template-columns: repeat(3, 1fr); }
.shop-side { position: sticky; top: 16px; }
.filterbox { background: var(--card); border: 1px solid var(--line); }
.filterbox__head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-dark);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.filter-list { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow-y: auto; }
.filter-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--ink);
  border-radius: 3px;
}
.filter-list a:hover { background: rgba(66, 82, 47, .07); color: var(--hunter); }
.filter-list a.is-active { background: var(--hunter); color: #f4f1e6; }
.filter-count { font-size: 11px; color: var(--steel); font-variant-numeric: tabular-nums; }
.filter-list a.is-active .filter-count { color: #d7dcc9; }

@media (max-width: 899px) {
  .shop-layout { grid-template-columns: 1fr; gap: 18px; }
  .shop-side { position: static; }
  .grid--main { grid-template-columns: repeat(3, 1fr); }
  .filter-list { max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list li { flex: 0 0 auto; }
  .filter-list a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
  .filter-list a .filter-count { display: none; }
}
@media (max-width: 719px) { .grid--main { grid-template-columns: repeat(2, 1fr); } }

.pager { display: flex; gap: 6px; justify-content: center; padding: 34px 0 0; }
.pager a, .pager strong {
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  font-size: 13px;
  padding: 7px 13px;
}
.pager strong { background: var(--hunter); border-color: var(--hunter); color: #f4f1e6; }
.pager a:hover { border-color: var(--brass); }

.empty { padding: 60px 0; text-align: center; color: var(--steel); }

/* ── Detail produktu ───────────────────────────────────────── */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 30px 0 60px; align-items: start; }
.pd__photo {
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.pd__photo img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pd__thumbs a {
  width: 76px;
  height: 76px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.pd__thumbs a:hover, .pd__thumbs a.is-active { border-color: var(--brass); }
.pd__ozn { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); }
.pd h1 { font-family: var(--font-display); font-weight: 700; font-size: 29px; line-height: 1.15; margin: 8px 0 14px; }
.pd__price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 4px; }
.pd__price { font-family: var(--font-display); font-weight: 700; font-size: 32px; }
.pd__price--old { font-size: 18px; color: var(--steel); text-decoration: line-through; }
.pd__vat { font-size: 12px; color: var(--steel); }
.pd__box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin-top: 22px;
}
.pd__box-head {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 8px;
}
.pd__box a.btn { margin-top: 10px; }
.pd__box p { margin: 6px 0; font-size: 13.5px; }
.pd__desc { padding: 0 0 60px; max-width: 860px; }
.pd__desc h2 { font-family: var(--font-display); font-size: 22px; }
.pd__desc img { height: auto; }

/* ── Footer ────────────────────────────────────────────────── */
.ft { background: var(--ink); color: #b9b3a4; font-size: 13px; }
.ft .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-top: 44px;
  padding-bottom: 36px;
}
.ft__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: #f2efe7;
}
.ft__brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 4px;
}
.ft h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}
.ft a { color: #d8d2c2; text-decoration: none; display: block; padding: 3px 0; }
.ft a:hover { color: #fff; }
.ft p { margin: 4px 0; }
.ft__bottom { border-top: 1px solid #3a3f45; }
.ft__bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  font-size: 11.5px;
  color: #8d8778;
  flex-wrap: wrap;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .cats, .grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .hd .wrap { flex-wrap: wrap; gap: 14px; }
  .hd__search { order: 3; max-width: none; width: 100%; }
  .hd__phone { display: none; }
  .cats, .grid { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .ft .wrap { grid-template-columns: 1fr; gap: 24px; }
}
