/* === Popup de GeoIP "Selección de tienda" (Yeboyebo_GeoipCanarias::popup.phtml) ===
   Mismo diseño que el YBGeoipPopup de la PWA: columna de texto + botones a la
   izquierda e imagen a la derecha (solo escritorio). */
.elg-geoip {
    position: fixed;
    inset: 0;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.elg-geoip-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,29,64,0.45);
    backdrop-filter: blur(2px);
}
.elg-geoip-panel {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: var(--color-bg, #fff);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.elg-geoip-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #00295a;
    cursor: pointer;
    transition: opacity 0.2s;
}
.elg-geoip-close:hover { opacity: 0.6; }
.elg-geoip-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 2.5rem 1.875rem 2rem;
    color: #00295a;
}
.elg-geoip-title {
    margin: 0 0 1.25rem;
    font-size: 1.375rem;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}
.elg-geoip-text {
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}
.elg-geoip-buttons {
    display: grid;
    gap: 10px;
}
.elg-geoip-button,
.elg-geoip-other-submit {
    min-height: 40px;
    padding: 0.5rem 1rem;
    background: #00295a;
    color: #fff;
    border: 0;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.2s;
}
.elg-geoip-button:hover:not(:disabled),
.elg-geoip-other-submit:hover:not(:disabled) { background: #0a2c5c; }
.elg-geoip-button:disabled,
.elg-geoip-other-submit:disabled { background: rgba(0,41,90,0.35); cursor: not-allowed; }
.elg-geoip-other { margin-top: 1.5rem; }
.elg-geoip-other-label {
    display: block;
    margin-bottom: 0.625rem;
    font-size: 0.8125rem;
    text-align: center;
}
.elg-geoip-other-row {
    display: flex;
    gap: 10px;
}
.elg-geoip-select {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 0.75rem;
    border: 1px solid rgba(0,41,90,0.35);
    background: #fff;
    color: #00295a;
    font-size: 0.8125rem;
}
.elg-geoip-other-submit { flex: 0 0 auto; }
.elg-geoip-image { display: none; }
@media (min-width: 768px) {
    .elg-geoip-content { padding: 2.5rem 3.125rem 2.25rem; }
    .elg-geoip-image {
        display: block;
        flex: 0 0 370px;
    }
    .elg-geoip-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
