/* Gesto Product Carousel Styles */

.gesto-product-carousel-wrapper {
    margin: 50px 0;
    position: relative;
}

/* Header & Navigation */
.gesto-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 15px;
}

.gesto-carousel-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #333;
    position: relative;
}

.gesto-carousel-title::after {
    content: '';
    position: absolute;
    bottom: -17px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #007bff; /* Primary Color */
}

.gesto-carousel-nav {
    display: flex;
    gap: 10px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* Product Card */
.gesto-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gesto-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Image Wrapper */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gesto-product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

/* Badges */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.sale-badge {
    background: #ff4757;
    color: #fff;
}

/* Hover Actions */
.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: bottom 0.3s ease;
    z-index: 2;
}

.gesto-product-card:hover .product-actions {
    bottom: 0;
}

.product-actions a.button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
    font-size: 16px;
}

.product-actions a.button:hover {
    background: #007bff;
    color: #fff;
}

.product-actions a.button.added::after {
    display: none;
}

/* Product Info */
.product-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #007bff;
}

/* Rating */
.product-rating {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.woocommerce .star-rating {
    float: none;
    margin: 0 auto;
    font-size: 14px;
    color: #ffc107;
}

/* Price */
.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #007bff;
}

.product-price del {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    margin-left: 8px;
}

.product-price ins {
    text-decoration: none;
}

/* Swiper Pagination */
.gesto-product-swiper {
    padding-bottom: 40px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    width: 25px;
    border-radius: 5px;
}
