.page-country-selector #wrapper {
    background: #f4f6f7;
}

.page-country-selector #content-wrapper {
    padding: 0;
}

.page-country-selector .country-selector-slot,
.page-country-selector .header-top-separator {
    display: none !important;
}

.ew-market-selector {
    width: min(1180px, calc(100% - 32px));
    min-height: 520px;
    margin: 0 auto;
    padding: 54px 0 72px;
}

.ew-market-selector__intro {
    max-width: 700px;
    margin-bottom: 34px;
}

.ew-market-selector__brand {
    margin: 0 0 8px;
    color: #d71920;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ew-market-selector__intro h1 {
    margin: 0 0 12px;
    color: #202428;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: 0;
}

.ew-market-selector__intro > p:last-child {
    margin: 0;
    color: #596168;
    font-size: 16px;
    line-height: 1.55;
}

.ew-market-selector__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ew-market-selector__option {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    min-width: 0;
    min-height: 74px;
    padding: 14px 16px;
    border: 1px solid #d7dde1;
    border-radius: 6px;
    background: #fff;
    color: #202428;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.ew-market-selector__option:hover,
.ew-market-selector__option:focus-visible {
    border-color: #d71920;
    box-shadow: 0 5px 16px rgba(32, 36, 40, .1);
    color: #202428;
    text-decoration: none;
    transform: translateY(-1px);
}

.ew-market-selector__option--ready {
    border: 2px solid #16803c;
    background: #f7fcf8;
    box-shadow: 0 0 0 1px rgba(22, 128, 60, .08);
}

.ew-market-selector__option--ready:hover,
.ew-market-selector__option--ready:focus-visible {
    border-color: #0f6b30;
    box-shadow: 0 5px 16px rgba(15, 107, 48, .16);
}

.ew-market-selector__option--ready .ew-market-selector__label strong {
    color: #115f2e;
    font-weight: 800;
}

.ew-market-selector__option--ready .ew-market-selector__arrow {
    color: #16803c;
    font-weight: 700;
}

.ew-market-selector__option img {
    width: 36px;
    height: 24px;
    border: 1px solid #e2e5e7;
    object-fit: cover;
}

.ew-market-selector__label {
    display: flex;
    min-width: 0;
    padding-left: 12px;
    flex-direction: column;
    gap: 3px;
}

.ew-market-selector__label strong,
.ew-market-selector__label span {
    overflow-wrap: anywhere;
    letter-spacing: 0;
}

.ew-market-selector__label strong {
    font-size: 15px;
    line-height: 20px;
}

.ew-market-selector__label span {
    color: #697178;
    font-size: 13px;
    line-height: 18px;
}

.ew-market-selector__arrow {
    color: #8a9298;
    font-size: 25px;
    line-height: 1;
    text-align: right;
}

@media (max-width: 900px) {
    .ew-market-selector__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .ew-market-selector {
        width: min(100% - 24px, 520px);
        padding: 36px 0 52px;
    }

    .ew-market-selector__intro {
        margin-bottom: 24px;
    }

    .ew-market-selector__intro h1 {
        font-size: 28px;
    }

    .ew-market-selector__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}
