:root {
  --accent: #1e40af;
  --accent-dark: #1e3a8a;
  --text: #121212;
  --muted: #6b7280;
  --surface: #f6f6f7;
  --surface-soft: #fbfbfb;
  --soft-pink: #dbeafe;
  --border: #ece7e7;
  --shadow: 0 22px 40px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 14px 26px rgba(15, 23, 42, 0.08);
  --page-max: 1140px;
  --page-gutter: clamp(16px, 2.4vw, 28px);
  --floating-edge: max(1rem, calc((100vw - (var(--page-max) + (var(--page-gutter) * 2))) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth; overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
}

.hidden,
.cw-hidden {
  display: none !important;
}

.site-wrapper {
  display: none;
}

main {
  width: min(100%, calc(var(--page-max) + (var(--page-gutter) * 2)));
  margin: 0 auto;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(24rem, 26rem) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
  padding: 1.6rem var(--page-gutter) 0;
  background: #fff;
}

header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
}

header.header-active {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

header .top-banner {
  min-height: 2.5rem;
  padding: 0 1.6rem;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header .top-banner h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

header .container {
  width: min(100%, calc(var(--page-max) + (var(--page-gutter) * 2)));
  margin: 0 auto;
  min-height: 6.2rem;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

header .header-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  position: absolute;
  left: var(--page-gutter);
  top: 50%;
  transform: translateY(-50%);
}

header .logo img {
  width: clamp(118px, 9vw, 148px);
  height: auto;
}

header .navbar {
  width: 100%;
  margin-left: 0;
  display: flex;
  justify-content: center;
}

header .navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.8rem, 3vw, 4.8rem);
  width: auto;
  position: relative;
}

header .navbar li {
  position: relative;
}

header .navbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s ease;
}

header .navbar a.active {
  color: var(--accent);
}

header .navbar .mobile-only {
  display: none;
}

header .header-actions {
  position: absolute;
  right: var(--page-gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

header .header-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

header .header-flag img {
  width: 2.3rem;
  height: 1.55rem;
  object-fit: cover;
}

header .header-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

header .header-cart-link i {
  color: var(--accent);
  font-size: 2.36rem;
}

header .header-cart-link.active {
  color: var(--text);
}

header .fa-bars {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  border: 0;
}

header .fa-bars::after {
  content: "Menu";
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar {
  min-width: 0;
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.12) 100%),
    linear-gradient(180deg, #edf1f5 0%, #e6ebf0 100%);
  border: 1px solid rgba(30, 64, 175, 0.08);
  border-radius: 2.6rem;
  padding: 1.8rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 28px rgba(15, 23, 42, 0.05);
}

.sidebar .velde {
  background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar .velde h2,
.sidebar h2 {
  margin: 0;
  color: var(--accent);
  font-size: 2.15rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.sidebar .velde h2 a {
  color: inherit;
}

.sidebar > ul {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.sidebar > ul li {
  margin: 0;
}

.sidebar > ul li a {
  min-height: 4.8rem;
  padding: 1.1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}



.sidebar .contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  display: grid;
  gap: 1.4rem;
}

.sidebar .contact h1 {
  margin: 0;
  color: var(--text);
  font-size: 1.95rem;
  line-height: 1.15;
  font-weight: 800;
}

.sidebar .contact a {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1rem 1rem 1.3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1.28;
  font-weight: 700;
  font-style: normal !important;
}



.sidebar .contact img {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f7f7f8 0%, #edf0f3 100%);
  border-radius: 1.3rem;
  padding: 1rem;
}

.sidebar .contact a p {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.course {
  min-width: 0;
  display: grid;
  gap: 1.6rem;
}

.course h1 {
  margin: 0;
  font-size: clamp(1.95rem, 2.3vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
}

.course h1 i {
  color: var(--accent);
  margin-right: 0.7rem;
}

.hore {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.2rem;
}

.video {
  min-width: 0;
  display: grid;
  gap: 0.9rem;
}

.video > a {
  display: grid;
  gap: 0.9rem;
  color: inherit;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 1.8rem;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.video img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border: 0;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, #eef0f3 0%, #dde2e8 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.video h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.32;
  font-weight: 700;
  font-style: italic;
}

#custom-alert {
  display: none;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(88vw, 22rem) !important;
  max-width: min(88vw, 22rem) !important;
  padding: 5.3rem 1.1rem 4rem !important;
  background:
    radial-gradient(circle at top right, rgba(30, 64, 175, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%) !important;
  border: 1px solid rgba(30, 64, 175, 0.14) !important;
  border-radius: 1.9rem !important;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18) !important;
  text-align: center !important;
  z-index: 1000 !important;
  overflow: hidden;
}

#custom-alert::before,
#custom-alert::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

#custom-alert::before {
  content: "";
  top: 1.3rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background:
    url("/images/market-cart.png") center / 54% no-repeat,
    linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 12px 22px rgba(30, 64, 175, 0.16);
}

#custom-alert::after {
  content: "";
  bottom: 1.2rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background:
    url("/images/check.png") center / 70% no-repeat,
    linear-gradient(180deg, #ebfff2 0%, #c9f3d8 100%);
  box-shadow: 0 10px 18px rgba(31, 139, 76, 0.18);
}

#custom-alert img {
  display: none !important;
}

#custom-alert h3 {
  margin: 0 !important;
  font-size: clamp(1.34rem, 1.1vw, 1.7rem) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}

#custom-alert h3::after {
  content: "Presmerovávame vás do košíka...";
  display: block;
  margin-top: 1.1rem;
  font-size: 1.34rem;
  line-height: 1.55;
  font-weight: 500;
  color: #4b5563;
}

#custom-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.46) !important;
  backdrop-filter: blur(3px);
  z-index: 999 !important;
}

@media (max-width: 640px) {
  #custom-alert {
    width: min(88vw, 20.5rem) !important;
    max-width: min(88vw, 20.5rem) !important;
    padding: 4.8rem 1rem 3.6rem !important;
    border-radius: 1.7rem !important;
  }

  #custom-alert::before {
    top: 1.15rem;
    width: 3.9rem;
    height: 3.9rem;
  }

  #custom-alert::after {
    bottom: 1.05rem;
    width: 2.9rem;
    height: 2.9rem;
  }

  #custom-alert h3 {
    font-size: 1.22rem !important;
  }

  #custom-alert h3::after {
    margin-top: 0.9rem;
    font-size: 1.2rem;
  }
}

#loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  display: none;
  place-items: center;
  z-index: 1001;
}

#loader-overlay.show {
  display: grid;
}

.spinner {
  width: 4.8rem;
  height: 4.8rem;
  border: 4px solid #f0f0f0;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.home-search-section {
  width: 100%;
  margin: 0 0 1.8rem;
  padding: 0;
}

.home-search-section .container {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--surface);
  padding: 0.8rem 1.2rem;
}

.home-search-form {
  position: relative;
}

.home-search-input-wrap {
  position: relative;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #f0eeee;
  border-radius: 999px;
  padding: 0 1.8rem 0 5.9rem;
}

.home-search-input-wrap i {
  position: absolute;
  left: -0.9rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 10px 18px rgba(30, 64, 175, 0.24);
}

#home-search-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  color: #222;
  outline: none;
}

#home-search-input::placeholder {
  color: #737373;
}

.home-search-results {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  right: 0;
  display: none;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 40;
}

.home-search-results.active {
  display: block;
}

.home-search-result-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 1.4rem;
  border-top: 1px solid #f3f4f6;
}

.home-search-result-item:first-child {
  border-top: 0;
}

.home-search-result-item img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.home-search-result-text strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.45rem;
}

.home-search-result-text span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.home-search-no-results {
  padding: 1.4rem;
  text-align: center;
  color: var(--muted);
}

.retro {
  margin-bottom: 1.6rem;
}

.retro-categories {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
}

.retro-categories h2 {
  margin: 0 0 1.2rem;
  text-align: center;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.retro-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.retro-category-card {
  min-height: 8.4rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid #bfdbfe;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 0.9rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex: 0 1 22rem;
}



.retro-category-card__image {
  flex: 0 0 5rem !important;
  width: 5rem !important;
  min-width: 5rem !important;
  height: 5rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.retro-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.retro-category-card__content {
  min-width: 0;
}

.retro-category-card__content h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.retro-category-card__content p {
  display: none;
}

.promo-bubble-inline {
  margin: 0 0 2rem;
  background: var(--accent);
  color: #fff;
  padding: 1.2rem 1.6rem;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 14px 24px rgba(30, 64, 175, 0.18);
}

.promo-bubble-inline i {
  font-size: 1.5rem;
}

.course .box-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem 1.6rem;
  width: 100%;
  margin-bottom: 2.6rem;
}

.course .box-container > a {
  display: flex;
  flex: 1 1 calc(50% - 0.8rem);
  max-width: calc(50% - 0.8rem);
}

.course .box-container .box {
  min-height: 26.4rem;
  height: 100%;
  background: #fcfcfc;
  border: 1px solid #efefef;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}



.course .box-container .box .image {
  flex: 0 0 18.8rem;
  min-width: 20rem;
  background: linear-gradient(180deg, #eef0f3 0%, #dde2e8 100%);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

.course .box-container .box .image img {
  width: 104%;
  height: 100%;
  max-height: 18.6rem;
  object-fit: contain;
}



.course .box-container .box .kosik {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.45rem 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.course .box-container .box .kosik h5,
.course .hide {
  display: none;
}

.course .box-container .box h2 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
}

.course .box-container .box h3 {
  margin: 0.9rem 0 0;
  font-size: 1.24rem;
  line-height: 1.42;
  font-weight: 500;
  color: #4b5563;
}

.course .spolecne {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  padding-bottom: 2rem;
}

.course .box-container .box .kosik > p,
.course .box-container .box .spolecne > p {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  font-size: clamp(1.45rem, 1.1vw, 1.85rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.course .box-container .box .kosik > p del,
.course .box-container .box .kosik > p s,
.course .box-container .box .kosik > p .old-price,
.course .box-container .box .spolecne > p del,
.course .box-container .box .spolecne > p s,
.course .box-container .box .spolecne > p .old-price {
  color: #6b6b6b;
  text-decoration-thickness: 0.12em;
}

.course .box-container .box .kosik > p strong,
.course .box-container .box .kosik > p b,
.course .box-container .box .kosik > p .new-price,
.course .box-container .box .kosik > p span:last-child,
.course .box-container .box .spolecne > p strong,
.course .box-container .box .spolecne > p b,
.course .box-container .box .spolecne > p .new-price,
.course .box-container .box .spolecne > p span:last-child {
  color: var(--accent);
}

.course .box-container .box .spolecne > p[style] {
  color: var(--muted);
  font-size: 1.3rem;
  padding-bottom: 0.2rem;
}

.course .box-container .box .form,
.course .box-container .box form {
  margin: 0;
  width: 100%;
  max-width: 22rem;
}

.course .box-container .box button {
  width: 100%;
  min-height: 4.2rem;
  border: 0;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.2s ease;
}



.course .box-container .box button i {
  font-size: 1.3rem;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding-bottom: 1rem;
}

.pagination a {
  color: var(--text);
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  background-color: #f3f4f6;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}



.pagination a.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cart,
.floating-search-btn,
#backToTop,
.open-chat-btn {
  position: fixed;
  right: var(--floating-edge);
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  z-index: 150;
}

.cart {
  bottom: 8.2rem;
  background: var(--accent);
}

.cart a {
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.floating-search-btn {
  bottom: 14.6rem;
  background: var(--accent);
  color: #fff;
  font-size: 2.2rem;
}

#backToTop {
  bottom: 1.8rem;
  display: none;
  background: #e9e9ea;
  color: #fff;
  font-size: 2rem;
}

.open-chat-btn {
  left: var(--floating-edge);
  right: auto;
  bottom: 8.2rem;
  background: #fff;
  color: var(--accent);
  border: 2px solid rgba(30, 64, 175, 0.12);
  font-size: 2rem;
}

#chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 230;
}

#chat-widget {
  position: fixed;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: min(30rem, calc(100vw - 8rem));
  max-height: min(46rem, calc(100vh - 10rem));
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 30px 50px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  z-index: 240;
}

.cw-header {
  padding: 1.1rem 1.4rem;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.45rem;
}

.cw-header button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.cw-body {
  padding: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.cw-body button,
#cw-submit {
  min-height: 4.1rem;
  border: 0;
  border-radius: 999px;
  background: #f8f9fb;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0 1.2rem;
  text-align: left;
}

#cw-selected-topic,
#cw-final-msg {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
}

.cw-input-container {
  display: grid;
  gap: 1rem;
}

.cw-input-container input,
.cw-input-container textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 1.4rem;
  padding: 1rem 1.2rem;
  outline: none;
  font-size: 12px;
}

.cw-input-container textarea {
  min-height: 8.8rem;
  resize: vertical;
}

#cw-submit,
.cw-input-container button {
  background: var(--accent);
  color: #fff;
  text-align: center;
}

footer {
  width: 100%;
  margin-top: 4.8rem;
  background:
    linear-gradient(180deg, rgba(30, 64, 175, 0.98) 0, rgba(30, 64, 175, 0.98) 4px, transparent 4px),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.18), transparent 30%),
    linear-gradient(135deg, #1f242b 0%, #2e3640 48%, #172554 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 35%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.footer-container,
.footer-bottom {
  width: min(100%, calc(var(--page-max) + (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.8rem, 2vw, 3.2rem);
  padding-top: 3.2rem;
  padding-bottom: 2.6rem;
}

.footer-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-section h3 {
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-bottom: 0.9rem;
  font-size: 1.68rem;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.8rem;
  height: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #1e40af 100%);
}

.footer-section p,
.footer-section ul li,
.footer-section ul li a,
.contacty ul li span {
  font-size: 1.4rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.78rem;
  width: 100%;
}

.footer-section ul li a {
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}



.contacty ul li {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.9rem;
  align-items: start;
}

.contacty ul li i {
  color: #60a5fa;
  font-size: 1.45rem;
  margin-top: 0.25rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}



.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  padding-bottom: 1.9rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1440px) {
  :root {
    --page-max: 1020px;
  }

  html {
    font-size: 56.5%;
  }
}

@media (max-width: 1280px) {
  :root {
    --page-max: 960px;
  }

  html {
    font-size: 55%;
  }

  header .navbar ul {
    gap: 2.8rem;
  }
}

@media (max-width: 1000px) {
  main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .hore {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 1000px) {
  .cart,
  .floating-search-btn,
  #backToTop {
    right: 3rem;
  }

  .open-chat-btn {
    left: 3rem;
    right: auto;
  }
}

@media (max-width: 1080px) {
  header .container {
    min-height: 6.2rem;
    padding-inline: var(--page-gutter);
    justify-content: space-between;
  }

  header .header-left {
    position: static;
    transform: none;
  }

  header .header-actions {
    display: none;
  }

  header .fa-bars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9.2rem;
    min-height: 4.2rem;
    padding: 0 1.6rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.24);
  }

  header .navbar {
    position: absolute;
    top: calc(100% + 1rem);
    left: var(--page-gutter);
    right: var(--page-gutter);
    margin-left: 0;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  header .navbar.nav-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  header .navbar li {
    position: static;
    transform: none;
    border-top: 1px solid #f2f2f2;
  }

  header .navbar li:first-child {
    border-top: 0;
  }

  header .navbar a {
    width: 100%;
    padding: 1.3rem 1.6rem;
    font-size: 1.7rem;
  }

  header .navbar .mobile-only {
    display: block;
  }

  header .navbar .flag-item a {
    justify-content: flex-start;
    padding: 1.3rem 1.6rem;
  }

  header .navbar .flag-item img {
    width: 2.5rem;
    height: 1.7rem;
  }

  header .navbar .flag-item span {
    display: inline-block;
  }

  header .fa-bars.fa-times {
    background: var(--accent-dark);
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.6rem;
  }
}

@media (max-width: 1000px) {
  .course .box-container > a {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .course .box-container .box .image {
    flex-basis: 16.5rem;
    min-width: 16.5rem;
  }

  .course .box-container .box .kosik {
    padding: 1.4rem 1.4rem 0;
  }

  .course .box-container .box h2 {
    font-size: 1.75rem;
  }

  .course .box-container .box h3 {
    font-size: 1.18rem;
  }

  .course .box-container .box button {
    min-height: 3.7rem;
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .retro-categories {
    padding: 1.6rem;
  }

  .retro-categories h2 {
    font-size: 1.55rem;
  }

  .retro-category-card {
    flex: 0 1 calc(50% - 0.5rem);
    min-height: 7.8rem;
    padding: 0.9rem;
  }

  .retro-category-card__image {
    flex: 0 0 4.2rem !important;
    width: 4.2rem !important;
    min-width: 4.2rem !important;
    height: 4.2rem !important;
  }

  .retro-category-card__content h3 {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.6rem;
    padding-bottom: 2rem;
  }

  .footer-section h3 {
    margin-bottom: 1.2rem;
    font-size: 1.58rem;
  }

  .footer-section p,
  .footer-section ul li,
  .footer-section ul li a,
  .contacty ul li span {
    font-size: 1.34rem;
  }

  .footer-section ul {
    gap: 0.65rem;
  }

  .social-icons a {
    width: 3.8rem;
    height: 3.8rem;
  }

  .footer-bottom {
    padding-top: 1.35rem;
    padding-bottom: 1.7rem;
  }

  .footer-bottom p {
    font-size: 1.17rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 58%;
  }

  header .top-banner h5 {
    font-size: 1.2rem;
  }

  main {
    padding-inline: 1.2rem;
    padding-top: 1.2rem;
  }

  .home-search-section .container {
    padding: 0.8rem 1rem;
  }

  .home-search-input-wrap {
    min-height: 4.8rem;
    padding-left: 6.2rem;
  }

  .home-search-input-wrap i {
    left: -0.8rem;
    width: 3.8rem;
    height: 3.8rem;
  }

  .course h1 {
    font-size: 1.9rem;
  }

  .video iframe {
    border-radius: 1.5rem;
  }

  .video img {
    border-radius: 1.5rem;
  }

  .video h2 {
    font-size: 1.35rem;
  }

  .course .box-container .box {
    min-height: auto;
    height: auto;
  }

  .course .box-container .box .image {
    flex-basis: 13.6rem;
    min-width: 13.6rem;
    padding: 1rem;
  }

  .course .box-container .box .image img {
    max-height: 11.8rem;
  }

  .cart,
  .floating-search-btn,
  #backToTop,
  .open-chat-btn {
    right: 2.4rem;
    width: 4.8rem;
    height: 4.8rem;
  }

  .open-chat-btn {
    left: 2.2rem;
    right: auto;
    bottom: 13rem;
  }

  .cart {
    bottom: 13rem;
  }

  .floating-search-btn {
    bottom: 19.4rem;
  }

  #backToTop {
    bottom: 2.4rem;
  }

  #chat-widget {
    left: 50%;
    right: auto;
    top: auto;
    width: min(27.5rem, calc(100vw - 2rem));
    max-height: min(42rem, calc(100vh - 9rem));
    bottom: 20rem;
    transform: translateX(-50%);
  }
}

@media (max-width: 500px) {
  .course .box-container .box {
    display: grid;
    grid-template-columns: 9.8rem minmax(0, 1fr);
  }

  .course .box-container .box .image {
    min-width: 9.8rem;
    padding: 0.8rem;
  }

  .course .box-container .box .image img {
    max-height: 9.4rem;
  }

  .course .box-container .box .kosik {
    padding: 1rem 1rem 0;
  }

  .course .box-container .box h2 {
    font-size: 1.45rem;
  }

  .course .box-container .box h3 {
    margin-top: 0.6rem;
    font-size: 1.08rem;
  }

  .course .box-container .box .spolecne {
    gap: 0.8rem;
  }

  .course .box-container .box .spolecne > p {
    font-size: 1.32rem;
    gap: 0.25rem 0.7rem;
  }
}

@media (max-width: 420px) {
  header .container {
    padding-inline: 1.2rem;
  }

  header .logo img {
    width: 14.2rem;
  }

  .retro-category-card {
    min-height: 7.2rem;
    padding: 0.8rem;
  }

  .retro-category-card__image {
    flex: 0 0 3.8rem !important;
    width: 3.8rem !important;
    min-width: 3.8rem !important;
    height: 3.8rem !important;
  }

  .retro-category-card__content h3 {
    font-size: 0.96rem;
  }

  .footer-container,
  .footer-bottom {
    padding-inline: 1.6rem;
  }

  .contacty ul li {
    grid-template-columns: 1.65rem 1fr;
    gap: 0.75rem;
  }
}

@supports (content-visibility: auto) {
  .sidebar .contact a {
    content-visibility: auto;
    contain-intrinsic-size: 14rem;
  }
}

.course .hlavna {
  min-width: 0;
  display: grid;
  gap: 2rem;
}

.course .box-container {
  display: grid;
  gap: 0;
  margin-bottom: 0;
}

.course .box-container .box {
  min-height: auto;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.course .box-container .box .image {
  flex: 0 0 27rem;
  min-width: 27rem;
  padding: 2rem 1.8rem;
}

.course .box-container .box .image img {
  width: 100%;
  max-width: 23rem;
  max-height: 22rem;
  margin: 0 auto;
}

.course .box-container .box .kosik {
  padding: 2rem 2.2rem;
}

.course .box-container .box h2 {
  font-size: clamp(2rem, 2vw, 2.7rem);
}

.course .box-container .box h4 {
  margin: 0.95rem 0 0;
  font-size: 1.42rem;
  line-height: 1.58;
  font-weight: 500;
  color: #4b5563;
}

.course .box-container .box .kosik > p {
  margin-top: 1.2rem;
  font-size: clamp(1.65rem, 1.3vw, 2.15rem);
}

.course .box-container .box .info {
  margin-top: auto;
  padding-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
  justify-items: start;
}

.course .box-container .box .form,
.course .box-container .box form {
  width: auto;
  max-width: none;
}

.course .box-container .box button {
  width: auto;
  min-width: 22rem;
  min-height: 4.6rem;
  padding: 0 2rem;
  border-radius: 1.2rem;
  font-size: 1.32rem;
}

.course .box-container .box .kosik h5 {
  display: block;
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

.course .box-container .box .kosik > p[style] {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.3rem;
  font-style: italic;
}

.produktinfo {
  min-width: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  box-shadow: var(--shadow-sm);
  padding: 2.4rem 2.6rem;
  display: grid;
  gap: 1.4rem;
}

.produktinfo > * {
  max-width: 100%;
}

.produktinfo > h1 {
  margin: 0;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.95rem, 2vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
}

.produktinfo h2,
.produktinfo h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: clamp(1.65rem, 1.45vw, 2.15rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.produktinfo h4 {
  margin: 1.1rem 0 0.3rem;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text);
}

.produktinfo p,
.produktinfo li {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.72;
  color: #374151;
}

.produktinfo ul,
.produktinfo ol {
  margin: 0;
  padding-left: 2rem;
  display: grid;
  gap: 0.65rem;
}

.produktinfo strong,
.produktinfo b {
  color: var(--text);
}

.produktinfo a {
  color: var(--accent);
}

.produktinfo iframe {
  width: min(100%, 72rem) !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 1rem auto 1.4rem;
  border: 0;
  border-radius: 1.8rem;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}

.produktinfo img {
  width: auto !important;
  max-width: min(100%, 72rem) !important;
  height: auto !important;
  display: block;
  margin: 1rem auto 1.4rem;
  border-radius: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.produktinfo table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 1000px) {
  .course .box-container .box {
    display: grid;
    grid-template-columns: 22rem minmax(0, 1fr);
  }

  .course .box-container .box .image {
    min-width: 0;
    padding: 1.7rem 1.5rem;
  }

  .course .box-container .box .image img {
    max-width: 18.5rem;
    max-height: 18rem;
  }

  .course .box-container .box .kosik {
    padding: 1.8rem;
  }

  .course .box-container .box h2 {
    font-size: 2rem;
  }

  .course .box-container .box h4 {
    font-size: 1.34rem;
  }

  .course .box-container .box .kosik > p {
    font-size: 1.6rem;
  }

  .produktinfo {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .course .hlavna {
    gap: 1.5rem;
  }

  .course .box-container .box {
    grid-template-columns: 1fr;
  }

  .course .box-container .box .image {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.2rem;
  }

  .course .box-container .box .image img {
    max-width: 17.5rem;
    max-height: 15.8rem;
  }

  .course .box-container .box .kosik {
    padding: 1.5rem;
  }

  .course .box-container .box h2 {
    font-size: 1.8rem;
  }

  .course .box-container .box h4 {
    font-size: 1.28rem;
  }

  .course .box-container .box .kosik > p {
    font-size: 1.5rem;
  }

  .course .box-container .box .info {
    gap: 0.8rem;
  }

  .course .box-container .box button {
    width: 100%;
    min-width: 0;
  }

  .course .box-container .box .kosik h5 {
    font-size: 1.18rem;
  }

  .produktinfo {
    padding: 1.6rem;
    gap: 1.2rem;
  }

  .produktinfo > h1 {
    font-size: 1.8rem;
  }

  .produktinfo h2,
  .produktinfo h3 {
    font-size: 1.55rem;
  }

  .produktinfo h4 {
    font-size: 1.34rem;
  }

  .produktinfo p,
  .produktinfo li {
    font-size: 1.34rem;
  }

  .produktinfo iframe,
  .produktinfo img {
    border-radius: 1.4rem;
  }
}

@media (max-width: 420px) {
  .course .box-container .box .kosik {
    padding: 1.35rem;
  }

  .course .box-container .box h2 {
    font-size: 1.65rem;
  }

  .course .box-container .box h4 {
    font-size: 1.22rem;
  }

  .course .box-container .box .kosik > p {
    font-size: 1.42rem;
  }

  .produktinfo {
    padding: 1.35rem;
  }
}

.produkt-reference-section {
  width: 100%;
  margin-top: 3.2rem;
  padding: 2.4rem 2.6rem;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.produkt-reference-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.produkt-reference-head-left {
  display: grid;
  gap: 0.65rem;
}

.produkt-reference-title-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.produkt-reference-head h2 {
  margin: 0;
  font-size: clamp(1.95rem, 2vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
}

.produkt-reference-average {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1.15rem;
  background: linear-gradient(180deg, #fff7e5 0%, #fff1c7 100%);
  border: 1px solid rgba(245, 180, 0, 0.22);
  border-radius: 999px;
}

.produkt-reference-average-stars,
.produkt-reference-stars {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: #f5b400;
  line-height: 1;
}

.produkt-reference-average-stars {
  font-size: 1.55rem;
}

.produkt-reference-average-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.produkt-reference-count {
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--muted);
}

.produkt-reference-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 4.8rem;
  padding: 0 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 1.38rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}



.produkt-reference-list {
  width: 100%;
  display: grid;
  gap: 1.2rem;
}

.produkt-reference-item {
  width: 100%;
  padding: 1.7rem 1.8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.produkt-reference-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
  width: 100%;
  margin-bottom: 1rem;
}

.produkt-reference-author-box {
  min-width: 0;
  display: grid;
  gap: 0.55rem;
}

.produkt-reference-author {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
  word-break: break-word;
}

.produkt-reference-stars {
  font-size: 1.5rem;
}

.produkt-reference-date {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.produkt-reference-text {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #374151;
  word-break: break-word;
}

.produkt-reference-empty {
  padding: 2rem 1.8rem;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  border: 1px dashed #dfd7d7;
  border-radius: 1.5rem;
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--muted);
}

.reference-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}

.reference-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1.3rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 1.32rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}



.reference-pagination a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .produkt-reference-section {
    margin-top: 2.4rem;
    padding: 1.8rem 1.5rem;
  }

  .produkt-reference-head {
    align-items: stretch;
    margin-bottom: 1.7rem;
  }

  .produkt-reference-head h2 {
    font-size: 2rem;
  }

  .produkt-reference-top {
    flex-direction: column;
    gap: 0.9rem;
  }

  .produkt-reference-author {
    font-size: 1.55rem;
  }

  .produkt-reference-text {
    font-size: 1.34rem;
    line-height: 1.65;
  }

  .produkt-reference-date {
    white-space: normal;
  }

  .produkt-reference-add {
    width: 100%;
  }

  .reference-pagination a {
    min-width: 3.8rem;
    height: 3.8rem;
    font-size: 1.26rem;
  }
}

@media (max-width: 480px) {
  .produkt-reference-title-row {
    gap: 0.85rem;
  }

  .produkt-reference-average {
    padding: 0.6rem 0.95rem;
  }

  .produkt-reference-average-stars {
    font-size: 1.45rem;
  }

  .produkt-reference-average-value {
    font-size: 1.22rem;
  }

  .produkt-reference-item {
    padding: 1.35rem 1.2rem;
  }

  .produkt-reference-author {
    font-size: 1.45rem;
  }

  .produkt-reference-stars {
    font-size: 1.4rem;
  }

  .produkt-reference-text {
    font-size: 1.28rem;
  }

  .produkt-reference-empty {
    padding: 1.6rem 1.3rem;
    font-size: 1.32rem;
  }
}

.about-page-main {
  padding-top: 1.8rem;
}

.about-page-main .course {
  margin-top: 0;
}

.about-page-main .course .hlavna {
  gap: 2.4rem;
}

.about-story {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 2.8vw, 3.2rem);
  background:
    radial-gradient(circle at top right, rgba(30, 64, 175, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
}

.about-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(30, 64, 175, 0.18) 100%);
}

.about-story > h1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
}

.about-story > h1 i {
  color: var(--accent);
  font-size: 1.8rem;
}

.about-story > p,
.about-story > ul,
.about-story > ol {
  max-width: 78rem;
}

.about-story p > strong:only-child {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--accent);
  font-size: 1.24rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-story p em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

.about-story img {
  width: min(100%, 76rem) !important;
  padding: 0.9rem;
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1000px) {
  .about-page-main {
    padding-top: 1.6rem;
  }

  .about-story {
    padding: 2.2rem;
  }
}

@media (max-width: 640px) {
  .about-page-main {
    padding-top: 1.2rem;
  }

  .about-page-main .course .hlavna {
    gap: 1.6rem;
  }

  .about-story {
    padding: 1.8rem 1.5rem;
    gap: 1.2rem;
  }

  .about-story > h1 {
    gap: 0.85rem;
    padding-bottom: 1rem;
  }

  .about-story > h1 i {
    font-size: 1.55rem;
  }

  .about-story p > strong:only-child {
    font-size: 1.15rem;
    padding: 0.35rem 0.85rem;
  }

  .about-story img {
    padding: 0.7rem;
    border-radius: 1.5rem;
  }
}

@media (max-width: 420px) {
  .about-story {
    padding: 1.55rem 1.25rem;
  }

  .about-story > h1 {
    gap: 0.7rem;
  }

  .about-story > h1 i {
    font-size: 1.45rem;
  }

  .about-story p > strong:only-child {
    font-size: 1.08rem;
    letter-spacing: 0.04em;
  }
}

.one-sprava-page-main {
  padding-top: 1.8rem;
}

.one-sprava-page-main .course {
  margin-top: 0;
}

.one-sprava-page-main .course .hlavna {
  gap: 2.4rem;
}

.article-story {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 2.8vw, 3.2rem);
  background:
    radial-gradient(circle at top right, rgba(30, 64, 175, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
}

.article-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(30, 64, 175, 0.18) 100%);
}

.article-story > * {
  max-width: 100%;
}

.article-story > h1 {
  margin: 0;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: clamp(2.2rem, 2.3vw, 3.2rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
}

.article-story h2,
.article-story h3 {
  margin: 1.8rem 0 0.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(236, 231, 231, 0.9);
  font-size: clamp(1.65rem, 1.45vw, 2.15rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.article-story h4 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.45rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--text);
}

.article-story p,
.article-story li,
.article-story blockquote {
  max-width: 82rem;
  font-size: 1.44rem;
  line-height: 1.78;
  color: #374151;
}

.article-story ul,
.article-story ol {
  margin: 0;
  padding-left: 2rem;
  display: grid;
  gap: 0.65rem;
}

.article-story strong,
.article-story b {
  color: var(--text);
  font-weight: 800;
}

.article-story a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}



.article-story blockquote {
  margin: 0.6rem 0;
  padding: 1.45rem 1.6rem;
  background: #eff6ff;
  border-left: 0.4rem solid var(--accent);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.article-story iframe,
.article-story video {
  width: min(100%, 78rem) !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 1rem auto 1.5rem;
  border: 0;
  border-radius: 1.8rem;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}

.article-story img {
  width: min(100%, 78rem) !important;
  max-width: min(100%, 78rem) !important;
  height: auto !important;
  display: block;
  margin: 1rem auto 1.5rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow-sm);
}

.article-story table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.article-story hr {
  border: 0;
  border-top: 1px solid rgba(236, 231, 231, 0.9);
  margin: 1.4rem 0;
}

@media (max-width: 1000px) {
  .one-sprava-page-main {
    padding-top: 1.6rem;
  }

  .article-story {
    padding: 2.2rem;
  }
}

@media (max-width: 640px) {
  .one-sprava-page-main {
    padding-top: 1.2rem;
  }

  .one-sprava-page-main .course .hlavna {
    gap: 1.6rem;
  }

  .article-story {
    padding: 1.8rem 1.5rem;
    gap: 1.2rem;
  }

  .article-story > h1 {
    padding-bottom: 1rem;
    font-size: 2.3rem;
  }

  .article-story h2,
  .article-story h3 {
    margin-top: 1.45rem;
    padding-top: 1rem;
    font-size: 1.55rem;
  }

  .article-story h4 {
    font-size: 1.34rem;
  }

  .article-story p,
  .article-story li,
  .article-story blockquote {
    font-size: 1.34rem;
    line-height: 1.7;
  }

  .article-story iframe,
  .article-story video,
  .article-story img {
    border-radius: 1.45rem;
  }

  .article-story img {
    padding: 0.65rem;
  }
}

@media (max-width: 420px) {
  .article-story {
    padding: 1.55rem 1.25rem;
  }

  .article-story > h1 {
    font-size: 2.05rem;
  }

  .article-story h2,
  .article-story h3 {
    font-size: 1.42rem;
  }

  .article-story p,
  .article-story li,
  .article-story blockquote {
    font-size: 1.28rem;
  }
}
/* touch-hover-disable */
@media (max-width: 1000px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
