/* Kraken Digital · LucaSeville / Blonwe 1.0.2
   Isolated component. Does not change FlexSlider, product gallery, prices or forms. */
.kdl-card-marker[hidden],
.kdl-countdown-host[hidden],
.kdl-clock[hidden] { display: none !important; }
.kdl-card-marker { display: none !important; }
.kdl-countdown-host { display: block; min-width: 0; }
.kdl-clock {
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  color: #fff !important;
  text-align: center;
  background: #102c58 !important;
}
.kdl-clock *, .kdl-clock *::before, .kdl-clock *::after { box-sizing: border-box; }
.kdl-clock__time { color: inherit !important; font-weight: 600; white-space: nowrap; }

/* Product detail: beneath price for simple items, beneath the chosen
   variation price for variable items (JS moves only our own container). */
.kdl-clock--single {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 12px 16px;
  margin: 12px 0 16px;
  min-height: 47px;
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
}
.kdl-clock--single .kdl-clock__label { color: #fff !important; font-size: 13px; font-weight: 500; }
.kdl-clock--single .kdl-clock__time { font-size: 19px; letter-spacing: .35px; }

/* Blonwe thumbnails: stable parent box, not transformed image/anchor.
   No extra slider controls, duplicate arrows, flex recalculation or sticky. */
.products .product .kdl-media-host,
.klb-module .product .kdl-media-host,
.klb-slider .product .kdl-media-host { position: relative !important; }
.kdl-clock--card {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 9px 5px !important;
  margin: 0 !important;
  min-height: 36px;
  max-height: 48px;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
  pointer-events: none !important;
  white-space: nowrap;
  font-size: clamp(12px, 1.05vw, 16px);
  letter-spacing: .1px;
}
.kdl-clock--card .kdl-clock__time { color: #fff !important; }

/* The list-view native Blonwe clock may use the FIRST variation's date,
   without validating a running sale. Avoid displaying two or premature clocks.
   Keep the original sale percentage and product badges untouched. */
body.kdl-blonwe-ready .products .product .product-countdown,
.product-countdown.kdl-native-hidden { display: none !important; }

/* Let Blonwe quick add / add to cart overlays stay above the countdown in grids */
.kdl-media-host .product-buttons,
.kdl-media-host .product-button,
.kdl-media-host .add_to_cart_button,
.kdl-media-host .ajax_add_to_cart,
.kdl-media-host .product-cart,
.kdl-media-host .cart-button,
.kdl-media-host .quick-shop-button {
  position: relative;
  z-index: 6;
}

@media (max-width: 767px) {
  .kdl-clock--single { padding: 11px 10px; gap: 5px 9px; }
  .kdl-clock--single .kdl-clock__time { font-size: 17px; }
  .kdl-clock--card { min-height: 32px; padding: 7px 4px !important; font-size: clamp(11px, 3.4vw, 14px); }
}
