.dps-bf {
    --dps-bf-black: #000000;
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-family: Mulish, Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.dps-bf *,
.dps-bf *::before,
.dps-bf *::after {
    box-sizing: border-box;
}

.dps-bf-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1.05fr);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000000;
    color: #ffffff;
    line-height: 1.4;
}

.dps-bf-banner img {
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #000000;
    object-fit: cover;
    object-position: right center;
}

.dps-bf-banner-copy {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    padding: 32px 20px 32px 36px;
}

.dps-bf-title,
.dps-bf-lead,
.dps-bf-dates,
.dps-bf-text {
    margin: 0;
    color: #ffffff;
}

.dps-bf-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.dps-bf-lead {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.dps-bf-dates {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.dps-bf-text {
    max-width: 520px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.dps-bf-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #ce262f;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    animation: dps-bf-btn-pulse 1.6s ease-in-out infinite;
}

.dps-bf-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: #ce262f;
    pointer-events: none;
    animation: dps-bf-btn-ping 1.6s ease-out infinite;
}

.dps-bf-btn:hover {
    background: #a71723;
    color: #ffffff !important;
}

.dps-bf-btn:hover::before {
    background: #a71723;
}

@keyframes dps-bf-btn-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.045);
    }
}

@keyframes dps-bf-btn-ping {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    75%,
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@keyframes dps-bf-btn-ping-compact {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    75%,
    100% {
        transform: scale(1.06);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dps-bf-btn,
    .dps-bf-btn::before {
        animation: none;
    }
}

@media (max-width: 1023px) {
    .dps-bf-banner {
        min-height: 0;
    }

    .dps-bf-banner-copy {
        padding: 28px 16px 28px 20px;
    }

    .dps-bf-title {
        font-size: 28px;
    }

    .dps-bf-lead {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .dps-bf-banner {
        grid-template-columns: 1fr;
    }

    .dps-bf-banner-copy {
        grid-column: 1;
        grid-row: 1;
        max-width: none;
        padding: 28px 20px 12px;
    }

    .dps-bf-banner img {
        grid-column: 1;
        grid-row: 2;
        height: 220px;
    }

    .dps-bf-text {
        max-width: none;
    }

    .dps-bf-btn {
        width: 100%;
    }

    .dps-bf-btn::before {
        animation-name: dps-bf-btn-ping-compact;
    }
}

.dps-bf-standalone {
    margin-bottom: 32px;
}

.dps-bf-standalone .dps-bf-title {
    font-size: 40px;
}

.dps-bf-standalone .dps-bf-lead {
    font-size: 23px;
}

.dps-bf-standalone .dps-bf-dates,
.dps-bf-standalone .dps-bf-text,
.dps-bf-standalone .dps-bf-btn {
    font-size: 18px;
}

.dps-bf-standalone .dps-bf-text {
    max-width: 580px;
}

@media (max-width: 1023px) {
    .dps-bf-standalone .dps-bf-title {
        font-size: 32px;
    }

    .dps-bf-standalone .dps-bf-lead {
        font-size: 20px;
    }
}

.dps-bf-offers {
    margin-top: 32px;
}

.dps-bf-sortbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 0 20px;
}

.dps-bf-sortbar label {
    margin: 0;
    color: #1e1819;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.dps-bf-sort {
    min-width: 260px;
    min-height: 44px;
    margin: 0;
    padding: 8px 36px 8px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e1819' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    color: #1e1819;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
}

.dps-bf-sort:hover {
    border-color: #1e1819;
}

.dps-bf-sort:focus {
    outline: none;
    border-color: #1e1819;
    box-shadow: 0 0 0 2px rgba(30, 24, 25, 0.12);
}

.dps-bf-offers .products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dps-bf-offers .products::before,
.dps-bf-offers .products::after {
    display: none;
    content: none;
}

.dps-bf-offers .product {
    display: flex;
    flex-direction: column;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-sizing: border-box;
}

.dps-bf-offers .product:hover {
    border-color: #1e1819;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dps-bf-offers .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.dps-bf-offers .woocommerce-LoopProduct-link::after {
    display: none;
    content: none;
}

.dps-bf-offers .product-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
}

.dps-bf-offers .product-image-wrapper img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

.dps-bf-offers .product-badge.dps-bf-draft {
    right: auto;
    left: 10px;
    background: #1e1819;
    text-transform: none;
}

.dps-bf-offers .product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 8px;
    background: #a71723;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dps-bf-offers .product-language-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.dps-bf-offers .product-language-label-text {
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.dps-bf-offers .product-language-labels {
    display: inline-flex;
    gap: 6px;
}

.dps-bf-offers .product-language-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #999999;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dps-bf-offers .woocommerce-loop-product__title {
    margin: 0 0 10px;
    color: #1e1819;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.dps-bf-offers .dps-bf-price {
    margin-top: auto;
}

.dps-bf-offers .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 10px 0 0;
    color: #1e1819;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.dps-bf-offers .price del,
.dps-bf-offers .price del .woocommerce-Price-amount,
.dps-bf-offers .price del .woocommerce-Price-amount bdi,
.dps-bf-offers .price del .woocommerce-Price-currencySymbol {
    color: #4a4a4a !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    opacity: 1;
    text-decoration: line-through;
}

.dps-bf-offers .price ins,
.dps-bf-offers .price ins .woocommerce-Price-amount,
.dps-bf-offers .price ins .woocommerce-Price-amount bdi,
.dps-bf-offers .price ins .woocommerce-Price-currencySymbol {
    color: #ce262f !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-decoration: none !important;
}

.dps-bf-offers .product-actions {
    margin-top: 15px;
}

.dps-bf-offers .product-actions .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px !important;
    border: 0;
    border-radius: 10px;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.dps-bf-offers .product-actions .button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
}

@media (max-width: 1023px) {
    .dps-bf-offers .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .dps-bf-offers .products {
        grid-template-columns: 1fr;
    }

    .dps-bf-sortbar {
        flex-direction: column;
        align-items: stretch;
    }

    .dps-bf-sort {
        width: 100%;
        min-width: 0;
    }
}
