/* === LINK KOLEM OBRÁZKU MUSÍ BÝT BLOCK === */
.product .custom-image-top {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* === OBRÁZEK FULL WIDTH === */
.product .custom-image-top img {
  width: 100% !important;
  display: block !important;
}

/* === MEZERY MEZI PRODUKTY (SPRÁVNĚ PŘES GRID) === */
.products .col-xs-6,
.products .col-sm-4,
.products .col-md-3,
.products .col-lg-3 {
  padding: 10px !important;
}

.products {
  margin-left: -10px !important;
  margin-right: -10px !important;
}

/* === KARTA === */
.product {
  background: #3d3d3d !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid #eee !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
  transition: all 0.25s ease;
  position: relative;
  transform: translateZ(0);
}

.product:hover {
  border-color: #fa5012 !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 10px rgb(0, 0, 0) !important;
}

/* === ODSTRANĚNÍ PRUHŮ NAD OBRÁZKEM === */
.product .p-in,
.product .p {
  background: transparent !important;
}

/* === OBRÁZEK === */
.product .p-image {
  margin: 0 !important;
  background: transparent !important;
}

.product .p-image img {
  width: 100%;
  display: block;
}

/* === OBSAH POD OBRÁZKEM === */
.product .p {
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* === KOLEČKO ORANŽOVÉ === */
.product .flag {
  filter: hue-rotate(-90deg) saturate(10) brightness(1) !important;
}

.product .flag span {
  color: #fff !important;
  filter: none !important;
}

/* === SKRYTÍ MNOŽSTVÍ === */
.product .quantity,
.product .amount,
.product .number-input {
  display: none !important;
}

/* === NÁZEV === */
.product .name,
.product .name a {
  text-align: left !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 4px !important;
  color: #fff !important;
}

/* pro jistotu i hover */
.product .name a:hover {
  color: #fff !important;
}

/* === SKLADEM === */
.product .availability {
  font-size: 12px;
  color: #fa5012;
}

/* === SPODNÍ ŘÁDEK === */
.product .p-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  margin-top: auto;
}

/* === CENA === */
.product .price,
.product .price-final,
.product .price strong,
.product .price-final strong,
.product .price span,
.product .price-final span {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fa5012 !important;
  -webkit-text-fill-color: #fa5012 !important;
}

/* === SCHOVÁME DEFAULT TLAČÍTKA === */
.product .buttons,
.product .p-tools {
  display: none !important;
}

/* === KOŠÍK === */
.product .custom-cart {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  cursor: pointer;
}

.product .custom-cart:hover {
  background: #fa5012;
}

.product .custom-cart:hover svg {
  stroke: #fff;
}

.product .custom-cart svg {
  width: 16px;
  height: 16px;
  stroke: #fa5012;
}

@media screen and (min-width: 768px) {
  #header::after { background-color: #fa5012; }
  .navigation-in { background-color: transparent; }
  .navigation-in > ul > li > a, .submenu-arrow::after { color: #fff; }
  .menu-helper::after { color: #fff; }
}

/* === FLAG GIFT FIX === */
.flag-gift {
  background: linear-gradient(135deg, #ffb703, #fb8500) !important;
  color: #000 !important;
  border-radius: 6px;
  font-weight: 600;
}
/* === NADPISY KATEGORIÍ NA HP === */
.homepage-group-title,
.products-block .h2,
.products-block h2 {
  text-align: left !important;
  font-size: 22px !important;
  margin-left: 10px !important;
  color: #fff !important;
}
/* === NADPIS WRAPPER NALEV0 === */
.products-block .h2,
.products-block h2,
.homepage-group-title {
  text-align: left !important;
}

/* === ORANŽOVÁ LINKA – HARD ALIGN LEFT === */
.products-block .h2::after,
.products-block h2::after,
.homepage-group-title::after {
  width: 40px !important;
  height: 3px !important;

  margin: 6px 0 0 0 !important; /* žádné auto centrování */
  
  position: relative;
  left: 0 !important;
  transform: none !important;
}
/* === STEJNÁ VÝŠKA KARET NA HOMEPAGE === */
.products-block .product {
  display: flex !important;
  flex-direction: column;
  height: 100% !important;
}

/* === OBSAH KARTY FLEX === */
.products-block .product .p {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

/* === NÁZEV – MAX 2 ŘÁDKY === */
.products-block .product .name {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* max 2 řádky */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px; /* fix výšky */
}

/* === SPODNÍ ČÁST VŽDY DOLE === */
.products-block .product .p-bottom {
  margin-top: auto !important;
}
/* === HOMEPAGE PRODUKTY – STEJNÁ VÝŠKA KARET === */
.products-block .swiper-wrapper {
  align-items: stretch !important;
}

.products-block .swiper-slide {
  height: auto !important;
  display: flex !important;
}

/* samotná karta */
.products-block .product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100%;
}

/* vnitřek */
.products-block .product .p {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* název – fixní výška */
.products-block .product .name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  height: 42px !important; /* KLÍČOVÉ */
}

/* spodní část vždy dole */
.products-block .product .p-bottom {
  margin-top: auto !important;
}

/* === CELKOVÉ POZADÍ WEBU === */
body,
#wrapper,
#content,
.content-wrapper,
.homepage,
.products-block,
.section,
.container {
  background: #3d3d3d !important;
}