/*
 * Black Friday Danmark hero.
 * Scoped to .bfdk-hero so these styles do not affect unrelated Gutenberg blocks.
 */

.bfdk-hero.front_top {
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 0;
    background-color: #F4BA2B;
    background-image: url('/wp-content/uploads/2026/08/hero-bags.png');
    background-repeat: no-repeat;
    background-position: right 85px bottom 10px;
    background-size: contain;
}

.bfdk-hero.front_top::before,
.bfdk-hero.front_top::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    z-index: 0;
    pointer-events: none;
    border-style: solid;
    border-color: #fff9e8;
    border-radius: 50%;
    box-shadow: 8px 10px 24px rgba(0, 0, 0, 0.06), inset 8px 8px 18px rgba(0, 0, 0, 0.10);
}

.bfdk-hero.front_top::before {
    width: 345px;
    height: 550px;
    left: -234px;
    top: -114px;
    border-width: 100px;
    transform: rotate(205deg);
}

.bfdk-hero.front_top::after {
    width: 220px;
    height: 303px;
    left: 45px;
    bottom: -50px;
    border-width: 80px;
}

.bfdk-hero > .container,
.bfdk-hero .container {
    position: relative;
    z-index: 2;
    width: min(1140px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.bfdk-hero .hero-row {
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    display: block !important;
}

.bfdk-hero .col-sm-empty-space {
    flex: 0 0 10%;
    max-width: 10%;
    min-height: 1px;
}

.bfdk-hero .hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
}

.bfdk-hero .hero-main-text-wrapper {
    text-shadow: 0 0 4px #fed421, 0 0 8px #fed421, 0 0 14px #fed421, 0 0 20px #fed421;
}

.bfdk-hero h1 {
    margin: 0 0 10px;
    font-size: 48px !important;
    line-height: 1.04 !important;
    font-weight: 800;
    color: #000;
}

.bfdk-hero .desk-show {
    width: 100%;
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
}

.bfdk-hero .hero-text-info {
    width: 100%;
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.bfdk-hero .hero-dynamic-numbers {
    display: flex;
    width: 100%;
    max-width: 480px;
    margin: 18px 0;
    gap: 5px;
    overflow: hidden;
    box-shadow: 0 30px 30px rgba(181, 142, 0, 0.20), 0 15px 15px rgba(254, 212, 33, 0.45);
}

.bfdk-hero .hero-dynamic-numbers > .col {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(255, 246, 208, 1) 0%, rgba(255, 239, 177, 1) 100%);
    overflow: hidden;
}

.bfdk-hero .hero-stat {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 0 18px;
    box-sizing: border-box;
}

.bfdk-hero .hero-stat-icon {
    flex: 0 0 auto;
    width: 38px;
    margin: 0 12px 0 0;
}

.bfdk-hero .hero-stat-icon img {
    display: block;
    width: 38px;
    height: 38px;
    margin: 0;
    object-fit: contain;
}

.bfdk-hero .last-icon .hero-stat-icon,
.bfdk-hero .last-icon .hero-stat-icon img {
    width: 26px;
    height: 26px;
}

.bfdk-hero .hero-stat-text {
    margin: 0;
    width: auto;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.bfdk-hero .hero-stat-text strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.bfdk-hero .hero-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.bfdk-hero .hero-buttons .wp-block-button {
    margin: 0;
}

.bfdk-hero .hero-buttons .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    min-height: 50px;
    box-sizing: border-box;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.bfdk-hero .hero-btn-dark .wp-block-button__link {
    background: #141617;
    color: #fff !important;
    border: 1px solid #141617;
}

.bfdk-hero .hero-btn-dark .wp-block-button__link:hover {
    background: #2a2c2d;
    color: #fff !important;
}

.bfdk-hero .hero-mobile-background-image,
.bfdk-hero .mob-hd {
    display: none;
}

.bfdk-hero figure,
.bfdk-hero p,
.bfdk-hero .wp-block-group {
    box-sizing: border-box;
}

@media (max-width: 1185px) {
    .bfdk-hero.front_top::after {
        left: 85px;
        bottom: -80px;
    }

    .bfdk-hero h1 {
        font-size: 36px !important;
        line-height: 44px !important;
    }

    .bfdk-hero.front_top {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (max-width: 1024px) {
    .bfdk-hero.front_top {
        padding-top: 30px;
        padding-bottom: 30px;
        background-position: right 0 bottom 10px;
    }

    .bfdk-hero > .container,
    .bfdk-hero .container {
        width: min(100%, calc(100% - 40px));
    }

    .bfdk-hero .col-sm-empty-space {
        flex-basis: 6%;
        max-width: 6%;
    }

    .bfdk-hero .hero-content {
        flex-basis: 58%;
        max-width: 58%;
    }
}

@media (max-width: 767px) {
    .bfdk-hero.front_top {
        background-image: none;
    }

    .bfdk-hero.front_top::before,
    .bfdk-hero.front_top::after {
        display: none;
    }

    .bfdk-hero .hero-row {
        position: relative;
        display: block;
    }

    .bfdk-hero .col-sm-empty-space {
        display: none;
    }

    .bfdk-hero .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
    }

    .bfdk-hero .hero-mobile-background-image {
        display: block;
        position: absolute;
        z-index: 1;
        right: -18vw;
        top: 60px;
        width: 300px;
        margin: 0;
        pointer-events: none;
    }

    .bfdk-hero .hero-mobile-background-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .bfdk-hero .hero-dynamic-numbers {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .bfdk-hero .hero-dynamic-numbers > .col {
        border-radius: 0;
    }

    .bfdk-hero .hero-dynamic-numbers > .col:first-child {
        border-radius: 7px 7px 0 0;
    }

    .bfdk-hero .hero-dynamic-numbers > .col:last-child {
        border-radius: 0 0 7px 7px;
    }

    .bfdk-hero .hero-stat.mobile-color {
        background: #fde476;
    }
}

@media (max-width: 580px) {
    .bfdk-hero.front_top {
        padding-bottom: 20px !important;
    }

    .bfdk-hero .hero-main-text-wrapper {
        padding-top: 20px;
    }

    .bfdk-hero .hero-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .bfdk-hero .hero-buttons .wp-block-button,
    .bfdk-hero .hero-buttons .wp-block-button__link {
        width: 100% !important;
    }

    .bfdk-hero .desk-show,
    .bfdk-hero .hero-text-info {
        max-width: 250px;
        font-size: 16px;
    }

    .bfdk-hero .desk-show strong {
        font-size: 16px;
    }

    .bfdk-hero .hero-text-info br {
        display: none;
    }

    .bfdk-hero h1 {
        font-size: 34px !important;
        line-height: 34px !important;
    }
}

@media (max-width: 460px) {
    .bfdk-hero.front_top {
        padding-top: 20px;
    }
}

@media (max-width: 410px) {
    .bfdk-hero .hero-mobile-background-image {
        width: 250px;
        top: 100px;
    }
}

.hero-list {
border-radius: 7px;
    background: linear-gradient(180deg, rgba(255, 246, 208, 1) 0%, rgba(255, 239, 177, 1) 100%);
}
