/* ==============================================================
   Makej Zdravě — Reservation system
   Dark theme · Neon cyan + neon pink (logo accents)
   ============================================================== */

/* -------- VARIABLES -------- */
:root {
  /* Surfaces */
  --bg-0: #050507;
  --bg-1: #0a0a0e;
  --bg-2: #101015;
  --bg-3: #16161d;
  --bg-4: #1d1d26;
  --bg-card: rgba(22, 22, 29, 0.6);
  --bg-elev: rgba(28, 28, 36, 0.7);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #f6f7fb;
  --text-2: #b8bac6;
  --text-3: #7a7d8c;
  --text-muted: #4d505c;

  /* Brand — barvy z loga */
  --teal: #66bc9a;
  --teal-2: #4ea682;
  --teal-soft: rgba(102, 188, 154, 0.14);
  --teal-glow: 0 0 24px rgba(102, 188, 154, 0.4);

  --pink: #e71f82;
  --pink-2: #c41970;
  --pink-soft: rgba(231, 31, 130, 0.14);
  --pink-glow: 0 0 24px rgba(231, 31, 130, 0.4);

  /* Aliasy zachovávající kompatibilitu se starými --cyan referencemi */
  --cyan: var(--teal);
  --cyan-2: var(--teal-2);
  --cyan-soft: var(--teal-soft);
  --cyan-glow: var(--teal-glow);

  /* Tlačítkový styl — pevná barva s jemným přechodem do druhé barvy v pravém dolním rohu */
  --grad: radial-gradient(circle at 100% 100%, rgba(231, 31, 130, 0.7), transparent 55%), #66bc9a;
  --grad-pink: radial-gradient(circle at 100% 100%, rgba(102, 188, 154, 0.7), transparent 55%), #e71f82;
  --grad-soft: linear-gradient(135deg, rgba(102, 188, 154, 0.1) 0%, rgba(231, 31, 130, 0.1) 100%);

  /* Status */
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  /* Sidebar width */
  --sidebar-w: 264px;
}

/* -------- RESET / BASE -------- */
* {
  box-sizing: border-box;
}

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

p {
  margin: 0;
  color: var(--text-2);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Ikona kalendáře / hodin u date+time inputů — bílá na tmavém pozadí */
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"] {
  color-scheme: dark;
}

::selection {
  background: var(--pink);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-1);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 6px;
  border: 2px solid var(--bg-1);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bg-4);
}

/* Material icons baseline tweak */
.material-icons-outlined,
.material-icons-round {
  vertical-align: middle;
  font-size: 20px;
  line-height: 1;
  user-select: none;
}

/* -------- AURORA BACKGROUND -------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora__blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}

.aurora__blob--cyan {
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.aurora__blob--pink {
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  top: 30%;
  right: -250px;
  animation-delay: -7s;
}

.aurora__blob--purple {
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -200px;
  left: 30%;
  animation-delay: -14s;
  opacity: 0.25;
}

.aurora__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 20px) scale(0.95); }
}

/* -------- LAYOUT -------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.view {
  display: none;
  position: relative;
}
.view.active {
  display: block;
}

.view--app {
  display: none;
}
.view--app.active {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.hidden { display: none !important; }

/* -------- BRAND -------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0;
  font-family: 'Atma', cursive;
  color: var(--text);
  line-height: 1;
}

.brand__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(231, 31, 130, 0.35));
}

.brand__text {
  font-family: 'Atma', cursive;
  font-weight: 500;
  color: var(--teal);
  -webkit-text-fill-color: var(--teal);
  background: none;
}

.brand__accent {
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
  margin-left: 2px;
}

.brand--small .brand__logo { width: 56px; height: 56px; }
.brand--small { font-size: 22px; gap: 10px; }

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn .material-icons-outlined { font-size: 18px; }

.btn--lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--r-lg);
}
.btn--lg .material-icons-outlined { font-size: 20px; }

.btn--sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--r-sm);
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--grad);
  color: #0a0a0c;
  box-shadow: 0 4px 16px rgba(102, 188, 154, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(231, 31, 130, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.btn--primary .material-icons-outlined,
.btn--primary .material-icons-round { color: #0a0a0c; }

.btn--secondary {
  background: var(--grad-pink);
  color: #0a0a0c;
  box-shadow: 0 4px 16px rgba(231, 31, 130, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.btn--secondary:hover {
  box-shadow: 0 8px 24px rgba(102, 188, 154, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.btn--secondary .material-icons-outlined,
.btn--secondary .material-icons-round { color: #0a0a0c; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}
.btn--danger {
  background: var(--red, #ef4444);
  color: #fff;
  border-color: transparent;
}
.btn--danger:hover { background: #dc2626; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--text-2);
  transition: all 0.2s ease;
  position: relative;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.dot-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

/* -------- NOTIFIKAČNÍ PANEL -------- */
.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: rgb(22, 22, 29);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.65);
  z-index: 200;
  overflow: hidden;
}
.notif-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.notif-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-3); }
.notif-item__icon { font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.notif-item__icon--new { color: var(--teal); }
.notif-item__icon--cancel { color: var(--pink); }
.notif-item__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.notif-item__body strong { font-size: 13px; color: var(--text-1); }
.notif-item__type { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.notif-item__detail { font-size: 12px; color: var(--text-2); }
.notif-item__dismiss { flex-shrink: 0; opacity: .5; }
.notif-item__dismiss:hover { opacity: 1; }
.notif-item__dismiss .material-icons-outlined { font-size: 16px; }

/* -------- PILLS / BADGES -------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--text-2);
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.pill--sm {
  padding: 4px 12px;
  font-size: 12px;
}

.pill .material-icons-outlined { font-size: 14px; color: var(--cyan); }

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--r-full);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
}
.badge--pink {
  background: var(--pink-soft);
  color: var(--pink);
}

/* -------- COLOR TEXT (solidní barvy) -------- */
.grad-text {
  color: var(--teal);
  -webkit-text-fill-color: var(--teal);
  font-weight: 800;
}
.grad-text--pink {
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
}

/* ==============================================================
   NAVBAR
   ============================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(5, 5, 7, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-2);
  transition: all 0.2s ease;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  padding: 80px 0 40px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 24px; }

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 540px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.hero__meta-item .material-icons-outlined {
  font-size: 16px;
  color: var(--cyan);
}

/* Visual — preview */
.hero__visual {
  position: relative;
}

.preview {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(102, 188, 154, 0.08), 0 0 60px rgba(231, 31, 130, 0.08);
  backdrop-filter: blur(20px);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.preview:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.preview__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }

.preview__url {
  margin-left: 16px;
  font-size: 12px;
  color: var(--text-3);
  font-family: 'Space Grotesk', monospace;
}

.preview__body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 360px;
}

.preview__sidebar {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.preview__brand img { width: 28px; height: 28px; }
.preview__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.preview__nav .material-icons-outlined {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-3);
  font-size: 18px;
}
.preview__nav .material-icons-outlined.active {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.preview__content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.preview__card .material-icons-outlined {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
}
.preview__card--cyan .material-icons-outlined {
  background: var(--cyan-soft); color: var(--cyan);
}
.preview__card--pink .material-icons-outlined {
  background: var(--pink-soft); color: var(--pink);
}
.preview__card strong { font-size: 18px; display: block; }
.preview__card small { font-size: 11px; color: var(--text-3); }

.preview__chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  height: 80px;
  align-items: flex-end;
  padding: 8px 0;
}
.bar {
  height: var(--h);
  background: var(--teal);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.bar:nth-child(2n) { background: var(--pink); }

.preview__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.preview__item {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.preview__item strong { font-size: 13px; display: block; }
.preview__item small { font-size: 11px; color: var(--text-3); }
.preview__item .material-icons-outlined { font-size: 16px; color: var(--text-3); }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid var(--cyan-soft);
}
.avatar--pink {
  background: var(--pink-soft);
  color: var(--pink);
  border-color: var(--pink-soft);
}
.avatar--lg { width: 40px; height: 40px; font-size: 14px; }
.avatar--xl { width: 56px; height: 56px; font-size: 18px; }

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  animation: float-card 6s ease-in-out infinite;
}
.float-card .material-icons-outlined {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--cyan-soft);
  color: var(--cyan);
}
.float-card strong { font-size: 13px; display: block; }
.float-card small { font-size: 11px; color: var(--text-3); }

.float-card--top {
  top: 30px;
  right: -40px;
}
.float-card--bottom {
  bottom: 40px;
  left: -40px;
  animation-delay: -3s;
}
.float-card--bottom .material-icons-outlined {
  background: var(--pink-soft); color: var(--pink);
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* -------- PARTNERS -------- */
.partners {
  padding: 32px 0 16px;
}
.partners__label {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.partners__label strong { color: var(--text); }
.partners__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-3);
  opacity: 0.7;
}

/* ==============================================================
   SECTIONS
   ============================================================== */
.section {
  padding: 80px 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(102, 188, 154, 0.02), transparent);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section__title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.section__lead {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
}

/* -------- FEATURES -------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(102, 188, 154, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature:hover::before { opacity: 1; }
.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(102, 188, 154, 0.1);
}

.feature--pink::before {
  background: radial-gradient(circle at 100% 100%, rgba(231, 31, 130, 0.12), transparent 55%);
}
.feature--pink:hover {
  box-shadow: var(--shadow-md), 0 0 40px rgba(231, 31, 130, 0.1);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--cyan-soft);
  color: var(--cyan);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.feature__icon .material-icons-outlined { font-size: 24px; }
.feature--pink .feature__icon {
  background: var(--pink-soft);
  color: var(--pink);
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.feature p {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  z-index: 1;
}

/* -------- STEPS -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--border-strong);
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  position: relative;
}

.step__num {
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step__icon {
  font-size: 40px !important;
  color: var(--teal) !important;
  -webkit-text-fill-color: var(--teal);
  margin-bottom: 16px;
}

.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }

.step--mid {
  background: rgba(102, 188, 154, 0.05);
  border-color: rgba(102, 188, 154, 0.25);
}

/* -------- ROLES -------- */
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.role {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.role::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(231, 31, 130, 0.1), transparent 60%);
}
.role--pink::before {
  background: radial-gradient(circle at 100% 100%, rgba(102, 188, 154, 0.1), transparent 60%);
}

.role:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.role__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.role__head .material-icons-outlined {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 28px;
}
.role--pink .role__head .material-icons-outlined {
  background: var(--pink-soft);
  color: var(--pink);
}
.role__head h3 { font-size: 28px; }

.role__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}
.role__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-2);
  font-size: 15px;
}
.role__list .material-icons-outlined {
  font-size: 20px;
  color: var(--cyan);
}
.role--pink .role__list .material-icons-outlined {
  color: var(--pink);
}

/* -------- PRICING -------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.plan--featured {
  background: rgba(231, 31, 130, 0.04);
  border-color: rgba(231, 31, 130, 0.35);
  box-shadow: 0 12px 40px rgba(231, 31, 130, 0.1);
  transform: scale(1.02);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--grad);
  color: white;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan__head h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.plan__sub {
  font-size: 13px;
  color: var(--text-3);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.plan__price strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan__price span {
  font-size: 14px;
  color: var(--text-3);
}

.plan__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.plan__list .material-icons-outlined {
  font-size: 16px;
  color: var(--cyan);
}
.plan--featured .plan__list .material-icons-outlined {
  color: var(--pink);
}

/* -------- CTA CARD -------- */
.cta-card {
  position: relative;
  padding: 64px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(231, 31, 130, 0.18), transparent 50%);
  opacity: 1;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(102, 188, 154, 0.12), transparent 50%);
}
.cta-card__copy { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 8px;
  line-height: 1.15;
}
.cta-card p { font-size: 16px; color: var(--text-2); }
.cta-card__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* -------- FOOTER -------- */
.footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font-size: 13px; color: var(--text); margin-bottom: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer__col a, .footer__col span {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--cyan); }

.footer__col--brand p {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 12px;
  margin-bottom: 16px;
  max-width: 280px;
}

.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.socials a:hover { background: var(--grad); color: white; border-color: transparent; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--text); }

/* ==============================================================
   APP SHELL
   ============================================================== */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 14px;
  overflow-y: auto;
  z-index: 30;
}

.sidebar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.sidebar__close { display: none; }

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 12px;
}
.role-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  transition: all 0.2s ease;
}
.role-switch__btn .material-icons-outlined { font-size: 16px; }
.role-switch__btn.active {
  background: var(--grad);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 188, 154, 0.3);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 16px 12px 6px;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.sidebar__item .material-icons-outlined {
  font-size: 20px;
  color: var(--text-3);
  transition: color 0.2s ease;
}
.sidebar__item .badge { margin-left: auto; }
.sidebar__item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.sidebar__item:hover .material-icons-outlined { color: var(--text); }

.sidebar__item.active {
  background: linear-gradient(90deg, var(--cyan-soft), transparent);
  color: var(--text);
}
.sidebar__item.active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--teal);
  border-radius: 0 3px 3px 0;
}
.sidebar__item.active .material-icons-outlined { color: var(--cyan); }


/* MAIN AREA */
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.topbar__burger { display: none; }

.search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
}
.search:focus-within {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}
.search .material-icons-outlined { color: var(--text-3); font-size: 18px; }
.search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
}
.search input::placeholder { color: var(--text-muted); }
.search kbd {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-3);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.user-chip:hover { background: rgba(255, 255, 255, 0.06); }
.user-chip__text strong { font-size: 13px; display: block; line-height: 1.2; }
.user-chip__text small { font-size: 11px; color: var(--text-3); }
.user-chip .material-icons-outlined { font-size: 18px; color: var(--text-3); }

/* PAGE */
.page {
  padding: 32px;
  flex: 1;
  min-width: 0;
}

.page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page__title-block h1 {
  font-size: 28px;
  margin-bottom: 6px;
}
.page__title-block p { color: var(--text-3); font-size: 14px; }
.page__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* -------- CARDS -------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.card__head h3 { font-size: 16px; }
.card__head .pill { font-size: 11px; }

.card__body {
  padding: 24px;
}

/* Stats grid */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  position: relative;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.3s ease;
}
.stat:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--cyan);
  filter: blur(60px);
  opacity: 0.1;
}
.stat--pink::before { background: var(--pink); }
.stat--green::before { background: var(--green); }
.stat--yellow::before { background: var(--yellow); }
.stat--clickable { cursor: pointer; }
.stat--clickable:hover { border-color: var(--cyan); }
.stat--pink.stat--clickable:hover { border-color: var(--pink); }
.stat--green.stat--clickable:hover { border-color: var(--green); }

.stat__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--cyan-soft);
  color: var(--cyan);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.stat--pink .stat__icon { background: var(--pink-soft); color: var(--pink); }
.stat--green .stat__icon { background: rgba(34, 197, 94, 0.14); color: var(--green); }
.stat--yellow .stat__icon { background: rgba(234, 179, 8, 0.14); color: var(--yellow); }

.stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.stat__label {
  font-size: 12px;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}
.stat__delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  position: relative;
  z-index: 1;
}
.stat__delta--down { color: var(--red); }
.stat__delta .material-icons-outlined { font-size: 14px; }

/* -------- DASHBOARD GRID -------- */
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.dash-grid--2 {
  grid-template-columns: 1fr 1fr;
}

/* Schedule list */
.schedule {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 80px 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
  cursor: pointer;
}
.schedule-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  transform: translateX(2px);
}

.schedule-item__time {
  font-family: 'Space Grotesk', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  border-right: 1px solid var(--border);
  padding-right: 14px;
}
.schedule-item__time small {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 400;
  margin-top: 2px;
}

.schedule-item__main strong { font-size: 14px; display: block; line-height: 1.3; }
.schedule-item__main small { font-size: 12px; color: var(--text-3); }

.schedule-item__actions {
  display: flex;
  gap: 4px;
}
.schedule-item__actions .icon-btn { width: 32px; height: 32px; }
.schedule-item__actions .material-icons-outlined { font-size: 16px; }

.schedule-item--pink .schedule-item__time { color: var(--pink); }

/* Zprávy — řádek plánovače */
.msg-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.msg-row:last-child { border-bottom: none; }
.msg-row:hover { background: var(--bg-3); }
.msg-row__main { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.msg-row__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.msg-row__head strong { font-size: 14px; color: var(--text-1); }
.msg-row__subject { font-size: 13px; color: var(--text-2); font-weight: 500; }
.msg-row__meta { font-size: 12px; color: var(--text-3); }
.msg-row__body { font-size: 13px; color: var(--text-2); margin-top: 4px; white-space: pre-wrap; line-height: 1.5; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  background: var(--cyan-soft);
  color: var(--cyan);
  margin-top: 6px;
}
.tag--pink { background: var(--pink-soft); color: var(--pink); }
.tag--green { background: rgba(34, 197, 94, 0.14); color: var(--green); }
.tag--yellow { background: rgba(234, 179, 8, 0.14); color: var(--yellow); }
.tag--red { background: rgba(239, 68, 68, 0.14); color: var(--red); }
.plan-badge--locked {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 20px;
  padding: 3px 10px 3px 6px;
}
.plan-badge--locked .material-icons-outlined { font-size: 14px; }

/* Activity feed */
.activity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.activity-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }
.activity-item .material-icons-outlined {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  font-size: 16px;
}
.activity-item__main strong { font-size: 13px; display: block; }
.activity-item__main small { font-size: 11px; color: var(--text-3); }

/* ==============================================================
   CALENDAR
   ============================================================== */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cal-toolbar__nav { display: flex; align-items: center; gap: 8px; }
.cal-toolbar__title {
  font-size: 18px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
  margin: 0 12px;
  min-width: 200px;
  text-align: center;
}
.cal-views {
  display: flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  gap: 2px;
}
.cal-views button {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
}
.cal-views button.active {
  background: var(--bg-3);
  color: var(--text);
}

.calendar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.cal-week {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
}

.cal-week__head {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-2);
  z-index: 5;
}
.cal-day-head {
  padding: 12px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.cal-day-head:first-child { border-left: none; }
.cal-day-head small { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 2px; }
.cal-day-head strong { font-size: 16px; font-family: 'Space Grotesk', sans-serif; }
.cal-day-head--today strong {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--teal);
  border-radius: 50%;
  color: white;
  font-size: 13px;
}

.cal-grid {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  position: relative;
}
.cal-hours {
  display: flex;
  flex-direction: column;
}
.cal-hour {
  height: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Grotesk', monospace;
  border-bottom: 1px solid var(--border);
}

.cal-col {
  position: relative;
  border-left: 1px solid var(--border);
}
.cal-col__slot {
  height: 60px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease;
}
.cal-col__slot:hover {
  background: rgba(102, 188, 154, 0.03);
}

.cal-event {
  position: absolute;
  left: 4px;
  right: 4px;
  padding: 6px 8px;
  background: rgba(102, 188, 154, 0.15);
  border: 1px solid rgba(102, 188, 154, 0.3);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-sm);
  font-size: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}
.cal-event:hover { transform: scale(1.02); z-index: 2; }
.cal-event strong { display: block; font-size: 12px; margin-bottom: 2px; }
.cal-event small { font-size: 10px; color: var(--text-3); }

.cal-event--pink {
  background: rgba(231, 31, 130, 0.15);
  border-color: rgba(231, 31, 130, 0.3);
  border-left-color: var(--pink);
}

.cal-event--blocked {
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 6px, transparent 6px, transparent 12px);
  border: 1px dashed var(--border-strong);
  border-left: 3px dashed var(--text-3);
  color: var(--text-3);
}

/* Now line */
.cal-now {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink);
  z-index: 4;
  box-shadow: 0 0 8px var(--pink);
}
.cal-now::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

/* Měsíční zobrazení */
.cal-month {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.cal-month__head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cal-month__head > div {
  padding: 10px 8px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.cal-month__head > div:first-child { border-left: none; }
.cal-month__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(96px, 1fr);
}
.cal-month__cell {
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cal-month__cell:hover { background: rgba(102,188,154,0.04); }
.cal-month__cell:nth-child(7n+1) { border-left: none; }
.cal-month__cell strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--text);
}
.cal-month__cell--mute { background: rgba(0,0,0,0.18); }
.cal-month__cell--mute strong { color: var(--text-muted); }
.cal-month__cell--today strong {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 12px;
}
/* Klientský mód — vizuální hint pro klikatelné dny */
.cal--client .cal-month__cell:not(.cal-month__cell--mute):hover strong { color: var(--pink); }
.cal--client .cal-day-head { cursor: pointer; }
.cal--client .cal-day-head:hover small { color: var(--pink); }
.cal--client .cal-day-head:hover strong { color: var(--pink); }

.cal-month__chip {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(102, 188, 154, 0.18);
  border-left: 2px solid var(--teal);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-month__chip--pink {
  background: rgba(231, 31, 130, 0.16);
  border-left-color: var(--pink);
}
.cal-month__chip--block {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 4px, transparent 4px, transparent 8px);
  color: var(--text-3);
  border-left-color: var(--text-3);
}
.cal-month__more {
  font-size: 10.5px;
  color: var(--text-3);
  font-style: italic;
}

/* ==============================================================
   TABLES (clients)
   ============================================================== */
.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow-x: auto;
  backdrop-filter: blur(20px);
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.table-toolbar__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.table-toolbar__filters select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm, 6px);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  color-scheme: dark;
  cursor: pointer;
}
.table-toolbar__filters select option { background: var(--bg-3); color: var(--text); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--border-hover); color: var(--text); }
.chip.active {
  background: var(--cyan-soft);
  border-color: rgba(102, 188, 154, 0.3);
  color: var(--cyan);
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}
.table tbody tr {
  transition: background 0.15s ease;
}
.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.table td:last-child { text-align: right; }

.sklad-filter-row th { padding: 8px 20px; background: none; }
.sklad-filter,
.sklad-stock-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm, 6px);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text);
  outline: none;
}
.sklad-filter:focus,
.sklad-stock-input:focus { border-color: var(--accent, #6366f1); }
.sklad-filter::placeholder { color: var(--text-muted); }
select.sklad-filter { color-scheme: dark; }
select.sklad-filter option {
  background: var(--bg-3);
  color: var(--text);
}
.sklad-stock-input { width: 70px; text-align: right; }

.cell-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cell-user strong { font-size: 14px; display: block; line-height: 1.3; }
.cell-user small { font-size: 12px; color: var(--text-3); }

/* ==============================================================
   FORMS
   ============================================================== */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input, .select {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
}
.input:focus-within, .select:focus-within {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}
.input .material-icons-outlined,
.select .material-icons-outlined {
  color: var(--text-3);
  font-size: 18px;
}
.input input, .select select {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  width: 100%;
}
.input input::placeholder { color: var(--text-muted); }
.input__toggle {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-3);
  cursor: pointer;
}
.select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select select option {
  background: var(--bg-3);
  color: var(--text);
}
.muscles-sel {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  font-size: 13px;
  cursor: pointer;
  width: 72px;
}
.muscles-sel option {
  background: var(--bg-3);
  color: var(--text);
}

textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 14px;
  outline: none;
  min-height: 80px;
  resize: vertical;
  transition: all 0.2s ease;
}
textarea:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-2);
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-hover);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.check input:checked {
  background: var(--grad);
  border-color: transparent;
}
.check input:checked::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.link { color: var(--cyan); font-weight: 500; }
.link:hover { text-decoration: underline; }

.info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cyan-soft);
  border: 1px solid rgba(102, 188, 154, 0.2);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-2);
}
.info .material-icons-outlined { color: var(--cyan); font-size: 18px; flex-shrink: 0; }

/* ==============================================================
   MODAL
   ============================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active {
  display: flex;
  animation: fade-in 0.2s ease;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(231, 31, 130, 0.1);
  padding: 32px;
  animation: slide-up 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal__panel--lg { max-width: 640px; }

.help-list { display: flex; flex-direction: column; gap: 8px; }
.help-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--bg-3); }
.help-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.help-item__head .material-icons-outlined:first-child { color: var(--cyan); font-size: 19px; }
.help-item__title { flex: 1; }
.help-item__chevron { color: var(--text-3); transition: transform 0.2s ease; font-size: 20px !important; }
.help-item.open .help-item__chevron { transform: rotate(180deg); }
.help-item__body {
  display: none;
  padding: 0 14px 16px 44px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}
.help-item.open .help-item__body { display: block; }
.help-item__body p { margin: 0 0 8px; }
.help-item__body p:last-child { margin-bottom: 0; }
.help-item__body ul { margin: 0 0 8px; padding-left: 18px; }
.help-item__body li { margin-bottom: 4px; }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* AUTH */
.auth__head { text-align: center; margin-bottom: 24px; }
.auth__logo { width: 56px; height: 56px; margin-bottom: 12px; }
.auth__head h2 { font-size: 24px; margin-bottom: 4px; }
.auth__head p { font-size: 14px; color: var(--text-3); }

.auth__tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 20px;
}
.auth__tab {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
}
.auth__tab.active {
  background: var(--bg-3);
  color: var(--text);
}

.auth__form { display: flex; flex-direction: column; gap: 14px; }

.auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-top: -4px;
}

.auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  margin: 4px 0;
}
.auth__divider::before, .auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth__social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Info text pro registraci trenéra — zobrazí se jen když je vybrána role trenér */
[data-trainer-info] { display: flex; }
.auth__form:has(input[name="role"][value="client"]:checked) [data-trainer-info] { display: none; }
.role-pick__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.role-pick__card {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.role-pick__opt input:checked + .role-pick__card {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(102, 188, 154, 0.15);
}
.role-pick__card .material-icons-outlined { font-size: 24px; color: var(--text-3); }
.role-pick__opt input:checked + .role-pick__card .material-icons-outlined { color: var(--cyan); }
.role-pick__card strong { font-size: 14px; }
.role-pick__card small { font-size: 11px; color: var(--text-3); }

/* BOOK MODAL */
.book__head { margin-bottom: 20px; }
.book__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin-bottom: 4px;
}
.book__head h2 .material-icons-outlined {
  color: var(--cyan);
  font-size: 24px;
}
.book__head p { font-size: 13px; color: var(--text-3); }

.book__tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 20px;
}
.book__tab {
  flex: 1;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
}
.book__tab.active {
  background: var(--bg-3);
  color: var(--text);
}

.book__form { display: flex; flex-direction: column; gap: 14px; }
.book__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ==============================================================
   TOASTS
   ============================================================== */
.toasts {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  min-width: 280px;
  max-width: 360px;
  animation: toast-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}
.toast.toast--out {
  animation: toast-out 0.25s ease forwards;
}
.toast .material-icons-outlined {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 18px;
  flex-shrink: 0;
}
.toast--success .material-icons-outlined { background: rgba(34, 197, 94, 0.14); color: var(--green); }
.toast--info .material-icons-outlined { background: var(--cyan-soft); color: var(--cyan); }
.toast--warn .material-icons-outlined { background: rgba(234, 179, 8, 0.14); color: var(--yellow); }
.toast--error .material-icons-outlined { background: rgba(239, 68, 68, 0.14); color: var(--red); }

.toast strong { font-size: 13px; display: block; line-height: 1.3; }
.toast small { font-size: 12px; color: var(--text-3); }

@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateX(100%); opacity: 0; }
}

/* ==============================================================
   COOKIE BANNER + COOKIE MODAL
   ============================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #1d1d26;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.28);
  padding: 16px 24px;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: #f0f1f5;
}
/* Světlá verze pro veřejný web */
body.web .cookie-banner {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.10);
  color: #1a1a2e;
}
body.web .cookie-banner__text strong { color: #1a1a2e; }
body.web .cookie-banner__text p { color: #555770; }
body.web .cookie-banner__icon { color: #66bc9a; }
.cookie-banner--show {
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}
.cookie-banner__icon {
  color: var(--cyan);
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cookie-banner__text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}
.cookie-banner__text p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Cookie modal */
.cookie-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9001;
}
.cookie-modal__dialog {
  position: fixed;
  z-index: 9002;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1d1d26;
  color: #f0f1f5;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: min(520px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  padding: 28px;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cookie-modal__header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.cookie-category {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}
.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-category__head strong {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.cookie-category__head p {
  font-size: 12px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}
.cookie-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cookie-badge--on {
  background: rgba(34,197,94,0.14);
  color: var(--green);
}

/* Toggle switch */
.toggle { display: flex; cursor: pointer; flex-shrink: 0; }
.toggle input { display: none; }
.toggle__track {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: var(--border);
  position: relative;
  transition: background 0.2s;
}
.toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.toggle input:checked + .toggle__track { background: var(--cyan); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); }

.cookie-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.cookie-modal__legal {
  font-size: 11px;
  color: #7a7d8c;
  line-height: 1.6;
  margin-top: 12px;
  text-align: center;
}
.cookie-modal__legal a { color: #7a7d8c; text-decoration: underline; }
.cookie-modal__legal a:hover { color: #66bc9a; }

/* Světlý modal pro veřejný web */
body.web .cookie-modal__dialog {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #e5e7eb;
}
body.web .cookie-category { border-color: #e5e7eb; }
body.web .cookie-category__head p { color: #555770; }
body.web .cookie-modal__footer { border-top-color: #e5e7eb; }
body.web .cookie-modal__legal { color: #9ca3af; }
body.web .cookie-modal__legal a { color: #9ca3af; }
body.web .cookie-modal__header h3 { color: #1a1a2e; }

@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; }
}

/* ==============================================================
   SURVEY MODAL
   ============================================================== */
.survey-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.survey-modal[hidden] { display: none; }

.survey-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.survey-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--surface, #1a1f2e);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.survey-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.survey-steps { position: relative; }

.survey-step { display: none; }
.survey-step.active { display: block; }

.survey-step__header {
  margin-bottom: 24px;
}
.survey-step__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan, #66bc9a);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.survey-step__header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}
.survey-step__header p {
  font-size: 14px;
  color: var(--text-2, rgba(255,255,255,0.55));
  margin: 0;
}

.survey-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1.5px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  color: inherit;
}
.survey-option:hover {
  border-color: rgba(102,188,154,0.4);
  background: rgba(102,188,154,0.06);
}
.survey-option.selected {
  border-color: var(--cyan, #66bc9a);
  background: rgba(102,188,154,0.1);
}
.survey-option .material-icons-outlined {
  font-size: 24px;
  color: var(--cyan, #66bc9a);
  flex-shrink: 0;
}
.survey-option strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.survey-option small {
  display: block;
  font-size: 12px;
  color: var(--text-2, rgba(255,255,255,0.55));
  margin-top: 2px;
}

.survey-result {
  padding: 8px 0;
}

@media (max-width: 540px) {
  .survey-modal__dialog {
    margin: 12px;
    max-width: calc(100% - 24px);
    padding: 24px 18px 20px;
  }
}

/* ==============================================================
   SETTINGS PAGE
   ============================================================== */
.settings-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.settings-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.settings-nav__item:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.settings-nav__item.active {
  background: var(--cyan-soft);
  color: var(--cyan);
}
.settings-nav__item .material-icons-outlined { font-size: 18px; }

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.setting-row:last-child { border-bottom: none; }
.setting-row__info strong { font-size: 14px; display: block; margin-bottom: 2px; }
.setting-row__info small { font-size: 12px; color: var(--text-3); }

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--text-2);
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.switch.active {
  background: var(--grad);
  border-color: transparent;
}
.switch.active::after {
  transform: translateX(20px);
  background: white;
}

/* Training types editor */
.training-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.training-type {
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.training-type__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.training-type__head strong { font-size: 15px; }
.training-type__color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.training-type__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}
.training-type__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.training-type__meta .material-icons-outlined { font-size: 14px; }

/* ==============================================================
   CLIENT — book picker
   ============================================================== */
.book-picker {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.trainers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trainer-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  align-items: center;
}
.trainer-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.trainer-card.active { border-color: var(--cyan); background: rgba(102, 188, 154, 0.04); }
.trainer-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}
.trainer-card__rating .material-icons-outlined { font-size: 14px; color: var(--yellow); }

/* Type selector */
.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.type-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.type-card:hover { border-color: var(--border-hover); }
.type-card.active {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}
.type-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  font-size: 18px;
}
.type-card.active .type-card__icon { background: var(--cyan); color: var(--bg-0); }
.type-card strong { font-size: 14px; }
.type-card small { font-size: 12px; color: var(--text-3); }

/* Time slots */
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.slot {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Space Grotesk', monospace;
  color: var(--text-2);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.slot:hover { border-color: var(--cyan); color: var(--cyan); }
.slot.active {
  background: var(--grad);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(231, 31, 130, 0.25);
}
.slot.taken {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: line-through;
  border-style: dashed;
}

/* Mini calendar */
.mini-cal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.mini-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mini-cal__head strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
}
.mini-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.mini-cal__dow {
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 0;
}
.mini-cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.mini-cal__day:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.mini-cal__day.muted { color: var(--text-muted); }
.mini-cal__day.has-event::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}
.mini-cal__day.has-res {
  color: var(--pink);
  font-weight: 700;
}
.mini-cal__day.has-res::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
}
.mini-cal__day.has-res.active::after { display: none; }
.mini-cal__day.today {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.mini-cal__day.active {
  background: var(--teal);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(102, 188, 154, 0.4);
}
.mini-cal__day.active::after { display: none; }

/* ==============================================================
   RESPONSIVE
   ============================================================== */

/* Střední notebooky (769–1100px) — sidebar jen ikony, víc místa pro obsah */
@media (max-width: 1100px) and (min-width: 769px) {
  :root { --sidebar-w: 64px; }
  .sidebar { padding: 20px 10px; align-items: center; }
  .sidebar__top { justify-content: center; }
  .sidebar__label { display: none; }
  .sidebar__item { justify-content: center; padding: 10px; gap: 0; }
  .sidebar__item span:not(.material-icons-outlined):not(.badge) { display: none; }
  .sidebar__item .badge { position: absolute; top: 6px; right: 6px; }
  .role-switch { flex-direction: column; gap: 4px; }
  .role-switch__btn span:last-child { display: none; }
  .user-chip__text { display: none; }
  .sidebar__top .user-chip { gap: 0; }
}

/* Menu na appce se nevejde od tabletů dolů — přepnout na hamburger */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  #app-navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,5,7,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    gap: 2px;
    z-index: 50;
  }
  .nav-actions .btn:not(.nav-burger):not([data-action="open-login"]) { display: none; }
  .nav-burger { display: inline-flex; }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 540px; margin: 0 auto; width: 100%; }
  .float-card--top, .float-card--bottom { display: none; }
  .roles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .dash-grid, .dash-grid--2 { grid-template-columns: 1fr; }
  .book-picker { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .notif-panel {
    position: fixed;
    top: 56px;
    left: 8px;
    right: 8px;
    width: auto;
  }
  .navbar { position: sticky; }
  .hero { padding: 40px 0 20px; }
  .hero__title { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 32px 24px; flex-direction: column; align-items: flex-start; }

  /* App on mobile */
  .view--app.active { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 50;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar__close { display: inline-flex; }
  .topbar__burger { display: inline-flex; }
  .user-chip__text { display: none; }
  .search {
    flex: 0;
    min-width: 40px;
    max-width: 40px;
    padding: 0 10px;
    cursor: pointer;
    overflow: hidden;
    transition: max-width 0.25s ease, flex 0.25s ease, padding 0.25s ease;
  }
  .search input, .search kbd { display: none; }
  .search.open {
    flex: 1;
    max-width: 260px;
    padding: 0 14px;
    cursor: default;
  }
  .search.open input { display: block; }
  .page { padding: 20px 16px; }
  .page__head { flex-direction: column; align-items: stretch; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .role-pick { grid-template-columns: 1fr; }
  .auth__social { grid-template-columns: 1fr; }
  .training-types { grid-template-columns: 1fr; }
  .table th, .table td { padding: 12px 14px; font-size: 13px; }
  .table { min-width: 640px; }
  #sklad-table { min-width: 760px; }
  .schedule-item { grid-template-columns: 64px 36px 1fr; }
  .schedule-item__actions { display: none; }
  .cal-week, .cal-week__head, .cal-grid { grid-template-columns: 40px repeat(7, 1fr); font-size: 12px; }
  .modal__panel { padding: 24px; }
  .type-grid { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .pill { font-size: 11px; padding: 4px 10px; }
  .partners__row { gap: 20px; font-size: 14px; }
}

/* Small overlay for mobile sidebar */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Empty / placeholder content (for less-built pages) */
.placeholder {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
}
.placeholder .material-icons-outlined {
  font-size: 48px !important;
  color: var(--teal) !important;
  -webkit-text-fill-color: var(--teal);
  margin-bottom: 16px;
}
.placeholder h3 { font-size: 20px; margin-bottom: 6px; }
.placeholder p { color: var(--text-3); font-size: 14px; margin-bottom: 20px; }

/* Selection ring */
.ring {
  outline: none;
}
.ring:focus-visible {
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

/* Quick fade-in for page content */
.page > * { animation: page-in 0.35s ease both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   ROLE SWITCH s více možnostmi (admin webu + admin aplikace)
   ============================================================== */
.role-switch--4 {
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.role-switch--4 .role-switch__btn {
  font-size: 12px;
  padding: 8px 6px;
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
}
.role-switch--4 .role-switch__btn .material-icons-outlined { font-size: 16px; flex-shrink: 0; }

/* Banner pro typ admina v sidebaru */
.role-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: var(--r-md);
  background: rgba(102, 188, 154, 0.08);
  border: 1px solid rgba(102, 188, 154, 0.25);
}
.role-banner--web {
  background: rgba(231, 31, 130, 0.08);
  border-color: rgba(231, 31, 130, 0.25);
}
.role-banner .material-icons-outlined {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 18px;
}
.role-banner--web .material-icons-outlined {
  background: var(--pink-soft);
  color: var(--pink);
}
.role-banner strong { font-size: 13px; display: block; line-height: 1.2; }
.role-banner small { font-size: 11px; color: var(--text-3); }

/* ==============================================================
   PUBLIC WEBSITE (index.html)
   ============================================================== */
body.web {
  background: var(--bg-0);
}

/* ----------- WEB NAVBAR ----------- */
.webnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: transparent;
  transition: all 0.3s ease;
}
.webnav.scrolled {
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.webnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.webnav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}
.webnav__links a {
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.webnav__links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal);
}
.webnav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.webnav__app .material-icons-outlined { font-size: 16px; }

.icon-btn--badge {
  position: relative;
}
.icon-btn__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--pink);
  border: 2px solid var(--bg-0);
  border-radius: var(--r-full);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.icon-btn__badge:empty,
.icon-btn__badge[data-empty="true"] { display: none; }

.webnav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* ----------- HERO with VIDEO ----------- */
.webhero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0 60px;
}
.webhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.webhero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 80%, rgba(231, 31, 130, 0.28), transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(102, 188, 154, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(5,5,7,0.55) 0%, rgba(5,5,7,0.7) 50%, rgba(5,5,7,0.95) 100%);
  z-index: 1;
}

.webhero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  max-width: 1100px;
}

.webhero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-full);
  font-size: 13px;
  color: white;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.webhero__title {
  font-family: 'Atma', cursive;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}
.webhero__title .grad-text,
.webhero__title .grad-text--pink {
  display: inline-block;
}

.webhero__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  line-height: 1.6;
}
.webhero__lead strong {
  color: white;
  font-weight: 600;
}

.webhero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.webhero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.webhero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.webhero__meta-item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1;
}
.webhero__meta-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.webhero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  animation: bounce-down 2s ease-in-out infinite;
  backdrop-filter: blur(8px);
}
.webhero__scroll:hover { background: rgba(255, 255, 255, 0.16); }

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ----------- WEB SECTIONS ----------- */
.websection {
  padding: 100px 0;
  position: relative;
}
.websection--alt {
  background: rgba(255, 255, 255, 0.015);
}
.websection__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
  padding: 0 clamp(20px, 4vw, 56px);
}
.websection__title {
  font-family: 'Atma', cursive;
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.websection__lead {
  font-size: 17px;
  color: var(--text-2);
  max-width: 660px;
  line-height: 1.6;
}

/* ----------- ABOUT ----------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(102, 188, 154, 0.1), transparent 60%);
  opacity: 0.6;
}
.about-card--pink::before {
  background: radial-gradient(circle at 100% 100%, rgba(231, 31, 130, 0.1), transparent 60%);
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.about-card > * { position: relative; z-index: 1; }
.about-card .material-icons-outlined {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 28px;
}
.about-card--pink .material-icons-outlined {
  background: var(--pink-soft);
  color: var(--pink);
}
.about-card h3 { font-size: 19px; font-weight: 700; }
.about-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

.about-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ----------- TRAINERS ----------- */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trainer {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.trainer:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.trainer__photo {
  aspect-ratio: 4/5;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.trainer__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.trainer:hover .trainer__photo img { transform: scale(1.06); }
.trainer__photo--placeholder {
  background: linear-gradient(135deg, var(--teal-soft), var(--pink-soft));
}
.trainer__photo--placeholder span {
  font-family: 'Atma', cursive;
  font-size: 80px;
  color: white;
  opacity: 0.5;
}
.trainer__verified {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(5, 5, 7, 0.7);
  border: 1px solid rgba(102, 188, 154, 0.4);
  border-radius: var(--r-full);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.trainer__verified .material-icons-outlined { font-size: 14px; }

.trainer__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.trainer__name { font-size: 18px; font-weight: 700; }
.trainer__spec { font-size: 13px; color: var(--text-3); }
.trainer__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
}
.trainer__rating .material-icons-outlined { color: #eab308; font-size: 16px; }

.trainer__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.trainer__city {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-full);
  font-size: 11px;
  color: var(--text-2);
}

/* ----------- COURSES ----------- */
.courses-toolbar {
  margin-bottom: 28px;
}
.courses-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter > label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-3);
}
.filter--price input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  outline: none;
}
.filter--price input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102, 188, 154, 0.5);
}
.filter--price input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.filter--price strong {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.course-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.course-card__photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.course-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.course-card:hover .course-card__photo img { transform: scale(1.06); }
.course-card__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,7,0.85) 100%);
}
.course-card__photo-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(5, 5, 7, 0.6);
  color: var(--teal);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 188, 154, 0.3);
}
.course-card__photo-fmt {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(5, 5, 7, 0.7);
  color: white;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.course-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.course-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.course-card__meta .material-icons-outlined { font-size: 16px; }

.course-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.course-card__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.course-card__price small {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}
.course-card__lead {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------- COURSE DETAIL MODAL ----------- */
.course-modal { padding: 0; max-width: 800px; overflow-x: hidden; }
.course-modal__media {
  position: relative;
  aspect-ratio: 16/7;
  background: var(--bg-3);
  overflow: hidden;
  border-radius: calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0 0;
}
.course-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,7,0.85) 100%);
}
.course-modal__fmt {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(5,5,7,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 1;
}
.course-modal__price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  z-index: 1;
}
.course-modal__body {
  padding: 26px 28px 0;
}
.course-modal__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.course-modal__lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0 0 20px;
}
.course-modal__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.course-modal__meta > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-modal__meta .material-icons-outlined {
  font-size: 22px;
  color: var(--teal);
}
.course-modal__meta small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 2px;
}
.course-modal__meta strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.course-modal__body h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin: 22px 0 10px;
}
.course-modal__body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.course-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.course-modal__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.course-modal__list .material-icons-outlined {
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
}
.course-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  position: sticky;
  bottom: 0;
  padding: 16px 28px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

/* ----------- TRAINER MODAL ----------- */
.trainer-modal { padding: 0; max-width: 640px; overflow-x: hidden; }
.trainer-modal__header {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, rgba(102,188,154,0.08) 0%, rgba(231,31,130,0.06) 100%);
  border-bottom: 1px solid var(--border);
}
.trainer-modal__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
}
.trainer-modal__avatar--placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-soft), var(--pink-soft));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: 'Atma', cursive;
  font-size: 30px;
  color: white;
  border: 2px solid var(--border-strong);
}
.trainer-modal__info { flex: 1; min-width: 0; }
.trainer-modal__name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
.trainer-modal__spec { font-size: 13px; color: var(--text-3); margin: 0 0 8px; }
.trainer-modal__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trainer-modal__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.trainer-modal__rating .material-icons-outlined { font-size: 15px; color: #eab308; }
.trainer-modal__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(102,188,154,0.12);
  border: 1px solid rgba(102,188,154,0.3);
  border-radius: var(--r-full);
  padding: 3px 10px;
}
.trainer-modal__verified .material-icons-outlined { font-size: 13px; }
.trainer-modal__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 20px; }
.trainer-modal__section h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 8px;
}
.trainer-modal__bio { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.trainer-modal__cert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-2);
}
.trainer-modal__cert .material-icons-outlined { font-size: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 1px; }
.trainer-modal__cities { display: flex; flex-wrap: wrap; gap: 6px; }
.trainer-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.trainer { cursor: pointer; }
.trainer:hover .trainer__name { color: var(--cyan); }

/* ----------- SHOP / PRODUCTS ----------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.product__image {
  aspect-ratio: 1/1.15;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product:hover .product__image img { transform: scale(1.06); }

.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--pink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product__badge--teal { background: var(--teal); }

.product__quick {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--bg-0);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.product:hover .product__quick {
  opacity: 1;
  transform: translateY(0);
}
.product__quick:hover { background: var(--teal); color: white; }

.product__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product__cat {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.product__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.product__sizes {
  display: flex;
  gap: 4px;
  margin: 4px 0 6px;
}
.product__sizes span {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 10px;
  color: var(--text-2);
  font-weight: 600;
}
.product__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.product__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.product__price del {
  margin-left: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ----------- COOPERATION ----------- */
.coop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.coop-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
}
.coop-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.coop-card .material-icons-outlined {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 32px;
  margin: 0 auto 16px;
}
.coop-card:nth-child(2n) .material-icons-outlined {
  background: var(--pink-soft);
  color: var(--pink);
}
.coop-card h3 { font-size: 17px; margin-bottom: 6px; }
.coop-card p { font-size: 13px; color: var(--text-3); }

/* Vizuální ztučnění bez sémantiky <strong> — pro UI popisky (košík, checkout,
   cookie banner, dotazník), kde nejde o zdůraznění obsahu stránky. */
.text-strong { font-weight: 600; }

/* ----------- FAQ ----------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item__chevron {
  color: var(--text-3);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); color: var(--cyan); }
.faq-item__answer {
  padding: 0 22px 20px;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.6;
}

/* ----------- CONTACT ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  align-self: start;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact-row .material-icons-outlined {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--teal-soft);
  color: var(--teal);
}
.contact-row:nth-child(2n) .material-icons-outlined {
  background: var(--pink-soft);
  color: var(--pink);
}
.contact-row small {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}
.contact-row strong { font-size: 15px; }
.contact-row a { color: inherit; }
.contact-row a:hover strong { color: var(--teal); }

.contact-socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.contact-form {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ----------- FOOTER ----------- */
.webfooter {
  background: var(--bg-1);
  padding: 64px 0 24px;
  border-top: 1px solid var(--border);
}
.webfooter__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.webfooter__col { display: flex; flex-direction: column; gap: 8px; }
.webfooter__col h4 {
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.webfooter__col a, .webfooter__col span, .webfooter__col p {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s ease;
  line-height: 1.7;
}
.webfooter__col a:hover { color: var(--teal); }
.webfooter__col p { max-width: 320px; }
.webfooter__col .contact-socials { margin-top: 12px; }

.webfooter__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.webfooter__legal { display: flex; gap: 24px; }
.webfooter__legal a:hover { color: var(--text); }

/* ----------- CART DRAWER ----------- */
.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border-strong);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}
.cart.open { transform: translateX(0); }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart__head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.cart__head h3 .material-icons-outlined {
  color: var(--pink);
  font-size: 20px;
}
.cart__head h3 span { color: var(--text-3); font-weight: 500; font-size: 14px; }

.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart__empty {
  text-align: center;
  padding: 64px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
}
.cart__empty .material-icons-outlined {
  font-size: 64px !important;
  opacity: 0.3;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--bg-3);
}
.cart-item__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-item__meta { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.cart-item__price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-top: 6px;
  font-size: 14px;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.cart-item__qty button {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}
.cart-item__qty span { font-size: 13px; min-width: 20px; text-align: center; }

.cart-item__remove {
  align-self: flex-start;
  color: var(--text-3);
  padding: 4px;
  border-radius: var(--r-sm);
  cursor: pointer;
  background: none;
  border: none;
}
.cart-item__remove:hover { color: var(--red); }

.cart__foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cart__total span { font-size: 14px; color: var(--text-3); }
.cart__total strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cart__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart__backdrop.open { opacity: 1; pointer-events: auto; }

/* ==============================================================
   ADMIN — e‑shop & schvalování trenérů
   ============================================================== */
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kanban__col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  min-height: 240px;
}
.kanban__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.approval-card {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.approval-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.approval-card__head strong { font-size: 14px; }
.approval-card small { font-size: 12px; color: var(--text-3); }
.approval-card__cert {
  font-size: 11px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  margin: 4px 0;
  border-left: 2px solid var(--teal);
}
.approval-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.approval-card__actions .btn { flex: 1; }

/* Admin product table */
.admin-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--bg-3);
}

/* ==============================================================
   RESPONSIVE — web
   ============================================================== */
@media (max-width: 1280px) {
  .about-grid, .trainers-grid, .products-grid, .coop-grid { grid-template-columns: repeat(3, 1fr); }
  .courses-filters { grid-template-columns: 1fr 1fr; }
  .webfooter__inner { grid-template-columns: 1fr 1fr 1fr; }
  .kanban { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .about-grid, .trainers-grid, .products-grid, .coop-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .webfooter__inner { grid-template-columns: 1fr 1fr; }
  .kanban { grid-template-columns: 1fr; }
}

/* Menu na webu se nevejde od tabletů dolů — přepnout na hamburger */
@media (max-width: 1100px) {
  .webnav__links { display: none; }
  .webnav.menu-open .webnav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
    margin: 0;
  }
  .webnav__app span:not(.material-icons-outlined) { display: none; }
  .webnav__app { padding: 8px; min-width: 40px; }
  .webnav__burger { display: inline-flex; }
}

@media (max-width: 768px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand__logo { width: 40px; height: 40px; }
  .websection { padding: 60px 0; }
  .websection__head { margin-bottom: 32px; }
  .about-grid, .trainers-grid, .products-grid, .coop-grid { grid-template-columns: 1fr 1fr; }
  .courses-filters { grid-template-columns: 1fr; }
  .webfooter__inner { grid-template-columns: 1fr; gap: 28px; }
  .webfooter__bottom { flex-direction: column; align-items: flex-start; }
  .webhero { min-height: 90vh; }
  .webhero__cta { flex-direction: column; width: 100%; }
  .webhero__cta .btn { width: 100%; }
  .cart { width: 100%; }
}

@media (max-width: 480px) {
  .about-grid, .trainers-grid, .products-grid, .coop-grid { grid-template-columns: 1fr; }
  .webhero__title { font-size: 44px; }
}

/* ==============================================================
   CHECKOUT MODAL
   ============================================================== */
.checkout__head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.checkout__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  margin-bottom: 4px;
}
.checkout__head h2 .material-icons-outlined {
  color: var(--teal);
  font-size: 26px;
}
.checkout__head p { color: var(--text-3); font-size: 14px; }

.checkout__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.checkout__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.checkout__section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  font-weight: 700;
  margin-top: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.checkout__section-title .material-icons-outlined {
  color: var(--teal);
  font-size: 18px;
}

/* Payment radios */
.payments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.payment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.payment input:checked + .payment__card {
  background: var(--teal-soft);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(102, 188, 154, 0.15);
}
.payment__card .material-icons-outlined {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  font-size: 22px;
  flex-shrink: 0;
}
.payment input:checked + .payment__card .material-icons-outlined {
  background: var(--teal);
  color: white;
}
.payment__card strong { display: block; font-size: 14px; line-height: 1.3; }
.payment__card small { font-size: 12px; color: var(--text-3); }

/* Summary aside */
.checkout__summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: 20px;
}

.checkout__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.checkout__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.checkout__item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--bg-3);
}
.checkout__item strong {
  font-size: 13px;
  line-height: 1.3;
  display: block;
  margin-bottom: 2px;
}
.checkout__item small {
  font-size: 11px;
  color: var(--text-3);
}
.checkout__item-total {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.checkout__row span { color: var(--text-2); }
.checkout__row strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.checkout__row--total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 16px;
}
.checkout__row--total span { color: var(--text); font-weight: 600; }
.checkout__row--total strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.checkout__vat {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: -8px;
}

.checkout__security {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(102, 188, 154, 0.08);
  border: 1px solid rgba(102, 188, 154, 0.2);
  border-radius: var(--r-md);
  margin-top: 8px;
}
.checkout__security .material-icons-outlined {
  color: var(--teal);
  font-size: 18px;
  flex-shrink: 0;
}
.checkout__security small {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Coupon input - inline button */
.checkout__form .input button.btn {
  flex-shrink: 0;
}

/* SUCCESS step */
.checkout__success {
  text-align: center;
  padding: 24px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.checkout__success-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(102, 188, 154, 0.15);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  position: relative;
}
.checkout__success-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(102, 188, 154, 0.08);
  z-index: -1;
}
.checkout__success-icon .material-icons-outlined {
  font-size: 56px !important;
  color: var(--teal);
}
.checkout__success h2 {
  font-family: 'Atma', cursive;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.checkout__success p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 480px;
}
.checkout__success p strong {
  color: var(--text);
  font-family: 'Space Grotesk', monospace;
}

.checkout__next {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-top: 8px;
}
.checkout__next h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 12px;
}
.checkout__next ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout__next li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.checkout__next .material-icons-outlined {
  color: var(--teal);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkout__success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

/* Wider modal panel for checkout */
#modal-checkout .modal__panel {
  max-width: 920px;
}

/* Responsive */
@media (max-width: 768px) {
  .checkout__grid { grid-template-columns: 1fr; gap: 20px; }
  .checkout__summary { position: static; }
  #modal-checkout .modal__panel { padding: 24px 18px; }
  .checkout__success h2 { font-size: 28px; }
}

/* ==============================================================
   ROZŠÍŘENÍ — diagnostika, šablony, měření, kalkulačka maker
   ============================================================== */

/* 30‑denní reminder banner */
.reminder-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(231, 31, 130, 0.08), rgba(102, 188, 154, 0.06));
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.reminder-banner--inline { margin-bottom: 14px; }
.reminder-banner__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(231, 31, 130, 0.14);
  color: var(--pink);
  border-radius: var(--r-sm);
}
.reminder-banner__main strong { display: block; font-size: 14px; margin-bottom: 2px; }
.reminder-banner__main small { color: var(--text-3); font-size: 12px; line-height: 1.5; }

.reminder-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.reminder-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s ease;
}
.reminder-chip:hover { border-color: var(--cyan); color: var(--text-1); transform: translateY(-1px); }
.reminder-chip--overdue { border-color: rgba(231, 31, 130, 0.4); }
.reminder-chip small { color: var(--text-3); font-size: 11px; }
.reminder-chip .avatar--xs { width: 22px; height: 22px; font-size: 10px; }

.avatar--xs { width: 22px; height: 22px; font-size: 10px; }

/* Klikatelný řádek tabulky */
.row--clickable { cursor: pointer; transition: background 0.15s ease; }
.row--clickable:hover { background: rgba(255, 255, 255, 0.025); }

/* Back link na detailu klienta */
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--cyan); }
.back-link .material-icons-outlined { font-size: 14px; }

/* Tabs detailu klienta */
.client-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  overflow-x: auto;
}
.client-tabs__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.client-tabs__btn:hover { color: var(--text-1); }
.client-tabs__btn.active {
  color: var(--text-1);
  border-bottom-color: var(--cyan);
}
.client-tabs__btn .badge {
  margin-left: 2px;
}
.client-tab.hidden { display: none; }

/* Šablony tréninků */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.template-card {
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.15s ease;
}
.template-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.template-card__head {
  display: flex; align-items: center; gap: 10px;
}
.template-card__head strong { font-size: 15px; display: block; }
.template-card__head small { font-size: 12px; color: var(--text-3); }
.template-card__head--clickable { cursor: pointer; }
.template-card__head--clickable:hover strong { color: var(--cyan); }
.template-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(102, 188, 154, 0.14);
  color: var(--cyan);
  border-radius: var(--r-sm);
}
.template-card__icon--pink {
  background: rgba(231, 31, 130, 0.14);
  color: var(--pink);
}
.icon-picker-wrap {
  position: relative;
}
.icon-picker-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  cursor: pointer;
  color: var(--text-1);
  font-size: 14px;
  text-align: left;
  transition: border-color .15s;
}
.icon-picker-toggle:hover,
.icon-picker-wrap.is-open .icon-picker-toggle {
  border-color: var(--cyan);
}
.icon-picker-toggle > .material-icons-outlined:first-child {
  font-size: 20px;
  color: var(--cyan);
}
.icon-picker-toggle__label {
  flex: 1;
}
.icon-picker-toggle__arrow {
  font-size: 18px !important;
  color: var(--text-3);
  transition: transform .2s;
}
.icon-picker-wrap.is-open .icon-picker-toggle__arrow {
  transform: rotate(180deg);
}
.ex-row {
  display: grid;
  grid-template-columns: 1fr 64px 72px 72px 32px;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.ex-row .input, .ex-row .select { height: 38px; padding: 0 8px; gap: 5px; }
.ex-row .input input, .ex-row .select select { font-size: 12px; }
.ex-row .input .material-icons-outlined,
.ex-row .select .material-icons-outlined { font-size: 16px; }
.ex-lib-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ex-lib-table th { text-align: left; padding: 6px 8px; color: var(--text-3); font-weight: 500; border-bottom: 1px solid var(--border); font-size: 12px; }
.ex-lib-table td { padding: 8px 8px; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; }
.ex-lib-table tbody tr:last-child td { border-bottom: none; }
.icon-picker {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.icon-picker.is-open {
  display: flex;
}
.icon-picker__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 5px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--bg-3);
  cursor: pointer;
  min-width: 50px;
  font-size: 9px;
  color: var(--text-2);
  transition: border-color .15s, background .15s;
}
.icon-picker__item:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, .08);
}
.icon-picker__item--selected {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, .14);
  color: var(--cyan);
}
.icon-picker__item .material-icons-outlined { font-size: 18px; }
.template-card__meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--text-3);
}
.template-card__meta .material-icons-outlined { font-size: 14px; vertical-align: -2px; }

.template-card__list {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}
.template-card__list td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.template-card__list tr:last-child td { border-bottom: none; }

.template-card__actions {
  display: flex; gap: 6px;
  margin-top: auto;
}
.template-card__actions .btn { flex: 1; }

.template-card--new {
  border: 2px dashed var(--border);
  background: transparent;
  align-items: center; justify-content: center;
  text-align: center;
  cursor: pointer;
  min-height: 280px;
  color: var(--text-3);
  transition: all 0.15s ease;
}
.template-card--new:hover {
  border-color: var(--cyan);
  color: var(--text-1);
  background: rgba(102, 188, 154, 0.04);
}
.template-card--new .material-icons-outlined { font-size: 32px; color: var(--cyan); }

/* Diagnostika formulář */
.diag-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.diag-form__group strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* Workout log */
.workout-log {
  margin-bottom: 14px;
}
.workout-log .table { font-size: 13px; }
.workout-log .table th { font-size: 11px; }
.workout-weight-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--cyan);
  font-weight: 600;
  font-size: 13px;
  width: 80px;
  padding: 2px 4px;
  outline: none;
  text-align: center;
  transition: border-color 0.15s;
}
.workout-weight-input:focus { border-bottom-color: var(--cyan); }
.workout-weight-input::placeholder { color: var(--text-3); font-weight: 400; }
.workout-log .table th:last-child { text-align: center; }

/* Line chart (SVG) — pokrok / grafy */
.line-chart {
  position: relative;
}
.line-chart__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--text-3);
  font-size: 11px;
}
.line-chart__labels small { font-size: 11px; }

/* ----------- PAR-Q ----------- */
.parq-section {
  border: 1px solid rgba(231,31,130,0.2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.parq-section__head {
  padding: 14px 18px;
  background: rgba(231,31,130,0.06);
  border-bottom: 1px solid rgba(231,31,130,0.15);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.03em;
}
.parq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
}
.parq-row:last-child { border-bottom: none; }
.parq-row__q {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
  flex: 1;
}
.parq-row__btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.parq-btn {
  padding: 5px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.parq-btn:hover { border-color: var(--border-hover); color: var(--text); }
.parq-btn.active { background: rgba(102,188,154,0.15); border-color: var(--teal); color: var(--teal); }
.parq-btn--yes.active { background: rgba(231,31,130,0.12); border-color: var(--pink); color: var(--pink); }
.parq-warn {
  margin: 0 18px 14px;
  padding: 12px 14px;
  background: rgba(231,31,130,0.08);
  border: 1px solid rgba(231,31,130,0.3);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.parq-warn .material-icons-outlined { vertical-align: -4px; font-size: 18px; color: var(--pink); margin-right: 4px; }

/* Diagnostika — průvodce */
.diag-guide { display: flex; flex-direction: column; gap: 0; }
.diag-guide h4 { font-size: 15px; font-weight: 700; color: var(--cyan); margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(102,188,154,0.25); letter-spacing: .02em; text-transform: uppercase; }
.diag-guide h4:first-child { margin-top: 4px; }
.diag-guide h5 { font-size: 13.5px; font-weight: 700; color: var(--text-1); margin: 16px 0 6px; }
.diag-guide p { font-size: 13px; color: var(--text-2); margin: 4px 0; line-height: 1.6; }
.diag-guide ul { margin: 6px 0 6px 18px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.diag-guide ul li { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.diag-guide strong { color: var(--text-1); }
.diag-muscle { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 10px; background: var(--bg-3); }
.diag-muscle h5 { margin-top: 0; }
.diag-note { font-size: 12px !important; color: var(--text-3) !important; font-style: italic; margin-top: 6px !important; }
.diag-table th { font-weight: 600; font-size: 12px; }
.diag-table td, .diag-table th { font-size: 12px; }

/* Trenérský kód */
.trainer-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, rgba(102, 188, 154, 0.06), rgba(231, 31, 130, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.trainer-code-row strong { font-size: 14px; display: block; margin-bottom: 2px; }
.trainer-code-row small { font-size: 12px; color: var(--text-3); }
.trainer-code {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Space Grotesk', monospace;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* Macros calculator */
.macro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .macro-grid { grid-template-columns: 1fr; }
}
.macro-result {
  display: flex; flex-direction: column;
  gap: 14px;
}
.macro-result__cal {
  text-align: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(102, 188, 154, 0.10), rgba(231, 31, 130, 0.06));
  border-radius: var(--r-md);
}
.macro-result__cal small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.macro-result__cal strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 6px 0 4px;
}

.macro-result__bar {
  display: flex;
  height: 12px;
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--bg-3);
}
.macro-result__seg { flex: 0; transition: flex 0.3s ease; }
.macro-result__seg--p { background: var(--cyan); }
.macro-result__seg--c { background: var(--pink); }
.macro-result__seg--f { background: #eab308; }

.macro-result__list {
  display: flex; flex-direction: column;
  gap: 6px;
}
.macro-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  border-left: 3px solid transparent;
}
.macro-row strong { font-size: 14px; }
.macro-row span { font-family: 'Space Grotesk', monospace; font-weight: 600; }
.macro-row small { color: var(--text-3); font-size: 12px; min-width: 36px; text-align: right; }
.macro-row--p { border-left-color: var(--cyan); }
.macro-row--c { border-left-color: var(--pink); }
.macro-row--f { border-left-color: #eab308; }

/* Placeholder util */
.placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-3);
}
.placeholder .material-icons-outlined {
  font-size: 40px;
  opacity: 0.5;
  margin-bottom: 8px;
}
.placeholder h3 { font-size: 16px; margin-bottom: 4px; color: var(--text-2); }
.placeholder p { font-size: 13px; }

/* User menu (logout) */
.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  padding: 6px;
  display: none;
  z-index: 50;
}
.user-menu.open { display: block; }
.user-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}
.user-menu__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
}
.user-menu__item .material-icons-outlined {
  font-size: 18px;
  color: var(--text-3);
}

@media (max-width: 768px) {
  .reminder-banner { grid-template-columns: 1fr; text-align: left; }
  .reminder-banner__icon { display: none; }
  .templates-grid { grid-template-columns: 1fr; }
  .trainer-code-row { grid-template-columns: 1fr; }
}

/* Barevné buňky v tabulce diagnostiky */
.diag-table .diag-cell--better {
  background: rgba(102, 188, 154, 0.16);
  color: var(--green, #66bc9a);
}
.diag-table .diag-cell--worse {
  background: rgba(231, 31, 130, 0.14);
  color: var(--pink, #e71f82);
}
.diag-table .diag-cell--better small,
.diag-table .diag-cell--worse small {
  color: inherit;
}

/* admin-only prvky se schovávají do té doby, než JS vyhodnotí roli — `hidden` class má v projektu význam "skryto" */
.admin-only.hidden { display: none !important; }

/* ---- MSG TABS ---- */
.msg-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.msg-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}
.msg-tab:hover { color: var(--text-1); }
.msg-tab--active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.msg-tab .material-icons-outlined { font-size: 18px; }

/* ---- CHAT LAYOUT ---- */
.chat-layout {
  display: flex;
  gap: 0;
  height: calc(100vh - 220px);
  min-height: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.chat-sidebar {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.chat-client-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-2);
  transition: background .12s;
}
.chat-client-item:hover { background: var(--bg-4); }
.chat-client-item--active { background: var(--bg-4); color: var(--text-1); }
.avatar--sm {
  width: 28px;
  height: 28px;
  min-width: 28px;
  font-size: 11px;
  border-radius: 50%;
  background: var(--bg-4);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-2);
}
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 14px;
}
.chat-thread-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-1);
  flex-shrink: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-bubble-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 75%;
}
.chat-bubble-wrap--mine { align-self: flex-end; align-items: flex-end; }
.chat-bubble {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-bubble--theirs {
  background: var(--bg-4);
  color: var(--text-1);
  border-bottom-left-radius: 3px;
}
.chat-bubble--mine {
  background: var(--pink);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.chat-time {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 3px;
  padding: 0 2px;
}
.chat-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  resize: none;
  min-height: 38px;
  max-height: 120px;
  padding: 8px 12px;
  background: var(--bg-4);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.5;
  overflow-y: auto;
}
.chat-input:focus { outline: none; border-color: var(--pink); }
.chat-send-btn {
  min-width: 40px;
  height: 38px;
  padding: 0 10px;
  flex-shrink: 0;
}
.chat-send-btn .material-icons-outlined { font-size: 18px; }

@media (max-width: 640px) {
  .chat-sidebar { width: 60px; }
  .chat-client-item span:last-child { display: none; }
  .chat-layout { height: calc(100vh - 180px); }
}

/* ==============================================================
   MÓDA — Fashion section (moda-promo, moda page, product modal)
   ============================================================== */

/* ---- Tlačítko btn--pink ---- */
.btn--pink {
  background: var(--grad-pink);
  color: #fff;
  border: none;
}
.btn--pink:hover { filter: brightness(1.1); box-shadow: var(--pink-glow); }

/* ---- Moda promo slider (index.php) ---- */
.moda-promo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--bg-1);
}
.moda-promo__slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
}
.moda-promo__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  background: var(--slide-bg, var(--bg-1));
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.moda-promo__slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.moda-promo__media {
  flex: 1;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.moda-promo__media-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.moda-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moda-promo__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 60px 48px 60px 32px;
  max-width: 520px;
}
.moda-promo__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.moda-promo__lead {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.moda-promo__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.moda-promo__tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.moda-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px 10px;
}
.moda-tag .material-icons-outlined { font-size: 14px; color: var(--teal); }
.moda-promo__featured {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.moda-promo__product {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s;
}
.moda-promo__product:hover { border-color: var(--pink); }
.moda-promo__product-img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--bg-4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.moda-promo__product-img img { width: 100%; height: 100%; object-fit: cover; }
.moda-promo__product strong { font-size: 13px; display: block; }
.moda-promo__product span { font-size: 12px; color: var(--pink); }
/* Dots */
.moda-promo__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.moda-promo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.moda-promo__dot.active { background: var(--pink); transform: scale(1.3); }
/* Arrows */
.moda-promo__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s;
}
.moda-promo__arrow:hover { background: rgba(231,31,130,.6); }
.moda-promo__arrow--prev { left: 16px; }
.moda-promo__arrow--next { right: 16px; }

/* ---- Moda page — hero ---- */
.moda-hero {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 40px;
}
.moda-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
}
.moda-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.moda-hero__lead {
  color: var(--text-2);
  font-size: 17px;
  margin: 0;
}

/* ---- Moda shop layout ---- */
.moda-shop {
  padding: 40px 0 80px;
}
.moda-shop__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* ---- Filters sidebar ---- */
.moda-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.moda-filters__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.moda-filters__head .material-icons-outlined { color: var(--teal); font-size: 18px; }
.moda-filter-group { display: flex; flex-direction: column; gap: 10px; }
.moda-filter-group > label { font-size: 12px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.moda-filter-checks { display: flex; flex-direction: column; gap: 6px; }
.moda-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.moda-check input { accent-color: var(--pink); }

/* Color swatches (filter + modal) */
.moda-color-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.moda-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.moda-color-swatch__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--swatch-color, #888);
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}
.moda-color-swatch:hover .moda-color-swatch__dot,
.moda-color-swatch.active .moda-color-swatch__dot {
  border-color: #fff;
  transform: scale(1.15);
}
.moda-color-swatch__name { font-size: 11px; color: var(--text-3); }

/* Size filter buttons */
.moda-size-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.moda-size-btn {
  padding: 4px 10px;
  font-size: 13px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  position: relative;
}
.moda-size-btn:hover { border-color: var(--border-hover); }
.moda-size-btn.active { background: var(--pink-soft); border-color: var(--pink); color: var(--pink); }
.moda-size-btn--unavail { opacity: .4; cursor: not-allowed; }
.moda-size-btn--unavail::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%) rotate(-15deg);
}

/* ---- Moda toolbar ---- */
.moda-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.moda-count { color: var(--text-3); font-size: 14px; flex: 1; margin: 0; }
.moda-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); }
.moda-sort .select { min-width: 140px; }
.moda-filters-toggle { display: none; }

/* ---- Product grid ---- */
.moda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.moda-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.moda-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.moda-card__photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.moda-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.moda-card:hover .moda-card__photo img { transform: scale(1.04); }
.moda-card__placeholder-icon { font-size: 64px; color: var(--text-muted); }
.moda-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--grad-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.moda-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.moda-card__title { font-size: 15px; font-weight: 600; margin: 0; }
.moda-card__colors { display: flex; gap: 6px; }
.moda-card__swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: inline-block;
}
.moda-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.moda-card__price { font-size: 17px; font-weight: 700; color: var(--text); }
.moda-card__price small { font-size: 12px; font-weight: 400; color: var(--text-3); }

/* ---- Product detail modal ---- */
.product-modal .modal__panel { max-width: 860px; }
.product-modal__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.product-modal__media { display: flex; flex-direction: column; gap: 10px; }
.product-modal__main-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal__main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-modal__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.product-modal__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  background: var(--bg-3);
  padding: 0;
}
.product-modal__thumb.active { border-color: var(--pink); }
.product-modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-modal__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0;
}
.product-modal__title { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin: 0; }
.product-modal__price { font-size: 26px; font-weight: 800; color: var(--text); }
.product-modal__price small { font-size: 15px; color: var(--text-3); }
.product-modal__desc { color: var(--text-2); font-size: 14px; line-height: 1.7; margin: 0; }
.product-modal__section { display: flex; flex-direction: column; gap: 10px; }
.product-modal__section strong { font-size: 13px; color: var(--text-2); }
.product-modal__colors { display: flex; gap: 10px; flex-wrap: wrap; }
.product-modal__colors .moda-color-swatch__dot { width: 32px; height: 32px; }
.product-modal__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.product-modal__sizes .moda-size-btn { padding: 6px 14px; font-size: 14px; }
.product-modal__stock { font-size: 13px; color: var(--yellow); }
.product-modal__actions { margin-top: 8px; }
.product-modal__shipping {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-modal__shipping .material-icons-outlined { font-size: 16px; color: var(--teal); }

/* ---- Cart item icon fallback ---- */
.cart-item__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__icon { font-size: 24px; color: var(--text-muted); }

/* ---- Webnav active link ---- */
.webnav__links a.active { color: var(--pink); }

/* ---- Image picker ---- */
.img-picker-preview {
  width: 60px;
  height: 60px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
}
.img-picker-preview:hover { border-color: var(--teal); }
.img-picker-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-picker-preview .material-icons-outlined { font-size: 24px; color: var(--text-muted); }
.img-picker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.img-picker-wrap .input { flex: 1; }
.img-picker-btn {
  flex-shrink: 0;
  color: var(--teal) !important;
  border-color: var(--teal) !important;
}
.img-picker-btn:hover { background: var(--teal-soft) !important; }
.img-picker-uploading { opacity: .5; pointer-events: none; }

/* ---- Admin Móda — velikosti/sklad (holé inputy bez .input wrapperu) ---- */
.fp-size-name, .fp-size-stock {
  background: var(--bg-2, rgba(255,255,255,.05));
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 13px;
  padding: 6px 8px;
}
.fp-size-name::placeholder, .fp-size-stock::placeholder { color: var(--text-muted); }

/* ---- Admin Móda sekce (v app.js) ---- */
.fashion-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.fashion-admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fashion-admin-card__img {
  aspect-ratio: 1;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fashion-admin-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fashion-variant-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fashion-variant-row {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fashion-variant-row .swatch { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(255,255,255,.2); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .moda-shop__layout { grid-template-columns: 1fr; }
  .moda-filters { position: static; display: none; }
  .moda-filters.open { display: flex; }
  .moda-filters-toggle { display: flex; }
  .moda-promo__slide { flex-direction: column; }
  .moda-promo__content { padding: 32px 24px; max-width: 100%; }
  .moda-promo__media { min-height: 200px; }
  .product-modal__layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .moda-grid { grid-template-columns: 1fr 1fr; }
  .moda-promo { min-height: 400px; }
}
@media (max-width: 400px) {
  .moda-grid { grid-template-columns: 1fr; }
}

/* Statistiky & reporty — tisk / "Uložit jako PDF" */
@media print {
  body.printing-stats #sidebar,
  body.printing-stats .topbar,
  body.printing-stats .backdrop,
  body.printing-stats #cookie-banner,
  body.printing-stats #cookie-modal,
  body.printing-stats .no-print {
    display: none !important;
  }
  body.printing-stats .view--app.active { grid-template-columns: 1fr !important; }
  body.printing-stats #page-content { padding: 0 !important; }
  body.printing-stats .card { break-inside: avoid; border: 1px solid #ccc; }
  body.printing-stats { background: #fff; color: #111; }
  /* Bez tohoto prohlížeč ve výchozím stavu netiskne background-color
     (vypnuté "background graphics") — bary grafu by byly neviditelné. */
  body.printing-stats .bar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
