/* Products Carousel Styles */
.products-carousel-container {
    width: 100%;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.products-carousel {
    width: 100%;
    padding: 1rem 0;
    margin: 0;
}

.product-slide {
    height: auto;
    padding: 0;
    transition: transform 0.3s ease;
}

.product-item {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 0;
    overflow: hidden;
}

.product-card {
    height: 100%;
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.product-card:hover .product-image {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 177.77%; /* 9:16 aspect ratio */
    border-radius: 0;
    transition: transform 0.3s ease;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    margin-top: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    backdrop-filter: blur(2px);
    z-index: 2;
    transition: none; /* Remove transition from info area */
}

.product-title {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    padding: 0.8rem;
    color: #333;
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #000;
}

/* Products carousel navigation */
.products-carousel-next,
.products-carousel-prev {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.products-carousel-prev {
    left: 15px;
}

.products-carousel-next {
    right: 15px;
}

/* Remove existing content */
.products-carousel-next:after,
.products-carousel-prev:after,
.products-carousel-next i,
.products-carousel-prev i {
    display: none !important;
}

/* Create CSS arrow for previous button */
.products-carousel-prev:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(225deg);
    position: relative;
    right: -2px;
}

/* Create CSS arrow for next button */
.products-carousel-next:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(45deg);
    position: relative;
    left: -2px;
}

.products-carousel-next:hover,
.products-carousel-prev:hover {
    background-color: #f5f5f5;
}

.products-carousel-next:hover:before,
.products-carousel-prev:hover:before {
    border-color: #000;
}

/* Products carousel pagination */
.products-carousel-pagination {
    position: relative;
    margin-top: 1.5rem;
}

.products-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
    margin: 0 5px;
}

.products-carousel-pagination .swiper-pagination-bullet-active {
    background-color: #333;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .product-info {
        padding: 0;
    }
    
    .product-title {
        padding: 0.6rem;
    }
}

@media (max-width: 767px) {
    .product-title {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
} 