/**
 * WooCommerce Product Carousel - Estilos
 * Version: 1.0.4
 */

.wcpc-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    padding: 0;
    margin-bottom: 0;
}

.wcpc-carousel-container {
    overflow: hidden;
    position: relative;
}

.wcpc-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

.wcpc-carousel-item {
    flex: 0 0 auto;
    width: 20%;
    padding: 0 10px;
    box-sizing: border-box;
}

.wcpc-product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    /*padding: 15px;*/
    text-align: center;
    transition: transform 0.2s;
    height: auto;
    display: flex;
    flex-direction: column;
}

.wcpc-product-card:hover {
    /*transform: translateY(-5px);*/
}

.wcpc-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: auto;
}

.wcpc-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
}

.wcpc-product-title {
    font-size: 16px;
    margin: 5px 0;
    color: #720115;
    line-height: 1.2;
	text-align: left;
}

.wcpc-product-category {
    font-size: 12px;
    color: #720115;
    margin: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.wcpc-product-description {
    font-size: 14px;
    color: #720115;
    margin: 5px 0;
    line-height: 1.2;
    opacity: 0.8;
	text-align: left;
}

.wcpc-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #720115;
    margin-top: 5px;
}

.wcpc-nav {
    position: absolute;
    top: 100px;
    transform: translateY(-50%);
    background: transparent;
    color: #720115;
    border: 0px solid #720115;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.wcpc-nav:hover {
    background: #720115;
    color: #fff;
}

.wcpc-nav .dashicons {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.wcpc-nav-prev {
    left: 20px;
}

.wcpc-nav-next {
    right: 20px;
}

/* Tablet: 3 productos */
@media (max-width: 1024px) {
    .wcpc-carousel-item {
        width: 33.333%;
    }
    
    .wcpc-product-image {
        height: 180px;
    }
    
    .wcpc-nav {
        width: 45px;
        height: 45px;
        top: 90px;
    }
}

/* Móvil: 1 producto */
@media (max-width: 768px) {
    .wcpc-carousel-wrapper {
        padding: 0;
    }
    
    .wcpc-carousel-item {
        width: 100%;
    }
    
    .wcpc-product-image {
        height: 250px;
    }
    
    .wcpc-nav {
        width: 40px;
        height: 40px;
        top: 125px;
    }
    
    .wcpc-nav .dashicons {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
    
    .wcpc-nav-prev {
        left: 10px;
    }
    
    .wcpc-nav-next {
        right: 10px;
    }
}