/* Lásku shop — vzhled převzatý z aplikace Lásku (lib/core/theme/app_theme.dart,
   lib/core/widgets/app_ui.dart): stejné barvy, zaoblení, tlačítka a záložky. */
:root {
  --bg: #0C0C16;
  --bg2: #111122;
  --bg3: #181830;
  --card: #111122;
  --card2: #1A1A32;
  --border: #1E1E38;
  --border2: #28284A;
  --primary: #7C6FF7;
  --pink: #FF375F;
  --green: #30D158;
  --yellow: #FFD60A;
  --red: #FF453A;
  --text: #FFFFFF;
  --text2: #8E8E93;
  --dim: #6A6A78;
  --primary-dim: rgba(124, 111, 247, .15);
  --grad: linear-gradient(135deg, #A855F7, #EC4899);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --tabbar-h: 64px;
  /* Jednotné rozměry ovládacích prvků podle appky (app_theme.dart: tlačítka 52 / zaoblení 16, pole zaoblení 14) */
  --h-ctl: 52px;       /* tlačítka, pole, počítadlo — hlavní velikost */
  --h-sm: 40px;        /* malá tlačítka v řádcích a hlavičkách */
  --r-btn: 16px;
  --r-ctl: 14px;       /* pole */
  --r-sm: 12px;
  --r-card: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
s { color: var(--dim); font-weight: 500; font-size: .85em; }

/* Pozadí: tři jemné rozostřené skvrny jako AppBlobs */
.blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; }
.blobs .b1 { width: 520px; height: 520px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(124,111,247,.16), rgba(124,111,247,0) 70%); }
.blobs .b2 { width: 600px; height: 600px; top: 240px; right: -180px; background: radial-gradient(circle, rgba(236,72,153,.12), rgba(236,72,153,0) 70%); }
.blobs .b3 { width: 520px; height: 520px; bottom: -160px; left: 0; background: radial-gradient(circle, rgba(168,85,247,.09), rgba(168,85,247,0) 70%); }

/* Horní lišta */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 12px max(16px, calc((100vw - 1080px) / 2));
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(12, 12, 22, .82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: .5px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.3px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand em { font-style: normal; color: var(--text2); font-weight: 700; }
.topnav { display: none; gap: 4px; margin-left: auto; }
.topnav a { padding: 8px 12px; border-radius: 12px; color: var(--text2); font-weight: 600; font-size: 14px; }
.topnav a:hover { color: var(--text); background: var(--bg3); }
.cartpill {
  margin-left: auto; position: relative;
  width: var(--h-sm); height: var(--h-sm); border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--bg2); border: 1px solid var(--border2);
}
.cartpill svg { width: 21px; height: 21px; }
.cartpill b, .tabbar b {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--pink); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}

/* Obsah obrazovky */
.screen {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: 18px 16px calc(var(--tabbar-h) + 40px);
}
.greet, .back { display: block; width: fit-content; font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 4px; }
.greet { color: var(--text2); }
.title { font-size: 28px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; margin-bottom: 14px; }
.lead { color: var(--text2); font-size: 15px; margin: -6px 0 16px; max-width: 640px; }
.back { color: var(--primary); }
.dim { color: var(--text2); }

/* Karta (jako karty v appce) */
.card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r-card);
  padding: 16px;
}
.card.glow {
  position: relative;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(168,85,247,.55), rgba(236,72,153,.45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 50px rgba(124, 111, 247, .16);
}

/* Popisek sekce — SectionLabel */
.section-label {
  display: flex; justify-content: space-between; align-items: center;
  margin: 22px 2px 10px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .7px;
  text-transform: uppercase; color: var(--text2);
}

/* Úvodní karta */
.hero { text-align: center; padding: 28px 20px 26px; margin-bottom: 16px; overflow: hidden; }
.hero-heart { font-size: 40px; margin-bottom: 8px; filter: drop-shadow(0 8px 20px rgba(236,72,153,.45)); }
.hero h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; letter-spacing: -1px; line-height: 1.05; margin-bottom: 10px; }
.hero p { color: var(--text2); max-width: 520px; margin: 0 auto; }
.gradtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Záložky — PillTabs */
.pills {
  display: flex; gap: 4px; padding: 4px;
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--r-card);
  overflow-x: auto; scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto; padding: 9px 14px; border-radius: 12px;
  color: var(--text2); font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.pill.on { color: #fff; background: linear-gradient(135deg, rgba(124,111,247,.95), #A855F7); box-shadow: 0 6px 16px rgba(124,111,247,.35); }

/* Mřížka produktů */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcard {
  background: var(--card); border: 1px solid var(--border2); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s, border-color .2s;
}
.pcard:hover { transform: translateY(-2px); border-color: #3a3a66; }
.pimg { position: relative; aspect-ratio: 1; background: var(--bg3); display: grid; place-items: center; font-size: 42px; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 9px; border-radius: 8px;
  background: var(--grad); color: #fff;
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .2px;
}
.badge.out { left: auto; right: 10px; background: rgba(255,69,58,.9); }
.badge.pdf { left: auto; right: 10px; background: rgba(12,12,22,.82); border: 1px solid rgba(255,255,255,.18); letter-spacing: .5px; }
.pbody { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pname { font-weight: 700; font-size: 15px; line-height: 1.25; }
.pshort { color: var(--text2); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 16px; }

/* Malé „+“ — QuickAddButton */
.quickadd {
  width: var(--h-sm); height: var(--h-sm); border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: var(--grad); color: #fff; font-size: 22px; font-weight: 600; line-height: 1;
  box-shadow: 0 6px 14px rgba(124,111,247,.35);
  transition: transform .1s;
}
.quickadd:active { transform: scale(.92); }

/* Tlačítka — PrimaryButton / OutlinedButton */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h-ctl); padding: 0 20px; border-radius: var(--r-btn); border: 1px solid transparent; cursor: pointer;
  font-size: 16px; font-weight: 800; letter-spacing: -.2px; line-height: 1.15; text-align: center; white-space: nowrap;
  transition: transform .11s, opacity .16s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(124,111,247,.4); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border2); }
.btn.ghost:hover { background: var(--bg3); }
.btn.sm { height: var(--h-sm); padding: 0 14px; border-radius: var(--r-sm); font-size: 14.5px; }
.btn.block { display: flex; width: 100%; margin-top: 12px; }

/* Prázdný stav — EmptyState */
.empty { text-align: center; padding: 40px 20px; }
.empty-ico {
  width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 40px;
  background: linear-gradient(135deg, rgba(124,111,247,.18), rgba(255,55,95,.14));
}
.empty h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.empty p { color: var(--text2); font-size: 14px; line-height: 1.5; max-width: 340px; margin: 0 auto 18px; }

/* Karta s appkou */
.appcard { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.appcard .appicon { width: 56px; height: 56px; border-radius: 14px; }
.appcard div { flex: 1; min-width: 200px; }
.appcard h3 { font-size: 16px; font-weight: 800; }
.appcard p { color: var(--text2); font-size: 13.5px; }

/* Detail produktu */
.product { display: grid; gap: 18px; }
.gmain { position: relative; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--bg3); border: 1px solid var(--border2); display: grid; place-items: center; font-size: 60px; }
.gmain img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--bg3); padding: 0; cursor: pointer; opacity: .6; }
.thumb.on { border-color: var(--primary); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pinfo .title { margin-bottom: 8px; }
.bigprice { font-size: 26px; font-weight: 900; letter-spacing: -.5px; margin: 4px 0 6px; }
.stock { font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.stock.in { color: var(--green); }
.stock.out { color: var(--red); }
.buy { display: flex; gap: 10px; }
.buy .btn { flex: 1; white-space: nowrap; padding: 0 14px; }
.perks { display: grid; gap: 6px; margin-top: 16px; color: var(--text2); font-size: 13.5px; }

/* Počítadlo kusů */
.stepper { display: inline-flex; align-items: center; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--r-btn); height: var(--h-ctl); }
.stepper button { width: 44px; height: 100%; border: 0; background: none; font-size: 22px; color: var(--text); cursor: pointer; }
.stepper > input[type=number]:not([type=radio]) { width: 36px; padding: 0; text-align: center; border: 0; background: none; box-shadow: none; font-weight: 800; font-size: 16px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.small { height: 36px; border-radius: var(--r-sm); }
.stepper.small button { width: 32px; font-size: 18px; }
.stepper.small > input[type=number]:not([type=radio]) { width: 28px; font-size: 14px; }

/* Text stránek a popisů */
.prose { color: #dcdce6; font-size: 15px; line-height: 1.6; }
.prose h1, .prose h2 { font-size: 22px; font-weight: 800; color: #fff; margin: 18px 0 8px; letter-spacing: -.3px; }
.prose h1:first-child, .prose h2:first-child { margin-top: 0; }
.prose h3, .prose h4 { font-size: 16px; font-weight: 800; color: #fff; margin: 16px 0 6px; }
.prose p { margin: 0 0 10px; }
.prose ul, .prose ol { margin: 0 0 10px 20px; }
.prose a { color: #b8afff; text-decoration: underline; text-underline-offset: 2px; }
.page { margin-top: 4px; }

/* Košík */
.progress .prog-row { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; color: var(--text2); margin-bottom: 8px; }
.progress.done .prog-row { color: var(--green); }
.bar { height: 6px; border-radius: 6px; background: var(--bg3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--green); transition: width .3s; }
.lines { display: grid; gap: 10px; }
.lines > * { min-width: 0; }
.line { display: flex; gap: 12px; align-items: center; padding: 10px; }
.limg { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; background: var(--bg3); display: grid; place-items: center; font-size: 26px; }
.limg img { width: 100%; height: 100%; object-fit: cover; }
.lbody { flex: 1; min-width: 0; }
.lname { font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.lprice { color: var(--text2); font-size: 12.5px; margin-bottom: 6px; }
.lsum { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.x { border: 0; background: var(--bg3); color: var(--text2); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.summary { display: grid; gap: 8px; margin-top: 12px; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { font-size: 18px; font-weight: 800; padding-top: 4px; }
.summary hr { border: 0; border-top: 1px solid var(--border); }

/* Pokladna */
.cols { display: grid; gap: 4px; }
.fields { display: grid; gap: 12px; }
.fields label { display: grid; gap: 6px; align-content: end; font-size: 13px; font-weight: 700; color: var(--text2); }
input:not([type=radio]):not([type=checkbox]), textarea, select {
  width: 100%; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--r-ctl);
  min-height: var(--h-ctl); padding: 12px 14px; font-family: inherit; font-weight: 400; line-height: 1.4; color: var(--text); font-size: 16px; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 .5px var(--primary); }
::placeholder { color: var(--dim); }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.option input, .terms input { position: absolute; opacity: 0; pointer-events: none; }
.check {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid var(--text2); display: grid; place-items: center; transition: all .15s;
}
.option:has(input:checked) { border-color: rgba(124,111,247,.7); background: linear-gradient(var(--card2), var(--card2)); }
.option input:checked + .check, .terms input:checked + .check { background: var(--primary); border-color: var(--primary); }
.option input:checked + .check::after, .terms input:checked + .check::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 900; }
.oico { font-size: 22px; }
.otext { flex: 1; display: grid; }
.otext small { color: var(--text2); font-size: 12.5px; font-weight: 500; }
.oprice { font-weight: 800; white-space: nowrap; }
.point { margin-top: 8px; display: grid; gap: 10px; }
.point-chosen { font-weight: 700; font-size: 14px; }
.terms { position: relative; display: flex; gap: 12px; align-items: flex-start; margin: 16px 2px 4px; font-size: 13.5px; color: var(--text2); cursor: pointer; }
.terms .check { border-radius: 7px; margin-top: 1px; }
.terms a { color: #b8afff; text-decoration: underline; }
.ferr { color: var(--red); font-size: 13px; font-weight: 600; margin: 6px 4px 0; }
.errbanner { background: rgba(255,69,58,.15); border: 1px solid rgba(255,69,58,.35); color: var(--red); border-radius: var(--r-ctl); padding: 12px 14px; font-weight: 600; margin-bottom: 8px; }

/* Potvrzení objednávky */
.done-hero { text-align: center; padding: 10px 0 6px; }
.done-ico {
  width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 36px; font-weight: 900; color: #fff;
  background: var(--green); box-shadow: 0 14px 40px rgba(48,209,88,.35);
}
.done-hero .lead { margin: 0 auto 12px; }
.status { display: inline-block; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.pay { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.qr { background: #fff; padding: 10px; border-radius: var(--r-ctl); width: 180px; height: 180px; flex: 0 0 auto; }
.qr img, .qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.paydata { flex: 1; min-width: 220px; display: grid; gap: 8px; }
.paydata > div { display: flex; justify-content: space-between; gap: 10px; }

/* Patička */
.foot { position: relative; z-index: 1; text-align: center; padding: 28px 16px calc(var(--tabbar-h) + 30px); border-top: .5px solid var(--border); color: var(--dim); font-size: 12.5px; }
.flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }
.flinks a { color: var(--text2); font-size: 13.5px; }

/* Spodní lišta — jako _BottomBar v appce */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around;
  padding: 6px 8px max(8px, env(safe-area-inset-bottom));
  background: rgba(17, 17, 34, .92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: .5px solid var(--border);
}
.tabbar a { flex: 1; max-width: 96px; display: grid; justify-items: center; gap: 2px; padding: 4px 0; color: var(--text2); font-size: 10.5px; font-weight: 600; }
.tabbar span { position: relative; width: 52px; height: 30px; border-radius: 12px; display: grid; place-items: center; transition: background .2s; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar b { top: -2px; right: 4px; }
.tabbar a.on { color: var(--primary); }
.tabbar a.on span { background: var(--primary-dim); }

/* Hláška dole — SnackBar */
.snack {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px); z-index: 40;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px); padding: 13px 18px;
  background: var(--card2); border: 1px solid var(--border2); border-radius: var(--r-ctl);
  font-weight: 600; font-size: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.45);
  animation: snack 3.6s ease forwards;
}
.snack.err { border-color: rgba(255,69,58,.5); }
@keyframes snack { 0% { opacity: 0; transform: translate(-50%, 12px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 12px); visibility: hidden; } }

/* Větší obrazovky */
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .title { font-size: 34px; }
  .product { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .cols { grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
  .cols > div:last-child { position: sticky; top: 90px; }
}
@media (min-width: 960px) {
  .topnav { display: flex; }
  .cartpill { margin-left: 8px; }
  .tabbar { display: none; }
  .screen, .foot { padding-bottom: 50px; }
  .snack { bottom: 28px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Slevový kód v pokladně */
.coupon { margin-top: 12px; padding: 12px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { text-transform: uppercase; letter-spacing: .5px; }
.coupon-row input::placeholder { text-transform: none; letter-spacing: 0; }
.coupon-row .btn { flex: none; }
.coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--green); font-size: 14.5px; }
.linkbtn { background: none; border: 0; padding: 4px; color: var(--text2); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.summary .disc { color: var(--green); font-weight: 700; }
.coupon { scroll-margin-top: 90px; }

/* ── Seznamy jako v appce (IosSection + IosTile + IosIconBadge) ── */
.ios-list { background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--r-card); overflow: hidden; }
.ios-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; position: relative; color: var(--text); transition: background .15s; }
a.ios-row:hover { background: var(--bg3); }
a.ios-row:active { background: var(--card2, #1A1A32); }
.ios-row + .ios-row::before { content: ""; position: absolute; top: 0; left: 58px; right: 0; border-top: 1px solid var(--border); }
.ios-badge { flex: none; width: 30px; height: 30px; border-radius: 7px; background: var(--c, var(--primary)); color: #fff; display: grid; place-items: center; }
.ios-badge svg { width: 18px; height: 18px; }
.ios-badge.num { background: var(--primary-dim); color: #b8afff; font-weight: 800; font-size: 15px; border-radius: 50%; }
.ios-text { flex: 1; min-width: 0; display: grid; }
.ios-text b { font-size: 16.5px; font-weight: 500; }
.ios-text small { color: var(--text2); font-size: 13px; line-height: 1.35; }
.ios-chev { color: var(--dim); display: grid; }
.ios-chev svg { width: 16px; height: 16px; }
.ios-foot { color: var(--text2); font-size: 13px; margin: 8px 4px 0; }
.steps .ios-row { align-items: flex-start; padding: 13px 16px; }
.steps .ios-row + .ios-row::before { left: 58px; }

/* ── Stránka Aplikace a stažení ── */
.storebtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.storebtns .btn { min-width: 150px; }
.storebtns svg, .dlcard .btn svg { width: 20px; height: 20px; }
.btn.android { background: #3DDC84; color: #072e18; box-shadow: 0 8px 22px rgba(61,220,132,.3); }
.soon { color: var(--text2); background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--r-ctl); padding: 12px 14px; max-width: 420px; font-size: 14px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feat { display: flex; gap: 12px; align-items: flex-start; padding: 14px; }
.feat b { font-size: 15.5px; font-weight: 800; }
.feat p { color: var(--text2); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.feat-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 20px;
  background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.privacy-note { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.privacy-note p { color: var(--text2); font-size: 14.5px; }
.privacy-note b { color: var(--text); }
.appcard .feat-ico { width: 56px; height: 56px; border-radius: 14px; font-size: 26px; }

/* ── Textové stránky ── */
.page { margin-top: 2px; }
.prose .date { color: var(--text2); font-size: 13.5px; margin-bottom: 14px; }
.prose section + section { margin-top: 18px; }
.prose h2 .num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 8px;
  background: var(--primary-dim); color: #b8afff; font-size: 14px; vertical-align: 2px; }
.prose strong { color: #fff; }
.pills.langs { margin-bottom: 10px; }
@media (max-width: 640px) {
  .feats { gap: 0; background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--r-card); overflow: hidden; }
  .feats .feat { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 12px 16px; position: relative; backdrop-filter: none; }
  .feats .feat + .feat::before { content: ""; position: absolute; top: 0; left: 68px; right: 0; border-top: 1px solid var(--border); }
  .feats .feat-ico { width: 34px; height: 34px; border-radius: 9px; font-size: 17px; }
}

/* ── Jednotné rozložení podstránek (vše v šířce .screen) ── */
.split { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.split.wide-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.side { position: sticky; top: 84px; }
.side .section-label:first-child { margin-top: 0; }
.side .ios-row { padding: 8px 14px; }
.side .ios-badge { width: 26px; height: 26px; border-radius: 6px; }
.side .ios-badge svg { width: 15px; height: 15px; }
.side .ios-text b { font-size: 15px; }
.side .ios-row + .ios-row::before { left: 52px; }
.ios-row.on { background: var(--primary-dim); }
.ios-row.on .ios-text b { color: #fff; font-weight: 700; }
.section-label.first { margin-top: 0; }
.prose.page { padding: 26px 28px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
.info-grid .section-label { margin-top: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
.two .appcard { margin-top: 12px; }

/* Úvod stránky Aplikace: text vlevo, telefon vpravo */
.applanding { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding: 36px 44px; margin-bottom: 4px; }
.appintro { display: grid; gap: 14px; justify-items: start; }
.appintro .appicon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 14px 34px rgba(168,85,247,.4); }
.appintro h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.05; }
.appintro p { color: var(--text2); font-size: 16px; max-width: 460px; }
.applanding .storebtns { justify-content: flex-start; }

.phone { justify-self: center; width: 268px; aspect-ratio: 9 / 18.6; border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #2a2a48, #12121f); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px #34345a, 0 20px 60px rgba(124,111,247,.25);
  transform: rotate(2deg); }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); padding: 12px 14px 0; display: flex; flex-direction: column; gap: 9px; font-size: 11px; }
.ph-status { display: flex; justify-content: space-between; color: #fff; font-weight: 700; font-size: 10.5px; padding: 0 6px; }
.ph-greet { color: var(--text2); font-weight: 600; font-size: 10px; margin-top: 4px; }
.ph-title { font-size: 22px; font-weight: 800; margin-top: -6px; }
.ph-hero { text-align: center; padding: 14px 10px 12px; border-radius: 18px; border: 1px solid rgba(124,111,247,.25);
  background: linear-gradient(135deg, rgba(124,111,247,.14), rgba(255,55,95,.08)); }
.ph-heart { font-size: 20px; animation: ph-pulse 2.4s ease-in-out infinite; }
@keyframes ph-pulse { 50% { transform: scale(1.12); } }
.ph-days { font-size: 46px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin-top: 4px; }
.ph-label { color: var(--text2); font-size: 10.5px; margin-top: 2px; }
.ph-ticker { margin-top: 8px; display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--bg3); color: var(--text); font-weight: 700; font-size: 9.5px; font-variant-numeric: tabular-nums; }
.ph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-stats div { background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; padding: 7px 4px; text-align: center; display: grid; }
.ph-stats b { font-size: 17px; font-weight: 900; }
.ph-stats small { color: var(--text2); font-size: 9px; }
.ph-row { display: flex; gap: 8px; align-items: center; background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; padding: 8px; }
.ph-row .ios-badge { width: 24px; height: 24px; border-radius: 6px; }
.ph-row .ios-badge svg { width: 14px; height: 14px; }
.ph-row span:last-child { display: grid; }
.ph-row small { color: var(--text2); font-size: 9.5px; }
.ph-tabs { margin: auto -14px 0; padding: 9px 22px 14px; display: flex; justify-content: space-between; border-top: 1px solid var(--border); background: rgba(12,12,22,.9); }
.ph-tabs span { color: var(--dim); display: grid; place-items: center; width: 36px; height: 24px; border-radius: 9px; }
.ph-tabs span.on { color: var(--primary); background: var(--primary-dim); }
.ph-tabs svg { width: 16px; height: 16px; }

.dlcard { display: flex; gap: 20px; align-items: flex-start; padding: 26px; }
.dlcard .appicon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.dlcard > div { display: grid; gap: 10px; justify-items: start; }
.dlcard h2 { font-size: 22px; font-weight: 800; }

@media (max-width: 899px) {
  .split, .split.wide-main, .two, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .split .side { display: none; }
  .feats { grid-template-columns: 1fr 1fr; }
  .applanding { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
  .appintro { justify-items: center; }
  .appintro p { margin: 0 auto; }
  .applanding .storebtns { justify-content: center; }
  .phone { width: 230px; transform: none; }
}
@media (max-width: 640px) {
  .feats { grid-template-columns: 1fr; }
  .dlcard { flex-direction: column; align-items: center; text-align: center; }
  .dlcard > div { justify-items: center; }
}
.ph-row .ios-badge { font-size: 13px; }
.phone-screen { text-align: left; }
.ph-hero { text-align: center; }
@media (max-width: 899px) {
  .phone { width: 250px; }
  .phone-screen .ph-row + .ph-row { display: none; }
}

.stepper > input[type=number]:not([type=radio]) { min-height: 0; height: 100%; padding: 0; font-weight: 800; }
.fieldnote { font-size: 13px; margin: -2px 2px 0; }
.buy .btn.block-inline { flex: 1; }
