#home-select-page {
    width: 100%;
}

    #home-select-page .home-select-switcher-section {
        width: min(1080px, 100%);
        max-width: 1080px;
        margin: -65px auto 60px;
        padding: 28px 70px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
        box-shadow: 0px 12px 17.2px rgba(13, 66, 97, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -10px 18px rgba(13, 66, 97, 0.10);
        border-radius: 10px;
        border: 0.5px solid rgba(255, 255, 255, 0.4);
        box-sizing: border-box;
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(30px);
        align-content: center;
    }

#home-select-page .home-select-switcher-bar {
    justify-content: center;
}

#home-select-page .home-select-dropdown-shell {
    width: 100%;
    max-width: 591px;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    margin-inline: auto;
    position: relative;
}

    #home-select-page .home-select-dropdown-icon {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
        background: var(--color-gold);
        display: flex;
        align-items: center;
        justify-content: center;
        /* Important fix */
        pointer-events: auto;
        cursor: pointer;
    }

#home-select-page .home-select-dropdown-icon svg {
    width: 33px;
    height: 19px;
    transition: transform 0.22s ease;
}

#home-select-page .home-select-dropdown-icon path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#home-select-page .home-select-dropdown-shell.is-open .home-select-dropdown-icon svg,
#home-select-page .home-select-dropdown-shell:focus-within .home-select-dropdown-icon svg {
    transform: rotate(180deg);
}

#home-select-page .home-select-switcher-wrap,
#home-select-page .home-select-switcher-dropdown {
    width: 100%;
    max-width: none;
}

#home-select-page .home-select-switcher-dropdown {
    height: 60px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--offwhite, #f2f0ef) !important;
    box-shadow: none !important;
    color: #7a7a7a !important;
    text-align: right !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 0 24px 0 14px !important;
    appearance: none !important;
}

#home-select-page .home-country-grid {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

#home-select-page .home-country-grid > br,
#home-select-page .home-country-grid br {
    display: none !important;
}

#home-select-page .home-country-item {
    width: 100%;
    min-width: 252px;
    display: flex;
    justify-content: center;
}

#home-select-page .home-country-card {
    width: 100%;
    min-height: 192px;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #0d4261;
    font-family: 'Noto Sans', 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

#home-select-page .home-country-card:hover,
#home-select-page .home-country-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(13, 66, 97, 0.14);
}

#home-select-page .home-country-flag-wrap {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-select-page .home-country-flag {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

#home-select-page .home-country-name {
    text-align: center;
    min-height: 50px;
    width: 151px;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-select-page .home-country-cta {
    margin-top: auto;
    width: 168px;
    border-top: 1px solid rgba(13, 66, 97, 0.2);
    padding-top: 8px;
    color: #a29475;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

#home-select-page .home-country-cta-arrow {
    display: inline-block;
    margin-right: 6px;
    font-size: 16px;
    line-height: 1;
}

#home-select-page #home-feedback-section {
    width: min(1080px, 100%);
    margin: 40px auto 40px;
    box-sizing: border-box;
}

#home-select-page #home-feedback-section .menu-feedback-card {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1080px) {
    #home-select-page .home-select-switcher-section, #home-select-page #home-feedback-section {
        margin-right: 20px;
        margin-left: 20px;
        width: auto;
    }
}

@media (max-width: 991px) {
    #home-select-page .home-country-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    #home-select-page .home-country-card {
        font-size: 17px;
    }
}

@media (max-width: 820px) {
    #home-select-page .home-country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    #home-select-page .home-country-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    #home-select-page .home-select-switcher-section {
        padding: 20px 16px;
    }

    #home-select-page #home-feedback-section {
        padding: 0 12px;
    }

    #home-select-page #home-feedback-section .menu-feedback-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 18px 14px;
    }

    #home-select-page #home-feedback-section .menu-feedback-divider {
        display: none;
    }

    #home-select-page #home-feedback-section .menu-feedback-column {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 560px) {
    #home-select-page .home-select-switcher-section {
        margin: -45px 20px 36px;
        padding: 14px 10px;
    }

    #home-select-page .home-select-dropdown-shell {
        max-width: 100%;
    }
}
