
.fdCustomButton-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 28px;
    gap: 15px;

    .content-wrapper {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
        gap: 12px;
    }

    .download-icon {
        font-size: 20px;
    }

    .text-wrapper-btn {
        display: flex;
        flex-direction: column;
        text-align: left;
        font: normal normal bold 18px/22px Karla;
        letter-spacing: 0px;
        color: #FFFFFF;
        text-transform: uppercase;
        opacity: 1;
    }

    .word-1 { font-size: 16px; }
    .word-2 { font-size: 16.4px; }
    .word-3 { font-size: 16.8px; }
    .word-4 { font-size: 17.2px; }
    .word-5 { font-size: 17.6px; }
    .word-6 { font-size: 18px; }

    .first-group,
    .second-group {
        white-space: nowrap;
    }

    /* Responsive Design */
    @media (max-width: 1310px) {
        .content-wrapper {
            display: block;
            text-align: center;
        }
    }

    @media (max-width: 768px) {
        height: auto;

        .content-wrapper {
            display: flex;
            gap: 22px;
        }

        #recognizeBarnumDlButton {
            width: 98%;
            background-image: url('../img/image-barnum-mobile.webp') !important;
        }

        .word-1 { font-size: 14px; }
        .word-2 { font-size: 14.4px; }
        .word-3 { font-size: 14.8px; }
        .word-4 { font-size: 15.2px; }
        .word-5 { font-size: 15.6px; }
        .word-6 { font-size: 16px; }
    }
}

.fdCustomButton-container-product {
    display: flex;
    justify-content: center;
    margin-top: 50px;

    button#compareBarnumDlButton,
    a.download-button {
        width: auto;
        height: 52px;
        padding: 0 20px;

        .content-wrapper {
            display: flex;

            .text-wrapper-btn {
                display: flex;
                flex-direction: row;
                margin-left: 12px;
                align-items: center;
                color: #fff;

                span {
                    font-weight: 700;
                }

                .second-group {
                    margin-left: 6px;
                }
            }
        }
    }

    /* Mobile Responsive */
    @media (max-width: 700px) {
        button#compareBarnumDlButton,
        a.download-button {
            .content-wrapper {
                flex-direction: row-reverse;
                align-items: center;

                .text-wrapper-btn {
                    margin-left: 0;
                    margin-right: 18px;
                    flex-direction: column;
                    text-align: justify;
                    align-items: start;

                    span {
                        font-size: 14px;
                    }

                    .second-group {
                        margin: 0;

                        span {
                            font-weight: normal;
                        }
                    }
                }
            }
        }
    }
}

/* ==========================================================================
   Category Page Layout
   ========================================================================== */
@media (min-width: 700px) {
    #category #left-column {
        margin-top: 3.9rem;
    }
}

[data-elementor-device-mode="tablet"] #left-column {
    margin-top: 5.35rem;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

/* Recognize Barnum Button */
#recognizeBarnumDlButton {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 80px;
    padding: 10px 20px;
    background-image: url('../img/image-barnum-desktop.webp') !important;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    overflow: hidden;

    .text-wrapper-btn {
        text-shadow: 0px 0px 2px #000000A6;
    }

    /* Overlay */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #272727;
        opacity: 0.4;
        z-index: 1;
    }

    /* Background zoom effect */
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: inherit;
        background-size: cover;
        background-position: center;
        z-index: 0;
        transition: transform 0.1s ease-in-out;
    }

    /* Hover Effects */
    &:hover {
        &::before {
            opacity: 0.6;
        }

        &::after {
            transform: scale(1.1);
        }
    }
}

/* Compare Barnum Button */
#compareBarnumDlButton,
a.download-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    padding: 10px 20px;
    background-color: #183157;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;

    .first-group span {
        font-family: 'Karla', sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        /* Default color */
        transition: color 0.3s ease;
    }

    .second-group span {
        font-family: 'Karla', sans-serif;
        font-size: 16px;
        font-weight: 400;
        text-transform: uppercase;
        color: #FFFFFF;
        transition: color 0.3s ease;
    }

    /* Hover Effects */
    &:hover {
        background-color: #FFFFFF;
        border: 1px solid #183157;
        padding: 6px 16px;
        text-decoration: none;

        svg {
            width: 30px;
            height: 30px;

            #Ellipse_1 {
                fill: #cc2028;
            }

            #Icon_feather-download {
                stroke: #FFFFFF;
            }
        }

        .first-group span,
        .second-group span {
            color: #183157;
        }
    }
}

/* All Barnums Button */
#all-barnums {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 10px 20px;
    background-color: #FFFFFF;
    border: 1px solid #183157;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;

    .first-group span {
        font-family: 'Karla', sans-serif;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        color: #183157;
        transition: color 0.3s ease;
    }

    /* Hover Effects */
    &:hover {
        background-color: #183157;
        padding: 6px 16px;
        border-radius: 4px;

        .first-group span {
            color: #FFFFFF;
        }
    }
}

/* Download Button Comparateur */
.download-button-comparateur#downloadButtonComparateur,
a.download-button-comparateur {
    display: initial;
    width: auto;
    height: auto;
    margin-left: 5px;
    background-color: #FFFFFF;
    border: none;
    transition: none;
    text-decoration: none;
    color: #183157; 

    .content-wrapper {
        display: flex;
        flex-direction: row;

        span {
            font-family: 'Karla', sans-serif;
            font-size: 15px;
            line-height: 18px;
            font-weight: 700;
            color: var(--blue-fb);
        }
    }

    svg {
        width: 28px;
        height: 28px;

        #Ellipse_1 {
            fill: #FFFFFF;
        }

        #Icon_feather-download {
            stroke: var(--blue-fb);
        }
    }

    /* Hover Effects */
    &:hover {
        background-color: var(--blue-fb);
        color: #fff; 
        text-decoration: none;

        svg {
            #Ellipse_1 {
                fill: var(--blue-fb);
            }

            #Icon_feather-download {
                stroke: #FFFFFF;
            }
        }
    }
}