.csp-countdown {
    text-align: center;
    margin: 1em 0;
    padding: 1em;
    background: #111;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    color: #fff;
    display: flex
    ;
        justify-content: space-between;
}

.coming-soon-countdown, .countdown-timer {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
}


.csp-countdown-label {
    font-size: 1.2em;
    font-weight: bold;
}

.csp-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1em;
    color: #fff;

}

.csp-countdown-timer > div {
    background: transparent;
    color: #fff;
    border: none;
    box-shadow: none;
    min-width: 60px;
}

.csp-countdown-complete {
    font-size: 1.2em;
    color: #28a745;
    font-weight: bold;
}

/* Shop loop specific styles */
.csp-countdown-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
    background: rgba(255,255,255,0.9);
    padding: 1em;
}

.csp-coming-soon-bar {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 12px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 30, 20, 0.92);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  font-size: 1em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  z-index: 10;
}

/* Mobile tweaks: hide label and tighten layout */
@media (max-width: 480px) {
  /* Override timer alignment */
  .csp-coming-soon-bar .csp-coming-soon-timer {
    text-align: center !important;

  }
  .csp-coming-soon-bar {
    padding: 6px 12px;
    justify-content: center !important;
    align-items: center !important;
  }
  .csp-coming-soon-bar .csp-label {
    display: none;
  }
  .csp-coming-soon-bar .csp-coming-soon-timer {
    margin-left: 0;
    text-align: center;
  }
}

.csp-coming-soon-bar .csp-label {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.csp-coming-soon-bar .csp-coming-soon-timer {
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.98em;
  font-weight: 500;
  margin-left: 8px;
  min-width: 80px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}



.csp-countdown {
    font-size: 12px;
    color: white !important;
    margin-top: 5px;
}

 {
    font-weight: bold;
    color: #333;
}

/* Hide add to cart button for coming soon products */
.csp-coming-soon-product .add_to_cart_button,
.csp-coming-soon-product .single_add_to_cart_button {
    display: none !important;
}

/* Hide price and stock for coming soon products */
.csp-coming-soon-product .price,
.csp-coming-soon-product .quantity,
.csp-coming-soon-product .stock {
    display: none !important;
}

/* Remove blur from main single product image */
.single-product .csp-coming-soon-product .woocommerce-product-gallery__image img,
.single-product .csp-coming-soon-product .wp-post-image {
    filter: none !important;
    -webkit-filter: none !important;
    transform: none !important;
}

/* Blur only on shop, archive, and related products */
.csp-coming-soon-product .wp-post-image,
.csp-coming-soon-product .woocommerce-loop-product__link img,
.csp-coming-soon-product .attachment-woocommerce_thumbnail {
    filter: blur(2px);
    -webkit-filter: blur(2px);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Gradient overlay for shop, archive, and related products */
.csp-coming-soon-product .woocommerce-loop-product__link,
.csp-coming-soon-product .related .product {
    position: relative;
    overflow: hidden;
}

.csp-coming-soon-product .woocommerce-loop-product__link::after,
.csp-coming-soon-product .related .product::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
    z-index: 1;
}



.csp-coming-soon-product .woocommerce-loop-product__link {
    position: relative;
    display: block;
}

.csp-coming-soon-product .woocommerce-loop-product__link img {
    position: relative;
    z-index: 0;
}

/* Coming Soon Products Shortcode */
.csp-coming-soon-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.csp-coming-soon-products .product {
    position: relative;
    margin: 0;
}

.csp-coming-soon-products .csp-coming-soon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 30, 20, 0.92);
  color: #fff;
  padding: 2x;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  font-size: 1em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  margin-top: 0.5em;
    border-radius: 3px;
    font-size: 12px;
    z-index: 1;
}

.csp-coming-soon-products .csp-countdown {
    font-size: 12px;
    color: white !important;
    margin-top: 5px;
}

.csp-coming-soon-products  {
    font-weight: bold;
    color: white;
} 