/* Minimalus, bet 100 % veikiantis CSS – Akumai Carousel 2025 */
.akumai-carousel {
    margin: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.akumai-carousel .swiper-slide {
    text-align: center;
    padding: 10px;
}

.akumai-thumbnail {
    background: #fff;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.akumai-thumbnail img {
    max-height: 220px;
    max-width: 100%;
    transition: opacity .4s;
    object-fit: cover !important;
}

.akumai-product h3 {
    font-size: 18px;
    margin: 10px 0 8px;
    height: 52px;
    overflow: hidden;
    line-height: 1.3;
}

.akumai-product .price {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.akumai-carousel-wrapper .read-more-button {
    display: none; /* jei nereikia – paliekam paslėptą */
}

/* Išjungiame Swiper default rodykles (kad nebesirodytų ant produktų) */
.akumai-carousel-wrapper .swiper-button-next,
.akumai-carousel-wrapper .swiper-button-prev {
    display: none !important;
}

/* Custom rodyklės – veikia iš karto, static pozicija viršuje */
.akumai-prev,
.akumai-next {
    position: static !important;  /* Svarbiausia – ne absolute, liks viršuje */
    width: 44px !important;
    height: 44px !important;
    background: none;
    border-radius: 50%;
    margin: 0 !important;
    transform: none !important;
    cursor: pointer;
	border: solid 1px #0C1F2F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.akumai-prev:after,
.akumai-next:after {
    content: '';  /* Jei nori custom ikonų, pvz., font-awesome arba SVG */
    display: block;
	width: 20px;
	height: 20px;
	background-size: contain;
	background-repeat: no-repeat;
}

/* Pridėk savo ikonų stilius, pvz.: */
.akumai-prev:after {
    background: url("../images/arrow-right.svg");
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotate(-180deg);
}
.akumai-next:after {
    background: url("../images/arrow-right.svg");
	background-size: contain;
	background-repeat: no-repeat;
}


/* Absoliučiai sklandus non-stop loop’as */
.akumai-carousel .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Jei nori, kad visada slinktų iš kairės į dešinę (kaip marquee) */
.akumai-carousel .swiper-wrapper {
    animation: none !important;
}

.akumai-carousel-navigation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Rodyklės dešinėje */
.akumai-carousel-navigation-top .swiper-buttons {
    display: flex;
    gap: 12px;
	margin-left: auto;
}

/* Galutinai nužudome bet kokias likusias rodykles karuselės viduje */
.akumai-carousel .akumai-prev,
.akumai-carousel .akumai-next {
    display: none !important;  /* Jei netyčia dubliuotųsi */
}
.akumai-carousel .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 3.2em;
}
.akumai-carousel .swiper-wrapper {
    align-items: stretch;
}

.akumai-carousel .swiper-slide {
    height: auto;
    display: flex;
}
.akumai-carousel-wrapper .swiper-buttons:has(.akumai-next.swiper-button-lock),
.akumai-carousel-wrapper .swiper-buttons:has(.akumai-prev.swiper-button-lock) {
  display: none;
}





















.akumai-carousel-wrapper button.akumai-prev, .akumai-carousel-wrapper button.akumai-next { padding:0; color:#0C1F2F; }
@media(max-width:830px){ .akumai-carousel-wrapper .akumai-carousel {overflow-x:auto;} .akumai-carousel-wrapper .swiper-wrapper {transform:none!important;} .akumai-carousel-wrapper .swiper-slide {width:75%;flex-shrink:0;} .akumai-carousel-wrapper .akumai-carousel-navigation-top {display:none;} }
