.wpc-carousel-wrapper-3e7e23bb {
    position: relative;
    width: 100%;
}
.wpc-item {
    text-align: center;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto; 
}
.wpc-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.wpc-image {
    overflow: hidden; /* For zoom animation */
    margin: 0 auto 15px;
}
.wpc-image img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease; /* Hover animation */
}
.wpc-item:hover .wpc-image img {
    transform: scale(1.05); /* Zoom effect on hover */
}
.wpc-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes price to bottom */
    justify-content: space-between;
}
.wpc-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}
.wpc-price {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    display: flex; /* Inline layout for prices */
    justify-content: center;
    align-items: center;
    gap: 8px; /* Space between regular/sale price */
    margin-top: auto; /* Pushes to bottom of card */
}
.wpc-price del {
    opacity: 0.6;
    font-weight: normal;
}
.wpc-swiper.has-pagination {
    padding-bottom: 40px; /* space for pagination */
}

/* Grid Layout (when slider is off) */
.wpc-grid-mode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Alignment utilities */
.wpc-align-left .wpc-price {
    justify-content: flex-start;
}
.wpc-align-right .wpc-price {
    justify-content: flex-end;
}

/* Responsive grid fallbacks for editor controls */
@media (max-width: 1024px) {
    .wpc-grid-mode {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .wpc-grid-mode {
        grid-template-columns: 1fr;
    }
}