:root {
  --bg: #f7f5f0;
  --paper: #ffffff;
  --ink: #23201c;
  --muted: #6b655c;
  --line: #e4dfd5;
  --accent: #2f6f8f;
  --accent-ink: #ffffff;
  --ok: #2e7d4f;
  --warn: #b8741a;
  --bad: #b23a3a;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 0; }
.site-header .wrap { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.brand { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.15rem; }
.brand-sub { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 20px 0; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 4px 0; }
main { padding-top: 28px; }
h1 { font-size: 1.7rem; margin: 0 0 8px; line-height: 1.25; }
h2 { font-size: 1.2rem; margin: 26px 0 10px; }
.lead { color: var(--muted); margin: 0 0 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #cfc8bb; border-radius: 7px; font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field { margin-bottom: 12px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 8px; font-weight: 400; cursor: pointer; }
.choice input { margin-top: 4px; }
.choice strong { display: block; }
.choice span { color: var(--muted); font-size: .9rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 7px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid #cfc8bb; }
.btn.small { padding: 5px 10px; font-size: .85rem; font-weight: 500; }
.btn.danger { background: var(--bad); color: #fff; }
.total { font-size: 1.25rem; font-weight: 700; }
.alert { padding: 12px 14px; border-radius: 7px; margin: 12px 0; }
.alert.error { background: #fbe9e9; color: #7a2323; }
.alert.ok { background: #e6f4ea; color: #1e5c37; }
.alert.info { background: #e9f1f6; color: #22465a; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.status.new { background: #fdf1dc; color: var(--warn); }
.status.paid { background: #e6f4ea; color: var(--ok); }
.status.shipped { background: #e3eef5; color: var(--accent); }
.status.cancelled { background: #eee; color: #777; }
.kv { width: 100%; border-collapse: collapse; }
.kv td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:first-child { color: var(--muted); width: 42%; padding-right: 12px; }
.kv td:last-child { font-weight: 600; }
.pay { display: grid; grid-template-columns: 1fr 240px; gap: 20px; align-items: start; }
@media (max-width: 640px) { .pay { grid-template-columns: 1fr; } }
.qr { text-align: center; }
.qr img, .qr svg { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.qr p { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.honey { position: absolute; left: -9999px; top: -9999px; }
.muted { color: var(--muted); }
.hint { font-size: .88rem; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.note { font-size: .9rem; color: var(--muted); }
@media print { .site-header, .site-footer, .noprint { display: none !important; } body { background: #fff; } .card { border: 0; padding: 0; } }

/* Úvod a varianty produktu */
.intro { max-width: 720px; margin: 0 0 22px; }
.intro p { margin: 0 0 10px; }
.variant { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.variant.soldout { opacity: .6; }
.variant-photo { flex: 0 0 150px; }
.variant-photo img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.variant-body { flex: 1; min-width: 0; }
.variant-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.variant-head .price { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.variant-desc { margin: 6px 0 8px; color: var(--muted); }
.qty-label { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 6px; }
.qty-label select { width: auto; min-width: 110px; }
@media (max-width: 560px) { .variant { flex-direction: column; } .variant-photo img { width: 100%; height: auto; max-height: 260px; } .variant-photo { flex: none; width: 100%; } }
