/* =============================================
   PRODUCT SWIPER SLIDER (COVERFLOW)
   ============================================= */

.product-slider-section {
    padding: 3rem 0;
    background: transparent; /* Adjust if needed */
    overflow: hidden;
}

.product-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.ps-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary, #111);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Tags Navigation */
.ps-tags-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ps-tag {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted, #666);
    cursor: pointer;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.ps-tag:hover {
    color: var(--text-primary, #111);
}

.ps-tag.active {
    color: var(--text-primary, #111);
    font-weight: 600;
    border-bottom: 2px solid var(--primary, #fb923c);
}

/* Swiper Container */
.product-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}

.product-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px; /* Base width of side slides */
    height: 400px;
    background: transparent; /* Remove background */
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    border: none; /* No border */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active Slide Styling */
.product-swiper .swiper-slide-active {
    z-index: 2;
}

/* Slide Image */
.ps-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keep full PNG visible */
    display: block;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.25)); /* Stronger, softer drop shadow */
}

/* Ground Shadow Effect */
.product-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-swiper .swiper-slide-active::after {
    opacity: 1;
}

/* Empty/Loading state */
.ps-empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted, #666);
}

/* Navigation & Pagination Overrides */
.product-swiper .swiper-pagination-bullet-active {
    background: var(--primary, #fb923c);
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: var(--text-primary, #111);
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
    .ps-title {
        font-size: 1.8rem;
    }
    .ps-tags-nav {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    .ps-tag {
        font-size: 0.9rem;
    }
    .product-swiper .swiper-slide {
        width: 220px;
        height: 300px;
    }
    .product-swiper .swiper-slide-active {
        width: 260px;
        height: 360px;
    }
}
