.shosha-places-ac {
    display: none;
    box-sizing: border-box;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
    padding: 4px;
    direction: inherit;
}
.shosha-places-ac.is-rtl,
html[dir="rtl"] .shosha-places-ac,
.shosha-public-store[dir="rtl"] .shosha-places-ac {
    direction: rtl;
    text-align: right;
}
.shosha-places-ac.is-rtl .shosha-places-ac__item,
html[dir="rtl"] .shosha-places-ac__item,
.shosha-public-store[dir="rtl"] .shosha-places-ac__item {
    text-align: right;
}
.shosha-places-ac.is-open {
    display: block;
}
.shosha-places-ac__item {
    display: block;
    width: 100%;
    text-align: inherit;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.45;
}
.shosha-places-ac__item:hover,
.shosha-places-ac__item.is-active {
    background: #fff4e8;
}

.shosha-places-ac.shosha-places-ac--sf-delivery,
.shosha-places-ac.shosha-places-ac--sf-addr {
    /* Above .shosha-menu-service-modal (120020+) so suggestions are visible while typing. */
    z-index: 140000 !important;
    background: var(--popup-search-suggest-bg, var(--popup-input-bg, #fff));
    color: var(--popup-search-suggest-color, var(--popup-input-color, #111827));
    border-color: var(--popup-input-border, #e5e7eb);
}
.shosha-places-ac.shosha-places-ac--sf-delivery .shosha-places-ac__item:hover,
.shosha-places-ac.shosha-places-ac--sf-delivery .shosha-places-ac__item.is-active,
.shosha-places-ac.shosha-places-ac--sf-addr .shosha-places-ac__item:hover,
.shosha-places-ac.shosha-places-ac--sf-addr .shosha-places-ac__item.is-active {
    background: var(--popup-search-suggest-hover-bg, var(--popup-select-hover-bg, var(--popup-option-hover, #fff4e8)));
    color: var(--popup-search-suggest-hover-text, var(--popup-select-hover-color, inherit));
}
.shosha-places-ac.shosha-places-ac--sf-l2 {
    background: var(--popup-search-suggest-bg, var(--popup-input-bg, #ffffff));
    color: var(--popup-search-suggest-color, var(--popup-input-color, #555555));
    border-color: var(--popup-input-border, #DDDDDD);
}
.shosha-places-ac.shosha-places-ac--sf-l2 .shosha-places-ac__item:hover,
.shosha-places-ac.shosha-places-ac--sf-l2 .shosha-places-ac__item.is-active {
    background: var(--popup-search-suggest-hover-bg, var(--popup-select-hover-bg, #EAF6E0)) !important;
    color: var(--popup-search-suggest-hover-text, var(--popup-select-hover-color, #087A16)) !important;
}
.shosha-places-ac.shosha-places-ac--sf-l2 .shosha-places-ac__item:hover .shosha-places-ac__sec,
.shosha-places-ac.shosha-places-ac--sf-l2 .shosha-places-ac__item.is-active .shosha-places-ac__sec {
    color: inherit;
    opacity: 0.82;
}
.shosha-places-ac__main {
    display: block;
    font-weight: 600;
}
.shosha-places-ac__sec {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

#addAddressModal.shosha-pos-addr-modal-wrap ~ .shosha-places-ac,
body.pos-theme .shosha-places-ac,
.shosha-places-ac.shosha-places-ac--dark {
    background: #1f1f1f;
    color: #f3f4f6;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
body.pos-theme .shosha-places-ac__item:hover,
body.pos-theme .shosha-places-ac__item.is-active,
#addAddressModal.shosha-pos-addr-modal-wrap ~ .shosha-places-ac .shosha-places-ac__item:hover,
#addAddressModal.shosha-pos-addr-modal-wrap ~ .shosha-places-ac .shosha-places-ac__item.is-active {
    background: rgba(255, 107, 0, 0.22);
}
body.pos-theme .shosha-places-ac__sec,
#addAddressModal.shosha-pos-addr-modal-wrap ~ .shosha-places-ac .shosha-places-ac__sec {
    color: #a3a3a3;
}

html.pos-ca-design-metis .shosha-places-ac,
html.pos-ca-design-metis .shosha-places-ac.shosha-places-ac--dark,
html.pos-ca-design-metis .shosha-places-ac.shosha-places-ac--t2,
html.pos-ca-design-metis body.pos-theme .shosha-places-ac {
    background: var(--pos-ca-modal-select-menu-bg, var(--pos-ca-addr-modal-input-bg, #ffffff));
    color: var(--pos-ca-modal-select-menu-text, var(--pos-ca-addr-modal-input-color, #111827));
    border-color: var(--pos-ca-modal-select-menu-border, var(--pos-ca-addr-modal-input-border, #d8ded6));
    border-radius: var(--pos-ca-modal-select-menu-radius, 12px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}
html.pos-ca-design-metis .shosha-places-ac__item:hover,
html.pos-ca-design-metis .shosha-places-ac__item.is-active,
html.pos-ca-design-metis body.pos-theme .shosha-places-ac__item:hover,
html.pos-ca-design-metis body.pos-theme .shosha-places-ac__item.is-active {
    background: var(--popup-search-suggest-hover-bg, var(--pos-ca-modal-select-menu-hover-row, rgba(129, 196, 8, 0.18)));
    color: var(--popup-search-suggest-hover-text, var(--pos-ca-modal-select-menu-hover-text, var(--pos-ca-modal-select-menu-text, #111827)));
}
html.pos-ca-design-metis .shosha-places-ac__sec,
html.pos-ca-design-metis body.pos-theme .shosha-places-ac__sec {
    color: var(--pos-ca-text-muted, #64748b);
}

/* Console Template 2 (Metis): Places hover linked to console modal select settings */
html.shosha-metis-root .shosha-places-ac,
html.shosha-metis-root .shosha-places-ac.shosha-places-ac--t2,
html.shosha-metis-root .shosha-places-ac.shosha-places-ac--console-t2 {
    background: var(--popup-search-suggest-bg, var(--metis-modal-select-menu-bg, #ffffff)) !important;
    color: var(--popup-search-suggest-color, var(--metis-modal-select-menu-text, #0f172a)) !important;
    border-color: var(--popup-input-border, var(--metis-modal-select-menu-border, #e2e8f0)) !important;
    border-radius: var(--metis-modal-select-menu-radius, 12px) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16) !important;
}
html.shosha-metis-root .shosha-places-ac__item {
    color: var(--popup-search-suggest-color, var(--metis-modal-select-menu-text, #0f172a)) !important;
}
html.shosha-metis-root .shosha-places-ac__item:hover,
html.shosha-metis-root .shosha-places-ac__item.is-active,
html.shosha-metis-root .shosha-places-ac.shosha-places-ac--t2 .shosha-places-ac__item:hover,
html.shosha-metis-root .shosha-places-ac.shosha-places-ac--t2 .shosha-places-ac__item.is-active,
html.shosha-metis-root .shosha-places-ac.shosha-places-ac--console-t2 .shosha-places-ac__item:hover,
html.shosha-metis-root .shosha-places-ac.shosha-places-ac--console-t2 .shosha-places-ac__item.is-active {
    background: var(--popup-search-suggest-hover-bg, var(--metis-modal-select-menu-hover-row, #ecfccb)) !important;
    color: var(--popup-search-suggest-hover-text, var(--metis-modal-select-menu-hover-text, #649509)) !important;
}
html.shosha-metis-root .shosha-places-ac__sec {
    color: var(--metis-text-muted, #64748b) !important;
}
html.shosha-metis-root .shosha-places-ac__item:hover .shosha-places-ac__sec,
html.shosha-metis-root .shosha-places-ac__item.is-active .shosha-places-ac__sec {
    color: inherit !important;
    opacity: 0.86;
}

.shosha-menu-delivery-modal__search-wrap {
    position: relative;
    z-index: 6;
    overflow: visible;
}
