/* Former WPCode #14591, #16892. Products only. */
/* Trustindex blokk teljes szélességben a galéria+adatok alatt, tabok előtt */
.walkingpaws-trustindex-fullwidth {
  width: 100%;
  clear: both;
  margin: 28px 0 36px;
}

.walkingpaws-trustindex-fullwidth-inner {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  overflow: hidden;
  box-sizing: border-box;
}

/* Widget ne lógjon ki */
.walkingpaws-trustindex-fullwidth-inner .ti-widget,
.walkingpaws-trustindex-fullwidth-inner iframe,
.walkingpaws-trustindex-fullwidth-inner > div,
.walkingpaws-trustindex-fullwidth-inner .slick-slider,
.walkingpaws-trustindex-fullwidth-inner .swiper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Nyilak elrejtése */
.walkingpaws-trustindex-fullwidth .ti-next,
.walkingpaws-trustindex-fullwidth .ti-prev,
.walkingpaws-trustindex-fullwidth .slick-next,
.walkingpaws-trustindex-fullwidth .slick-prev,
.walkingpaws-trustindex-fullwidth .swiper-button-next,
.walkingpaws-trustindex-fullwidth .swiper-button-prev,
.walkingpaws-trustindex-fullwidth [aria-label="Next"],
.walkingpaws-trustindex-fullwidth [aria-label="Previous"],
.walkingpaws-trustindex-fullwidth [aria-label="Következő"],
.walkingpaws-trustindex-fullwidth [aria-label="Előző"] {
  display: none !important;
}

/* Ha fallback marquee mód fut, a track folyamatosan menjen */
.walkingpaws-ti-marquee-ready .slick-track,
.walkingpaws-ti-marquee-ready .swiper-wrapper,
.walkingpaws-ti-marquee-ready .ti-widget,
.walkingpaws-ti-marquee-ready [class*="reviews"],
.walkingpaws-ti-marquee-ready [class*="slider"] {
  display: flex !important;
  align-items: stretch;
  gap: 18px;
  width: max-content !important;
  animation: walkingpawsTrustLoop 28s linear infinite;
  will-change: transform;
}

/* Hoverre megállhat, ha akarod — ha nem kell, töröld */
.walkingpaws-ti-marquee-ready:hover .slick-track,
.walkingpaws-ti-marquee-ready:hover .swiper-wrapper,
.walkingpaws-ti-marquee-ready:hover .ti-widget,
.walkingpaws-ti-marquee-ready:hover [class*="reviews"],
.walkingpaws-ti-marquee-ready:hover [class*="slider"] {
  animation-play-state: paused;
}

/* Kártyák szélessége */
.walkingpaws-ti-marquee-ready .slick-track > *,
.walkingpaws-ti-marquee-ready .swiper-wrapper > *,
.walkingpaws-ti-marquee-ready .ti-widget > *,
.walkingpaws-ti-marquee-ready [class*="reviews"] > *,
.walkingpaws-ti-marquee-ready [class*="slider"] > * {
  flex: 0 0 340px !important;
  max-width: 340px !important;
  box-sizing: border-box;
}

/* Tabok fölött egy kis levegő */
.woocommerce div.product .woocommerce-tabs,
.single-product .woocommerce-tabs {
  margin-top: 8px;
}

@keyframes walkingpawsTrustLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .walkingpaws-trustindex-fullwidth {
    margin: 20px 0 26px;
  }

  .walkingpaws-trustindex-fullwidth-inner {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .walkingpaws-ti-marquee-ready .slick-track > *,
  .walkingpaws-ti-marquee-ready .swiper-wrapper > *,
  .walkingpaws-ti-marquee-ready .ti-widget > *,
  .walkingpaws-ti-marquee-ready [class*="reviews"] > *,
  .walkingpaws-ti-marquee-ready [class*="slider"] > * {
    flex: 0 0 280px !important;
    max-width: 280px !important;
  }
}
@media (max-width: 500px) {

    /* =====================================================
       WalkingPaws – Ziggy
       CSAK single product upsell + related Slick slider
       ===================================================== */

    body.single-product .upsells.products .slick-slider li.product,
    body.single-product .related.products .slick-slider li.product {

        /* A Slick kezelje a szélességet, ne a Ziggy grid CSS */
        flex: none !important;
        max-width: none !important;

        /* Ziggy alap 15px helyett kompaktabb térköz */
        padding-left: 7px !important;
        padding-right: 7px !important;

        margin: 0 !important;
        box-sizing: border-box !important;
    }


    /* A carousel külső negatív margóját semlegesítjük */
    body.single-product .upsells.products ul.products.slick-slider,
    body.single-product .related.products ul.products.slick-slider {
        margin-left: -7px !important;
        margin-right: -7px !important;
        display: block !important;
    }


    /* Teljes kártyaszélesség */
    body.single-product .upsells.products li.product .product-block,
    body.single-product .related.products li.product .product-block,
    body.single-product .upsells.products li.product .product-transition,
    body.single-product .related.products li.product .product-transition,
    body.single-product .upsells.products li.product .product-img-wrap,
    body.single-product .related.products li.product .product-img-wrap,
    body.single-product .upsells.products li.product .product-img-wrap .inner,
    body.single-product .related.products li.product .product-img-wrap .inner,
    body.single-product .upsells.products li.product .product-image,
    body.single-product .related.products li.product .product-image {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* Termékkép */
    body.single-product .upsells.products li.product img,
    body.single-product .related.products li.product img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }


    /* Szöveges rész */
    body.single-product .upsells.products li.product .product-caption,
    body.single-product .related.products li.product .product-caption {
        width: 100% !important;
        padding-top: 10px !important;
    }


    /* Ár */
    body.single-product .upsells.products li.product .price,
    body.single-product .related.products li.product .price {
        font-size: 17px !important;
        line-height: 1.25 !important;
        margin: 0 0 7px !important;
    }


    /* Terméknév */
    body.single-product .upsells.products li.product .woocommerce-loop-product__title,
    body.single-product .related.products li.product .woocommerce-loop-product__title {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin: 5px 0 0 !important;

        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
    }


    /* Slider pöttyök */
    body.single-product .upsells.products .slick-dots,
    body.single-product .related.products .slick-dots {
        position: static !important;
        width: 100% !important;
        text-align: center !important;
        margin: 20px 0 0 !important;
    }


    /* Ne legyen indokolatlanul magas a Slick slide */
    body.single-product .upsells.products .slick-slide,
    body.single-product .related.products .slick-slide {
        height: auto !important;
    }

    body.single-product .upsells.products .slick-track,
    body.single-product .related.products .slick-track {
        display: flex !important;
        align-items: flex-start !important;
    }


    /* Blokkok közötti vertikális tér */
    body.single-product .upsells.products,
    body.single-product .related.products {
        margin-bottom: 45px !important;
    }
}
