* {
  box-sizing: border-box;


}


.kategorie {
  
  background-color: #fbfbfa;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}


.mrizka {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  width: 100%;
}


.karta {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.karta:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


.obal-obrazku {
  position: relative;
  overflow: hidden;
}

.obrazek-karty {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  transition: transform 0.3s ease;
  display: block;
}

.karta:hover .obrazek-karty {
  transform: scale(1.05);
}


.stitok {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #ef4444;
  color: white;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Slevový pruh */
.slevovy-pruh {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fbbf24;
  color: #1f2937;
  font-weight: bold;
  padding: 10px 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
  text-align: center;
  transition: background-color 0.3s ease;
}

.karta:hover .slevovy-pruh {
  background-color: #ffbb33;
}


.obsah-karty {
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
}

.nadpis-karty {
  font-size: 24px;!important;
  font-weight: 700;
  margin-bottom: 0.125rem;
  transition: color 0.3s ease;
}

.popis-karty {
   
  font-size: 20px !important;
}
  color: #6b7280;
}

.karta:hover .nadpis-karty {
  color: #ef4444;
}

.karta:hover .popis-karty {
  color: #4b5563;
}


@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;!important;
    margin-bottom: 2rem;
  }

  .obsah-karty {
    padding: 0.75rem 1rem 1.25rem;
  }

  .nadpis-karty {
    font-size: 1.1rem;
  }

  .popis-karty {
    font-size: 0.85rem;
  }

  .obrazek-karty {
    height: 200px;
  }

  .stitok {
    font-size: 0.85rem;
    padding: 5px 10px;
  }

  .slevovy-pruh {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}