/* HYGSI.SK – native Shoptet watchdog for every unavailable product, v2. */
html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog {
  display: inline-flex !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  clear: both !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  order: 99 !important;
  grid-area: auto !important;
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 46px !important;
  margin: 18px 0 0 !important;
  padding: 11px 16px !important;
  border: 1px solid #009fe3 !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #007eae !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog:hover,
html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog:focus-visible {
  border-color: #007eae !important;
  background: #eef9fd !important;
  color: #006c96 !important;
}

html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog::before {
  display: none !important;
  content: none !important;
}

html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog > span {
  display: none !important;
}

html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog::after {
  display: inline !important;
  content: "Upozorniť na dostupnosť" !important;
}

html body.type-detail:is(
  .hygsi-product-out-of-stock,
  :has(link[itemprop="availability"][href$="/OutOfStock"])
)
#product-detail-form.hygsi-buy-form > a.watchdog .hygsi-watchdog-icon {
  display: block !important;
  flex: 0 0 25px !important;
  width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 767px) {
  html body.type-detail:is(
    .hygsi-product-out-of-stock,
    :has(link[itemprop="availability"][href$="/OutOfStock"])
  )
  #product-detail-form.hygsi-buy-form > a.watchdog {
    min-height: 48px !important;
    margin-top: 16px !important;
  }
}
