/* ============ Product Carousel Component Styles ============ */

.c-product-carousel.product-showcase {
    padding: 5rem 0;
    background-color: var(--white);
}

.c-product-carousel .product-carousel-container {
    position: relative;
    padding: 0 60px;
}

.c-product-carousel .product-carousel {
    padding: 10px 0 50px;
    position: static;
}

/* Swiper Navigation */
.c-product-carousel .product-carousel .swiper-button-prev,
.c-product-carousel .product-carousel .swiper-button-next {
    color: var(--secondary-color);
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 10;
    top: 40%;
}

.c-product-carousel .product-carousel .swiper-button-prev::after,
.c-product-carousel .product-carousel .swiper-button-next::after {
    font-size: 1.1rem;
    font-weight: bold;
}

.c-product-carousel .product-carousel .swiper-button-prev:hover,
.c-product-carousel .product-carousel .swiper-button-next:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.c-product-carousel .product-carousel .swiper-button-prev {
    left: 0;
}

.c-product-carousel .product-carousel .swiper-button-next {
    right: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .c-product-carousel .product-carousel-container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .c-product-carousel.product-showcase {
        padding: 3rem 0;
    }

    .c-product-carousel .product-carousel .swiper-button-prev,
    .c-product-carousel .product-carousel .swiper-button-next {
        display: none !important;
    }
}

/* Skeleton Loader */
@keyframes pc-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.pc-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1200px 100%;
    animation: pc-shimmer 1.4s infinite linear;
    border-radius: 4px;
}

.pc-skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    height: 100%;
}

.pc-skeleton-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
}

.pc-skeleton-title {
    width: 80%;
    height: 20px;
}

.pc-skeleton-price {
    width: 40%;
    height: 24px;
}

.pc-skeleton-btn {
    width: 100%;
    height: 40px;
    margin-top: auto;
}

.product-carousel-skeleton {
    display: flex;
    gap: 20px;
    overflow: hidden;
    padding: 10px 0 50px;
}

.product-carousel-skeleton > div {
    flex: 0 0 280px; /* Size similar to desktop slides */
}

@media (max-width: 1024px) {
    .product-carousel-skeleton > div {
        flex: 0 0 220px;
    }
}

@media (max-width: 768px) {
    .product-carousel-skeleton {
        gap: 15px;
    }
    .product-carousel-skeleton > div {
        flex: 0 0 180px;
    }
}

/* See More Card */
.swiper-slide-more {
    height: auto;
    display: flex;
}

.btn-see-more-card {
    width: 100%;
    min-height: 100%;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--secondary-color);
    padding: 30px 20px;
}

.btn-see-more-card:hover {
    background-color: transparent;
}

.see-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.see-more-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.see-more-icon i {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.btn-see-more-card:hover .see-more-icon {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.btn-see-more-card:hover .see-more-icon i {
    color: var(--white);
}

.see-more-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .btn-see-more-card {
        padding: 20px 15px;
    }
    
    .see-more-icon {
        width: 50px;
        height: 50px;
    }
    
    .see-more-icon i {
        font-size: 1.2rem;
    }
    
    .see-more-text {
        font-size: 0.85rem;
    }
}

