/* Product Carousel Styles */

.pc-swiper-container {
    width: 100%;
    overflow: hidden;
    /* Ensure no scrollbars */
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    height: auto;
    /* Allow slide to grow */
    display: flex;
    /* Key for equal height */
}

.pc-product-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pc-product-box:hover {
    transform: translateY(-5px);
}

.pc-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Fills remaining space */
}

.pc-product-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #333;
}

.pc-product-desc {
    margin: 0 0 20px;
    color: #666;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.pc-product-btn-wrapper {
    margin-top: auto;
    /* Ensures button is always at the bottom */
}

.pc-product-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-align: center;
}

.pc-product-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Button Width Control */
.pc-btn-width-full .pc-product-btn {
    display: block;
    width: 100%;
}