Swiper тень уходит за пределы слайдера?
Подскажите пожалуйста тень уходить за пределы слайдера, но отступы по 15px слева справа должны быть для стрелочек. Как решить проблему с тенью? Спасибо https://i.stack.imgur.com/9zAyY.png
new Swiper('.product-cart-slider', {
speed: 800,
slidesPerView: 2,
watchOverflow: true,
preloadImages: false,
spaceBetween: 5,
lazy: true,
loop: true,
autoHeight: false,
navigation: {
nextEl: '.slider-item-product__next',
prevEl: '.slider-item-product__prev',
},
breakpoints: {
0: {
slidesPerView: 2,
},
640: {
slidesPerView: 2,
},
768: {
slidesPerView: 2,
},
992: {
slidesPerView: 2,
},
1200: {
slidesPerView: 2,
},
}
});
.container{
max-width: 500px;
margin: 0 auto;
}
.bottom-left-product__swiper {
flex: 0 1 407px;
min-width: 0;
}
.slider-item-product__swiper {
width: calc(100% + 25px);
position: relative;
margin: 0px -15px 0px 0px;
}
.slider-item-product__slider-swiper {
margin: 0px 15px;
overflow: hidden;
}
.swiper-wrapper {
width: 100%;
height: 100%;
box-sizing: content-box;
display: flex;
position: relative;
}
.slider-item-product__slide {
margin: 15px 0px;
}
.swiper-slide {
flex-shrink: 0;
width: 100%;
height: 100%;
position: relative;
transition-property: transform;
}
.bottom-left-product__slider .product-layout {
padding: 15px 10px 10px 10px;
-webkit-box-shadow: 0px 4px 15px rgb(0 0 0 / 12%);
box-shadow: 0px 4px 15px rgb(0 0 0 / 12%);
border-radius: 7px;
height:200px;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css" />
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css" />
<script src="https://unpkg.com/swiper/swiper-bundle.js"></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
</head>
<body>
<div class="container">
<div class="bottom-left-product__swiper">
<div class="bottom-left-product__slider">
<div class="slider-item-product__swiper">
<div class="slider-item-product__slider-swiper product-cart-slider">
<div class="swiper-wrapper">
<div class="slider-item-product__slide swiper-slide">
<div class="product-layout product-carusel">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>