/* Aafaq Product Slider – Compatibility Skin */
.aapse-swiper{position:relative;width:100%;overflow:hidden}
.aapse-swiper .swiper-wrapper{align-items:stretch}
.aapse-swiper .swiper-slide{height:auto;display:flex}
.aapse-swiper .swiper-slide > *{width:100%}

/* Keep theme card but normalize inner layout */
.aapse-swiper .product{display:flex;flex-direction:column;height:100%}
.aapse-swiper .product .woocommerce-loop-product__link,
.aapse-swiper .product .woocommerce-LoopProduct-link{display:flex;flex-direction:column;height:100%}

/* Image: consistent height + contain */
.aapse-swiper .product img{
    width:100%!important;
    height:auto;
    max-height:200px;
    object-fit:contain;
    display:block;
    margin:0 auto;
}
.aapse-swiper .product .attachment-woocommerce_thumbnail{width:100%}

/* Title + price */
.aapse-swiper .product .woocommerce-loop-product__title{line-height:1.2;margin-top:.4rem;margin-bottom:.3rem}
.aapse-swiper .price{margin-top:auto}

/* Clean small arrows */
.aapse-swiper .swiper-button-prev,.aapse-swiper .swiper-button-next{opacity:.9;transition:opacity .2s;width:32px;height:32px}
.aapse-swiper:hover .swiper-button-prev,.aapse-swiper:hover .aapse-swiper .swiper-button-next{opacity:1}
.aapse-swiper .swiper-button-prev:after,.aapse-swiper .swiper-button-next:after{font-size:16px}
.aapse-swiper .swiper-pagination-bullet{width:8px;height:8px}

/* Avoid theme-forced fixed heights */
.aapse-swiper .swiper-wrapper,.aapse-swiper .swiper-slide{min-height:unset}

/* RTL arrow fix */
html[dir="rtl"] .aapse-swiper .swiper-button-prev{right:auto;left:10px}
html[dir="rtl"] .aapse-swiper .swiper-button-next{left:auto;right:10px}
