/**
 * Amazon Product Slider CSS – namespaced with .boxyfy-sliderboxes
 * ---------------------------------------------------------------
 * Alle Regeln sind via .boxyfy-sliderboxes gekapselt, um Konflikte zu vermeiden.
 */

/* ---------- Frontend-Hinweise ------------------------------------------------ */
.boxyfy-sliderboxes .boxyfy-products-slider-info1,
.boxyfy-sliderboxes .boxyfy-products-slider-info2 {
    text-align: center;
    color: red;
}

/* ---------- Haupt-Wrapper ---------------------------------------------------- */
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper {
    position: relative;
    width: 100% !important;
    max-width: 1200px;
    margin: 32px auto;
    padding: 10px 0;
    box-sizing: border-box !important;
}

/* ---------- Swiper-Container ------------------------------------------------- */
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper .amazon-products-slider {
    position: relative;
    padding: 0 0 5px 0;
    margin: 0 50px;
    overflow: hidden;
}

/* ---------- Swiper-Wrapper --------------------------------------------------- */
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper
.amazon-products-slider .swiper-wrapper.style1 {
    display: flex;
    padding-left: 5px;
    padding: 0 0 10px 6px;
    transition-property: transform;
}

.boxyfy-sliderboxes .tsamazon-products-slider-wrapper
.amazon-products-slider .swiper-wrapper.style2 {
    display: flex;
    padding: 0 0 10px 0;
    transition-property: transform;
}

/* ---------- Einzel-Slides ---------------------------------------------------- */
.boxyfy-sliderboxes .amazon-products-slider .swiper-slide {
    flex-shrink: 0;
    width: calc((100% - 30px) / 4) !important;
    box-sizing: border-box;
}

/* Fallback-Breite   */
.boxyfy-sliderboxes .swiper-slide {
    flex: 0 0 250px;
}

/* ---------- Responsive ------------------------------------------------------- */
@media (max-width: 1150px) {
    .boxyfy-sliderboxes .tsamazon-products-slider-wrapper {
        max-width: 100% !important;
        padding: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 675px) {
    .boxyfy-sliderboxes .tsamazon-products-slider-wrapper .amazon-products-slider {
        margin: 0;
    }

    .boxyfy-sliderboxes .tsamazon-products-slider-wrapper
    .swiper-button-prev.style1,
    .boxyfy-sliderboxes .tsamazon-products-slider-wrapper
    .swiper-button-prev.style2,
    .boxyfy-sliderboxes .tsamazon-products-slider-wrapper
    .swiper-button-next.style1,
    .boxyfy-sliderboxes .tsamazon-products-slider-wrapper
    .swiper-button-next.style2 {
        top: 188px !important;
    }
}

/* ---------- Pfeile ----------------------------------------------------------- */
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper
.swiper-button-prev,
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper
.swiper-button-next {
    width: 38px;
    height: 35px;
    top: 210px;
    border-radius: 20%;
    color: #6d6d6d;
    background-color: transparent;
    padding: 15px 10px;
    display: flex;
    transform: scale(0.55) !important;
    justify-content: center;
    align-items: center;
    position: absolute;
}
	
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper .swiper-button-prev {
    left: 0;
}

.boxyfy-sliderboxes .tsamazon-products-slider-wrapper .swiper-button-next {
    right: 0;
}

.boxyfy-sliderboxes .tsamazon-products-slider-wrapper
.swiper-button-prev:hover,
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper
.swiper-button-next:hover {
    background-color: none;
	cursor: pointer;
}

/* ---------- Produkt-Boxen ---------------------------------------------------- */
.boxyfy-sliderboxes .swiper-slide .amazon-product-box-container.style1 {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0;
    padding: 10px;
    text-align: center;
    position: relative;
}

.boxyfy-sliderboxes .swiper-slide .amazon-product-box-container.style2 {
    background: #fff;
    border: 1px solid #d2d0d0;
    border-radius: 4px;
    margin: 0;
    padding: 10px;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 5px 3px #efefef;
}

/* ---------- Ribbon-Badge ----------------------------------------------------- */
.boxyfy-sliderboxes .tsamazon-products-slider-wrapper .slider-ribbon {
    font-size: 13px;
    font-weight: 400;
	line-break: 1.0;
}

.boxyfy-sliderboxes .swiper-wrapper .swiper-slide .slider-ribbon.style1 {
    --r: .4em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 12px;
    left: calc(-1 * var(--r));
    line-height: 1.8;
    padding: 2px 17px 13px 17px;
    border-radius: var(--r) 0 0 var(--r);
    background:
        radial-gradient(100% 50% at left, var(--c) 98%, #0000 101%) 100% 0 / .5lh calc(100% - 2*var(--r)),
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 100% / var(--r) calc(2*var(--r)),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, var(--c) 0) 0 0 /
        calc(101% - .5lh) 100%;
    background-repeat: no-repeat;
}

.boxyfy-sliderboxes .swiper-wrapper .swiper-slide .slider-ribbon.style2 {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
	max-height: 26px;
    top: 6px;
    left: 6px;
    padding: 1px 10px;
    border-radius: 3px 3px 12px 3px;
    font-size: 13px !important;
}

/* ---------- Produkt-Bild ----------------------------------------------------- */
.boxyfy-sliderboxes .product-image-slider-container-ts.style1,
.boxyfy-sliderboxes .product-image-slider-container-ts.style2 {
    height: 170px;
    max-height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px 0 25px;
}

.boxyfy-sliderboxes .product-thumbnail-slider {
    width: auto;
    height: auto;
    max-width: 170px;
    max-height: 170px;
    object-fit: contain;
    visibility: visible !important;
    opacity: 1;
}

/* ---------- Titel-Link ------------------------------------------------------- */
.boxyfy-sliderboxes .product-title-slider.style1,
.boxyfy-sliderboxes .product-title-slider.style2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    font-family: Open Sans, Arial, sans-serif;
    line-height: 1.45em;
    color: #333;
    text-align: center;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
}

.boxyfy-sliderboxes .product-title-slider.style1 {
	min-height: 60px;
	max-height: 61px;
}

.boxyfy-sliderboxes .product-title-slider.style2 {
    text-align: left;
	min-height: 64px;
	max-height: 65px;
}

/* ---------- Preis-/Ersparnis-Container -------------------------------------- */
.boxyfy-sliderboxes .product-price-details-wrappper {
    display: block;
    margin: 5px 0;
    height: 55px;
}

.boxyfy-sliderboxes .product-price-container.style1,
.boxyfy-sliderboxes .product-price-container.style2 {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.boxyfy-sliderboxes .product-price-container.style1 {
    justify-content: center;
}

.boxyfy-sliderboxes .product-price-container.style2 {
    justify-content: flex-start;
}

/* ---------- Preis-Text ------------------------------------------------------- */
.boxyfy-sliderboxes .product-price-slider.style1,
.boxyfy-sliderboxes .product-price-slider.style2 {
    font-size: 18px;
    font-weight: 600 !important;
    font-family: Open Sans, Arial, sans-serif;
    color: #41413e;
}

@media (max-width: 940px) {
    .boxyfy-sliderboxes .product-price-slider.style1,
    .boxyfy-sliderboxes .product-price-slider.style2 {
        font-size: 16px;
    }
}

/* ---------- Rabatt-Marker ---------------------------------------------------- */
.boxyfy-sliderboxes .discount-percentage-before {
    margin: 0 5px 2px 0;
    color: #d40606;
    letter-spacing: 1.3px;
    font-size: 21px;
    font-weight: 300;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* runde / eckige Badge */
.boxyfy-sliderboxes .discount-badge-slider.style1,
.boxyfy-sliderboxes .discount-badge-slider.style2 {
    color: #046105;
    font-weight: 600;
    padding: 6px;
	line-height: 1.2em;
    font-size: 12px;
    font-family: Open Sans, Arial, sans-serif;
    margin-left: 7px;
}

.boxyfy-sliderboxes .discount-badge-slider.style1 {
    background-color: rgba(163, 173, 163, 0.13);
    border-radius: 21px;
}

.boxyfy-sliderboxes .discount-badge-slider.style2 {
    background-color: rgba(12, 207, 12, 0.1);
    border-radius: 4px;
}

/* ---------- UVP-Text --------------------------------------------------------- */
.boxyfy-sliderboxes .product-saveprice-slider.style1,
.boxyfy-sliderboxes .product-saveprice-slider.style2 {
    text-decoration: line-through;
	line-height: 1.0em;
    color: #5f5858;
}

.boxyfy-sliderboxes .product-saveprice-slider.style1 {
    font-size: 13px;
    text-align: center;
}

.boxyfy-sliderboxes .product-saveprice-slider.style2 {
    font-size: 11px;
    text-align: left;
}

/* ---------- CTA-Button ------------------------------------------------------- */
.boxyfy-sliderboxes .product-add-to-cart-slider {
    display: flex;
    margin-top: 10px;
}

.boxyfy-sliderboxes .product-add-to-cart-slider a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.boxyfy-sliderboxes .product-add-to-cart-slider a.style1,
.boxyfy-sliderboxes .product-add-to-cart-slider a.style2 {
    padding: 7px 0;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
	max-height: 38px;
    transition: background-color 0.3s ease;
}

.boxyfy-sliderboxes .product-add-to-cart-slider a.style1 {
    border-radius: 24px;
}

.boxyfy-sliderboxes .product-add-to-cart-slider a.style2 {
    border-radius: 4px;
}

.boxyfy-sliderboxes .add-to-cart-link-slider:hover {
    filter: brightness(0.68);
}

/* ---------- Pagination ------------------------------------------------------- */
.boxyfy-sliderboxes .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.boxyfy-sliderboxes .pagination-dot.style1,
.boxyfy-sliderboxes .pagination-dot.style2 {
    background-color: #d1d1d1;
}

.boxyfy-sliderboxes .pagination-dot.style1 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.boxyfy-sliderboxes .pagination-dot.style2 {
    width: 18px;
    height: 4px;
}

.boxyfy-sliderboxes .pagination-dot.active {
    background-color: #0173ab;
    transform: scale(1.2);
}

.boxyfy-sliderboxes .pagination-dot:hover {
    cursor: pointer;
}

/* ---------- Disclaimer ------------------------------------------------------ */
.boxyfy-sliderboxes .boxyfy-products-slider-disclaimer {
	font-size: 14px !important;
    text-align: center;
	margin: 10px 0 0 0;
	padding: 0;
	color: #474747 !important;
}

/* ---------- SVG-Icons ------------------------------------------------------- */
.boxyfy-sliderboxes .swiper-slide svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    padding: 0;
}