/* ===============================
   RESET A ZÁKLAD
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   PROMĚNNÉ (pokud už máš z minula, klidně smaž)
=============================== */
:root {
  --gold: #ffd700;
  --gold-light: #ffea8a;
  --text: #eee;
  --text-muted: #ccc;
  --accent: #ff9800;
  --sidebar-bg: linear-gradient(to bottom, #153f19, #19461c);
  --shadow: rgba(0, 0, 0, 0.2);
}

html {
  background-color: #1a0000;
  background: linear-gradient(to bottom, #1a0000 0%, #0b0b0b 60%, #000000 100%);
}

body {
  min-height: 100vh;
  background-color: #111111;
  color: #eee;
  font-family: "Noto Serif", serif;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  line-height: 1.6;
}

/* ===============================
   TYPOGRAFIE
=============================== */
nav,
.navbar,
.nav-links a {
  font-family: "Cinzel", serif;
}

h1,
h2 {
  font-family: "Cinzel", serif;
  color: #ffd700;
}

h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: #f0f0f0;
}

h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
}
h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
}
h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.product-card h3,
.product-card p,
.product-card a {
  font-family: "Poppins", sans-serif;
}

/* Linky */
a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffe66a;
}

/* ===============================
   HLAVIČKA
===============================*/
/*.header {
  position: relative;
  top: 10px;
  z-index: 1000;
  background: url("/images/pix11.webp") no-repeat center / cover;
  height: clamp(280px, 45vh, 520px);
  color: white;
  padding: 10px 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (min-width: 769px) {
  .header {
    height: clamp(380px, 45vh, 520px);
    top: 0;
  }
}

@media (min-width: 1200px) {
  .header {
    height: clamp(420px, 40vh, 560px);
  }
}

/* ===============================
   LAYOUT
===============================*/
/*.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.logo img {
  height: 120px;
  width: auto;
}

.title {
  flex: 1;
  text-align: center;
  min-width: 250px;
}

/* ===============================
   HERO NADPIS
===============================*/

/*.uvodni-nadpis {
  display: inline-block;
  font-weight: 700;
  font-family: "Cinzel", "Noto Serif SC", serif;
  letter-spacing: 0.08em;
  line-height: 0.9;
  margin-bottom: 6px;
  font-size: clamp(3rem, 8vw, 4.5rem);

  background: linear-gradient(180deg, #ffea8a 0%, #ffd700 40%, #e6c200 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 6px 10px rgba(0, 0, 0, 0.6),
    0 0 8px rgba(255, 215, 0, 0.9),
    0 0 14px rgba(255, 200, 0, 0.8),
    0 0 22px rgba(255, 180, 0, 0.6),
    0 15px 30px rgba(0, 0, 0, 0.6);

  
  animation:
    slide-in-left 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    gold-flicker 2.4s infinite linear;
}


@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-120px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes gold-flicker {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.2);
  }
}

.sekce-nadpis {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 1.6rem;
  padding: 10px;
}*/

/* ===============================
   HLAVIČKA
===============================*/
.header {
  position: relative;

  background: url("/images/pix11.webp") no-repeat center / cover;

  height: clamp(280px, 45vh, 520px);

  color: white;
  padding: 10px 15px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);

  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 25%,
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0) 100%
  );

  z-index: 0;
}

.container {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 1200px;
  margin: 0 auto;

  gap: 10px;
  flex-wrap: nowrap;
}

/* ===============================
   RESPONSIVE HEADER HEIGHT
===============================*/
@media (min-width: 769px) {
  .header {
    height: clamp(380px, 45vh, 520px);
    top: 0;
  }
}

@media (min-width: 1200px) {
  .header {
    height: clamp(420px, 40vh, 560px);
  }
}

/* ===============================
   LOGO
===============================*/
.logo img {
  height: clamp(70px, 12vw, 120px);
  width: auto;
}

/* ===============================
   TITLE BLOCK
===============================*/
.title {
  flex: 1;
  text-align: center;
  min-width: 250px;
}

/* ===============================
   HERO NADPIS
===============================*/
.uvodni-nadpis {
  display: inline-block;

  font-weight: 700;
  font-family: "Cinzel", "Noto Serif SC", serif;

  letter-spacing: 0.08em;
  line-height: 0.9;

  margin-bottom: 6px;

  font-size: clamp(3rem, 8vw, 4.5rem);

  background: linear-gradient(180deg, #ffea8a 0%, #ffd700 40%, #e6c200 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: brightness(1.05);
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.75),
    0 4px 14px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(255, 215, 0, 0.25);

  animation: slide-in-left 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* slide-in animace */
@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-120px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ===============================
   SEKCE NADPIS
===============================*/
.sekce-nadpis {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 1.6rem;
  padding: 10px;
}

.hero-subtitle {
  margin-top: 12px;

  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.9);

  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(0, 0, 0, 0.35);

  max-width: 700px;
  margin-left: auto;
  margin-right: auto;

  text-align: center;

  letter-spacing: 0.02em;

  animation: fade-in-subtitle 1.2s ease forwards;
}

@keyframes fade-in-subtitle {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   CTA BUTTON (AFFILIATE BOOST)
===============================*/
.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;

  background: linear-gradient(180deg, #ffd700, #d4a900);
  color: #111;

  font-weight: 700;
  border-radius: 12px;

  text-decoration: none;

  transition: all 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.35);
}

/* ===============================
   MOBILE LAYOUT
===============================*/
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .title {
    min-width: auto;
  }
}

/* ===============================
   NAVIGACE
===============================*/

.navbar {
  position: relative;
  z-index: 1000;
  background: linear-gradient(
    to bottom,
    rgba(21, 63, 25, 0.96),
    rgba(46, 125, 50, 0.96)
  );

  /*backdrop-filter: blur(10px);*/

  padding: 10px 15px;

  height: 70px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  /*gap: 80px;*/
  gap: clamp(25px, 4vw, 60px);
}

.nav-links li a {
  position: relative;

  color: #ffea8a;

  font-weight: 700;

  font-size: 1.05rem;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-links li a:hover {
  color: #ffd700;

  transform: translateY(-2px);
}

.nav-links li a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;

  background: #ffd700;

  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-logo {
  text-decoration: none;
  z-index: 1000;
  /*margin: 0 20px;*/
}

.nav-logo img {
  display: block;

  height: 140px;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;

  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.nav-logo:hover img {
  transform: scale(1.04);

  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 50px;
    margin-top: 0;
  }

  .navbar {
    height: 50px;
    padding: 6px 12px;
  }
}

/* ===============================
   BUTTON – CHOPSTICKS
===============================*/
.btn-chopsticks {
  background: #222;
  border: 2px solid #ffd700;
  border-radius: 50%;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: larger;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-chopsticks:hover {
  transform: scale(1.2);
  box-shadow:
    0 0 15px #ffd700,
    0 0 25px #ffea00;
}

.btn-chopsticks svg,
.proteiny-popis svg {
  color: #ffd700;
}

/* ===============================
   HAMBURGER
===============================*/
/*.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-30%);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffea8a;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}



/*.hamburger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}
.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger.toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}*/

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;

  cursor: pointer;

  position: absolute;
  right: 5px;
  top: 50%;

  transform: translateY(-50%);
}

.hamburger.toggle {
  top: 55%;
}

.hamburger span {
  display: block;

  width: 26px;
  height: 2px;

  background: #ffea8a;

  border-radius: 999px;

  transition:
    transform 0.35s ease,
    opacity 0.25s ease;

  transform-origin: center;
}

.hamburger.toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.filter-hamburger {
  display: none;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  cursor: pointer;
}

.filter-hamburger span {
  display: block;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #ffea8a;

  box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
  .filter-hamburger {
    display: flex;
  }
}
/* ===============================
   MOBIL
===============================*/
@media (max-width: 999px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .logo img {
    height: 60px;
  }

  .nav-logo img {
    height: 120px;
  }

  .title {
    margin-top: -10px;
  }

  .uvodni-nadpis {
    font-size: clamp(1.8rem, 6vw, 3rem);
    margin-top: 20px;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .contact {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 5px;
  }

  .contact div {
    margin-bottom: 3px;
  }

  /* mobile menu */
  .nav-links {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #222;
    align-items: center;
    display: none;
    gap: 15px;
    padding: 15px 0;
    z-index: 1100;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    z-index: 1200;
  }
}

/* ===============================
   SCROLL TO TOP BUTTON
===============================*/
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  background-color: #ffd700;
  border: none;
  border-radius: 50%;

  padding: 12px;
  font-size: 24px;
  cursor: pointer;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;

  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: #ffe66a;
}

@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: 100px;
  }
}

/* ===============================
   HERO
===============================*/
.hero-title span {
  display: block;
  margin-top: 5px;

  font-size: 1.2rem;
  font-weight: 400;
  color: #ffd700;
}

/* ===============================
   IMAGE LINKS – sjednoceno
===============================*/
.image-links,
.image-links-main {
  display: grid;
  gap: 15px;

  max-width: 1200px;
  margin: 40px auto;
  padding: 0 10px;

  text-align: center;
  font-weight: bold;
}

/* font */
.image-links span,
.image-links-main span {
  font-family: "Cinzel", "Noto Serif SC", serif;
}

/* sloupce */
.image-links,
.image-links-main {
  grid-template-columns: repeat(4, 1fr);
}

/* obrázky */
.image-links img,
.image-links-main img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* odkazy */
.image-links a,
.image-links-main a {
  display: grid;
  grid-template-rows: 1fr auto;
  color: #ffea8a;
  text-decoration: none;
}

/* text pod obrázky */
.image-links span,
.image-links-main span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;

  overflow: hidden;
  overflow-wrap: anywhere;

  line-height: 1.2;
  min-height: 3.6em;
  margin-top: 5px;
}

/* small text */
.image-links-main small,
.bento-title small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  color: #333;
}

/* hover */
.image-links a:hover img,
.image-links-main a:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 15px #ffea8a;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.image-links a:hover span,
.image-links-main a:hover span {
  color: #ffea8a;
  text-shadow: 0 0 8px #ffd700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===============================
   RESPONSIVITA
===============================*/

/* tablet */
@media (max-width: 1024px) {
  .image-links,
  .image-links-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .image-links span,
  .image-links-main span {
    font-size: 1rem;
    margin-top: 2px;
  }
}

/* mobil */
@media (max-width: 768px) {
  .image-links,
  .image-links-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .image-links span,
  .image-links-main span {
    font-size: 1rem;
    margin-top: 1px;
  }
}

/* malé mobily */
@media (max-width: 480px) {
  .image-links,
  .image-links-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .image-links span,
  .image-links-main span {
    font-size: 0.95rem;
  }
}

/* ===============================
   ANIMACE
===============================*/
.image-links a.visible {
  animation: fadeUp 0.9s ease-out forwards;
}

.image-links a.visible:nth-child(1) {
  animation-delay: 0.1s;
}
.image-links a.visible:nth-child(2) {
  animation-delay: 0.25s;
}
.image-links a.visible:nth-child(3) {
  animation-delay: 0.4s;
}
.image-links a.visible:nth-child(4) {
  animation-delay: 0.55s;
}

/* ===============================
   TEXT BOX
===============================*/
.proteiny-popis {
  max-width: 1000px;
  margin: 15px auto 30px;
  padding: 10px;

  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;

  background: #1c1c1c;
  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);

  transition: 0.3s;
}

/* ===============================
   Stránky s produkty z XML feedu
===============================*/

.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  min-height: 600px;
}

.product-grid {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* tablet */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* mobile */
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ===============================
   CARD (PRODUCT + SKELETON SHARED FIX)
===============================*/

.product-card,
.skeleton-card {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;

  border-radius: 16px;
}

/* ========================
   PRODUCT CARD
===============================*/

.product-card {
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);

  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  text-align: center;

  padding: 15px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;

  animation: productFade 0.45s ease;
}

/* hover */
.product-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* fade-in při načtení */
@keyframes productFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card img {
  width: 100%;
  height: clamp(130px, 18vw, 210px);

  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  min-height: 40px;
  line-height: 1.15;
}

.product-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin: 3px 0 5px;
  line-height: 1.2;
}

.product-card a {
  display: inline-block;
  padding: 10px 16px;
  background: linear-gradient(135deg, #ff6600, #ff9933);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.product-card a:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .product-card {
    padding: 12px;
  }
}

/* ===============================
   SKELETON CARD (CRITICAL FIX)
===============================*/

.skeleton-card {
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  padding: 15px;

  display: flex;
  flex-direction: column;
}

/* mobile padding */
@media (max-width: 600px) {
  .skeleton-card {
    padding: 5px;
  }
}

/* ===============================
   SKELETON ELEMENTS
===============================*/

.skeleton-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #e5e5e5;
  border-radius: 12px;
  margin-bottom: 12px;
}

.skeleton-line {
  height: 14px;
  background: #e5e5e5;
  border-radius: 999px;
  margin: 8px auto;
}

.skeleton-title {
  width: 85%;
  height: 18px;
}
.skeleton-weight {
  width: 45%;
}
.skeleton-price {
  width: 35%;
}

.skeleton-button {
  width: 100%;
  height: 42px;
  background: #e5e5e5;
  border-radius: 8px;
  margin-top: 14px;
}

/* ===============================
   SHIMMER EFFECT
===============================*/

.skeleton-image,
.skeleton-line,
.skeleton-button {
  position: relative;
  overflow: hidden;
}

.skeleton-image::after,
.skeleton-line::after,
.skeleton-button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ===============================
   INTRO
===============================*/

.intro {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
  text-align: center;
}

.intro p {
  color: #ddd;
  font-size: 0.95 rem;
}

/* ======================================================
   Právní stránky (about, kontakt atd.)
====================================================== */

.link-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* desktop */
  padding: 20px 15px;
  max-width: 900px;
  margin: 20px auto;
}

.link-section a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;

  background: linear-gradient(90deg, #2e7d32, #388e3c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  transition: all 0.3s ease;
  flex: 1 1 150px;
  text-align: center;
}

.link-section a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(90deg, #2e7d32, #388e3c);
  transition: width 0.3s ease;
}

.link-section a:hover::after {
  width: 100%;
}

.link-section a:hover {
  transform: translateY(-2px);
}

/* Mobilní zařízení */
@media (max-width: 600px) {
  .link-section {
    flex-direction: column;
    padding: 15px 10px;
    gap: 8px; /* menší mezery mezi odkazy */
  }

  .link-section a {
    width: 100%;
    flex: none; /* odkazy zabírají jen tolik místa, kolik potřebují */
  }
}

/* ======================================================
   Footer(patička)
====================================================== */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  /*background: #2e7d32;*/
  background: linear-gradient(
    to bottom,
    #153f19,
    /* tmavší začátek */ #2e7d32 /* původní barva */
  );
  color: #fff;
  padding: 15px 80px;
  border-radius: 10px 10px 0 0;
  font-size: 0.9rem;

  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.site-footer a {
  color: #a5d6a7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-socials a:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 15px 40px;
  }
  .footer-right {
    justify-content: center;
  }
}

/* ===============================
   FADE SEKCE
=============================== */
.fade-section {
  opacity: 1;
  transform: translateY(20px);

  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 50px;
  will-change: transform, opacity;
}

.fade-section.visible {
  transform: translateY(0);
}

/* ===============================
   ODKAZY (sjednoceno)
=============================== */
a {
  color: var(--gold);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ===============================
   INTERNÍ ODKAZY
=============================== */
.interni-odkazy {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 40px auto 20px;
  padding: 10px;
}

.interni-odkazy a {
  text-decoration: underline;
}

/* ===============================
   BLOG ČLÁNKY
=============================== */
.clanky {
  max-width: 1100px;
  margin: 5px auto;
  padding: 10px;
  background: #222;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow);
}

.clanky h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--gold);
  text-align: center;
  margin: 40px auto 20px;
}

.clanky h2 {
  font-family: "Noto Serif", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 30px 0 12px;
  color: var(--text);
  border-left: 4px solid var(--gold);
  padding-left: 10px;
  border-radius: 5px;
}

.clanky h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.clanky p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
}

.clanky ul {
  margin: 10px 0 20px 20px;
  color: var(--text);
}

.clanky ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ===============================
   NOTE BOX
=============================== */
.note {
  background: var(--bg-dark);
  padding: 12px 15px;
  border-left: 5px solid var(--gold);
  margin: 20px 0;
  border-radius: 6px;
  color: var(--text);
}

/* ===============================
   HERO OBRÁZEK
=============================== */
.article-hero {
  max-width: 800px;
  margin: 0 auto 25px;
  text-align: center;
}

.article-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px var(--shadow);
}

.article-hero figcaption {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 6px;
  text-align: right;
}

.article-hero figcaption a {
  text-decoration: none;
  font-weight: 500;
}

.article-hero figcaption a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ===============================
   CTA LINKS
=============================== */
.cta-links a {
  display: flex;
  justify-content: center;
  margin: 10px;
  text-decoration: none;
}

/* ===============================
   PRODUKT BOX
=============================== */
.doporuceny-produkt {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
}

.doporuceny-produkt a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-dark);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.doporuceny-produkt a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}

.doporuceny-produkt img {
  width: 180px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
}

.produkt-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.produkt-text strong {
  font-size: 1.2rem;
}

.produkt-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.produkt-text .cta {
  margin-top: 0.4rem;
  width: fit-content;
  background: linear-gradient(to bottom, #153f19, #2e7d32);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.doporuceny-produkt a:hover .cta {
  background: rgb(30, 105, 30);
  transform: scale(1.05);
}

/* ===============================
   LAYOUT STRÁNKY
=============================== */
.products-page {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 15px;
}

/* ===============================
   RESPONSIVITA
=============================== */
@media (max-width: 768px) {
  .clanky {
    padding: 0 10px;
  }

  .clanky h1 {
    font-size: 1.5rem;
  }

  .clanky h2 {
    font-size: 1.3rem;
  }

  .article-hero img {
    max-height: 280px;
  }

  .doporuceny-produkt a {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 0.8rem;
  }

  .doporuceny-produkt img {
    width: 160px;
  }

  .produkt-text {
    align-items: center;
  }

  .produkt-text strong {
    font-size: 1rem;
  }

  .produkt-text p {
    font-size: 0.85rem;
  }

  .produkt-text .cta {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }
}

@media (max-width: 480px) {
  .clanky {
    margin: 0 auto;
  }
}

/* ===============================
   SIDEBAR – Desktop
=============================== */
.sidebar {
  width: 250px;
  flex-shrink: 0;
  align-self: flex-start;

  background: var(--sidebar-bg);
  padding: 20px;
  border-radius: 10px;
  color: var(--text);

  position: sticky;
  top: 20px;

  max-height: calc(100vh - 40px);
  overflow-y: auto;

  box-shadow: 0 10px 30px var(--shadow);

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
  width: 0;
}

/* Nadpis */
.sidebar h2 {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Seznam */
.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

/* Odkazy */
.sidebar a {
  position: relative;
  display: inline-block;
  padding-left: 26px;

  color: var(--gold-light);
  line-height: 1.4;
  text-decoration: none;

  transition: color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* underline efekt */
.sidebar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;

  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--gold);
}

/* Hover + active sjednoceno */
.sidebar a:hover,
.sidebar a:active {
  color: var(--gold);
}

.sidebar a:hover::after,
.sidebar a:active::after {
  transform: scaleX(1);
}

/* ===============================
   PODKATEGORIE
=============================== */
.sidebar ul.subcategory li a {
  padding-left: 24px; /* oprava výpočtu */
  color: var(--gold);
}

.sidebar ul.subcategory li a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  text-align: center;
}

/* ===============================
   PRAVÁ ČÁST – PRODUKTY
=============================== */
.products-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
  width: 100%;
}

@media (max-width: 600px) {
  .products-content {
    max-width: 100%;
    margin: 0;
    padding: 0 5px;
  }
}

/* ===============================
   TLAČÍTKA 
=============================== */
/*.filter-toggle {
  display: none;
  margin: 10px auto;
  padding: 10px 16px;

  background: #ff6600;
  color: #fff;

  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}*/

.close-filter {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;

  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--gold);
  cursor: pointer;

  transition: color 0.3s;
}

.close-filter i {
  pointer-events: none;
}

.close-filter i {
  animation: none !important;
}

/* ===============================
   MOBIL
=============================== */
@media (max-width: 768px) {
  .products-page {
    flex-direction: column;
  }

  .filter-toggle {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -280px;

    width: 260px;
    height: 100vh;

    padding: 60px 20px 20px;
    border-radius: 0;
    z-index: 2000;

    transition: left 0.3s ease;

    max-height: none;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar.open {
    left: 0;
  }

  .close-filter {
    display: block;
  }
}

/* ===============================
   IKONY
=============================== */
/*.fa-spin {
  animation-duration: 0s;
}*/

/* ===============================
   NO PRODUCTS
=============================== */
.no-products {
  margin: 40px 0;
  text-align: left;
}

.no-products-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--gold);
  opacity: 0.9;
  margin-bottom: 15px;
}

.no-products p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.no-products-btn {
  display: inline-block;
  padding: 12px 20px;

  background: var(--gold);
  color: #000;

  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;

  transition: all 0.2s ease;
}

.no-products-btn:hover {
  background: #e6c200;
  color: #111;
  transform: translateY(-2px);
}

/* Mobil optimalizace */
@media (max-width: 768px) {
  .no-products {
    padding: 0 20px;
  }

  .no-products-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ===============================
   COOKIE BANNER
=============================== */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;

  background: #333;
  color: var(--text);

  padding: 15px;
  text-align: center;
  font:
    14px Arial,
    sans-serif;

  z-index: 1000;
  opacity: 0;

  transition:
    bottom 0.5s ease,
    opacity 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
  opacity: 1;
}

.cookie-banner .cookie-link {
  color: var(--accent);
  text-decoration: underline;
  margin-left: 5px;
}

.cookie-banner .cookie-btn {
  margin-left: 10px;
  padding: 5px 12px;

  background: var(--accent);
  color: #fff;

  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;

  transition: background 0.3s ease;
}

.cookie-banner .cookie-btn:hover {
  background: #e68900;
}

/* ===============================
   SEO – ZOBRAZIT VÍCE (FINAL)
=============================== */

.seo-content {
  position: relative;
  max-height: 120px;
  overflow: hidden;

  line-height: 1.6;

  transition:
    max-height 0.5s ease,
    opacity 0.3s ease;
}

/* otevřený stav */
.seo-content.open {
  max-height: none; /* důležité místo none kvůli animaci */
  opacity: 1;
}

/* jemné ztlumení v zavřeném stavu */
.seo-content:not(.open) {
  opacity: 0.95;
}

/* fade gradient */
.seo-content::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    var(--bg-dark) 100%
  );

  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* po otevření zmizí */
.seo-content.open::after {
  opacity: 0;
}

@media (max-width: 768px) {
  .seo-content {
    max-height: 180px; /* nebo klidně 200px */
  }
}

/* ===============================
   BUTTON
=============================== */

.seo-toggle {
  display: block;
  margin: 15px auto;
  padding: 6px 14px;

  width: fit-content; /* důležité */

  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;

  color: var(--gold-light);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;

  transition: all 0.3s ease;
  /* glow základ */
  box-shadow: 0 0 0 rgba(255, 215, 150, 0);
}

.seo-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow:
    0 0 8px rgba(255, 215, 150, 0.3),
    0 0 16px rgba(255, 215, 150, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

/* šipka */
.seo-toggle::after {
  content: " ↓";
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* otočení šipky při otevření */
.seo-content.open + .seo-toggle::after {
  transform: rotate(180deg);
}

/* ===============================
   WRAPPER STYLY
=============================== */

.pozadi-zobrazit-vice,
.seo-doplnek {
  background: var(--bg-dark);
}

.seo-doplnek {
  padding: 0 12px 20px;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

/* nadpis */
.seo-doplnek h2 {
  border-left: 4px solid var(--gold);
  border-radius: 5px;
  padding-left: 10px;
}

/* ===============================
   DROPDOWN
=============================== */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

.dropdown-kategorie summary {
  background: #1a1a1a;
  color: var(--gold);

  padding: 12px;
  margin-bottom: 5px;

  font-weight: 600;
  text-transform: capitalize;

  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

/* šipka */
.dropdown-kategorie summary::after {
  content: "▾";
  position: absolute;
  right: 20px;
  font-size: 1.2rem;

  transition: transform 0.3s ease;
}

.dropdown-kategorie[open] summary::after {
  transform: rotate(180deg);
}

.dropdown-kategorie nav {
  background: var(--bg-dark);
  border-radius: 10px;
}

.dropdown-kategorie ul {
  list-style: none;
  padding: 10px;
}

.dropdown-kategorie a {
  display: block;
  padding: 8px 0;

  color: var(--gold);
  text-decoration: none;

  box-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
}

.dropdown-kategorie a:hover {
  color: var(--gold-light);
}

/* ===============================
   SCROLL LIST
=============================== */
.scrollable-list {
  max-height: 300px;
  overflow-y: auto;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollable-list::-webkit-scrollbar {
  width: 0;
}

/* ===============================
   BLOG GRID
=============================== */
.blog-grid {
  display: grid;
  max-width: 1200px;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  margin: 40px auto;
  padding: 0 10px;
  text-align: center;
}

.blog-card {
  text-decoration: none;
  color: #fff;
}

.blog-card h3 {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  margin-top: 12px;
  line-height: 1.3;
}

.blog-card img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.blog h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--gold);
  text-align: center;
  margin: 40px auto 20px;
}

/* ===============================
   IKONY
=============================== */
.title-hacker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hacker {
  width: clamp(40px, 6vw, 95px);
  aspect-ratio: 1/1;
  object-fit: contain;
}

.icon-article {
  width: clamp(20px, 2vw, 28px);
  margin-right: 8px;
}

.icon,
.icons-hlavni-stranka {
  width: 18px;
  height: 18px;

  stroke: currentColor;
  stroke-width: 2;
  fill: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.icon:hover {
  stroke: var(--accent);
  transform: translateY(-50%) scale(1.2);
  transition:
    transform 0.3s ease,
    stroke 0.3s ease;
}

/* ===============================
   PRÁVNÍ STRÁNKY
=============================== */
.pravni-stranky {
  background: linear-gradient(to bottom, #153f19, #2e7d32);
  padding: 20px;
  min-height: 100vh;

  color: #333;
  font-family: "Roboto", sans-serif;
}

.pravni-stranky main {
  max-width: 900px;
  margin: 40px auto;

  background: #fff;
  padding: 30px 40px;

  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pravni-stranky h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.2rem);

  color: #2e7d32;
  text-align: center;
  margin-bottom: 20px;
}

.pravni-stranky h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;

  margin: 25px 0 10px;
  color: #388e3c;
}

.pravni-stranky p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.pravni-stranky a {
  color: #4caf50;
  font-weight: 500;
}

.pravni-stranky a:hover {
  color: #2e7d32;
  transform: scale(1.03);
}

/* seznam */
.pravni-stranky ul {
  margin-left: 20px;
}

.pravni-stranky li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;

  transition: transform 0.2s ease;
}

.pravni-stranky li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
}

.pravni-stranky li:hover {
  transform: translateX(3px);
}

/* info box */
.pravni-stranky .info-box {
  background: #e6f4ea;
  border-left: 5px solid #4caf50;

  padding: 15px 20px;
  margin: 15px 0;

  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pravni-stranky .info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pravni-stranky .update-info {
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  margin-top: 30px;
}

/* ===============================
   BUTTONS
=============================== */
.load-more-btn {
  display: block;
  margin: 40px auto 0;
  padding: 12px 28px;

  font-size: 15px;
  font-weight: 600;

  background: linear-gradient(135deg, #111, #333);
  color: #fff;

  border: none;
  border-radius: 50px;
  cursor: pointer;

  transition: all 0.3s ease;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ===============================
   DOPORUČUJEME
=============================== */
.doporucujeme {
  max-width: 1100px;
  margin: 20px auto;
  /*padding: 25px 20px;*/

  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border-left: 2px solid #fdd700;

  border-radius: 16px;
  color: #fff;
  text-align: center;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.doporucujeme p.interni-odkazy {
  margin-bottom: 25px;
  color: #ddd;
}

/*.doporucujeme ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;

  list-style: none;
  padding: 0;
}

.doporucujeme li {
  flex: 1 1 180px;
  max-width: 240px;

  background: #2c2c2c;
  padding: 15px 12px;

  border-radius: 14px;
  text-align: center;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.doporucujeme li:hover {
  background: #3e3e3e;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.doporucujeme a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}

.doporucujeme a:hover {
  color: #fff;
  text-decoration: underline;
}*/

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    gap: 10px;
    padding: 0 5px;
  }

  .pravni-stranky main {
    padding: 20px;
    margin: 20px 10px;
  }

  .pravni-stranky h2 {
    font-size: 1.3rem;
  }
}

/*@media (max-width: 480px) {
  .doporucujeme ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .doporucujeme li {
    flex: 0 1 auto; 
    width: 100%;
    max-width: 320px;
  }
}*/
