@font-face {
    font-family: "Dirty Headline";
    src: url("/themes/lbdb/assets/font/Dirty_Headline.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;

    /* Performance & UX optimization */
    font-display: swap;             /* Prevents layout shift & improves perceived speed */
    unicode-range: U+000-5FF;       /* Optional: shrink memory footprint (Latin only) */
}

.hd-flex {
    display: flex;
}
.hd-none {
    display: none;
}

/* Style des packs de produit */
.ap5-product-list {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 15px;


    .contenu-pack-title {
        color: #253237;
        font-size: 24px;
        font-family: "Open Sans", sans-serif;
        text-transform: none;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .ap5-pack-product {
        padding: 0;

        &:first-child {
            margin-top: 10px;
        }

        & + .ap5-pack-product {
            margin-top: 2rem;
        }
    }

    .ap5-pack-product-content {
        display: flex;
        height: fit-content !important;
        gap: 1.5rem;
        flex-wrap: wrap;

        .theleft {
            flex: 1 1 100px;
        }

        .theright {
            flex: 1 0 calc(100% - 100px - 1.5rem);
        }

        .alert {
            text-align: left;
            padding: 0;
            border: 0;
            background: transparent;
            box-shadow: none;
        }

    }

    .ap5-pack-product-image img {
        max-width: 100px;
        height: auto;
    }

    .ap5-pack-product-name {
        text-align: left;
        padding: 0;
        a {
            text-transform: initial;
            font-size: 1rem;
        }
    }

    .hc-ap5-qty-per-pack {
        color: #888888;
        text-transform: initial !important;
    }

    .product-variants > .product-variants-item {
        margin-bottom: 0;


        ul li {
            margin-bottom: 0.625rem;
        }

        .radio-label {
            border-radius: .5rem;
        }

    }


    .product-variants ul {
        margin: 0;
    }

    .ap5-attribute-fieldset > * {
        flex: 1 0 100%;
    }

    .control-label {
        margin-bottom: .5rem;
    }



}

.ap5-add-to-cart-container {
    .product-quantity {
        display: flex !important;

        .add {
            flex: 1;
            margin-right: 1.25rem;
            margin-bottom: 0.5rem;
        }
    }
}

#ap5-buy-block-container {
    .product-actions {
        padding-top: 0;
    }
}

.ap5-product-pack-row-has-errors > .ap5-pack-product-content > :not(.ap5-pack-product-icon-check):not(.ap5-pack-product-icon-plus),
.ap5-product-pack-row-has-fatal-errors > .ap5-pack-product-content > :not(.ap5-pack-product-icon-check):not(.ap5-pack-product-icon-plus) {
    filter: none !important;
}

.product-line-info {
    .ap5_pack_product_list_cart_summary {
        li {
            margin-top: .5rem;
        }
    }
}

#top-top-section {
    padding: 2px !important;
}
.elementor-widget-container:has(.sheader-item) {
    display: flex;
    justify-content: center;

    .sheader-item {
        color: #fff;
        margin-bottom: 0px;
        font-size: 12px;
        font-weight: 600;
        text-transform: none;
        line-height: 21px;
        letter-spacing: 0px;
        font-family: Roboto;

        span {
            display: flex;
            align-items: center;

            svg {
                margin-right: 10px;
            }

            b {
                color: #f07a38;
                margin-right: 0.25rem;
            }
        }

        & + .sheader-item {
            margin-left: 20px;
            border-left: 1px solid #fff;
            padding-left: 20px;
        }
    }

}

.item-product:has(li.pack) {
    .attrcacheimg {
        display: none !important;
    }
}