.locale-page {
    padding: 20px 0 50px;
}

.locale-page .locale-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 28px 22px;
}

.locale-page .locale-card h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.locale-page .locale-intro {
    margin: 0 0 28px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.locale-page .locale-section {
    margin-top: 28px;
}

.locale-page .locale-section h2 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.locale-page .region-list {
    display: grid;
    gap: 10px;
}

.locale-page .region-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 7px;
    text-decoration: none;
    background: #fff;
    transition: background 0.18s ease;
}

.locale-page .region-btn:hover {
    background: #f6f9fc;
}

.locale-page .region-btn.active,
.locale-page .currency-btn.active {
    background: #DCE9F5;
    border-color: #bfd6eb;
    pointer-events: none;
}

.locale-page .region-btn .flag-image {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    aspect-ratio: 38 / 24;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 0;
}

.locale-page .region-btn .flag-image img {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    aspect-ratio: 38 / 24;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
}

.locale-page .region-btn .region-name {
    font-size: 15px;
    color: #222;
}

.locale-page .currency-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.locale-page .currency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid #ccc;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    background: #fff;
    transition: background 0.18s ease;
}

.locale-page .currency-btn:hover {
    background: #f6f9fc;
}

.locale-page .secondary-currency-section {
    margin-top: 12px;
}

.locale-page .secondary-currency-dropdown {
    position: relative;
}

.locale-page .secondary-currency-trigger {
    width: 100%;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 14px;

    border: 1px solid #ccc;
    border-radius: 7px;

    background: #fff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.locale-page .secondary-currency-trigger.active {
    background: #DCE9F5;
    border-color: #bfd6eb;
}

.locale-page .secondary-currency-trigger .check {
    margin-left: 4px;
    font-size: 12px;
}

.locale-page .secondary-currency-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;

    width: 100%;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 7px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);

    transition: all 0.18s ease;

    z-index: 20;
}

.locale-page .secondary-currency-dropdown:hover .secondary-currency-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.locale-page .secondary-currency-menu a {
    display: block;

    padding: 12px 14px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    color: #222;
}

.locale-page .secondary-currency-menu a:hover {
    background: #f7f7f7;
}

.locale-page .secondary-currency-menu a.active {
    background: #DCE9F5;
    pointer-events: none;
}

@media (max-width: 480px) {

    .locale-page .locale-card {
        padding: 24px 18px;
    }

    .locale-page .locale-card h1 {
        font-size: 24px;
    }

    .locale-page .currency-list {
        grid-template-columns: 1fr;
    }
}