/* Kraken Digital | Medypiel countdowns v1.2.0 */
/* Only hide Codevz/XTRA's native countdowns, not other notices or banners. */
.woocommerce-notices-wrapper.codevz-plus-woo-countdown,
.products ul.cz_countdown,
.woocommerce ul.cz_countdown,
.woocommerce-page .product ul.cz_countdown,
.cz_product ul.cz_countdown,
li.product ul.cz_countdown {
  display: none !important;
}
.ksc-single-placeholder[hidden],
.ksc-card-marker[hidden],
.ksc-timer[hidden] { display: none !important; }
.ksc-card-marker { display: none !important; }
.ksc-timer {
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.3;
}

/* SINGLE PRODUCT: exactly one timer under the price, never over the photo. */
.ksc-timer--single {
  margin: 14px 0;
  padding: 12px 16px;
  background: #102c58;
  color: #fff;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ksc-timer--single .ksc-timer__label {
  color: inherit;
  font-weight: 700;
  font-size: 13px; /* 1 pt less */
}
.ksc-timer--single .ksc-timer__clock {
  color: inherit;
  font-size: 19px; /* 1 pt less */
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .7px;
  white-space: nowrap;
}

/* GRID / CAROUSEL: timer immediately ABOVE the .cz_text_marquee "PROMO"
   banner. It occupies normal flow and cannot cover Add to Cart on hover. */
.ksc-timer--card {
  position: relative !important;
  inset: auto !important;
  float: none !important;
  clear: both;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  background: #102c58;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 7px;
  min-height: 48px;
  pointer-events: none;
  font-weight: 800;
  font-size: clamp(15px, 1.5vw, 21px); /* 1 pt smaller than v1.1 */
  letter-spacing: .6px;
  font-variant-numeric: tabular-nums;
  border: 0;
}
.ksc-timer--card .ksc-timer__clock { color: #fff; white-space: nowrap; }
/* Avoid the XTRA hover cart action sitting behind any countdown layer. */
.products .ksc-timer--card,
.cz_product .ksc-timer--card { isolation: isolate; }
/* No duplicate timer inside the main product gallery, even if the XTRA
   template contains an unexpected nested .cz_product wrapper. */
body.single-product .woocommerce-product-gallery .ksc-timer--card {
  display: none !important;
}
@media (max-width:767px) {
  .ksc-timer--card { font-size: 15px; min-height: 38px; padding: 9px 5px; }
  .ksc-timer--single { padding: 11px 12px; }
  .ksc-timer--single .ksc-timer__clock { font-size: 17px; }
}
