/**
 * BeezWoo Product Cards Styles
 */

.beezwoo-product-card {
    position: relative;
}

/* Featured Card - Span 2 columns */
.beezwoo-card--featured {
    grid-column: span 2;
}

@media (max-width: 767px) {
    .beezwoo-card--featured {
        grid-column: span 2;
    }
}

/* Image Container */
.beezwoo-product-card .attachment-woocommerce_thumbnail {
    transition: opacity 0.3s ease;
}

/* Hover Image */
.beezwoo-card-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.beezwoo-card--has-swap:hover .attachment-woocommerce_thumbnail {
    opacity: 0;
}

.beezwoo-card--has-swap:hover .beezwoo-card-hover-image {
    opacity: 1;
}

/* Quick Add Button */
.beezwoo-quick-add {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.beezwoo-product-card:hover .beezwoo-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.beezwoo-quick-add:hover {
    background: #000;
    color: #fff;
}

.beezwoo-quick-add.is-added {
    background: #4CAF50;
    color: #fff;
}

/* Wishlist Button */
.beezwoo-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.beezwoo-wishlist-btn:hover {
    transform: scale(1.1);
}

.beezwoo-wishlist-btn.is-active svg {
    fill: #e53935;
    stroke: #e53935;
}

/* Card Hover Effect */
.beezwoo-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beezwoo-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Dots */
.beezwoo-card-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 10;
}

.beezwoo-card-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.beezwoo-card-gallery-dot.is-active {
    background: #fff;
}
