/**
 * Sigma Store Locator – WooCommerce frontend (Find in Store button + modal)
 */

/* Find in Store button */
.ssl-find-in-store-btn {
    display: flex !important;
    width: fit-content !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
    clear: both;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    float: left;
}

.ssl-find-in-store-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Modal overlay & container */
.ssl-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.ssl-modal-content {
    background: #fff;
    width: 100%;
    max-width: 1400px;
    height: calc(100vh - 100px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ssl-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.ssl-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #18181b;
}

.ssl-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: #f4f4f5;
    color: #71717a;
    font-size: 22px;
    line-height: 1;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ssl-modal-close:hover {
    background: #e4e4e7;
    color: #18181b;
}

#ssl-modal-app-root {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 20px;
}


#ssl-find-in-store-modal button.ssl-modal-close {
    border: none;
    color: #54585e;
    font-size: 26px;
    background: none;
}

#ssl-find-in-store-modal button.ssl-modal-close:hover {
    background: none;
    color: #18181b;
}