<style>
/* === 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: fff !important;
  border-radius: 14px !important;
  overflow: hidden !important; /* 👈 KLÍČOVÉ */
  padding: 0 !important; /* 👈 odstranění okrajů */
  border: 1px solid #eee !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
  transition: 0.2s;
  position: relative;
}

.product:hover {
  border-color: #fa5012 !important;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18) !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; /* 👈 vrácení paddingu jen textu */
  display: flex;
  flex-direction: column;
  height: 100%;
}


/* === ORANŽOVÉ POUZE SLEVOVÉ KOLEČKO === */
/* Ostatní štítky (včetně X+Y / 1+1) si ponechají barvu nastavenou v administraci Shoptetu. */
.product .flag.flag-discount {
  filter: hue-rotate(-90deg) saturate(10) brightness(1) !important;
}

.product .flag.flag-discount 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;
}


/* === 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: 44px !important;
  height: 44px !important;

  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: 25px !important;
  height: 25px !important;
  stroke: #fa5012;
}


@media screen and (min-width: 768px) {
#header::after{background-color: #fa5012;} /* BARVA POZADÍ MENU */
.navigation-in {background-color: transparent;}
.navigation-in > ul > li > a, .submenu-arrow::after {color: #fff;} /* BARVA TEXTU V MENU */
.menu-helper::after {color: #fff;} /* BARVA HAMBURGERU */
}


/* SCHOVÁNÍ DROPDOWNU */
select.hidden-split-parameter {
  display: none !important;
}


/* TLAČÍTKA NA VÝBĚR VELIKOSTÍ */
.variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;               /* menší mezery */
  margin-top: 6px;
}

/* MENŠÍ TLAČÍTKA (cca -20 %) */
.variant-btn {
  min-width: 56px;        /* bylo 70 */
  height: 48px;           /* bylo 60 */
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;        /* bylo 18 */
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.15s ease;
}

.variant-btn.active {
  border: 3px solid #FA5012;
}

.variant-btn:hover {
  border-color: #FA5012;
}


/* === VELIKOST NA SAMOSTATNÝ ŘÁDEK === */

/* celý řádek variant */
.detail-parameters tr.variant-list {
  display: block;
}

/* label "Velikost" */
.detail-parameters tr.variant-list th {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  text-align: left;
}

/* obsah (tlačítka) */
.detail-parameters tr.variant-list td {
  display: block;
  width: 100%;
}


/* === MENŠÍ NÁZEV PRODUKTU === */
.p-detail-inner-header h1 {
  font-size: 22px !important;
  line-height: 1.2 !important;
}

/* desktop větší */
@media (min-width: 992px) {
  .p-detail-inner-header h1 {
    font-size: 30px !important;
  }
}


/* === MOBIL === */
@media (max-width: 768px) {

  /* schovej původní název */
  .p-detail-inner-header h1 {
    display: none !important;
  }

  /* spacing */
  .p-detail-inner-header {
    margin-top: 10px !important;
  }

  /* nový název pod obrázkem */
  .mobile-product-title {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.2;
  }

}
    </style>