
/* ── Overlay ────────────────────────────────────────────────── */
#storesoh-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#storesoh-overlay[hidden] {
    display: none;
}

/* ── Modal panel ────────────────────────────────────────────── */
#storesoh-modal {
    background: #fff;
    border-radius: 6px;
    padding: 28px 30px 24px;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* Close button */
#storesoh-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
}
#storesoh-close:hover { color: #000; }

/* Heading */
#storesoh-modal-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #111;
}
#storesoh-modal-title svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Province + size labels and selects */
#storesoh-modal label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #555;
    margin-bottom: 6px;
}
#storesoh-province-select,
#storesoh-size-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #222;
    appearance: auto;
    margin-bottom: 20px;
}
#storesoh-province-select:focus,
#storesoh-size-select:focus {
    outline: 2px solid #222;
    outline-offset: 1px;
    border-color: #222;
}

/* Size wrapper – hidden until province chosen */
#storesoh-size-wrapper[hidden] {
    display: none;
}

/* Results area */
#storesoh-results {
    min-height: 40px;
}
.storesoh-loading,
.storesoh-none {
    color: #666;
    font-size: 13px;
    margin: 0;
}
.storesoh-found {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

/* Store list */
.storesoh-store-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #eee;
}
.storesoh-store-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}
.storesoh-store-name {
    font-weight: 500;
    color: #111;
}
.storesoh-qty {
    font-size: 12px;
    color: #2a7a2a;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
}

@media (max-width: 480px) {
    #storesoh-modal {
        padding: 22px 18px 20px;
    }
}
