/* ============================================================
 * Amazon Bestseller Product Boxes
 * ===========================================================*/

/* ---------- list wrapper ----------------------------------- */
.boxyfy-amz-bestseller-liste .amazon-bestseller-product-boxes-list-zwei {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 25px 0;
}

/* ---------- single box ------------------------------------- */
.boxyfy-amz-bestseller-liste .amazon-product-box-zwei {
    position: relative;
    border: 1.5px solid #e0e0e0;
    padding: 15px;
    border-radius: 25px;
    background-color: #ffffff;
    box-sizing: border-box;
    width: 100%;
}

/* optional shadow */
.boxyfy-amz-bestseller-liste .amazon-product-box-zwei.box-shadows {
    border: 1px solid #dddddd !important;
    box-shadow: inset 0 0 6px 3px #e1dfdf !important;
}

/* ---------- ranking ribbon --------------------------------- */
.boxyfy-amz-bestseller-liste .ranking-label-box-zwei {
    --r: .4em;

    position: absolute;
    top: 20px;
    left: calc(-1 * var(--r));
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: auto;
	min-height: 0 !important;
    line-height: 1.8;
    padding: 1px 8px 13px 8px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #ffffff;
    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;
}

/* ---------- inner layout ----------------------------------- */
.boxyfy-amz-bestseller-liste .amazon-product-content-zwei {
    display: flex;
    align-items: center;
    gap: 15px;
    box-sizing: border-box;
}

/* image block */
.boxyfy-amz-bestseller-liste .amazon-best-productboxes-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 155px;
    min-width: 155px;
    max-height: 155px;
    margin: 15px 0 0 10px;
}

.boxyfy-amz-bestseller-liste .amazon-best-productboxes-image-container img {
    width: auto;
    height: auto;
    max-width: 155px;
    max-height: 155px;
    object-fit: cover;
    visibility: visible !important;
    opacity: 1;
}

.boxyfy-amz-bestseller-liste .amazon-product-thumbnail-zwei:hover {
    transform: scale(1.7);
    cursor: pointer;
}

/* title */
.boxyfy-amz-bestseller-liste .amazon-product-title-zwei {
    color: #474747;
    line-height: 1.4em;
    font-weight: 600;
    font-family: Open Sans, Arial, sans-serif;
    margin: 2px 1px 20px 1px !important;
}

/* info block */
.boxyfy-amz-bestseller-liste .amazon-product-info-zwei {
    flex-grow: 1;
    max-width: 760px;
    margin: 0 15px 5px 15px;
    box-sizing: border-box !important;
}

/* feature list */
.boxyfy-amz-bestseller-liste .amazon-product-details-zwei {
    margin: 0 0 10px 0;
    padding: 0;
    min-height: 92px;
}

.boxyfy-amz-bestseller-liste .amazon-bestseller-product-boxes-list-zwei .amazon-product-box-zwei li {
    margin: 0 0 8px 14px;
    list-style-type: disc;
    line-height: 1.65em !important;
    font-size: 15px;
    font-family: Open Sans, Arial, sans-serif;
    color: #272525;
}

/* “show more” toggle */
.boxyfy-amz-bestseller-liste .toggle-details {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
    font-size: 13px;
	line-height: 1.4em;
    font-weight: 500;
    color: #504d4d;
}

.boxyfy-amz-bestseller-liste .more-details {
	display: none;
	margin: 0;
}

.boxyfy-amz-bestseller-liste .more-details ul {
	margin: 0;
}

.boxyfy-amz-bestseller-liste .more-details.open {
	display: block;
}

.boxyfy-amz-bestseller-liste .toggle-details img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    transition: transform .3s ease;
}

/* price area */
.boxyfy-amz-bestseller-liste .amazon-product-price-container-zwei {
    margin: 5px 0 5px 0;
	max-height: 35px;
    font-family: Open Sans, Arial, sans-serif;
}

.boxyfy-amz-bestseller-liste .tsproductbestseller-reduziert-top-container {
    display: block;
    margin: 12px 0 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #da0505;
}

.boxyfy-amz-bestseller-liste .product-price-zwei {
    padding-left: 5px;
    font-size: 22px;
    font-weight: 600;
    color: #2c2a2a;
}

.boxyfy-amz-bestseller-liste .product-saveprice-zwei {
    margin: 5px 0 0 0;
    font-size: 13px;
    line-height: 3em;
    color: #685e5e;
}

.boxyfy-amz-bestseller-liste  .discount-percentage-zwei {
	display: inline-flex;
	align-items: center;
  	margin: 10px 0 0 5px;
	padding: 4px 8px;
  	font-size: 13px;
	gap: 7px;
	line-height: 1.4em;
  	font-weight: 550;
  	font-family: Open Sans, Arial, sans-serif;
	border-radius: 6px;
	background-color: rgba(242,42,42,0.08);
  	color: #da0505;
}

.boxyfy-amz-bestseller-liste  .discount-percentage-zwei svg {
	width: 17px;
	height: 17px;
}

/* buttons */
.boxyfy-amz-bestseller-liste .button-container-zwei {
    display: flex;
    margin: 0;
}

.boxyfy-amz-bestseller-liste .amazon-product-button-zwei,
.boxyfy-amz-bestseller-liste .amazon-cart-button-zwei {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
	height: auto;
	min-height: 0 !important;
	max-height: 45px !important;
	margin: 5px 5px 0 0;
    padding: 7px 12px;
    font-size: 16px;
    font-weight: 400 !important;
    font-family: Open Sans, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
}

.boxyfy-amz-bestseller-liste .amazon-product-button-zwei:hover,
.boxyfy-amz-bestseller-liste .amazon-cart-button-zwei:hover {
    filter: brightness(.68);
}

/* disclaimer */
.boxyfy-amz-bestseller-liste .disclaimer-amz-liste-boxes {
    padding: 0 10px;
    font-size: 13px;
    color: #727272;
}

/* ---------- responsive ≤ 970 px ---------------------------- */
@media (max-width: 970px) {

    .boxyfy-amz-bestseller-liste .amazon-product-content-zwei {
        flex-direction: column;
        align-items: center;
    }

    .boxyfy-amz-bestseller-liste .amazon-best-productboxes-image-container {
        order: 1;
        width: 100% !important;
        max-width: 230px !important;
        max-height: 230px !important;
        margin: 50px 0 5px 0;
    }

    .boxyfy-amz-bestseller-liste .amazon-best-productboxes-image-container img {
        max-width: 230px !important;
        max-height: 230px !important;
    }

    .boxyfy-amz-bestseller-liste .amazon-product-info-zwei {
        order: 2;
        width: 100%;
    }

    .boxyfy-amz-bestseller-liste .amazon-product-button-zwei,
    .boxyfy-amz-bestseller-liste .amazon-cart-button-zwei {
        width: 100%;
    }

    .boxyfy-amz-bestseller-liste .button-container-zwei {
        display: block;
    }
}

/* ---------- responsive ≤ 500 px ---------------------------- */
@media (max-width: 500px) {

    .boxyfy-amz-bestseller-liste .amazon-product-box-zwei h2 {
        margin-top: 0 !important;
    }

    .boxyfy-amz-bestseller-liste .product-price-zwei {
        font-size: 20px;
    }

    .boxyfy-amz-bestseller-liste .amazon-product-price-container-zwei {
        margin-top: 22px;
    }

    .boxyfy-amz-bestseller-liste .product-saveprice-zwei,
    .boxyfy-amz-bestseller-liste .product-saveprice-zwei span {
        font-size: 14px;
    }

    .boxyfy-amz-bestseller-liste .amazon-product-button-zwei,
    .boxyfy-amz-bestseller-liste .amazon-cart-button-zwei {
        padding: 9px 8px;
        font-size: 14px;
    }
}