/* 1Mall Multi-Currency storefront UI */
.omc-switcher {
    position: relative;
    z-index: 35;
    min-width: 0;
}

.omc-switcher > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.omc-switcher > summary::-webkit-details-marker {
    display: none;
}

.omc-switcher > summary::marker {
    display: none;
    content: "";
}

.omc-switcher .omh-utility-item {
    margin: 0;
    min-width: 136px;
}

.omc-switcher .omh-utility-item > span {
    min-width: 0;
}

.omc-switcher .omh-utility-item strong,
.omc-switcher .omh-utility-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.omc-switcher .omh-utility-item small {
    margin-top: 2px;
    color: #6f7f7a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}


.omc-switcher-menu {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    width: 290px;
    max-height: min(460px, 70vh);
    overflow: auto;
    padding: 10px;
    border: 1px solid #d6e4df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(7, 62, 50, .18);
}

.omc-switcher-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    inset-inline-end: 34px;
    width: 13px;
    height: 13px;
    border-top: 1px solid #d6e4df;
    border-inline-start: 1px solid #d6e4df;
    background: #fff;
    transform: rotate(45deg);
}

.omc-switcher-option {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 9px 11px;
    border-radius: 11px;
    color: #273c37;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.omc-switcher-option:hover,
.omc-switcher-option:focus-visible {
    color: #00614f;
    background: #edf8f4;
    outline: none;
}

.omc-switcher-option.is-current {
    color: #fff;
    background: #00614f;
}

.omc-option-code {
    font-weight: 900;
    letter-spacing: .04em;
}

.omc-option-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.omc-option-symbol {
    font-weight: 900;
}


.omc-drawer-block {
    margin: 14px 0;
    padding: 16px;
    border: 1px solid #d7e5e0;
    border-radius: 16px;
    background: #f8fcfa;
}

.omc-drawer-title {
    display: block;
    margin-bottom: 12px;
    color: #064d3f;
    font-size: 15px;
}

.omc-drawer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.omc-drawer-option {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    border: 1px solid #dce8e4;
    border-radius: 11px;
    background: #fff;
    color: #29433d;
    text-decoration: none;
}

.omc-drawer-option span {
    color: #00614f;
    font-weight: 900;
}

.omc-drawer-option small {
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.omc-drawer-option.is-current {
    border-color: #00614f;
    background: #00614f;
    color: #fff;
}

.omc-drawer-option.is-current span {
    color: #fff;
}

@media (max-width: 1199px) {
    .omc-switcher--header {
        display: none;
    }
}

@media (max-width: 540px) {
    .omc-drawer-grid {
        grid-template-columns: 1fr;
    }
}
