/**
 * Product Card Styles
 * Customize WooCommerce product cards display
 */

/* Breadcrumb */
.shop-breadcrumb {
    margin-bottom: 30px;
}

.shop-breadcrumb .woocommerce-breadcrumb {
    color: #777;
}

.shop-breadcrumb .woocommerce-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.shop-breadcrumb .woocommerce-breadcrumb a:hover {
    color: #d41876;
}

/* Category Badge - Above product image */
.product-category-badge {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 5px;
}

.category-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #d41876;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ensure price is hidden (backup to remove_action) */
.woocommerce ul.products li.product .price {
    display: none !important;
}

/* Ensure buttons are hidden (backup to remove_action) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

/* Product title - keep centered and clean */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: center;
    color: #000;
}

/* Loading Overlay */
.filter-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    z-index: 999;
}

.loading-content {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 300px;
}

.loading-text {
    font-size: 15px;
    color: #999;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.loading-bar {
    width: 100%;
    height: 3px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: #EA148C;
    animation: loading-animation 1.5s ease-in-out infinite;
}

@keyframes loading-animation {
    0% {
        left: -40%;
    }
    100% {
        left: 100%;
    }
}

/* Make products-grid-wrapper relative for absolute positioning */
.products-grid-wrapper {
    position: relative;
    min-height: 400px;
}
