/* ==========================================================================
   WyxMedia — Konfigurátor webu
   ========================================================================== */
.kf-hero { padding-top: clamp(56px, 9vw, 100px); padding-bottom: 26px; }
.kf-hero h1 { font-size: clamp(32px, 6vw, 58px); max-width: 820px; }
.kf-personal { margin-top: 22px; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(231,167,48,.4); background: rgba(231,167,48,.09); font-size: 15px; line-height: 1.55; max-width: 720px; }
.kf-personal[hidden] { display: none; }

.kf-wrap { display: grid; grid-template-columns: minmax(330px, 400px) 1fr; gap: 28px; align-items: start; padding-bottom: 90px; }

/* ---- panel ---- */
.kf-panel { display: flex; flex-direction: column; gap: 14px; }
.kf-step { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 20px; }
.kf-step-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.kf-step-h span { width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 13px; font-family: var(--font-body); font-weight: 600; }
.kf-sub { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin: 16px 0 8px; }

.kf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.kf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color .2s, background .2s; }
.kf-chip:hover { border-color: #55555c; }
.kf-chip.is-on, .kf-opt.is-on, .kf-style.is-on { border-color: var(--text); background: rgba(245,245,242,.08); }

.kf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.kf-field input, .kf-form input, .kf-form textarea, .kf-linkrow input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.kf-field input:focus, .kf-form input:focus, .kf-form textarea:focus { outline: none; border-color: #66666c; }

.kf-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kf-style { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font: inherit; font-size: 12px; cursor: pointer; transition: border-color .2s; }
.kf-style-sw { width: 100%; height: 40px; display: grid; place-items: center; font-size: 17px; font-weight: 600; border: 1px solid rgba(128,128,128,.25); }
.kf-style.is-on { color: var(--text); }

.kf-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.kf-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset; cursor: pointer; transition: transform .2s; position: relative; }
.kf-swatch:hover { transform: scale(1.1); }
.kf-swatch.is-on { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--text); }
.kf-custom { background: conic-gradient(#e0533f, #e0c33f, #3fe07a, #3fb4e0, #7a3fe0, #e03fb4, #e0533f); display: grid; place-items: center; overflow: hidden; }
.kf-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.kf-custom span { color: #fff; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }

.kf-opts { display: grid; gap: 8px; }
.kf-opts-2 { grid-template-columns: 1fr 1fr; }
.kf-opts-3 { grid-template-columns: repeat(3, 1fr); }
.kf-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color .2s, background .2s; }
.kf-opt:hover { border-color: #55555c; }
.kf-opt small { display: block; color: var(--text-dim); font-size: 11.5px; line-height: 1.35; font-weight: 400; margin-top: 2px; }
.kf-opt b { font-weight: 600; }
.kf-opt em { font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-muted); }
.kf-opt.is-on em { color: var(--text); }

.kf-checks { display: grid; gap: 6px; }
.kf-check { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-soft); cursor: pointer; font-size: 14px; }
.kf-check input { accent-color: #f5f5f2; width: 16px; height: 16px; }
.kf-check span { flex: 1; }
.kf-check em { font-style: normal; font-size: 12.5px; color: var(--text-dim); }
.kf-check-wide { margin-top: 10px; }

/* ---- summary ---- */
.kf-summary { padding: 22px; }
.kf-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--text-muted); }
.kf-row span:last-child { color: var(--text); white-space: nowrap; }
.kf-row-sm { font-size: 13px; padding: 4px 0; }
.kf-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 600; }
.kf-total span:last-child { font-family: var(--font-display); font-size: 24px; color: #e7a730; }
.kf-note { font-size: 12px; line-height: 1.5; color: var(--text-dim); margin: 14px 0 6px; }
.kf-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.kf-form textarea { resize: vertical; min-height: 60px; }
.kf-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.kf-status { font-size: 13px; color: var(--text-muted); min-height: 18px; }
.kf-status.is-ok { color: #3ddc84; } .kf-status.is-err { color: #ff8a7a; }
.kf-book { width: 100%; justify-content: center; margin-top: 10px; }
.kf-linkrow { display: flex; gap: 8px; }
.kf-linkrow input { font-size: 12.5px; color: var(--text-muted); padding: 9px 12px; }

/* ---- preview frame ---- */
.kf-preview { position: sticky; top: 92px; }
.kf-devices { display: flex; gap: 6px; margin-bottom: 10px; }
.kf-devices button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; }
.kf-devices button.is-on { color: var(--text); border-color: var(--text); }
.kf-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #1a1a1d; box-shadow: 0 30px 80px rgba(0,0,0,.5); margin: 0 auto; transition: max-width .45s cubic-bezier(.16,1,.3,1); max-width: 100%; }
.kf-frame.is-mobile { max-width: 390px; border-radius: 30px; border-width: 8px; border-color: #26262a; }
.kf-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #202024; border-bottom: 1px solid #2c2c31; }
.kf-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.kf-chrome span { margin-left: 10px; flex: 1; font-size: 12px; color: #9a9aa0; background: #151518; border-radius: 8px; padding: 5px 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kf-frame.is-mobile .kf-chrome i { display: none; }
.kf-screen { height: min(calc(100vh - 190px), 760px); overflow-y: auto; overscroll-behavior: contain; position: relative; }
.kf-screen::-webkit-scrollbar { width: 6px; } .kf-screen::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

/* ---- mobile sticky bar ---- */
.kf-bar { display: none; }

@media (max-width: 980px) {
  .kf-wrap { grid-template-columns: 1fr; }
  .kf-preview { position: relative; top: 0; order: -1; }
  .kf-screen { height: 520px; }
  .kf-bar { display: flex; position: fixed; left: 12px; right: 88px; bottom: 16px; z-index: 140; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(22,22,26,.95); border: 1px solid var(--border); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
  .kf-bar small { display: block; font-size: 11px; color: var(--text-dim); }
  .kf-bar b { font-family: var(--font-display); font-size: 17px; color: #e7a730; }
}
@media (max-width: 520px) {
  .kf-styles { grid-template-columns: repeat(2, 1fr); }
  .kf-opts-3 { grid-template-columns: 1fr 1fr; }
  .kf-screen { height: 460px; }
}

/* ==========================================================================
   NÁHLED WEBU (.pv) — mini-web řízený CSS proměnnými
   ========================================================================== */
.pv { container-type: inline-size; background: var(--pv-bg); color: var(--pv-text); font-family: 'Inter', sans-serif; min-height: 100%; position: relative; transition: background .35s, color .35s; }
.pv * { box-sizing: border-box; }
.pv h1, .pv h2, .pv h3 { font-family: var(--pv-head); color: var(--pv-text); margin: 0; letter-spacing: -.01em; }
.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 5%; border-bottom: 1px solid var(--pv-line); position: sticky; top: 0; background: var(--pv-bg); z-index: 2; }
.pv-logo { display: flex; align-items: center; gap: 9px; font-family: var(--pv-head); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-mark { width: 28px; height: 28px; flex: 0 0 28px; border-radius: calc(var(--pv-r) * .6); background: var(--pv-ac); color: var(--pv-on-ac); display: grid; place-items: center; font-size: 14px; }
.pv-links { display: flex; gap: 18px; font-size: 13px; color: var(--pv-muted); }
.pv-btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: calc(var(--pv-r) * .9); background: var(--pv-ac); color: var(--pv-on-ac); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .35s; }
.pv-btn-sm { padding: 8px 14px; font-size: 12.5px; }
.pv-btn-xs { padding: 6px 10px; font-size: 11.5px; }
.pv-btn-ghost { background: transparent; color: var(--pv-text); border: 1px solid var(--pv-line); }
.pv-btn-block { width: 100%; justify-content: center; margin-top: 12px; }

.pv-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding: 56px 5% 60px; }
.pv-eb, .pv-sec-eb { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-ac); font-weight: 600; margin-bottom: 12px; }
.pv-hero h1 { font-size: 40px; line-height: 1.08; margin-bottom: 16px; }
.pv-hero p { color: var(--pv-muted); font-size: 15px; line-height: 1.6; margin: 0 0 22px; max-width: 480px; }
.pv-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-trust { display: flex; gap: 16px; margin-top: 20px; font-size: 12.5px; color: var(--pv-muted); }
.pv-hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 300px; justify-self: center; width: 100%; }
.pv-blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 45% 42% 58% 55%; background: radial-gradient(circle at 30% 30%, var(--pv-ac-soft), transparent 70%), var(--pv-ac-soft); border: 1px solid var(--pv-line); }
.pv-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 84px; }
.pv-float { position: absolute; right: -4%; top: 12%; background: var(--pv-card); color: var(--pv-text); border: 1px solid var(--pv-line); padding: 9px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.pv-sec { padding: 46px 5%; }
.pv-alt { background: var(--pv-bg2); border-top: 1px solid var(--pv-line); border-bottom: 1px solid var(--pv-line); }
.pv-sec h2 { font-size: 26px; line-height: 1.2; margin-bottom: 22px; }
.pv-p { color: var(--pv-muted); font-size: 14.5px; line-height: 1.6; margin: -8px 0 0; }
.pv-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pv-card { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: var(--pv-r); padding: 18px; }
.pv-card h3 { font-size: 15.5px; margin-bottom: 6px; line-height: 1.3; }
.pv-card p { font-size: 13px; color: var(--pv-muted); line-height: 1.55; margin: 0; }
.pv-ic { width: 38px; height: 38px; border-radius: calc(var(--pv-r) * .7); background: var(--pv-ac-soft); display: grid; place-items: center; font-size: 19px; margin-bottom: 12px; }

.pv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.pv-cal { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: var(--pv-r); padding: 18px; }
.pv-cal-h { font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.pv-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pv-slots span { text-align: center; padding: 9px 0; border-radius: calc(var(--pv-r) * .6); border: 1px solid var(--pv-line); font-size: 13px; }
.pv-slots .off { opacity: .35; text-decoration: line-through; }
.pv-slots .on { background: var(--pv-ac); color: var(--pv-on-ac); border-color: var(--pv-ac); font-weight: 600; }

.pv-price { border: 1px solid var(--pv-line); border-radius: var(--pv-r); overflow: hidden; background: var(--pv-card); }
.pv-price div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--pv-line); }
.pv-price div:last-child { border-bottom: 0; }
.pv-price span { color: var(--pv-muted); }

.pv-shop .pv-prod { aspect-ratio: 4 / 3; border-radius: calc(var(--pv-r) * .7); background: linear-gradient(135deg, var(--pv-ac-soft), transparent), var(--pv-bg2); border: 1px solid var(--pv-line); margin-bottom: 12px; }
.pv-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }

.pv-gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; gap: 10px; }
.pv-gal div { border-radius: var(--pv-r); border: 1px solid var(--pv-line); background: linear-gradient(135deg, var(--pv-ac-soft), transparent 70%), var(--pv-bg2); }
.pv-gal div:nth-child(1) { grid-row: span 2; background: linear-gradient(160deg, var(--pv-ac), transparent 85%), var(--pv-bg2); opacity: .85; }
.pv-gal div:nth-child(4) { background: linear-gradient(20deg, var(--pv-ac), transparent 75%), var(--pv-bg2); opacity: .6; }

.pv-rev .pv-stars { color: #f2b01e; letter-spacing: 2px; font-size: 13px; margin-bottom: 8px; }
.pv-rev p { color: var(--pv-text); font-size: 13.5px; }
.pv-rev span { display: block; margin-top: 10px; font-size: 12px; color: var(--pv-muted); }

.pv-thumb { aspect-ratio: 16 / 9; border-radius: calc(var(--pv-r) * .7); background: linear-gradient(120deg, var(--pv-ac-soft), transparent), var(--pv-bg2); border: 1px solid var(--pv-line); margin-bottom: 12px; }
.pv-news { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px; border-radius: var(--pv-r); background: var(--pv-ac-soft); border: 1px solid var(--pv-line); }
.pv-news h2 { margin-bottom: 14px; font-size: 22px; }
.pv-news-f { display: flex; gap: 8px; }
.pv-input { display: block; padding: 11px 14px; border-radius: calc(var(--pv-r) * .7); border: 1px solid var(--pv-line); background: var(--pv-card); color: var(--pv-muted); font-size: 13px; min-width: 160px; }

.pv-hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--pv-line); font-size: 14px; }
.pv-hours span { color: var(--pv-muted); }
.pv-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--pv-r); border: 1px solid var(--pv-line); overflow: hidden;
  background: repeating-linear-gradient(0deg, transparent 0 28px, var(--pv-line) 28px 29px), repeating-linear-gradient(90deg, transparent 0 28px, var(--pv-line) 28px 29px), var(--pv-bg2); display: grid; place-items: center; }
.pv-pin { font-size: 34px; }
.pv-map-l { position: absolute; bottom: 12px; left: 12px; background: var(--pv-card); border: 1px solid var(--pv-line); padding: 6px 10px; border-radius: 8px; font-size: 12px; }

.pv-contact { max-width: 520px; margin: 0 auto; text-align: center; }
.pv-contact .pv-p { margin: -12px 0 18px; }
.pv-form { display: grid; gap: 8px; text-align: left; }
.pv-form .pv-input { min-width: 0; }
.pv-ta { height: 70px; }
.pv-form .pv-btn { justify-content: center; }
.pv-foot { display: flex; justify-content: space-between; gap: 10px; padding: 20px 5%; border-top: 1px solid var(--pv-line); font-size: 12px; color: var(--pv-muted); }

.pv-bot { position: sticky; bottom: 14px; display: flex; justify-content: flex-end; align-items: flex-end; gap: 8px; padding: 0 14px; margin-top: -70px; pointer-events: none; z-index: 3; }
.pv-bot-msg { max-width: 220px; background: var(--pv-card); color: var(--pv-text); border: 1px solid var(--pv-line); padding: 10px 12px; border-radius: 14px 14px 4px 14px; font-size: 12px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pv-bot-btn { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--pv-ac); color: var(--pv-on-ac); display: grid; place-items: center; font-size: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* style tweaks */
.pv-elegantni h1 { font-weight: 700; }
.pv-elegantni .pv-eb, .pv-elegantni .pv-sec-eb { letter-spacing: .24em; }
.pv-minimal .pv-hero h1 { font-weight: 600; letter-spacing: -.03em; }
.pv-minimal .pv-card { box-shadow: none; }
.pv-hravy .pv-card { box-shadow: 0 8px 22px rgba(120,80,40,.07); }
.pv-hravy h1, .pv-hravy h2 { font-weight: 600; }
.pv-svetly .pv-card { box-shadow: 0 6px 20px rgba(20,25,40,.05); }

/* náhled na úzkém „mobilu“ */
@container (max-width: 620px) {
  .pv-links { display: none; }
  .pv-nav .pv-btn-sm { padding: 7px 11px; font-size: 11.5px; }
  .pv-hero { grid-template-columns: 1fr; padding: 34px 6% 40px; gap: 18px; }
  .pv-hero h1 { font-size: 30px; }
  .pv-hero-art { max-width: 200px; order: -1; }
  .pv-emoji { font-size: 60px; }
  .pv-grid3, .pv-split { grid-template-columns: 1fr; }
  .pv-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 90px; }
  .pv-news { flex-direction: column; align-items: stretch; }
  .pv-news-f { flex-direction: column; }
  .pv-sec { padding: 34px 6%; }
  .pv-sec h2 { font-size: 22px; }
  .pv-foot { flex-direction: column; }
}
