/* Wrapper */
.wbs-wrapper-c4f798ae {
    display: flex;
    flex-direction: column;
}

/* Header & Button */
.wbs-header-c4f798ae {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out title and button */
    gap: 20px;
}

@media (max-width: 767px) {
    .wbs-header-c4f798ae {
        flex-direction: column;
        align-items: flex-start; /* Stack on mobile */
    }
}

.wbs-section-title-c4f798ae {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.wbs-view-all-btn-c4f798ae {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #E8DFF5; /* Light purple */
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.wbs-view-all-btn-c4f798ae:hover {
    opacity: 0.9;
    color: #1a1a1a;
}

/* Base Grid */
.wbs-grid-c4f798ae {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .wbs-grid-c4f798ae {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .wbs-grid-c4f798ae {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .wbs-grid-c4f798ae {
        grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns for mobile */
        gap: 10px; /* Reduce gap on small screens */
    }
}

/* Product Card */
.wbs-card-c4f798ae {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    border: 1px solid #F3F4F6;
}

@media (max-width: 480px) {
    .wbs-card-c4f798ae {
        padding: 10px; /* Reduce padding on small screens */
    }
    
    .wbs-title-c4f798ae {
        font-size: 14px; /* Smaller title on mobile */
    }
    
    .wbs-price-c4f798ae {
        font-size: 16px; /* Smaller price on mobile */
    }
}

.wbs-card-c4f798ae:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Image */
.wbs-img-wrap-c4f798ae {
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio container */
    overflow: hidden;
}

.wbs-img-c4f798ae {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Color Dots (Mock) */
.wbs-colors-c4f798ae {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.wbs-dot-c4f798ae {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
}

.wbs-dot-plus-c4f798ae {
    font-size: 12px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Content */
.wbs-content-c4f798ae {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wbs-title-c4f798ae {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* Rating */
.wbs-rating-wrap-c4f798ae {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #1a1a1a;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.wbs-rating-wrap-c4f798ae .star-rating {
    font-size: 12px;
    color: #1a1a1a; /* Assuming black stars based on design */
    width: 5.4em; /* WooCommerce default width adjustment */
}
.wbs-rating-wrap-c4f798ae .star-rating::before {
    color: #ccc; /* Empty stars */
}
.wbs-rating-wrap-c4f798ae .star-rating span::before {
    color: #1a1a1a; /* Filled stars */
}

/* Price */
.wbs-price-wrap-c4f798ae {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wbs-price-prefix-c4f798ae {
    font-size: 13px;
    color: #4B5563;
}

.wbs-price-c4f798ae {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.wbs-price-c4f798ae del {
    display: none; /* Hide default woo old price if we structure it custom */
}
.wbs-price-c4f798ae ins {
    background: none;
    text-decoration: none;
}

.wbs-old-price-c4f798ae {
    font-size: 13px;
    color: #6B7280;
    text-decoration: line-through;
}
