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

.p[data-micro-product-id="8383"] > a.image::after,
.p[data-micro-product-id="8414"] > a.image::after,
.p[data-micro-product-id="7031"] > a.image::after,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product [data-testid="mainImage"]::after,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product [data-testid="mainImage"]::after,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product [data-testid="mainImage"]::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.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product [data-testid="mainImage"]::after,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product [data-testid="mainImage"]::after,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product [data-testid="mainImage"]::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;
}

/* EVOLVEO StrongVision PRO 4G II, fotopast / bezpečnostní kamera se 4G LTE a 10 000 mAh baterií */
.p[data-micro-product-id="8383"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product [data-testid="mainImage"] {
  --testujto-badge: url("/user/documents/upload/badges/strongvision-pro-4g-ii.png");
}

/* EVOLVEO StrongVision LTE POWER – 4G fotopast s Cloud/Email přenosem a výměnnými 21700 bateriemi */
.p[data-micro-product-id="8414"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product [data-testid="mainImage"] {
  --testujto-badge: url("/user/documents/upload/badges/strongvision-lte-power.png");
}

/* EVOLVEO StrongVision MINI WiFi, fotopast/bezpečnostní kamera s aplikací */
.p[data-micro-product-id="7031"] > a.image,
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product [data-testid="mainImage"] {
  --testujto-badge: url("/user/documents/upload/badges/strongvision-mini-wifi.png");
}

/* Jasmine / StrongPhone H1: po potvrzení barvy doplnit z mapping.json.
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.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8383_evolveo-strongvision-pro-4g-ii--fotopast-bezpe--269-nostni-kamera-se-4g-lte-a-10-000-mah-baterii.jpg"]) { display: grid; grid-template-columns: minmax(0, max-content); justify-content: center; }
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8383_evolveo-strongvision-pro-4g-ii--fotopast-bezpe--269-nostni-kamera-se-4g-lte-a-10-000-mah-baterii.jpg"]) > img.cboxPhoto { grid-area: 1 / 1; }
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8383_evolveo-strongvision-pro-4g-ii--fotopast-bezpe--269-nostni-kamera-se-4g-lte-a-10-000-mah-baterii.jpg"])::after {
  content: "";
  grid-area: 1 / 1; justify-self: end; align-self: end; margin: 0 12px 12px 0;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/strongvision-pro-4g-ii.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8414_evolveo-strongvision-lte-power-8211--4g-fotopast-s-cloud-email-p--345-enosem-a-vym--283-nnymi-21700-bateriemi.jpg"]) { display: grid; grid-template-columns: minmax(0, max-content); justify-content: center; }
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8414_evolveo-strongvision-lte-power-8211--4g-fotopast-s-cloud-email-p--345-enosem-a-vym--283-nnymi-21700-bateriemi.jpg"]) > img.cboxPhoto { grid-area: 1 / 1; }
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8414_evolveo-strongvision-lte-power-8211--4g-fotopast-s-cloud-email-p--345-enosem-a-vym--283-nnymi-21700-bateriemi.jpg"])::after {
  content: "";
  grid-area: 1 / 1; justify-self: end; align-self: end; margin: 0 12px 12px 0;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/strongvision-lte-power.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/7031_evolveo-strongvision-mini-wifi--fotopast-bezpe--269-nostni-kamera-s-aplikaci.jpg"]) { display: grid; grid-template-columns: minmax(0, max-content); justify-content: center; }
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/7031_evolveo-strongvision-mini-wifi--fotopast-bezpe--269-nostni-kamera-s-aplikaci.jpg"]) > img.cboxPhoto { grid-area: 1 / 1; }
html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/7031_evolveo-strongvision-mini-wifi--fotopast-bezpe--269-nostni-kamera-s-aplikaci.jpg"])::after {
  content: "";
  grid-area: 1 / 1; justify-self: end; align-self: end; margin: 0 12px 12px 0;
  width: clamp(91.8px, 29.7%, 151.2px);
  aspect-ratio: 1;
  background: url("/user/documents/upload/badges/strongvision-mini-wifi.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.evolveo.cz/evolveo-strongvision-pro-4g-ii--fotopast-bezpecnostni-kamera-se-4g-lte-a-10-000-mah-baterii/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8383_evolveo-strongvision-pro-4g-ii--fotopast-bezpe--269-nostni-kamera-se-4g-lte-a-10-000-mah-baterii.jpg"])::after,
  html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-lte-power---4g-fotopast-s-cloud-email-prenosem-a-vymennymi-21700-bateriemi/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/8414_evolveo-strongvision-lte-power-8211--4g-fotopast-s-cloud-email-p--345-enosem-a-vym--283-nnymi-21700-bateriemi.jpg"])::after,
  html:has(head link[rel="canonical"][href="https://eshop.evolveo.cz/evolveo-strongvision-mini-wifi--fotopast-bezpecnostni-kamera-s-aplikaci/"]) body.type-product #colorbox.productDetail #cboxLoadedContent:has(> img.cboxPhoto[src*="/user/shop/big/7031_evolveo-strongvision-mini-wifi--fotopast-bezpe--269-nostni-kamera-s-aplikaci.jpg"])::after {
    width: clamp(151.2px, 34%, 204px);
  }
}
