/* Exclusive to category 42191405. Shared cards elsewhere keep their styles. */
.black-week-card {
    position: relative;
    overflow: hidden;
}

.black-week-card .item-image {
    position: relative;
    overflow: hidden;
}

.black-week-card .black-week-ribbon {
    position: absolute;
    z-index: 4;
    top: 21px;
    right: -34px;
    width: 145px;
    padding: 7px 0;
    transform: rotate(40deg);
    background: #ff3366;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.2px;
    text-align: center;
    pointer-events: none;
    box-shadow: none;
}

.black-week-card .item-description .item-name {
    font-size: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 4.2em;
}

.black-week-card .black-week-prices {
    margin-top: 2px;
}

.black-week-card .black-week-offer-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 5px;
}

.black-week-card [hidden] {
    display: none !important;
}

.black-week-card .black-week-percent {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 4px;
    background: #ff3366;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.black-week-card .black-week-before {
    color: #777;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}

.black-week-card .item-description .black-week-price {
    color: #5b217b;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.black-week-card .black-week-installments {
    margin-top: 5px;
    color: #ff3366;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .black-week-card .item-description .item-name {
        font-size: 14px;
        -webkit-line-clamp: 4;
        height: 5.6em;
    }

    .black-week-card .item-description .black-week-price {
        font-size: 24px;
    }

    .black-week-card .black-week-ribbon {
        top: 16px;
        right: -36px;
        font-size: 11px;
    }

    .black-week-card .black-week-offer-meta {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .black-week-card .black-week-percent {
        padding: 3px 4px;
        font-size: 11px;
        white-space: nowrap;
    }

    .black-week-card .black-week-before {
        font-size: 13px;
        white-space: nowrap;
    }
}

/* Product detail: the native base price continues to drive the current installments. */
.black-week-product .bw-detail-prices[hidden],
.black-week-product .bw-detail-other-payments[hidden],
.black-week-product .bw-detail-tax[hidden],
.black-week-product .bw-detail-go[hidden],
.black-week-product .bw-detail-transfer[hidden] {
    display: none !important;
}

.black-week-product.bw-detail-ready .bw-native-prices > *,
.black-week-product.bw-detail-ready .js-mandrile-product-transfer-alternative {
    display: none !important;
}

.black-week-product.bw-detail-ready .bw-native-prices {
    margin-bottom: 0 !important;
}

.black-week-product .bw-detail-prices {
    margin-bottom: 8px;
}

.black-week-product .bw-detail-before {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 16px;
    line-height: 1.3;
}

.black-week-product .bw-detail-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.black-week-product .bw-detail-price {
    color: #5b217b;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.black-week-product .bw-detail-percent {
    padding: 4px 6px;
    border-radius: 3px;
    background: #ff3366;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.black-week-product .bw-detail-tax {
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}

.black-week-product .bw-detail-other-payments {
    margin: 24px 0 8px;
    font-size: 14px;
    line-height: 1.4;
}

.black-week-product .bw-detail-go {
    margin-bottom: 8px;
}

.black-week-product .bw-detail-go-link {
    padding: 0;
    border: 0;
    background: none;
    color: #5b217b;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.black-week-product .bw-detail-transfer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #ff3366;
    font-weight: 700;
}

.black-week-product .bw-detail-payment-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.black-week-product .bw-detail-small-badge {
    display: inline-block;
    padding: 4px 5px;
    border-radius: 2px;
    background: #ff3366;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.black-week-product.bw-detail-ready .js-product-installments-container .product-detail-installments,
.black-week-product.bw-detail-ready .js-product-installments-container .product-installments {
    color: #ff3366;
    font-size: 18px;
    line-height: 1.4;
}

.black-week-product.bw-detail-ready .js-product-installments-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.black-week-product.bw-detail-ready .js-product-installments-container > .float-left {
    display: flex;
    align-items: center;
    float: none !important;
    margin-right: 0 !important;
    flex: 0 0 auto;
}

.black-week-product.bw-detail-ready .js-product-installments-container > .float-left svg {
    display: block;
}

@media (max-width: 767px) {
    .black-week-product .bw-detail-price {
        font-size: 28px;
    }
}
