/* SuperKasa – prezentační web. Barvy značky: švestková #5c1a46, zlatá #e2b48a. */
:root {
  --plum: #5c1a46;
  --plum-dark: #3a0f2c;
  --plum-mid: #7a2a5e;
  --plum-soft: #f6edf2;
  --gold: #e2b48a;
  --gold-soft: #f8ece0;
  --cream: #fdf9f5;
  --ink: #2b1924;
  --muted: #6d5a66;
  --line: #ecdfe6;
  --white: #fff;
  --ok: #2f7a4d;
  --warn-bg: #fff4d6;
  --warn-line: #e0b23c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(58, 15, 44, .06), 0 8px 24px rgba(58, 15, 44, .07);
  --wrap: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-tap-highlight-color: rgba(92, 26, 70, .15);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-mid); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; color: var(--plum-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.3rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
small, .small { font-size: .9rem; color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; max-width: 1360px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 11px;
  border-radius: 12px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--plum-soft); color: var(--plum); }
.nav a[aria-current="page"] { color: var(--plum); background: var(--plum-soft); }
.nav .btn { margin-left: 6px; }
.menu-btn {
  display: none; min-height: 48px; min-width: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--plum-dark);
  font: 600 1rem var(--font); cursor: pointer; align-items: center; gap: 10px;
}
.menu-btn .bars { width: 20px; height: 14px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars span { top: 6px; }
.menu-btn .bars::after { bottom: 0; }

@media (max-width: 1360px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(58, 15, 44, .12);
  }
  .js .nav.open { display: flex; }
  .js .nav a { min-height: 54px; font-size: 1.08rem; padding: 0 16px; }
  .js .nav .btn { margin: 8px 0 0; justify-content: center; }
  /* Bez JavaScriptu: menu zůstane vidět a jde posouvat do strany. */
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; overflow-x: auto; padding-bottom: 8px; }
}

/* Přepínač jazyků: na počítači zkratky vpravo v hlavičce, na mobilu plné názvy dole v menu. */
.nav { margin-left: auto; }
.langs-top { order: 2; }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.langs a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 8px;
  border-radius: 9px; font-weight: 700; font-size: .88rem; letter-spacing: .04em; color: var(--muted); text-decoration: none;
}
.langs a:hover { background: var(--plum-soft); color: var(--plum); }
.langs a[aria-current] { background: var(--plum); color: #fff; }
.langs-menu { display: none; }
/* Přihlásit: vpravo v hlavičce na všech šířkách. */
.login-top {
  order: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; margin-left: 8px;
  border-radius: 12px; border: 1px solid var(--plum); color: var(--plum); font-weight: 650; text-decoration: none; white-space: nowrap;
}
.login-top:hover, .login-top[aria-current] { background: var(--plum); color: #fff; }
.menu-btn { order: 4; margin-left: 8px; }
@media (max-width: 420px) {
  .brand img { height: 32px; }
  .login-top { padding: 0 11px; margin-left: 6px; }
  .login-top span { display: none; }
  .menu-btn { margin-left: 6px; padding: 0 12px; }
}
/* Stránka přihlášení */
.shop-login { display: grid; gap: 10px; margin: 6px 0 4px; }
.shop-login label { font-weight: 650; }
.shop-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.shop-field span { padding: 0 10px; color: var(--muted); white-space: nowrap; font-size: .95rem; }
.shop-field input { flex: 1; min-width: 0; min-height: 50px; border: 0; font: 600 1.05rem var(--font); color: var(--ink); background: transparent; outline: none; }
.shop-field:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-soft); }
.cloud-soon { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: var(--plum-soft); color: var(--plum-dark); font-weight: 600; }
.is-soon { opacity: .55; }
.is-soon form, .is-soon .actions { pointer-events: none; }
@media (max-width: 1360px) {
  .langs-top { display: none; }
  .nav .langs-menu { display: flex; flex: none; margin-top: 12px; }
  .nav .langs-menu a { flex: 1; min-height: 48px; padding: 0 8px; font-size: 1rem; letter-spacing: 0; font-weight: 650; white-space: nowrap; }
  .nav .langs-menu a[aria-current] { color: #fff; background: var(--plum); }
  html:not(.js) .nav .langs-menu { margin: 0 0 0 8px; }
}
/* Vietnamština má diakritiku nad i pod písmeny – víc místa mezi řádky nadpisů. */
:lang(vi) h1, :lang(vi) h2, :lang(vi) h3 { line-height: 1.32; }
:lang(vi) .obor-name { line-height: 1.35; }
.lang-note { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 14px; border: 2px solid transparent;
  font: 650 1.05rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-mid); color: #fff; }
.btn-gold { background: var(--gold); color: var(--plum-dark); }
.btn-gold:hover { background: #ebc39e; color: var(--plum-dark); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum-soft); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav .btn { min-height: 48px; padding: 0 20px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--plum-mid); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 560px) { .actions .btn { width: 100%; } }

/* Úvodní pás */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(226, 180, 138, .28), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--white));
  padding: 56px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--plum); background: var(--gold-soft); border: 1px solid #efd7bf; border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding: 36px 0 44px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

.page-head { background: linear-gradient(180deg, var(--cream), var(--white)); padding: 48px 0 24px; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 44em; margin: 0; }

/* Ilustrační náhled pokladny (čisté CSS, žádný snímek obrazovky) */
.mock {
  background: var(--plum-dark); border-radius: 26px; padding: 14px; box-shadow: 0 30px 60px rgba(58, 15, 44, .25);
  max-width: 540px; width: 100%; justify-self: center;
}
.mock-screen { background: #fbf6f1; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; min-height: 300px; }
.mock-tiles { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.mock-bar { grid-column: 1 / -1; display: flex; gap: 6px; margin-bottom: 4px; }
.mock-bar span { flex: 1; height: 26px; border-radius: 8px; background: #eadbe3; }
.mock-bar span:first-child { background: var(--plum); }
.tile {
  border-radius: 10px; padding: 10px 8px; min-height: 58px; font-size: .78rem; font-weight: 650; line-height: 1.2;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--plum-dark); background: #fff; border: 1px solid #eee2e8;
}
.tile b { font-size: .82rem; color: var(--plum); }
.tile.g { background: var(--gold-soft); border-color: #f0dcc8; }
.tile.p { background: var(--plum); color: #fff; border-color: var(--plum); }
.tile.p b { color: var(--gold); }
.mock-cart { background: #fff; border-left: 1px solid #eee2e8; padding: 12px; display: flex; flex-direction: column; font-size: .78rem; }
.mock-cart .row { display: flex; justify-content: space-between; gap: 6px; padding: 6px 0; border-bottom: 1px dashed #eadbe3; }
.mock-cart .sum { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; font-weight: 750; font-size: 1rem; color: var(--plum-dark); }
.mock-cart .pay { margin-top: 10px; background: var(--plum); color: #fff; text-align: center; border-radius: 10px; padding: 10px; font-weight: 700; }
.mock-cap { text-align: center; color: #cdb3c1; font-size: .85rem; margin-top: 10px; }
@media (max-width: 420px) {
  .mock-screen { grid-template-columns: 1fr; }
  .mock-cart { border-left: 0; border-top: 1px solid #eee2e8; }
}

/* Oddíly */
.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 100%); color: #f7eef3; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section.dark .section-head p { color: #e9d6e0; }
@media (max-width: 700px) { .section { padding: 44px 0; } }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--plum-soft); color: var(--plum);
}
.ico svg { width: 26px; height: 26px; }
.ico.gold { background: var(--gold-soft); color: #8a5528; }

/* Obory */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--plum-dark);
}
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin: 0 0 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--plum-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235c1a46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.section.dark .checks li::before { background-color: rgba(226, 180, 138, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e2b48a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Funkce – přehled oddílů */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.toc a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--plum-dark);
}
.toc a:hover { border-color: var(--plum); color: var(--plum); }
.feature-group { scroll-margin-top: 90px; }

/* Ceník */
.price-hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 36px;
}
.price-box {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 100%); color: #fff; border-radius: 24px; padding: 32px;
  box-shadow: 0 24px 48px rgba(58, 15, 44, .2);
}
.price-box .amount { font-size: clamp(2.8rem, 2rem + 3vw, 4rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
.price-box .amount span { display: block; margin-top: 10px; font-size: 1.15rem; font-weight: 600; color: var(--gold); letter-spacing: 0; }
.price-box .year { margin-top: 14px; font-size: 1.1rem; color: #f3dfca; }
.price-box .tag { display: inline-block; margin-top: 18px; background: var(--gold); color: var(--plum-dark); font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.price-box p { color: #ecdbe4; margin: 16px 0 0; }
@media (max-width: 860px) { .price-hero { grid-template-columns: 1fr; } }

.plan { display: flex; flex-direction: column; }
.plan .who { color: var(--muted); font-size: .98rem; min-height: 3.2em; }
.plan .p { font-size: 1.6rem; font-weight: 800; color: var(--plum-dark); margin: 6px 0 2px; }
.plan .p small { font-size: .95rem; font-weight: 600; }
.plan .py { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.plan .checks { font-size: .97rem; }
.plan .checks li { margin-bottom: 6px; }
.plan.feat { border: 2px solid var(--gold); }
.badge { align-self: flex-start; font-size: .8rem; font-weight: 700; background: var(--gold-soft); color: #8a5528; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
.table-wrap table { min-width: 640px; }
caption { caption-side: bottom; padding: 12px 16px; text-align: left; }
tbody th { font-weight: 600; text-align: left; }
th, td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--plum-soft); color: var(--plum-dark); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
td.y { color: var(--ok); font-weight: 700; }
td.n { color: var(--muted); }

/* Upozornění */
.note {
  border-radius: var(--radius-sm); padding: 18px 20px; background: var(--gold-soft); border: 1px solid #efd7bf; color: var(--ink);
}
.note.warn { background: var(--warn-bg); border: 2px solid var(--warn-line); }
.note strong:first-child { color: var(--plum-dark); }
.note p:last-child { margin-bottom: 0; }
.draft-banner {
  background: repeating-linear-gradient(-45deg, #fff4d6, #fff4d6 14px, #ffeab0 14px, #ffeab0 28px);
  border: 2px solid var(--warn-line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 32px;
}
.draft-banner strong { display: block; font-size: 1.2rem; color: #6b4a00; margin-bottom: 4px; }
.draft-banner p { margin: 0; }

/* Text dlouhých stránek */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.ph { background: #fff0b8; padding: 0 4px; border-radius: 4px; }

/* FAQ – otevírá se dotykem i klávesnicí */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 52px 14px 20px; position: relative;
  font-weight: 650; color: var(--plum-dark); display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--plum); border-bottom: 2.5px solid var(--plum); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Kroky */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 72px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.steps li strong { display: block; color: var(--plum-dark); }

/* Kontakt */
.contact-big { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 750; color: var(--plum-dark); text-decoration: none; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; }
@media (max-width: 420px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }

/* Výzva na konci stránky */
.cta { text-align: center; }
.cta .actions { justify-content: center; }
.cta p { max-width: 40em; margin-left: auto; margin-right: auto; }

/* Patička */
.site-footer { background: var(--plum-dark); color: #d9c3cf; padding: 48px 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 750; color: #fff; margin-bottom: 10px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand b { font-weight: inherit; }
.foot-brand span { color: var(--gold); }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #bfa6b4; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ===== Výběr oboru (velké karty jako v aplikaci) ===== */
[hidden] { display: none !important; }
.hero-pick { padding: 44px 0 52px; }
.hero-pick .wrap { display: block; }
@media (max-width: 560px) { .hero-pick { padding: 28px 0 40px; } }
.hero-intro { max-width: 46em; margin-bottom: 26px; }
.hero-intro .lead { margin: 0; }
.seg {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 6px; max-width: 100%; overflow-x: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.seg button {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  font: 650 1rem var(--font); color: var(--plum-dark); white-space: nowrap;
}
.seg button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.obor-kind { margin-top: 22px; }
.obor-kind-title { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.obor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.obor {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  min-height: 168px; padding: 18px; border-radius: 22px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .12s, border-color .12s, box-shadow .12s;
}
.obor:hover { border-color: var(--plum); color: var(--ink); box-shadow: 0 2px 4px rgba(58, 15, 44, .08), 0 14px 30px rgba(58, 15, 44, .12); }
.obor:active { transform: scale(.98); }
.obor-art {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; margin-bottom: 6px;
  background: linear-gradient(145deg, var(--gold-soft), var(--plum-soft));
}
.obor-art img { width: 56px; height: 56px; }
.obor-art.sm { width: 48px; height: 48px; border-radius: 14px; margin: 0; }
.obor-art.sm img { width: 38px; height: 38px; }
.obor-name { font-size: 1.08rem; font-weight: 700; line-height: 1.25; color: var(--plum-dark); }
.obor-desc { font-size: .92rem; line-height: 1.4; color: var(--muted); }
.obor-go { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--plum-soft); }
.obor-go::after {
  content: ""; position: absolute; left: 11px; top: 12px; width: 9px; height: 9px;
  border-top: 2.5px solid var(--plum); border-right: 2.5px solid var(--plum); transform: rotate(45deg);
}
.obor:hover .obor-go { background: var(--plum); }
.obor:hover .obor-go::after { border-color: #fff; }
@media (max-width: 560px) {
  .obor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .obor { min-height: 150px; padding: 14px; border-radius: 18px; }
  .obor-art { width: 58px; height: 58px; border-radius: 16px; }
  .obor-art img { width: 46px; height: 46px; }
  .obor-name { font-size: 1rem; }
  .obor-desc { font-size: .84rem; }
  .obor-go { top: 12px; right: 12px; width: 28px; height: 28px; }
  .obor-go::after { left: 8px; top: 10px; width: 8px; height: 8px; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 0 10px; }
}
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 26px 0 0; color: var(--muted); }
.hero-links strong { color: var(--plum-dark); }
.hero-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
figure.mock, figure.pos { margin: 0; }

/* ===== Stránka oboru ===== */
.obor-head { padding: 32px 0 48px; }
.obor-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
@media (max-width: 960px) { .obor-hero { grid-template-columns: 1fr; gap: 32px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 32px; align-items: center; }
.crumbs [aria-current] { color: var(--plum-dark); font-weight: 600; }
.obor-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 5px 16px 5px 5px; margin-bottom: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem;
}
.obor-head h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.8rem); }
.gchips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gchips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--plum-dark);
}
.gchips img { width: 26px; height: 26px; }
.mt-1 { margin-top: 12px; }
dl.feat { margin: 0; }
dl.feat dt { font-weight: 700; color: var(--plum-dark); margin-top: 12px; }
dl.feat dt:first-child { margin-top: 0; }
dl.feat dd { margin: 2px 0 0; color: var(--muted); }
.others { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.others a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px 0 8px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--plum-dark);
}
.others a:hover { border-color: var(--plum); }
.others img { width: 34px; height: 34px; }
.plan-obory { margin: auto 0 0; padding-top: 14px; font-size: .9rem; color: var(--muted); }
.btn-disabled { cursor: default; opacity: .6; }
.dtable th, .dtable td { text-align: left; vertical-align: top; font-size: .93rem; }

/* Náhled pokladny nastavené pro obor (čisté CSS a obrázky skupin z pokladny) */
.pos { background: var(--plum-dark); border-radius: 26px; padding: 12px; box-shadow: 0 30px 60px rgba(58, 15, 44, .25); width: 100%; max-width: 600px; justify-self: center; }
.pos-screen { background: #fbf6f1; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1.55fr 1fr; }
.pos-main { padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pos-search { height: 34px; border-radius: 9px; background: #fff; border: 1px solid #eadbe3; display: flex; align-items: center; padding: 0 12px; font-size: .76rem; color: var(--muted); }
.pos-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pt {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 3px; text-align: center;
  min-height: 92px; padding: 8px 5px; border-radius: 10px; background: #fff; border: 1px solid #eee2e8;
  font-size: .72rem; font-weight: 650; line-height: 1.15; color: var(--plum-dark);
}
.pt img { width: 34px; height: 34px; }
.pt span { overflow-wrap: anywhere; }
.pt b { font-size: .76rem; color: var(--plum); }
.pt.grp { background: var(--gold-soft); border-color: #f0dcc8; }
.pos-tabs { display: flex; gap: 5px; }
.pos-tabs span { flex: 1; min-width: 0; padding: 7px 4px; border-radius: 8px; background: #eadbe3; font-size: .68rem; font-weight: 650; text-align: center; color: var(--plum-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-tabs span.on { background: var(--plum); color: #fff; }
.pos-cart { background: #fff; border-left: 1px solid #eee2e8; padding: 12px; display: flex; flex-direction: column; font-size: .76rem; min-width: 0; }
.pos-cart .row { display: flex; justify-content: space-between; gap: 6px; padding: 6px 0; border-bottom: 1px dashed #eadbe3; }
.pos-cart .row i { font-style: normal; color: var(--muted); white-space: nowrap; }
.pos-cart .sum { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; font-weight: 750; font-size: .98rem; color: var(--plum-dark); }
.pos-cart .pay { margin-top: 10px; background: var(--plum); color: #fff; text-align: center; border-radius: 10px; padding: 10px; font-weight: 700; }
.pos figcaption, .mock figcaption { text-align: center; color: #cdb3c1; font-size: .85rem; margin-top: 10px; padding: 0 8px; }
@media (max-width: 480px) {
  .pos-screen { grid-template-columns: 1fr; }
  .pos-cart { border-left: 0; border-top: 1px solid #eee2e8; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 32px; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .actions, .menu-btn { display: none !important; }
  .section, .hero { padding: 16px 0; }
}
