/* Testuj.to — eshop.salente.cz. Pouze český storefront. */

.p[data-micro-product-id="679"] > a.image::after,
.p[data-micro-product-id="3464"] > a.image::after,
.p[data-micro-product-id="2201"] > a.image::after,
.p[data-micro-product-id="2279"] > a.image::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ario-ii--multifunkcni-hrnec-s-horkovzdusnou-troubou/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-jasmine--ryzovar--1-9-l--cerny/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ecoboost--elektricky-komposter--3-8-l--bily/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-vulcano--elektricka-pizza-pec--450--c/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after {
  content: "";
  position: absolute;
  inset: auto 5% 5% auto;
  z-index: 2;
  width: clamp(52px, 30%, 88px);
  aspect-ratio: 1;
  background: var(--testujto-badge) center / contain no-repeat;
  pointer-events: none;
}
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ario-ii--multifunkcni-hrnec-s-horkovzdusnou-troubou/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-jasmine--ryzovar--1-9-l--cerny/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ecoboost--elektricky-komposter--3-8-l--bily/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-vulcano--elektricka-pizza-pec--450--c/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active)::after {
  width: clamp(78px, 25%, 128px);
}

/* Kompaktní náhledy v bloku Nejprodávanější. */
#productsTop .p[data-micro-product-id] > a.image::after {
  width: min(36%, 34px);
  inset: auto 2px 2px auto;
}

/* Salente Ario II, multifunkční hrnec s horkovzdušnou troubou */
.p[data-micro-product-id="679"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ario-ii--multifunkcni-hrnec-s-horkovzdusnou-troubou/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active) {
  --testujto-badge: url("/user/documents/upload/badges/ario-ii.png");
}

/* Salente Jasmine, rýžovar, 1,9 l, černý */
.p[data-micro-product-id="3464"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-jasmine--ryzovar--1-9-l--cerny/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active) {
  --testujto-badge: url("/user/documents/upload/badges/jasmine.png");
}

/* Salente EcoBoost, elektrický kompostér, 3,8 l, bílý */
.p[data-micro-product-id="2201"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ecoboost--elektricky-komposter--3-8-l--bily/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active) {
  --testujto-badge: url("/user/documents/upload/badges/otestovano.png");
}

/* Salente Vulcano, elektrická pizza pec, 450°C */
.p[data-micro-product-id="2279"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-vulcano--elektricka-pizza-pec--450--c/"]) body.type-product #main-slider:has(.splide__slide:first-child.is-active) {
  --testujto-badge: url("/user/documents/upload/badges/vulcano.png");
}

/* Jasmine: test potvrzen pro černou variantu.
EasyPhone ID: v dodaných podkladech chybí jeho ověřený výsledek; bez CSS přiřazení.
*/

/* Zvětšená hlavní foto: další snímky v galerii neoznačujeme. */
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ario-ii--multifunkcni-hrnec-s-horkovzdusnou-troubou/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/679-1_salente-ario-ii--multifunk--269-ni-hrnec-s-horkovzdu--353-nou-troubou.jpg"])::after {
  content: "";
  position: absolute; right: 12px; bottom: 12px;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/ario-ii.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-jasmine--ryzovar--1-9-l--cerny/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/3464_salente-jasmine--ry--382-ovar--1-9-l--269-erny.jpg"])::after {
  content: "";
  position: absolute; right: 12px; bottom: 12px;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/jasmine.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ecoboost--elektricky-komposter--3-8-l--bily/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/2201-20_salente-ecoboost--elektricky-komposter--3-8-l--bily.jpg"])::after {
  content: "";
  position: absolute; right: 12px; bottom: 12px;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/otestovano.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-vulcano--elektricka-pizza-pec--450--c/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/2279-10_salente-vulcano--elektricka-pizza-pec--450--c.jpg"])::after {
  content: "";
  position: absolute; right: 12px; bottom: 12px;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/vulcano.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ario-ii--multifunkcni-hrnec-s-horkovzdusnou-troubou/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/679-1_salente-ario-ii--multifunk--269-ni-hrnec-s-horkovzdu--353-nou-troubou.jpg"])::after,
  html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-jasmine--ryzovar--1-9-l--cerny/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/3464_salente-jasmine--ry--382-ovar--1-9-l--269-erny.jpg"])::after,
  html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-ecoboost--elektricky-komposter--3-8-l--bily/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/2201-20_salente-ecoboost--elektricky-komposter--3-8-l--bily.jpg"])::after,
  html:has(head link[rel="canonical"][href="https://eshop.salente.cz/salente-vulcano--elektricka-pizza-pec--450--c/"]) body.type-product .fancybox-is-open:not(.fancybox-can-pan) .fancybox-slide--current .fancybox-content:has(> img.fancybox-image[src*="/user/shop/big/2279-10_salente-vulcano--elektricka-pizza-pec--450--c.jpg"])::after {
    width: clamp(151.2px, 34%, 204px);
  }
}
