/* Smart Currency Switcher — First-visit popup */

.scs-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.scs-popup-overlay.scs-popup-visible {
    display: flex;
}

.scs-popup-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 420px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 44px 40px 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: scs-popup-in 0.25s ease-out;
}

@keyframes scs-popup-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.scs-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 4px;
}

.scs-popup-heading {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 22px;
    color: #111;
}

.scs-popup-bullets {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.scs-popup-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #222;
    padding: 7px 0;
}

.scs-plus {
    font-weight: 600;
    color: #111;
    flex: 0 0 auto;
}

.scs-popup-thanks {
    font-size: 15px;
    color: #222;
    margin: 6px 0 24px;
}

.scs-popup-shopnow {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    cursor: pointer;
    margin-bottom: 18px;
    transition: background 0.15s ease;
}

.scs-popup-shopnow:hover {
    background: #222;
}

.scs-popup-changelink {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #111;
    text-decoration: underline;
    cursor: pointer;
}

/* ── Country selection view ─────────────────────────────────────────── */

.scs-popup-select-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 16px;
    color: #111;
}

.scs-popup-search {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
}

.scs-popup-country-list {
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #e2e2e2;
    margin-bottom: 16px;
}

.scs-popup-country-item {
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #222;
}

.scs-popup-country-item:hover {
    background: #f5f5f5;
}

.scs-popup-country-item.scs-popup-active {
    background: #0d6efd;
    color: #fff;
}

.scs-popup-country-item.scs-popup-empty {
    color: #888;
    cursor: default;
}
.scs-popup-country-item.scs-popup-empty:hover {
    background: transparent;
}

.scs-popup-country-actions {
    display: flex;
    gap: 10px;
}

.scs-popup-back {
    flex: 1;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    padding: 13px 16px;
    font-size: 13px;
    cursor: pointer;
}

.scs-popup-save {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    padding: 13px 16px;
    font-size: 13px;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.scs-popup-save:disabled {
    background: #bbb;
    cursor: not-allowed;
}

.scs-popup-shopnow.scs-loading,
.scs-popup-save.scs-loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 480px) {
    .scs-popup-box {
        padding: 34px 24px 28px;
    }
    .scs-popup-heading {
        font-size: 22px;
    }
}
