/* MARKIS theme — sections + components.
   Ported from the claude.ai MARKIS Design System ui_kit (Header/Hero/Nabidka/
   JakToFunguje/Kontakt/Footer) and component primitives (Button/Chip/Badge/
   Input/Textarea). The offer grid + card + detail + lightbox are styled by the
   carried webview.js. Values mirror the DS inline styles 1:1. */

/* ============ Layout ============ */
.mk-container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
.mk-skip { position: absolute; left: -9999px; top: 0; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.mk-skip:focus { left: 0; }
/* Screen-reader-only: present in the a11y tree, painted off-canvas. */
.mk-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============ Buttons (DS Button) ============ */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; line-height: 1.1; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none; border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
  padding: 13px 22px; font-size: var(--text-md); min-height: var(--tap-min); }
.mk-btn:hover { filter: brightness(0.94); }
.mk-btn:active { transform: scale(0.98); }
.mk-btn--sm { padding: 9px 16px; font-size: var(--text-sm); min-height: 40px; gap: 7px; }
.mk-btn--lg { padding: 17px 30px; font-size: var(--text-lg); min-height: var(--tap-comfortable); gap: 11px; }
.mk-btn--block { display: flex; width: 100%; }
.mk-btn--primary { background: var(--accent); color: var(--text-on-red); border-color: var(--accent); box-shadow: var(--shadow-red); }
.mk-btn--secondary { background: var(--surface-card); color: var(--ink-900); border-color: var(--ink-900); box-shadow: var(--shadow-sm); }
.mk-btn--ghost { background: transparent; color: var(--ink-900); }
.mk-btn--highlight { background: var(--highlight); color: var(--text-on-yellow); border-color: var(--yellow-500); box-shadow: var(--shadow-yellow); }
.mk-btn svg, .mk-btn i { width: 19px; height: 19px; }

/* ============ Chips (DS Chip) ============ */
.mk-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 18px;
  border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  cursor: pointer; white-space: nowrap; background: var(--surface-card); color: var(--ink-800);
  border: 2px solid var(--border-mid);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.mk-chip:hover { border-color: var(--wood-700); }
.mk-chip .mk-chip-count { font-size: var(--text-2xs); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-faint); }
.mk-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-red); }
.mk-chip.is-active .mk-chip-count { color: var(--brand-yellow); }

/* ============ Badges (DS Badge) ============ */
.mk-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-2xs); letter-spacing: 0.01em; line-height: 1; }
.mk-badge--instock { background: var(--status-instock-bg); color: var(--status-instock-text); }
.mk-badge--sold { background: var(--status-sold-bg); color: var(--status-sold-text); }

/* ============ Header — warm walnut bar ============ */
.mk-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  border-bottom: 3px solid var(--accent); }
/* Single row by construction: a fixed-height flex line whose children never shrink. */
.mk-header__inner { max-width: var(--container-max); margin: 0 auto; padding: 10px var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap; }
.mk-header__inner > * { flex-shrink: 0; }
.mk-nav-desktop { display: none; flex-shrink: 1; min-width: 0; gap: 2px; align-items: center; }
.mk-logo { display: inline-flex; align-items: center; }
.mk-logo img { height: 48px; display: block; width: auto; }
.mk-nav-desktop a { background: none; border: none; cursor: pointer; padding: 9px 13px; font-family: var(--font-body);
  font-weight: 700; font-size: var(--text-sm); color: var(--ink-900); border-radius: var(--radius-sm); white-space: nowrap; }
.mk-nav-desktop a:hover { background: rgba(0,0,0,0.08); color: var(--accent); }
/* configured wp_nav_menu (when a menu is assigned) */
.mk-nav-desktop .mk-menu { display: flex; gap: 2px; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.mk-nav-desktop .mk-menu a { display: block; padding: 9px 13px; font-weight: 700; font-size: var(--text-sm); color: var(--ink-900); border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap; }
.mk-nav-desktop .mk-menu a:hover { background: rgba(0,0,0,0.08); color: var(--accent); }
.mk-nav-mobile .mk-menu { list-style: none; margin: 0; padding: 0; }
.mk-nav-mobile .mk-menu a { display: block; padding: 15px 8px; font-weight: 700; font-size: var(--text-lg); color: var(--ink-900); border-bottom: 1px solid rgba(0,0,0,0.12); text-decoration: none; }
.mk-header__right { display: flex; align-items: center; gap: 10px; }
.mk-phone { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; background: var(--accent);
  color: #fff; font-weight: 800; font-family: var(--font-body); padding: 11px 18px; border-radius: var(--radius-pill);
  font-size: var(--text-sm); min-height: 46px; box-shadow: var(--shadow-red); white-space: nowrap; flex-shrink: 0; }
.mk-phone:hover { color: #fff; background: var(--accent-hover); }
.mk-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.mk-phone__num { white-space: nowrap; }
.mk-hamburger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: var(--radius-sm); border: 2px solid rgba(0,0,0,0.28); background: transparent; color: var(--ink-900); cursor: pointer; }
.mk-hamburger svg { width: 22px; height: 22px; }
/* Hamburger menu. The bar only collapses to the hamburger when it does not fit, so
   this is mostly a mobile control - but on a narrow desktop it must NOT become a
   full-screen "giga menu". Default: a compact, right-aligned, content-sized dropdown
   below the header bar (--mk-header-h is measured by site.js). Mobile (<=559px): a
   full-height overlay that covers the page (no content bleed) + body scroll lock. */
.mk-nav-mobile { position: fixed; top: var(--mk-header-h, 67px); right: 8px; left: auto; z-index: 49;
  width: min(340px, 92vw); max-height: calc(100vh - var(--mk-header-h, 67px) - 16px);
  background: var(--header-bg); border: 1px solid var(--border-soft);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 6px 10px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 559px) {
  .mk-nav-mobile { left: 0; right: 0; width: auto; bottom: 0; max-height: none;
    border: none; border-top: 1px solid rgba(0,0,0,0.12); border-radius: 0; box-shadow: none;
    padding: 8px var(--container-pad) 24px; }
  body.mk-nav-open { overflow: hidden; }
}
.mk-nav-mobile a { display: block; width: 100%; text-align: left; background: none; border: none; padding: 15px 8px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); color: var(--ink-900); cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.12); text-decoration: none; }

/* ============ Language flag selector (CS / PL / RU / VN) ============ */
.mk-lang { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.mk-flag { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,0.18); flex-shrink: 0; }
.mk-lang__trigger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.22); color: var(--ink-900);
  padding: 8px 11px; border-radius: var(--radius-pill); min-height: 46px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); line-height: 1; }
.mk-lang__trigger:hover { background: rgba(0,0,0,0.11); }
.mk-lang.is-open .mk-lang__trigger { background: rgba(0,0,0,0.13); }
.mk-lang__code { letter-spacing: 0.04em; }
.mk-lang__chev { transition: transform var(--dur-fast) var(--ease-out); opacity: 0.85; }
.mk-lang.is-open .mk-lang__chev { transform: rotate(180deg); }
.mk-lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; margin: 0; padding: 6px; list-style: none;
  min-width: 132px; background: var(--surface-card); border: 1px solid var(--border-mid); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; }
.mk-lang__menu[hidden] { display: none; } /* our display:flex must not defeat the hidden attr */
.mk-lang__opt { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); color: var(--ink-900); text-decoration: none; }
.mk-lang__opt:hover { background: var(--surface-sunk); color: var(--ink-900); }
.mk-lang__opt .mk-lang__code { color: var(--ink-700); }
/* Hide the desktop switcher on narrow screens; the mobile menu carries its own. */
@media (max-width: 720px) { .mk-header__right .mk-lang { display: none; } }
/* Mobile-menu variant: dropdown opens upward over the drawer, dark-surface trigger. */
/* No border-top here: the last nav item's border-bottom already divides the switcher
   from the menu (a border-top too produced a visible double hairline). */
.mk-lang--mobile { display: flex; width: 100%; padding: 14px 8px 4px; margin-top: 8px; }
.mk-lang--mobile .mk-lang__trigger { width: 100%; justify-content: center; }
.mk-lang--mobile .mk-lang__menu { left: 0; right: 0; top: auto; bottom: calc(100% + 8px); min-width: 0; }

/* ============ Hero — bold, grounded ============ */
/* Gradual band transitions instead of hard colour cuts (customer 2026-07-16): each
   band fades into its neighbour over the seam rather than clicking straight from one
   flat colour to the next. bg-panel is bracketed - it fades IN from bg-page at its own
   top and back OUT to bg-page at its own bottom - so the footer's own fade-in (also
   bg-page -> footer-bg) is correct on every template regardless of what precedes it. */
.mk-hero { position: relative; background: var(--hero-bg); padding: 36px var(--container-pad) 30px; }
.mk-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-page)); pointer-events: none; }
.mk-hero__grid { position: relative; z-index: 1; max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.mk-hero__copy { order: 2; }
.mk-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--highlight); color: var(--ink-900);
  font-weight: 800; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 15px; border-radius: var(--radius-pill); box-shadow: var(--shadow-yellow); }
.mk-hero__eyebrow svg { width: 16px; height: 16px; }
.mk-hero h1 { font-family: var(--font-display); font-weight: 800; color: var(--ink-900);
  font-size: clamp(2.4rem, 7.5vw, 4rem); line-height: 1.0; letter-spacing: -0.03em; margin: 18px 0 0; }
.mk-hero__lead { font-size: var(--text-lg); font-weight: 700; color: var(--text-body); line-height: 1.5; margin: 18px 0 0; max-width: 30em; }
.mk-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mk-hero__media { order: 1; position: relative; padding-bottom: 16px; }
/* The real photo is 638×600 (near-square); frame it on a wood mat, no harsh crop. */
.mk-hero__frame { position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 64 / 60; max-width: 520px; margin: 0 auto;
  background: var(--bg-panel); border: 5px solid var(--bg-dark); }
.mk-hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mk-hero__card { position: absolute; bottom: 0; left: 16px; background: var(--surface-card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border: 2px solid var(--accent); padding: 12px 16px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); }
.mk-hero__card svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.mk-hero__card b { font-family: var(--font-body); font-weight: 800; font-size: var(--text-sm); color: var(--ink-900); display: block; }
.mk-hero__card span { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.3; }

/* ============ Intro (verbatim homepage prose) ============ */
/* Panel band (salmon pink since palette v3): fades in ONCE from bg-page at its own
   top, then holds flat at its own darker colour the rest of the way down - no
   fade-out at the bottom (that made the page dark/light/dark/light twice over,
   reading as busy rather than one clean journey). The footer below picks up its own
   colour with a solid line instead of a second fade. The left accent on the lead
   stays. */
.mk-intro { position: relative; background: var(--bg-panel); }
.mk-intro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px;
  background: linear-gradient(to bottom, var(--bg-page), transparent); pointer-events: none; }
/* Symmetric space above and below the text: equal 48px top/bottom padding, plus a reset
   of the trailing paragraph's 16px bottom margin (last-child) so it doesn't stack onto the
   48px - otherwise the space below the text renders 16px larger than the space above it. */
.mk-intro__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 48px var(--container-pad); }
.mk-intro p { color: var(--text-body); font-size: var(--text-md); line-height: var(--leading-relaxed); margin: 0 0 16px; }
.mk-intro__inner > :last-child { margin-bottom: 0; }
.mk-intro__lead { font-size: var(--text-lg); color: var(--ink-900); border-left: 4px solid var(--accent); padding-left: 18px; }
.mk-intro__sign { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: var(--text-lg); margin: 8px 0 0; }

/* ============ Section heading ============ */
.mk-section { max-width: var(--container-max); margin: 0 auto; padding: 44px var(--container-pad) 24px; }
.mk-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--ink-900); margin: 0; letter-spacing: -0.02em; }
.mk-sub { color: var(--ink-800); font-size: var(--text-md); font-weight: 600; margin: 6px 0 0; max-width: 40em; }

/* Informative note after the product grid (Nabídka + Textil). Verbatim copy. */
.mk-offer-note { font-size: var(--text-sm); color: var(--ink-900); font-weight: 700; line-height: 1.4; text-align: right; margin: 40px 0 2px; }

/* ============ Offer (Nabídka) ============ */
#nabidka { scroll-margin-top: 80px; }
.mk-offer__head { margin-bottom: 18px; }

/* --- Category nav (vertical rows): an always-open vertical ledger on both desktop
   and mobile (#markis-chips + data-cat, no counts, no collapse bar). Reuses the
   existing active-chip treatment: red fill, white label. --- */
.mk-catnav { display: flex; flex-direction: column; background: var(--surface-card);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mk-catnav__title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--brand-wood);
  padding: 14px 16px 10px; border-bottom: 1px solid var(--border-soft); }
.mk-cat { display: flex; align-items: center; gap: 11px; width: 100%; min-height: var(--tap-comfortable);
  padding: 10px 15px; background: var(--surface-card); border: none; border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--ink-800);
  text-align: left; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.mk-cat:last-child { border-bottom: none; }
.mk-cat__label { flex: 1 1 auto; min-width: 0; }
.mk-cat:hover { background: var(--salmon-100); color: var(--ink-900); box-shadow: inset 3px 0 0 var(--accent); }
/* ACTIVE row: same as today's active chip — red fill, white label. */
.mk-cat.is-active { background: var(--accent); color: #fff; font-weight: 800; box-shadow: var(--shadow-red); }
.mk-cat.is-active:hover { background: var(--accent); box-shadow: var(--shadow-red); }
/* EMPTY (count 0): rendered without data-cat (inert) — greyed, non-actionable. */
.mk-cat.is-empty { color: var(--ink-400); cursor: not-allowed; }
.mk-cat.is-empty:hover { background: var(--surface-card); color: var(--ink-400); box-shadow: none; }

/* --- Layout: single column by default (mobile-first). --- */
.mk-offer__layout { display: block; }
.mk-offer__main { min-width: 0; }
/* Breathing room between the (stacked) category filter and the product grid on
   mobile; on desktop the two sit side-by-side so the grid `gap` handles it. */
.mk-offer__rail { margin-bottom: 18px; }

/* --- DESKTOP (>= 960px): a sticky left rail + the product grid; the grid drops to
   3 columns because the rail takes a column's worth of space. The 3-col override is
   scoped (.mk-offer__layout .grid-items) so it out-specifies webview.js's injected
   `.grid-items{...4 cols}` rule regardless of insertion order — no !important. --- */
@media (min-width: 960px) {
  .mk-offer__layout { display: grid; grid-template-columns: 244px 1fr; gap: 26px; align-items: start; }
  .mk-offer__rail { position: sticky; top: 14px; margin-bottom: 0; }
  .mk-offer__layout .grid-items { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .mk-offer__layout .grid-items { grid-template-columns: repeat(4, 1fr); }
}

.mk-empty { text-align: center; padding: 48px 16px; background: var(--surface-card); border-radius: var(--radius-lg);
  border: 1px dashed var(--border-mid); color: var(--text-muted); }
.mk-empty p { font-size: var(--text-lg); font-weight: 600; color: var(--ink-800); margin: 0 0 4px; }
.mk-empty .mk-btn { margin-top: 14px; }

/* ============ Kontakt ============ */
#kontakt { scroll-margin-top: 70px; }
.mk-contact__grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
.mk-card { background: var(--surface-card); border-radius: var(--radius-lg); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); padding: 22px; }
.mk-contact__rows { display: flex; flex-direction: column; gap: 16px; }
/* Shared icon-row + yellow icon-tile pattern (contact rows, Kontakt directions, map
   links). Box size + svg size vary per use; the tile look is defined once here. */
.mk-contact__row, .mk-directions__row { display: flex; gap: 13px; align-items: flex-start; }
.mk-contact__ic, .mk-directions__ic, .mk-maplink__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--yellow-200); display: flex; align-items: center; justify-content: center; }
.mk-contact__ic svg, .mk-directions__ic svg, .mk-maplink__ic svg { width: 21px; height: 21px; color: var(--ink-900); }
.mk-contact__row .mk-contact__ic--whatsapp svg { color: var(--whatsapp); }
.mk-contact__row b { font-weight: 700; font-size: var(--text-md); color: var(--ink-900); display: block; }
.mk-contact__row a { font-weight: 700; font-size: var(--text-md); color: var(--ink-900); }
.mk-contact__row div span { display: block; font-size: var(--text-sm); color: var(--ink-800); font-weight: 700; }
.mk-hours { width: 100%; border-collapse: collapse; margin-top: 18px; }
.mk-hours td, .mk-hours th { padding: 11px 0; font-size: var(--text-md); border-top: 1px solid var(--border-soft); }
.mk-hours th { color: var(--text-body); font-weight: 600; text-align: left; }
.mk-hours td:last-child { color: var(--ink-900); text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.mk-note { font-size: var(--text-sm); color: var(--ink-800); font-weight: 600; margin-top: 14px; line-height: 1.5; }
.mk-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); margin-top: 18px; }
.mk-gps { font-size: var(--text-sm); color: var(--text-body); margin-top: 12px; }
.mk-gps span { font-variant-numeric: tabular-nums; color: var(--ink-900); font-weight: 600; }
.mk-gps a { text-decoration: none; }
.mk-gps a:hover span, .mk-gps a:focus-visible span { text-decoration: underline; }

/* ============ Kontakt — Jak se k nám dostanete (directions + map links) ============
   Icon-row + tile come from the shared rules above (.mk-contact__row / __ic). */
.mk-directions { margin-top: 22px; }
.mk-directions__head { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--ink-900); margin: 0 0 16px; letter-spacing: -0.01em; }
.mk-directions__row { margin-bottom: 16px; }
.mk-directions__row b { display: block; font-weight: 700; font-size: var(--text-md); color: var(--ink-900); margin-bottom: 3px; }
.mk-directions__row p { margin: 0; font-size: var(--text-sm); color: var(--text-body); line-height: 1.55; }
.mk-directions__maplabel { font-size: var(--text-sm); color: var(--text-body); margin: 18px 0 12px; }
.mk-directions__maplabel span { color: var(--text-muted); }
.mk-maplinks { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 12px; }
/* Bold sign-red CTA pill (matches the site's primary-button language - shadow-red,
   font-display weight) instead of a flat white card that vanished into the pink page
   background. The pin gets a small pulsing yellow "you are here" ping - a location cue
   in the brand's own signage colours. */
.mk-maplink { display: inline-flex; align-items: center; gap: 13px; padding: 14px 22px 14px 14px;
  background: linear-gradient(180deg, var(--red-400), var(--accent) 65%);
  border: none; border-radius: var(--radius-pill); box-shadow: var(--shadow-red);
  text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--text-md);
  color: #fff; letter-spacing: -0.01em;
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out); }
.mk-maplink:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.mk-maplink:active { transform: translateY(0) scale(0.98); }
.mk-maplink .mk-maplink__ic { position: relative; background: rgba(255,255,255,0.2); }
.mk-maplink .mk-maplink__ic svg { color: #fff; }
.mk-maplink .mk-maplink__ic::after { content: ""; position: absolute; top: -2px; right: -2px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 0 2px var(--accent-press);
  animation: mk-map-ping 2.4s ease-out infinite; }
@keyframes mk-map-ping { 0%, 55% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* ============ Form fields (DS Input/Textarea) ============ */
.mk-form { display: flex; flex-direction: column; gap: 16px; }
.mk-field { display: flex; flex-direction: column; gap: 7px; }
.mk-field label { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--ink-800); }
.mk-field input, .mk-field textarea { font-family: var(--font-body); font-size: var(--text-md); color: var(--ink-900);
  background: var(--surface-card); border: 2px solid var(--border-mid); border-radius: var(--radius-md); padding: 13px 16px;
  min-height: var(--tap-min); outline: none; transition: border-color var(--dur-fast) var(--ease-out); width: 100%; }
.mk-field textarea { resize: vertical; line-height: var(--leading-normal); min-height: 120px; }
.mk-field input:focus, .mk-field textarea:focus { border-color: var(--accent); }
.mk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mk-form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-size: var(--text-sm); }
.mk-form-status:not([hidden]) { display: block; } /* <output> defaults to inline; keep the block padding box */
.mk-form-status.is-ok { background: var(--status-instock-bg); color: var(--status-instock-text); }
.mk-form-status.is-err { background: var(--red-50); color: var(--red-700); }

/* ============ Inquiry form (the merged /objednavka/ form) ============ */
.mk-inquiry__intro { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--ink-900); margin: 0 0 4px; }
.mk-inquiry__sub { color: var(--ink-800); font-size: var(--text-md); font-weight: 600; margin: 0 0 18px; }
.mk-radio { border: 0; margin: 0; padding: 0; min-inline-size: auto; gap: 10px; }
.mk-radio legend { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--ink-800); padding: 0; }
.mk-radio__opt { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; font-size: var(--text-md); color: var(--ink-900); cursor: pointer; }
.mk-radio__opt input { width: 18px; height: 18px; accent-color: var(--accent); }
.mk-inquiry__fine { margin-top: 4px; }
.mk-inquiry__fine p { font-size: var(--text-sm); color: var(--ink-900); font-weight: 600; line-height: 1.5; margin: 0; }

/* ============ Footer - old-site salmon band ============ */
/* Solid bold red line on top (the original accent divider) - a bg-panel-coloured
   line was invisible against the intro band right above it. */
.mk-footer { background: var(--footer-bg); color: var(--footer-ink); border-top: 3px solid var(--accent); }
.mk-footer__inner { max-width: var(--container-max); margin: 0 auto; padding: 44px var(--container-pad) 28px; }
.mk-foot-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.mk-footer__logo { height: 64px; display: block; margin-bottom: 14px; width: auto; }
.mk-footer p { font-size: var(--text-sm); font-weight: 700; line-height: 1.55; color: var(--ink-800); max-width: 26em; margin: 0; }
.mk-footer h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); text-transform: uppercase;
  letter-spacing: var(--tracking-caps); color: var(--ink-900); margin: 0 0 12px; }
.mk-footer__col { display: flex; flex-direction: column; gap: 9px; }
.mk-footer__col a, .mk-footer__col span { color: var(--ink-900); font-family: var(--font-body); font-size: var(--text-md); text-decoration: none; }
.mk-footer__col a:hover { color: var(--ink-900); text-decoration: underline; }
.mk-footer__tel { color: var(--ink-900) !important; font-weight: 800; }
.mk-footer__bottom { border-top: 1px solid rgba(0,0,0,0.18); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: space-between; align-items: center; }
.mk-footer__bottom span { font-size: var(--text-sm); color: var(--ink-800); }
.mk-footer__credit { font-size: var(--text-2xs); color: var(--ink-800); }
.mk-footer__credit a { color: var(--ink-800); }

/* ============ Sub-page prose (O nás, Ceník, FAQ, …) ============ */
.mk-page-head { background: var(--bg-page); border-bottom: 1px solid var(--red-200); }
.mk-page-head__inner { max-width: var(--container-max); margin: 0 auto; padding: 36px var(--container-pad) 30px; }
.mk-page-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--ink-900); letter-spacing: -0.02em; margin: 0; }
.mk-prose { max-width: var(--container-max); margin: 0 auto; padding: 36px var(--container-pad) 60px; font-size: var(--text-md); color: var(--text-body); line-height: var(--leading-relaxed); }
.mk-prose > * { max-width: 760px; }
.mk-prose.is-wide > * { max-width: none; }
.mk-prose h2 { font-size: var(--text-2xl); margin: 32px 0 12px; color: var(--ink-900); border-left: 4px solid var(--accent); padding-left: 14px; }
.mk-prose h3 { font-family: var(--font-display); font-size: var(--text-xl); margin: 28px 0 8px; color: var(--accent); }
.mk-prose p { margin: 0 0 16px; }
.mk-prose ul { margin: 0 0 16px; padding-left: 22px; }
.mk-prose li { margin: 4px 0; }
.mk-prose strong { font-weight: 700; color: var(--ink-900); }
.mk-prose dl { margin: 0 0 16px; }
.mk-prose dt { font-weight: 700; color: var(--ink-900); margin-top: 14px; }
.mk-prose dd { margin: 4px 0 0; color: var(--ink-800); }
.mk-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.mk-table th, .mk-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); }
.mk-table th { font-family: var(--font-body); font-weight: 700; color: var(--ink-900); background: var(--surface-sunk); }
.mk-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-callout { background: var(--surface-card); border: 1px solid var(--border-soft); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 16px; color: var(--text-body); }

/* ============ Single zboží ============ */
.mk-single { max-width: var(--container-max); margin: 0 auto; padding: 32px var(--container-pad) 56px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.mk-single__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--ink-100); }
.mk-single__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mk-single__main--empty { display: flex; align-items: center; justify-content: center; color: var(--ink-400); }
.mk-single__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.mk-single__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.mk-single__info { align-self: start; }
.mk-single__price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--ink-900); margin: 12px 0 2px; }
.mk-single__vat { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 16px; }
.mk-single__desc { color: var(--text-body); margin: 0 0 16px; line-height: var(--leading-relaxed); }
.mk-single__specs { border-top: 1px dashed var(--border-mid); padding-top: 14px; margin: 0 0 18px; }
.mk-single__specs > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: var(--text-md); }
.mk-single__specs dt { color: var(--text-muted); margin: 0; }
.mk-single__specs dd { margin: 0; font-weight: 700; color: var(--ink-900); }
.mk-single__cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 880px) { .mk-single { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; } }

/* ============ Responsive ============ */
@media (min-width: 760px) {
  .mk-foot-grid { grid-template-columns: 2fr 1fr 1.2fr; }
}
@media (min-width: 560px) {
  .mk-maplinks { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .mk-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .mk-hero__copy { order: 1; }
  .mk-hero__media { order: 2; }
  .mk-contact__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Horizontal nav vs hamburger is decided by ACTUAL FIT, not a width breakpoint,
   because the translated nav labels differ wildly in length (CS fits a single row
   far earlier than PL/RU/VN). site.js measures whether the bar fits and sets
   `mk-nav-fits` on <html>; when it does not fit (or JS is off), the hamburger drawer
   is used - it holds any label length. `mk-nav-measure` is the transient state used
   to take the measurement (force the bar to its natural width). */
html.mk-nav-fits .mk-nav-desktop { display: flex; }
html.mk-nav-fits .mk-hamburger { display: none; }
html.mk-nav-measure .mk-nav-desktop { display: flex; flex-shrink: 0; white-space: nowrap; }
html.mk-nav-measure .mk-hamburger { display: none; }
/* The PL/RU/VN nav labels are much longer than CS; give them a slightly tighter bar
   so the horizontal row fits on a normal desktop (and the fit-check keeps it). */
html[lang|="pl"] .mk-nav-desktop a, html[lang|="ru"] .mk-nav-desktop a, html[lang|="vi"] .mk-nav-desktop a,
html[lang|="pl"] .mk-nav-desktop .mk-menu a, html[lang|="ru"] .mk-nav-desktop .mk-menu a, html[lang|="vi"] .mk-nav-desktop .mk-menu a {
  font-size: var(--text-xs); padding: 8px 9px; }

/* ============ Customer feedback (2026-06-30) ============ */

/* Hero eyebrow is now a clickable map link (keeps the yellow badge look). */
.mk-hero__eyebrow--link { text-decoration: none; cursor: pointer; transition: filter var(--dur-fast) var(--ease-out); }
.mk-hero__eyebrow--link:hover { filter: brightness(0.94); }

/* "19 [let na trhu]" — gold SUNBURST award medal (inline SVG) with a brand-red ribbon
   banner carrying the legend (white on red = highly legible + holds any translation
   length). Top-right of the hero photo; the banner + tails extend below the disc. */
.mk-hero__badge { position: absolute; top: 10px; right: 10px; z-index: 2; width: 112px;
  filter: drop-shadow(0 6px 13px rgba(60,15,10,0.42)); }
.mk-medal { display: block; width: 100%; height: auto; }

/* "Nábytek použitý" highlighted in the nav and footer. */
.mk-nav-desktop a[href*="nabidka"], .mk-nav-mobile a[href*="nabidka"] { color: var(--accent); font-weight: 800; }
.mk-nav-desktop a[href*="nabidka"]:hover, .mk-nav-mobile a[href*="nabidka"]:hover { color: var(--accent-hover); }
.mk-footer__col a[href*="nabidka"] { color: var(--red-700); font-weight: 800; }
.mk-footer__col a[href*="nabidka"]:hover { color: var(--accent-press); text-decoration: underline; }

/* Call button -> Zavolat / WhatsApp choice popover. */
.mk-phone-wrap { position: relative; display: inline-flex; }
.mk-callmenu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 188px;
  background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.mk-callmenu[hidden] { display: none; }
.mk-callmenu__opt { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700; font-size: var(--text-md); color: var(--ink-900); }
.mk-callmenu__opt svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); }
.mk-callmenu__opt--wa svg { color: #25D366; }
.mk-callmenu__opt:hover { background: rgba(0,0,0,0.06); }

/* Burger replaced by the word "Menu" (mobile only - the button itself is hidden on desktop). */
.mk-hamburger__label { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); color: var(--ink-900); letter-spacing: 0.01em; }

/* Mobile: keep the phone number visible and fit "Menu" next to it. */
@media (max-width: 559px) {
  .mk-phone { padding: 8px 11px; gap: 7px; }
  .mk-phone__num { display: inline; font-size: var(--text-xs); }
  .mk-hamburger { width: auto; height: 44px; padding: 0 13px; }
}

/* Deferred map placeholder. The Google frame is the site's only third-party
   request, so it is not loaded until the visitor asks for it - that is what keeps
   this site free of a consent banner. Styled to occupy the same box as the frame
   it replaces, so nothing shifts when it loads. */
.mk-map--deferred {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; width: 100%; background: var(--surface-card, #f6efe6);
	border: 1px dashed var(--border-mid, #d9c8b4); border-radius: 12px; text-align: center; padding: 16px;
}
.mk-map__load {
	font: inherit; font-weight: 700; cursor: pointer; min-height: var(--tap-min, 44px);
	padding: 11px 20px; border: 0; border-radius: 10px;
	background: var(--accent, #8f2c1e); color: var(--text-on-red, #fff);
}
.mk-map__load:hover { background: var(--accent-hover, #7a2418); }
.mk-map__note { font-size: 13px; color: var(--text-muted, #8a7a68); margin: 0; }
