/* ENDURO9 - stitky Novinka a Akce, kod produktu ve vypisech a na detailu
   Nahrat do: /user/documents/upload/css/e9.css  (po zmene zvysit cislo ?v= v Zahlavi) */

/* ---- Novinka a Akce: sikmy pruh prez roh karty, lehce pretaha, se zahybem u konce ---- */
.products-block .product .p .flags .flag.flag-new,
.products-block .product .p .flags .flag.flag-action {
  position: absolute; top: -15px; left: -15px;
  width: 97px; height: 97px; max-width: none;
  margin: 0; padding: 0; border-radius: 0;
  font-size: 0; pointer-events: none;
  clip-path: polygon(67.2px 0, 96.8px 0, 96.8px 6px, 90.8px 6px, 6px 90.8px, 6px 96.8px, 0 96.8px, 0 67.2px);
}
.products-block .product .p .flags .flag.flag-new {
  background: linear-gradient(135deg, var(--color-primary) 50%, #a84300 50%);
  z-index: 2;
}
.products-block .product .p .flags .flag.flag-action {
  background: linear-gradient(135deg, #009901 50%, #006600 50%);
}
.products-block .product .p .flags .flag.flag-new::after,
.products-block .product .p .flags .flag.flag-action::after {
  position: absolute; left: 41px; top: 41px;
  transform: translate(-50%, -50%) rotate(-45deg);
  white-space: nowrap; letter-spacing: .06em;
  font: 700 11px/1 var(--template-headings-font), "Arial Narrow", arial, sans-serif;
}
.products-block .product .p .flags .flag.flag-new::after { content: "NOVINKA"; color: #1f1f1f; }
.products-block .product .p .flags .flag.flag-action::after { content: "AKCE"; color: #fff; }

/* kdyz ma zbozi Novinku i Akci: Akce je druhy pruh za Novinkou */
.products-block .product .p .flags:has(.flag-new) .flag.flag-action {
  width: 131px; height: 131px;
  clip-path: polygon(101.2px 0, 130.8px 0, 130.8px 6px, 124.8px 6px, 6px 124.8px, 6px 130.8px, 0 130.8px, 0 101.2px);
}
.products-block .product .p .flags:has(.flag-new) .flag.flag-action::after { left: 58px; top: 58px; }

/* ---- Kod produktu ve vypisech: mezi nazvem a dostupnosti (presun dela e9.js) ---- */
.products-block .p .p-in .p-in-in > .p-code {
  position: static; display: block; margin: 0 0 4px;
  color: #6b6b6b; font-size: 13px; line-height: 1.3;
}
.products-block .p .p-in .p-in-in > .p-code [data-micro=sku] {
  color: #1f1f1f; font-weight: 700;
  font-family: var(--template-headings-font), "Arial Narrow", arial, sans-serif;
}

/* ---- Detail produktu: "Kod:" sede, cislo zvyraznene ---- */
.type-detail .p-detail-inner-header .p-code .p-code-label { color: #6b6b6b; }
.type-detail .p-detail-inner-header .p-code > span:not(.p-code-label) {
  color: #1f1f1f; font-weight: 700;
  font-family: var(--template-headings-font), "Arial Narrow", arial, sans-serif;
}
