@media (max-width: 600px) {
    .pwsa-wl-modal-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .pwsa-col { border-right: none !important; padding: 0 !important; border-bottom: 1px solid #eee; padding-bottom: 20px !important; }
    .pwsa-col:last-child { border-bottom: none; padding-bottom: 0 !important; }
}

/* --- AJUSTES SELECT2 --- */
/* Asegurar que el popup permita contenido superpuesto */
.swal2-popup { overflow: visible !important; }

/* Contenedor principal de Select2 */
.select2-container { 
    width: 100% !important; 
    text-align: left; 
    display: block;
    box-sizing: border-box;
}

/* Caja de selección (Input) */
.select2-selection--multiple { 
    min-height: 40px !important; 
    border: 1px solid #d9d9d9 !important; 
    border-radius: 4px !important; 
    padding: 5px; 
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
}

/* Elementos seleccionados (Tags/Chips) */
.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f1f1f1 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 3px 3px 3px 20px !important;
    font-size: 0.9em;
    color: #333;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

span.select2-dropdown.select2-dropdown--below { margin-top: 0px !important; }

/* Botón "X" de borrar tag */
.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 5px !important;
    color: #999 !important;
    font-weight: bold;
    border-right: 1px solid #ddd;
    padding-right: 4px;
}
.select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #d32f2f !important;
}

/* Input de búsqueda (cursor) */
.select2-search__field {
    margin: 0 !important;
    height: 28px !important;
    line-height: 28px !important;
}

/* Dropdown Z-Index para sobresalir del Swal */
.select2-dropdown { z-index: 99999; }

.close-modal-swal2{
    display: flex;
    position: absolute;
    top: -12.5px;
    right: -12.5px;
    width: 30px;
    height: 30px;
    background: black;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
}

.close-modal-swal2:hover{
    background: #000;
    color: #fff;
}

.loader-modal-get-wishlists-swal2{
    border-color: #333 rgba(0,0,0,0) #333 rgba(0,0,0,0);
}

.popup-modal-get-wishlists-swal2{
    background: transparent;
    box-shadow: none;
    border: none;
}

.popup-modal-get-wishlists-swal2:focus{
    box-shadow: none !important;
}

.mt-2{
    margin-top: 0.5rem;
}

.text-xs{
    font-size: 0.75rem;
    line-height: 1rem;
} 

.text-red-500{
    color: #ef4444;
}

.z-50{
    z-index: 100000000000000 !important;
}

/* Modal de aviso para visitantes no registrados */
.pwsa-guest-popup {
    border-radius: 16px !important;
    padding: 24px 20px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
    font-family: inherit !important;
}

.pwsa-guest-popup .swal2-icon.swal2-info {
    border-color: #e91e63 !important;
    color: #e91e63 !important;
    margin: 10px auto 16px auto !important;
}

.pwsa-guest-popup .swal2-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    padding: 0 0 10px 0 !important;
}

.pwsa-guest-popup .swal2-html-container {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 8px 16px 8px !important;
}

.pwsa-guest-popup .swal2-actions {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
}

.pwsa-guest-popup .swal2-confirm {
    width: 100% !important;
    background-color: #e91e63 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3) !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.pwsa-guest-popup .swal2-confirm:hover {
    background-color: #d81b60 !important;
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4) !important;
    transform: translateY(-1px);
}

.pwsa-guest-popup .swal2-cancel {
    width: 100% !important;
    background-color: #f1f3f5 !important;
    color: #495057 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.pwsa-guest-popup .swal2-cancel:hover {
    background-color: #e9ecef !important;
    color: #212529 !important;
}