.modal .badge-wrapper {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    width: 100%;
    filter: drop-shadow(0px 5px 4px rgba(50, 50, 0, 0.5));
}

.modal .badge-wrapper {
    width: unset;
    top: 4px;
    left: 0;
}

.modal .badge {
    background: #ECE81A;
    color: black;
    text-transform: uppercase;
    font-weight: 600;
    font-family: Saira Condensed, sans-serif !important;
    letter-spacing: .05rem;
    padding: 3px 20px 2px 10px;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    font-size: .7rem !important;
}

.modal .badge {
    width: 100px;
}

@media screen and (min-width: 1024px) {
    .modal .badge-wrapper {
        top: 12px;
    }
}


/* modal */
.modal {
    background: #2C2C2CCC;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
}

.modal[aria-hidden="true"] {
    display: none;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal .content {
    background: black;
    color: white;
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
}

.modal .content h2 {
    font-family: Saira Condensed, sans-serif !important;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.modal .content button.close-button {
    top: 1rem;
    right: 1rem;
    position: absolute;
}

.modal .content .ccl-option {
    background-color: #3C3C3C;
    display: flex;
    align-items: center;
    padding: 1rem;
    position: relative;
}

/* .modal .content .europe-cards .ccl-option::after {
    content: '';
    width: 40px;
    height: 29px;
    position: absolute;
    top: 2rem;
    left: 1rem;
}

.modal .content .europe-cards .ccl-option:nth-child(1):after {
    background: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/universal-configurator/landing-page/assets/DE_flag.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.modal .content .europe-cards .ccl-option:nth-child(2):after {
    background: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/universal-configurator/landing-page/assets/FR_flag.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.modal .content .europe-cards .ccl-option:nth-child(3):after {
    background: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/universal-configurator/landing-page/assets/NA_flag.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.modal .content .europe-cards .ccl-option:nth-child(4):after {
    background: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/universal-configurator/landing-page/assets/UK_flag.png);
    background-size: contain;
    background-repeat: no-repeat;
} */

.modal .content .ccl-option img,
.modal .content .ccl-option .button-container {
    width: 20%;
}

.modal .content .ccl-option div.copy {
    width: 60%;
    padding: 1rem;
}

.modal .content .ccl-option img {
    object-fit: contain;
    padding: 1rem;
}


.modal .content .ccl-option h3 {
    font-family: Saira Condensed, sans-serif !important;
    font-size: 1.125rem;
    line-height: 1.2;
}

.modal .content .ccl-option p:not(.badge) {
    font-size: 1rem;
    max-width: 480px;
    color: #CCCCCC;
}

.modal .content .ccl-option .button-container a {
    background: #e9e600;
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0.75rem;
    margin: 0 1rem;
    display: block;
}

.modal .content .ccl-option .button-container .size-selector {
    margin: 0 1rem;
    margin-bottom: .75rem;
    justify-content: space-between;
}

.modal .content .ccl-option .button-container .size-selector button {
    transition: 225ms;
    border: 1px solid transparent;
    width: 30%;
    height: 100%;
    aspect-ratio: 1;
}

.modal .content .ccl-option .button-container .size-selector button.active {
    border: 1px solid white;
}

@media screen and (max-width: 1023px) {

    .modal .content .ccl-option .button-container a,
    .modal .content .ccl-option .button-container .size-selector {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .modal .content .europe-cards .ccl-option::after {
        top: 1rem;
        left: 0.5rem;
    }

    .modal .content {
        padding: 1rem;
    }

    .modal .content .ccl-option img {
        padding: 0;
    }

    .modal .content .ccl-option p:not(.badge) {
        font-size: .7rem;
    }

    .modal .content .ccl-option {
        padding: 0.5rem;
    }

    .modal .content .ccl-option div.copy {
        padding: 0.5rem;
    }

    .modal .content .ccl-option .button-container a {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .modal .content h2 {
        font-size: 1.875rem;
    }

    .modal .content .ccl-option .button-container .size-selector {
        margin-bottom: .5rem;
    }

    .modal .content .ccl-option .button-container .size-selector button {
        font-size: 10px;
        width: 33.33%;
    }

    .button-container.flex {
        width: 30% !important;
    }
}

button:focus-visible {
    outline: 1px solid white !important;
    outline-offset: 2px !important;
}

.modal .europe-cards {
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
}

.modal .content .europe-cards .ccl-option {
    flex-grow: 1;
    width: 20%;
    flex-direction: column;
    max-height: 320px;
}

@media (max-width: 501px) {
    .modal .content .europe-cards .ccl-option {
        width: 45%;
    }
}

.modal .content .europe-cards .ccl-option .copy {
    width: 100%;
    text-align: center;
    height: -webkit-fill-available;
}

.modal .content .europe-cards .ccl-option .button-container,
.modal .content .europe-cards .ccl-option img {
    width: 100%;
}