/* Mrkálek – produktové karty 1.0.0. Načíst za ostatními vlastními CSS. */
body .products .product > .p.mrk-card {
  --mrkc-blue:#365ae7; --mrkc-ink:#182b80; --mrkc-muted:#58688b;
  box-sizing:border-box; display:flex; flex-direction:column;
  height:100%; min-width:0; padding:16px; margin:0;
  border:1px solid #d7e4ff; border-radius:22px;
  background:#fff; box-shadow:0 5px 16px #2445880d;
  text-align:left; font-family:"Poppins",sans-serif;
  transition:border-color .18s,box-shadow .18s;
  container-type:inline-size;
}
body .products .product:has(> .mrk-card) { padding:8px; }
body .products .product > .p.mrk-card > .image {
  display:flex; align-items:center; justify-content:center; position:relative;
  width:100%; aspect-ratio:4/3; height:auto; margin:0 0 14px;
}
body .products .product > .p.mrk-card > .image img {
  display:block; width:100%; height:100%; max-height:100%; object-fit:contain;
}
body .products .product > .p.mrk-card .p-in {
  display:flex; flex-direction:column; flex:1; min-width:0;
  width:100%; padding:0; text-align:left;
}
body .products .product > .p.mrk-card .p-in-in { min-height:0!important; height:auto!important; padding:0; }
body .products .product > .p.mrk-card .name {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  height:2.8em!important; min-height:2.8em!important; overflow:hidden;
  margin:0 0 8px; padding:0; color:var(--mrkc-ink);
  font:700 19px/1.4 "Poppins",sans-serif; text-align:left; text-decoration:none;
}
body .products .product > .p.mrk-card .name span { font:inherit; color:inherit; }
body .products .product > .p.mrk-card .name:hover { color:var(--mrkc-blue); text-decoration:underline; text-underline-offset:3px; }
body .products .product > .p.mrk-card .p-desc {
  display:-webkit-box!important; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; height:3.1em!important; min-height:3.1em;
  margin:0 0 10px!important; padding:0!important;
  color:var(--mrkc-muted); font:400 13px/1.55 "Poppins",sans-serif; text-align:left;
}
body .products .product > .p.mrk-card .ratings-wrapper {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:4px 8px; min-height:24px; margin:0 0 6px;
}
body .products .product > .p.mrk-card .availability {
  display:block; width:auto; margin:0; padding:0;
  font:500 12px/1.5 "Poppins",sans-serif; text-align:left;
}
body .products .product > .p.mrk-card .mrkc-options {
  display:flex; flex-wrap:wrap; align-items:center; gap:6px;
  min-height:38px; margin:0 0 6px; padding:0;
}
body .products .product > .p.mrk-card .widget-parameter-wrapper {
  position:static!important; display:flex; align-items:center; flex-wrap:wrap;
  gap:6px; width:auto; margin:0; padding:0; border:0; background:none;
}
body .products .product > .p.mrk-card .widget-parameter-list {
  display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none;
}
body .products .product > .p.mrk-card .widget-parameter-value { margin:0; padding:0; }
body .products .product > .p.mrk-card .widget-parameter-value a {
  display:inline-flex; align-items:center; min-height:32px;
  padding:5px 12px; border:1px solid #dce5ff; border-radius:999px;
  background:#eef3ff; color:var(--mrkc-ink);
  font:500 12px/1.4 "Poppins",sans-serif; text-decoration:none;
}
body .products .product > .p.mrk-card .widget-parameter-more { position:static; margin:0; padding:0; font-size:12px; color:var(--mrkc-blue); }
body .products .product > .p.mrk-card .p-bottom {
  display:block; width:100%; min-height:0!important; height:auto!important;
  margin-top:auto; padding:0!important;
}
body .products .product > .p.mrk-card .p-bottom > [data-micro="offer"] { display:flex; flex-direction:column; width:100%; }
body .products .product > .p.mrk-card .mrkc-price-row {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  min-height:76px; margin:0 0 10px;
}
body .products .product > .p.mrk-card .prices { display:block; position:static!important; flex:1; min-width:0; margin:0; padding:0; text-align:left; }
body .products .product > .p.mrk-card .price-final { margin:0; color:var(--mrkc-ink); font:700 25px/1.3 "Poppins",sans-serif; }
body .products .product > .p.mrk-card .price-final strong { font:inherit; color:inherit; }
body .products .product > .p.mrk-card .price-measure,
body .products .product > .p.mrk-card .price-additional { color:var(--mrkc-muted); font:400 11px/1.5 "Poppins",sans-serif; }
body .products .product > .p.mrk-card .mrkc-detail {
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
  min-height:36px; margin:0; padding:6px 13px;
  border:1.5px solid #c9d7ff; border-radius:999px; background:white;
  color:var(--mrkc-blue); font:600 12px/1.4 "Poppins",sans-serif; text-decoration:none;
}
body .products .product > .p.mrk-card .mrkc-detail:hover { background:#eef3ff; border-color:var(--mrkc-blue); }
body .products .product > .p.mrk-card .p-tools {
  display:flex!important; align-items:center; justify-content:center;
  position:static!important; width:100%!important; min-height:54px;
  margin:0 0 4px!important; padding:0!important;
}
body .products .product > .p.mrk-card .p-tools form.pr-action {
  display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important;
  align-items:center; gap:8px; width:100%; margin:0;
}
body .products .product > .p.mrk-card .p-tools .quantity {
  flex:0 0 104px!important; width:104px!important; height:46px!important;
  grid-template-columns:34px minmax(0,1fr) 34px!important; grid-template-rows:38px!important;
}
body .products .product > .p.mrk-card .quantity > :is(.decrease,.increase) { width:34px!important; height:38px!important; }
body .products .product > .p.mrk-card .quantity > label,
body .products .product > .p.mrk-card .quantity input.amount { height:38px!important; }
body .products .product > .p.mrk-card .p-tools .add-to-cart-button,
body .products .product > .p.mrk-card .p-tools > a.btn.btn-primary {
  display:inline-flex!important; align-items:center; justify-content:center;
  flex:1 1 0; width:100%!important; min-width:0!important;
  min-height:46px; padding:10px 12px!important; font-size:13px!important;
  border-radius:999px!important; text-transform:none!important;
  background:var(--mrkc-blue)!important; border-color:var(--mrkc-blue)!important;
  color:#fff!important; box-shadow:0 4px 0 #ea7211!important;
}
body .products .product > .p.mrk-card .p-tools .add-to-cart-button::before { flex-basis:17px; width:17px; height:17px; }
body .products .product > .p.mrk-card :is(a,button,input):focus-visible { outline:3px solid #ea7211; outline-offset:3px; }
@container (max-width:245px) {
  body .products .product > .p.mrk-card .p-tools form.pr-action { flex-wrap:wrap!important; }
  body .products .product > .p.mrk-card .p-tools .add-to-cart-button { flex-basis:100%; }
  body .products .product > .p.mrk-card .p-tools { min-height:104px; }
  body .products .product > .p.mrk-card .name { font-size:16px; }
  body .products .product > .p.mrk-card .price-final { font-size:22px; }
  body .products .product > .p.mrk-card .mrkc-detail { padding:6px 9px; font-size:11px; }
}
@media(max-width:479px) {
  body .products .product > .p.mrk-card { padding:10px; border-radius:16px; }
  body .products .product:has(> .mrk-card) { padding:4px; }
  body .products .product > .p.mrk-card .p-desc { font-size:11px; }
  body .products .product > .p.mrk-card .mrkc-price-row { flex-wrap:wrap; align-content:center; }
  body .products .product > .p.mrk-card .availability { font-size:11px; }
}
@media(hover:hover) {
  body .products .product > .p.mrk-card:hover { border-color:#b9ceff; box-shadow:0 8px 22px #24458816; }
}
@media(prefers-reduced-motion:reduce) { body .products .product > .p.mrk-card { transition:none; } }

/* Zrušit proporční pseudo-prvek šablony: poměr obrázku řídí aspect-ratio. */
body .products .product > .p.mrk-card > .image::before,
body .products .product > .p.mrk-card > .image::after { content:none!important; }
body .products .product:has(> .p.mrk-card):hover { box-shadow:none; }
/* Nativní skryté stavy mají přednost i před novým rozvržením. */
body .products .product > .p.mrk-card :is(.p-tools,.quantity,.add-to-cart-button,.widget-parameter-wrapper):is([hidden],.no-display),
body .products .product > .p.mrk-card .p-bottom.no-buttons .p-tools { display:none!important; }
