/* NEW Product Badge Styles */
.wcnpm-new-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 999 !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: wcnpm-pulse 1.5s infinite;
    font-family: inherit;
}

@keyframes wcnpm-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wcnpm-new-badge .badge-text {
    color: white;
    margin-right: 5px;
}

/* Hide badge countdown completely - only show label text */
.wcnpm-new-badge .badge-countdown {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Shortcode Grid Products */
.wcnpm-products-grid {
    display: grid;
}

.wcnpm-product-item {
    width: 100% !important;
    position: relative !important;
}

.wcnpm-product-item li.product {
    position: relative !important;
    height: 100%;
}

.wcnpm-product-item li.product a,
.wcnpm-product-item .product a,
a.woocommerce-LoopProduct-link,
a.woocommerce-loop-product__link {
    position: relative !important;
    display: block !important;
}

.wcnpm-product-item li.product .wcnpm-new-badge {
    top: 10px !important;
    right: 10px !important;
    padding: 5px 10px;
    font-size: 11px;
}

/* WooCommerce Archive Page */
.products {
    position: relative;
}

.products .product,
.products li.product {
    position: relative !important;
}

.products .product a,
.products li.product a,
.products a.woocommerce-LoopProduct-link,
.products a.woocommerce-loop-product__link {
    position: relative !important;
    display: block !important;
}

.products .product .wcnpm-new-badge,
.products li.product .wcnpm-new-badge {
    top: 10px !important;
    right: 10px !important;
    padding: 5px 10px;
    font-size: 11px;
}

/* Single Product Page */
.single-product .wcnpm-new-badge {
    top: 20px !important;
    right: 20px !important;
    padding: 10px 18px;
    font-size: 14px;
}

/* Countdown Timer Styles */
.wcnpm-countdown-wrapper {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin: 15px 0;
    color: white;
}

.wcnpm-countdown-timer {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wcnpm-new-badge {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }
    
    .wcnpm-countdown-timer {
        font-size: 18px;
    }
}

/* Hover Effect */
.wcnpm-new-badge:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}